Changeset 786b812 in rtems-graphics-toolkit


Ignore:
Timestamp:
Jul 5, 2012, 4:52:45 PM (7 years ago)
Author:
Alexandru-Sever Horin <alex.sever.h@…>
Branches:
master
Children:
4b3db34
Parents:
f5c9e9c
git-author:
Alexandru-Sever Horin <alex.sever.h@…> (07/05/12 16:52:45)
git-committer:
Alexandru-Sever Horin <alex.sever.h@…> (08/06/12 11:04:28)
Message:

Modified FLTK for rtems compilation

Location:
fltk-1.3.0
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • fltk-1.3.0/configure

    rf5c9e9c r786b812  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61.
     3# Generated by GNU Autoconf 2.69.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     7#
     8#
    79# This configure script is free software; the Free Software Foundation
    810# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
     11## -------------------- ##
     12## M4sh Initialization. ##
     13## -------------------- ##
    1214
    1315# Be more Bourne compatible
    1416DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1618  emulate sh
    1719  NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1921  # is contrary to our usage.  Disable this feature.
    2022  alias -g '${1+"$@"}'='"$@"'
    2123  setopt NO_GLOB_SUBST
    2224else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
     25  case `(set -o) 2>/dev/null` in #(
     26  *posix*) :
     27    set -o posix ;; #(
     28  *) :
     29     ;;
    2530esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
     31fi
     32
     33
     34as_nl='
     35'
     36export as_nl
     37# Printing a long string crashes Solaris 7 /usr/bin/printf.
     38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41# Prefer a ksh shell builtin over an external printf program on Solaris,
     42# but without wasting forks for bash or zsh.
     43if test -z "$BASH_VERSION$ZSH_VERSION" \
     44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45  as_echo='print -r --'
     46  as_echo_n='print -rn --'
     47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48  as_echo='printf %s\n'
     49  as_echo_n='printf %s'
     50else
     51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53    as_echo_n='/usr/ucb/echo -n'
     54  else
     55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56    as_echo_n_body='eval
     57      arg=$1;
     58      case $arg in #(
     59      *"$as_nl"*)
     60        expr "X$arg" : "X\\(.*\\)$as_nl";
     61        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62      esac;
     63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64    '
     65    export as_echo_n_body
     66    as_echo_n='sh -c $as_echo_n_body as_echo'
     67  fi
     68  export as_echo_body
     69  as_echo='sh -c $as_echo_body as_echo'
     70fi
    3971
    4072# The user is always right.
    4173if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    52 
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
     74  PATH_SEPARATOR=:
     75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77      PATH_SEPARATOR=';'
     78  }
    5879fi
    5980
     
    6485# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6586# splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    6887IFS=" ""        $as_nl"
    6988
    7089# Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
     90as_myself=
     91case $0 in #((
    7292  *[\\/]* ) as_myself=$0 ;;
    7393  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    7696  IFS=$as_save_IFS
    7797  test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
     98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99  done
    80100IFS=$as_save_IFS
    81101
     
    88108fi
    89109if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    93 
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     111  exit 1
     112fi
     113
     114# Unset variables that we do not need and which cause bugs (e.g. in
     115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     116# suppresses any "Segmentation fault" message there.  '((' could
     117# trigger a bug in pdksh 5.2.14.
     118for as_var in BASH_ENV ENV MAIL MAILPATH
     119do eval test x\${$as_var+set} = xset \
     120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    97121done
    98122PS1='$ '
     
    101125
    102126# NLS nuisances.
    103 for as_var in \
    104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    106   LC_TELEPHONE LC_TIME
     127LC_ALL=C
     128export LC_ALL
     129LANGUAGE=C
     130export LANGUAGE
     131
     132# CDPATH.
     133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     134
     135# Use a proper internal environment variable to ensure we don't fall
     136  # into an infinite loop, continuously re-executing ourselves.
     137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     138    _as_can_reexec=no; export _as_can_reexec;
     139    # We cannot yet assume a decent shell, so we have to provide a
     140# neutralization value for shells without unset; and this also
     141# works around shells that cannot unset nonexistent variables.
     142# Preserve -v and -x to the replacement shell.
     143BASH_ENV=/dev/null
     144ENV=/dev/null
     145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     146case $- in # ((((
     147  *v*x* | *x*v* ) as_opts=-vx ;;
     148  *v* ) as_opts=-v ;;
     149  *x* ) as_opts=-x ;;
     150  * ) as_opts= ;;
     151esac
     152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     153# Admittedly, this is quite paranoid, since all the known shells bail
     154# out after a failed `exec'.
     155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     156as_fn_exit 255
     157  fi
     158  # We don't want this to propagate to other subprocesses.
     159          { _as_can_reexec=; unset _as_can_reexec;}
     160if test "x$CONFIG_SHELL" = x; then
     161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     162  emulate sh
     163  NULLCMD=:
     164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     165  # is contrary to our usage.  Disable this feature.
     166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     167  setopt NO_GLOB_SUBST
     168else
     169  case \`(set -o) 2>/dev/null\` in #(
     170  *posix*) :
     171    set -o posix ;; #(
     172  *) :
     173     ;;
     174esac
     175fi
     176"
     177  as_required="as_fn_return () { (exit \$1); }
     178as_fn_success () { as_fn_return 0; }
     179as_fn_failure () { as_fn_return 1; }
     180as_fn_ret_success () { return 0; }
     181as_fn_ret_failure () { return 1; }
     182
     183exitcode=0
     184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     189
     190else
     191  exitcode=1; echo positional parameters were not saved.
     192fi
     193test x\$exitcode = x0 || exit 1
     194test -x / || exit 1"
     195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     199test \$(( 1 + 1 )) = 2 || exit 1"
     200  if (eval "$as_required") 2>/dev/null; then :
     201  as_have_required=yes
     202else
     203  as_have_required=no
     204fi
     205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     206
     207else
     208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     209as_found=false
     210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    107211do
    108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    109     eval $as_var=C; export $as_var
     212  IFS=$as_save_IFS
     213  test -z "$as_dir" && as_dir=.
     214  as_found=:
     215  case $as_dir in #(
     216         /*)
     217           for as_base in sh bash ksh sh5; do
     218             # Try only shells that exist, to save several forks.
     219             as_shell=$as_dir/$as_base
     220             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     221                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     222  CONFIG_SHELL=$as_shell as_have_required=yes
     223                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  break 2
     225fi
     226fi
     227           done;;
     228       esac
     229  as_found=false
     230done
     231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     232              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     233  CONFIG_SHELL=$SHELL as_have_required=yes
     234fi; }
     235IFS=$as_save_IFS
     236
     237
     238      if test "x$CONFIG_SHELL" != x; then :
     239  export CONFIG_SHELL
     240             # We cannot yet assume a decent shell, so we have to provide a
     241# neutralization value for shells without unset; and this also
     242# works around shells that cannot unset nonexistent variables.
     243# Preserve -v and -x to the replacement shell.
     244BASH_ENV=/dev/null
     245ENV=/dev/null
     246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     247case $- in # ((((
     248  *v*x* | *x*v* ) as_opts=-vx ;;
     249  *v* ) as_opts=-v ;;
     250  *x* ) as_opts=-x ;;
     251  * ) as_opts= ;;
     252esac
     253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     254# Admittedly, this is quite paranoid, since all the known shells bail
     255# out after a failed `exec'.
     256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     257exit 255
     258fi
     259
     260    if test x$as_have_required = xno; then :
     261  $as_echo "$0: This script requires a shell more modern than all"
     262  $as_echo "$0: the shells that I found on your system."
     263  if test x${ZSH_VERSION+set} = xset ; then
     264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    110266  else
    111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
     268$0: including any error possibly output before this
     269$0: message. Then install a modern shell, or manually run
     270$0: the script under such a shell if you do have one."
    112271  fi
    113 done
    114 
    115 # Required to use basename.
     272  exit 1
     273fi
     274fi
     275fi
     276SHELL=${CONFIG_SHELL-/bin/sh}
     277export SHELL
     278# Unset more variables known to interfere with behavior of common tools.
     279CLICOLOR_FORCE= GREP_OPTIONS=
     280unset CLICOLOR_FORCE GREP_OPTIONS
     281
     282## --------------------- ##
     283## M4sh Shell Functions. ##
     284## --------------------- ##
     285# as_fn_unset VAR
     286# ---------------
     287# Portably unset VAR.
     288as_fn_unset ()
     289{
     290  { eval $1=; unset $1;}
     291}
     292as_unset=as_fn_unset
     293
     294# as_fn_set_status STATUS
     295# -----------------------
     296# Set $? to STATUS, without forking.
     297as_fn_set_status ()
     298{
     299  return $1
     300} # as_fn_set_status
     301
     302# as_fn_exit STATUS
     303# -----------------
     304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     305as_fn_exit ()
     306{
     307  set +e
     308  as_fn_set_status $1
     309  exit $1
     310} # as_fn_exit
     311
     312# as_fn_mkdir_p
     313# -------------
     314# Create "$as_dir" as a directory, including parents if necessary.
     315as_fn_mkdir_p ()
     316{
     317
     318  case $as_dir in #(
     319  -*) as_dir=./$as_dir;;
     320  esac
     321  test -d "$as_dir" || eval $as_mkdir_p || {
     322    as_dirs=
     323    while :; do
     324      case $as_dir in #(
     325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     326      *) as_qdir=$as_dir;;
     327      esac
     328      as_dirs="'$as_qdir' $as_dirs"
     329      as_dir=`$as_dirname -- "$as_dir" ||
     330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     331         X"$as_dir" : 'X\(//\)[^/]' \| \
     332         X"$as_dir" : 'X\(//\)$' \| \
     333         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     334$as_echo X"$as_dir" |
     335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     336            s//\1/
     337            q
     338          }
     339          /^X\(\/\/\)[^/].*/{
     340            s//\1/
     341            q
     342          }
     343          /^X\(\/\/\)$/{
     344            s//\1/
     345            q
     346          }
     347          /^X\(\/\).*/{
     348            s//\1/
     349            q
     350          }
     351          s/.*/./; q'`
     352      test -d "$as_dir" && break
     353    done
     354    test -z "$as_dirs" || eval "mkdir $as_dirs"
     355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     356
     357
     358} # as_fn_mkdir_p
     359
     360# as_fn_executable_p FILE
     361# -----------------------
     362# Test if FILE is an executable regular file.
     363as_fn_executable_p ()
     364{
     365  test -f "$1" && test -x "$1"
     366} # as_fn_executable_p
     367# as_fn_append VAR VALUE
     368# ----------------------
     369# Append the text in VALUE to the end of the definition contained in VAR. Take
     370# advantage of any shell optimizations that allow amortized linear growth over
     371# repeated appends, instead of the typical quadratic growth present in naive
     372# implementations.
     373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     374  eval 'as_fn_append ()
     375  {
     376    eval $1+=\$2
     377  }'
     378else
     379  as_fn_append ()
     380  {
     381    eval $1=\$$1\$2
     382  }
     383fi # as_fn_append
     384
     385# as_fn_arith ARG...
     386# ------------------
     387# Perform arithmetic evaluation on the ARGs, and store the result in the
     388# global $as_val. Take advantage of shells that can avoid forks. The arguments
     389# must be portable across $(()) and expr.
     390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     391  eval 'as_fn_arith ()
     392  {
     393    as_val=$(( $* ))
     394  }'
     395else
     396  as_fn_arith ()
     397  {
     398    as_val=`expr "$@" || test $? -eq 1`
     399  }
     400fi # as_fn_arith
     401
     402
     403# as_fn_error STATUS ERROR [LINENO LOG_FD]
     404# ----------------------------------------
     405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     407# script with STATUS, using 1 if that was 0.
     408as_fn_error ()
     409{
     410  as_status=$1; test $as_status -eq 0 && as_status=1
     411  if test "$4"; then
     412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     414  fi
     415  $as_echo "$as_me: error: $2" >&2
     416  as_fn_exit $as_status
     417} # as_fn_error
     418
    116419if expr a : '\(a\)' >/dev/null 2>&1 &&
    117420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    127430fi
    128431
    129 
    130 # Name of the executable.
     432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     433  as_dirname=dirname
     434else
     435  as_dirname=false
     436fi
     437
    131438as_me=`$as_basename -- "$0" ||
    132439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    133440         X"$0" : 'X\(//\)$' \| \
    134441         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    135 echo X/"$0" |
     442$as_echo X/"$0" |
    136443    sed '/^.*\/\([^/][^/]*\)\/*$/{
    137444            s//\1/
     
    148455          s/.*/./; q'`
    149456
    150 # CDPATH.
    151 $as_unset CDPATH
    152 
    153 
    154 if test "x$CONFIG_SHELL" = x; then
    155   if (eval ":") 2>/dev/null; then
    156   as_have_required=yes
    157 else
    158   as_have_required=no
    159 fi
    160 
    161   if test $as_have_required = yes &&     (eval ":
    162 (as_func_return () {
    163   (exit \$1)
    164 }
    165 as_func_success () {
    166   as_func_return 0
    167 }
    168 as_func_failure () {
    169   as_func_return 1
    170 }
    171 as_func_ret_success () {
    172   return 0
    173 }
    174 as_func_ret_failure () {
    175   return 1
    176 }
    177 
    178 exitcode=0
    179 if as_func_success; then
    180   :
    181 else
    182   exitcode=1
    183   echo as_func_success failed.
    184 fi
    185 
    186 if as_func_failure; then
    187   exitcode=1
    188   echo as_func_failure succeeded.
    189 fi
    190 
    191 if as_func_ret_success; then
    192   :
    193 else
    194   exitcode=1
    195   echo as_func_ret_success failed.
    196 fi
    197 
    198 if as_func_ret_failure; then
    199   exitcode=1
    200   echo as_func_ret_failure succeeded.
    201 fi
    202 
    203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    204   :
    205 else
    206   exitcode=1
    207   echo positional parameters were not saved.
    208 fi
    209 
    210 test \$exitcode = 0) || { (exit 1); exit 1; }
    211 
    212 (
    213   as_lineno_1=\$LINENO
    214   as_lineno_2=\$LINENO
    215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    217 ") 2> /dev/null; then
    218   :
    219 else
    220   as_candidate_shells=
    221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    223 do
    224   IFS=$as_save_IFS
    225   test -z "$as_dir" && as_dir=.
    226   case $as_dir in
    227          /*)
    228            for as_base in sh bash ksh sh5; do
    229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    230            done;;
    231        esac
    232 done
    233 IFS=$as_save_IFS
    234 
    235 
    236       for as_shell in $as_candidate_shells $SHELL; do
    237          # Try only shells that exist, to save several forks.
    238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    241   emulate sh
    242   NULLCMD=:
    243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    244   # is contrary to our usage.  Disable this feature.
    245   alias -g '${1+"$@"}'='"$@"'
    246   setopt NO_GLOB_SUBST
    247 else
    248   case `(set -o) 2>/dev/null` in
    249   *posix*) set -o posix ;;
    250 esac
    251 
    252 fi
    253 
    254 
    255 :
    256 _ASEOF
    257 }; then
    258   CONFIG_SHELL=$as_shell
    259                as_have_required=yes
    260                if { "$as_shell" 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 (as_func_return () {
    278   (exit $1)
    279 }
    280 as_func_success () {
    281   as_func_return 0
    282 }
    283 as_func_failure () {
    284   as_func_return 1
    285 }
    286 as_func_ret_success () {
    287   return 0
    288 }
    289 as_func_ret_failure () {
    290   return 1
    291 }
    292 
    293 exitcode=0
    294 if as_func_success; then
    295   :
    296 else
    297   exitcode=1
    298   echo as_func_success failed.
    299 fi
    300 
    301 if as_func_failure; then
    302   exitcode=1
    303   echo as_func_failure succeeded.
    304 fi
    305 
    306 if as_func_ret_success; then
    307   :
    308 else
    309   exitcode=1
    310   echo as_func_ret_success failed.
    311 fi
    312 
    313 if as_func_ret_failure; then
    314   exitcode=1
    315   echo as_func_ret_failure succeeded.
    316 fi
    317 
    318 if ( set x; as_func_ret_success y && test x = "$1" ); then
    319   :
    320 else
    321   exitcode=1
    322   echo positional parameters were not saved.
    323 fi
    324 
    325 test $exitcode = 0) || { (exit 1); exit 1; }
    326 
    327 (
    328   as_lineno_1=$LINENO
    329   as_lineno_2=$LINENO
    330   test "x$as_lineno_1" != "x$as_lineno_2" &&
    331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    332 
    333 _ASEOF
    334 }; then
    335   break
    336 fi
    337 
    338 fi
    339 
    340       done
    341 
    342       if test "x$CONFIG_SHELL" != x; then
    343   for as_var in BASH_ENV ENV
    344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    345         done
    346         export CONFIG_SHELL
    347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    348 fi
    349 
    350 
    351     if test $as_have_required = no; then
    352   echo This script requires a shell more modern than all the
    353       echo shells that I found on your system.  Please install a
    354       echo modern shell, or manually run the script under such a
    355       echo shell if you do have one.
    356       { (exit 1); exit 1; }
    357 fi
    358 
    359 
    360 fi
    361 
    362 fi
    363 
    364 
    365 
    366 (eval "as_func_return () {
    367   (exit \$1)
    368 }
    369 as_func_success () {
    370   as_func_return 0
    371 }
    372 as_func_failure () {
    373   as_func_return 1
    374 }
    375 as_func_ret_success () {
    376   return 0
    377 }
    378 as_func_ret_failure () {
    379   return 1
    380 }
    381 
    382 exitcode=0
    383 if as_func_success; then
    384   :
    385 else
    386   exitcode=1
    387   echo as_func_success failed.
    388 fi
    389 
    390 if as_func_failure; then
    391   exitcode=1
    392   echo as_func_failure succeeded.
    393 fi
    394 
    395 if as_func_ret_success; then
    396   :
    397 else
    398   exitcode=1
    399   echo as_func_ret_success failed.
    400 fi
    401 
    402 if as_func_ret_failure; then
    403   exitcode=1
    404   echo as_func_ret_failure succeeded.
    405 fi
    406 
    407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    408   :
    409 else
    410   exitcode=1
    411   echo positional parameters were not saved.
    412 fi
    413 
    414 test \$exitcode = 0") || {
    415   echo No shell found that supports shell functions.
    416   echo Please tell autoconf@gnu.org about your system,
    417   echo including any error possibly output before this
    418   echo message
    419 }
    420 
    421 
    422 
    423   as_lineno_1=$LINENO
    424   as_lineno_2=$LINENO
    425   test "x$as_lineno_1" != "x$as_lineno_2" &&
    426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    427 
    428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    429   # uniformly replaced by the line number.  The first 'sed' inserts a
    430   # line-number line after each line using $LINENO; the second 'sed'
    431   # does the real work.  The second script uses 'N' to pair each
    432   # line-number line with the line containing $LINENO, and appends
    433   # trailing '-' during substitution so that $LINENO is not a special
    434   # case at line end.
    435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    437   # E. McMahon (1931-1989) for sed's syntax.  :-)
     457# Avoid depending upon Character Ranges.
     458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     461as_cr_digits='0123456789'
     462as_cr_alnum=$as_cr_Letters$as_cr_digits
     463
     464
     465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438470  sed -n '
    439471    p
     
    452484    ' >$as_me.lineno &&
    453485  chmod +x "$as_me.lineno" ||
    454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    455    { (exit 1); exit 1; }; }
    456 
     486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     487
     488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     489  # already done that, so ensure we don't try to do so again and fall
     490  # in an infinite loop.  This has already happened in practice.
     491  _as_can_reexec=no; export _as_can_reexec
    457492  # Don't try to exec as it changes $[0], causing all sort of problems
    458493  # (the dirname of $[0] is not the place where we might find the
     
    463498}
    464499
    465 
    466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    467   as_dirname=dirname
    468 else
    469   as_dirname=false
    470 fi
    471 
    472500ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in
     501case `echo -n x` in #(((((
    474502-n*)
    475   case `echo 'x\c'` in
     503  case `echo 'xy\c'` in
    476504  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    477   *)   ECHO_C='\c';;
     505  xy)  ECHO_C='\c';;
     506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     507       ECHO_T=' ';;
    478508  esac;;
    479509*)
     
    481511esac
    482512
    483 if expr a : '\(a\)' >/dev/null 2>&1 &&
    484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    485   as_expr=expr
    486 else
    487   as_expr=false
    488 fi
    489 
    490513rm -f conf$$ conf$$.exe conf$$.file
    491514if test -d conf$$.dir; then
     
    493516else
    494517  rm -f conf$$.dir
    495   mkdir conf$$.dir
    496 fi
    497 echo >conf$$.file
    498 if ln -s conf$$.file conf$$ 2>/dev/null; then
    499   as_ln_s='ln -s'
    500   # ... but there are two gotchas:
    501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    503   # In both cases, we have to default to `cp -p'.
    504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    505     as_ln_s='cp -p'
    506 elif ln conf$$.file conf$$ 2>/dev/null; then
    507   as_ln_s=ln
    508 else
    509   as_ln_s='cp -p'
     518  mkdir conf$$.dir 2>/dev/null
     519fi
     520if (echo >conf$$.file) 2>/dev/null; then
     521  if ln -s conf$$.file conf$$ 2>/dev/null; then
     522    as_ln_s='ln -s'
     523    # ... but there are two gotchas:
     524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     526    # In both cases, we have to default to `cp -pR'.
     527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     528      as_ln_s='cp -pR'
     529  elif ln conf$$.file conf$$ 2>/dev/null; then
     530    as_ln_s=ln
     531  else
     532    as_ln_s='cp -pR'
     533  fi
     534else
     535  as_ln_s='cp -pR'
    510536fi
    511537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    513539
    514540if mkdir -p . 2>/dev/null; then
    515   as_mkdir_p=:
     541  as_mkdir_p='mkdir -p "$as_dir"'
    516542else
    517543  test -d ./-p && rmdir ./-p
     
    519545fi
    520546
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532         test -d "$1/.";
    533       else
    534         case $1 in
    535         -*)set "./$1";;
    536         esac;
    537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    538         ???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    543549
    544550# Sed expression to map a string onto a valid CPP name.
     
    549555
    550556
    551 
    552 exec 7<&0 </dev/null 6>&1
     557test -n "$DJDIR" || exec 7<&0 </dev/null
     558exec 6>&1
    553559
    554560# Name of the host.
    555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556562# so uname gets run too.
    557563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    568574MFLAGS=
    569575MAKEFLAGS=
    570 SHELL=${CONFIG_SHELL-/bin/sh}
    571576
    572577# Identity of this package.
     
    576581PACKAGE_STRING=
    577582PACKAGE_BUGREPORT=
     583PACKAGE_URL=
    578584
    579585ac_unique_file="src/Fl.cxx"
     
    614620#endif"
    615621
    616 ac_subst_vars='SHELL
     622ac_subst_vars='LTLIBOBJS
     623LIBOBJS
     624MAKEDEPEND
     625CAT6EXT
     626CAT3EXT
     627CAT1EXT
     628UNINSTALL_DESKTOP
     629INSTALL_DESKTOP
     630THREADS
     631OSX_ONLY
     632HLINKS
     633GLLIB
     634XPROP
     635FTCONFIG
     636X_EXTRA_LIBS
     637X_LIBS
     638X_PRE_LIBS
     639X_CFLAGS
     640XMKMF
     641PTHREAD_FLAGS
     642ZLIBINC
     643ZLIB
     644PNGINC
     645PNG
     646JPEGINC
     647JPEG
     648STATICIMAGELIBS
     649IMAGELIBS
     650AUDIOLIBS
     651LARGEFILE
     652EGREP
     653GREP
     654CPP
     655RC
     656LIBCOMMAND
     657AR
     658RANLIB
     659DOXYDOC
     660HTMLDOC
     661GROFF
     662NROFF
     663INSTALL_DATA
     664INSTALL_SCRIPT
     665INSTALL_PROGRAM
     666ac_ct_CXX
     667CXXFLAGS
     668CXX
     669OBJEXT
     670EXEEXT
     671ac_ct_CC
     672CPPFLAGS
     673LDFLAGS
     674CFLAGS
     675CC
     676FLUID
     677LINKSHARED
     678SHAREDSUFFIX
     679CAIRODSONAME
     680IMGDSONAME
     681GLDSONAME
     682FLDSONAME
     683DSONAME
     684DSOLINK
     685DSOFLAGS
     686DSOCOMMAND
     687CAIROLIBBASENAME
     688IMGLIBBASENAME
     689GLLIBBASENAME
     690FLLIBBASENAME
     691LIBBASENAME
     692LINKFLTKIMG
     693LINKFLTKGL
     694LINKFLTKFORMS
     695LINKFLTK
     696LIBNAME
     697LIBEXT
     698CAIROLIBNAME
     699IMGLIBNAME
     700GLLIBNAME
     701GLDEMOS
     702FLLIBNAME
     703FLTKCAIROOPTION
     704LINKFLTKCAIRO
     705CAIROLIBS
     706CAIROFLAGS
     707CAIRODIR
     708OPTIM
     709ARCHFLAGS
     710FL_API_VERSION
     711FL_PATCH_VERSION
     712FL_MINOR_VERSION
     713FL_MAJOR_VERSION
     714USEMMFILES
     715target_alias
     716host_alias
     717build_alias
     718LIBS
     719ECHO_T
     720ECHO_N
     721ECHO_C
     722DEFS
     723mandir
     724localedir
     725libdir
     726psdir
     727pdfdir
     728dvidir
     729htmldir
     730infodir
     731docdir
     732oldincludedir
     733includedir
     734localstatedir
     735sharedstatedir
     736sysconfdir
     737datadir
     738datarootdir
     739libexecdir
     740sbindir
     741bindir
     742program_transform_name
     743prefix
     744exec_prefix
     745PACKAGE_URL
     746PACKAGE_BUGREPORT
     747PACKAGE_STRING
     748PACKAGE_VERSION
     749PACKAGE_TARNAME
     750PACKAGE_NAME
    617751PATH_SEPARATOR
    618 PACKAGE_NAME
    619 PACKAGE_TARNAME
    620 PACKAGE_VERSION
    621 PACKAGE_STRING
    622 PACKAGE_BUGREPORT
    623 exec_prefix
    624 prefix
    625 program_transform_name
    626 bindir
    627 sbindir
    628 libexecdir
    629 datarootdir
    630 datadir
    631 sysconfdir
    632 sharedstatedir
    633 localstatedir
    634 includedir
    635 oldincludedir
    636 docdir
    637 infodir
    638 htmldir
    639 dvidir
    640 pdfdir
    641 psdir
    642 libdir
    643 localedir
    644 mandir
    645 DEFS
    646 ECHO_C
    647 ECHO_N
    648 ECHO_T
    649 LIBS
    650 build_alias
    651 host_alias
    652 target_alias
    653 USEMMFILES
    654 FL_MAJOR_VERSION
    655 FL_MINOR_VERSION
    656 FL_PATCH_VERSION
    657 FL_API_VERSION
    658 ARCHFLAGS
    659 OPTIM
    660 CAIRODIR
    661 CAIROFLAGS
    662 CAIROLIBS
    663 LINKFLTKCAIRO
    664 FLTKCAIROOPTION
    665 FLLIBNAME
    666 GLDEMOS
    667 GLLIBNAME
    668 IMGLIBNAME
    669 CAIROLIBNAME
    670 LIBEXT
    671 LIBNAME
    672 LINKFLTK
    673 LINKFLTKFORMS
    674 LINKFLTKGL
    675 LINKFLTKIMG
    676 LIBBASENAME
    677 FLLIBBASENAME
    678 GLLIBBASENAME
    679 IMGLIBBASENAME
    680 CAIROLIBBASENAME
    681 DSOCOMMAND
    682 DSOFLAGS
    683 DSOLINK
    684 DSONAME
    685 FLDSONAME
    686 GLDSONAME
    687 IMGDSONAME
    688 CAIRODSONAME
    689 SHAREDSUFFIX
    690 LINKSHARED
    691 FLUID
    692 CC
    693 CFLAGS
    694 LDFLAGS
    695 CPPFLAGS
    696 ac_ct_CC
    697 EXEEXT
    698 OBJEXT
    699 CXX
    700 CXXFLAGS
    701 ac_ct_CXX
    702 INSTALL_PROGRAM
    703 INSTALL_SCRIPT
    704 INSTALL_DATA
    705 NROFF
    706 GROFF
    707 HTMLDOC
    708 DOXYDOC
    709 RANLIB
    710 AR
    711 LIBCOMMAND
    712 RC
    713 CPP
    714 GREP
    715 EGREP
    716 LARGEFILE
    717 AUDIOLIBS
    718 IMAGELIBS
    719 STATICIMAGELIBS
    720 JPEG
    721 JPEGINC
    722 PNG
    723 PNGINC
    724 ZLIB
    725 ZLIBINC
    726 PTHREAD_FLAGS
    727 XMKMF
    728 X_CFLAGS
    729 X_PRE_LIBS
    730 X_LIBS
    731 X_EXTRA_LIBS
    732 FTCONFIG
    733 XPROP
    734 GLLIB
    735 HLINKS
    736 OSX_ONLY
    737 THREADS
    738 INSTALL_DESKTOP
    739 UNINSTALL_DESKTOP
    740 CAT1EXT
    741 CAT3EXT
    742 CAT6EXT
    743 MAKEDEPEND
    744 LIBOBJS
    745 LTLIBOBJS'
     752SHELL'
    746753ac_subst_files=''
     754ac_user_opts='
     755enable_option_checking
     756enable_cygwin
     757enable_x11
     758enable_cairoext
     759enable_cairo
     760enable_debug
     761enable_cp936
     762enable_gl
     763enable_shared
     764enable_threads
     765with_optim
     766with_archflags
     767enable_largefile
     768enable_localjpeg
     769enable_localzlib
     770enable_localpng
     771with_links
     772with_x
     773enable_xinerama
     774enable_xft
     775enable_xdbe
     776'
    747777      ac_precious_vars='build_alias
    748778host_alias
     
    763793ac_init_help=
    764794ac_init_version=false
     795ac_unrecognized_opts=
     796ac_unrecognized_sep=
    765797# The variables have the same names as the options, with
    766798# dashes changed to underlines.
     
    818850
    819851  case $ac_option in
    820   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    821   *)    ac_optarg=yes ;;
     852  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     853  *=)   ac_optarg= ;;
     854  *)    ac_optarg=yes ;;
    822855  esac
    823856
     
    861894
    862895  -disable-* | --disable-*)
    863     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     896    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    864897    # Reject names that are not valid shell variable names.
    865     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    866       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    867    { (exit 1); exit 1; }; }
    868     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    869     eval enable_$ac_feature=no ;;
     898    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     899      as_fn_error $? "invalid feature name: $ac_useropt"
     900    ac_useropt_orig=$ac_useropt
     901    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     902    case $ac_user_opts in
     903      *"
     904"enable_$ac_useropt"
     905"*) ;;
     906      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     907         ac_unrecognized_sep=', ';;
     908    esac
     909    eval enable_$ac_useropt=no ;;
    870910
    871911  -docdir | --docdir | --docdi | --doc | --do)
     
    880920
    881921  -enable-* | --enable-*)
    882     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     922    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    883923    # Reject names that are not valid shell variable names.
    884     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    885       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    886    { (exit 1); exit 1; }; }
    887     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    888     eval enable_$ac_feature=\$ac_optarg ;;
     924    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     925      as_fn_error $? "invalid feature name: $ac_useropt"
     926    ac_useropt_orig=$ac_useropt
     927    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     928    case $ac_user_opts in
     929      *"
     930"enable_$ac_useropt"
     931"*) ;;
     932      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     933         ac_unrecognized_sep=', ';;
     934    esac
     935    eval enable_$ac_useropt=\$ac_optarg ;;
    889936
    890937  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    10771124
    10781125  -with-* | --with-*)
    1079     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1126    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    10801127    # Reject names that are not valid shell variable names.
    1081     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1082       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1083    { (exit 1); exit 1; }; }
    1084     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1085     eval with_$ac_package=\$ac_optarg ;;
     1128    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1129      as_fn_error $? "invalid package name: $ac_useropt"
     1130    ac_useropt_orig=$ac_useropt
     1131    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1132    case $ac_user_opts in
     1133      *"
     1134"with_$ac_useropt"
     1135"*) ;;
     1136      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1137         ac_unrecognized_sep=', ';;
     1138    esac
     1139    eval with_$ac_useropt=\$ac_optarg ;;
    10861140
    10871141  -without-* | --without-*)
    1088     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1142    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    10891143    # Reject names that are not valid shell variable names.
    1090     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1091       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1092    { (exit 1); exit 1; }; }
    1093     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1094     eval with_$ac_package=no ;;
     1144    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1145      as_fn_error $? "invalid package name: $ac_useropt"
     1146    ac_useropt_orig=$ac_useropt
     1147    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1148    case $ac_user_opts in
     1149      *"
     1150"with_$ac_useropt"
     1151"*) ;;
     1152      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1153         ac_unrecognized_sep=', ';;
     1154    esac
     1155    eval with_$ac_useropt=no ;;
    10951156
    10961157  --x)
     
    11121173    x_libraries=$ac_optarg ;;
    11131174
    1114   -*) { echo "$as_me: error: unrecognized option: $ac_option
    1115 Try \`$0 --help' for more information." >&2
    1116    { (exit 1); exit 1; }; }
     1175  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1176Try \`$0 --help' for more information"
    11171177    ;;
    11181178
     
    11201180    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11211181    # Reject names that are not valid shell variable names.
    1122     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1123       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1124    { (exit 1); exit 1; }; }
     1182    case $ac_envvar in #(
     1183      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1184      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1185    esac
    11251186    eval $ac_envvar=\$ac_optarg
    11261187    export $ac_envvar ;;
     
    11281189  *)
    11291190    # FIXME: should be removed in autoconf 3.0.
    1130     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1191    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    11311192    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1132       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1133     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1193      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1194    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11341195    ;;
    11351196
     
    11391200if test -n "$ac_prev"; then
    11401201  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1141   { echo "$as_me: error: missing argument to $ac_option" >&2
    1142    { (exit 1); exit 1; }; }
    1143 fi
    1144 
    1145 # Be sure to have absolute directory names.
     1202  as_fn_error $? "missing argument to $ac_option"
     1203fi
     1204
     1205if test -n "$ac_unrecognized_opts"; then
     1206  case $enable_option_checking in
     1207    no) ;;
     1208    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1209    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1210  esac
     1211fi
     1212
     1213# Check all directory arguments for consistency.
    11461214for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11471215                datadir sysconfdir sharedstatedir localstatedir includedir \
     
    11501218do
    11511219  eval ac_val=\$$ac_var
     1220  # Remove trailing slashes.
     1221  case $ac_val in
     1222    */ )
     1223      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1224      eval $ac_var=\$ac_val;;
     1225  esac
     1226  # Be sure to have absolute directory names.
    11521227  case $ac_val in
    11531228    [\\/$]* | ?:[\\/]* )  continue;;
    11541229    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11551230  esac
    1156   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1157    { (exit 1); exit 1; }; }
     1231  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11581232done
    11591233
     
    11691243  if test "x$build_alias" = x; then
    11701244    cross_compiling=maybe
    1171     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1172     If a cross compiler is detected then cross compile mode will be used." >&2
    11731245  elif test "x$build_alias" != "x$host_alias"; then
    11741246    cross_compiling=yes
     
    11851257ac_ls_di=`ls -di .` &&
    11861258ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1187   { echo "$as_me: error: Working directory cannot be determined" >&2
    1188    { (exit 1); exit 1; }; }
     1259  as_fn_error $? "working directory cannot be determined"
    11891260test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1190   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1191    { (exit 1); exit 1; }; }
     1261  as_fn_error $? "pwd does not report name of working directory"
    11921262
    11931263
     
    11961266  ac_srcdir_defaulted=yes
    11971267  # Try the directory containing this script, then the parent directory.
    1198   ac_confdir=`$as_dirname -- "$0" ||
    1199 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1200          X"$0" : 'X\(//\)[^/]' \| \
    1201          X"$0" : 'X\(//\)$' \| \
    1202          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    1203 echo X"$0" |
     1268  ac_confdir=`$as_dirname -- "$as_myself" ||
     1269$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1270         X"$as_myself" : 'X\(//\)[^/]' \| \
     1271         X"$as_myself" : 'X\(//\)$' \| \
     1272         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1273$as_echo X"$as_myself" |
    12041274    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    12051275            s//\1/
     
    12281298if test ! -r "$srcdir/$ac_unique_file"; then
    12291299  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1230   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1231    { (exit 1); exit 1; }; }
     1300  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12321301fi
    12331302ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12341303ac_abs_confdir=`(
    1235         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    1236    { (exit 1); exit 1; }; }
     1304        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12371305        pwd)`
    12381306# When building in place, set srcdir=.
     
    12741342      --help=recursive    display the short help of all the included packages
    12751343  -V, --version           display version information and exit
    1276   -q, --quiet, --silent   do not print \`checking...' messages
     1344  -q, --quiet, --silent   do not print \`checking ...' messages
    12771345      --cache-file=FILE   cache test results in FILE [disabled]
    12781346  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    12821350Installation directories:
    12831351  --prefix=PREFIX         install architecture-independent files in PREFIX
    1284                           [$ac_default_prefix]
     1352                          [$ac_default_prefix]
    12851353  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1286                           [PREFIX]
     1354                          [PREFIX]
    12871355
    12881356By default, \`make install' will install all the files in
     
    12941362
    12951363Fine tuning of the installation directories:
    1296   --bindir=DIR           user executables [EPREFIX/bin]
    1297   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1298   --libexecdir=DIR       program executables [EPREFIX/libexec]
    1299   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1300   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1301   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1302   --libdir=DIR           object code libraries [EPREFIX/lib]
    1303   --includedir=DIR       C header files [PREFIX/include]
    1304   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1305   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1306   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1307   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1308   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1309   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1310   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
    1311   --htmldir=DIR          html documentation [DOCDIR]
    1312   --dvidir=DIR           dvi documentation [DOCDIR]
    1313   --pdfdir=DIR           pdf documentation [DOCDIR]
    1314   --psdir=DIR            ps documentation [DOCDIR]
     1364  --bindir=DIR            user executables [EPREFIX/bin]
     1365  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1366  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1367  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1368  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1369  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1370  --libdir=DIR            object code libraries [EPREFIX/lib]
     1371  --includedir=DIR        C header files [PREFIX/include]
     1372  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1373  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1374  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1375  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1376  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1377  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1378  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1379  --htmldir=DIR           html documentation [DOCDIR]
     1380  --dvidir=DIR            dvi documentation [DOCDIR]
     1381  --pdfdir=DIR            pdf documentation [DOCDIR]
     1382  --psdir=DIR             ps documentation [DOCDIR]
    13151383_ACEOF
    13161384
     
    13281396
    13291397Optional Features:
     1398  --disable-option-checking  ignore unrecognized --enable/--with options
    13301399  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13311400  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    13631432              nonstandard directory <lib dir>
    13641433  LIBS        libraries to pass to the linker, e.g. -l<library>
    1365   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1434  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13661435              you have headers in a nonstandard directory <include dir>
    13671436  CXX         C++ compiler command
     
    13731442it to find libraries and programs with nonstandard names/locations.
    13741443
     1444Report bugs to the package provider.
    13751445_ACEOF
    13761446ac_status=$?
     
    13801450  # If there are subdirs, report their specific --help.
    13811451  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1382     test -d "$ac_dir" || continue
     1452    test -d "$ac_dir" ||
     1453      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1454      continue
    13831455    ac_builddir=.
    13841456
     
    13861458.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    13871459*)
    1388   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     1460  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    13891461  # A ".." for each directory in $ac_dir_suffix.
    1390   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1462  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    13911463  case $ac_top_builddir_sub in
    13921464  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    14241496      $SHELL "$ac_srcdir/configure" --help=recursive
    14251497    else
    1426       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1498      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    14271499    fi || ac_status=$?
    14281500    cd "$ac_pwd" || { ac_status=$?; break; }
     
    14341506  cat <<\_ACEOF
    14351507configure
    1436 generated by GNU Autoconf 2.61
    1437 
    1438 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1439 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     1508generated by GNU Autoconf 2.69
     1509
     1510Copyright (C) 2012 Free Software Foundation, Inc.
    14401511This configure script is free software; the Free Software Foundation
    14411512gives unlimited permission to copy, distribute and modify it.
     
    14431514  exit
    14441515fi
     1516
     1517## ------------------------ ##
     1518## Autoconf initialization. ##
     1519## ------------------------ ##
     1520
     1521# ac_fn_c_try_compile LINENO
     1522# --------------------------
     1523# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1524ac_fn_c_try_compile ()
     1525{
     1526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1527  rm -f conftest.$ac_objext
     1528  if { { ac_try="$ac_compile"
     1529case "(($ac_try" in
     1530  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1531  *) ac_try_echo=$ac_try;;
     1532esac
     1533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1534$as_echo "$ac_try_echo"; } >&5
     1535  (eval "$ac_compile") 2>conftest.err
     1536  ac_status=$?
     1537  if test -s conftest.err; then
     1538    grep -v '^ *+' conftest.err >conftest.er1
     1539    cat conftest.er1 >&5
     1540    mv -f conftest.er1 conftest.err
     1541  fi
     1542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1543  test $ac_status = 0; } && {
     1544         test -z "$ac_c_werror_flag" ||
     1545         test ! -s conftest.err
     1546       } && test -s conftest.$ac_objext; then :
     1547  ac_retval=0
     1548else
     1549  $as_echo "$as_me: failed program was:" >&5
     1550sed 's/^/| /' conftest.$ac_ext >&5
     1551
     1552        ac_retval=1
     1553fi
     1554  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1555  as_fn_set_status $ac_retval
     1556
     1557} # ac_fn_c_try_compile
     1558
     1559# ac_fn_cxx_try_compile LINENO
     1560# ----------------------------
     1561# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1562ac_fn_cxx_try_compile ()
     1563{
     1564  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1565  rm -f conftest.$ac_objext
     1566  if { { ac_try="$ac_compile"
     1567case "(($ac_try" in
     1568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1569  *) ac_try_echo=$ac_try;;
     1570esac
     1571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1572$as_echo "$ac_try_echo"; } >&5
     1573  (eval "$ac_compile") 2>conftest.err
     1574  ac_status=$?
     1575  if test -s conftest.err; then
     1576    grep -v '^ *+' conftest.err >conftest.er1
     1577    cat conftest.er1 >&5
     1578    mv -f conftest.er1 conftest.err
     1579  fi
     1580  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1581  test $ac_status = 0; } && {
     1582         test -z "$ac_cxx_werror_flag" ||
     1583         test ! -s conftest.err
     1584       } && test -s conftest.$ac_objext; then :
     1585  ac_retval=0
     1586else
     1587  $as_echo "$as_me: failed program was:" >&5
     1588sed 's/^/| /' conftest.$ac_ext >&5
     1589
     1590        ac_retval=1
     1591fi
     1592  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1593  as_fn_set_status $ac_retval
     1594
     1595} # ac_fn_cxx_try_compile
     1596
     1597# ac_fn_c_try_run LINENO
     1598# ----------------------
     1599# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1600# that executables *can* be run.
     1601ac_fn_c_try_run ()
     1602{
     1603  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1604  if { { ac_try="$ac_link"
     1605case "(($ac_try" in
     1606  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1607  *) ac_try_echo=$ac_try;;
     1608esac
     1609eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1610$as_echo "$ac_try_echo"; } >&5
     1611  (eval "$ac_link") 2>&5
     1612  ac_status=$?
     1613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1614  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1615  { { case "(($ac_try" in
     1616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1617  *) ac_try_echo=$ac_try;;
     1618esac
     1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1620$as_echo "$ac_try_echo"; } >&5
     1621  (eval "$ac_try") 2>&5
     1622  ac_status=$?
     1623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1624  test $ac_status = 0; }; }; then :
     1625  ac_retval=0
     1626else
     1627  $as_echo "$as_me: program exited with status $ac_status" >&5
     1628       $as_echo "$as_me: failed program was:" >&5
     1629sed 's/^/| /' conftest.$ac_ext >&5
     1630
     1631       ac_retval=$ac_status
     1632fi
     1633  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1634  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1635  as_fn_set_status $ac_retval
     1636
     1637} # ac_fn_c_try_run
     1638
     1639# ac_fn_c_try_cpp LINENO
     1640# ----------------------
     1641# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1642ac_fn_c_try_cpp ()
     1643{
     1644  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1645  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1646case "(($ac_try" in
     1647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1648  *) ac_try_echo=$ac_try;;
     1649esac
     1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1651$as_echo "$ac_try_echo"; } >&5
     1652  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1653  ac_status=$?
     1654  if test -s conftest.err; then
     1655    grep -v '^ *+' conftest.err >conftest.er1
     1656    cat conftest.er1 >&5
     1657    mv -f conftest.er1 conftest.err
     1658  fi
     1659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1660  test $ac_status = 0; } > conftest.i && {
     1661         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1662         test ! -s conftest.err
     1663       }; then :
     1664  ac_retval=0
     1665else
     1666  $as_echo "$as_me: failed program was:" >&5
     1667sed 's/^/| /' conftest.$ac_ext >&5
     1668
     1669    ac_retval=1
     1670fi
     1671  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1672  as_fn_set_status $ac_retval
     1673
     1674} # ac_fn_c_try_cpp
     1675
     1676# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1677# -------------------------------------------------------
     1678# Tests whether HEADER exists and can be compiled using the include files in
     1679# INCLUDES, setting the cache variable VAR accordingly.
     1680ac_fn_c_check_header_compile ()
     1681{
     1682  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1684$as_echo_n "checking for $2... " >&6; }
     1685if eval \${$3+:} false; then :
     1686  $as_echo_n "(cached) " >&6
     1687else
     1688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1689/* end confdefs.h.  */
     1690$4
     1691#include <$2>
     1692_ACEOF
     1693if ac_fn_c_try_compile "$LINENO"; then :
     1694  eval "$3=yes"
     1695else
     1696  eval "$3=no"
     1697fi
     1698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1699fi
     1700eval ac_res=\$$3
     1701               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1702$as_echo "$ac_res" >&6; }
     1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1704
     1705} # ac_fn_c_check_header_compile
     1706
     1707# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
     1708# --------------------------------------------
     1709# Tries to find the compile-time value of EXPR in a program that includes
     1710# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1711# computed
     1712ac_fn_c_compute_int ()
     1713{
     1714  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1715  if test "$cross_compiling" = yes; then
     1716    # Depending upon the size, compute the lo and hi bounds.
     1717cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1718/* end confdefs.h.  */
     1719$4
     1720int
     1721main ()
     1722{
     1723static int test_array [1 - 2 * !(($2) >= 0)];
     1724test_array [0] = 0;
     1725return test_array [0];
     1726
     1727  ;
     1728  return 0;
     1729}
     1730_ACEOF
     1731if ac_fn_c_try_compile "$LINENO"; then :
     1732  ac_lo=0 ac_mid=0
     1733  while :; do
     1734    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1735/* end confdefs.h.  */
     1736$4
     1737int
     1738main ()
     1739{
     1740static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1741test_array [0] = 0;
     1742return test_array [0];
     1743
     1744  ;
     1745  return 0;
     1746}
     1747_ACEOF
     1748if ac_fn_c_try_compile "$LINENO"; then :
     1749  ac_hi=$ac_mid; break
     1750else
     1751  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1752                        if test $ac_lo -le $ac_mid; then
     1753                          ac_lo= ac_hi=
     1754                          break
     1755                        fi
     1756                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1757fi
     1758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1759  done
     1760else
     1761  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1762/* end confdefs.h.  */
     1763$4
     1764int
     1765main ()
     1766{
     1767static int test_array [1 - 2 * !(($2) < 0)];
     1768test_array [0] = 0;
     1769return test_array [0];
     1770
     1771  ;
     1772  return 0;
     1773}
     1774_ACEOF
     1775if ac_fn_c_try_compile "$LINENO"; then :
     1776  ac_hi=-1 ac_mid=-1
     1777  while :; do
     1778    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1779/* end confdefs.h.  */
     1780$4
     1781int
     1782main ()
     1783{
     1784static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1785test_array [0] = 0;
     1786return test_array [0];
     1787
     1788  ;
     1789  return 0;
     1790}
     1791_ACEOF
     1792if ac_fn_c_try_compile "$LINENO"; then :
     1793  ac_lo=$ac_mid; break
     1794else
     1795  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1796                        if test $ac_mid -le $ac_hi; then
     1797                          ac_lo= ac_hi=
     1798                          break
     1799                        fi
     1800                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1801fi
     1802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1803  done
     1804else
     1805  ac_lo= ac_hi=
     1806fi
     1807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1808fi
     1809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1810# Binary search between lo and hi bounds.
     1811while test "x$ac_lo" != "x$ac_hi"; do
     1812  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1813  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1814/* end confdefs.h.  */
     1815$4
     1816int
     1817main ()
     1818{
     1819static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1820test_array [0] = 0;
     1821return test_array [0];
     1822
     1823  ;
     1824  return 0;
     1825}
     1826_ACEOF
     1827if ac_fn_c_try_compile "$LINENO"; then :
     1828  ac_hi=$ac_mid
     1829else
     1830  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     1831fi
     1832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1833done
     1834case $ac_lo in #((
     1835?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     1836'') ac_retval=1 ;;
     1837esac
     1838  else
     1839    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1840/* end confdefs.h.  */
     1841$4
     1842static long int longval () { return $2; }
     1843static unsigned long int ulongval () { return $2; }
     1844#include <stdio.h>
     1845#include <stdlib.h>
     1846int
     1847main ()
     1848{
     1849
     1850  FILE *f = fopen ("conftest.val", "w");
     1851  if (! f)
     1852    return 1;
     1853  if (($2) < 0)
     1854    {
     1855      long int i = longval ();
     1856      if (i != ($2))
     1857        return 1;
     1858      fprintf (f, "%ld", i);
     1859    }
     1860  else
     1861    {
     1862      unsigned long int i = ulongval ();
     1863      if (i != ($2))
     1864        return 1;
     1865      fprintf (f, "%lu", i);
     1866    }
     1867  /* Do not output a trailing newline, as this causes \r\n confusion
     1868     on some platforms.  */
     1869  return ferror (f) || fclose (f) != 0;
     1870
     1871  ;
     1872  return 0;
     1873}
     1874_ACEOF
     1875if ac_fn_c_try_run "$LINENO"; then :
     1876  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     1877else
     1878  ac_retval=1
     1879fi
     1880rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     1881  conftest.$ac_objext conftest.beam conftest.$ac_ext
     1882rm -f conftest.val
     1883
     1884  fi
     1885  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1886  as_fn_set_status $ac_retval
     1887
     1888} # ac_fn_c_compute_int
     1889
     1890# ac_fn_c_try_link LINENO
     1891# -----------------------
     1892# Try to link conftest.$ac_ext, and return whether this succeeded.
     1893ac_fn_c_try_link ()
     1894{
     1895  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1896  rm -f conftest.$ac_objext conftest$ac_exeext
     1897  if { { ac_try="$ac_link"
     1898case "(($ac_try" in
     1899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1900  *) ac_try_echo=$ac_try;;
     1901esac
     1902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1903$as_echo "$ac_try_echo"; } >&5
     1904  (eval "$ac_link") 2>conftest.err
     1905  ac_status=$?
     1906  if test -s conftest.err; then
     1907    grep -v '^ *+' conftest.err >conftest.er1
     1908    cat conftest.er1 >&5
     1909    mv -f conftest.er1 conftest.err
     1910  fi
     1911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1912  test $ac_status = 0; } && {
     1913         test -z "$ac_c_werror_flag" ||
     1914         test ! -s conftest.err
     1915       } && test -s conftest$ac_exeext && {
     1916         test "$cross_compiling" = yes ||
     1917         test -x conftest$ac_exeext
     1918       }; then :
     1919  ac_retval=0
     1920else
     1921  $as_echo "$as_me: failed program was:" >&5
     1922sed 's/^/| /' conftest.$ac_ext >&5
     1923
     1924        ac_retval=1
     1925fi
     1926  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1927  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1928  # interfere with the next link command; also delete a directory that is
     1929  # left behind by Apple's compiler.  We do this before executing the actions.
     1930  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1931  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1932  as_fn_set_status $ac_retval
     1933
     1934} # ac_fn_c_try_link
     1935
     1936# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1937# -------------------------------------------------------
     1938# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1939# the include files in INCLUDES and setting the cache variable VAR
     1940# accordingly.
     1941ac_fn_c_check_header_mongrel ()
     1942{
     1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1944  if eval \${$3+:} false; then :
     1945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1946$as_echo_n "checking for $2... " >&6; }
     1947if eval \${$3+:} false; then :
     1948  $as_echo_n "(cached) " >&6
     1949fi
     1950eval ac_res=\$$3
     1951               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1952$as_echo "$ac_res" >&6; }
     1953else
     1954  # Is the header compilable?
     1955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1956$as_echo_n "checking $2 usability... " >&6; }
     1957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1958/* end confdefs.h.  */
     1959$4
     1960#include <$2>
     1961_ACEOF
     1962if ac_fn_c_try_compile "$LINENO"; then :
     1963  ac_header_compiler=yes
     1964else
     1965  ac_header_compiler=no
     1966fi
     1967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1969$as_echo "$ac_header_compiler" >&6; }
     1970
     1971# Is the header present?
     1972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1973$as_echo_n "checking $2 presence... " >&6; }
     1974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1975/* end confdefs.h.  */
     1976#include <$2>
     1977_ACEOF
     1978if ac_fn_c_try_cpp "$LINENO"; then :
     1979  ac_header_preproc=yes
     1980else
     1981  ac_header_preproc=no
     1982fi
     1983rm -f conftest.err conftest.i conftest.$ac_ext
     1984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1985$as_echo "$ac_header_preproc" >&6; }
     1986
     1987# So?  What about this header?
     1988case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1989  yes:no: )
     1990    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1991$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1992    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1993$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1994    ;;
     1995  no:yes:* )
     1996    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1997$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1998    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1999$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2000    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2001$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2002    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2003$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2004    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2005$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2006    ;;
     2007esac
     2008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2009$as_echo_n "checking for $2... " >&6; }
     2010if eval \${$3+:} false; then :
     2011  $as_echo_n "(cached) " >&6
     2012else
     2013  eval "$3=\$ac_header_compiler"
     2014fi
     2015eval ac_res=\$$3
     2016               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2017$as_echo "$ac_res" >&6; }
     2018fi
     2019  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2020
     2021} # ac_fn_c_check_header_mongrel
     2022
     2023# ac_fn_c_check_func LINENO FUNC VAR
     2024# ----------------------------------
     2025# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2026ac_fn_c_check_func ()
     2027{
     2028  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2029  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2030$as_echo_n "checking for $2... " >&6; }
     2031if eval \${$3+:} false; then :
     2032  $as_echo_n "(cached) " >&6
     2033else
     2034  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2035/* end confdefs.h.  */
     2036/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2037   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2038#define $2 innocuous_$2
     2039
     2040/* System header to define __stub macros and hopefully few prototypes,
     2041    which can conflict with char $2 (); below.
     2042    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2043    <limits.h> exists even on freestanding compilers.  */
     2044
     2045#ifdef __STDC__
     2046# include <limits.h>
     2047#else
     2048# include <assert.h>
     2049#endif
     2050
     2051#undef $2
     2052
     2053/* Override any GCC internal prototype to avoid an error.
     2054   Use char because int might match the return type of a GCC
     2055   builtin and then its argument prototype would still apply.  */
     2056#ifdef __cplusplus
     2057extern "C"
     2058#endif
     2059char $2 ();
     2060/* The GNU C library defines this for functions which it implements
     2061    to always fail with ENOSYS.  Some functions are actually named
     2062    something starting with __ and the normal name is an alias.  */
     2063#if defined __stub_$2 || defined __stub___$2
     2064choke me
     2065#endif
     2066
     2067int
     2068main ()
     2069{
     2070return $2 ();
     2071  ;
     2072  return 0;
     2073}
     2074_ACEOF
     2075if ac_fn_c_try_link "$LINENO"; then :
     2076  eval "$3=yes"
     2077else
     2078  eval "$3=no"
     2079fi
     2080rm -f core conftest.err conftest.$ac_objext \
     2081    conftest$ac_exeext conftest.$ac_ext
     2082fi
     2083eval ac_res=\$$3
     2084               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2085$as_echo "$ac_res" >&6; }
     2086  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2087
     2088} # ac_fn_c_check_func
    14452089cat >config.log <<_ACEOF
    14462090This file contains any messages produced by compilers while
     
    14482092
    14492093It was created by $as_me, which was
    1450 generated by GNU Autoconf 2.61.  Invocation command line was
     2094generated by GNU Autoconf 2.69.  Invocation command line was
    14512095
    14522096  $ $0 $@
     
    14842128  IFS=$as_save_IFS
    14852129  test -z "$as_dir" && as_dir=.
    1486   echo "PATH: $as_dir"
    1487 done
     2130    $as_echo "PATH: $as_dir"
     2131  done
    14882132IFS=$as_save_IFS
    14892133
     
    15192163      continue ;;
    15202164    *\'*)
    1521       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2165      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    15222166    esac
    15232167    case $ac_pass in
    1524     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2168    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15252169    2)
    1526       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2170      as_fn_append ac_configure_args1 " '$ac_arg'"
    15272171      if test $ac_must_keep_next = true; then
    15282172        ac_must_keep_next=false # Got value, back to normal.
     
    15402184        esac
    15412185      fi
    1542       ac_configure_args="$ac_configure_args '$ac_arg'"
     2186      as_fn_append ac_configure_args " '$ac_arg'"
    15432187      ;;
    15442188    esac
    15452189  done
    15462190done
    1547 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1548 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2191{ ac_configure_args0=; unset ac_configure_args0;}
     2192{ ac_configure_args1=; unset ac_configure_args1;}
    15492193
    15502194# When interrupted or exit'd, cleanup temporary files, and complete
     
    15582202    echo
    15592203
    1560     cat <<\_ASBOX
    1561 ## ---------------- ##
     2204    $as_echo "## ---------------- ##
    15622205## Cache variables. ##
    1563 ## ---------------- ##
    1564 _ASBOX
     2206## ---------------- ##"
    15652207    echo
    15662208    # The following way of writing the cache mishandles newlines in values,
     
    15712213    *${as_nl}*)
    15722214      case $ac_var in #(
    1573       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1574 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2215      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2216$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15752217      esac
    15762218      case $ac_var in #(
    15772219      _ | IFS | as_nl) ;; #(
    1578       *) $as_unset $ac_var ;;
     2220      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2221      *) { eval $ac_var=; unset $ac_var;} ;;
    15792222      esac ;;
    15802223    esac
     
    15952238    echo
    15962239
    1597     cat <<\_ASBOX
    1598 ## ----------------- ##
     2240    $as_echo "## ----------------- ##
    15992241## Output variables. ##
    1600 ## ----------------- ##
    1601 _ASBOX
     2242## ----------------- ##"
    16022243    echo
    16032244    for ac_var in $ac_subst_vars
     
    16052246      eval ac_val=\$$ac_var
    16062247      case $ac_val in
    1607       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2248      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16082249      esac
    1609       echo "$ac_var='\''$ac_val'\''"
     2250      $as_echo "$ac_var='\''$ac_val'\''"
    16102251    done | sort
    16112252    echo
    16122253
    16132254    if test -n "$ac_subst_files"; then
    1614       cat <<\_ASBOX
    1615 ## ------------------- ##
     2255      $as_echo "## ------------------- ##
    16162256## File substitutions. ##
    1617 ## ------------------- ##
    1618 _ASBOX
     2257## ------------------- ##"
    16192258      echo
    16202259      for ac_var in $ac_subst_files
     
    16222261        eval ac_val=\$$ac_var
    16232262        case $ac_val in
    1624         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2263        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16252264        esac
    1626         echo "$ac_var='\''$ac_val'\''"
     2265        $as_echo "$ac_var='\''$ac_val'\''"
    16272266      done | sort
    16282267      echo
     
    16302269
    16312270    if test -s confdefs.h; then
    1632       cat <<\_ASBOX
    1633 ## ----------- ##
     2271      $as_echo "## ----------- ##
    16342272## confdefs.h. ##
    1635 ## ----------- ##
    1636 _ASBOX
     2273## ----------- ##"
    16372274      echo
    16382275      cat confdefs.h
     
    16402277    fi
    16412278    test "$ac_signal" != 0 &&
    1642       echo "$as_me: caught signal $ac_signal"
    1643     echo "$as_me: exit $exit_status"
     2279      $as_echo "$as_me: caught signal $ac_signal"
     2280    $as_echo "$as_me: exit $exit_status"
    16442281  } >&5
    16452282  rm -f core *.core core.conftest.* &&
     
    16482285' 0
    16492286for ac_signal in 1 2 13 15; do
    1650   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2287  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16512288done
    16522289ac_signal=0
     
    16552292rm -f -r conftest* confdefs.h
    16562293
     2294$as_echo "/* confdefs.h */" > confdefs.h
     2295
    16572296# Predefined preprocessor variables.
    16582297
     
    16612300_ACEOF
    16622301
    1663 
    16642302cat >>confdefs.h <<_ACEOF
    16652303#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    16662304_ACEOF
    16672305
    1668 
    16692306cat >>confdefs.h <<_ACEOF
    16702307#define PACKAGE_VERSION "$PACKAGE_VERSION"
    16712308_ACEOF
    16722309
    1673 
    16742310cat >>confdefs.h <<_ACEOF
    16752311#define PACKAGE_STRING "$PACKAGE_STRING"
    16762312_ACEOF
    16772313
    1678 
    16792314cat >>confdefs.h <<_ACEOF
    16802315#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    16812316_ACEOF
    16822317
     2318cat >>confdefs.h <<_ACEOF
     2319#define PACKAGE_URL "$PACKAGE_URL"
     2320_ACEOF
     2321
    16832322
    16842323# Let the site file select an alternate cache file if it wants to.
    1685 # Prefer explicitly selected file to automatically selected ones.
     2324# Prefer an explicitly selected file to automatically selected ones.
     2325ac_site_file1=NONE
     2326ac_site_file2=NONE
    16862327if test -n "$CONFIG_SITE"; then
    1687   set x "$CONFIG_SITE"
     2328  # We do not want a PATH search for config.site.
     2329  case $CONFIG_SITE in #((
     2330    -*)  ac_site_file1=./$CONFIG_SITE;;
     2331    */*) ac_site_file1=$CONFIG_SITE;;
     2332    *)   ac_site_file1=./$CONFIG_SITE;;
     2333  esac
    16882334elif test "x$prefix" != xNONE; then
    1689   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1690 else
    1691   set x "$ac_default_prefix/share/config.site" \
    1692         "$ac_default_prefix/etc/config.site"
    1693 fi
    1694 shift
    1695 for ac_site_file
     2335  ac_site_file1=$prefix/share/config.site
     2336  ac_site_file2=$prefix/etc/config.site
     2337else
     2338  ac_site_file1=$ac_default_prefix/share/config.site
     2339  ac_site_file2=$ac_default_prefix/etc/config.site
     2340fi
     2341for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    16962342do
    1697   if test -r "$ac_site_file"; then
    1698     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1699 echo "$as_me: loading site script $ac_site_file" >&6;}
     2343  test "x$ac_site_file" = xNONE && continue
     2344  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2345    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2346$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17002347    sed 's/^/| /' "$ac_site_file" >&5
    1701     . "$ac_site_file"
     2348    . "$ac_site_file" \
     2349      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2350$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2351as_fn_error $? "failed to load site script $ac_site_file
     2352See \`config.log' for more details" "$LINENO" 5; }
    17022353  fi
    17032354done
    17042355
    17052356if test -r "$cache_file"; then
    1706   # Some versions of bash will fail to source /dev/null (special
    1707   # files actually), so we avoid doing that.
    1708   if test -f "$cache_file"; then
    1709     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1710 echo "$as_me: loading cache $cache_file" >&6;}
     2357  # Some versions of bash will fail to source /dev/null (special files
     2358  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2359  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2360    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2361$as_echo "$as_me: loading cache $cache_file" >&6;}
    17112362    case $cache_file in
    17122363      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    17152366  fi
    17162367else
    1717   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1718 echo "$as_me: creating cache $cache_file" >&6;}
     2368  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2369$as_echo "$as_me: creating cache $cache_file" >&6;}
    17192370  >$cache_file
    17202371fi
     
    17302381  case $ac_old_set,$ac_new_set in
    17312382    set,)
    1732       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1733 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2383      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2384$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17342385      ac_cache_corrupted=: ;;
    17352386    ,set)
    1736       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1737 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2387      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2388$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17382389      ac_cache_corrupted=: ;;
    17392390    ,);;
    17402391    *)
    17412392      if test "x$ac_old_val" != "x$ac_new_val"; then
    1742         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1743 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1744         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1745 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1746         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1747 echo "$as_me:   current value: $ac_new_val" >&2;}
    1748         ac_cache_corrupted=:
     2393        # differences in whitespace do not lead to failure.
     2394        ac_old_val_w=`echo x $ac_old_val`
     2395        ac_new_val_w=`echo x $ac_new_val`
     2396        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2397          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2398$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2399          ac_cache_corrupted=:
     2400        else
     2401          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2402$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2403          eval $ac_var=\$ac_old_val
     2404        fi
     2405        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2406$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2407        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2408$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17492409      fi;;
    17502410  esac
     
    17522412  if test "$ac_new_set" = set; then
    17532413    case $ac_new_val in
    1754     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2414    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17552415    *) ac_arg=$ac_var=$ac_new_val ;;
    17562416    esac
    17572417    case " $ac_configure_args " in
    17582418      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1759       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2419      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17602420    esac
    17612421  fi
    17622422done
    17632423if $ac_cache_corrupted; then
    1764   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1765 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1766   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1767 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1768    { (exit 1); exit 1; }; }
    1769 fi
    1770 
    1771 
    1772 
    1773 
    1774 
    1775 
    1776 
    1777 
    1778 
    1779 
    1780 
    1781 
    1782 
    1783 
    1784 
    1785 
     2424  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2425$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2426  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2427$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2428  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2429fi
     2430## -------------------- ##
     2431## Main body of script. ##
     2432## -------------------- ##
    17862433
    17872434ac_ext=c
     
    18482495        # Handle Cygwin option *first*, before all other tests.
    18492496        # Check whether --enable-cygwin was given.
    1850 if test "${enable_cygwin+set}" = set; then
     2497if test "${enable_cygwin+set}" = set; then :
    18512498  enableval=$enable_cygwin;
    18522499fi
    18532500
    18542501        # Check whether --enable-x11 was given.
    1855 if test "${enable_x11+set}" = set; then
     2502if test "${enable_x11+set}" = set; then :
    18562503  enableval=$enable_x11;
    18572504fi
     
    19012548
    19022549# Check whether --enable-cairoext was given.
    1903 if test "${enable_cairoext+set}" = set; then
     2550if test "${enable_cairoext+set}" = set; then :
    19042551  enableval=$enable_cairoext;
    19052552fi
    19062553
    19072554# Check whether --enable-cairo was given.
    1908 if test "${enable_cairo+set}" = set; then
     2555if test "${enable_cairo+set}" = set; then :
    19092556  enableval=$enable_cairo;
    19102557fi
     
    19122559
    19132560if test x$enable_cairoext = xyes; then
    1914           cat >>confdefs.h <<\_ACEOF
    1915 #define FLTK_USE_CAIRO 1
    1916 _ACEOF
    1917 
    1918           cat >>confdefs.h <<\_ACEOF
    1919 #define FLTK_HAVE_CAIRO 1
    1920 _ACEOF
     2561          $as_echo "#define FLTK_USE_CAIRO 1" >>confdefs.h
     2562
     2563          $as_echo "#define FLTK_HAVE_CAIRO 1" >>confdefs.h
    19212564
    19222565                          CAIRODIR="cairo"
     
    19302573else
    19312574    if test x$enable_cairo = xyes; then
    1932           cat >>confdefs.h <<\_ACEOF
    1933 #define FLTK_HAVE_CAIRO 1
    1934 _ACEOF
     2575          $as_echo "#define FLTK_HAVE_CAIRO 1" >>confdefs.h
    19352576
    19362577                          CAIRODIR="cairo"
     
    19692610
    19702611# Check whether --enable-debug was given.
    1971 if test "${enable_debug+set}" = set; then
     2612if test "${enable_debug+set}" = set; then :
    19722613  enableval=$enable_debug;
    19732614fi
     
    19802621
    19812622# Check whether --enable-cp936 was given.
    1982 if test "${enable_cp936+set}" = set; then
     2623if test "${enable_cp936+set}" = set; then :
    19832624  enableval=$enable_cp936;
    19842625fi
     
    19902631
    19912632# Check whether --enable-gl was given.
    1992 if test "${enable_gl+set}" = set; then
     2633if test "${enable_gl+set}" = set; then :
    19932634  enableval=$enable_gl;
    19942635fi
     
    19962637
    19972638# Check whether --enable-shared was given.
    1998 if test "${enable_shared+set}" = set; then
     2639if test "${enable_shared+set}" = set; then :
    19992640  enableval=$enable_shared;
    20002641fi
     
    21132754            ;;
    21142755        *)
    2115             { echo "$as_me:$LINENO: WARNING: Shared libraries may not be supported.  Trying -shared option with compiler." >&5
    2116 echo "$as_me: WARNING: Shared libraries may not be supported.  Trying -shared option with compiler." >&2;}
     2756            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Shared libraries may not be supported.  Trying -shared option with compiler." >&5
     2757$as_echo "$as_me: WARNING: Shared libraries may not be supported.  Trying -shared option with compiler." >&2;}
    21172758            DSONAME="libfltk.so.$FL_API_VERSION"
    21182759            FLDSONAME="libfltk_forms.so.$FL_API_VERSION"
     
    21522793
    21532794# Check whether --enable-threads was given.
    2154 if test "${enable_threads+set}" = set; then
     2795if test "${enable_threads+set}" = set; then :
    21552796  enableval=$enable_threads;
    21562797fi
     
    21592800
    21602801# Check whether --with-optim was given.
    2161 if test "${with_optim+set}" = set; then
     2802if test "${with_optim+set}" = set; then :
    21622803  withval=$with_optim;
    21632804fi
     
    21662807
    21672808# Check whether --with-archflags was given.
    2168 if test "${with_archflags+set}" = set; then
     2809if test "${with_archflags+set}" = set; then :
    21692810  withval=$with_archflags; ARCHFLAGS="$withval"
    21702811fi
     
    21732814    Darwin*)
    21742815# QD is not supported anymore since 1.3
    2175         cat >>confdefs.h <<\_ACEOF
    2176 #define __APPLE_QUARTZ__ 1
    2177 _ACEOF
     2816        $as_echo "#define __APPLE_QUARTZ__ 1" >>confdefs.h
    21782817
    21792818        ;;
     
    21882827  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    21892828set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2192 if test "${ac_cv_prog_CC+set}" = set; then
    2193   echo $ECHO_N "(cached) $ECHO_C" >&6
     2829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2830$as_echo_n "checking for $ac_word... " >&6; }
     2831if ${ac_cv_prog_CC+:} false; then :
     2832  $as_echo_n "(cached) " >&6
    21942833else
    21952834  if test -n "$CC"; then
     
    22012840  IFS=$as_save_IFS
    22022841  test -z "$as_dir" && as_dir=.
    2203   for ac_exec_ext in '' $ac_executable_extensions; do
    2204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2842    for ac_exec_ext in '' $ac_executable_extensions; do
     2843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22052844    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2206     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22072846    break 2
    22082847  fi
    22092848done
    2210 done
     2849  done
    22112850IFS=$as_save_IFS
    22122851
     
    22152854CC=$ac_cv_prog_CC
    22162855if test -n "$CC"; then
    2217   { echo "$as_me:$LINENO: result: $CC" >&5
    2218 echo "${ECHO_T}$CC" >&6; }
    2219 else
    2220   { echo "$as_me:$LINENO: result: no" >&5
    2221 echo "${ECHO_T}no" >&6; }
     2856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2857$as_echo "$CC" >&6; }
     2858else
     2859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2860$as_echo "no" >&6; }
    22222861fi
    22232862
     
    22282867  # Extract the first word of "gcc", so it can be a program name with args.
    22292868set dummy gcc; ac_word=$2
    2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2233   echo $ECHO_N "(cached) $ECHO_C" >&6
     2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2870$as_echo_n "checking for $ac_word... " >&6; }
     2871if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2872  $as_echo_n "(cached) " >&6
    22342873else
    22352874  if test -n "$ac_ct_CC"; then
     
    22412880  IFS=$as_save_IFS
    22422881  test -z "$as_dir" && as_dir=.
    2243   for ac_exec_ext in '' $ac_executable_extensions; do
    2244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2882    for ac_exec_ext in '' $ac_executable_extensions; do
     2883  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22452884    ac_cv_prog_ac_ct_CC="gcc"
    2246     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2885    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22472886    break 2
    22482887  fi
    22492888done
    2250 done
     2889  done
    22512890IFS=$as_save_IFS
    22522891
     
    22552894ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22562895if test -n "$ac_ct_CC"; then
    2257   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2258 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2259 else
    2260   { echo "$as_me:$LINENO: result: no" >&5
    2261 echo "${ECHO_T}no" >&6; }
     2896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2897$as_echo "$ac_ct_CC" >&6; }
     2898else
     2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2900$as_echo "no" >&6; }
    22622901fi
    22632902
     
    22672906    case $cross_compiling:$ac_tool_warned in
    22682907yes:)
    2269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2270 whose name does not start with the host triplet.  If you think this
    2271 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2273 whose name does not start with the host triplet.  If you think this
    2274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2908{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22752910ac_tool_warned=yes ;;
    22762911esac
     
    22852920    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    22862921set dummy ${ac_tool_prefix}cc; ac_word=$2
    2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2289 if test "${ac_cv_prog_CC+set}" = set; then
    2290   echo $ECHO_N "(cached) $ECHO_C" >&6
     2922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2923$as_echo_n "checking for $ac_word... " >&6; }
     2924if ${ac_cv_prog_CC+:} false; then :
     2925  $as_echo_n "(cached) " >&6
    22912926else
    22922927  if test -n "$CC"; then
     
    22982933  IFS=$as_save_IFS
    22992934  test -z "$as_dir" && as_dir=.
    2300   for ac_exec_ext in '' $ac_executable_extensions; do
    2301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2935    for ac_exec_ext in '' $ac_executable_extensions; do
     2936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23022937    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23042939    break 2
    23052940  fi
    23062941done
    2307 done
     2942  done
    23082943IFS=$as_save_IFS
    23092944
     
    23122947CC=$ac_cv_prog_CC
    23132948if test -n "$CC"; then
    2314   { echo "$as_me:$LINENO: result: $CC" >&5
    2315 echo "${ECHO_T}$CC" >&6; }
    2316 else
    2317   { echo "$as_me:$LINENO: result: no" >&5
    2318 echo "${ECHO_T}no" >&6; }
     2949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2950$as_echo "$CC" >&6; }
     2951else
     2952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2953$as_echo "no" >&6; }
    23192954fi
    23202955
     
    23252960  # Extract the first word of "cc", so it can be a program name with args.
    23262961set dummy cc; ac_word=$2
    2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2329 if test "${ac_cv_prog_CC+set}" = set; then
    2330   echo $ECHO_N "(cached) $ECHO_C" >&6
     2962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2963$as_echo_n "checking for $ac_word... " >&6; }
     2964if ${ac_cv_prog_CC+:} false; then :
     2965  $as_echo_n "(cached) " >&6
    23312966else
    23322967  if test -n "$CC"; then
     
    23392974  IFS=$as_save_IFS
    23402975  test -z "$as_dir" && as_dir=.
    2341   for ac_exec_ext in '' $ac_executable_extensions; do
    2342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2976    for ac_exec_ext in '' $ac_executable_extensions; do
     2977  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    23432978    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    23442979       ac_prog_rejected=yes
     
    23462981     fi
    23472982    ac_cv_prog_CC="cc"
    2348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23492984    break 2
    23502985  fi
    23512986done
    2352 done
     2987  done
    23532988IFS=$as_save_IFS
    23542989
     
    23693004CC=$ac_cv_prog_CC
    23703005if test -n "$CC"; then
    2371   { echo "$as_me:$LINENO: result: $CC" >&5
    2372 echo "${ECHO_T}$CC" >&6; }
    2373 else
    2374   { echo "$as_me:$LINENO: result: no" >&5
    2375 echo "${ECHO_T}no" >&6; }
     3006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3007$as_echo "$CC" >&6; }
     3008else
     3009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3010$as_echo "no" >&6; }
    23763011fi
    23773012
     
    23843019    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    23853020set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2388 if test "${ac_cv_prog_CC+set}" = set; then
    2389   echo $ECHO_N "(cached) $ECHO_C" >&6
     3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3022$as_echo_n "checking for $ac_word... " >&6; }
     3023if ${ac_cv_prog_CC+:} false; then :
     3024  $as_echo_n "(cached) " >&6
    23903025else
    23913026  if test -n "$CC"; then
     
    23973032  IFS=$as_save_IFS
    23983033  test -z "$as_dir" && as_dir=.
    2399   for ac_exec_ext in '' $ac_executable_extensions; do
    2400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3034    for ac_exec_ext in '' $ac_executable_extensions; do
     3035  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24013036    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24033038    break 2
    24043039  fi
    24053040done
    2406 done
     3041  done
    24073042IFS=$as_save_IFS
    24083043
     
    24113046CC=$ac_cv_prog_CC
    24123047if test -n "$CC"; then
    2413   { echo "$as_me:$LINENO: result: $CC" >&5
    2414 echo "${ECHO_T}$CC" >&6; }
    2415 else
    2416   { echo "$as_me:$LINENO: result: no" >&5
    2417 echo "${ECHO_T}no" >&6; }
     3048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3049$as_echo "$CC" >&6; }
     3050else
     3051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3052$as_echo "no" >&6; }
    24183053fi
    24193054
     
    24283063  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24293064set dummy $ac_prog; ac_word=$2
    2430 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2433   echo $ECHO_N "(cached) $ECHO_C" >&6
     3065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3066$as_echo_n "checking for $ac_word... " >&6; }
     3067if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3068  $as_echo_n "(cached) " >&6
    24343069else
    24353070  if test -n "$ac_ct_CC"; then
     
    24413076  IFS=$as_save_IFS
    24423077  test -z "$as_dir" && as_dir=.
    2443   for ac_exec_ext in '' $ac_executable_extensions; do
    2444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3078    for ac_exec_ext in '' $ac_executable_extensions; do
     3079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24453080    ac_cv_prog_ac_ct_CC="$ac_prog"
    2446     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24473082    break 2
    24483083  fi
    24493084done
    2450 done
     3085  done
    24513086IFS=$as_save_IFS
    24523087
     
    24553090ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24563091if test -n "$ac_ct_CC"; then
    2457   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2458 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2459 else
    2460   { echo "$as_me:$LINENO: result: no" >&5
    2461 echo "${ECHO_T}no" >&6; }
     3092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3093$as_echo "$ac_ct_CC" >&6; }
     3094else
     3095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3096$as_echo "no" >&6; }
    24623097fi
    24633098
     
    24713106    case $cross_compiling:$ac_tool_warned in
    24723107yes:)
    2473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2474 whose name does not start with the host triplet.  If you think this
    2475 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2477 whose name does not start with the host triplet.  If you think this
    2478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3108{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3109$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    24793110ac_tool_warned=yes ;;
    24803111esac
     
    24863117
    24873118
    2488 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2489 See \`config.log' for more details." >&5
    2490 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2491 See \`config.log' for more details." >&2;}
    2492    { (exit 1); exit 1; }; }
     3119test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3120$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3121as_fn_error $? "no acceptable C compiler found in \$PATH
     3122See \`config.log' for more details" "$LINENO" 5; }
    24933123
    24943124# Provide some information about the compiler.
    2495 echo "$as_me:$LINENO: checking for C compiler version" >&5
    2496 ac_compiler=`set X $ac_compile; echo $2`
    2497 { (ac_try="$ac_compiler --version >&5"
     3125$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     3126set X $ac_compile
     3127ac_compiler=$2
     3128for ac_option in --version -v -V -qversion; do
     3129  { { ac_try="$ac_compiler $ac_option >&5"
    24983130case "(($ac_try" in
    24993131  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25003132  *) ac_try_echo=$ac_try;;
    25013133esac
    2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2503   (eval "$ac_compiler --version >&5") 2>&5
     3134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3135$as_echo "$ac_try_echo"; } >&5
     3136  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    25043137  ac_status=$?
    2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2506   (exit $ac_status); }
    2507 { (ac_try="$ac_compiler -v >&5"
     3138  if test -s conftest.err; then
     3139    sed '10a\
     3140... rest of stderr output deleted ...
     3141         10q' conftest.err >conftest.er1
     3142    cat conftest.er1 >&5
     3143  fi
     3144  rm -f conftest.er1 conftest.err
     3145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3146  test $ac_status = 0; }
     3147done
     3148
     3149cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3150/* end confdefs.h.  */
     3151
     3152int
     3153main ()
     3154{
     3155
     3156  ;
     3157  return 0;
     3158}
     3159_ACEOF
     3160ac_clean_files_save=$ac_clean_files
     3161ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     3162# Try to create an executable without -o first, disregard a.out.
     3163# It will help us diagnose broken compilers, and finding out an intuition
     3164# of exeext.
     3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3166$as_echo_n "checking whether the C compiler works... " >&6; }
     3167ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3168
     3169# The possible output files:
     3170ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3171
     3172ac_rmfiles=
     3173for ac_file in $ac_files
     3174do
     3175  case $ac_file in
     3176    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3177    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3178  esac
     3179done
     3180rm -f $ac_rmfiles
     3181
     3182if { { ac_try="$ac_link_default"
    25083183case "(($ac_try" in
    25093184  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25103185  *) ac_try_echo=$ac_try;;
    25113186esac
    2512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2513   (eval "$ac_compiler -v >&5") 2>&5
    2514   ac_status=$?
    2515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2516   (exit $ac_status); }
    2517 { (ac_try="$ac_compiler -V >&5"
    2518 case "(($ac_try" in
    2519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2520   *) ac_try_echo=$ac_try;;
    2521 esac
    2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2523   (eval "$ac_compiler -V >&5") 2>&5
    2524   ac_status=$?
    2525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2526   (exit $ac_status); }
    2527 
    2528 cat >conftest.$ac_ext <<_ACEOF
    2529 /* confdefs.h.  */
    2530 _ACEOF
    2531 cat confdefs.h >>conftest.$ac_ext
    2532 cat >>conftest.$ac_ext <<_ACEOF
    2533 /* end confdefs.h.  */
    2534 
    2535 int
    2536 main ()
    2537 {
    2538 
    2539   ;
    2540   return 0;
    2541 }
    2542 _ACEOF
    2543 ac_clean_files_save=$ac_clean_files
    2544 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2545 # Try to create an executable without -o first, disregard a.out.
    2546 # It will help us diagnose broken compilers, and finding out an intuition
    2547 # of exeext.
    2548 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2549 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    2550 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2551 #
    2552 # List of possible output files, starting from the most likely.
    2553 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2554 # only as a last resort.  b.out is created by i960 compilers.
    2555 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2556 #
    2557 # The IRIX 6 linker writes into existing files which may not be
    2558 # executable, retaining their permissions.  Remove them first so a
    2559 # subsequent execution test works.
    2560 ac_rmfiles=
    2561 for ac_file in $ac_files
    2562 do
    2563   case $ac_file in
    2564     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2565     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2566   esac
    2567 done
    2568 rm -f $ac_rmfiles
    2569 
    2570 if { (ac_try="$ac_link_default"
    2571 case "(($ac_try" in
    2572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2573   *) ac_try_echo=$ac_try;;
    2574 esac
    2575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3187eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3188$as_echo "$ac_try_echo"; } >&5
    25763189  (eval "$ac_link_default") 2>&5
    25773190  ac_status=$?
    2578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2579   (exit $ac_status); }; then
     3191  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3192  test $ac_status = 0; }; then :
    25803193  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    25813194# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    25873200  test -f "$ac_file" || continue
    25883201  case $ac_file in
    2589     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     3202    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    25903203        ;;
    25913204    [ab].out )
     
    25943207        break;;
    25953208    *.* )
    2596         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3209        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    25973210        then :; else
    25983211           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    26133226  ac_file=''
    26143227fi
    2615 
    2616 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2617 echo "${ECHO_T}$ac_file" >&6; }
    2618 if test -z "$ac_file"; then
    2619   echo "$as_me: failed program was:" >&5
     3228if test -z "$ac_file"; then :
     3229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3230$as_echo "no" >&6; }
     3231$as_echo "$as_me: failed program was:" >&5
    26203232sed 's/^/| /' conftest.$ac_ext >&5
    26213233
    2622 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2623 See \`config.log' for more details." >&5
    2624 echo "$as_me: error: C compiler cannot create executables
    2625 See \`config.log' for more details." >&2;}
    2626    { (exit 77); exit 77; }; }
    2627 fi
    2628 
     3234{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3236as_fn_error 77 "C compiler cannot create executables
     3237See \`config.log' for more details" "$LINENO" 5; }
     3238else
     3239  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3240$as_echo "yes" >&6; }
     3241fi
     3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3243$as_echo_n "checking for C compiler default output file name... " >&6; }
     3244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3245$as_echo "$ac_file" >&6; }
    26293246ac_exeext=$ac_cv_exeext
    26303247
    2631 # Check that the compiler produces executables we can run.  If not, either
    2632 # the compiler is broken, or we cross compile.
    2633 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2634 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    2635 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2636 # If not cross compiling, check that we can run a simple program.
    2637 if test "$cross_compiling" != yes; then
    2638   if { ac_try='./$ac_file'
    2639   { (case "(($ac_try" in
    2640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2641   *) ac_try_echo=$ac_try;;
    2642 esac
    2643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2644   (eval "$ac_try") 2>&5
    2645   ac_status=$?
    2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2647   (exit $ac_status); }; }; then
    2648     cross_compiling=no
    2649   else
    2650     if test "$cross_compiling" = maybe; then
    2651         cross_compiling=yes
    2652     else
    2653         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2654 If you meant to cross compile, use \`--host'.
    2655 See \`config.log' for more details." >&5
    2656 echo "$as_me: error: cannot run C compiled programs.
    2657 If you meant to cross compile, use \`--host'.
    2658 See \`config.log' for more details." >&2;}
    2659    { (exit 1); exit 1; }; }
    2660     fi
    2661   fi
    2662 fi
    2663 { echo "$as_me:$LINENO: result: yes" >&5
    2664 echo "${ECHO_T}yes" >&6; }
    2665 
    2666 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     3248rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    26673249ac_clean_files=$ac_clean_files_save
    2668 # Check that the compiler produces executables we can run.  If not, either
    2669 # the compiler is broken, or we cross compile.
    2670 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2671 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2672 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2673 echo "${ECHO_T}$cross_compiling" >&6; }
    2674 
    2675 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2676 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2677 if { (ac_try="$ac_link"
     3250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     3251$as_echo_n "checking for suffix of executables... " >&6; }
     3252if { { ac_try="$ac_link"
    26783253case "(($ac_try" in
    26793254  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    26803255  *) ac_try_echo=$ac_try;;
    26813256esac
    2682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3257eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3258$as_echo "$ac_try_echo"; } >&5
    26833259  (eval "$ac_link") 2>&5
    26843260  ac_status=$?
    2685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2686   (exit $ac_status); }; then
     3261  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3262  test $ac_status = 0; }; then :
    26873263  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    26883264# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    26923268  test -f "$ac_file" || continue
    26933269  case $ac_file in
    2694     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     3270    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    26953271    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    26963272          break;;
     
    26993275done
    27003276else
    2701   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2702 See \`config.log' for more details." >&5
    2703 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2704 See \`config.log' for more details." >&2;}
    2705    { (exit 1); exit 1; }; }
    2706 fi
    2707 
    2708 rm -f conftest$ac_cv_exeext
    2709 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2710 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     3277  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3279as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3280See \`config.log' for more details" "$LINENO" 5; }
     3281fi
     3282rm -f conftest conftest$ac_cv_exeext
     3283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3284$as_echo "$ac_cv_exeext" >&6; }
    27113285
    27123286rm -f conftest.$ac_ext
    27133287EXEEXT=$ac_cv_exeext
    27143288ac_exeext=$EXEEXT
    2715 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2716 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    2717 if test "${ac_cv_objext+set}" = set; then
    2718   echo $ECHO_N "(cached) $ECHO_C" >&6
    2719 else
    2720   cat >conftest.$ac_ext <<_ACEOF
    2721 /* confdefs.h.  */
    2722 _ACEOF
    2723 cat confdefs.h >>conftest.$ac_ext
    2724 cat >>conftest.$ac_ext <<_ACEOF
     3289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27253290/* end confdefs.h.  */
    2726 
     3291#include <stdio.h>
    27273292int
    27283293main ()
    27293294{
     3295FILE *f = fopen ("conftest.out", "w");
     3296 return ferror (f) || fclose (f) != 0;
    27303297
    27313298  ;
     
    27333300}
    27343301_ACEOF
    2735 rm -f conftest.o conftest.obj
    2736 if { (ac_try="$ac_compile"
     3302ac_clean_files="$ac_clean_files conftest.out"
     3303# Check that the compiler produces executables we can run.  If not, either
     3304# the compiler is broken, or we cross compile.
     3305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3306$as_echo_n "checking whether we are cross compiling... " >&6; }
     3307if test "$cross_compiling" != yes; then
     3308  { { ac_try="$ac_link"
    27373309case "(($ac_try" in
    27383310  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27393311  *) ac_try_echo=$ac_try;;
    27403312esac
    2741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3313eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3314$as_echo "$ac_try_echo"; } >&5
     3315  (eval "$ac_link") 2>&5
     3316  ac_status=$?
     3317  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3318  test $ac_status = 0; }
     3319  if { ac_try='./conftest$ac_cv_exeext'
     3320  { { case "(($ac_try" in
     3321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3322  *) ac_try_echo=$ac_try;;
     3323esac
     3324eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3325$as_echo "$ac_try_echo"; } >&5
     3326  (eval "$ac_try") 2>&5
     3327  ac_status=$?
     3328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3329  test $ac_status = 0; }; }; then
     3330    cross_compiling=no
     3331  else
     3332    if test "$cross_compiling" = maybe; then
     3333        cross_compiling=yes
     3334    else
     3335        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3337as_fn_error $? "cannot run C compiled programs.
     3338If you meant to cross compile, use \`--host'.
     3339See \`config.log' for more details" "$LINENO" 5; }
     3340    fi
     3341  fi
     3342fi
     3343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3344$as_echo "$cross_compiling" >&6; }
     3345
     3346rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3347ac_clean_files=$ac_clean_files_save
     3348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3349$as_echo_n "checking for suffix of object files... " >&6; }
     3350if ${ac_cv_objext+:} false; then :
     3351  $as_echo_n "(cached) " >&6
     3352else
     3353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3354/* end confdefs.h.  */
     3355
     3356int
     3357main ()
     3358{
     3359
     3360  ;
     3361  return 0;
     3362}
     3363_ACEOF
     3364rm -f conftest.o conftest.obj
     3365if { { ac_try="$ac_compile"
     3366case "(($ac_try" in
     3367  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3368  *) ac_try_echo=$ac_try;;
     3369esac
     3370eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3371$as_echo "$ac_try_echo"; } >&5
    27423372  (eval "$ac_compile") 2>&5
    27433373  ac_status=$?
    2744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2745   (exit $ac_status); }; then
     3374  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3375  test $ac_status = 0; }; then :
    27463376  for ac_file in conftest.o conftest.obj conftest.*; do
    27473377  test -f "$ac_file" || continue;
    27483378  case $ac_file in
    2749     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     3379    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    27503380    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    27513381       break;;
     
    27533383done
    27543384else
    2755   echo "$as_me: failed program was:" >&5
     3385  $as_echo "$as_me: failed program was:" >&5
    27563386sed 's/^/| /' conftest.$ac_ext >&5
    27573387
    2758 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2759 See \`config.log' for more details." >&5
    2760 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2761 See \`config.log' for more details." >&2;}
    2762    { (exit 1); exit 1; }; }
    2763 fi
    2764 
     3388{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3389$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3390as_fn_error $? "cannot compute suffix of object files: cannot compile
     3391See \`config.log' for more details" "$LINENO" 5; }
     3392fi
    27653393rm -f conftest.$ac_cv_objext conftest.$ac_ext
    27663394fi
    2767 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2768 echo "${ECHO_T}$ac_cv_objext" >&6; }
     3395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3396$as_echo "$ac_cv_objext" >&6; }
    27693397OBJEXT=$ac_cv_objext
    27703398ac_objext=$OBJEXT
    2771 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2772 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    2773 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2774   echo $ECHO_N "(cached) $ECHO_C" >&6
    2775 else
    2776   cat >conftest.$ac_ext <<_ACEOF
    2777 /* confdefs.h.  */
    2778 _ACEOF
    2779 cat confdefs.h >>conftest.$ac_ext
    2780 cat >>conftest.$ac_ext <<_ACEOF
     3399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3400$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3401if ${ac_cv_c_compiler_gnu+:} false; then :
     3402  $as_echo_n "(cached) " >&6
     3403else
     3404  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27813405/* end confdefs.h.  */
    27823406
     
    27923416}
    27933417_ACEOF
    2794 rm -f conftest.$ac_objext
    2795 if { (ac_try="$ac_compile"
    2796 case "(($ac_try" in
    2797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2798   *) ac_try_echo=$ac_try;;
    2799 esac
    2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2801   (eval "$ac_compile") 2>conftest.er1
    2802   ac_status=$?
    2803   grep -v '^ *+' conftest.er1 >conftest.err
    2804   rm -f conftest.er1
    2805   cat conftest.err >&5
    2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2807   (exit $ac_status); } && {
    2808          test -z "$ac_c_werror_flag" ||
    2809          test ! -s conftest.err
    2810        } && test -s conftest.$ac_objext; then
     3418if ac_fn_c_try_compile "$LINENO"; then :
    28113419  ac_compiler_gnu=yes
    28123420else
    2813   echo "$as_me: failed program was:" >&5
    2814 sed 's/^/| /' conftest.$ac_ext >&5
    2815 
    2816         ac_compiler_gnu=no
    2817 fi
    2818 
     3421  ac_compiler_gnu=no
     3422fi
    28193423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28203424ac_cv_c_compiler_gnu=$ac_compiler_gnu
    28213425
    28223426fi
    2823 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2824 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    2825 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3428$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3429if test $ac_compiler_gnu = yes; then
     3430  GCC=yes
     3431else
     3432  GCC=
     3433fi
    28263434ac_test_CFLAGS=${CFLAGS+set}
    28273435ac_save_CFLAGS=$CFLAGS
    2828 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2829 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    2830 if test "${ac_cv_prog_cc_g+set}" = set; then
    2831   echo $ECHO_N "(cached) $ECHO_C" >&6
     3436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3437$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3438if ${ac_cv_prog_cc_g+:} false; then :
     3439  $as_echo_n "(cached) " >&6
    28323440else
    28333441  ac_save_c_werror_flag=$ac_c_werror_flag
     
    28353443   ac_cv_prog_cc_g=no
    28363444   CFLAGS="-g"
    2837    cat >conftest.$ac_ext <<_ACEOF
    2838 /* confdefs.h.  */
    2839 _ACEOF
    2840 cat confdefs.h >>conftest.$ac_ext
    2841 cat >>conftest.$ac_ext <<_ACEOF
     3445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28423446/* end confdefs.h.  */
    28433447
     
    28503454}
    28513455_ACEOF
    2852 rm -f conftest.$ac_objext
    2853 if { (ac_try="$ac_compile"
    2854 case "(($ac_try" in
    2855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2856   *) ac_try_echo=$ac_try;;
    2857 esac
    2858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2859   (eval "$ac_compile") 2>conftest.er1
    2860   ac_status=$?
    2861   grep -v '^ *+' conftest.er1 >conftest.err
    2862   rm -f conftest.er1
    2863   cat conftest.err >&5
    2864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2865   (exit $ac_status); } && {
    2866          test -z "$ac_c_werror_flag" ||
    2867          test ! -s conftest.err
    2868        } && test -s conftest.$ac_objext; then
     3456if ac_fn_c_try_compile "$LINENO"; then :
    28693457  ac_cv_prog_cc_g=yes
    28703458else
    2871   echo "$as_me: failed program was:" >&5
    2872 sed 's/^/| /' conftest.$ac_ext >&5
    2873 
    2874         CFLAGS=""
    2875       cat >conftest.$ac_ext <<_ACEOF
    2876 /* confdefs.h.  */
    2877 _ACEOF
    2878 cat confdefs.h >>conftest.$ac_ext
    2879 cat >>conftest.$ac_ext <<_ACEOF
     3459  CFLAGS=""
     3460      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28803461/* end confdefs.h.  */
    28813462
     
    28883469}
    28893470_ACEOF
    2890 rm -f conftest.$ac_objext
    2891 if { (ac_try="$ac_compile"
    2892 case "(($ac_try" in
    2893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2894   *) ac_try_echo=$ac_try;;
    2895 esac
    2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2897   (eval "$ac_compile") 2>conftest.er1
    2898   ac_status=$?
    2899   grep -v '^ *+' conftest.er1 >conftest.err
    2900   rm -f conftest.er1
    2901   cat conftest.err >&5
    2902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2903   (exit $ac_status); } && {
    2904          test -z "$ac_c_werror_flag" ||
    2905          test ! -s conftest.err
    2906        } && test -s conftest.$ac_objext; then
    2907   :
    2908 else
    2909   echo "$as_me: failed program was:" >&5
    2910 sed 's/^/| /' conftest.$ac_ext >&5
    2911 
    2912         ac_c_werror_flag=$ac_save_c_werror_flag
     3471if ac_fn_c_try_compile "$LINENO"; then :
     3472
     3473else
     3474  ac_c_werror_flag=$ac_save_c_werror_flag
    29133475         CFLAGS="-g"
    2914          cat >conftest.$ac_ext <<_ACEOF
    2915 /* confdefs.h.  */
    2916 _ACEOF
    2917 cat confdefs.h >>conftest.$ac_ext
    2918 cat >>conftest.$ac_ext <<_ACEOF
     3476         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29193477/* end confdefs.h.  */
    29203478
     
    29273485}
    29283486_ACEOF
    2929 rm -f conftest.$ac_objext
    2930 if { (ac_try="$ac_compile"
    2931 case "(($ac_try" in
    2932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2933   *) ac_try_echo=$ac_try;;
    2934 esac
    2935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2936   (eval "$ac_compile") 2>conftest.er1
    2937   ac_status=$?
    2938   grep -v '^ *+' conftest.er1 >conftest.err
    2939   rm -f conftest.er1
    2940   cat conftest.err >&5
    2941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2942   (exit $ac_status); } && {
    2943          test -z "$ac_c_werror_flag" ||
    2944          test ! -s conftest.err
    2945        } && test -s conftest.$ac_objext; then
     3487if ac_fn_c_try_compile "$LINENO"; then :
    29463488  ac_cv_prog_cc_g=yes
    2947 else
    2948   echo "$as_me: failed program was:" >&5
    2949 sed 's/^/| /' conftest.$ac_ext >&5
    2950 
    2951 
    2952 fi
    2953 
     3489fi
    29543490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    29553491fi
    2956 
    29573492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    29583493fi
    2959 
    29603494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    29613495   ac_c_werror_flag=$ac_save_c_werror_flag
    29623496fi
    2963 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2964 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     3497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3498$as_echo "$ac_cv_prog_cc_g" >&6; }
    29653499if test "$ac_test_CFLAGS" = set; then
    29663500  CFLAGS=$ac_save_CFLAGS
     
    29783512  fi
    29793513fi
    2980 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2981 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2982 if test "${ac_cv_prog_cc_c89+set}" = set; then
    2983   echo $ECHO_N "(cached) $ECHO_C" >&6
     3514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3515$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3516if ${ac_cv_prog_cc_c89+:} false; then :
     3517  $as_echo_n "(cached) " >&6
    29843518else
    29853519  ac_cv_prog_cc_c89=no
    29863520ac_save_CC=$CC
    2987 cat >conftest.$ac_ext <<_ACEOF
    2988 /* confdefs.h.  */
    2989 _ACEOF
    2990 cat confdefs.h >>conftest.$ac_ext
    2991 cat >>conftest.$ac_ext <<_ACEOF
     3521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29923522/* end confdefs.h.  */
    29933523#include <stdarg.h>
    29943524#include <stdio.h>
    2995 #include <sys/types.h>
    2996 #include <sys/stat.h>
     3525struct stat;
    29973526/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    29983527struct buf { int x; };
     
    30463575do
    30473576  CC="$ac_save_CC $ac_arg"
    3048   rm -f conftest.$ac_objext
    3049 if { (ac_try="$ac_compile"
    3050 case "(($ac_try" in
    3051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3052   *) ac_try_echo=$ac_try;;
    3053 esac
    3054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3055   (eval "$ac_compile") 2>conftest.er1
    3056   ac_status=$?
    3057   grep -v '^ *+' conftest.er1 >conftest.err
    3058   rm -f conftest.er1
    3059   cat conftest.err >&5
    3060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3061   (exit $ac_status); } && {
    3062          test -z "$ac_c_werror_flag" ||
    3063          test ! -s conftest.err
    3064        } && test -s conftest.$ac_objext; then
     3577  if ac_fn_c_try_compile "$LINENO"; then :
    30653578  ac_cv_prog_cc_c89=$ac_arg
    3066 else
    3067   echo "$as_me: failed program was:" >&5
    3068 sed 's/^/| /' conftest.$ac_ext >&5
    3069 
    3070 
    3071 fi
    3072 
     3579fi
    30733580rm -f core conftest.err conftest.$ac_objext
    30743581  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    30813588case "x$ac_cv_prog_cc_c89" in
    30823589  x)
    3083     { echo "$as_me:$LINENO: result: none needed" >&5
    3084 echo "${ECHO_T}none needed" >&6; } ;;
     3590    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3591$as_echo "none needed" >&6; } ;;
    30853592  xno)
    3086     { echo "$as_me:$LINENO: result: unsupported" >&5
    3087 echo "${ECHO_T}unsupported" >&6; } ;;
     3593    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3594$as_echo "unsupported" >&6; } ;;
    30883595  *)
    30893596    CC="$CC $ac_cv_prog_cc_c89"
    3090     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    3091 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3597    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3598$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    30923599esac
    3093 
     3600if test "x$ac_cv_prog_cc_c89" != xno; then :
     3601
     3602fi
    30943603
    30953604ac_ext=c
     
    31133622    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    31143623set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3117 if test "${ac_cv_prog_CXX+set}" = set; then
    3118   echo $ECHO_N "(cached) $ECHO_C" >&6
     3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3625$as_echo_n "checking for $ac_word... " >&6; }
     3626if ${ac_cv_prog_CXX+:} false; then :
     3627  $as_echo_n "(cached) " >&6
    31193628else
    31203629  if test -n "$CXX"; then
     
    31263635  IFS=$as_save_IFS
    31273636  test -z "$as_dir" && as_dir=.
    3128   for ac_exec_ext in '' $ac_executable_extensions; do
    3129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3637    for ac_exec_ext in '' $ac_executable_extensions; do
     3638  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31303639    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3131     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3640    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    31323641    break 2
    31333642  fi
    31343643done
    3135 done
     3644  done
    31363645IFS=$as_save_IFS
    31373646
     
    31403649CXX=$ac_cv_prog_CXX
    31413650if test -n "$CXX"; then
    3142   { echo "$as_me:$LINENO: result: $CXX" >&5
    3143 echo "${ECHO_T}$CXX" >&6; }
    3144 else
    3145   { echo "$as_me:$LINENO: result: no" >&5
    3146 echo "${ECHO_T}no" >&6; }
     3651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3652$as_echo "$CXX" >&6; }
     3653else
     3654  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3655$as_echo "no" >&6; }
    31473656fi
    31483657
     
    31573666  # Extract the first word of "$ac_prog", so it can be a program name with args.
    31583667set dummy $ac_prog; ac_word=$2
    3159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3161 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3162   echo $ECHO_N "(cached) $ECHO_C" >&6
     3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3669$as_echo_n "checking for $ac_word... " >&6; }
     3670if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3671  $as_echo_n "(cached) " >&6
    31633672else
    31643673  if test -n "$ac_ct_CXX"; then
     
    31703679  IFS=$as_save_IFS
    31713680  test -z "$as_dir" && as_dir=.
    3172   for ac_exec_ext in '' $ac_executable_extensions; do
    3173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3681    for ac_exec_ext in '' $ac_executable_extensions; do
     3682  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    31743683    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3175     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3684    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    31763685    break 2
    31773686  fi
    31783687done
    3179 done
     3688  done
    31803689IFS=$as_save_IFS
    31813690
     
    31843693ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    31853694if test -n "$ac_ct_CXX"; then
    3186   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3187 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    3188 else
    3189   { echo "$as_me:$LINENO: result: no" >&5
    3190 echo "${ECHO_T}no" >&6; }
     3695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3696$as_echo "$ac_ct_CXX" >&6; }
     3697else
     3698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3699$as_echo "no" >&6; }
    31913700fi
    31923701
     
    32003709    case $cross_compiling:$ac_tool_warned in
    32013710yes:)
    3202 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3203 whose name does not start with the host triplet.  If you think this
    3204 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3205 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3206 whose name does not start with the host triplet.  If you think this
    3207 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3711{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3712$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    32083713ac_tool_warned=yes ;;
    32093714esac
     
    32153720fi
    32163721# Provide some information about the compiler.
    3217 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3218 ac_compiler=`set X $ac_compile; echo $2`
    3219 { (ac_try="$ac_compiler --version >&5"
     3722$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3723set X $ac_compile
     3724ac_compiler=$2
     3725for ac_option in --version -v -V -qversion; do
     3726  { { ac_try="$ac_compiler $ac_option >&5"
    32203727case "(($ac_try" in
    32213728  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32223729  *) ac_try_echo=$ac_try;;
    32233730esac
    3224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3225   (eval "$ac_compiler --version >&5") 2>&5
     3731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3732$as_echo "$ac_try_echo"; } >&5
     3733  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    32263734  ac_status=$?
    3227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3228   (exit $ac_status); }
    3229 { (ac_try="$ac_compiler -v >&5"
    3230 case "(($ac_try" in
    3231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3232   *) ac_try_echo=$ac_try;;
    3233 esac
    3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3235   (eval "$ac_compiler -v >&5") 2>&5
    3236   ac_status=$?
    3237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3238   (exit $ac_status); }
    3239 { (ac_try="$ac_compiler -V >&5"
    3240 case "(($ac_try" in
    3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3242   *) ac_try_echo=$ac_try;;
    3243 esac
    3244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3245   (eval "$ac_compiler -V >&5") 2>&5
    3246   ac_status=$?
    3247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3248   (exit $ac_status); }
    3249 
    3250 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3251 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    3252 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3253   echo $ECHO_N "(cached) $ECHO_C" >&6
    3254 else
    3255   cat >conftest.$ac_ext <<_ACEOF
    3256 /* confdefs.h.  */
    3257 _ACEOF
    3258 cat confdefs.h >>conftest.$ac_ext
    3259 cat >>conftest.$ac_ext <<_ACEOF
     3735  if test -s conftest.err; then
     3736    sed '10a\
     3737... rest of stderr output deleted ...
     3738         10q' conftest.err >conftest.er1
     3739    cat conftest.er1 >&5
     3740  fi
     3741  rm -f conftest.er1 conftest.err
     3742  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3743  test $ac_status = 0; }
     3744done
     3745
     3746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3747$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3748if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3749  $as_echo_n "(cached) " >&6
     3750else
     3751  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32603752/* end confdefs.h.  */
    32613753
     
    32713763}
    32723764_ACEOF
    3273 rm -f conftest.$ac_objext
    3274 if { (ac_try="$ac_compile"
    3275 case "(($ac_try" in
    3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3277   *) ac_try_echo=$ac_try;;
    3278 esac
    3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3280   (eval "$ac_compile") 2>conftest.er1
    3281   ac_status=$?
    3282   grep -v '^ *+' conftest.er1 >conftest.err
    3283   rm -f conftest.er1
    3284   cat conftest.err >&5
    3285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3286   (exit $ac_status); } && {
    3287          test -z "$ac_cxx_werror_flag" ||
    3288          test ! -s conftest.err
    3289        } && test -s conftest.$ac_objext; then
     3765if ac_fn_cxx_try_compile "$LINENO"; then :
    32903766  ac_compiler_gnu=yes
    32913767else
    3292   echo "$as_me: failed program was:" >&5
    3293 sed 's/^/| /' conftest.$ac_ext >&5
    3294 
    3295         ac_compiler_gnu=no
    3296 fi
    3297 
     3768  ac_compiler_gnu=no
     3769fi
    32983770rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32993771ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    33003772
    33013773fi
    3302 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3303 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    3304 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3775$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3776if test $ac_compiler_gnu = yes; then
     3777  GXX=yes
     3778else
     3779  GXX=
     3780fi
    33053781ac_test_CXXFLAGS=${CXXFLAGS+set}
    33063782ac_save_CXXFLAGS=$CXXFLAGS
    3307 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3308 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    3309 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3310   echo $ECHO_N "(cached) $ECHO_C" >&6
     3783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3784$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3785if ${ac_cv_prog_cxx_g+:} false; then :
     3786  $as_echo_n "(cached) " >&6
    33113787else
    33123788  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    33143790   ac_cv_prog_cxx_g=no
    33153791   CXXFLAGS="-g"
    3316    cat >conftest.$ac_ext <<_ACEOF
    3317 /* confdefs.h.  */
    3318 _ACEOF
    3319 cat confdefs.h >>conftest.$ac_ext
    3320 cat >>conftest.$ac_ext <<_ACEOF
     3792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33213793/* end confdefs.h.  */
    33223794
     
    33293801}
    33303802_ACEOF
    3331 rm -f conftest.$ac_objext
    3332 if { (ac_try="$ac_compile"
    3333 case "(($ac_try" in
    3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3335   *) ac_try_echo=$ac_try;;
    3336 esac
    3337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3338   (eval "$ac_compile") 2>conftest.er1
    3339   ac_status=$?
    3340   grep -v '^ *+' conftest.er1 >conftest.err
    3341   rm -f conftest.er1
    3342   cat conftest.err >&5
    3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3344   (exit $ac_status); } && {
    3345          test -z "$ac_cxx_werror_flag" ||
    3346          test ! -s conftest.err
    3347        } && test -s conftest.$ac_objext; then
     3803if ac_fn_cxx_try_compile "$LINENO"; then :
    33483804  ac_cv_prog_cxx_g=yes
    33493805else
    3350   echo "$as_me: failed program was:" >&5
    3351 sed 's/^/| /' conftest.$ac_ext >&5
    3352 
    3353         CXXFLAGS=""
    3354       cat >conftest.$ac_ext <<_ACEOF
    3355 /* confdefs.h.  */
    3356 _ACEOF
    3357 cat confdefs.h >>conftest.$ac_ext
    3358 cat >>conftest.$ac_ext <<_ACEOF
     3806  CXXFLAGS=""
     3807      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33593808/* end confdefs.h.  */
    33603809
     
    33673816}
    33683817_ACEOF
    3369 rm -f conftest.$ac_objext
    3370 if { (ac_try="$ac_compile"
    3371 case "(($ac_try" in
    3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3373   *) ac_try_echo=$ac_try;;
    3374 esac
    3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3376   (eval "$ac_compile") 2>conftest.er1
    3377   ac_status=$?
    3378   grep -v '^ *+' conftest.er1 >conftest.err
    3379   rm -f conftest.er1
    3380   cat conftest.err >&5
    3381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3382   (exit $ac_status); } && {
    3383          test -z "$ac_cxx_werror_flag" ||
    3384          test ! -s conftest.err
    3385        } && test -s conftest.$ac_objext; then
    3386   :
    3387 else
    3388   echo "$as_me: failed program was:" >&5
    3389 sed 's/^/| /' conftest.$ac_ext >&5
    3390 
    3391         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3818if ac_fn_cxx_try_compile "$LINENO"; then :
     3819
     3820else
     3821  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    33923822         CXXFLAGS="-g"
    3393          cat >conftest.$ac_ext <<_ACEOF
    3394 /* confdefs.h.  */
    3395 _ACEOF
    3396 cat confdefs.h >>conftest.$ac_ext
    3397 cat >>conftest.$ac_ext <<_ACEOF
     3823         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33983824/* end confdefs.h.  */
    33993825
     
    34063832}
    34073833_ACEOF
    3408 rm -f conftest.$ac_objext
    3409 if { (ac_try="$ac_compile"
    3410 case "(($ac_try" in
    3411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3412   *) ac_try_echo=$ac_try;;
    3413 esac
    3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3415   (eval "$ac_compile") 2>conftest.er1
    3416   ac_status=$?
    3417   grep -v '^ *+' conftest.er1 >conftest.err
    3418   rm -f conftest.er1
    3419   cat conftest.err >&5
    3420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3421   (exit $ac_status); } && {
    3422          test -z "$ac_cxx_werror_flag" ||
    3423          test ! -s conftest.err
    3424        } && test -s conftest.$ac_objext; then
     3834if ac_fn_cxx_try_compile "$LINENO"; then :
    34253835  ac_cv_prog_cxx_g=yes
    3426 else
    3427   echo "$as_me: failed program was:" >&5
    3428 sed 's/^/| /' conftest.$ac_ext >&5
    3429 
    3430 
    3431 fi
    3432 
     3836fi
    34333837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    34343838fi
    3435 
    34363839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    34373840fi
    3438 
    34393841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    34403842   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    34413843fi
    3442 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3443 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3845$as_echo "$ac_cv_prog_cxx_g" >&6; }
    34443846if test "$ac_test_CXXFLAGS" = set; then
    34453847  CXXFLAGS=$ac_save_CXXFLAGS
     
    34803882done
    34813883if test -z "$ac_aux_dir"; then
    3482   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    3483 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    3484    { (exit 1); exit 1; }; }
     3884  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    34853885fi
    34863886
     
    35073907# OS/2's system install, which has a completely different semantic
    35083908# ./install, which can be erroneously created by make from ./install.sh.
    3509 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3510 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     3909# Reject install programs that cannot install multiple files.
     3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3911$as_echo_n "checking for a BSD-compatible install... " >&6; }
    35113912if test -z "$INSTALL"; then
    3512 if test "${ac_cv_path_install+set}" = set; then
    3513   echo $ECHO_N "(cached) $ECHO_C" >&6
     3913if ${ac_cv_path_install+:} false; then :
     3914  $as_echo_n "(cached) " >&6
    35143915else
    35153916  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    35183919  IFS=$as_save_IFS
    35193920  test -z "$as_dir" && as_dir=.
    3520   # Account for people who put trailing slashes in PATH elements.
    3521 case $as_dir/ in
    3522   ./ | .// | /cC/* | \
     3921    # Account for people who put trailing slashes in PATH elements.
     3922case $as_dir/ in #((
     3923  ./ | .// | /[cC]/* | \
    35233924  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3524   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3925  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    35253926  /usr/ucb/* ) ;;
    35263927  *)
     
    35303931    for ac_prog in ginstall scoinst install; do
    35313932      for ac_exec_ext in '' $ac_executable_extensions; do
    3532         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     3933        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    35333934          if test $ac_prog = install &&
    35343935            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    35403941            :
    35413942          else
    3542             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3543             break 3
     3943            rm -rf conftest.one conftest.two conftest.dir
     3944            echo one > conftest.one
     3945            echo two > conftest.two
     3946            mkdir conftest.dir
     3947            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3948              test -s conftest.one && test -s conftest.two &&
     3949              test -s conftest.dir/conftest.one &&
     3950              test -s conftest.dir/conftest.two
     3951            then
     3952              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3953              break 3
     3954            fi
    35443955          fi
    35453956        fi
     
    35483959    ;;
    35493960esac
    3550 done
     3961
     3962  done
    35513963IFS=$as_save_IFS
    35523964
     3965rm -rf conftest.one conftest.two conftest.dir
    35533966
    35543967fi
     
    35633976  fi
    35643977fi
    3565 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3566 echo "${ECHO_T}$INSTALL" >&6; }
     3978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3979$as_echo "$INSTALL" >&6; }
    35673980
    35683981# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    35853998# Extract the first word of "nroff", so it can be a program name with args.
    35863999set dummy nroff; ac_word=$2
    3587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3589 if test "${ac_cv_path_NROFF+set}" = set; then
    3590   echo $ECHO_N "(cached) $ECHO_C" >&6
     4000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4001$as_echo_n "checking for $ac_word... " >&6; }
     4002if ${ac_cv_path_NROFF+:} false; then :
     4003  $as_echo_n "(cached) " >&6
    35914004else
    35924005  case $NROFF in
     
    36004013  IFS=$as_save_IFS
    36014014  test -z "$as_dir" && as_dir=.
    3602   for ac_exec_ext in '' $ac_executable_extensions; do
    3603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4015    for ac_exec_ext in '' $ac_executable_extensions; do
     4016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36044017    ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
    3605     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36064019    break 2
    36074020  fi
    36084021done
    3609 done
     4022  done
    36104023IFS=$as_save_IFS
    36114024
     
    36154028NROFF=$ac_cv_path_NROFF
    36164029if test -n "$NROFF"; then
    3617   { echo "$as_me:$LINENO: result: $NROFF" >&5
    3618 echo "${ECHO_T}$NROFF" >&6; }
    3619 else
    3620   { echo "$as_me:$LINENO: result: no" >&5
    3621 echo "${ECHO_T}no" >&6; }
     4030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
     4031$as_echo "$NROFF" >&6; }
     4032else
     4033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4034$as_echo "no" >&6; }
    36224035fi
    36234036
     
    36274040    # Extract the first word of "groff", so it can be a program name with args.
    36284041set dummy groff; ac_word=$2
    3629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3631 if test "${ac_cv_path_GROFF+set}" = set; then
    3632   echo $ECHO_N "(cached) $ECHO_C" >&6
     4042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4043$as_echo_n "checking for $ac_word... " >&6; }
     4044if ${ac_cv_path_GROFF+:} false; then :
     4045  $as_echo_n "(cached) " >&6
    36334046else
    36344047  case $GROFF in
     
    36424055  IFS=$as_save_IFS
    36434056  test -z "$as_dir" && as_dir=.
    3644   for ac_exec_ext in '' $ac_executable_extensions; do
    3645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4057    for ac_exec_ext in '' $ac_executable_extensions; do
     4058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36464059    ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
    3647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36484061    break 2
    36494062  fi
    36504063done
    3651 done
     4064  done
    36524065IFS=$as_save_IFS
    36534066
     
    36574070GROFF=$ac_cv_path_GROFF
    36584071if test -n "$GROFF"; then
    3659   { echo "$as_me:$LINENO: result: $GROFF" >&5
    3660 echo "${ECHO_T}$GROFF" >&6; }
    3661 else
    3662   { echo "$as_me:$LINENO: result: no" >&5
    3663 echo "${ECHO_T}no" >&6; }
     4072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5
     4073$as_echo "$GROFF" >&6; }
     4074else
     4075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4076$as_echo "no" >&6; }
    36644077fi
    36654078
     
    36734086# Extract the first word of "htmldoc", so it can be a program name with args.
    36744087set dummy htmldoc; ac_word=$2
    3675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3677 if test "${ac_cv_path_HTMLDOC+set}" = set; then
    3678   echo $ECHO_N "(cached) $ECHO_C" >&6
     4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4089$as_echo_n "checking for $ac_word... " >&6; }
     4090if ${ac_cv_path_HTMLDOC+:} false; then :
     4091  $as_echo_n "(cached) " >&6
    36794092else
    36804093  case $HTMLDOC in
     
    36884101  IFS=$as_save_IFS
    36894102  test -z "$as_dir" && as_dir=.
    3690   for ac_exec_ext in '' $ac_executable_extensions; do
    3691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4103    for ac_exec_ext in '' $ac_executable_extensions; do
     4104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36924105    ac_cv_path_HTMLDOC="$as_dir/$ac_word$ac_exec_ext"
    3693     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36944107    break 2
    36954108  fi
    36964109done
    3697 done
     4110  done
    36984111IFS=$as_save_IFS
    36994112
     
    37034116HTMLDOC=$ac_cv_path_HTMLDOC
    37044117if test -n "$HTMLDOC"; then
    3705   { echo "$as_me:$LINENO: result: $HTMLDOC" >&5
    3706 echo "${ECHO_T}$HTMLDOC" >&6; }
    3707 else
    3708   { echo "$as_me:$LINENO: result: no" >&5
    3709 echo "${ECHO_T}no" >&6; }
     4118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HTMLDOC" >&5
     4119$as_echo "$HTMLDOC" >&6; }
     4120else
     4121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4122$as_echo "no" >&6; }
    37104123fi
    37114124
     
    37134126# Extract the first word of "doxygen", so it can be a program name with args.
    37144127set dummy doxygen; ac_word=$2
    3715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3717 if test "${ac_cv_path_DOXYDOC+set}" = set; then
    3718   echo $ECHO_N "(cached) $ECHO_C" >&6
     4128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4129$as_echo_n "checking for $ac_word... " >&6; }
     4130if ${ac_cv_path_DOXYDOC+:} false; then :
     4131  $as_echo_n "(cached) " >&6
    37194132else
    37204133  case $DOXYDOC in
     
    37284141  IFS=$as_save_IFS
    37294142  test -z "$as_dir" && as_dir=.
    3730   for ac_exec_ext in '' $ac_executable_extensions; do
    3731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4143    for ac_exec_ext in '' $ac_executable_extensions; do
     4144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37324145    ac_cv_path_DOXYDOC="$as_dir/$ac_word$ac_exec_ext"
    3733     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37344147    break 2
    37354148  fi
    37364149done
    3737 done
     4150  done
    37384151IFS=$as_save_IFS
    37394152
     
    37434156DOXYDOC=$ac_cv_path_DOXYDOC
    37444157if test -n "$DOXYDOC"; then
    3745   { echo "$as_me:$LINENO: result: $DOXYDOC" >&5
    3746 echo "${ECHO_T}$DOXYDOC" >&6; }
    3747 else
    3748   { echo "$as_me:$LINENO: result: no" >&5
    3749 echo "${ECHO_T}no" >&6; }
     4158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYDOC" >&5
     4159$as_echo "$DOXYDOC" >&6; }
     4160else
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4162$as_echo "no" >&6; }
    37504163fi
    37514164
     
    37554168  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    37564169set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3759 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3760   echo $ECHO_N "(cached) $ECHO_C" >&6
     4170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4171$as_echo_n "checking for $ac_word... " >&6; }
     4172if ${ac_cv_prog_RANLIB+:} false; then :
     4173  $as_echo_n "(cached) " >&6
    37614174else
    37624175  if test -n "$RANLIB"; then
     
    37684181  IFS=$as_save_IFS
    37694182  test -z "$as_dir" && as_dir=.
    3770   for ac_exec_ext in '' $ac_executable_extensions; do
    3771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4183    for ac_exec_ext in '' $ac_executable_extensions; do
     4184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37724185    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3773     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37744187    break 2
    37754188  fi
    37764189done
    3777 done
     4190  done
    37784191IFS=$as_save_IFS
    37794192
     
    37824195RANLIB=$ac_cv_prog_RANLIB
    37834196if test -n "$RANLIB"; then
    3784   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    3785 echo "${ECHO_T}$RANLIB" >&6; }
    3786 else
    3787   { echo "$as_me:$LINENO: result: no" >&5
    3788 echo "${ECHO_T}no" >&6; }
     4197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4198$as_echo "$RANLIB" >&6; }
     4199else
     4200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4201$as_echo "no" >&6; }
    37894202fi
    37904203
     
    37954208  # Extract the first word of "ranlib", so it can be a program name with args.
    37964209set dummy ranlib; ac_word=$2
    3797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3799 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3800   echo $ECHO_N "(cached) $ECHO_C" >&6
     4210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4211$as_echo_n "checking for $ac_word... " >&6; }
     4212if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4213  $as_echo_n "(cached) " >&6
    38014214else
    38024215  if test -n "$ac_ct_RANLIB"; then
     
    38084221  IFS=$as_save_IFS
    38094222  test -z "$as_dir" && as_dir=.
    3810   for ac_exec_ext in '' $ac_executable_extensions; do
    3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4223    for ac_exec_ext in '' $ac_executable_extensions; do
     4224  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38124225    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3813     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4226    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38144227    break 2
    38154228  fi
    38164229done
    3817 done
     4230  done
    38184231IFS=$as_save_IFS
    38194232
     
    38224235ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    38234236if test -n "$ac_ct_RANLIB"; then
    3824   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3825 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    3826 else
    3827   { echo "$as_me:$LINENO: result: no" >&5
    3828 echo "${ECHO_T}no" >&6; }
     4237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4238$as_echo "$ac_ct_RANLIB" >&6; }
     4239else
     4240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4241$as_echo "no" >&6; }
    38294242fi
    38304243
     
    38344247    case $cross_compiling:$ac_tool_warned in
    38354248yes:)
    3836 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3837 whose name does not start with the host triplet.  If you think this
    3838 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3839 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3840 whose name does not start with the host triplet.  If you think this
    3841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4249{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4250$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    38424251ac_tool_warned=yes ;;
    38434252esac
     
    38514260  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
    38524261set dummy ${ac_tool_prefix}ar; ac_word=$2
    3853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3855 if test "${ac_cv_path_AR+set}" = set; then
    3856   echo $ECHO_N "(cached) $ECHO_C" >&6
     4262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4263$as_echo_n "checking for $ac_word... " >&6; }
     4264if ${ac_cv_path_AR+:} false; then :
     4265  $as_echo_n "(cached) " >&6
    38574266else
    38584267  case $AR in
     
    38664275  IFS=$as_save_IFS
    38674276  test -z "$as_dir" && as_dir=.
    3868   for ac_exec_ext in '' $ac_executable_extensions; do
    3869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4277    for ac_exec_ext in '' $ac_executable_extensions; do
     4278  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38704279    ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
    3871     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38724281    break 2
    38734282  fi
    38744283done
    3875 done
     4284  done
    38764285IFS=$as_save_IFS
    38774286
     
    38814290AR=$ac_cv_path_AR
    38824291if test -n "$AR"; then
    3883   { echo "$as_me:$LINENO: result: $AR" >&5
    3884 echo "${ECHO_T}$AR" >&6; }
    3885 else
    3886   { echo "$as_me:$LINENO: result: no" >&5
    3887 echo "${ECHO_T}no" >&6; }
     4292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4293$as_echo "$AR" >&6; }
     4294else
     4295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4296$as_echo "no" >&6; }
    38884297fi
    38894298
     
    38944303  # Extract the first word of "ar", so it can be a program name with args.
    38954304set dummy ar; ac_word=$2
    3896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3898 if test "${ac_cv_path_ac_pt_AR+set}" = set; then
    3899   echo $ECHO_N "(cached) $ECHO_C" >&6
     4305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4306$as_echo_n "checking for $ac_word... " >&6; }
     4307if ${ac_cv_path_ac_pt_AR+:} false; then :
     4308  $as_echo_n "(cached) " >&6
    39004309else
    39014310  case $ac_pt_AR in
     
    39094318  IFS=$as_save_IFS
    39104319  test -z "$as_dir" && as_dir=.
    3911   for ac_exec_ext in '' $ac_executable_extensions; do
    3912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4320    for ac_exec_ext in '' $ac_executable_extensions; do
     4321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39134322    ac_cv_path_ac_pt_AR="$as_dir/$ac_word$ac_exec_ext"
    3914     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39154324    break 2
    39164325  fi
    39174326done
    3918 done
     4327  done
    39194328IFS=$as_save_IFS
    39204329
     
    39244333ac_pt_AR=$ac_cv_path_ac_pt_AR
    39254334if test -n "$ac_pt_AR"; then
    3926   { echo "$as_me:$LINENO: result: $ac_pt_AR" >&5
    3927 echo "${ECHO_T}$ac_pt_AR" >&6; }
    3928 else
    3929   { echo "$as_me:$LINENO: result: no" >&5
    3930 echo "${ECHO_T}no" >&6; }
     4335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
     4336$as_echo "$ac_pt_AR" >&6; }
     4337else
     4338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4339$as_echo "no" >&6; }
    39314340fi
    39324341
     
    39364345    case $cross_compiling:$ac_tool_warned in
    39374346yes:)
    3938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3939 whose name does not start with the host triplet.  If you think this
    3940 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3942 whose name does not start with the host triplet.  If you think this
    3943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4347{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4348$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39444349ac_tool_warned=yes ;;
    39454350esac
     
    39524357
    39534358if test "x$AR" = "x:"; then
    3954     { { echo "$as_me:$LINENO: error: Configure could not find the library archiver" >&5
    3955 echo "$as_me: error: Configure could not find the library archiver" >&2;}
    3956    { (exit aborting.); exit aborting.; }; }
     4359    as_fn_error aborting. "Configure could not find the library archiver" "$LINENO" 5
    39574360fi
    39584361
     
    39684371  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
    39694372set dummy ${ac_tool_prefix}windres; ac_word=$2
    3970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3972 if test "${ac_cv_path_RC+set}" = set; then
    3973   echo $ECHO_N "(cached) $ECHO_C" >&6
     4373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4374$as_echo_n "checking for $ac_word... " >&6; }
     4375if ${ac_cv_path_RC+:} false; then :
     4376  $as_echo_n "(cached) " >&6
    39744377else
    39754378  case $RC in
     
    39834386  IFS=$as_save_IFS
    39844387  test -z "$as_dir" && as_dir=.
    3985   for ac_exec_ext in '' $ac_executable_extensions; do
    3986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4388    for ac_exec_ext in '' $ac_executable_extensions; do
     4389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39874390    ac_cv_path_RC="$as_dir/$ac_word$ac_exec_ext"
    3988     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39894392    break 2
    39904393  fi
    39914394done
    3992 done
     4395  done
    39934396IFS=$as_save_IFS
    39944397
     
    39984401RC=$ac_cv_path_RC
    39994402if test -n "$RC"; then
    4000   { echo "$as_me:$LINENO: result: $RC" >&5
    4001 echo "${ECHO_T}$RC" >&6; }
    4002 else
    4003   { echo "$as_me:$LINENO: result: no" >&5
    4004 echo "${ECHO_T}no" >&6; }
     4403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
     4404$as_echo "$RC" >&6; }
     4405else
     4406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4407$as_echo "no" >&6; }
    40054408fi
    40064409
     
    40114414  # Extract the first word of "windres", so it can be a program name with args.
    40124415set dummy windres; ac_word=$2
    4013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    4014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    4015 if test "${ac_cv_path_ac_pt_RC+set}" = set; then
    4016   echo $ECHO_N "(cached) $ECHO_C" >&6
     4416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4417$as_echo_n "checking for $ac_word... " >&6; }
     4418if ${ac_cv_path_ac_pt_RC+:} false; then :
     4419  $as_echo_n "(cached) " >&6
    40174420else
    40184421  case $ac_pt_RC in
     
    40264429  IFS=$as_save_IFS
    40274430  test -z "$as_dir" && as_dir=.
    4028   for ac_exec_ext in '' $ac_executable_extensions; do
    4029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4431    for ac_exec_ext in '' $ac_executable_extensions; do
     4432  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    40304433    ac_cv_path_ac_pt_RC="$as_dir/$ac_word$ac_exec_ext"
    4031     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    40324435    break 2
    40334436  fi
    40344437done
    4035 done
     4438  done
    40364439IFS=$as_save_IFS
    40374440
     
    40414444ac_pt_RC=$ac_cv_path_ac_pt_RC
    40424445if test -n "$ac_pt_RC"; then
    4043   { echo "$as_me:$LINENO: result: $ac_pt_RC" >&5
    4044 echo "${ECHO_T}$ac_pt_RC" >&6; }
    4045 else
    4046   { echo "$as_me:$LINENO: result: no" >&5
    4047 echo "${ECHO_T}no" >&6; }
     4446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RC" >&5
     4447$as_echo "$ac_pt_RC" >&6; }
     4448else
     4449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4450$as_echo "no" >&6; }
    40484451fi
    40494452
     
    40534456    case $cross_compiling:$ac_tool_warned in
    40544457yes:)
    4055 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4056 whose name does not start with the host triplet.  If you think this
    4057 configuration is useful to you, please write to autoconf@gnu.org." >&5
    4058 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4059 whose name does not start with the host triplet.  If you think this
    4060 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    40614460ac_tool_warned=yes ;;
    40624461esac
     
    40754474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    40764475ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4077 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    4078 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     4476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     4477$as_echo_n "checking how to run the C preprocessor... " >&6; }
    40794478# On Suns, sometimes $CPP names a directory.
    40804479if test -n "$CPP" && test -d "$CPP"; then
     
    40824481fi
    40834482if test -z "$CPP"; then
    4084   if test "${ac_cv_prog_CPP+set}" = set; then
    4085   echo $ECHO_N "(cached) $ECHO_C" >&6
     4483  if ${ac_cv_prog_CPP+:} false; then :
     4484  $as_echo_n "(cached) " >&6
    40864485else
    40874486      # Double quotes because CPP needs to be expanded
     
    40974496  # On the NeXT, cc -E runs the code through the compiler's parser,
    40984497  # not just through cpp. "Syntax error" is here to catch this case.
    4099   cat >conftest.$ac_ext <<_ACEOF
    4100 /* confdefs.h.  */
    4101 _ACEOF
    4102 cat confdefs.h >>conftest.$ac_ext
    4103 cat >>conftest.$ac_ext <<_ACEOF
     4498  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41044499/* end confdefs.h.  */
    41054500#ifdef __STDC__
     
    41104505                     Syntax error
    41114506_ACEOF
    4112 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4113 case "(($ac_try" in
    4114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4115   *) ac_try_echo=$ac_try;;
    4116 esac
    4117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4118   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4119   ac_status=$?
    4120   grep -v '^ *+' conftest.er1 >conftest.err
    4121   rm -f conftest.er1
    4122   cat conftest.err >&5
    4123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4124   (exit $ac_status); } >/dev/null && {
    4125          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4126          test ! -s conftest.err
    4127        }; then
    4128   :
    4129 else
    4130   echo "$as_me: failed program was:" >&5
    4131 sed 's/^/| /' conftest.$ac_ext >&5
    4132 
     4507if ac_fn_c_try_cpp "$LINENO"; then :
     4508
     4509else
    41334510  # Broken: fails on valid input.
    41344511continue
    41354512fi
    4136 
    4137 rm -f conftest.err conftest.$ac_ext
     4513rm -f conftest.err conftest.i conftest.$ac_ext
    41384514
    41394515  # OK, works on sane cases.  Now check whether nonexistent headers
    41404516  # can be detected and how.
    4141   cat >conftest.$ac_ext <<_ACEOF
    4142 /* confdefs.h.  */
    4143 _ACEOF
    4144 cat confdefs.h >>conftest.$ac_ext
    4145 cat >>conftest.$ac_ext <<_ACEOF
     4517  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41464518/* end confdefs.h.  */
    41474519#include <ac_nonexistent.h>
    41484520_ACEOF
    4149 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4150 case "(($ac_try" in
    4151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4152   *) ac_try_echo=$ac_try;;
    4153 esac
    4154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4155   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4156   ac_status=$?
    4157   grep -v '^ *+' conftest.er1 >conftest.err
    4158   rm -f conftest.er1
    4159   cat conftest.err >&5
    4160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4161   (exit $ac_status); } >/dev/null && {
    4162          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4163          test ! -s conftest.err
    4164        }; then
     4521if ac_fn_c_try_cpp "$LINENO"; then :
    41654522  # Broken: success on invalid input.
    41664523continue
    41674524else
    4168   echo "$as_me: failed program was:" >&5
    4169 sed 's/^/| /' conftest.$ac_ext >&5
    4170 
    41714525  # Passes both tests.
    41724526ac_preproc_ok=:
    41734527break
    41744528fi
    4175 
    4176 rm -f conftest.err conftest.$ac_ext
     4529rm -f conftest.err conftest.i conftest.$ac_ext
    41774530
    41784531done
    41794532# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4180 rm -f conftest.err conftest.$ac_ext
    4181 if $ac_preproc_ok; then
     4533rm -f conftest.i conftest.err conftest.$ac_ext
     4534if $ac_preproc_ok; then :
    41824535  break
    41834536fi
     
    41914544  ac_cv_prog_CPP=$CPP
    41924545fi
    4193 { echo "$as_me:$LINENO: result: $CPP" >&5
    4194 echo "${ECHO_T}$CPP" >&6; }
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4547$as_echo "$CPP" >&6; }
    41954548ac_preproc_ok=false
    41964549for ac_c_preproc_warn_flag in '' yes
     
    42024555  # On the NeXT, cc -E runs the code through the compiler's parser,
    42034556  # not just through cpp. "Syntax error" is here to catch this case.
    4204   cat >conftest.$ac_ext <<_ACEOF
    4205 /* confdefs.h.  */
    4206 _ACEOF
    4207 cat confdefs.h >>conftest.$ac_ext
    4208 cat >>conftest.$ac_ext <<_ACEOF
     4557  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42094558/* end confdefs.h.  */
    42104559#ifdef __STDC__
     
    42154564                     Syntax error
    42164565_ACEOF
    4217 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4218 case "(($ac_try" in
    4219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4220   *) ac_try_echo=$ac_try;;
    4221 esac
    4222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4223   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4224   ac_status=$?
    4225   grep -v '^ *+' conftest.er1 >conftest.err
    4226   rm -f conftest.er1
    4227   cat conftest.err >&5
    4228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4229   (exit $ac_status); } >/dev/null && {
    4230          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4231          test ! -s conftest.err
    4232        }; then
    4233   :
    4234 else
    4235   echo "$as_me: failed program was:" >&5
    4236 sed 's/^/| /' conftest.$ac_ext >&5
    4237 
     4566if ac_fn_c_try_cpp "$LINENO"; then :
     4567
     4568else
    42384569  # Broken: fails on valid input.
    42394570continue
    42404571fi
    4241 
    4242 rm -f conftest.err conftest.$ac_ext
     4572rm -f conftest.err conftest.i conftest.$ac_ext
    42434573
    42444574  # OK, works on sane cases.  Now check whether nonexistent headers
    42454575  # can be detected and how.
    4246   cat >conftest.$ac_ext <<_ACEOF
    4247 /* confdefs.h.  */
    4248 _ACEOF
    4249 cat confdefs.h >>conftest.$ac_ext
    4250 cat >>conftest.$ac_ext <<_ACEOF
     4576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42514577/* end confdefs.h.  */
    42524578#include <ac_nonexistent.h>
    42534579_ACEOF
    4254 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4255 case "(($ac_try" in
    4256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4257   *) ac_try_echo=$ac_try;;
    4258 esac
    4259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4260   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4261   ac_status=$?
    4262   grep -v '^ *+' conftest.er1 >conftest.err
    4263   rm -f conftest.er1
    4264   cat conftest.err >&5
    4265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4266   (exit $ac_status); } >/dev/null && {
    4267          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4268          test ! -s conftest.err
    4269        }; then
     4580if ac_fn_c_try_cpp "$LINENO"; then :
    42704581  # Broken: success on invalid input.
    42714582continue
    42724583else
    4273   echo "$as_me: failed program was:" >&5
    4274 sed 's/^/| /' conftest.$ac_ext >&5
    4275 
    42764584  # Passes both tests.
    42774585ac_preproc_ok=:
    42784586break
    42794587fi
    4280 
    4281 rm -f conftest.err conftest.$ac_ext
     4588rm -f conftest.err conftest.i conftest.$ac_ext
    42824589
    42834590done
    42844591# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4285 rm -f conftest.err conftest.$ac_ext
    4286 if $ac_preproc_ok; then
    4287   :
    4288 else
    4289   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4290 See \`config.log' for more details." >&5
    4291 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4292 See \`config.log' for more details." >&2;}
    4293    { (exit 1); exit 1; }; }
     4592rm -f conftest.i conftest.err conftest.$ac_ext
     4593if $ac_preproc_ok; then :
     4594
     4595else
     4596  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4598as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4599See \`config.log' for more details" "$LINENO" 5; }
    42944600fi
    42954601
     
    43014607
    43024608
    4303 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    4304 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    4305 if test "${ac_cv_path_GREP+set}" = set; then
    4306   echo $ECHO_N "(cached) $ECHO_C" >&6
    4307 else
    4308   # Extract the first word of "grep ggrep" to use in msg output
    4309 if test -z "$GREP"; then
    4310 set dummy grep ggrep; ac_prog_name=$2
    4311 if test "${ac_cv_path_GREP+set}" = set; then
    4312   echo $ECHO_N "(cached) $ECHO_C" >&6
    4313 else
     4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4610$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4611if ${ac_cv_path_GREP+:} false; then :
     4612  $as_echo_n "(cached) " >&6
     4613else
     4614  if test -z "$GREP"; then
    43144615  ac_path_GREP_found=false
    4315 # Loop through the user's path and test for each of PROGNAME-LIST
    4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4616  # Loop through the user's path and test for each of PROGNAME-LIST
     4617  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    43174618for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    43184619do
    43194620  IFS=$as_save_IFS
    43204621  test -z "$as_dir" && as_dir=.
    4321   for ac_prog in grep ggrep; do
    4322   for ac_exec_ext in '' $ac_executable_extensions; do
    4323     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4324     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4325     # Check for GNU ac_path_GREP and select it if it is found.
     4622    for ac_prog in grep ggrep; do
     4623    for ac_exec_ext in '' $ac_executable_extensions; do
     4624      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4625      as_fn_executable_p "$ac_path_GREP" || continue
     4626# Check for GNU ac_path_GREP and select it if it is found.
    43264627  # Check for GNU $ac_path_GREP
    43274628case `"$ac_path_GREP" --version 2>&1` in
     
    43304631*)
    43314632  ac_count=0
    4332   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4633  $as_echo_n 0123456789 >"conftest.in"
    43334634  while :
    43344635  do
     
    43364637    mv "conftest.tmp" "conftest.in"
    43374638    cp "conftest.in" "conftest.nl"
    4338     echo 'GREP' >> "conftest.nl"
     4639    $as_echo 'GREP' >> "conftest.nl"
    43394640    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43404641    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4341     ac_count=`expr $ac_count + 1`
     4642    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43424643    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    43434644      # Best one so far, save it but keep looking for a better one
     
    43514652esac
    43524653
    4353 
    4354     $ac_path_GREP_found && break 3
     4654      $ac_path_GREP_found && break 3
     4655    done
    43554656  done
    4356 done
    4357 
    4358 done
     4657  done
    43594658IFS=$as_save_IFS
    4360 
    4361 
    4362 fi
    4363 
    4364 GREP="$ac_cv_path_GREP"
    4365 if test -z "$GREP"; then
    4366   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4367 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4368    { (exit 1); exit 1; }; }
    4369 fi
    4370 
     4659  if test -z "$ac_cv_path_GREP"; then
     4660    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4661  fi
    43714662else
    43724663  ac_cv_path_GREP=$GREP
    43734664fi
    43744665
    4375 
    4376 fi
    4377 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4378 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4666fi
     4667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4668$as_echo "$ac_cv_path_GREP" >&6; }
    43794669 GREP="$ac_cv_path_GREP"
    43804670
    43814671
    4382 { echo "$as_me:$LINENO: checking for egrep" >&5
    4383 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    4384 if test "${ac_cv_path_EGREP+set}" = set; then
    4385   echo $ECHO_N "(cached) $ECHO_C" >&6
     4672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4673$as_echo_n "checking for egrep... " >&6; }
     4674if ${ac_cv_path_EGREP+:} false; then :
     4675  $as_echo_n "(cached) " >&6
    43864676else
    43874677  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    43884678   then ac_cv_path_EGREP="$GREP -E"
    43894679   else
    4390      # Extract the first word of "egrep" to use in msg output
    4391 if test -z "$EGREP"; then
    4392 set dummy egrep; ac_prog_name=$2
    4393 if test "${ac_cv_path_EGREP+set}" = set; then
    4394   echo $ECHO_N "(cached) $ECHO_C" >&6
    4395 else
     4680     if test -z "$EGREP"; then
    43964681  ac_path_EGREP_found=false
    4397 # Loop through the user's path and test for each of PROGNAME-LIST
    4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4682  # Loop through the user's path and test for each of PROGNAME-LIST
     4683  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    43994684for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    44004685do
    44014686  IFS=$as_save_IFS
    44024687  test -z "$as_dir" && as_dir=.
    4403   for ac_prog in egrep; do
    4404   for ac_exec_ext in '' $ac_executable_extensions; do
    4405     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4406     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4407     # Check for GNU ac_path_EGREP and select it if it is found.
     4688    for ac_prog in egrep; do
     4689    for ac_exec_ext in '' $ac_executable_extensions; do
     4690      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4691      as_fn_executable_p "$ac_path_EGREP" || continue
     4692# Check for GNU ac_path_EGREP and select it if it is found.
    44084693  # Check for GNU $ac_path_EGREP
    44094694case `"$ac_path_EGREP" --version 2>&1` in
     
    44124697*)
    44134698  ac_count=0
    4414   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4699  $as_echo_n 0123456789 >"conftest.in"
    44154700  while :
    44164701  do
     
    44184703    mv "conftest.tmp" "conftest.in"
    44194704    cp "conftest.in" "conftest.nl"
    4420     echo 'EGREP' >> "conftest.nl"
     4705    $as_echo 'EGREP' >> "conftest.nl"
    44214706    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    44224707    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4423     ac_count=`expr $ac_count + 1`
     4708    as_fn_arith $ac_count + 1 && ac_count=$as_val
    44244709    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    44254710      # Best one so far, save it but keep looking for a better one
     
    44334718esac
    44344719
    4435 
    4436     $ac_path_EGREP_found && break 3
     4720      $ac_path_EGREP_found && break 3
     4721    done
    44374722  done
    4438 done
    4439 
    4440 done
     4723  done
    44414724IFS=$as_save_IFS
    4442 
    4443 
    4444 fi
    4445 
    4446 EGREP="$ac_cv_path_EGREP"
    4447 if test -z "$EGREP"; then
    4448   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4449 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4450    { (exit 1); exit 1; }; }
    4451 fi
    4452 
     4725  if test -z "$ac_cv_path_EGREP"; then
     4726    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4727  fi
    44534728else
    44544729  ac_cv_path_EGREP=$EGREP
    44554730fi
    44564731
    4457 
    44584732   fi
    44594733fi
    4460 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4461 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4735$as_echo "$ac_cv_path_EGREP" >&6; }
    44624736 EGREP="$ac_cv_path_EGREP"
    44634737
    44644738
    4465 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4466 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    4467 if test "${ac_cv_header_stdc+set}" = set; then
    4468   echo $ECHO_N "(cached) $ECHO_C" >&6
    4469 else
    4470   cat >conftest.$ac_ext <<_ACEOF
    4471 /* confdefs.h.  */
    4472 _ACEOF
    4473 cat confdefs.h >>conftest.$ac_ext
    4474 cat >>conftest.$ac_ext <<_ACEOF
     4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4740$as_echo_n "checking for ANSI C header files... " >&6; }
     4741if ${ac_cv_header_stdc+:} false; then :
     4742  $as_echo_n "(cached) " >&6
     4743else
     4744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44754745/* end confdefs.h.  */
    44764746#include <stdlib.h>
     
    44874757}
    44884758_ACEOF
    4489 rm -f conftest.$ac_objext
    4490 if { (ac_try="$ac_compile"
    4491 case "(($ac_try" in
    4492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4493   *) ac_try_echo=$ac_try;;
    4494 esac
    4495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4496   (eval "$ac_compile") 2>conftest.er1
    4497   ac_status=$?
    4498   grep -v '^ *+' conftest.er1 >conftest.err
    4499   rm -f conftest.er1
    4500   cat conftest.err >&5
    4501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4502   (exit $ac_status); } && {
    4503          test -z "$ac_c_werror_flag" ||
    4504          test ! -s conftest.err
    4505        } && test -s conftest.$ac_objext; then
     4759if ac_fn_c_try_compile "$LINENO"; then :
    45064760  ac_cv_header_stdc=yes
    45074761else
    4508   echo "$as_me: failed program was:" >&5
    4509 sed 's/^/| /' conftest.$ac_ext >&5
    4510 
    4511         ac_cv_header_stdc=no
    4512 fi
    4513 
     4762  ac_cv_header_stdc=no
     4763fi
    45144764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    45154765
    45164766if test $ac_cv_header_stdc = yes; then
    45174767  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4518   cat >conftest.$ac_ext <<_ACEOF
    4519 /* confdefs.h.  */
    4520 _ACEOF
    4521 cat confdefs.h >>conftest.$ac_ext
    4522 cat >>conftest.$ac_ext <<_ACEOF
     4768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45234769/* end confdefs.h.  */
    45244770#include <string.h>
     
    45264772_ACEOF
    45274773if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4528   $EGREP "memchr" >/dev/null 2>&1; then
    4529   :
     4774  $EGREP "memchr" >/dev/null 2>&1; then :
     4775
    45304776else
    45314777  ac_cv_header_stdc=no
    45324778fi
    4533 rm -f -r conftest*
     4779rm -f conftest*
    45344780
    45354781fi
     
    45374783if test $ac_cv_header_stdc = yes; then
    45384784  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4539   cat >conftest.$ac_ext <<_ACEOF
    4540 /* confdefs.h.  */
    4541 _ACEOF
    4542 cat confdefs.h >>conftest.$ac_ext
    4543 cat >>conftest.$ac_ext <<_ACEOF
     4785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45444786/* end confdefs.h.  */
    45454787#include <stdlib.h>
     
    45474789_ACEOF
    45484790if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4549   $EGREP "free" >/dev/null 2>&1; then
    4550   :
     4791  $EGREP "free" >/dev/null 2>&1; then :
     4792
    45514793else
    45524794  ac_cv_header_stdc=no
    45534795fi
    4554 rm -f -r conftest*
     4796rm -f conftest*
    45554797
    45564798fi
     
    45584800if test $ac_cv_header_stdc = yes; then
    45594801  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4560   if test "$cross_compiling" = yes; then
     4802  if test "$cross_compiling" = yes; then :
    45614803  :
    45624804else
    4563   cat >conftest.$ac_ext <<_ACEOF
    4564 /* confdefs.h.  */
    4565 _ACEOF
    4566 cat confdefs.h >>conftest.$ac_ext
    4567 cat >>conftest.$ac_ext <<_ACEOF
     4805  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45684806/* end confdefs.h.  */
    45694807#include <ctype.h>
     
    45924830}
    45934831_ACEOF
    4594 rm -f conftest$ac_exeext
    4595 if { (ac_try="$ac_link"
    4596 case "(($ac_try" in
    4597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4598   *) ac_try_echo=$ac_try;;
    4599 esac
    4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4601   (eval "$ac_link") 2>&5
    4602   ac_status=$?
    4603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4604   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4605   { (case "(($ac_try" in
    4606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4607   *) ac_try_echo=$ac_try;;
    4608 esac
    4609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4610   (eval "$ac_try") 2>&5
    4611   ac_status=$?
    4612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4613   (exit $ac_status); }; }; then
    4614   :
    4615 else
    4616   echo "$as_me: program exited with status $ac_status" >&5
    4617 echo "$as_me: failed program was:" >&5
    4618 sed 's/^/| /' conftest.$ac_ext >&5
    4619 
    4620 ( exit $ac_status )
    4621 ac_cv_header_stdc=no
    4622 fi
    4623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4624 fi
    4625 
    4626 
    4627 fi
    4628 fi
    4629 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4630 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     4832if ac_fn_c_try_run "$LINENO"; then :
     4833
     4834else
     4835  ac_cv_header_stdc=no
     4836fi
     4837rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4838  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4839fi
     4840
     4841fi
     4842fi
     4843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4844$as_echo "$ac_cv_header_stdc" >&6; }
    46314845if test $ac_cv_header_stdc = yes; then
    46324846
    4633 cat >>confdefs.h <<\_ACEOF
    4634 #define STDC_HEADERS 1
    4635 _ACEOF
     4847$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    46364848
    46374849fi
    46384850
    46394851# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4640 
    4641 
    4642 
    4643 
    4644 
    4645 
    4646 
    4647 
    4648 
    46494852for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    46504853                  inttypes.h stdint.h unistd.h
    4651 do
    4652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4656   echo $ECHO_N "(cached) $ECHO_C" >&6
    4657 else
    4658   cat >conftest.$ac_ext <<_ACEOF
    4659 /* confdefs.h.  */
    4660 _ACEOF
    4661 cat confdefs.h >>conftest.$ac_ext
    4662 cat >>conftest.$ac_ext <<_ACEOF
     4854do :
     4855  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4856ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4857"
     4858if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4859  cat >>confdefs.h <<_ACEOF
     4860#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4861_ACEOF
     4862
     4863fi
     4864
     4865done
     4866
     4867
     4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     4869$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     4870if ${ac_cv_c_bigendian+:} false; then :
     4871  $as_echo_n "(cached) " >&6
     4872else
     4873  ac_cv_c_bigendian=unknown
     4874    # See if we're dealing with a universal compiler.
     4875    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46634876/* end confdefs.h.  */
    4664 $ac_includes_default
    4665 
    4666 #include <$ac_header>
    4667 _ACEOF
    4668 rm -f conftest.$ac_objext
    4669 if { (ac_try="$ac_compile"
    4670 case "(($ac_try" in
    4671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4672   *) ac_try_echo=$ac_try;;
    4673 esac
    4674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4675   (eval "$ac_compile") 2>conftest.er1
    4676   ac_status=$?
    4677   grep -v '^ *+' conftest.er1 >conftest.err
    4678   rm -f conftest.er1
    4679   cat conftest.err >&5
    4680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4681   (exit $ac_status); } && {
    4682          test -z "$ac_c_werror_flag" ||
    4683          test ! -s conftest.err
    4684        } && test -s conftest.$ac_objext; then
    4685   eval "$as_ac_Header=yes"
    4686 else
    4687   echo "$as_me: failed program was:" >&5
    4688 sed 's/^/| /' conftest.$ac_ext >&5
    4689 
    4690         eval "$as_ac_Header=no"
    4691 fi
    4692 
     4877#ifndef __APPLE_CC__
     4878               not a universal capable compiler
     4879             #endif
     4880             typedef int dummy;
     4881
     4882_ACEOF
     4883if ac_fn_c_try_compile "$LINENO"; then :
     4884
     4885        # Check for potential -arch flags.  It is not universal unless
     4886        # there are at least two -arch flags with different values.
     4887        ac_arch=
     4888        ac_prev=
     4889        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     4890         if test -n "$ac_prev"; then
     4891           case $ac_word in
     4892             i?86 | x86_64 | ppc | ppc64)
     4893               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     4894                 ac_arch=$ac_word
     4895               else
     4896                 ac_cv_c_bigendian=universal
     4897                 break
     4898               fi
     4899               ;;
     4900           esac
     4901           ac_prev=
     4902         elif test "x$ac_word" = "x-arch"; then
     4903           ac_prev=arch
     4904         fi
     4905       done
     4906fi
    46934907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4694 fi
    4695 ac_res=`eval echo '${'$as_ac_Header'}'`
    4696                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4697 echo "${ECHO_T}$ac_res" >&6; }
    4698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4699   cat >>confdefs.h <<_ACEOF
    4700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4701 _ACEOF
    4702 
    4703 fi
    4704 
    4705 done
    4706 
    4707 
    4708 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    4709 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    4710 if test "${ac_cv_c_bigendian+set}" = set; then
    4711   echo $ECHO_N "(cached) $ECHO_C" >&6
    4712 else
    4713   # See if sys/param.h defines the BYTE_ORDER macro.
    4714 cat >conftest.$ac_ext <<_ACEOF
    4715 /* confdefs.h.  */
    4716 _ACEOF
    4717 cat confdefs.h >>conftest.$ac_ext
    4718 cat >>conftest.$ac_ext <<_ACEOF
     4908    if test $ac_cv_c_bigendian = unknown; then
     4909      # See if sys/param.h defines the BYTE_ORDER macro.
     4910      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47194911/* end confdefs.h.  */
    47204912#include <sys/types.h>
    4721 #include <sys/param.h>
     4913             #include <sys/param.h>
    47224914
    47234915int
    47244916main ()
    47254917{
    4726 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    4727         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    4728  bogus endian macros
    4729 #endif
     4918#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     4919                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     4920                     && LITTLE_ENDIAN)
     4921              bogus endian macros
     4922             #endif
    47304923
    47314924  ;
     
    47334926}
    47344927_ACEOF
    4735 rm -f conftest.$ac_objext
    4736 if { (ac_try="$ac_compile"
    4737 case "(($ac_try" in
    4738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4739   *) ac_try_echo=$ac_try;;
    4740 esac
    4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4742   (eval "$ac_compile") 2>conftest.er1
    4743   ac_status=$?
    4744   grep -v '^ *+' conftest.er1 >conftest.err
    4745   rm -f conftest.er1
    4746   cat conftest.err >&5
    4747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4748   (exit $ac_status); } && {
    4749          test -z "$ac_c_werror_flag" ||
    4750          test ! -s conftest.err
    4751        } && test -s conftest.$ac_objext; then
     4928if ac_fn_c_try_compile "$LINENO"; then :
    47524929  # It does; now see whether it defined to BIG_ENDIAN or not.
    4753 cat >conftest.$ac_ext <<_ACEOF
    4754 /* confdefs.h.  */
    4755 _ACEOF
    4756 cat confdefs.h >>conftest.$ac_ext
    4757 cat >>conftest.$ac_ext <<_ACEOF
     4930         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47584931/* end confdefs.h.  */
    47594932#include <sys/types.h>
    4760 #include <sys/param.h>
     4933                #include <sys/param.h>
    47614934
    47624935int
     
    47644937{
    47654938#if BYTE_ORDER != BIG_ENDIAN
    4766  not big endian
    4767 #endif
     4939                not big endian
     4940                #endif
    47684941
    47694942  ;
     
    47714944}
    47724945_ACEOF
    4773 rm -f conftest.$ac_objext
    4774 if { (ac_try="$ac_compile"
    4775 case "(($ac_try" in
    4776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4777   *) ac_try_echo=$ac_try;;
    4778 esac
    4779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4780   (eval "$ac_compile") 2>conftest.er1
    4781   ac_status=$?
    4782   grep -v '^ *+' conftest.er1 >conftest.err
    4783   rm -f conftest.er1
    4784   cat conftest.err >&5
    4785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4786   (exit $ac_status); } && {
    4787          test -z "$ac_c_werror_flag" ||
    4788          test ! -s conftest.err
    4789        } && test -s conftest.$ac_objext; then
     4946if ac_fn_c_try_compile "$LINENO"; then :
    47904947  ac_cv_c_bigendian=yes
    47914948else
    4792   echo "$as_me: failed program was:" >&5
    4793 sed 's/^/| /' conftest.$ac_ext >&5
    4794 
    4795         ac_cv_c_bigendian=no
    4796 fi
    4797 
     4949  ac_cv_c_bigendian=no
     4950fi
    47984951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4799 else
    4800   echo "$as_me: failed program was:" >&5
    4801 sed 's/^/| /' conftest.$ac_ext >&5
    4802 
    4803         # It does not; compile a test program.
    4804 if test "$cross_compiling" = yes; then
    4805   # try to guess the endianness by grepping values into an object file
    4806   ac_cv_c_bigendian=unknown
    4807   cat >conftest.$ac_ext <<_ACEOF
    4808 /* confdefs.h.  */
    4809 _ACEOF
    4810 cat confdefs.h >>conftest.$ac_ext
    4811 cat >>conftest.$ac_ext <<_ACEOF
     4952fi
     4953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4954    fi
     4955    if test $ac_cv_c_bigendian = unknown; then
     4956      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     4957      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48124958/* end confdefs.h.  */
    4813 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    4814 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    4815 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    4816 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    4817 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    4818 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     4959#include <limits.h>
     4960
    48194961int
    48204962main ()
    48214963{
    4822  _ascii (); _ebcdic ();
     4964#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     4965              bogus endian macros
     4966             #endif
     4967
    48234968  ;
    48244969  return 0;
    48254970}
    48264971_ACEOF
    4827 rm -f conftest.$ac_objext
    4828 if { (ac_try="$ac_compile"
    4829 case "(($ac_try" in
    4830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4831   *) ac_try_echo=$ac_try;;
    4832 esac
    4833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4834   (eval "$ac_compile") 2>conftest.er1
    4835   ac_status=$?
    4836   grep -v '^ *+' conftest.er1 >conftest.err
    4837   rm -f conftest.er1
    4838   cat conftest.err >&5
    4839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4840   (exit $ac_status); } && {
    4841          test -z "$ac_c_werror_flag" ||
    4842          test ! -s conftest.err
    4843        } && test -s conftest.$ac_objext; then
    4844   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     4972if ac_fn_c_try_compile "$LINENO"; then :
     4973  # It does; now see whether it defined to _BIG_ENDIAN or not.
     4974         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4975/* end confdefs.h.  */
     4976#include <limits.h>
     4977
     4978int
     4979main ()
     4980{
     4981#ifndef _BIG_ENDIAN
     4982                 not big endian
     4983                #endif
     4984
     4985  ;
     4986  return 0;
     4987}
     4988_ACEOF
     4989if ac_fn_c_try_compile "$LINENO"; then :
    48454990  ac_cv_c_bigendian=yes
    4846 fi
    4847 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    4848   if test "$ac_cv_c_bigendian" = unknown; then
    4849     ac_cv_c_bigendian=no
    4850   else
    4851     # finding both strings is unlikely to happen, but who knows?
    4852     ac_cv_c_bigendian=unknown
    4853   fi
    4854 fi
    4855 else
    4856   echo "$as_me: failed program was:" >&5
    4857 sed 's/^/| /' conftest.$ac_ext >&5
    4858 
    4859 
    4860 fi
    4861 
     4991else
     4992  ac_cv_c_bigendian=no
     4993fi
    48624994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4863 else
    4864   cat >conftest.$ac_ext <<_ACEOF
    4865 /* confdefs.h.  */
    4866 _ACEOF
    4867 cat confdefs.h >>conftest.$ac_ext
    4868 cat >>conftest.$ac_ext <<_ACEOF
     4995fi
     4996rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4997    fi
     4998    if test $ac_cv_c_bigendian = unknown; then
     4999      # Compile a test program.
     5000      if test "$cross_compiling" = yes; then :
     5001  # Try to guess by grepping values from an object file.
     5002         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5003/* end confdefs.h.  */
     5004short int ascii_mm[] =
     5005                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     5006                short int ascii_ii[] =
     5007                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     5008                int use_ascii (int i) {
     5009                  return ascii_mm[i] + ascii_ii[i];
     5010                }
     5011                short int ebcdic_ii[] =
     5012                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     5013                short int ebcdic_mm[] =
     5014                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     5015                int use_ebcdic (int i) {
     5016                  return ebcdic_mm[i] + ebcdic_ii[i];
     5017                }
     5018                extern int foo;
     5019
     5020int
     5021main ()
     5022{
     5023return use_ascii (foo) == use_ebcdic (foo);
     5024  ;
     5025  return 0;
     5026}
     5027_ACEOF
     5028if ac_fn_c_try_compile "$LINENO"; then :
     5029  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     5030              ac_cv_c_bigendian=yes
     5031            fi
     5032            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     5033              if test "$ac_cv_c_bigendian" = unknown; then
     5034                ac_cv_c_bigendian=no
     5035              else
     5036                # finding both strings is unlikely to happen, but who knows?
     5037                ac_cv_c_bigendian=unknown
     5038              fi
     5039            fi
     5040fi
     5041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5042else
     5043  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48695044/* end confdefs.h.  */
    48705045$ac_includes_default
     
    48735048{
    48745049
    4875   /* Are we little or big endian?  From Harbison&Steele.  */
    4876   union
    4877   {
    4878     long int l;
    4879     char c[sizeof (long int)];
    4880   } u;
    4881   u.l = 1;
    4882   return u.c[sizeof (long int) - 1] == 1;
     5050             /* Are we little or big endian?  From Harbison&Steele.  */
     5051             union
     5052             {
     5053               long int l;
     5054               char c[sizeof (long int)];
     5055             } u;
     5056             u.l = 1;
     5057             return u.c[sizeof (long int) - 1] == 1;
    48835058
    48845059  ;
     
    48865061}
    48875062_ACEOF
    4888 rm -f conftest$ac_exeext
    4889 if { (ac_try="$ac_link"
    4890 case "(($ac_try" in
    4891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4892   *) ac_try_echo=$ac_try;;
    4893 esac
    4894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4895   (eval "$ac_link") 2>&5
    4896   ac_status=$?
    4897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4898   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4899   { (case "(($ac_try" in
    4900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4901   *) ac_try_echo=$ac_try;;
    4902 esac
    4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4904   (eval "$ac_try") 2>&5
    4905   ac_status=$?
    4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4907   (exit $ac_status); }; }; then
     5063if ac_fn_c_try_run "$LINENO"; then :
    49085064  ac_cv_c_bigendian=no
    49095065else
    4910   echo "$as_me: program exited with status $ac_status" >&5
    4911 echo "$as_me: failed program was:" >&5
    4912 sed 's/^/| /' conftest.$ac_ext >&5
    4913 
    4914 ( exit $ac_status )
    4915 ac_cv_c_bigendian=yes
    4916 fi
    4917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4918 fi
    4919 
    4920 
    4921 fi
    4922 
    4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4924 fi
    4925 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    4926 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    4927 case $ac_cv_c_bigendian in
    4928   yes)
    4929 
    4930 cat >>confdefs.h <<\_ACEOF
    4931 #define WORDS_BIGENDIAN 1
    4932 _ACEOF
    4933  ;;
    4934   no)
    4935      ;;
    4936   *)
    4937     { { echo "$as_me:$LINENO: error: unknown endianness
    4938 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    4939 echo "$as_me: error: unknown endianness
    4940 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    4941    { (exit 1); exit 1; }; } ;;
    4942 esac
    4943 
    4944 fi
    4945 
    4946 { echo "$as_me:$LINENO: checking for short" >&5
    4947 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
    4948 if test "${ac_cv_type_short+set}" = set; then
    4949   echo $ECHO_N "(cached) $ECHO_C" >&6
    4950 else
    4951   cat >conftest.$ac_ext <<_ACEOF
    4952 /* confdefs.h.  */
    4953 _ACEOF
    4954 cat confdefs.h >>conftest.$ac_ext
    4955 cat >>conftest.$ac_ext <<_ACEOF
    4956 /* end confdefs.h.  */
    4957 $ac_includes_default
    4958 typedef short ac__type_new_;
    4959 int
    4960 main ()
    4961 {
    4962 if ((ac__type_new_ *) 0)
    4963   return 0;
    4964 if (sizeof (ac__type_new_))
    4965   return 0;
    4966   ;
    4967   return 0;
    4968 }
    4969 _ACEOF
    4970 rm -f conftest.$ac_objext
    4971 if { (ac_try="$ac_compile"
    4972 case "(($ac_try" in
    4973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4974   *) ac_try_echo=$ac_try;;
    4975 esac
    4976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4977   (eval "$ac_compile") 2>conftest.er1
    4978   ac_status=$?
    4979   grep -v '^ *+' conftest.er1 >conftest.err
    4980   rm -f conftest.er1
    4981   cat conftest.err >&5
    4982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4983   (exit $ac_status); } && {
    4984          test -z "$ac_c_werror_flag" ||
    4985          test ! -s conftest.err
    4986        } && test -s conftest.$ac_objext; then
    4987   ac_cv_type_short=yes
    4988 else
    4989   echo "$as_me: failed program was:" >&5
    4990 sed 's/^/| /' conftest.$ac_ext >&5
    4991 
    4992         ac_cv_type_short=no
    4993 fi
    4994 
    4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4996 fi
    4997 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
    4998 echo "${ECHO_T}$ac_cv_type_short" >&6; }
     5066  ac_cv_c_bigendian=yes
     5067fi
     5068rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5069  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5070fi
     5071
     5072    fi
     5073fi
     5074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     5075$as_echo "$ac_cv_c_bigendian" >&6; }
     5076 case $ac_cv_c_bigendian in #(
     5077   yes)
     5078     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     5079;; #(
     5080   no)
     5081      ;; #(
     5082   universal)
     5083
     5084$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     5085
     5086     ;; #(
     5087   *)
     5088     as_fn_error $? "unknown endianness
     5089 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     5090 esac
     5091
     5092fi
    49995093
    50005094# The cast to long int works around a bug in the HP C Compiler
     
    50025096# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    50035097# This bug is HP SR number 8606223364.
    5004 { echo "$as_me:$LINENO: checking size of short" >&5
    5005 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
    5006 if test "${ac_cv_sizeof_short+set}" = set; then
    5007   echo $ECHO_N "(cached) $ECHO_C" >&6
    5008 else
    5009   if test "$cross_compiling" = yes; then
    5010   # Depending upon the size, compute the lo and hi bounds.
    5011 cat >conftest.$ac_ext <<_ACEOF
    5012 /* confdefs.h.  */
    5013 _ACEOF
    5014 cat confdefs.h >>conftest.$ac_ext
    5015 cat >>conftest.$ac_ext <<_ACEOF
    5016 /* end confdefs.h.  */
    5017 $ac_includes_default
    5018    typedef short ac__type_sizeof_;
    5019 int
    5020 main ()
    5021 {
    5022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    5023 test_array [0] = 0
    5024 
    5025   ;
    5026   return 0;
    5027 }
    5028 _ACEOF
    5029 rm -f conftest.$ac_objext
    5030 if { (ac_try="$ac_compile"
    5031 case "(($ac_try" in
    5032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5033   *) ac_try_echo=$ac_try;;
    5034 esac
    5035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5036   (eval "$ac_compile") 2>conftest.er1
    5037   ac_status=$?
    5038   grep -v '^ *+' conftest.er1 >conftest.err
    5039   rm -f conftest.er1
    5040   cat conftest.err >&5
    5041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5042   (exit $ac_status); } && {
    5043          test -z "$ac_c_werror_flag" ||
    5044          test ! -s conftest.err
    5045        } && test -s conftest.$ac_objext; then
    5046   ac_lo=0 ac_mid=0
    5047   while :; do
    5048     cat >conftest.$ac_ext <<_ACEOF
    5049 /* confdefs.h.  */
    5050 _ACEOF
    5051 cat confdefs.h >>conftest.$ac_ext
    5052 cat >>conftest.$ac_ext <<_ACEOF
    5053 /* end confdefs.h.  */
    5054 $ac_includes_default
    5055    typedef short ac__type_sizeof_;
    5056 int
    5057 main ()
    5058 {
    5059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    5060 test_array [0] = 0
    5061 
    5062   ;
    5063   return 0;
    5064 }
    5065 _ACEOF
    5066 rm -f conftest.$ac_objext
    5067 if { (ac_try="$ac_compile"
    5068 case "(($ac_try" in
    5069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5070   *) ac_try_echo=$ac_try;;
    5071 esac
    5072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5073   (eval "$ac_compile") 2>conftest.er1
    5074   ac_status=$?
    5075   grep -v '^ *+' conftest.er1 >conftest.err
    5076   rm -f conftest.er1
    5077   cat conftest.err >&5
    5078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5079   (exit $ac_status); } && {
    5080          test -z "$ac_c_werror_flag" ||
    5081          test ! -s conftest.err
    5082        } && test -s conftest.$ac_objext; then
    5083   ac_hi=$ac_mid; break
    5084 else
    5085   echo "$as_me: failed program was:" >&5
    5086 sed 's/^/| /' conftest.$ac_ext >&5
    5087 
    5088         ac_lo=`expr $ac_mid + 1`
    5089                         if test $ac_lo -le $ac_mid; then
    5090                           ac_lo= ac_hi=
    5091                           break
    5092                         fi
    5093                         ac_mid=`expr 2 '*' $ac_mid + 1`
    5094 fi
    5095 
    5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5097   done
    5098 else
    5099   echo "$as_me: failed program was:" >&5
    5100 sed 's/^/| /' conftest.$ac_ext >&5
    5101 
    5102         cat >conftest.$ac_ext <<_ACEOF
    5103 /* confdefs.h.  */
    5104 _ACEOF
    5105 cat confdefs.h >>conftest.$ac_ext
    5106 cat >>conftest.$ac_ext <<_ACEOF
    5107 /* end confdefs.h.  */
    5108 $ac_includes_default
    5109    typedef short ac__type_sizeof_;
    5110 int
    5111 main ()
    5112 {
    5113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    5114 test_array [0] = 0
    5115 
    5116   ;
    5117   return 0;
    5118 }
    5119 _ACEOF
    5120 rm -f conftest.$ac_objext
    5121 if { (ac_try="$ac_compile"
    5122 case "(($ac_try" in
    5123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5124   *) ac_try_echo=$ac_try;;
    5125 esac
    5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5127   (eval "$ac_compile") 2>conftest.er1
    5128   ac_status=$?
    5129   grep -v '^ *+' conftest.er1 >conftest.err
    5130   rm -f conftest.er1
    5131   cat conftest.err >&5
    5132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5133   (exit $ac_status); } && {
    5134          test -z "$ac_c_werror_flag" ||
    5135          test ! -s conftest.err
    5136        } && test -s conftest.$ac_objext; then
    5137   ac_hi=-1 ac_mid=-1
    5138   while :; do
    5139     cat >conftest.$ac_ext <<_ACEOF
    5140 /* confdefs.h.  */
    5141 _ACEOF
    5142 cat confdefs.h >>conftest.$ac_ext
    5143 cat >>conftest.$ac_ext <<_ACEOF
    5144 /* end confdefs.h.  */
    5145 $ac_includes_default
    5146    typedef short ac__type_sizeof_;
    5147 int
    5148 main ()
    5149 {
    5150 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    5151 test_array [0] = 0
    5152 
    5153   ;
    5154   return 0;
    5155 }
    5156 _ACEOF
    5157 rm -f conftest.$ac_objext
    5158 if { (ac_try="$ac_compile"
    5159 case "(($ac_try" in
    5160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5161   *) ac_try_echo=$ac_try;;
    5162 esac
    5163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5164   (eval "$ac_compile") 2>conftest.er1
    5165   ac_status=$?
    5166   grep -v '^ *+' conftest.er1 >conftest.err
    5167   rm -f conftest.er1
    5168   cat conftest.err >&5
    5169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5170   (exit $ac_status); } && {
    5171          test -z "$ac_c_werror_flag" ||
    5172          test ! -s conftest.err
    5173        } && test -s conftest.$ac_objext; then
    5174   ac_lo=$ac_mid; break
    5175 else
    5176   echo "$as_me: failed program was:" >&5
    5177 sed 's/^/| /' conftest.$ac_ext >&5
    5178 
    5179         ac_hi=`expr '(' $ac_mid ')' - 1`
    5180                         if test $ac_mid -le $ac_hi; then
    5181                           ac_lo= ac_hi=
    5182                           break
    5183                         fi
    5184                         ac_mid=`expr 2 '*' $ac_mid`
    5185 fi
    5186 
    5187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5188   done
    5189 else
    5190   echo "$as_me: failed program was:" >&5
    5191 sed 's/^/| /' conftest.$ac_ext >&5
    5192 
    5193         ac_lo= ac_hi=
    5194 fi
    5195 
    5196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5197 fi
    5198 
    5199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5200 # Binary search between lo and hi bounds.
    5201 while test "x$ac_lo" != "x$ac_hi"; do
    5202   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    5203   cat >conftest.$ac_ext <<_ACEOF
    5204 /* confdefs.h.  */
    5205 _ACEOF
    5206 cat confdefs.h >>conftest.$ac_ext
    5207 cat >>conftest.$ac_ext <<_ACEOF
    5208 /* end confdefs.h.  */
    5209 $ac_includes_default
    5210    typedef short ac__type_sizeof_;
    5211 int
    5212 main ()
    5213 {
    5214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    5215 test_array [0] = 0
    5216 
    5217   ;
    5218   return 0;
    5219 }
    5220 _ACEOF
    5221 rm -f conftest.$ac_objext
    5222 if { (ac_try="$ac_compile"
    5223 case "(($ac_try" in
    5224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5225   *) ac_try_echo=$ac_try;;
    5226 esac
    5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5228   (eval "$ac_compile") 2>conftest.er1
    5229   ac_status=$?
    5230   grep -v '^ *+' conftest.er1 >conftest.err
    5231   rm -f conftest.er1
    5232   cat conftest.err >&5
    5233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } && {
    5235          test -z "$ac_c_werror_flag" ||
    5236          test ! -s conftest.err
    5237        } && test -s conftest.$ac_objext; then
    5238   ac_hi=$ac_mid
    5239 else
    5240   echo "$as_me: failed program was:" >&5
    5241 sed 's/^/| /' conftest.$ac_ext >&5
    5242 
    5243         ac_lo=`expr '(' $ac_mid ')' + 1`
    5244 fi
    5245 
    5246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5247 done
    5248 case $ac_lo in
    5249 ?*) ac_cv_sizeof_short=$ac_lo;;
    5250 '') if test "$ac_cv_type_short" = yes; then
    5251      { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
    5252 See \`config.log' for more details." >&5
    5253 echo "$as_me: error: cannot compute sizeof (short)
    5254 See \`config.log' for more details." >&2;}
    5255    { (exit 77); exit 77; }; }
    5256    else
    5257      ac_cv_sizeof_short=0
    5258    fi ;;
    5259 esac
    5260 else
    5261   cat >conftest.$ac_ext <<_ACEOF
    5262 /* confdefs.h.  */
    5263 _ACEOF
    5264 cat confdefs.h >>conftest.$ac_ext
    5265 cat >>conftest.$ac_ext <<_ACEOF
    5266 /* end confdefs.h.  */
    5267 $ac_includes_default
    5268    typedef short ac__type_sizeof_;
    5269 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    5270 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    5271 #include <stdio.h>
    5272 #include <stdlib.h>
    5273 int
    5274 main ()
    5275