Ignore:
Timestamp:
Jan 1, 2015 1:37:14 PM (9 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/r9/pkgs/optimizer/src/configure

    r1052 r4912  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.62 for RapptureOptimizer 1.0.
     3# Generated by GNU Autoconf 2.69 for RapptureOptimizer 1.0.
    44#
    5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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=:
     
    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
    3933
    4034as_nl='
     
    4539as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4640as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     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
    4848  as_echo='printf %s\n'
    4949  as_echo_n='printf %s'
     
    5656    as_echo_n_body='eval
    5757      arg=$1;
    58       case $arg in
     58      case $arg in #(
    5959      *"$as_nl"*)
    6060        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    7979fi
    8080
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    8881
    8982# IFS
     
    9588
    9689# Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
     90as_myself=
     91case $0 in #((
    9892  *[\\/]* ) as_myself=$0 ;;
    9993  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10296  IFS=$as_save_IFS
    10397  test -z "$as_dir" && as_dir=.
    104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    105 done
     98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99  done
    106100IFS=$as_save_IFS
    107101
     
    115109if test ! -f "$as_myself"; then
    116110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    117   { (exit 1); exit 1; }
    118 fi
    119 
    120 # Work around bugs in pre-3.0 UWIN ksh.
    121 for as_var in ENV MAIL MAILPATH
    122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     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 || :
    123121done
    124122PS1='$ '
     
    132130export LANGUAGE
    133131
    134 # Required to use basename.
     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
     211do
     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."
     266  else
     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."
     271  fi
     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
    135419if expr a : '\(a\)' >/dev/null 2>&1 &&
    136420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    146430fi
    147431
    148 
    149 # 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
    150438as_me=`$as_basename -- "$0" ||
    151439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    167455          s/.*/./; q'`
    168456
    169 # CDPATH.
    170 $as_unset CDPATH
    171 
    172 
    173 if test "x$CONFIG_SHELL" = x; then
    174   if (eval ":") 2>/dev/null; then
    175   as_have_required=yes
    176 else
    177   as_have_required=no
    178 fi
    179 
    180   if test $as_have_required = yes &&     (eval ":
    181 (as_func_return () {
    182   (exit \$1)
    183 }
    184 as_func_success () {
    185   as_func_return 0
    186 }
    187 as_func_failure () {
    188   as_func_return 1
    189 }
    190 as_func_ret_success () {
    191   return 0
    192 }
    193 as_func_ret_failure () {
    194   return 1
    195 }
    196 
    197 exitcode=0
    198 if as_func_success; then
    199   :
    200 else
    201   exitcode=1
    202   echo as_func_success failed.
    203 fi
    204 
    205 if as_func_failure; then
    206   exitcode=1
    207   echo as_func_failure succeeded.
    208 fi
    209 
    210 if as_func_ret_success; then
    211   :
    212 else
    213   exitcode=1
    214   echo as_func_ret_success failed.
    215 fi
    216 
    217 if as_func_ret_failure; then
    218   exitcode=1
    219   echo as_func_ret_failure succeeded.
    220 fi
    221 
    222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    223   :
    224 else
    225   exitcode=1
    226   echo positional parameters were not saved.
    227 fi
    228 
    229 test \$exitcode = 0) || { (exit 1); exit 1; }
    230 
    231 (
    232   as_lineno_1=\$LINENO
    233   as_lineno_2=\$LINENO
    234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    236 ") 2> /dev/null; then
    237   :
    238 else
    239   as_candidate_shells=
    240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    242 do
    243   IFS=$as_save_IFS
    244   test -z "$as_dir" && as_dir=.
    245   case $as_dir in
    246          /*)
    247            for as_base in sh bash ksh sh5; do
    248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    249            done;;
    250        esac
    251 done
    252 IFS=$as_save_IFS
    253 
    254 
    255       for as_shell in $as_candidate_shells $SHELL; do
    256          # Try only shells that exist, to save several forks.
    257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    260   emulate sh
    261   NULLCMD=:
    262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    263   # is contrary to our usage.  Disable this feature.
    264   alias -g '${1+"$@"}'='"$@"'
    265   setopt NO_GLOB_SUBST
    266 else
    267   case `(set -o) 2>/dev/null` in
    268   *posix*) set -o posix ;;
    269 esac
    270 
    271 fi
    272 
    273 
    274 :
    275 _ASEOF
    276 }; then
    277   CONFIG_SHELL=$as_shell
    278                as_have_required=yes
    279                if { "$as_shell" 2> /dev/null <<\_ASEOF
    280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    281   emulate sh
    282   NULLCMD=:
    283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    284   # is contrary to our usage.  Disable this feature.
    285   alias -g '${1+"$@"}'='"$@"'
    286   setopt NO_GLOB_SUBST
    287 else
    288   case `(set -o) 2>/dev/null` in
    289   *posix*) set -o posix ;;
    290 esac
    291 
    292 fi
    293 
    294 
    295 :
    296 (as_func_return () {
    297   (exit $1)
    298 }
    299 as_func_success () {
    300   as_func_return 0
    301 }
    302 as_func_failure () {
    303   as_func_return 1
    304 }
    305 as_func_ret_success () {
    306   return 0
    307 }
    308 as_func_ret_failure () {
    309   return 1
    310 }
    311 
    312 exitcode=0
    313 if as_func_success; then
    314   :
    315 else
    316   exitcode=1
    317   echo as_func_success failed.
    318 fi
    319 
    320 if as_func_failure; then
    321   exitcode=1
    322   echo as_func_failure succeeded.
    323 fi
    324 
    325 if as_func_ret_success; then
    326   :
    327 else
    328   exitcode=1
    329   echo as_func_ret_success failed.
    330 fi
    331 
    332 if as_func_ret_failure; then
    333   exitcode=1
    334   echo as_func_ret_failure succeeded.
    335 fi
    336 
    337 if ( set x; as_func_ret_success y && test x = "$1" ); then
    338   :
    339 else
    340   exitcode=1
    341   echo positional parameters were not saved.
    342 fi
    343 
    344 test $exitcode = 0) || { (exit 1); exit 1; }
    345 
    346 (
    347   as_lineno_1=$LINENO
    348   as_lineno_2=$LINENO
    349   test "x$as_lineno_1" != "x$as_lineno_2" &&
    350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    351 
    352 _ASEOF
    353 }; then
    354   break
    355 fi
    356 
    357 fi
    358 
    359       done
    360 
    361       if test "x$CONFIG_SHELL" != x; then
    362   for as_var in BASH_ENV ENV
    363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    364         done
    365         export CONFIG_SHELL
    366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    367 fi
    368 
    369 
    370     if test $as_have_required = no; then
    371   echo This script requires a shell more modern than all the
    372       echo shells that I found on your system.  Please install a
    373       echo modern shell, or manually run the script under such a
    374       echo shell if you do have one.
    375       { (exit 1); exit 1; }
    376 fi
    377 
    378 
    379 fi
    380 
    381 fi
    382 
    383 
    384 
    385 (eval "as_func_return () {
    386   (exit \$1)
    387 }
    388 as_func_success () {
    389   as_func_return 0
    390 }
    391 as_func_failure () {
    392   as_func_return 1
    393 }
    394 as_func_ret_success () {
    395   return 0
    396 }
    397 as_func_ret_failure () {
    398   return 1
    399 }
    400 
    401 exitcode=0
    402 if as_func_success; then
    403   :
    404 else
    405   exitcode=1
    406   echo as_func_success failed.
    407 fi
    408 
    409 if as_func_failure; then
    410   exitcode=1
    411   echo as_func_failure succeeded.
    412 fi
    413 
    414 if as_func_ret_success; then
    415   :
    416 else
    417   exitcode=1
    418   echo as_func_ret_success failed.
    419 fi
    420 
    421 if as_func_ret_failure; then
    422   exitcode=1
    423   echo as_func_ret_failure succeeded.
    424 fi
    425 
    426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    427   :
    428 else
    429   exitcode=1
    430   echo positional parameters were not saved.
    431 fi
    432 
    433 test \$exitcode = 0") || {
    434   echo No shell found that supports shell functions.
    435   echo Please tell bug-autoconf@gnu.org about your system,
    436   echo including any error possibly output before this message.
    437   echo This can help us improve future autoconf versions.
    438   echo Configuration will now proceed without shell functions.
    439 }
    440 
    441 
    442 
    443   as_lineno_1=$LINENO
    444   as_lineno_2=$LINENO
    445   test "x$as_lineno_1" != "x$as_lineno_2" &&
    446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    447 
    448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    449   # uniformly replaced by the line number.  The first 'sed' inserts a
    450   # line-number line after each line using $LINENO; the second 'sed'
    451   # does the real work.  The second script uses 'N' to pair each
    452   # line-number line with the line containing $LINENO, and appends
    453   # trailing '-' during substitution so that $LINENO is not a special
    454   # case at line end.
    455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    457   # 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.  :-)
    458470  sed -n '
    459471    p
     
    472484    ' >$as_me.lineno &&
    473485  chmod +x "$as_me.lineno" ||
    474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    475    { (exit 1); exit 1; }; }
    476 
     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
    477492  # Don't try to exec as it changes $[0], causing all sort of problems
    478493  # (the dirname of $[0] is not the place where we might find the
     
    483498}
    484499
    485 
    486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    487   as_dirname=dirname
    488 else
    489   as_dirname=false
    490 fi
    491 
    492500ECHO_C= ECHO_N= ECHO_T=
    493 case `echo -n x` in
     501case `echo -n x` in #(((((
    494502-n*)
    495   case `echo 'x\c'` in
     503  case `echo 'xy\c'` in
    496504  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    497   *)   ECHO_C='\c';;
     505  xy)  ECHO_C='\c';;
     506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     507       ECHO_T=' ';;
    498508  esac;;
    499509*)
    500510  ECHO_N='-n';;
    501511esac
    502 if expr a : '\(a\)' >/dev/null 2>&1 &&
    503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    504   as_expr=expr
    505 else
    506   as_expr=false
    507 fi
    508512
    509513rm -f conf$$ conf$$.exe conf$$.file
     
    520524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    521525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    522     # In both cases, we have to default to `cp -p'.
     526    # In both cases, we have to default to `cp -pR'.
    523527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    524       as_ln_s='cp -p'
     528      as_ln_s='cp -pR'
    525529  elif ln conf$$.file conf$$ 2>/dev/null; then
    526530    as_ln_s=ln
    527531  else
    528     as_ln_s='cp -p'
     532    as_ln_s='cp -pR'
    529533  fi
    530534else
    531   as_ln_s='cp -p'
     535  as_ln_s='cp -pR'
    532536fi
    533537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    535539
    536540if mkdir -p . 2>/dev/null; then
    537   as_mkdir_p=:
     541  as_mkdir_p='mkdir -p "$as_dir"'
    538542else
    539543  test -d ./-p && rmdir ./-p
     
    541545fi
    542546
    543 if test -x / >/dev/null 2>&1; then
    544   as_test_x='test -x'
    545 else
    546   if ls -dL / >/dev/null 2>&1; then
    547     as_ls_L_option=L
    548   else
    549     as_ls_L_option=
    550   fi
    551   as_test_x='
    552     eval sh -c '\''
    553       if test -d "$1"; then
    554         test -d "$1/.";
    555       else
    556         case $1 in
    557         -*)set "./$1";;
    558         esac;
    559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    560         ???[sx]*):;;*)false;;esac;fi
    561     '\'' sh
    562   '
    563 fi
    564 as_executable_p=$as_test_x
     547as_test_x='test -x'
     548as_executable_p=as_fn_executable_p
    565549
    566550# Sed expression to map a string onto a valid CPP name.
     
    571555
    572556
    573 
    574 exec 7<&0 </dev/null 6>&1
     557test -n "$DJDIR" || exec 7<&0 </dev/null
     558exec 6>&1
    575559
    576560# Name of the host.
    577 # 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,
    578562# so uname gets run too.
    579563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    590574MFLAGS=
    591575MAKEFLAGS=
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593576
    594577# Identity of this package.
    595578PACKAGE_NAME='RapptureOptimizer'
    596579PACKAGE_TARNAME='rapptureoptimizer'
    597 PACKAGE_VERSION='1.1'
     580PACKAGE_VERSION='1.0'
    598581PACKAGE_STRING='RapptureOptimizer 1.0'
    599582PACKAGE_BUGREPORT=''
     583PACKAGE_URL=''
    600584
    601585# Factoring default headers for most tests.
     
    636620
    637621enable_option_checking=no
    638 ac_subst_vars='SHELL
     622ac_subst_vars='LTLIBOBJS
     623subdirs
     624RAPPTURE_VERSION
     625NODOT_VERSION
     626EXACT_VERSION
     627PATCHLEVEL
     628TCLSH_PROG
     629RANLIB_STUB
     630MAKE_STUB_LIB
     631MAKE_STATIC_LIB
     632MAKE_SHARED_LIB
     633MAKE_LIB
     634LDFLAGS_DEFAULT
     635CFLAGS_DEFAULT
     636TCL_DBGX
     637LD_LIBRARY_PATH_VAR
     638SHLIB_CFLAGS
     639SHLIB_LD_LIBS
     640SHLIB_LD
     641STLIB_LD
     642CFLAGS_WARNING
     643CFLAGS_OPTIMIZE
     644CFLAGS_DEBUG
     645DL_LIBS
     646LIBOBJS
     647CELIB_DIR
     648AR
     649SHARED_BUILD
     650TCL_THREADS
     651TCL_INCLUDES
     652CLEANFILES
     653PKG_OBJECTS
     654PKG_SOURCES
     655ac_ct_F77
     656FFLAGS
     657F77
     658MATH_LIBS
     659EGREP
     660GREP
     661RANLIB
     662SET_MAKE
     663INSTALL_DATA
     664INSTALL_SCRIPT
     665INSTALL_PROGRAM
     666CPP
     667ac_ct_CXX
     668CXXFLAGS
     669CXX
     670OBJEXT
     671ac_ct_CC
     672CPPFLAGS
     673LDFLAGS
     674CFLAGS
     675CC
     676TCL_SHLIB_LD_LIBS
     677TCL_LD_FLAGS
     678TCL_EXTRA_CFLAGS
     679TCL_DEFS
     680TCL_LIBS
     681TCL_STUB_LIB_SPEC
     682TCL_STUB_LIB_FLAG
     683TCL_STUB_LIB_FILE
     684TCL_LIB_SPEC
     685TCL_LIB_FLAG
     686TCL_LIB_FILE
     687TCL_SRC_DIR
     688TCL_BIN_DIR
     689TCL_VERSION
     690PKG_CFLAGS
     691PKG_LIBS
     692PKG_INCLUDES
     693PKG_HEADERS
     694PKG_TCL_SOURCES
     695PKG_STUB_OBJECTS
     696PKG_STUB_SOURCES
     697PKG_STUB_LIB_FILE
     698PKG_LIB_FILE
     699EXEEXT
     700CYGPATH
     701target_alias
     702host_alias
     703build_alias
     704LIBS
     705ECHO_T
     706ECHO_N
     707ECHO_C
     708DEFS
     709mandir
     710localedir
     711libdir
     712psdir
     713pdfdir
     714dvidir
     715htmldir
     716infodir
     717docdir
     718oldincludedir
     719includedir
     720localstatedir
     721sharedstatedir
     722sysconfdir
     723datadir
     724datarootdir
     725libexecdir
     726sbindir
     727bindir
     728program_transform_name
     729prefix
     730exec_prefix
     731PACKAGE_URL
     732PACKAGE_BUGREPORT
     733PACKAGE_STRING
     734PACKAGE_VERSION
     735PACKAGE_TARNAME
     736PACKAGE_NAME
    639737PATH_SEPARATOR
    640 PACKAGE_NAME
    641 PACKAGE_TARNAME
    642 PACKAGE_VERSION
    643 PACKAGE_STRING
    644 PACKAGE_BUGREPORT
    645 exec_prefix
    646 prefix
    647 program_transform_name
    648 bindir
    649 sbindir
    650 libexecdir
    651 datarootdir
    652 datadir
    653 sysconfdir
    654 sharedstatedir
    655 localstatedir
    656 includedir
    657 oldincludedir
    658 docdir
    659 infodir
    660 htmldir
    661 dvidir
    662 pdfdir
    663 psdir
    664 libdir
    665 localedir
    666 mandir
    667 DEFS
    668 ECHO_C
    669 ECHO_N
    670 ECHO_T
    671 LIBS
    672 build_alias
    673 host_alias
    674 target_alias
    675 CYGPATH
    676 EXEEXT
    677 PKG_LIB_FILE
    678 PKG_STUB_LIB_FILE
    679 PKG_STUB_SOURCES
    680 PKG_STUB_OBJECTS
    681 PKG_TCL_SOURCES
    682 PKG_HEADERS
    683 PKG_INCLUDES
    684 PKG_LIBS
    685 PKG_CFLAGS
    686 TCL_VERSION
    687 TCL_BIN_DIR
    688 TCL_SRC_DIR
    689 TCL_LIB_FILE
    690 TCL_LIB_FLAG
    691 TCL_LIB_SPEC
    692 TCL_STUB_LIB_FILE
    693 TCL_STUB_LIB_FLAG
    694 TCL_STUB_LIB_SPEC
    695 TCL_LIBS
    696 TCL_DEFS
    697 TCL_EXTRA_CFLAGS
    698 TCL_LD_FLAGS
    699 TCL_SHLIB_LD_LIBS
    700 CC
    701 CFLAGS
    702 LDFLAGS
    703 CPPFLAGS
    704 ac_ct_CC
    705 OBJEXT
    706 CXX
    707 CXXFLAGS
    708 ac_ct_CXX
    709 CPP
    710 INSTALL_PROGRAM
    711 INSTALL_SCRIPT
    712 INSTALL_DATA
    713 SET_MAKE
    714 RANLIB
    715 GREP
    716 EGREP
    717 MATH_LIBS
    718 F77
    719 FFLAGS
    720 ac_ct_F77
    721 PKG_SOURCES
    722 PKG_OBJECTS
    723 CLEANFILES
    724 TCL_INCLUDES
    725 TCL_THREADS
    726 SHARED_BUILD
    727 AR
    728 CELIB_DIR
    729 LIBOBJS
    730 DL_LIBS
    731 CFLAGS_DEBUG
    732 CFLAGS_OPTIMIZE
    733 CFLAGS_WARNING
    734 STLIB_LD
    735 SHLIB_LD
    736 SHLIB_LD_LIBS
    737 SHLIB_CFLAGS
    738 LD_LIBRARY_PATH_VAR
    739 TCL_DBGX
    740 CFLAGS_DEFAULT
    741 LDFLAGS_DEFAULT
    742 MAKE_LIB
    743 MAKE_SHARED_LIB
    744 MAKE_STATIC_LIB
    745 MAKE_STUB_LIB
    746 RANLIB_STUB
    747 TCLSH_PROG
    748 PATCHLEVEL
    749 EXACT_VERSION
    750 NODOT_VERSION
    751 subdirs
    752 LTLIBOBJS'
     738SHELL'
    753739ac_subst_files=''
    754740ac_user_opts='
     
    841827
    842828  case $ac_option in
    843   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    844   *)    ac_optarg=yes ;;
     829  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     830  *=)   ac_optarg= ;;
     831  *)    ac_optarg=yes ;;
    845832  esac
    846833
     
    887874    # Reject names that are not valid shell variable names.
    888875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    889       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    890    { (exit 1); exit 1; }; }
     876      as_fn_error $? "invalid feature name: $ac_useropt"
    891877    ac_useropt_orig=$ac_useropt
    892878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    914900    # Reject names that are not valid shell variable names.
    915901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    917    { (exit 1); exit 1; }; }
     902      as_fn_error $? "invalid feature name: $ac_useropt"
    918903    ac_useropt_orig=$ac_useropt
    919904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11191104    # Reject names that are not valid shell variable names.
    11201105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1121       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1122    { (exit 1); exit 1; }; }
     1106      as_fn_error $? "invalid package name: $ac_useropt"
    11231107    ac_useropt_orig=$ac_useropt
    11241108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11361120    # Reject names that are not valid shell variable names.
    11371121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1138       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1139    { (exit 1); exit 1; }; }
     1122      as_fn_error $? "invalid package name: $ac_useropt"
    11401123    ac_useropt_orig=$ac_useropt
    11411124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11671150    x_libraries=$ac_optarg ;;
    11681151
    1169   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1170 Try \`$0 --help' for more information." >&2
    1171    { (exit 1); exit 1; }; }
     1152  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1153Try \`$0 --help' for more information"
    11721154    ;;
    11731155
     
    11751157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11761158    # Reject names that are not valid shell variable names.
    1177     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1178       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1179    { (exit 1); exit 1; }; }
     1159    case $ac_envvar in #(
     1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1161      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1162    esac
    11801163    eval $ac_envvar=\$ac_optarg
    11811164    export $ac_envvar ;;
     
    11861169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11871170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1188     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1171    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11891172    ;;
    11901173
     
    11941177if test -n "$ac_prev"; then
    11951178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1196   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1197    { (exit 1); exit 1; }; }
     1179  as_fn_error $? "missing argument to $ac_option"
    11981180fi
    11991181
     
    12011183  case $enable_option_checking in
    12021184    no) ;;
    1203     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
    1204    { (exit 1); exit 1; }; } ;;
    1205     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1185    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12061187  esac
    12071188fi
     
    12251206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12261207  esac
    1227   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1228    { (exit 1); exit 1; }; }
     1208  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12291209done
    12301210
     
    12401220  if test "x$build_alias" = x; then
    12411221    cross_compiling=maybe
    1242     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1243     If a cross compiler is detected then cross compile mode will be used." >&2
    12441222  elif test "x$build_alias" != "x$host_alias"; then
    12451223    cross_compiling=yes
     
    12561234ac_ls_di=`ls -di .` &&
    12571235ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1258   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
    1259    { (exit 1); exit 1; }; }
     1236  as_fn_error $? "working directory cannot be determined"
    12601237test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1261   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1262    { (exit 1); exit 1; }; }
     1238  as_fn_error $? "pwd does not report name of working directory"
    12631239
    12641240
     
    12991275if test ! -r "$srcdir/$ac_unique_file"; then
    13001276  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1301   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1302    { (exit 1); exit 1; }; }
     1277  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13031278fi
    13041279ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13051280ac_abs_confdir=`(
    1306         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1307    { (exit 1); exit 1; }; }
     1281        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13081282        pwd)`
    13091283# When building in place, set srcdir=.
     
    13451319      --help=recursive    display the short help of all the included packages
    13461320  -V, --version           display version information and exit
    1347   -q, --quiet, --silent   do not print \`checking...' messages
     1321  -q, --quiet, --silent   do not print \`checking ...' messages
    13481322      --cache-file=FILE   cache test results in FILE [disabled]
    13491323  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14241398              nonstandard directory <lib dir>
    14251399  LIBS        libraries to pass to the linker, e.g. -l<library>
    1426   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1400  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14271401              you have headers in a nonstandard directory <include dir>
    14281402  CXX         C++ compiler command
     
    14351409it to find libraries and programs with nonstandard names/locations.
    14361410
     1411Report bugs to the package provider.
    14371412_ACEOF
    14381413ac_status=$?
     
    14981473  cat <<\_ACEOF
    14991474RapptureOptimizer configure 1.0
    1500 generated by GNU Autoconf 2.62
    1501 
    1502 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1503 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1475generated by GNU Autoconf 2.69
     1476
     1477Copyright (C) 2012 Free Software Foundation, Inc.
    15041478This configure script is free software; the Free Software Foundation
    15051479gives unlimited permission to copy, distribute and modify it.
     
    15071481  exit
    15081482fi
     1483
     1484## ------------------------ ##
     1485## Autoconf initialization. ##
     1486## ------------------------ ##
     1487
     1488# ac_fn_c_try_compile LINENO
     1489# --------------------------
     1490# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1491ac_fn_c_try_compile ()
     1492{
     1493  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1494  rm -f conftest.$ac_objext
     1495  if { { ac_try="$ac_compile"
     1496case "(($ac_try" in
     1497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1498  *) ac_try_echo=$ac_try;;
     1499esac
     1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1501$as_echo "$ac_try_echo"; } >&5
     1502  (eval "$ac_compile") 2>conftest.err
     1503  ac_status=$?
     1504  if test -s conftest.err; then
     1505    grep -v '^ *+' conftest.err >conftest.er1
     1506    cat conftest.er1 >&5
     1507    mv -f conftest.er1 conftest.err
     1508  fi
     1509  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1510  test $ac_status = 0; } && {
     1511         test -z "$ac_c_werror_flag" ||
     1512         test ! -s conftest.err
     1513       } && test -s conftest.$ac_objext; then :
     1514  ac_retval=0
     1515else
     1516  $as_echo "$as_me: failed program was:" >&5
     1517sed 's/^/| /' conftest.$ac_ext >&5
     1518
     1519        ac_retval=1
     1520fi
     1521  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1522  as_fn_set_status $ac_retval
     1523
     1524} # ac_fn_c_try_compile
     1525
     1526# ac_fn_cxx_try_compile LINENO
     1527# ----------------------------
     1528# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1529ac_fn_cxx_try_compile ()
     1530{
     1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1532  rm -f conftest.$ac_objext
     1533  if { { ac_try="$ac_compile"
     1534case "(($ac_try" in
     1535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1536  *) ac_try_echo=$ac_try;;
     1537esac
     1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1539$as_echo "$ac_try_echo"; } >&5
     1540  (eval "$ac_compile") 2>conftest.err
     1541  ac_status=$?
     1542  if test -s conftest.err; then
     1543    grep -v '^ *+' conftest.err >conftest.er1
     1544    cat conftest.er1 >&5
     1545    mv -f conftest.er1 conftest.err
     1546  fi
     1547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1548  test $ac_status = 0; } && {
     1549         test -z "$ac_cxx_werror_flag" ||
     1550         test ! -s conftest.err
     1551       } && test -s conftest.$ac_objext; then :
     1552  ac_retval=0
     1553else
     1554  $as_echo "$as_me: failed program was:" >&5
     1555sed 's/^/| /' conftest.$ac_ext >&5
     1556
     1557        ac_retval=1
     1558fi
     1559  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1560  as_fn_set_status $ac_retval
     1561
     1562} # ac_fn_cxx_try_compile
     1563
     1564# ac_fn_c_try_cpp LINENO
     1565# ----------------------
     1566# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1567ac_fn_c_try_cpp ()
     1568{
     1569  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1570  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1571case "(($ac_try" in
     1572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1573  *) ac_try_echo=$ac_try;;
     1574esac
     1575eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1576$as_echo "$ac_try_echo"; } >&5
     1577  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1578  ac_status=$?
     1579  if test -s conftest.err; then
     1580    grep -v '^ *+' conftest.err >conftest.er1
     1581    cat conftest.er1 >&5
     1582    mv -f conftest.er1 conftest.err
     1583  fi
     1584  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1585  test $ac_status = 0; } > conftest.i && {
     1586         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1587         test ! -s conftest.err
     1588       }; then :
     1589  ac_retval=0
     1590else
     1591  $as_echo "$as_me: failed program was:" >&5
     1592sed 's/^/| /' conftest.$ac_ext >&5
     1593
     1594    ac_retval=1
     1595fi
     1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1597  as_fn_set_status $ac_retval
     1598
     1599} # ac_fn_c_try_cpp
     1600
     1601# ac_fn_c_try_run LINENO
     1602# ----------------------
     1603# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1604# that executables *can* be run.
     1605ac_fn_c_try_run ()
     1606{
     1607  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1608  if { { ac_try="$ac_link"
     1609case "(($ac_try" in
     1610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1611  *) ac_try_echo=$ac_try;;
     1612esac
     1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1614$as_echo "$ac_try_echo"; } >&5
     1615  (eval "$ac_link") 2>&5
     1616  ac_status=$?
     1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1618  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1619  { { case "(($ac_try" in
     1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1621  *) ac_try_echo=$ac_try;;
     1622esac
     1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1624$as_echo "$ac_try_echo"; } >&5
     1625  (eval "$ac_try") 2>&5
     1626  ac_status=$?
     1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1628  test $ac_status = 0; }; }; then :
     1629  ac_retval=0
     1630else
     1631  $as_echo "$as_me: program exited with status $ac_status" >&5
     1632       $as_echo "$as_me: failed program was:" >&5
     1633sed 's/^/| /' conftest.$ac_ext >&5
     1634
     1635       ac_retval=$ac_status
     1636fi
     1637  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1639  as_fn_set_status $ac_retval
     1640
     1641} # ac_fn_c_try_run
     1642
     1643# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1644# -------------------------------------------------------
     1645# Tests whether HEADER exists and can be compiled using the include files in
     1646# INCLUDES, setting the cache variable VAR accordingly.
     1647ac_fn_c_check_header_compile ()
     1648{
     1649  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1651$as_echo_n "checking for $2... " >&6; }
     1652if eval \${$3+:} false; then :
     1653  $as_echo_n "(cached) " >&6
     1654else
     1655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1656/* end confdefs.h.  */
     1657$4
     1658#include <$2>
     1659_ACEOF
     1660if ac_fn_c_try_compile "$LINENO"; then :
     1661  eval "$3=yes"
     1662else
     1663  eval "$3=no"
     1664fi
     1665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1666fi
     1667eval ac_res=\$$3
     1668               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1669$as_echo "$ac_res" >&6; }
     1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1671
     1672} # ac_fn_c_check_header_compile
     1673
     1674# ac_fn_c_try_link LINENO
     1675# -----------------------
     1676# Try to link conftest.$ac_ext, and return whether this succeeded.
     1677ac_fn_c_try_link ()
     1678{
     1679  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1680  rm -f conftest.$ac_objext conftest$ac_exeext
     1681  if { { ac_try="$ac_link"
     1682case "(($ac_try" in
     1683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1684  *) ac_try_echo=$ac_try;;
     1685esac
     1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1687$as_echo "$ac_try_echo"; } >&5
     1688  (eval "$ac_link") 2>conftest.err
     1689  ac_status=$?
     1690  if test -s conftest.err; then
     1691    grep -v '^ *+' conftest.err >conftest.er1
     1692    cat conftest.er1 >&5
     1693    mv -f conftest.er1 conftest.err
     1694  fi
     1695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1696  test $ac_status = 0; } && {
     1697         test -z "$ac_c_werror_flag" ||
     1698         test ! -s conftest.err
     1699       } && test -s conftest$ac_exeext && {
     1700         test "$cross_compiling" = yes ||
     1701         test -x conftest$ac_exeext
     1702       }; then :
     1703  ac_retval=0
     1704else
     1705  $as_echo "$as_me: failed program was:" >&5
     1706sed 's/^/| /' conftest.$ac_ext >&5
     1707
     1708        ac_retval=1
     1709fi
     1710  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1711  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1712  # interfere with the next link command; also delete a directory that is
     1713  # left behind by Apple's compiler.  We do this before executing the actions.
     1714  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1715  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1716  as_fn_set_status $ac_retval
     1717
     1718} # ac_fn_c_try_link
     1719
     1720# ac_fn_c_check_func LINENO FUNC VAR
     1721# ----------------------------------
     1722# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1723ac_fn_c_check_func ()
     1724{
     1725  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1726  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1727$as_echo_n "checking for $2... " >&6; }
     1728if eval \${$3+:} false; then :
     1729  $as_echo_n "(cached) " >&6
     1730else
     1731  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1732/* end confdefs.h.  */
     1733/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1734   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1735#define $2 innocuous_$2
     1736
     1737/* System header to define __stub macros and hopefully few prototypes,
     1738    which can conflict with char $2 (); below.
     1739    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1740    <limits.h> exists even on freestanding compilers.  */
     1741
     1742#ifdef __STDC__
     1743# include <limits.h>
     1744#else
     1745# include <assert.h>
     1746#endif
     1747
     1748#undef $2
     1749
     1750/* Override any GCC internal prototype to avoid an error.
     1751   Use char because int might match the return type of a GCC
     1752   builtin and then its argument prototype would still apply.  */
     1753#ifdef __cplusplus
     1754extern "C"
     1755#endif
     1756char $2 ();
     1757/* The GNU C library defines this for functions which it implements
     1758    to always fail with ENOSYS.  Some functions are actually named
     1759    something starting with __ and the normal name is an alias.  */
     1760#if defined __stub_$2 || defined __stub___$2
     1761choke me
     1762#endif
     1763
     1764int
     1765main ()
     1766{
     1767return $2 ();
     1768  ;
     1769  return 0;
     1770}
     1771_ACEOF
     1772if ac_fn_c_try_link "$LINENO"; then :
     1773  eval "$3=yes"
     1774else
     1775  eval "$3=no"
     1776fi
     1777rm -f core conftest.err conftest.$ac_objext \
     1778    conftest$ac_exeext conftest.$ac_ext
     1779fi
     1780eval ac_res=\$$3
     1781               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1782$as_echo "$ac_res" >&6; }
     1783  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1784
     1785} # ac_fn_c_check_func
     1786
     1787# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1788# -------------------------------------------------------
     1789# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1790# the include files in INCLUDES and setting the cache variable VAR
     1791# accordingly.
     1792ac_fn_c_check_header_mongrel ()
     1793{
     1794  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1795  if eval \${$3+:} false; then :
     1796  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1797$as_echo_n "checking for $2... " >&6; }
     1798if eval \${$3+:} false; then :
     1799  $as_echo_n "(cached) " >&6
     1800fi
     1801eval ac_res=\$$3
     1802               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1803$as_echo "$ac_res" >&6; }
     1804else
     1805  # Is the header compilable?
     1806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1807$as_echo_n "checking $2 usability... " >&6; }
     1808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1809/* end confdefs.h.  */
     1810$4
     1811#include <$2>
     1812_ACEOF
     1813if ac_fn_c_try_compile "$LINENO"; then :
     1814  ac_header_compiler=yes
     1815else
     1816  ac_header_compiler=no
     1817fi
     1818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1820$as_echo "$ac_header_compiler" >&6; }
     1821
     1822# Is the header present?
     1823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1824$as_echo_n "checking $2 presence... " >&6; }
     1825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1826/* end confdefs.h.  */
     1827#include <$2>
     1828_ACEOF
     1829if ac_fn_c_try_cpp "$LINENO"; then :
     1830  ac_header_preproc=yes
     1831else
     1832  ac_header_preproc=no
     1833fi
     1834rm -f conftest.err conftest.i conftest.$ac_ext
     1835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1836$as_echo "$ac_header_preproc" >&6; }
     1837
     1838# So?  What about this header?
     1839case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1840  yes:no: )
     1841    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1842$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1844$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1845    ;;
     1846  no:yes:* )
     1847    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1848$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1850$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1852$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1854$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1856$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1857    ;;
     1858esac
     1859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1860$as_echo_n "checking for $2... " >&6; }
     1861if eval \${$3+:} false; then :
     1862  $as_echo_n "(cached) " >&6
     1863else
     1864  eval "$3=\$ac_header_compiler"
     1865fi
     1866eval ac_res=\$$3
     1867               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1868$as_echo "$ac_res" >&6; }
     1869fi
     1870  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1871
     1872} # ac_fn_c_check_header_mongrel
     1873
     1874# ac_fn_f77_try_compile LINENO
     1875# ----------------------------
     1876# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1877ac_fn_f77_try_compile ()
     1878{
     1879  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1880  rm -f conftest.$ac_objext
     1881  if { { ac_try="$ac_compile"
     1882case "(($ac_try" in
     1883  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1884  *) ac_try_echo=$ac_try;;
     1885esac
     1886eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1887$as_echo "$ac_try_echo"; } >&5
     1888  (eval "$ac_compile") 2>conftest.err
     1889  ac_status=$?
     1890  if test -s conftest.err; then
     1891    grep -v '^ *+' conftest.err >conftest.er1
     1892    cat conftest.er1 >&5
     1893    mv -f conftest.er1 conftest.err
     1894  fi
     1895  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1896  test $ac_status = 0; } && {
     1897         test -z "$ac_f77_werror_flag" ||
     1898         test ! -s conftest.err
     1899       } && test -s conftest.$ac_objext; then :
     1900  ac_retval=0
     1901else
     1902  $as_echo "$as_me: failed program was:" >&5
     1903sed 's/^/| /' conftest.$ac_ext >&5
     1904
     1905        ac_retval=1
     1906fi
     1907  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1908  as_fn_set_status $ac_retval
     1909
     1910} # ac_fn_f77_try_compile
    15091911cat >config.log <<_ACEOF
    15101912This file contains any messages produced by compilers while
     
    15121914
    15131915It was created by RapptureOptimizer $as_me 1.0, which was
    1514 generated by GNU Autoconf 2.62.  Invocation command line was
     1916generated by GNU Autoconf 2.69.  Invocation command line was
    15151917
    15161918  $ $0 $@
     
    15481950  IFS=$as_save_IFS
    15491951  test -z "$as_dir" && as_dir=.
    1550   $as_echo "PATH: $as_dir"
    1551 done
     1952    $as_echo "PATH: $as_dir"
     1953  done
    15521954IFS=$as_save_IFS
    15531955
     
    15861988    esac
    15871989    case $ac_pass in
    1588     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1990    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15891991    2)
    1590       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1992      as_fn_append ac_configure_args1 " '$ac_arg'"
    15911993      if test $ac_must_keep_next = true; then
    15921994        ac_must_keep_next=false # Got value, back to normal.
     
    16042006        esac
    16052007      fi
    1606       ac_configure_args="$ac_configure_args '$ac_arg'"
     2008      as_fn_append ac_configure_args " '$ac_arg'"
    16072009      ;;
    16082010    esac
    16092011  done
    16102012done
    1611 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1612 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2013{ ac_configure_args0=; unset ac_configure_args0;}
     2014{ ac_configure_args1=; unset ac_configure_args1;}
    16132015
    16142016# When interrupted or exit'd, cleanup temporary files, and complete
     
    16222024    echo
    16232025
    1624     cat <<\_ASBOX
    1625 ## ---------------- ##
     2026    $as_echo "## ---------------- ##
    16262027## Cache variables. ##
    1627 ## ---------------- ##
    1628 _ASBOX
     2028## ---------------- ##"
    16292029    echo
    16302030    # The following way of writing the cache mishandles newlines in values,
     
    16352035    *${as_nl}*)
    16362036      case $ac_var in #(
    1637       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1638 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2037      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2038$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16392039      esac
    16402040      case $ac_var in #(
    16412041      _ | IFS | as_nl) ;; #(
    16422042      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1643       *) $as_unset $ac_var ;;
     2043      *) { eval $ac_var=; unset $ac_var;} ;;
    16442044      esac ;;
    16452045    esac
     
    16602060    echo
    16612061
    1662     cat <<\_ASBOX
    1663 ## ----------------- ##
     2062    $as_echo "## ----------------- ##
    16642063## Output variables. ##
    1665 ## ----------------- ##
    1666 _ASBOX
     2064## ----------------- ##"
    16672065    echo
    16682066    for ac_var in $ac_subst_vars
     
    16772075
    16782076    if test -n "$ac_subst_files"; then
    1679       cat <<\_ASBOX
    1680 ## ------------------- ##
     2077      $as_echo "## ------------------- ##
    16812078## File substitutions. ##
    1682 ## ------------------- ##
    1683 _ASBOX
     2079## ------------------- ##"
    16842080      echo
    16852081      for ac_var in $ac_subst_files
     
    16952091
    16962092    if test -s confdefs.h; then
    1697       cat <<\_ASBOX
    1698 ## ----------- ##
     2093      $as_echo "## ----------- ##
    16992094## confdefs.h. ##
    1700 ## ----------- ##
    1701 _ASBOX
     2095## ----------- ##"
    17022096      echo
    17032097      cat confdefs.h
     
    17132107' 0
    17142108for ac_signal in 1 2 13 15; do
    1715   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2109  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17162110done
    17172111ac_signal=0
     
    17202114rm -f -r conftest* confdefs.h
    17212115
     2116$as_echo "/* confdefs.h */" > confdefs.h
     2117
    17222118# Predefined preprocessor variables.
    17232119
     
    17262122_ACEOF
    17272123
    1728 
    17292124cat >>confdefs.h <<_ACEOF
    17302125#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17312126_ACEOF
    17322127
    1733 
    17342128cat >>confdefs.h <<_ACEOF
    17352129#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17362130_ACEOF
    17372131
    1738 
    17392132cat >>confdefs.h <<_ACEOF
    17402133#define PACKAGE_STRING "$PACKAGE_STRING"
    17412134_ACEOF
    17422135
    1743 
    17442136cat >>confdefs.h <<_ACEOF
    17452137#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2138_ACEOF
     2139
     2140cat >>confdefs.h <<_ACEOF
     2141#define PACKAGE_URL "$PACKAGE_URL"
    17462142_ACEOF
    17472143
     
    17522148ac_site_file2=NONE
    17532149if test -n "$CONFIG_SITE"; then
    1754   ac_site_file1=$CONFIG_SITE
     2150  # We do not want a PATH search for config.site.
     2151  case $CONFIG_SITE in #((
     2152    -*)  ac_site_file1=./$CONFIG_SITE;;
     2153    */*) ac_site_file1=$CONFIG_SITE;;
     2154    *)   ac_site_file1=./$CONFIG_SITE;;
     2155  esac
    17552156elif test "x$prefix" != xNONE; then
    17562157  ac_site_file1=$prefix/share/config.site
     
    17632164do
    17642165  test "x$ac_site_file" = xNONE && continue
    1765   if test -r "$ac_site_file"; then
    1766     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2166  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2167    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17672168$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17682169    sed 's/^/| /' "$ac_site_file" >&5
    1769     . "$ac_site_file"
     2170    . "$ac_site_file" \
     2171      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2173as_fn_error $? "failed to load site script $ac_site_file
     2174See \`config.log' for more details" "$LINENO" 5; }
    17702175  fi
    17712176done
    17722177
    17732178if test -r "$cache_file"; then
    1774   # Some versions of bash will fail to source /dev/null (special
    1775   # files actually), so we avoid doing that.
    1776   if test -f "$cache_file"; then
    1777     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2179  # Some versions of bash will fail to source /dev/null (special files
     2180  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2181  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2182    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17782183$as_echo "$as_me: loading cache $cache_file" >&6;}
    17792184    case $cache_file in
     
    17832188  fi
    17842189else
    1785   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2190  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17862191$as_echo "$as_me: creating cache $cache_file" >&6;}
    17872192  >$cache_file
     
    17982203  case $ac_old_set,$ac_new_set in
    17992204    set,)
    1800       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2205      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18012206$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18022207      ac_cache_corrupted=: ;;
    18032208    ,set)
    1804       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2209      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18052210$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18062211      ac_cache_corrupted=: ;;
     
    18122217        ac_new_val_w=`echo x $ac_new_val`
    18132218        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1814           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2219          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18152220$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18162221          ac_cache_corrupted=:
    18172222        else
    1818           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2223          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18192224$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18202225          eval $ac_var=\$ac_old_val
    18212226        fi
    1822         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2227        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18232228$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1824         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2229        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18252230$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18262231      fi;;
     
    18342239    case " $ac_configure_args " in
    18352240      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1836       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2241      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18372242    esac
    18382243  fi
    18392244done
    18402245if $ac_cache_corrupted; then
    1841   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2246  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2248  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18422249$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1843   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1844 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1845    { (exit 1); exit 1; }; }
    1846 fi
    1847 
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
     2250  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2251fi
     2252## -------------------- ##
     2253## Main body of script. ##
     2254## -------------------- ##
    18712255
    18722256ac_ext=c
     
    18782262
    18792263
     2264. ${exec_prefix}/lib/rapptureConfig.sh
     2265PACKAGE_VERSION=$RAPPTURE_VERSION
     2266PACKAGE_NAME=RapptureOptimzier
     2267
    18802268#--------------------------------------------------------------------
    18812269# Call TEA_INIT as the first TEA_ macro to set up initial vars.
     
    18892277    TEA_VERSION="3.5"
    18902278
    1891     { $as_echo "$as_me:$LINENO: checking for correct TEA configuration" >&5
     2279    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct TEA configuration" >&5
    18922280$as_echo_n "checking for correct TEA configuration... " >&6; }
    18932281    if test x"${PACKAGE_NAME}" = x ; then
    1894         { { $as_echo "$as_me:$LINENO: error:
    1895 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&5
    1896 $as_echo "$as_me: error:
    1897 The PACKAGE_NAME variable must be defined by your TEA configure.in" >&2;}
    1898    { (exit 1); exit 1; }; }
     2282        as_fn_error $? "
     2283The PACKAGE_NAME variable must be defined by your TEA configure.in" "$LINENO" 5
    18992284    fi
    19002285    if test x"3.5" = x ; then
    1901         { { $as_echo "$as_me:$LINENO: error:
    1902 TEA version not specified." >&5
    1903 $as_echo "$as_me: error:
    1904 TEA version not specified." >&2;}
    1905    { (exit 1); exit 1; }; }
     2286        as_fn_error $? "
     2287TEA version not specified." "$LINENO" 5
    19062288    elif test "3.5" != "${TEA_VERSION}" ; then
    1907         { $as_echo "$as_me:$LINENO: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5
     2289        { $as_echo "$as_me:${as_lineno-$LINENO}: result: warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&5
    19082290$as_echo "warning: requested TEA version \"3.5\", have \"${TEA_VERSION}\"" >&6; }
    19092291    else
    1910         { $as_echo "$as_me:$LINENO: result: ok (TEA ${TEA_VERSION})" >&5
     2292        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok (TEA ${TEA_VERSION})" >&5
    19112293$as_echo "ok (TEA ${TEA_VERSION})" >&6; }
    19122294    fi
     
    19152297            # Extract the first word of "cygpath", so it can be a program name with args.
    19162298set dummy cygpath; ac_word=$2
    1917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19182300$as_echo_n "checking for $ac_word... " >&6; }
    1919 if test "${ac_cv_prog_CYGPATH+set}" = set; then
     2301if ${ac_cv_prog_CYGPATH+:} false; then :
    19202302  $as_echo_n "(cached) " >&6
    19212303else
     
    19282310  IFS=$as_save_IFS
    19292311  test -z "$as_dir" && as_dir=.
    1930   for ac_exec_ext in '' $ac_executable_extensions; do
    1931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2312    for ac_exec_ext in '' $ac_executable_extensions; do
     2313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19322314    ac_cv_prog_CYGPATH="cygpath -w"
    1933     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19342316    break 2
    19352317  fi
    19362318done
    1937 done
     2319  done
    19382320IFS=$as_save_IFS
    19392321
     
    19432325CYGPATH=$ac_cv_prog_CYGPATH
    19442326if test -n "$CYGPATH"; then
    1945   { $as_echo "$as_me:$LINENO: result: $CYGPATH" >&5
     2327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CYGPATH" >&5
    19462328$as_echo "$CYGPATH" >&6; }
    19472329else
    1948   { $as_echo "$as_me:$LINENO: result: no" >&5
     2330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19492331$as_echo "no" >&6; }
    19502332fi
     
    20062388done
    20072389if test -z "$ac_aux_dir"; then
    2008   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&5
    2009 $as_echo "$as_me: error: cannot find install-sh or install.sh in tclconfig \"$srcdir\"/tclconfig" >&2;}
    2010    { (exit 1); exit 1; }; }
     2390  as_fn_error $? "cannot find install-sh, install.sh, or shtool in tclconfig \"$srcdir\"/tclconfig" "$LINENO" 5
    20112391fi
    20122392
     
    20382418
    20392419# Check whether --with-tcl was given.
    2040 if test "${with_tcl+set}" = set; then
     2420if test "${with_tcl+set}" = set; then :
    20412421  withval=$with_tcl; with_tclconfig=${withval}
    20422422fi
    20432423
    2044         { $as_echo "$as_me:$LINENO: checking for Tcl configuration" >&5
     2424        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl configuration" >&5
    20452425$as_echo_n "checking for Tcl configuration... " >&6; }
    2046         if test "${ac_cv_c_tclconfig+set}" = set; then
     2426        if ${ac_cv_c_tclconfig+:} false; then :
    20472427  $as_echo_n "(cached) " >&6
    20482428else
     
    20542434                    */tclConfig.sh )
    20552435                        if test -f ${with_tclconfig}; then
    2056                             { $as_echo "$as_me:$LINENO: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
     2436                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&5
    20572437$as_echo "$as_me: WARNING: --with-tcl argument should refer to directory containing tclConfig.sh, not to tclConfig.sh itself" >&2;}
    20582438                            with_tclconfig=`echo ${with_tclconfig} | sed 's!/tclConfig\.sh$!!'`
     
    20622442                    ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
    20632443                else
    2064                     { { $as_echo "$as_me:$LINENO: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&5
    2065 $as_echo "$as_me: error: ${with_tclconfig} directory doesn't contain tclConfig.sh" >&2;}
    2066    { (exit 1); exit 1; }; }
     2444                    as_fn_error $? "${with_tclconfig} directory doesn't contain tclConfig.sh" "$LINENO" 5
    20672445                fi
    20682446            fi
     
    21522530        if test x"${ac_cv_c_tclconfig}" = x ; then
    21532531            TCL_BIN_DIR="# no Tcl configs found"
    2154             { $as_echo "$as_me:$LINENO: WARNING: Can't find Tcl configuration definitions" >&5
     2532            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find Tcl configuration definitions" >&5
    21552533$as_echo "$as_me: WARNING: Can't find Tcl configuration definitions" >&2;}
    21562534            exit 0
     
    21582536            no_tcl=
    21592537            TCL_BIN_DIR=${ac_cv_c_tclconfig}
    2160             { $as_echo "$as_me:$LINENO: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2538            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21612539$as_echo "found ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
    21622540        fi
     
    21642542
    21652543
    2166     { $as_echo "$as_me:$LINENO: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2544    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for existence of ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21672545$as_echo_n "checking for existence of ${TCL_BIN_DIR}/tclConfig.sh... " >&6; }
    21682546
    21692547    if test -f "${TCL_BIN_DIR}/tclConfig.sh" ; then
    2170         { $as_echo "$as_me:$LINENO: result: loading" >&5
     2548        { $as_echo "$as_me:${as_lineno-$LINENO}: result: loading" >&5
    21712549$as_echo "loading" >&6; }
    21722550        . ${TCL_BIN_DIR}/tclConfig.sh
    21732551    else
    2174         { $as_echo "$as_me:$LINENO: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
     2552        { $as_echo "$as_me:${as_lineno-$LINENO}: result: could not find ${TCL_BIN_DIR}/tclConfig.sh" >&5
    21752553$as_echo "could not find ${TCL_BIN_DIR}/tclConfig.sh" >&6; }
    21762554    fi
     
    22542632        prefix_default=yes
    22552633        if test x"${TCL_PREFIX}" != x; then
    2256             { $as_echo "$as_me:$LINENO: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5
     2634            { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&5
    22572635$as_echo "$as_me: --prefix defaulting to TCL_PREFIX ${TCL_PREFIX}" >&6;}
    22582636            prefix=${TCL_PREFIX}
    22592637        else
    2260             { $as_echo "$as_me:$LINENO: --prefix defaulting to /usr/local" >&5
     2638            { $as_echo "$as_me:${as_lineno-$LINENO}: --prefix defaulting to /usr/local" >&5
    22612639$as_echo "$as_me: --prefix defaulting to /usr/local" >&6;}
    22622640            prefix=/usr/local
     
    22662644        -o x"${exec_prefix_default}" = x"yes" ; then
    22672645        if test x"${TCL_EXEC_PREFIX}" != x; then
    2268             { $as_echo "$as_me:$LINENO: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5
     2646            { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&5
    22692647$as_echo "$as_me: --exec-prefix defaulting to TCL_EXEC_PREFIX ${TCL_EXEC_PREFIX}" >&6;}
    22702648            exec_prefix=${TCL_EXEC_PREFIX}
    22712649        else
    2272             { $as_echo "$as_me:$LINENO: --exec-prefix defaulting to ${prefix}" >&5
     2650            { $as_echo "$as_me:${as_lineno-$LINENO}: --exec-prefix defaulting to ${prefix}" >&5
    22732651$as_echo "$as_me: --exec-prefix defaulting to ${prefix}" >&6;}
    22742652            exec_prefix=$prefix
     
    22842662#-----------------------------------------------------------------------
    22852663
    2286 
    2287     # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE)
    2288     # in this macro, they need to go into TEA_SETUP_COMPILER instead.
    2289 
    2290     # If the user did not set CFLAGS, set it now to keep
    2291     # the AC_PROG_CC macro from adding "-g -O2".
    2292     if test "${CFLAGS+set}" != "set" ; then
    2293         CFLAGS=""
    2294     fi
    2295 
    2296     ac_ext=c
    2297 ac_cpp='$CPP $CPPFLAGS'
    2298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2301 if test -n "$ac_tool_prefix"; then
    2302   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    2303 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2305 $as_echo_n "checking for $ac_word... " >&6; }
    2306 if test "${ac_cv_prog_CC+set}" = set; then
    2307   $as_echo_n "(cached) " >&6
    2308 else
    2309   if test -n "$CC"; then
    2310   ac_cv_prog_CC="$CC" # Let the user override the test.
    2311 else
    2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2313 for as_dir in $PATH
    2314 do
    2315   IFS=$as_save_IFS
    2316   test -z "$as_dir" && as_dir=.
    2317   for ac_exec_ext in '' $ac_executable_extensions; do
    2318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2319     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2321     break 2
    2322   fi
    2323 done
    2324 done
    2325 IFS=$as_save_IFS
    2326 
    2327 fi
    2328 fi
    2329 CC=$ac_cv_prog_CC
    2330 if test -n "$CC"; then
    2331   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2332 $as_echo "$CC" >&6; }
    2333 else
    2334   { $as_echo "$as_me:$LINENO: result: no" >&5
    2335 $as_echo "no" >&6; }
    2336 fi
    2337 
    2338 
    2339 fi
    2340 if test -z "$ac_cv_prog_CC"; then
    2341   ac_ct_CC=$CC
    2342   # Extract the first word of "gcc", so it can be a program name with args.
    2343 set dummy gcc; ac_word=$2
    2344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2345 $as_echo_n "checking for $ac_word... " >&6; }
    2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2347   $as_echo_n "(cached) " >&6
    2348 else
    2349   if test -n "$ac_ct_CC"; then
    2350   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2351 else
    2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2353 for as_dir in $PATH
    2354 do
    2355   IFS=$as_save_IFS
    2356   test -z "$as_dir" && as_dir=.
    2357   for ac_exec_ext in '' $ac_executable_extensions; do
    2358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2359     ac_cv_prog_ac_ct_CC="gcc"
    2360     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2361     break 2
    2362   fi
    2363 done
    2364 done
    2365 IFS=$as_save_IFS
    2366 
    2367 fi
    2368 fi
    2369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2370 if test -n "$ac_ct_CC"; then
    2371   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2372 $as_echo "$ac_ct_CC" >&6; }
    2373 else
    2374   { $as_echo "$as_me:$LINENO: result: no" >&5
    2375 $as_echo "no" >&6; }
    2376 fi
    2377 
    2378   if test "x$ac_ct_CC" = x; then
    2379     CC=""
    2380   else
    2381     case $cross_compiling:$ac_tool_warned in
    2382 yes:)
    2383 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2384 whose name does not start with the host triplet.  If you think this
    2385 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2386 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2387 whose name does not start with the host triplet.  If you think this
    2388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2389 ac_tool_warned=yes ;;
    2390 esac
    2391     CC=$ac_ct_CC
    2392   fi
    2393 else
    2394   CC="$ac_cv_prog_CC"
    2395 fi
    2396 
    2397 if test -z "$CC"; then
    2398           if test -n "$ac_tool_prefix"; then
    2399     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
    2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2402 $as_echo_n "checking for $ac_word... " >&6; }
    2403 if test "${ac_cv_prog_CC+set}" = set; then
    2404   $as_echo_n "(cached) " >&6
    2405 else
    2406   if test -n "$CC"; then
    2407   ac_cv_prog_CC="$CC" # Let the user override the test.
    2408 else
    2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2410 for as_dir in $PATH
    2411 do
    2412   IFS=$as_save_IFS
    2413   test -z "$as_dir" && as_dir=.
    2414   for ac_exec_ext in '' $ac_executable_extensions; do
    2415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2416     ac_cv_prog_CC="${ac_tool_prefix}cc"
    2417     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2418     break 2
    2419   fi
    2420 done
    2421 done
    2422 IFS=$as_save_IFS
    2423 
    2424 fi
    2425 fi
    2426 CC=$ac_cv_prog_CC
    2427 if test -n "$CC"; then
    2428   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2429 $as_echo "$CC" >&6; }
    2430 else
    2431   { $as_echo "$as_me:$LINENO: result: no" >&5
    2432 $as_echo "no" >&6; }
    2433 fi
    2434 
    2435 
    2436   fi
    2437 fi
    2438 if test -z "$CC"; then
    2439   # Extract the first word of "cc", so it can be a program name with args.
    2440 set dummy cc; ac_word=$2
    2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2442 $as_echo_n "checking for $ac_word... " >&6; }
    2443 if test "${ac_cv_prog_CC+set}" = set; then
    2444   $as_echo_n "(cached) " >&6
    2445 else
    2446   if test -n "$CC"; then
    2447   ac_cv_prog_CC="$CC" # Let the user override the test.
    2448 else
    2449   ac_prog_rejected=no
    2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2451 for as_dir in $PATH
    2452 do
    2453   IFS=$as_save_IFS
    2454   test -z "$as_dir" && as_dir=.
    2455   for ac_exec_ext in '' $ac_executable_extensions; do
    2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2457     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    2458        ac_prog_rejected=yes
    2459        continue
    2460      fi
    2461     ac_cv_prog_CC="cc"
    2462     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2463     break 2
    2464   fi
    2465 done
    2466 done
    2467 IFS=$as_save_IFS
    2468 
    2469 if test $ac_prog_rejected = yes; then
    2470   # We found a bogon in the path, so make sure we never use it.
    2471   set dummy $ac_cv_prog_CC
    2472   shift
    2473   if test $# != 0; then
    2474     # We chose a different compiler from the bogus one.
    2475     # However, it has the same basename, so the bogon will be chosen
    2476     # first if we set CC to just the basename; use the full file name.
    2477     shift
    2478     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    2479   fi
    2480 fi
    2481 fi
    2482 fi
    2483 CC=$ac_cv_prog_CC
    2484 if test -n "$CC"; then
    2485   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2486 $as_echo "$CC" >&6; }
    2487 else
    2488   { $as_echo "$as_me:$LINENO: result: no" >&5
    2489 $as_echo "no" >&6; }
    2490 fi
    2491 
    2492 
    2493 fi
    2494 if test -z "$CC"; then
    2495   if test -n "$ac_tool_prefix"; then
    2496   for ac_prog in cl.exe
    2497   do
    2498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2500 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2501 $as_echo_n "checking for $ac_word... " >&6; }
    2502 if test "${ac_cv_prog_CC+set}" = set; then
    2503   $as_echo_n "(cached) " >&6
    2504 else
    2505   if test -n "$CC"; then
    2506   ac_cv_prog_CC="$CC" # Let the user override the test.
    2507 else
    2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2509 for as_dir in $PATH
    2510 do
    2511   IFS=$as_save_IFS
    2512   test -z "$as_dir" && as_dir=.
    2513   for ac_exec_ext in '' $ac_executable_extensions; do
    2514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2515     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2516     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2517     break 2
    2518   fi
    2519 done
    2520 done
    2521 IFS=$as_save_IFS
    2522 
    2523 fi
    2524 fi
    2525 CC=$ac_cv_prog_CC
    2526 if test -n "$CC"; then
    2527   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2528 $as_echo "$CC" >&6; }
    2529 else
    2530   { $as_echo "$as_me:$LINENO: result: no" >&5
    2531 $as_echo "no" >&6; }
    2532 fi
    2533 
    2534 
    2535     test -n "$CC" && break
    2536   done
    2537 fi
    2538 if test -z "$CC"; then
    2539   ac_ct_CC=$CC
    2540   for ac_prog in cl.exe
    2541 do
    2542   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2543 set dummy $ac_prog; ac_word=$2
    2544 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2545 $as_echo_n "checking for $ac_word... " >&6; }
    2546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2547   $as_echo_n "(cached) " >&6
    2548 else
    2549   if test -n "$ac_ct_CC"; then
    2550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    2551 else
    2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2553 for as_dir in $PATH
    2554 do
    2555   IFS=$as_save_IFS
    2556   test -z "$as_dir" && as_dir=.
    2557   for ac_exec_ext in '' $ac_executable_extensions; do
    2558   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2559     ac_cv_prog_ac_ct_CC="$ac_prog"
    2560     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2561     break 2
    2562   fi
    2563 done
    2564 done
    2565 IFS=$as_save_IFS
    2566 
    2567 fi
    2568 fi
    2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    2570 if test -n "$ac_ct_CC"; then
    2571   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2572 $as_echo "$ac_ct_CC" >&6; }
    2573 else
    2574   { $as_echo "$as_me:$LINENO: result: no" >&5
    2575 $as_echo "no" >&6; }
    2576 fi
    2577 
    2578 
    2579   test -n "$ac_ct_CC" && break
    2580 done
    2581 
    2582   if test "x$ac_ct_CC" = x; then
    2583     CC=""
    2584   else
    2585     case $cross_compiling:$ac_tool_warned in
    2586 yes:)
    2587 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2588 whose name does not start with the host triplet.  If you think this
    2589 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2590 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2591 whose name does not start with the host triplet.  If you think this
    2592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    2593 ac_tool_warned=yes ;;
    2594 esac
    2595     CC=$ac_ct_CC
    2596   fi
    2597 fi
    2598 
    2599 fi
    2600 
    2601 
    2602 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2603 See \`config.log' for more details." >&5
    2604 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2605 See \`config.log' for more details." >&2;}
    2606    { (exit 1); exit 1; }; }
    2607 
    2608 # Provide some information about the compiler.
    2609 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    2610 set X $ac_compile
    2611 ac_compiler=$2
    2612 { (ac_try="$ac_compiler --version >&5"
    2613 case "(($ac_try" in
    2614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2615   *) ac_try_echo=$ac_try;;
    2616 esac
    2617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2618 $as_echo "$ac_try_echo") >&5
    2619   (eval "$ac_compiler --version >&5") 2>&5
    2620   ac_status=$?
    2621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2622   (exit $ac_status); }
    2623 { (ac_try="$ac_compiler -v >&5"
    2624 case "(($ac_try" in
    2625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2626   *) ac_try_echo=$ac_try;;
    2627 esac
    2628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2629 $as_echo "$ac_try_echo") >&5
    2630   (eval "$ac_compiler -v >&5") 2>&5
    2631   ac_status=$?
    2632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2633   (exit $ac_status); }
    2634 { (ac_try="$ac_compiler -V >&5"
    2635 case "(($ac_try" in
    2636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2637   *) ac_try_echo=$ac_try;;
    2638 esac
    2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2640 $as_echo "$ac_try_echo") >&5
    2641   (eval "$ac_compiler -V >&5") 2>&5
    2642   ac_status=$?
    2643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2644   (exit $ac_status); }
    2645 
    2646 cat >conftest.$ac_ext <<_ACEOF
    2647 /* confdefs.h.  */
    2648 _ACEOF
    2649 cat confdefs.h >>conftest.$ac_ext
    2650 cat >>conftest.$ac_ext <<_ACEOF
    2651 /* end confdefs.h.  */
    2652 
    2653 int
    2654 main ()
    2655 {
    2656 
    2657   ;
    2658   return 0;
    2659 }
    2660 _ACEOF
    2661 ac_clean_files_save=$ac_clean_files
    2662 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    2663 # Try to create an executable without -o first, disregard a.out.
    2664 # It will help us diagnose broken compilers, and finding out an intuition
    2665 # of exeext.
    2666 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2667 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2668 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2669 
    2670 # The possible output files:
    2671 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2672 
    2673 ac_rmfiles=
    2674 for ac_file in $ac_files
    2675 do
    2676   case $ac_file in
    2677     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2678     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2679   esac
    2680 done
    2681 rm -f $ac_rmfiles
    2682 
    2683 if { (ac_try="$ac_link_default"
    2684 case "(($ac_try" in
    2685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2686   *) ac_try_echo=$ac_try;;
    2687 esac
    2688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2689 $as_echo "$ac_try_echo") >&5
    2690   (eval "$ac_link_default") 2>&5
    2691   ac_status=$?
    2692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2693   (exit $ac_status); }; then
    2694   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    2695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
    2696 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
    2697 # so that the user can short-circuit this test for compilers unknown to
    2698 # Autoconf.
    2699 for ac_file in $ac_files ''
    2700 do
    2701   test -f "$ac_file" || continue
    2702   case $ac_file in
    2703     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    2704         ;;
    2705     [ab].out )
    2706         # We found the default executable, but exeext='' is most
    2707         # certainly right.
    2708         break;;
    2709     *.* )
    2710         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    2711         then :; else
    2712            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2713         fi
    2714         # We set ac_cv_exeext here because the later test for it is not
    2715         # safe: cross compilers may not add the suffix if given an `-o'
    2716         # argument, so we may need to know it at that point already.
    2717         # Even if this section looks crufty: it has the advantage of
    2718         # actually working.
    2719         break;;
    2720     * )
    2721         break;;
    2722   esac
    2723 done
    2724 test "$ac_cv_exeext" = no && ac_cv_exeext=
    2725 
    2726 else
    2727   ac_file=''
    2728 fi
    2729 
    2730 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
    2731 $as_echo "$ac_file" >&6; }
    2732 if test -z "$ac_file"; then
    2733   $as_echo "$as_me: failed program was:" >&5
    2734 sed 's/^/| /' conftest.$ac_ext >&5
    2735 
    2736 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2737 See \`config.log' for more details." >&5
    2738 $as_echo "$as_me: error: C compiler cannot create executables
    2739 See \`config.log' for more details." >&2;}
    2740    { (exit 77); exit 77; }; }
    2741 fi
    2742 
    2743 ac_exeext=$ac_cv_exeext
    2744 
    2745 # Check that the compiler produces executables we can run.  If not, either
    2746 # the compiler is broken, or we cross compile.
    2747 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2748 $as_echo_n "checking whether the C compiler works... " >&6; }
    2749 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2750 # If not cross compiling, check that we can run a simple program.
    2751 if test "$cross_compiling" != yes; then
    2752   if { ac_try='./$ac_file'
    2753   { (case "(($ac_try" in
    2754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2755   *) ac_try_echo=$ac_try;;
    2756 esac
    2757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2758 $as_echo "$ac_try_echo") >&5
    2759   (eval "$ac_try") 2>&5
    2760   ac_status=$?
    2761   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2762   (exit $ac_status); }; }; then
    2763     cross_compiling=no
    2764   else
    2765     if test "$cross_compiling" = maybe; then
    2766         cross_compiling=yes
    2767     else
    2768         { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2769 If you meant to cross compile, use \`--host'.
    2770 See \`config.log' for more details." >&5
    2771 $as_echo "$as_me: error: cannot run C compiled programs.
    2772 If you meant to cross compile, use \`--host'.
    2773 See \`config.log' for more details." >&2;}
    2774    { (exit 1); exit 1; }; }
    2775     fi
    2776   fi
    2777 fi
    2778 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2779 $as_echo "yes" >&6; }
    2780 
    2781 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    2782 ac_clean_files=$ac_clean_files_save
    2783 # Check that the compiler produces executables we can run.  If not, either
    2784 # the compiler is broken, or we cross compile.
    2785 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2786 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2787 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2788 $as_echo "$cross_compiling" >&6; }
    2789 
    2790 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2791 $as_echo_n "checking for suffix of executables... " >&6; }
    2792 if { (ac_try="$ac_link"
    2793 case "(($ac_try" in
    2794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2795   *) ac_try_echo=$ac_try;;
    2796 esac
    2797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2798 $as_echo "$ac_try_echo") >&5
    2799   (eval "$ac_link") 2>&5
    2800   ac_status=$?
    2801   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2802   (exit $ac_status); }; then
    2803   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    2804 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
    2806 # `rm'.
    2807 for ac_file in conftest.exe conftest conftest.*; do
    2808   test -f "$ac_file" || continue
    2809   case $ac_file in
    2810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    2811     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2812           break;;
    2813     * ) break;;
    2814   esac
    2815 done
    2816 else
    2817   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2818 See \`config.log' for more details." >&5
    2819 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2820 See \`config.log' for more details." >&2;}
    2821    { (exit 1); exit 1; }; }
    2822 fi
    2823 
    2824 rm -f conftest$ac_cv_exeext
    2825 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2826 $as_echo "$ac_cv_exeext" >&6; }
    2827 
    2828 rm -f conftest.$ac_ext
    2829 EXEEXT=$ac_cv_exeext
    2830 ac_exeext=$EXEEXT
    2831 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2832 $as_echo_n "checking for suffix of object files... " >&6; }
    2833 if test "${ac_cv_objext+set}" = set; then
    2834   $as_echo_n "(cached) " >&6
    2835 else
    2836   cat >conftest.$ac_ext <<_ACEOF
    2837 /* confdefs.h.  */
    2838 _ACEOF
    2839 cat confdefs.h >>conftest.$ac_ext
    2840 cat >>conftest.$ac_ext <<_ACEOF
    2841 /* end confdefs.h.  */
    2842 
    2843 int
    2844 main ()
    2845 {
    2846 
    2847   ;
    2848   return 0;
    2849 }
    2850 _ACEOF
    2851 rm -f conftest.o conftest.obj
    2852 if { (ac_try="$ac_compile"
    2853 case "(($ac_try" in
    2854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2855   *) ac_try_echo=$ac_try;;
    2856 esac
    2857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2858 $as_echo "$ac_try_echo") >&5
    2859   (eval "$ac_compile") 2>&5
    2860   ac_status=$?
    2861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); }; then
    2863   for ac_file in conftest.o conftest.obj conftest.*; do
    2864   test -f "$ac_file" || continue;
    2865   case $ac_file in
    2866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    2867     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    2868        break;;
    2869   esac
    2870 done
    2871 else
    2872   $as_echo "$as_me: failed program was:" >&5
    2873 sed 's/^/| /' conftest.$ac_ext >&5
    2874 
    2875 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2876 See \`config.log' for more details." >&5
    2877 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2878 See \`config.log' for more details." >&2;}
    2879    { (exit 1); exit 1; }; }
    2880 fi
    2881 
    2882 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2883 fi
    2884 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2885 $as_echo "$ac_cv_objext" >&6; }
    2886 OBJEXT=$ac_cv_objext
    2887 ac_objext=$OBJEXT
    2888 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2889 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2890 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2891   $as_echo_n "(cached) " >&6
    2892 else
    2893   cat >conftest.$ac_ext <<_ACEOF
    2894 /* confdefs.h.  */
    2895 _ACEOF
    2896 cat confdefs.h >>conftest.$ac_ext
    2897 cat >>conftest.$ac_ext <<_ACEOF
    2898 /* end confdefs.h.  */
    2899 
    2900 int
    2901 main ()
    2902 {
    2903 #ifndef __GNUC__
    2904        choke me
    2905 #endif
    2906 
    2907   ;
    2908   return 0;
    2909 }
    2910 _ACEOF
    2911 rm -f conftest.$ac_objext
    2912 if { (ac_try="$ac_compile"
    2913 case "(($ac_try" in
    2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2915   *) ac_try_echo=$ac_try;;
    2916 esac
    2917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2918 $as_echo "$ac_try_echo") >&5
    2919   (eval "$ac_compile") 2>conftest.er1
    2920   ac_status=$?
    2921   grep -v '^ *+' conftest.er1 >conftest.err
    2922   rm -f conftest.er1
    2923   cat conftest.err >&5
    2924   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2925   (exit $ac_status); } && {
    2926          test -z "$ac_c_werror_flag" ||
    2927          test ! -s conftest.err
    2928        } && test -s conftest.$ac_objext; then
    2929   ac_compiler_gnu=yes
    2930 else
    2931   $as_echo "$as_me: failed program was:" >&5
    2932 sed 's/^/| /' conftest.$ac_ext >&5
    2933 
    2934         ac_compiler_gnu=no
    2935 fi
    2936 
    2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2938 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2939 
    2940 fi
    2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2942 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    2943 if test $ac_compiler_gnu = yes; then
    2944   GCC=yes
    2945 else
    2946   GCC=
    2947 fi
    2948 ac_test_CFLAGS=${CFLAGS+set}
    2949 ac_save_CFLAGS=$CFLAGS
    2950 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2951 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    2952 if test "${ac_cv_prog_cc_g+set}" = set; then
    2953   $as_echo_n "(cached) " >&6
    2954 else
    2955   ac_save_c_werror_flag=$ac_c_werror_flag
    2956    ac_c_werror_flag=yes
    2957    ac_cv_prog_cc_g=no
    2958    CFLAGS="-g"
    2959    cat >conftest.$ac_ext <<_ACEOF
    2960 /* confdefs.h.  */
    2961 _ACEOF
    2962 cat confdefs.h >>conftest.$ac_ext
    2963 cat >>conftest.$ac_ext <<_ACEOF
    2964 /* end confdefs.h.  */
    2965 
    2966 int
    2967 main ()
    2968 {
    2969 
    2970   ;
    2971   return 0;
    2972 }
    2973 _ACEOF
    2974 rm -f conftest.$ac_objext
    2975 if { (ac_try="$ac_compile"
    2976 case "(($ac_try" in
    2977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2978   *) ac_try_echo=$ac_try;;
    2979 esac
    2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2981 $as_echo "$ac_try_echo") >&5
    2982   (eval "$ac_compile") 2>conftest.er1
    2983   ac_status=$?
    2984   grep -v '^ *+' conftest.er1 >conftest.err
    2985   rm -f conftest.er1
    2986   cat conftest.err >&5
    2987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2988   (exit $ac_status); } && {
    2989          test -z "$ac_c_werror_flag" ||
    2990          test ! -s conftest.err
    2991        } && test -s conftest.$ac_objext; then
    2992   ac_cv_prog_cc_g=yes
    2993 else
    2994   $as_echo "$as_me: failed program was:" >&5
    2995 sed 's/^/| /' conftest.$ac_ext >&5
    2996 
    2997         CFLAGS=""
    2998       cat >conftest.$ac_ext <<_ACEOF
    2999 /* confdefs.h.  */
    3000 _ACEOF
    3001 cat confdefs.h >>conftest.$ac_ext
    3002 cat >>conftest.$ac_ext <<_ACEOF
    3003 /* end confdefs.h.  */
    3004 
    3005 int
    3006 main ()
    3007 {
    3008 
    3009   ;
    3010   return 0;
    3011 }
    3012 _ACEOF
    3013 rm -f conftest.$ac_objext
    3014 if { (ac_try="$ac_compile"
    3015 case "(($ac_try" in
    3016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3017   *) ac_try_echo=$ac_try;;
    3018 esac
    3019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3020 $as_echo "$ac_try_echo") >&5
    3021   (eval "$ac_compile") 2>conftest.er1
    3022   ac_status=$?
    3023   grep -v '^ *+' conftest.er1 >conftest.err
    3024   rm -f conftest.er1
    3025   cat conftest.err >&5
    3026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3027   (exit $ac_status); } && {
    3028          test -z "$ac_c_werror_flag" ||
    3029          test ! -s conftest.err
    3030        } && test -s conftest.$ac_objext; then
    3031   :
    3032 else
    3033   $as_echo "$as_me: failed program was:" >&5
    3034 sed 's/^/| /' conftest.$ac_ext >&5
    3035 
    3036         ac_c_werror_flag=$ac_save_c_werror_flag
    3037          CFLAGS="-g"
    3038          cat >conftest.$ac_ext <<_ACEOF
    3039 /* confdefs.h.  */
    3040 _ACEOF
    3041 cat confdefs.h >>conftest.$ac_ext
    3042 cat >>conftest.$ac_ext <<_ACEOF
    3043 /* end confdefs.h.  */
    3044 
    3045 int
    3046 main ()
    3047 {
    3048 
    3049   ;
    3050   return 0;
    3051 }
    3052 _ACEOF
    3053 rm -f conftest.$ac_objext
    3054 if { (ac_try="$ac_compile"
    3055 case "(($ac_try" in
    3056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3057   *) ac_try_echo=$ac_try;;
    3058 esac
    3059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3060 $as_echo "$ac_try_echo") >&5
    3061   (eval "$ac_compile") 2>conftest.er1
    3062   ac_status=$?
    3063   grep -v '^ *+' conftest.er1 >conftest.err
    3064   rm -f conftest.er1
    3065   cat conftest.err >&5
    3066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3067   (exit $ac_status); } && {
    3068          test -z "$ac_c_werror_flag" ||
    3069          test ! -s conftest.err
    3070        } && test -s conftest.$ac_objext; then
    3071   ac_cv_prog_cc_g=yes
    3072 else
    3073   $as_echo "$as_me: failed program was:" >&5
    3074 sed 's/^/| /' conftest.$ac_ext >&5
    3075 
    3076 
    3077 fi
    3078 
    3079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3080 fi
    3081 
    3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3083 fi
    3084 
    3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3086    ac_c_werror_flag=$ac_save_c_werror_flag
    3087 fi
    3088 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    3089 $as_echo "$ac_cv_prog_cc_g" >&6; }
    3090 if test "$ac_test_CFLAGS" = set; then
    3091   CFLAGS=$ac_save_CFLAGS
    3092 elif test $ac_cv_prog_cc_g = yes; then
    3093   if test "$GCC" = yes; then
    3094     CFLAGS="-g -O2"
    3095   else
    3096     CFLAGS="-g"
    3097   fi
    3098 else
    3099   if test "$GCC" = yes; then
    3100     CFLAGS="-O2"
    3101   else
    3102     CFLAGS=
    3103   fi
    3104 fi
    3105 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    3106 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3107 if test "${ac_cv_prog_cc_c89+set}" = set; then
    3108   $as_echo_n "(cached) " >&6
    3109 else
    3110   ac_cv_prog_cc_c89=no
    3111 ac_save_CC=$CC
    3112 cat >conftest.$ac_ext <<_ACEOF
    3113 /* confdefs.h.  */
    3114 _ACEOF
    3115 cat confdefs.h >>conftest.$ac_ext
    3116 cat >>conftest.$ac_ext <<_ACEOF
    3117 /* end confdefs.h.  */
    3118 #include <stdarg.h>
    3119 #include <stdio.h>
    3120 #include <sys/types.h>
    3121 #include <sys/stat.h>
    3122 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    3123 struct buf { int x; };
    3124 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    3125 static char *e (p, i)
    3126      char **p;
    3127      int i;
    3128 {
    3129   return p[i];
    3130 }
    3131 static char *f (char * (*g) (char **, int), char **p, ...)
    3132 {
    3133   char *s;
    3134   va_list v;
    3135   va_start (v,p);
    3136   s = g (p, va_arg (v,int));
    3137   va_end (v);
    3138   return s;
    3139 }
    3140 
    3141 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    3142    function prototypes and stuff, but not '\xHH' hex character constants.
    3143    These don't provoke an error unfortunately, instead are silently treated
    3144    as 'x'.  The following induces an error, until -std is added to get
    3145    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    3146    array size at least.  It's necessary to write '\x00'==0 to get something
    3147    that's true only with -std.  */
    3148 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    3149 
    3150 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    3151    inside strings and character constants.  */
    3152 #define FOO(x) 'x'
    3153 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    3154 
    3155 int test (int i, double x);
    3156 struct s1 {int (*f) (int a);};
    3157 struct s2 {int (*f) (double a);};
    3158 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    3159 int argc;
    3160 char **argv;
    3161 int
    3162 main ()
    3163 {
    3164 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    3165   ;
    3166   return 0;
    3167 }
    3168 _ACEOF
    3169 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    3170         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    3171 do
    3172   CC="$ac_save_CC $ac_arg"
    3173   rm -f conftest.$ac_objext
    3174 if { (ac_try="$ac_compile"
    3175 case "(($ac_try" in
    3176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3177   *) ac_try_echo=$ac_try;;
    3178 esac
    3179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3180 $as_echo "$ac_try_echo") >&5
    3181   (eval "$ac_compile") 2>conftest.er1
    3182   ac_status=$?
    3183   grep -v '^ *+' conftest.er1 >conftest.err
    3184   rm -f conftest.er1
    3185   cat conftest.err >&5
    3186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3187   (exit $ac_status); } && {
    3188          test -z "$ac_c_werror_flag" ||
    3189          test ! -s conftest.err
    3190        } && test -s conftest.$ac_objext; then
    3191   ac_cv_prog_cc_c89=$ac_arg
    3192 else
    3193   $as_echo "$as_me: failed program was:" >&5
    3194 sed 's/^/| /' conftest.$ac_ext >&5
    3195 
    3196 
    3197 fi
    3198 
    3199 rm -f core conftest.err conftest.$ac_objext
    3200   test "x$ac_cv_prog_cc_c89" != "xno" && break
    3201 done
    3202 rm -f conftest.$ac_ext
    3203 CC=$ac_save_CC
    3204 
    3205 fi
    3206 # AC_CACHE_VAL
    3207 case "x$ac_cv_prog_cc_c89" in
    3208   x)
    3209     { $as_echo "$as_me:$LINENO: result: none needed" >&5
    3210 $as_echo "none needed" >&6; } ;;
    3211   xno)
    3212     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    3213 $as_echo "unsupported" >&6; } ;;
    3214   *)
    3215     CC="$CC $ac_cv_prog_cc_c89"
    3216     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    3217 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    3218 esac
    3219 
    3220 
    3221 ac_ext=c
    3222 ac_cpp='$CPP $CPPFLAGS'
    3223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3226 
    3227     ac_ext=cpp
    3228 ac_cpp='$CXXCPP $CPPFLAGS'
    3229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3232 if test -z "$CXX"; then
    3233   if test -n "$CCC"; then
    3234     CXX=$CCC
    3235   else
    3236     if test -n "$ac_tool_prefix"; then
    3237   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    3238   do
    3239     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3242 $as_echo_n "checking for $ac_word... " >&6; }
    3243 if test "${ac_cv_prog_CXX+set}" = set; then
    3244   $as_echo_n "(cached) " >&6
    3245 else
    3246   if test -n "$CXX"; then
    3247   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    3248 else
    3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3250 for as_dir in $PATH
    3251 do
    3252   IFS=$as_save_IFS
    3253   test -z "$as_dir" && as_dir=.
    3254   for ac_exec_ext in '' $ac_executable_extensions; do
    3255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3256     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3257     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3258     break 2
    3259   fi
    3260 done
    3261 done
    3262 IFS=$as_save_IFS
    3263 
    3264 fi
    3265 fi
    3266 CXX=$ac_cv_prog_CXX
    3267 if test -n "$CXX"; then
    3268   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    3269 $as_echo "$CXX" >&6; }
    3270 else
    3271   { $as_echo "$as_me:$LINENO: result: no" >&5
    3272 $as_echo "no" >&6; }
    3273 fi
    3274 
    3275 
    3276     test -n "$CXX" && break
    3277   done
    3278 fi
    3279 if test -z "$CXX"; then
    3280   ac_ct_CXX=$CXX
    3281   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    3282 do
    3283   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3284 set dummy $ac_prog; ac_word=$2
    3285 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3286 $as_echo_n "checking for $ac_word... " >&6; }
    3287 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3288   $as_echo_n "(cached) " >&6
    3289 else
    3290   if test -n "$ac_ct_CXX"; then
    3291   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    3292 else
    3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3294 for as_dir in $PATH
    3295 do
    3296   IFS=$as_save_IFS
    3297   test -z "$as_dir" && as_dir=.
    3298   for ac_exec_ext in '' $ac_executable_extensions; do
    3299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3300     ac_cv_prog_ac_ct_CXX="$ac_prog"
    3301     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3302     break 2
    3303   fi
    3304 done
    3305 done
    3306 IFS=$as_save_IFS
    3307 
    3308 fi
    3309 fi
    3310 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    3311 if test -n "$ac_ct_CXX"; then
    3312   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3313 $as_echo "$ac_ct_CXX" >&6; }
    3314 else
    3315   { $as_echo "$as_me:$LINENO: result: no" >&5
    3316 $as_echo "no" >&6; }
    3317 fi
    3318 
    3319 
    3320   test -n "$ac_ct_CXX" && break
    3321 done
    3322 
    3323   if test "x$ac_ct_CXX" = x; then
    3324     CXX="g++"
    3325   else
    3326     case $cross_compiling:$ac_tool_warned in
    3327 yes:)
    3328 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3329 whose name does not start with the host triplet.  If you think this
    3330 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3331 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3332 whose name does not start with the host triplet.  If you think this
    3333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    3334 ac_tool_warned=yes ;;
    3335 esac
    3336     CXX=$ac_ct_CXX
    3337   fi
    3338 fi
    3339 
    3340   fi
    3341 fi
    3342 # Provide some information about the compiler.
    3343 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3344 set X $ac_compile
    3345 ac_compiler=$2
    3346 { (ac_try="$ac_compiler --version >&5"
    3347 case "(($ac_try" in
    3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3349   *) ac_try_echo=$ac_try;;
    3350 esac
    3351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3352 $as_echo "$ac_try_echo") >&5
    3353   (eval "$ac_compiler --version >&5") 2>&5
    3354   ac_status=$?
    3355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3356   (exit $ac_status); }
    3357 { (ac_try="$ac_compiler -v >&5"
    3358 case "(($ac_try" in
    3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3360   *) ac_try_echo=$ac_try;;
    3361 esac
    3362 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3363 $as_echo "$ac_try_echo") >&5
    3364   (eval "$ac_compiler -v >&5") 2>&5
    3365   ac_status=$?
    3366   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3367   (exit $ac_status); }
    3368 { (ac_try="$ac_compiler -V >&5"
    3369 case "(($ac_try" in
    3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3371   *) ac_try_echo=$ac_try;;
    3372 esac
    3373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3374 $as_echo "$ac_try_echo") >&5
    3375   (eval "$ac_compiler -V >&5") 2>&5
    3376   ac_status=$?
    3377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3378   (exit $ac_status); }
    3379 
    3380 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3381 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3382 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3383   $as_echo_n "(cached) " >&6
    3384 else
    3385   cat >conftest.$ac_ext <<_ACEOF
    3386 /* confdefs.h.  */
    3387 _ACEOF
    3388 cat confdefs.h >>conftest.$ac_ext
    3389 cat >>conftest.$ac_ext <<_ACEOF
    3390 /* end confdefs.h.  */
    3391 
    3392 int
    3393 main ()
    3394 {
    3395 #ifndef __GNUC__
    3396        choke me
    3397 #endif
    3398 
    3399   ;
    3400   return 0;
    3401 }
    3402 _ACEOF
    3403 rm -f conftest.$ac_objext
    3404 if { (ac_try="$ac_compile"
    3405 case "(($ac_try" in
    3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3407   *) ac_try_echo=$ac_try;;
    3408 esac
    3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3410 $as_echo "$ac_try_echo") >&5
    3411   (eval "$ac_compile") 2>conftest.er1
    3412   ac_status=$?
    3413   grep -v '^ *+' conftest.er1 >conftest.err
    3414   rm -f conftest.er1
    3415   cat conftest.err >&5
    3416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3417   (exit $ac_status); } && {
    3418          test -z "$ac_cxx_werror_flag" ||
    3419          test ! -s conftest.err
    3420        } && test -s conftest.$ac_objext; then
    3421   ac_compiler_gnu=yes
    3422 else
    3423   $as_echo "$as_me: failed program was:" >&5
    3424 sed 's/^/| /' conftest.$ac_ext >&5
    3425 
    3426         ac_compiler_gnu=no
    3427 fi
    3428 
    3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3430 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    3431 
    3432 fi
    3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3434 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    3435 if test $ac_compiler_gnu = yes; then
    3436   GXX=yes
    3437 else
    3438   GXX=
    3439 fi
    3440 ac_test_CXXFLAGS=${CXXFLAGS+set}
    3441 ac_save_CXXFLAGS=$CXXFLAGS
    3442 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3443 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3444 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3445   $as_echo_n "(cached) " >&6
    3446 else
    3447   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    3448    ac_cxx_werror_flag=yes
    3449    ac_cv_prog_cxx_g=no
    3450    CXXFLAGS="-g"
    3451    cat >conftest.$ac_ext <<_ACEOF
    3452 /* confdefs.h.  */
    3453 _ACEOF
    3454 cat confdefs.h >>conftest.$ac_ext
    3455 cat >>conftest.$ac_ext <<_ACEOF
    3456 /* end confdefs.h.  */
    3457 
    3458 int
    3459 main ()
    3460 {
    3461 
    3462   ;
    3463   return 0;
    3464 }
    3465 _ACEOF
    3466 rm -f conftest.$ac_objext
    3467 if { (ac_try="$ac_compile"
    3468 case "(($ac_try" in
    3469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3470   *) ac_try_echo=$ac_try;;
    3471 esac
    3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3473 $as_echo "$ac_try_echo") >&5
    3474   (eval "$ac_compile") 2>conftest.er1
    3475   ac_status=$?
    3476   grep -v '^ *+' conftest.er1 >conftest.err
    3477   rm -f conftest.er1
    3478   cat conftest.err >&5
    3479   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3480   (exit $ac_status); } && {
    3481          test -z "$ac_cxx_werror_flag" ||
    3482          test ! -s conftest.err
    3483        } && test -s conftest.$ac_objext; then
    3484   ac_cv_prog_cxx_g=yes
    3485 else
    3486   $as_echo "$as_me: failed program was:" >&5
    3487 sed 's/^/| /' conftest.$ac_ext >&5
    3488 
    3489         CXXFLAGS=""
    3490       cat >conftest.$ac_ext <<_ACEOF
    3491 /* confdefs.h.  */
    3492 _ACEOF
    3493 cat confdefs.h >>conftest.$ac_ext
    3494 cat >>conftest.$ac_ext <<_ACEOF
    3495 /* end confdefs.h.  */
    3496 
    3497 int
    3498 main ()
    3499 {
    3500 
    3501   ;
    3502   return 0;
    3503 }
    3504 _ACEOF
    3505 rm -f conftest.$ac_objext
    3506 if { (ac_try="$ac_compile"
    3507 case "(($ac_try" in
    3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3509   *) ac_try_echo=$ac_try;;
    3510 esac
    3511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3512 $as_echo "$ac_try_echo") >&5
    3513   (eval "$ac_compile") 2>conftest.er1
    3514   ac_status=$?
    3515   grep -v '^ *+' conftest.er1 >conftest.err
    3516   rm -f conftest.er1
    3517   cat conftest.err >&5
    3518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3519   (exit $ac_status); } && {
    3520          test -z "$ac_cxx_werror_flag" ||
    3521          test ! -s conftest.err
    3522        } && test -s conftest.$ac_objext; then
    3523   :
    3524 else
    3525   $as_echo "$as_me: failed program was:" >&5
    3526 sed 's/^/| /' conftest.$ac_ext >&5
    3527 
    3528         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3529          CXXFLAGS="-g"
    3530          cat >conftest.$ac_ext <<_ACEOF
    3531 /* confdefs.h.  */
    3532 _ACEOF
    3533 cat confdefs.h >>conftest.$ac_ext
    3534 cat >>conftest.$ac_ext <<_ACEOF
    3535 /* end confdefs.h.  */
    3536 
    3537 int
    3538 main ()
    3539 {
    3540 
    3541   ;
    3542   return 0;
    3543 }
    3544 _ACEOF
    3545 rm -f conftest.$ac_objext
    3546 if { (ac_try="$ac_compile"
    3547 case "(($ac_try" in
    3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3549   *) ac_try_echo=$ac_try;;
    3550 esac
    3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3552 $as_echo "$ac_try_echo") >&5
    3553   (eval "$ac_compile") 2>conftest.er1
    3554   ac_status=$?
    3555   grep -v '^ *+' conftest.er1 >conftest.err
    3556   rm -f conftest.er1
    3557   cat conftest.err >&5
    3558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3559   (exit $ac_status); } && {
    3560          test -z "$ac_cxx_werror_flag" ||
    3561          test ! -s conftest.err
    3562        } && test -s conftest.$ac_objext; then
    3563   ac_cv_prog_cxx_g=yes
    3564 else
    3565   $as_echo "$as_me: failed program was:" >&5
    3566 sed 's/^/| /' conftest.$ac_ext >&5
    3567 
    3568 
    3569 fi
    3570 
    3571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3572 fi
    3573 
    3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3575 fi
    3576 
    3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3578    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    3579 fi
    3580 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3581 $as_echo "$ac_cv_prog_cxx_g" >&6; }
    3582 if test "$ac_test_CXXFLAGS" = set; then
    3583   CXXFLAGS=$ac_save_CXXFLAGS
    3584 elif test $ac_cv_prog_cxx_g = yes; then
    3585   if test "$GXX" = yes; then
    3586     CXXFLAGS="-g -O2"
    3587   else
    3588     CXXFLAGS="-g"
    3589   fi
    3590 else
    3591   if test "$GXX" = yes; then
    3592     CXXFLAGS="-O2"
    3593   else
    3594     CXXFLAGS=
    3595   fi
    3596 fi
    3597 ac_ext=c
    3598 ac_cpp='$CPP $CPPFLAGS'
    3599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3602 
    3603     ac_ext=c
    3604 ac_cpp='$CPP $CPPFLAGS'
    3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3608 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3609 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    3610 # On Suns, sometimes $CPP names a directory.
    3611 if test -n "$CPP" && test -d "$CPP"; then
    3612   CPP=
    3613 fi
    3614 if test -z "$CPP"; then
    3615   if test "${ac_cv_prog_CPP+set}" = set; then
    3616   $as_echo_n "(cached) " >&6
    3617 else
    3618       # Double quotes because CPP needs to be expanded
    3619     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    3620     do
    3621       ac_preproc_ok=false
    3622 for ac_c_preproc_warn_flag in '' yes
    3623 do
    3624   # Use a header file that comes with gcc, so configuring glibc
    3625   # with a fresh cross-compiler works.
    3626   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3627   # <limits.h> exists even on freestanding compilers.
    3628   # On the NeXT, cc -E runs the code through the compiler's parser,
    3629   # not just through cpp. "Syntax error" is here to catch this case.
    3630   cat >conftest.$ac_ext <<_ACEOF
    3631 /* confdefs.h.  */
    3632 _ACEOF
    3633 cat confdefs.h >>conftest.$ac_ext
    3634 cat >>conftest.$ac_ext <<_ACEOF
    3635 /* end confdefs.h.  */
    3636 #ifdef __STDC__
    3637 # include <limits.h>
    3638 #else
    3639 # include <assert.h>
    3640 #endif
    3641                      Syntax error
    3642 _ACEOF
    3643 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3644 case "(($ac_try" in
    3645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3646   *) ac_try_echo=$ac_try;;
    3647 esac
    3648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3649 $as_echo "$ac_try_echo") >&5
    3650   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3651   ac_status=$?
    3652   grep -v '^ *+' conftest.er1 >conftest.err
    3653   rm -f conftest.er1
    3654   cat conftest.err >&5
    3655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3656   (exit $ac_status); } >/dev/null && {
    3657          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3658          test ! -s conftest.err
    3659        }; then
    3660   :
    3661 else
    3662   $as_echo "$as_me: failed program was:" >&5
    3663 sed 's/^/| /' conftest.$ac_ext >&5
    3664 
    3665   # Broken: fails on valid input.
    3666 continue
    3667 fi
    3668 
    3669 rm -f conftest.err conftest.$ac_ext
    3670 
    3671   # OK, works on sane cases.  Now check whether nonexistent headers
    3672   # can be detected and how.
    3673   cat >conftest.$ac_ext <<_ACEOF
    3674 /* confdefs.h.  */
    3675 _ACEOF
    3676 cat confdefs.h >>conftest.$ac_ext
    3677 cat >>conftest.$ac_ext <<_ACEOF
    3678 /* end confdefs.h.  */
    3679 #include <ac_nonexistent.h>
    3680 _ACEOF
    3681 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3682 case "(($ac_try" in
    3683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3684   *) ac_try_echo=$ac_try;;
    3685 esac
    3686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3687 $as_echo "$ac_try_echo") >&5
    3688   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3689   ac_status=$?
    3690   grep -v '^ *+' conftest.er1 >conftest.err
    3691   rm -f conftest.er1
    3692   cat conftest.err >&5
    3693   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3694   (exit $ac_status); } >/dev/null && {
    3695          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3696          test ! -s conftest.err
    3697        }; then
    3698   # Broken: success on invalid input.
    3699 continue
    3700 else
    3701   $as_echo "$as_me: failed program was:" >&5
    3702 sed 's/^/| /' conftest.$ac_ext >&5
    3703 
    3704   # Passes both tests.
    3705 ac_preproc_ok=:
    3706 break
    3707 fi
    3708 
    3709 rm -f conftest.err conftest.$ac_ext
    3710 
    3711 done
    3712 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3713 rm -f conftest.err conftest.$ac_ext
    3714 if $ac_preproc_ok; then
    3715   break
    3716 fi
    3717 
    3718     done
    3719     ac_cv_prog_CPP=$CPP
    3720 
    3721 fi
    3722   CPP=$ac_cv_prog_CPP
    3723 else
    3724   ac_cv_prog_CPP=$CPP
    3725 fi
    3726 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
    3727 $as_echo "$CPP" >&6; }
    3728 ac_preproc_ok=false
    3729 for ac_c_preproc_warn_flag in '' yes
    3730 do
    3731   # Use a header file that comes with gcc, so configuring glibc
    3732   # with a fresh cross-compiler works.
    3733   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    3734   # <limits.h> exists even on freestanding compilers.
    3735   # On the NeXT, cc -E runs the code through the compiler's parser,
    3736   # not just through cpp. "Syntax error" is here to catch this case.
    3737   cat >conftest.$ac_ext <<_ACEOF
    3738 /* confdefs.h.  */
    3739 _ACEOF
    3740 cat confdefs.h >>conftest.$ac_ext
    3741 cat >>conftest.$ac_ext <<_ACEOF
    3742 /* end confdefs.h.  */
    3743 #ifdef __STDC__
    3744 # include <limits.h>
    3745 #else
    3746 # include <assert.h>
    3747 #endif
    3748                      Syntax error
    3749 _ACEOF
    3750 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3751 case "(($ac_try" in
    3752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3753   *) ac_try_echo=$ac_try;;
    3754 esac
    3755 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3756 $as_echo "$ac_try_echo") >&5
    3757   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3758   ac_status=$?
    3759   grep -v '^ *+' conftest.er1 >conftest.err
    3760   rm -f conftest.er1
    3761   cat conftest.err >&5
    3762   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3763   (exit $ac_status); } >/dev/null && {
    3764          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3765          test ! -s conftest.err
    3766        }; then
    3767   :
    3768 else
    3769   $as_echo "$as_me: failed program was:" >&5
    3770 sed 's/^/| /' conftest.$ac_ext >&5
    3771 
    3772   # Broken: fails on valid input.
    3773 continue
    3774 fi
    3775 
    3776 rm -f conftest.err conftest.$ac_ext
    3777 
    3778   # OK, works on sane cases.  Now check whether nonexistent headers
    3779   # can be detected and how.
    3780   cat >conftest.$ac_ext <<_ACEOF
    3781 /* confdefs.h.  */
    3782 _ACEOF
    3783 cat confdefs.h >>conftest.$ac_ext
    3784 cat >>conftest.$ac_ext <<_ACEOF
    3785 /* end confdefs.h.  */
    3786 #include <ac_nonexistent.h>
    3787 _ACEOF
    3788 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3789 case "(($ac_try" in
    3790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3791   *) ac_try_echo=$ac_try;;
    3792 esac
    3793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3794 $as_echo "$ac_try_echo") >&5
    3795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3796   ac_status=$?
    3797   grep -v '^ *+' conftest.er1 >conftest.err
    3798   rm -f conftest.er1
    3799   cat conftest.err >&5
    3800   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3801   (exit $ac_status); } >/dev/null && {
    3802          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3803          test ! -s conftest.err
    3804        }; then
    3805   # Broken: success on invalid input.
    3806 continue
    3807 else
    3808   $as_echo "$as_me: failed program was:" >&5
    3809 sed 's/^/| /' conftest.$ac_ext >&5
    3810 
    3811   # Passes both tests.
    3812 ac_preproc_ok=:
    3813 break
    3814 fi
    3815 
    3816 rm -f conftest.err conftest.$ac_ext
    3817 
    3818 done
    3819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3820 rm -f conftest.err conftest.$ac_ext
    3821 if $ac_preproc_ok; then
    3822   :
    3823 else
    3824   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3825 See \`config.log' for more details." >&5
    3826 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3827 See \`config.log' for more details." >&2;}
    3828    { (exit 1); exit 1; }; }
    3829 fi
    3830 
    3831 ac_ext=c
    3832 ac_cpp='$CPP $CPPFLAGS'
    3833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3836 
    3837 
    3838     # Find a good install program.  We prefer a C program (faster),
     2664# Find a good install program.  We prefer a C program (faster),
    38392665# so one script is as good as another.  But avoid the broken or
    38402666# incompatible versions:
     
    38502676# ./install, which can be erroneously created by make from ./install.sh.
    38512677# Reject install programs that cannot install multiple files.
    3852 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    38532679$as_echo_n "checking for a BSD-compatible install... " >&6; }
    38542680if test -z "$INSTALL"; then
    3855 if test "${ac_cv_path_install+set}" = set; then
     2681if ${ac_cv_path_install+:} false; then :
    38562682  $as_echo_n "(cached) " >&6
    38572683else
     
    38612687  IFS=$as_save_IFS
    38622688  test -z "$as_dir" && as_dir=.
    3863   # Account for people who put trailing slashes in PATH elements.
    3864 case $as_dir/ in
    3865   ./ | .// | /cC/* | \
     2689    # Account for people who put trailing slashes in PATH elements.
     2690case $as_dir/ in #((
     2691  ./ | .// | /[cC]/* | \
    38662692  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3867   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2693  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    38682694  /usr/ucb/* ) ;;
    38692695  *)
     
    38732699    for ac_prog in ginstall scoinst install; do
    38742700      for ac_exec_ext in '' $ac_executable_extensions; do
    3875         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2701        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    38762702          if test $ac_prog = install &&
    38772703            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    39022728esac
    39032729
    3904 done
     2730  done
    39052731IFS=$as_save_IFS
    39062732
     
    39182744  fi
    39192745fi
    3920 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    39212747$as_echo "$INSTALL" >&6; }
    39222748
     
    39302756
    39312757
    3932     #--------------------------------------------------------------------
    3933     # Checks to see if the make program sets the $MAKE variable.
    3934     #--------------------------------------------------------------------
    3935 
    3936     { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    3938 set x ${MAKE-make}
    3939 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3940 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    3941   $as_echo_n "(cached) " >&6
    3942 else
    3943   cat >conftest.make <<\_ACEOF
    3944 SHELL = /bin/sh
    3945 all:
    3946         @echo '@@@%%%=$(MAKE)=@@@%%%'
    3947 _ACEOF
    3948 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    3950   *@@@%%%=?*=@@@%%%*)
    3951     eval ac_cv_prog_make_${ac_make}_set=yes;;
    3952   *)
    3953     eval ac_cv_prog_make_${ac_make}_set=no;;
    3954 esac
    3955 rm -f conftest.make
    3956 fi
    3957 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3958   { $as_echo "$as_me:$LINENO: result: yes" >&5
    3959 $as_echo "yes" >&6; }
    3960   SET_MAKE=
    3961 else
    3962   { $as_echo "$as_me:$LINENO: result: no" >&5
    3963 $as_echo "no" >&6; }
    3964   SET_MAKE="MAKE=${MAKE-make}"
    3965 fi
    3966 
    3967 
    3968     #--------------------------------------------------------------------
    3969     # Find ranlib
    3970     #--------------------------------------------------------------------
    3971 
    3972     if test -n "$ac_tool_prefix"; then
    3973   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    3974 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3976 $as_echo_n "checking for $ac_word... " >&6; }
    3977 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3978   $as_echo_n "(cached) " >&6
    3979 else
    3980   if test -n "$RANLIB"; then
    3981   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    3982 else
    3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3984 for as_dir in $PATH
    3985 do
    3986   IFS=$as_save_IFS
    3987   test -z "$as_dir" && as_dir=.
    3988   for ac_exec_ext in '' $ac_executable_extensions; do
    3989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    3990     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3992     break 2
    3993   fi
    3994 done
    3995 done
    3996 IFS=$as_save_IFS
    3997 
    3998 fi
    3999 fi
    4000 RANLIB=$ac_cv_prog_RANLIB
    4001 if test -n "$RANLIB"; then
    4002   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    4003 $as_echo "$RANLIB" >&6; }
    4004 else
    4005   { $as_echo "$as_me:$LINENO: result: no" >&5
    4006 $as_echo "no" >&6; }
    4007 fi
    4008 
    4009 
    4010 fi
    4011 if test -z "$ac_cv_prog_RANLIB"; then
    4012   ac_ct_RANLIB=$RANLIB
    4013   # Extract the first word of "ranlib", so it can be a program name with args.
    4014 set dummy ranlib; ac_word=$2
    4015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    4016 $as_echo_n "checking for $ac_word... " >&6; }
    4017 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    4018   $as_echo_n "(cached) " >&6
    4019 else
    4020   if test -n "$ac_ct_RANLIB"; then
    4021   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    4022 else
    4023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4024 for as_dir in $PATH
    4025 do
    4026   IFS=$as_save_IFS
    4027   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
    4030     ac_cv_prog_ac_ct_RANLIB="ranlib"
    4031     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    4032     break 2
    4033   fi
    4034 done
    4035 done
    4036 IFS=$as_save_IFS
    4037 
    4038 fi
    4039 fi
    4040 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    4041 if test -n "$ac_ct_RANLIB"; then
    4042   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    4043 $as_echo "$ac_ct_RANLIB" >&6; }
    4044 else
    4045   { $as_echo "$as_me:$LINENO: result: no" >&5
    4046 $as_echo "no" >&6; }
    4047 fi
    4048 
    4049   if test "x$ac_ct_RANLIB" = x; then
    4050     RANLIB=":"
    4051   else
    4052     case $cross_compiling:$ac_tool_warned in
    4053 yes:)
    4054 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    4055 whose name does not start with the host triplet.  If you think this
    4056 configuration is useful to you, please write to autoconf@gnu.org." >&5
    4057 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    4058 whose name does not start with the host triplet.  If you think this
    4059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    4060 ac_tool_warned=yes ;;
    4061 esac
    4062     RANLIB=$ac_ct_RANLIB
    4063   fi
    4064 else
    4065   RANLIB="$ac_cv_prog_RANLIB"
    4066 fi
    4067 
    4068 
    4069     #--------------------------------------------------------------------
    4070     # Determines the correct binary file extension (.o, .obj, .exe etc.)
    4071     #--------------------------------------------------------------------
    4072 
    4073 
    4074 
    4075 
    4076 
    4077 
    4078 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    4079 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4080 if test "${ac_cv_path_GREP+set}" = set; then
    4081   $as_echo_n "(cached) " >&6
    4082 else
    4083   if test -z "$GREP"; then
    4084   ac_path_GREP_found=false
    4085   # Loop through the user's path and test for each of PROGNAME-LIST
    4086   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4088 do
    4089   IFS=$as_save_IFS
    4090   test -z "$as_dir" && as_dir=.
    4091   for ac_prog in grep ggrep; do
    4092     for ac_exec_ext in '' $ac_executable_extensions; do
    4093       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4094       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4095 # Check for GNU ac_path_GREP and select it if it is found.
    4096   # Check for GNU $ac_path_GREP
    4097 case `"$ac_path_GREP" --version 2>&1` in
    4098 *GNU*)
    4099   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4100 *)
    4101   ac_count=0
    4102   $as_echo_n 0123456789 >"conftest.in"
    4103   while :
    4104   do
    4105     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4106     mv "conftest.tmp" "conftest.in"
    4107     cp "conftest.in" "conftest.nl"
    4108     $as_echo 'GREP' >> "conftest.nl"
    4109     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4110     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4111     ac_count=`expr $ac_count + 1`
    4112     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4113       # Best one so far, save it but keep looking for a better one
    4114       ac_cv_path_GREP="$ac_path_GREP"
    4115       ac_path_GREP_max=$ac_count
     2758    # Don't put any macros that use the compiler (e.g. AC_TRY_COMPILE)
     2759    # in this macro, they need to go into TEA_SETUP_COMPILER instead.
     2760
     2761    # If the user did not set CFLAGS, set it now to keep
     2762    # the AC_PROG_CC macro from adding "-g -O2".
     2763    if test "${CFLAGS+set}" != "set" ; then
     2764        CFLAGS=""
    41162765    fi
    4117     # 10*(2^10) chars as input seems more than enough
    4118     test $ac_count -gt 10 && break
    4119   done
    4120   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4121 esac
    4122 
    4123       $ac_path_GREP_found && break 3
    4124     done
    4125   done
    4126 done
    4127 IFS=$as_save_IFS
    4128   if test -z "$ac_cv_path_GREP"; then
    4129     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4130 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4131    { (exit 1); exit 1; }; }
    4132   fi
    4133 else
    4134   ac_cv_path_GREP=$GREP
    4135 fi
    4136 
    4137 fi
    4138 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4139 $as_echo "$ac_cv_path_GREP" >&6; }
    4140  GREP="$ac_cv_path_GREP"
    4141 
    4142 
    4143 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
    4144 $as_echo_n "checking for egrep... " >&6; }
    4145 if test "${ac_cv_path_EGREP+set}" = set; then
    4146   $as_echo_n "(cached) " >&6
    4147 else
    4148   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4149    then ac_cv_path_EGREP="$GREP -E"
    4150    else
    4151      if test -z "$EGREP"; then
    4152   ac_path_EGREP_found=false
    4153   # Loop through the user's path and test for each of PROGNAME-LIST
    4154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4155 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4156 do
    4157   IFS=$as_save_IFS
    4158   test -z "$as_dir" && as_dir=.
    4159   for ac_prog in egrep; do
    4160     for ac_exec_ext in '' $ac_executable_extensions; do
    4161       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4162       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4163 # Check for GNU ac_path_EGREP and select it if it is found.
    4164   # Check for GNU $ac_path_EGREP
    4165 case `"$ac_path_EGREP" --version 2>&1` in
    4166 *GNU*)
    4167   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4168 *)
    4169   ac_count=0
    4170   $as_echo_n 0123456789 >"conftest.in"
    4171   while :
    4172   do
    4173     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4174     mv "conftest.tmp" "conftest.in"
    4175     cp "conftest.in" "conftest.nl"
    4176     $as_echo 'EGREP' >> "conftest.nl"
    4177     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4178     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4179     ac_count=`expr $ac_count + 1`
    4180     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4181       # Best one so far, save it but keep looking for a better one
    4182       ac_cv_path_EGREP="$ac_path_EGREP"
    4183       ac_path_EGREP_max=$ac_count
    4184     fi
    4185     # 10*(2^10) chars as input seems more than enough
    4186     test $ac_count -gt 10 && break
    4187   done
    4188   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4189 esac
    4190 
    4191       $ac_path_EGREP_found && break 3
    4192     done
    4193   done
    4194 done
    4195 IFS=$as_save_IFS
    4196   if test -z "$ac_cv_path_EGREP"; then
    4197     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4198 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4199    { (exit 1); exit 1; }; }
    4200   fi
    4201 else
    4202   ac_cv_path_EGREP=$EGREP
    4203 fi
    4204 
    4205    fi
    4206 fi
    4207 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4208 $as_echo "$ac_cv_path_EGREP" >&6; }
    4209  EGREP="$ac_cv_path_EGREP"
    4210 
    4211 
    4212 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4213 $as_echo_n "checking for ANSI C header files... " >&6; }
    4214 if test "${ac_cv_header_stdc+set}" = set; then
    4215   $as_echo_n "(cached) " >&6
    4216 else
    4217   cat >conftest.$ac_ext <<_ACEOF
    4218 /* confdefs.h.  */
    4219 _ACEOF
    4220 cat confdefs.h >>conftest.$ac_ext
    4221 cat >>conftest.$ac_ext <<_ACEOF
    4222 /* end confdefs.h.  */
    4223 #include <stdlib.h>
    4224 #include <stdarg.h>
    4225 #include <string.h>
    4226 #include <float.h>
    4227 
    4228 int
    4229 main ()
    4230 {
    4231 
    4232   ;
    4233   return 0;
    4234 }
    4235 _ACEOF
    4236 rm -f conftest.$ac_objext
    4237 if { (ac_try="$ac_compile"
    4238 case "(($ac_try" in
    4239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4240   *) ac_try_echo=$ac_try;;
    4241 esac
    4242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4243 $as_echo "$ac_try_echo") >&5
    4244   (eval "$ac_compile") 2>conftest.er1
    4245   ac_status=$?
    4246   grep -v '^ *+' conftest.er1 >conftest.err
    4247   rm -f conftest.er1
    4248   cat conftest.err >&5
    4249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4250   (exit $ac_status); } && {
    4251          test -z "$ac_c_werror_flag" ||
    4252          test ! -s conftest.err
    4253        } && test -s conftest.$ac_objext; then
    4254   ac_cv_header_stdc=yes
    4255 else
    4256   $as_echo "$as_me: failed program was:" >&5
    4257 sed 's/^/| /' conftest.$ac_ext >&5
    4258 
    4259         ac_cv_header_stdc=no
    4260 fi
    4261 
    4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4263 
    4264 if test $ac_cv_header_stdc = yes; then
    4265   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4266   cat >conftest.$ac_ext <<_ACEOF
    4267 /* confdefs.h.  */
    4268 _ACEOF
    4269 cat confdefs.h >>conftest.$ac_ext
    4270 cat >>conftest.$ac_ext <<_ACEOF
    4271 /* end confdefs.h.  */
    4272 #include <string.h>
    4273 
    4274 _ACEOF
    4275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4276   $EGREP "memchr" >/dev/null 2>&1; then
    4277   :
    4278 else
    4279   ac_cv_header_stdc=no
    4280 fi
    4281 rm -f conftest*
    4282 
    4283 fi
    4284 
    4285 if test $ac_cv_header_stdc = yes; then
    4286   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4287   cat >conftest.$ac_ext <<_ACEOF
    4288 /* confdefs.h.  */
    4289 _ACEOF
    4290 cat confdefs.h >>conftest.$ac_ext
    4291 cat >>conftest.$ac_ext <<_ACEOF
    4292 /* end confdefs.h.  */
    4293 #include <stdlib.h>
    4294 
    4295 _ACEOF
    4296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4297   $EGREP "free" >/dev/null 2>&1; then
    4298   :
    4299 else
    4300   ac_cv_header_stdc=no
    4301 fi
    4302 rm -f conftest*
    4303 
    4304 fi
    4305 
    4306 if test $ac_cv_header_stdc = yes; then
    4307   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4308   if test "$cross_compiling" = yes; then
    4309   :
    4310 else
    4311   cat >conftest.$ac_ext <<_ACEOF
    4312 /* confdefs.h.  */
    4313 _ACEOF
    4314 cat confdefs.h >>conftest.$ac_ext
    4315 cat >>conftest.$ac_ext <<_ACEOF
    4316 /* end confdefs.h.  */
    4317 #include <ctype.h>
    4318 #include <stdlib.h>
    4319 #if ((' ' & 0x0FF) == 0x020)
    4320 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4321 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4322 #else
    4323 # define ISLOWER(c) \
    4324                    (('a' <= (c) && (c) <= 'i') \
    4325                      || ('j' <= (c) && (c) <= 'r') \
    4326                      || ('s' <= (c) && (c) <= 'z'))
    4327 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4328 #endif
    4329 
    4330 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4331 int
    4332 main ()
    4333 {
    4334   int i;
    4335   for (i = 0; i < 256; i++)
    4336     if (XOR (islower (i), ISLOWER (i))
    4337         || toupper (i) != TOUPPER (i))
    4338       return 2;
    4339   return 0;
    4340 }
    4341 _ACEOF
    4342 rm -f conftest$ac_exeext
    4343 if { (ac_try="$ac_link"
    4344 case "(($ac_try" in
    4345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4346   *) ac_try_echo=$ac_try;;
    4347 esac
    4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4349 $as_echo "$ac_try_echo") >&5
    4350   (eval "$ac_link") 2>&5
    4351   ac_status=$?
    4352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4353   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4354   { (case "(($ac_try" in
    4355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4356   *) ac_try_echo=$ac_try;;
    4357 esac
    4358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4359 $as_echo "$ac_try_echo") >&5
    4360   (eval "$ac_try") 2>&5
    4361   ac_status=$?
    4362   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4363   (exit $ac_status); }; }; then
    4364   :
    4365 else
    4366   $as_echo "$as_me: program exited with status $ac_status" >&5
    4367 $as_echo "$as_me: failed program was:" >&5
    4368 sed 's/^/| /' conftest.$ac_ext >&5
    4369 
    4370 ( exit $ac_status )
    4371 ac_cv_header_stdc=no
    4372 fi
    4373 rm -rf conftest.dSYM
    4374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4375 fi
    4376 
    4377 
    4378 fi
    4379 fi
    4380 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4381 $as_echo "$ac_cv_header_stdc" >&6; }
    4382 if test $ac_cv_header_stdc = yes; then
    4383 
    4384 cat >>confdefs.h <<\_ACEOF
    4385 #define STDC_HEADERS 1
    4386 _ACEOF
    4387 
    4388 fi
    4389 
    4390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4391 
    4392 
    4393 
    4394 
    4395 
    4396 
    4397 
    4398 
    4399 
    4400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4401                   inttypes.h stdint.h unistd.h
    4402 do
    4403 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4405 $as_echo_n "checking for $ac_header... " >&6; }
    4406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4407   $as_echo_n "(cached) " >&6
    4408 else
    4409   cat >conftest.$ac_ext <<_ACEOF
    4410 /* confdefs.h.  */
    4411 _ACEOF
    4412 cat confdefs.h >>conftest.$ac_ext
    4413 cat >>conftest.$ac_ext <<_ACEOF
    4414 /* end confdefs.h.  */
    4415 $ac_includes_default
    4416 
    4417 #include <$ac_header>
    4418 _ACEOF
    4419 rm -f conftest.$ac_objext
    4420 if { (ac_try="$ac_compile"
    4421 case "(($ac_try" in
    4422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4423   *) ac_try_echo=$ac_try;;
    4424 esac
    4425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4426 $as_echo "$ac_try_echo") >&5
    4427   (eval "$ac_compile") 2>conftest.er1
    4428   ac_status=$?
    4429   grep -v '^ *+' conftest.er1 >conftest.err
    4430   rm -f conftest.er1
    4431   cat conftest.err >&5
    4432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4433   (exit $ac_status); } && {
    4434          test -z "$ac_c_werror_flag" ||
    4435          test ! -s conftest.err
    4436        } && test -s conftest.$ac_objext; then
    4437   eval "$as_ac_Header=yes"
    4438 else
    4439   $as_echo "$as_me: failed program was:" >&5
    4440 sed 's/^/| /' conftest.$ac_ext >&5
    4441 
    4442         eval "$as_ac_Header=no"
    4443 fi
    4444 
    4445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4446 fi
    4447 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4448                  $as_echo "$as_val"'`
    4449                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4450 $as_echo "$ac_res" >&6; }
    4451 if test `eval 'as_val=${'$as_ac_Header'}
    4452                  $as_echo "$as_val"'` = yes; then
    4453   cat >>confdefs.h <<_ACEOF
    4454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4455 _ACEOF
    4456 
    4457 fi
    4458 
    4459 done
    4460 
    4461 
    4462 
    4463     # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here.
    4464 
    4465 
    4466     #------------------------------------------------------------------------
    4467     # If we're using GCC, see if the compiler understands -pipe. If so, use it.
    4468     # It makes compiling go faster.  (This is only a performance feature.)
    4469     #------------------------------------------------------------------------
    4470 
    4471     if test -z "$no_pipe" -a -n "$GCC"; then
    4472         { $as_echo "$as_me:$LINENO: checking if the compiler understands -pipe" >&5
    4473 $as_echo_n "checking if the compiler understands -pipe... " >&6; }
    4474         OLDCC="$CC"
    4475         CC="$CC -pipe"
    4476         cat >conftest.$ac_ext <<_ACEOF
    4477 /* confdefs.h.  */
    4478 _ACEOF
    4479 cat confdefs.h >>conftest.$ac_ext
    4480 cat >>conftest.$ac_ext <<_ACEOF
    4481 /* end confdefs.h.  */
    4482 
    4483 int
    4484 main ()
    4485 {
    4486 
    4487   ;
    4488   return 0;
    4489 }
    4490 _ACEOF
    4491 rm -f conftest.$ac_objext
    4492 if { (ac_try="$ac_compile"
    4493 case "(($ac_try" in
    4494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4495   *) ac_try_echo=$ac_try;;
    4496 esac
    4497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4498 $as_echo "$ac_try_echo") >&5
    4499   (eval "$ac_compile") 2>conftest.er1
    4500   ac_status=$?
    4501   grep -v '^ *+' conftest.er1 >conftest.err
    4502   rm -f conftest.er1
    4503   cat conftest.err >&5
    4504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4505   (exit $ac_status); } && {
    4506          test -z "$ac_c_werror_flag" ||
    4507          test ! -s conftest.err
    4508        } && test -s conftest.$ac_objext; then
    4509   { $as_echo "$as_me:$LINENO: result: yes" >&5
    4510 $as_echo "yes" >&6; }
    4511 else
    4512   $as_echo "$as_me: failed program was:" >&5
    4513 sed 's/^/| /' conftest.$ac_ext >&5
    4514 
    4515         CC="$OLDCC"
    4516             { $as_echo "$as_me:$LINENO: result: no" >&5
    4517 $as_echo "no" >&6; }
    4518 fi
    4519 
    4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4521     fi
    4522 
    4523     #--------------------------------------------------------------------
    4524     # Common compiler flag setup
    4525     #--------------------------------------------------------------------
    4526 
    4527 
    4528  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    4529 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    4530 if test "${ac_cv_c_bigendian+set}" = set; then
    4531   $as_echo_n "(cached) " >&6
    4532 else
    4533   ac_cv_c_bigendian=unknown
    4534 
    4535     if test $ac_cv_c_bigendian = unknown; then
    4536       # See if sys/param.h defines the BYTE_ORDER macro.
    4537       cat >conftest.$ac_ext <<_ACEOF
    4538 /* confdefs.h.  */
    4539 _ACEOF
    4540 cat confdefs.h >>conftest.$ac_ext
    4541 cat >>conftest.$ac_ext <<_ACEOF
    4542 /* end confdefs.h.  */
    4543 #include <sys/types.h>
    4544              #include <sys/param.h>
    4545 
    4546 int
    4547 main ()
    4548 {
    4549 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
    4550                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
    4551                      && LITTLE_ENDIAN)
    4552               bogus endian macros
    4553              #endif
    4554 
    4555   ;
    4556   return 0;
    4557 }
    4558 _ACEOF
    4559 rm -f conftest.$ac_objext
    4560 if { (ac_try="$ac_compile"
    4561 case "(($ac_try" in
    4562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4563   *) ac_try_echo=$ac_try;;
    4564 esac
    4565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4566 $as_echo "$ac_try_echo") >&5
    4567   (eval "$ac_compile") 2>conftest.er1
    4568   ac_status=$?
    4569   grep -v '^ *+' conftest.er1 >conftest.err
    4570   rm -f conftest.er1
    4571   cat conftest.err >&5
    4572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4573   (exit $ac_status); } && {
    4574          test -z "$ac_c_werror_flag" ||
    4575          test ! -s conftest.err
    4576        } && test -s conftest.$ac_objext; then
    4577   # It does; now see whether it defined to BIG_ENDIAN or not.
    4578          cat >conftest.$ac_ext <<_ACEOF
    4579 /* confdefs.h.  */
    4580 _ACEOF
    4581 cat confdefs.h >>conftest.$ac_ext
    4582 cat >>conftest.$ac_ext <<_ACEOF
    4583 /* end confdefs.h.  */
    4584 #include <sys/types.h>
    4585                 #include <sys/param.h>
    4586 
    4587 int
    4588 main ()
    4589 {
    4590 #if BYTE_ORDER != BIG_ENDIAN
    4591                  not big endian
    4592                 #endif
    4593 
    4594   ;
    4595   return 0;
    4596 }
    4597 _ACEOF
    4598 rm -f conftest.$ac_objext
    4599 if { (ac_try="$ac_compile"
    4600 case "(($ac_try" in
    4601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4602   *) ac_try_echo=$ac_try;;
    4603 esac
    4604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4605 $as_echo "$ac_try_echo") >&5
    4606   (eval "$ac_compile") 2>conftest.er1
    4607   ac_status=$?
    4608   grep -v '^ *+' conftest.er1 >conftest.err
    4609   rm -f conftest.er1
    4610   cat conftest.err >&5
    4611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4612   (exit $ac_status); } && {
    4613          test -z "$ac_c_werror_flag" ||
    4614          test ! -s conftest.err
    4615        } && test -s conftest.$ac_objext; then
    4616   ac_cv_c_bigendian=yes
    4617 else
    4618   $as_echo "$as_me: failed program was:" >&5
    4619 sed 's/^/| /' conftest.$ac_ext >&5
    4620 
    4621         ac_cv_c_bigendian=no
    4622 fi
    4623 
    4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4625 else
    4626   $as_echo "$as_me: failed program was:" >&5
    4627 sed 's/^/| /' conftest.$ac_ext >&5
    4628 
    4629 
    4630 fi
    4631 
    4632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4633     fi
    4634     if test $ac_cv_c_bigendian = unknown; then
    4635       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    4636       cat >conftest.$ac_ext <<_ACEOF
    4637 /* confdefs.h.  */
    4638 _ACEOF
    4639 cat confdefs.h >>conftest.$ac_ext
    4640 cat >>conftest.$ac_ext <<_ACEOF
    4641 /* end confdefs.h.  */
    4642 #include <limits.h>
    4643 
    4644 int
    4645 main ()
    4646 {
    4647 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
    4648               bogus endian macros
    4649              #endif
    4650 
    4651   ;
    4652   return 0;
    4653 }
    4654 _ACEOF
    4655 rm -f conftest.$ac_objext
    4656 if { (ac_try="$ac_compile"
    4657 case "(($ac_try" in
    4658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4659   *) ac_try_echo=$ac_try;;
    4660 esac
    4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4662 $as_echo "$ac_try_echo") >&5
    4663   (eval "$ac_compile") 2>conftest.er1
    4664   ac_status=$?
    4665   grep -v '^ *+' conftest.er1 >conftest.err
    4666   rm -f conftest.er1
    4667   cat conftest.err >&5
    4668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4669   (exit $ac_status); } && {
    4670          test -z "$ac_c_werror_flag" ||
    4671          test ! -s conftest.err
    4672        } && test -s conftest.$ac_objext; then
    4673   # It does; now see whether it defined to _BIG_ENDIAN or not.
    4674          cat >conftest.$ac_ext <<_ACEOF
    4675 /* confdefs.h.  */
    4676 _ACEOF
    4677 cat confdefs.h >>conftest.$ac_ext
    4678 cat >>conftest.$ac_ext <<_ACEOF
    4679 /* end confdefs.h.  */
    4680 #include <limits.h>
    4681 
    4682 int
    4683 main ()
    4684 {
    4685 #ifndef _BIG_ENDIAN
    4686                  not big endian
    4687                 #endif
    4688 
    4689   ;
    4690   return 0;
    4691 }
    4692 _ACEOF
    4693 rm -f conftest.$ac_objext
    4694 if { (ac_try="$ac_compile"
    4695 case "(($ac_try" in
    4696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4697   *) ac_try_echo=$ac_try;;
    4698 esac
    4699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4700 $as_echo "$ac_try_echo") >&5
    4701   (eval "$ac_compile") 2>conftest.er1
    4702   ac_status=$?
    4703   grep -v '^ *+' conftest.er1 >conftest.err
    4704   rm -f conftest.er1
    4705   cat conftest.err >&5
    4706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4707   (exit $ac_status); } && {
    4708          test -z "$ac_c_werror_flag" ||
    4709          test ! -s conftest.err
    4710        } && test -s conftest.$ac_objext; then
    4711   ac_cv_c_bigendian=yes
    4712 else
    4713   $as_echo "$as_me: failed program was:" >&5
    4714 sed 's/^/| /' conftest.$ac_ext >&5
    4715 
    4716         ac_cv_c_bigendian=no
    4717 fi
    4718 
    4719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724 
    4725 fi
    4726 
    4727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4728     fi
    4729     if test $ac_cv_c_bigendian = unknown; then
    4730       # Compile a test program.
    4731       if test "$cross_compiling" = yes; then
    4732   # Try to guess by grepping values from an object file.
    4733          cat >conftest.$ac_ext <<_ACEOF
    4734 /* confdefs.h.  */
    4735 _ACEOF
    4736 cat confdefs.h >>conftest.$ac_ext
    4737 cat >>conftest.$ac_ext <<_ACEOF
    4738 /* end confdefs.h.  */
    4739 short int ascii_mm[] =
    4740                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    4741                 short int ascii_ii[] =
    4742                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    4743                 int use_ascii (int i) {
    4744                   return ascii_mm[i] + ascii_ii[i];
    4745                 }
    4746                 short int ebcdic_ii[] =
    4747                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    4748                 short int ebcdic_mm[] =
    4749                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    4750                 int use_ebcdic (int i) {
    4751                   return ebcdic_mm[i] + ebcdic_ii[i];
    4752                 }
    4753                 extern int foo;
    4754 
    4755 int
    4756 main ()
    4757 {
    4758 return use_ascii (foo) == use_ebcdic (foo);
    4759   ;
    4760   return 0;
    4761 }
    4762 _ACEOF
    4763 rm -f conftest.$ac_objext
    4764 if { (ac_try="$ac_compile"
    4765 case "(($ac_try" in
    4766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4767   *) ac_try_echo=$ac_try;;
    4768 esac
    4769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4770 $as_echo "$ac_try_echo") >&5
    4771   (eval "$ac_compile") 2>conftest.er1
    4772   ac_status=$?
    4773   grep -v '^ *+' conftest.er1 >conftest.err
    4774   rm -f conftest.er1
    4775   cat conftest.err >&5
    4776   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4777   (exit $ac_status); } && {
    4778          test -z "$ac_c_werror_flag" ||
    4779          test ! -s conftest.err
    4780        } && test -s conftest.$ac_objext; then
    4781   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    4782               ac_cv_c_bigendian=yes
    4783             fi
    4784             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    4785               if test "$ac_cv_c_bigendian" = unknown; then
    4786                 ac_cv_c_bigendian=no
    4787               else
    4788                 # finding both strings is unlikely to happen, but who knows?
    4789                 ac_cv_c_bigendian=unknown
    4790               fi
    4791             fi
    4792 else
    4793   $as_echo "$as_me: failed program was:" >&5
    4794 sed 's/^/| /' conftest.$ac_ext >&5
    4795 
    4796 
    4797 fi
    4798 
    4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4800 else
    4801   cat >conftest.$ac_ext <<_ACEOF
    4802 /* confdefs.h.  */
    4803 _ACEOF
    4804 cat confdefs.h >>conftest.$ac_ext
    4805 cat >>conftest.$ac_ext <<_ACEOF
    4806 /* end confdefs.h.  */
    4807 $ac_includes_default
    4808 int
    4809 main ()
    4810 {
    4811 
    4812              /* Are we little or big endian?  From Harbison&Steele.  */
    4813              union
    4814              {
    4815                long int l;
    4816                char c[sizeof (long int)];
    4817              } u;
    4818              u.l = 1;
    4819              return u.c[sizeof (long int) - 1] == 1;
    4820 
    4821   ;
    4822   return 0;
    4823 }
    4824 _ACEOF
    4825 rm -f conftest$ac_exeext
    4826 if { (ac_try="$ac_link"
    4827 case "(($ac_try" in
    4828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4829   *) ac_try_echo=$ac_try;;
    4830 esac
    4831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4832 $as_echo "$ac_try_echo") >&5
    4833   (eval "$ac_link") 2>&5
    4834   ac_status=$?
    4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4836   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4837   { (case "(($ac_try" in
    4838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4839   *) ac_try_echo=$ac_try;;
    4840 esac
    4841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4842 $as_echo "$ac_try_echo") >&5
    4843   (eval "$ac_try") 2>&5
    4844   ac_status=$?
    4845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4846   (exit $ac_status); }; }; then
    4847   ac_cv_c_bigendian=no
    4848 else
    4849   $as_echo "$as_me: program exited with status $ac_status" >&5
    4850 $as_echo "$as_me: failed program was:" >&5
    4851 sed 's/^/| /' conftest.$ac_ext >&5
    4852 
    4853 ( exit $ac_status )
    4854 ac_cv_c_bigendian=yes
    4855 fi
    4856 rm -rf conftest.dSYM
    4857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4858 fi
    4859 
    4860 
    4861     fi
    4862 fi
    4863 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    4864 $as_echo "$ac_cv_c_bigendian" >&6; }
    4865  case $ac_cv_c_bigendian in #(
    4866    yes)
    4867      cat >>confdefs.h <<\_ACEOF
    4868 #define WORDS_BIGENDIAN 1
    4869 _ACEOF
    4870 ;; #(
    4871    no)
    4872       ;; #(
    4873    universal)
    4874       ;; #(
    4875    *)
    4876      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    4877  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    4878 $as_echo "$as_me: error: unknown endianness
    4879  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    4880    { (exit 1); exit 1; }; } ;;
    4881  esac
    4882 
    4883     if test "${TEA_PLATFORM}" = "unix" ; then
    4884 
    4885     #--------------------------------------------------------------------
    4886     # On a few very rare systems, all of the libm.a stuff is
    4887     # already in libc.a.  Set compiler flags accordingly.
    4888     # Also, Linux requires the "ieee" library for math to work
    4889     # right (and it must appear before "-lm").
    4890     #--------------------------------------------------------------------
    4891 
    4892     { $as_echo "$as_me:$LINENO: checking for sin" >&5
    4893 $as_echo_n "checking for sin... " >&6; }
    4894 if test "${ac_cv_func_sin+set}" = set; then
    4895   $as_echo_n "(cached) " >&6
    4896 else
    4897   cat >conftest.$ac_ext <<_ACEOF
    4898 /* confdefs.h.  */
    4899 _ACEOF
    4900 cat confdefs.h >>conftest.$ac_ext
    4901 cat >>conftest.$ac_ext <<_ACEOF
    4902 /* end confdefs.h.  */
    4903 /* Define sin to an innocuous variant, in case <limits.h> declares sin.
    4904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4905 #define sin innocuous_sin
    4906 
    4907 /* System header to define __stub macros and hopefully few prototypes,
    4908     which can conflict with char sin (); below.
    4909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4910     <limits.h> exists even on freestanding compilers.  */
    4911 
    4912 #ifdef __STDC__
    4913 # include <limits.h>
    4914 #else
    4915 # include <assert.h>
    4916 #endif
    4917 
    4918 #undef sin
    4919 
    4920 /* Override any GCC internal prototype to avoid an error.
    4921    Use char because int might match the return type of a GCC
    4922    builtin and then its argument prototype would still apply.  */
    4923 #ifdef __cplusplus
    4924 extern "C"
    4925 #endif
    4926 char sin ();
    4927 /* The GNU C library defines this for functions which it implements
    4928     to always fail with ENOSYS.  Some functions are actually named
    4929     something starting with __ and the normal name is an alias.  */
    4930 #if defined __stub_sin || defined __stub___sin
    4931 choke me
    4932 #endif
    4933 
    4934 int
    4935 main ()
    4936 {
    4937 return sin ();
    4938   ;
    4939   return 0;
    4940 }
    4941 _ACEOF
    4942 rm -f conftest.$ac_objext conftest$ac_exeext
    4943 if { (ac_try="$ac_link"
    4944 case "(($ac_try" in
    4945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4946   *) ac_try_echo=$ac_try;;
    4947 esac
    4948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4949 $as_echo "$ac_try_echo") >&5
    4950   (eval "$ac_link") 2>conftest.er1
    4951   ac_status=$?
    4952   grep -v '^ *+' conftest.er1 >conftest.err
    4953   rm -f conftest.er1
    4954   cat conftest.err >&5
    4955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4956   (exit $ac_status); } && {
    4957          test -z "$ac_c_werror_flag" ||
    4958          test ! -s conftest.err
    4959        } && test -s conftest$ac_exeext && {
    4960          test "$cross_compiling" = yes ||
    4961          $as_test_x conftest$ac_exeext
    4962        }; then
    4963   ac_cv_func_sin=yes
    4964 else
    4965   $as_echo "$as_me: failed program was:" >&5
    4966 sed 's/^/| /' conftest.$ac_ext >&5
    4967 
    4968         ac_cv_func_sin=no
    4969 fi
    4970 
    4971 rm -rf conftest.dSYM
    4972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4973       conftest$ac_exeext conftest.$ac_ext
    4974 fi
    4975 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
    4976 $as_echo "$ac_cv_func_sin" >&6; }
    4977 if test $ac_cv_func_sin = yes; then
    4978   MATH_LIBS=""
    4979 else
    4980   MATH_LIBS="-lm"
    4981 fi
    4982 
    4983     { $as_echo "$as_me:$LINENO: checking for main in -lieee" >&5
    4984 $as_echo_n "checking for main in -lieee... " >&6; }
    4985 if test "${ac_cv_lib_ieee_main+set}" = set; then
    4986   $as_echo_n "(cached) " >&6
    4987 else
    4988   ac_check_lib_save_LIBS=$LIBS
    4989 LIBS="-lieee  $LIBS"
    4990 cat >conftest.$ac_ext <<_ACEOF
    4991 /* confdefs.h.  */
    4992 _ACEOF
    4993 cat confdefs.h >>conftest.$ac_ext
    4994 cat >>conftest.$ac_ext <<_ACEOF
    4995 /* end confdefs.h.  */
    4996 
    4997 
    4998 int
    4999 main ()
    5000 {
    5001 return main ();
    5002   ;
    5003   return 0;
    5004 }
    5005 _ACEOF
    5006 rm -f conftest.$ac_objext conftest$ac_exeext
    5007 if { (ac_try="$ac_link"
    5008 case "(($ac_try" in
    5009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5010   *) ac_try_echo=$ac_try;;
    5011 esac
    5012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5013 $as_echo "$ac_try_echo") >&5
    5014   (eval "$ac_link") 2>conftest.er1
    5015   ac_status=$?
    5016   grep -v '^ *+' conftest.er1 >conftest.err
    5017   rm -f conftest.er1
    5018   cat conftest.err >&5
    5019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5020   (exit $ac_status); } && {
    5021          test -z "$ac_c_werror_flag" ||
    5022          test ! -s conftest.err
    5023        } && test -s conftest$ac_exeext && {
    5024          test "$cross_compiling" = yes ||
    5025          $as_test_x conftest$ac_exeext
    5026        }; then
    5027   ac_cv_lib_ieee_main=yes
    5028 else
    5029   $as_echo "$as_me: failed program was:" >&5
    5030 sed 's/^/| /' conftest.$ac_ext >&5
    5031 
    5032         ac_cv_lib_ieee_main=no
    5033 fi
    5034 
    5035 rm -rf conftest.dSYM
    5036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5037       conftest$ac_exeext conftest.$ac_ext
    5038 LIBS=$ac_check_lib_save_LIBS
    5039 fi
    5040 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_main" >&5
    5041 $as_echo "$ac_cv_lib_ieee_main" >&6; }
    5042 if test $ac_cv_lib_ieee_main = yes; then
    5043   MATH_LIBS="-lieee $MATH_LIBS"
    5044 fi
    5045 
    5046 
    5047     #--------------------------------------------------------------------
    5048     # Interactive UNIX requires -linet instead of -lsocket, plus it
    5049     # needs net/errno.h to define the socket-related error codes.
    5050     #--------------------------------------------------------------------
    5051 
    5052     { $as_echo "$as_me:$LINENO: checking for main in -linet" >&5
    5053 $as_echo_n "checking for main in -linet... " >&6; }
    5054 if test "${ac_cv_lib_inet_main+set}" = set; then
    5055   $as_echo_n "(cached) " >&6
    5056 else
    5057   ac_check_lib_save_LIBS=$LIBS
    5058 LIBS="-linet  $LIBS"
    5059 cat >conftest.$ac_ext <<_ACEOF
    5060 /* confdefs.h.  */
    5061 _ACEOF
    5062 cat confdefs.h >>conftest.$ac_ext
    5063 cat >>conftest.$ac_ext <<_ACEOF
    5064 /* end confdefs.h.  */
    5065 
    5066 
    5067 int
    5068 main ()
    5069 {
    5070 return main ();
    5071   ;
    5072   return 0;
    5073 }
    5074 _ACEOF
    5075 rm -f conftest.$ac_objext conftest$ac_exeext
    5076 if { (ac_try="$ac_link"
    5077 case "(($ac_try" in
    5078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5079   *) ac_try_echo=$ac_try;;
    5080 esac
    5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5082 $as_echo "$ac_try_echo") >&5
    5083   (eval "$ac_link") 2>conftest.er1
    5084   ac_status=$?
    5085   grep -v '^ *+' conftest.er1 >conftest.err
    5086   rm -f conftest.er1
    5087   cat conftest.err >&5
    5088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5089   (exit $ac_status); } && {
    5090          test -z "$ac_c_werror_flag" ||
    5091          test ! -s conftest.err
    5092        } && test -s conftest$ac_exeext && {
    5093          test "$cross_compiling" = yes ||
    5094          $as_test_x conftest$ac_exeext
    5095        }; then
    5096   ac_cv_lib_inet_main=yes
    5097 else
    5098   $as_echo "$as_me: failed program was:" >&5
    5099 sed 's/^/| /' conftest.$ac_ext >&5
    5100 
    5101         ac_cv_lib_inet_main=no
    5102 fi
    5103 
    5104 rm -rf conftest.dSYM
    5105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5106       conftest$ac_exeext conftest.$ac_ext
    5107 LIBS=$ac_check_lib_save_LIBS
    5108 fi
    5109 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_inet_main" >&5
    5110 $as_echo "$ac_cv_lib_inet_main" >&6; }
    5111 if test $ac_cv_lib_inet_main = yes; then
    5112   LIBS="$LIBS -linet"
    5113 fi
    5114 
    5115     if test "${ac_cv_header_net_errno_h+set}" = set; then
    5116   { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5
    5117 $as_echo_n "checking for net/errno.h... " >&6; }
    5118 if test "${ac_cv_header_net_errno_h+set}" = set; then
    5119   $as_echo_n "(cached) " >&6
    5120 fi
    5121 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
    5122 $as_echo "$ac_cv_header_net_errno_h" >&6; }
    5123 else
    5124   # Is the header compilable?
    5125 { $as_echo "$as_me:$LINENO: checking net/errno.h usability" >&5
    5126 $as_echo_n "checking net/errno.h usability... " >&6; }
    5127 cat >conftest.$ac_ext <<_ACEOF
    5128 /* confdefs.h.  */
    5129 _ACEOF
    5130 cat confdefs.h >>conftest.$ac_ext
    5131 cat >>conftest.$ac_ext <<_ACEOF
    5132 /* end confdefs.h.  */
    5133 $ac_includes_default
    5134 #include <net/errno.h>
    5135 _ACEOF
    5136 rm -f conftest.$ac_objext
    5137 if { (ac_try="$ac_compile"
    5138 case "(($ac_try" in
    5139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5140   *) ac_try_echo=$ac_try;;
    5141 esac
    5142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5143 $as_echo "$ac_try_echo") >&5
    5144   (eval "$ac_compile") 2>conftest.er1
    5145   ac_status=$?
    5146   grep -v '^ *+' conftest.er1 >conftest.err
    5147   rm -f conftest.er1
    5148   cat conftest.err >&5
    5149   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5150   (exit $ac_status); } && {
    5151          test -z "$ac_c_werror_flag" ||
    5152          test ! -s conftest.err
    5153        } && test -s conftest.$ac_objext; then
    5154   ac_header_compiler=yes
    5155 else
    5156   $as_echo "$as_me: failed program was:" >&5
    5157 sed 's/^/| /' conftest.$ac_ext >&5
    5158 
    5159         ac_header_compiler=no
    5160 fi
    5161 
    5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5163 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5164 $as_echo "$ac_header_compiler" >&6; }
    5165 
    5166 # Is the header present?
    5167 { $as_echo "$as_me:$LINENO: checking net/errno.h presence" >&5
    5168 $as_echo_n "checking net/errno.h presence... " >&6; }
    5169 cat >conftest.$ac_ext <<_ACEOF
    5170 /* confdefs.h.  */
    5171 _ACEOF
    5172 cat confdefs.h >>conftest.$ac_ext
    5173 cat >>conftest.$ac_ext <<_ACEOF
    5174 /* end confdefs.h.  */
    5175 #include <net/errno.h>
    5176 _ACEOF
    5177 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5178 case "(($ac_try" in
    5179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5180   *) ac_try_echo=$ac_try;;
    5181 esac
    5182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5183 $as_echo "$ac_try_echo") >&5
    5184   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5185   ac_status=$?
    5186   grep -v '^ *+' conftest.er1 >conftest.err
    5187   rm -f conftest.er1
    5188   cat conftest.err >&5
    5189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5190   (exit $ac_status); } >/dev/null && {
    5191          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5192          test ! -s conftest.err
    5193        }; then
    5194   ac_header_preproc=yes
    5195 else
    5196   $as_echo "$as_me: failed program was:" >&5
    5197 sed 's/^/| /' conftest.$ac_ext >&5
    5198 
    5199   ac_header_preproc=no
    5200 fi
    5201 
    5202 rm -f conftest.err conftest.$ac_ext
    5203 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5204 $as_echo "$ac_header_preproc" >&6; }
    5205 
    5206 # So?  What about this header?
    5207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5208   yes:no: )
    5209     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5210 $as_echo "$as_me: WARNING: net/errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5211     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the compiler's result" >&5
    5212 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the compiler's result" >&2;}
    5213     ac_header_preproc=yes
    5214     ;;
    5215   no:yes:* )
    5216     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: present but cannot be compiled" >&5
    5217 $as_echo "$as_me: WARNING: net/errno.h: present but cannot be compiled" >&2;}
    5218     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h:     check for missing prerequisite headers?" >&5
    5219 $as_echo "$as_me: WARNING: net/errno.h:     check for missing prerequisite headers?" >&2;}
    5220     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: see the Autoconf documentation" >&5
    5221 $as_echo "$as_me: WARNING: net/errno.h: see the Autoconf documentation" >&2;}
    5222     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h:     section \"Present But Cannot Be Compiled\"" >&5
    5223 $as_echo "$as_me: WARNING: net/errno.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5224     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: proceeding with the preprocessor's result" >&5
    5225 $as_echo "$as_me: WARNING: net/errno.h: proceeding with the preprocessor's result" >&2;}
    5226     { $as_echo "$as_me:$LINENO: WARNING: net/errno.h: in the future, the compiler will take precedence" >&5
    5227 $as_echo "$as_me: WARNING: net/errno.h: in the future, the compiler will take precedence" >&2;}
    5228 
    5229     ;;
    5230 esac
    5231 { $as_echo "$as_me:$LINENO: checking for net/errno.h" >&5
    5232 $as_echo_n "checking for net/errno.h... " >&6; }
    5233 if test "${ac_cv_header_net_errno_h+set}" = set; then
    5234   $as_echo_n "(cached) " >&6
    5235 else
    5236   ac_cv_header_net_errno_h=$ac_header_preproc
    5237 fi
    5238 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_errno_h" >&5
    5239 $as_echo "$ac_cv_header_net_errno_h" >&6; }
    5240 
    5241 fi
    5242 if test $ac_cv_header_net_errno_h = yes; then
    5243 
    5244 
    5245 cat >>confdefs.h <<\_ACEOF
    5246 #define HAVE_NET_ERRNO_H 1
    5247 _ACEOF
    5248 
    5249 fi
    5250 
    5251 
    5252 
    5253     #--------------------------------------------------------------------
    5254     #   Check for the existence of the -lsocket and -lnsl libraries.
    5255     #   The order here is important, so that they end up in the right
    5256     #   order in the command line generated by make.  Here are some
    5257     #   special considerations:
    5258     #   1. Use "connect" and "accept" to check for -lsocket, and
    5259     #      "gethostbyname" to check for -lnsl.
    5260     #   2. Use each function name only once:  can't redo a check because
    5261     #      autoconf caches the results of the last check and won't redo it.
    5262     #   3. Use -lnsl and -lsocket only if they supply procedures that
    5263     #      aren't already present in the normal libraries.  This is because
    5264     #      IRIX 5.2 has libraries, but they aren't needed and they're
    5265     #      bogus:  they goof up name resolution if used.
    5266     #   4. On some SVR4 systems, can't use -lsocket without -lnsl too.
    5267     #      To get around this problem, check for both libraries together
    5268     #      if -lsocket doesn't work by itself.
    5269     #--------------------------------------------------------------------
    5270 
    5271     tcl_checkBoth=0
    5272     { $as_echo "$as_me:$LINENO: checking for connect" >&5
    5273 $as_echo_n "checking for connect... " >&6; }
    5274 if test "${ac_cv_func_connect+set}" = set; then
    5275   $as_echo_n "(cached) " >&6
    5276 else
    5277   cat >conftest.$ac_ext <<_ACEOF
    5278 /* confdefs.h.  */
    5279 _ACEOF
    5280 cat confdefs.h >>conftest.$ac_ext
    5281 cat >>conftest.$ac_ext <<_ACEOF
    5282 /* end confdefs.h.  */
    5283 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
    5284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5285 #define connect innocuous_connect
    5286 
    5287 /* System header to define __stub macros and hopefully few prototypes,
    5288     which can conflict with char connect (); below.
    5289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5290     <limits.h> exists even on freestanding compilers.  */
    5291 
    5292 #ifdef __STDC__
    5293 # include <limits.h>
    5294 #else
    5295 # include <assert.h>
    5296 #endif
    5297 
    5298 #undef connect
    5299 
    5300 /* Override any GCC internal prototype to avoid an error.
    5301    Use char because int might match the return type of a GCC
    5302    builtin and then its argument prototype would still apply.  */
    5303 #ifdef __cplusplus
    5304 extern "C"
    5305 #endif
    5306 char connect ();
    5307 /* The GNU C library defines this for functions which it implements
    5308     to always fail with ENOSYS.  Some functions are actually named
    5309     something starting with __ and the normal name is an alias.  */
    5310 #if defined __stub_connect || defined __stub___connect
    5311 choke me
    5312 #endif
    5313 
    5314 int
    5315 main ()
    5316 {
    5317 return connect ();
    5318   ;
    5319   return 0;
    5320 }
    5321 _ACEOF
    5322 rm -f conftest.$ac_objext conftest$ac_exeext
    5323 if { (ac_try="$ac_link"
    5324 case "(($ac_try" in
    5325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5326   *) ac_try_echo=$ac_try;;
    5327 esac
    5328 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5329 $as_echo "$ac_try_echo") >&5
    5330   (eval "$ac_link") 2>conftest.er1
    5331   ac_status=$?
    5332   grep -v '^ *+' conftest.er1 >conftest.err
    5333   rm -f conftest.er1
    5334   cat conftest.err >&5
    5335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5336   (exit $ac_status); } && {
    5337          test -z "$ac_c_werror_flag" ||
    5338          test ! -s conftest.err
    5339        } && test -s conftest$ac_exeext && {
    5340          test "$cross_compiling" = yes ||
    5341          $as_test_x conftest$ac_exeext
    5342        }; then
    5343   ac_cv_func_connect=yes
    5344 else
    5345   $as_echo "$as_me: failed program was:" >&5
    5346 sed 's/^/| /' conftest.$ac_ext >&5
    5347 
    5348         ac_cv_func_connect=no
    5349 fi
    5350 
    5351 rm -rf conftest.dSYM
    5352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5353       conftest$ac_exeext conftest.$ac_ext
    5354 fi
    5355 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
    5356 $as_echo "$ac_cv_func_connect" >&6; }
    5357 if test $ac_cv_func_connect = yes; then
    5358   tcl_checkSocket=0
    5359 else
    5360   tcl_checkSocket=1
    5361 fi
    5362 
    5363     if test "$tcl_checkSocket" = 1; then
    5364         { $as_echo "$as_me:$LINENO: checking for setsockopt" >&5
    5365 $as_echo_n "checking for setsockopt... " >&6; }
    5366 if test "${ac_cv_func_setsockopt+set}" = set; then
    5367   $as_echo_n "(cached) " >&6
    5368 else
    5369   cat >conftest.$ac_ext <<_ACEOF
    5370 /* confdefs.h.  */
    5371 _ACEOF
    5372 cat confdefs.h >>conftest.$ac_ext
    5373 cat >>conftest.$ac_ext <<_ACEOF
    5374 /* end confdefs.h.  */
    5375 /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
    5376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5377 #define setsockopt innocuous_setsockopt
    5378 
    5379 /* System header to define __stub macros and hopefully few prototypes,
    5380     which can conflict with char setsockopt (); below.
    5381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5382     <limits.h> exists even on freestanding compilers.  */
    5383 
    5384 #ifdef __STDC__
    5385 # include <limits.h>
    5386 #else
    5387 # include <assert.h>
    5388 #endif
    5389 
    5390 #undef setsockopt
    5391 
    5392 /* Override any GCC internal prototype to avoid an error.
    5393    Use char because int might match the return type of a GCC
    5394    builtin and then its argument prototype would still apply.  */
    5395 #ifdef __cplusplus
    5396 extern "C"
    5397 #endif
    5398 char setsockopt ();
    5399 /* The GNU C library defines this for functions which it implements
    5400     to always fail with ENOSYS.  Some functions are actually named
    5401     something starting with __ and the normal name is an alias.  */
    5402 #if defined __stub_setsockopt || defined __stub___setsockopt
    5403 choke me
    5404 #endif
    5405 
    5406 int
    5407 main ()
    5408 {
    5409 return setsockopt ();
    5410   ;
    5411   return 0;
    5412 }
    5413 _ACEOF
    5414 rm -f conftest.$ac_objext conftest$ac_exeext
    5415 if { (ac_try="$ac_link"
    5416 case "(($ac_try" in
    5417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5418   *) ac_try_echo=$ac_try;;
    5419 esac
    5420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5421 $as_echo "$ac_try_echo") >&5
    5422   (eval "$ac_link") 2>conftest.er1
    5423   ac_status=$?
    5424   grep -v '^ *+' conftest.er1 >conftest.err
    5425   rm -f conftest.er1
    5426   cat conftest.err >&5
    5427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5428   (exit $ac_status); } && {
    5429          test -z "$ac_c_werror_flag" ||
    5430          test ! -s conftest.err
    5431        } && test -s conftest$ac_exeext && {
    5432          test "$cross_compiling" = yes ||
    5433          $as_test_x conftest$ac_exeext
    5434        }; then
    5435   ac_cv_func_setsockopt=yes
    5436 else
    5437   $as_echo "$as_me: failed program was:" >&5
    5438 sed 's/^/| /' conftest.$ac_ext >&5
    5439 
    5440         ac_cv_func_setsockopt=no
    5441 fi
    5442 
    5443 rm -rf conftest.dSYM
    5444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5445       conftest$ac_exeext conftest.$ac_ext
    5446 fi
    5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
    5448 $as_echo "$ac_cv_func_setsockopt" >&6; }
    5449 if test $ac_cv_func_setsockopt = yes; then
    5450   :
    5451 else
    5452   { $as_echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
    5453 $as_echo_n "checking for setsockopt in -lsocket... " >&6; }
    5454 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
    5455   $as_echo_n "(cached) " >&6
    5456 else
    5457   ac_check_lib_save_LIBS=$LIBS
    5458 LIBS="-lsocket  $LIBS"
    5459 cat >conftest.$ac_ext <<_ACEOF
    5460 /* confdefs.h.  */
    5461 _ACEOF
    5462 cat confdefs.h >>conftest.$ac_ext
    5463 cat >>conftest.$ac_ext <<_ACEOF
    5464 /* end confdefs.h.  */
    5465 
    5466 /* Override any GCC internal prototype to avoid an error.
    5467    Use char because int might match the return type of a GCC
    5468    builtin and then its argument prototype would still apply.  */
    5469 #ifdef __cplusplus
    5470 extern "C"
    5471 #endif
    5472 char setsockopt ();
    5473 int
    5474 main ()
    5475 {
    5476 return setsockopt ();
    5477   ;
    5478   return 0;
    5479 }
    5480 _ACEOF
    5481 rm -f conftest.$ac_objext conftest$ac_exeext
    5482 if { (ac_try="$ac_link"
    5483 case "(($ac_try" in
    5484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5485   *) ac_try_echo=$ac_try;;
    5486 esac
    5487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5488 $as_echo "$ac_try_echo") >&5
    5489   (eval "$ac_link") 2>conftest.er1
    5490   ac_status=$?
    5491   grep -v '^ *+' conftest.er1 >conftest.err
    5492   rm -f conftest.er1
    5493   cat conftest.err >&5
    5494   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5495   (exit $ac_status); } && {
    5496          test -z "$ac_c_werror_flag" ||
    5497          test ! -s conftest.err
    5498        } && test -s conftest$ac_exeext && {
    5499          test "$cross_compiling" = yes ||
    5500          $as_test_x conftest$ac_exeext
    5501        }; then
    5502   ac_cv_lib_socket_setsockopt=yes
    5503 else
    5504   $as_echo "$as_me: failed program was:" >&5
    5505 sed 's/^/| /' conftest.$ac_ext >&5
    5506 
    5507         ac_cv_lib_socket_setsockopt=no
    5508 fi
    5509 
    5510 rm -rf conftest.dSYM
    5511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5512       conftest$ac_exeext conftest.$ac_ext
    5513 LIBS=$ac_check_lib_save_LIBS
    5514 fi
    5515 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
    5516 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
    5517 if test $ac_cv_lib_socket_setsockopt = yes; then
    5518   LIBS="$LIBS -lsocket"
    5519 else
    5520   tcl_checkBoth=1
    5521 fi
    5522 
    5523 fi
    5524 
    5525     fi
    5526     if test "$tcl_checkBoth" = 1; then
    5527         tk_oldLibs=$LIBS
    5528         LIBS="$LIBS -lsocket -lnsl"
    5529         { $as_echo "$as_me:$LINENO: checking for accept" >&5
    5530 $as_echo_n "checking for accept... " >&6; }
    5531 if test "${ac_cv_func_accept+set}" = set; then
    5532   $as_echo_n "(cached) " >&6
    5533 else
    5534   cat >conftest.$ac_ext <<_ACEOF
    5535 /* confdefs.h.  */
    5536 _ACEOF
    5537 cat confdefs.h >>conftest.$ac_ext
    5538 cat >>conftest.$ac_ext <<_ACEOF
    5539 /* end confdefs.h.  */
    5540 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
    5541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5542 #define accept innocuous_accept
    5543 
    5544 /* System header to define __stub macros and hopefully few prototypes,
    5545     which can conflict with char accept (); below.
    5546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5547     <limits.h> exists even on freestanding compilers.  */
    5548 
    5549 #ifdef __STDC__
    5550 # include <limits.h>
    5551 #else
    5552 # include <assert.h>
    5553 #endif
    5554 
    5555 #undef accept
    5556 
    5557 /* Override any GCC internal prototype to avoid an error.
    5558    Use char because int might match the return type of a GCC
    5559    builtin and then its argument prototype would still apply.  */
    5560 #ifdef __cplusplus
    5561 extern "C"
    5562 #endif
    5563 char accept ();
    5564 /* The GNU C library defines this for functions which it implements
    5565     to always fail with ENOSYS.  Some functions are actually named
    5566     something starting with __ and the normal name is an alias.  */
    5567 #if defined __stub_accept || defined __stub___accept
    5568 choke me
    5569 #endif
    5570 
    5571 int
    5572 main ()
    5573 {
    5574 return accept ();
    5575   ;
    5576   return 0;
    5577 }
    5578 _ACEOF
    5579 rm -f conftest.$ac_objext conftest$ac_exeext
    5580 if { (ac_try="$ac_link"
    5581 case "(($ac_try" in
    5582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5583   *) ac_try_echo=$ac_try;;
    5584 esac
    5585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5586 $as_echo "$ac_try_echo") >&5
    5587   (eval "$ac_link") 2>conftest.er1
    5588   ac_status=$?
    5589   grep -v '^ *+' conftest.er1 >conftest.err
    5590   rm -f conftest.er1
    5591   cat conftest.err >&5
    5592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5593   (exit $ac_status); } && {
    5594          test -z "$ac_c_werror_flag" ||
    5595          test ! -s conftest.err
    5596        } && test -s conftest$ac_exeext && {
    5597          test "$cross_compiling" = yes ||
    5598          $as_test_x conftest$ac_exeext
    5599        }; then
    5600   ac_cv_func_accept=yes
    5601 else
    5602   $as_echo "$as_me: failed program was:" >&5
    5603 sed 's/^/| /' conftest.$ac_ext >&5
    5604 
    5605         ac_cv_func_accept=no
    5606 fi
    5607 
    5608 rm -rf conftest.dSYM
    5609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5610       conftest$ac_exeext conftest.$ac_ext
    5611 fi
    5612 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
    5613 $as_echo "$ac_cv_func_accept" >&6; }
    5614 if test $ac_cv_func_accept = yes; then
    5615   tcl_checkNsl=0
    5616 else
    5617   LIBS=$tk_oldLibs
    5618 fi
    5619 
    5620     fi
    5621     { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
    5622 $as_echo_n "checking for gethostbyname... " >&6; }
    5623 if test "${ac_cv_func_gethostbyname+set}" = set; then
    5624   $as_echo_n "(cached) " >&6
    5625 else
    5626   cat >conftest.$ac_ext <<_ACEOF
    5627 /* confdefs.h.  */
    5628 _ACEOF
    5629 cat confdefs.h >>conftest.$ac_ext
    5630 cat >>conftest.$ac_ext <<_ACEOF
    5631 /* end confdefs.h.  */
    5632 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
    5633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5634 #define gethostbyname innocuous_gethostbyname
    5635 
    5636 /* System header to define __stub macros and hopefully few prototypes,
    5637     which can conflict with char gethostbyname (); below.
    5638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5639     <limits.h> exists even on freestanding compilers.  */
    5640 
    5641 #ifdef __STDC__
    5642 # include <limits.h>
    5643 #else
    5644 # include <assert.h>
    5645 #endif
    5646 
    5647 #undef gethostbyname
    5648 
    5649 /* Override any GCC internal prototype to avoid an error.
    5650    Use char because int might match the return type of a GCC
    5651    builtin and then its argument prototype would still apply.  */
    5652 #ifdef __cplusplus
    5653 extern "C"
    5654 #endif
    5655 char gethostbyname ();
    5656 /* The GNU C library defines this for functions which it implements
    5657     to always fail with ENOSYS.  Some functions are actually named
    5658     something starting with __ and the normal name is an alias.  */
    5659 #if defined __stub_gethostbyname || defined __stub___gethostbyname
    5660 choke me
    5661 #endif
    5662 
    5663 int
    5664 main ()
    5665 {
    5666 return gethostbyname ();
    5667   ;
    5668   return 0;
    5669 }
    5670 _ACEOF
    5671 rm -f conftest.$ac_objext conftest$ac_exeext
    5672 if { (ac_try="$ac_link"
    5673 case "(($ac_try" in
    5674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5675   *) ac_try_echo=$ac_try;;
    5676 esac
    5677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5678 $as_echo "$ac_try_echo") >&5
    5679   (eval "$ac_link") 2>conftest.er1
    5680   ac_status=$?
    5681   grep -v '^ *+' conftest.er1 >conftest.err
    5682   rm -f conftest.er1
    5683   cat conftest.err >&5
    5684   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5685   (exit $ac_status); } && {
    5686          test -z "$ac_c_werror_flag" ||
    5687          test ! -s conftest.err
    5688        } && test -s conftest$ac_exeext && {
    5689          test "$cross_compiling" = yes ||
    5690          $as_test_x conftest$ac_exeext
    5691        }; then
    5692   ac_cv_func_gethostbyname=yes
    5693 else
    5694   $as_echo "$as_me: failed program was:" >&5
    5695 sed 's/^/| /' conftest.$ac_ext >&5
    5696 
    5697         ac_cv_func_gethostbyname=no
    5698 fi
    5699 
    5700 rm -rf conftest.dSYM
    5701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5702       conftest$ac_exeext conftest.$ac_ext
    5703 fi
    5704 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
    5705 $as_echo "$ac_cv_func_gethostbyname" >&6; }
    5706 if test $ac_cv_func_gethostbyname = yes; then
    5707   :
    5708 else
    5709   { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
    5710 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
    5711 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
    5712   $as_echo_n "(cached) " >&6
    5713 else
    5714   ac_check_lib_save_LIBS=$LIBS
    5715 LIBS="-lnsl  $LIBS"
    5716 cat >conftest.$ac_ext <<_ACEOF
    5717 /* confdefs.h.  */
    5718 _ACEOF
    5719 cat confdefs.h >>conftest.$ac_ext
    5720 cat >>conftest.$ac_ext <<_ACEOF
    5721 /* end confdefs.h.  */
    5722 
    5723 /* Override any GCC internal prototype to avoid an error.
    5724    Use char because int might match the return type of a GCC
    5725    builtin and then its argument prototype would still apply.  */
    5726 #ifdef __cplusplus
    5727 extern "C"
    5728 #endif
    5729 char gethostbyname ();
    5730 int
    5731 main ()
    5732 {
    5733 return gethostbyname ();
    5734   ;
    5735   return 0;
    5736 }
    5737 _ACEOF
    5738 rm -f conftest.$ac_objext conftest$ac_exeext
    5739 if { (ac_try="$ac_link"
    5740 case "(($ac_try" in
    5741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5742   *) ac_try_echo=$ac_try;;
    5743 esac
    5744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5745 $as_echo "$ac_try_echo") >&5
    5746   (eval "$ac_link") 2>conftest.er1
    5747   ac_status=$?
    5748   grep -v '^ *+' conftest.er1 >conftest.err
    5749   rm -f conftest.er1
    5750   cat conftest.err >&5
    5751   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5752   (exit $ac_status); } && {
    5753          test -z "$ac_c_werror_flag" ||
    5754          test ! -s conftest.err
    5755        } && test -s conftest$ac_exeext && {
    5756          test "$cross_compiling" = yes ||
    5757          $as_test_x conftest$ac_exeext
    5758        }; then
    5759   ac_cv_lib_nsl_gethostbyname=yes
    5760 else
    5761   $as_echo "$as_me: failed program was:" >&5
    5762 sed 's/^/| /' conftest.$ac_ext >&5
    5763 
    5764         ac_cv_lib_nsl_gethostbyname=no
    5765 fi
    5766 
    5767 rm -rf conftest.dSYM
    5768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5769       conftest$ac_exeext conftest.$ac_ext
    5770 LIBS=$ac_check_lib_save_LIBS
    5771 fi
    5772 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
    5773 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
    5774 if test $ac_cv_lib_nsl_gethostbyname = yes; then
    5775   LIBS="$LIBS -lnsl"
    5776 fi
    5777 
    5778 fi
    5779 
    5780 
    5781     # Don't perform the eval of the libraries here because DL_LIBS
    5782     # won't be set until we call TEA_CONFIG_CFLAGS
    5783 
    5784     TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}'
    5785 
    5786 
    5787 
    5788 
    5789     { $as_echo "$as_me:$LINENO: checking dirent.h" >&5
    5790 $as_echo_n "checking dirent.h... " >&6; }
    5791 if test "${tcl_cv_dirent_h+set}" = set; then
    5792   $as_echo_n "(cached) " >&6
    5793 else
    5794   cat >conftest.$ac_ext <<_ACEOF
    5795 /* confdefs.h.  */
    5796 _ACEOF
    5797 cat confdefs.h >>conftest.$ac_ext
    5798 cat >>conftest.$ac_ext <<_ACEOF
    5799 /* end confdefs.h.  */
    5800 #include <sys/types.h>
    5801 #include <dirent.h>
    5802 int
    5803 main ()
    5804 {
    5805 
    5806 #ifndef _POSIX_SOURCE
    5807 #   ifdef __Lynx__
    5808         /*
    5809          * Generate compilation error to make the test fail:  Lynx headers
    5810          * are only valid if really in the POSIX environment.
    5811          */
    5812 
    5813         missing_procedure();
    5814 #   endif
    5815 #endif
    5816 DIR *d;
    5817 struct dirent *entryPtr;
    5818 char *p;
    5819 d = opendir("foobar");
    5820 entryPtr = readdir(d);
    5821 p = entryPtr->d_name;
    5822 closedir(d);
    5823 
    5824   ;
    5825   return 0;
    5826 }
    5827 _ACEOF
    5828 rm -f conftest.$ac_objext conftest$ac_exeext
    5829 if { (ac_try="$ac_link"
    5830 case "(($ac_try" in
    5831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5832   *) ac_try_echo=$ac_try;;
    5833 esac
    5834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5835 $as_echo "$ac_try_echo") >&5
    5836   (eval "$ac_link") 2>conftest.er1
    5837   ac_status=$?
    5838   grep -v '^ *+' conftest.er1 >conftest.err
    5839   rm -f conftest.er1
    5840   cat conftest.err >&5
    5841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5842   (exit $ac_status); } && {
    5843          test -z "$ac_c_werror_flag" ||
    5844          test ! -s conftest.err
    5845        } && test -s conftest$ac_exeext && {
    5846          test "$cross_compiling" = yes ||
    5847          $as_test_x conftest$ac_exeext
    5848        }; then
    5849   tcl_cv_dirent_h=yes
    5850 else
    5851   $as_echo "$as_me: failed program was:" >&5
    5852 sed 's/^/| /' conftest.$ac_ext >&5
    5853 
    5854         tcl_cv_dirent_h=no
    5855 fi
    5856 
    5857 rm -rf conftest.dSYM
    5858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5859       conftest$ac_exeext conftest.$ac_ext
    5860 fi
    5861 { $as_echo "$as_me:$LINENO: result: $tcl_cv_dirent_h" >&5
    5862 $as_echo "$tcl_cv_dirent_h" >&6; }
    5863 
    5864     if test $tcl_cv_dirent_h = no; then
    5865 
    5866 cat >>confdefs.h <<\_ACEOF
    5867 #define NO_DIRENT_H 1
    5868 _ACEOF
    5869 
    5870     fi
    5871 
    5872     if test "${ac_cv_header_errno_h+set}" = set; then
    5873   { $as_echo "$as_me:$LINENO: checking for errno.h" >&5
    5874 $as_echo_n "checking for errno.h... " >&6; }
    5875 if test "${ac_cv_header_errno_h+set}" = set; then
    5876   $as_echo_n "(cached) " >&6
    5877 fi
    5878 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
    5879 $as_echo "$ac_cv_header_errno_h" >&6; }
    5880 else
    5881   # Is the header compilable?
    5882 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5
    5883 $as_echo_n "checking errno.h usability... " >&6; }
    5884 cat >conftest.$ac_ext <<_ACEOF
    5885 /* confdefs.h.  */
    5886 _ACEOF
    5887 cat confdefs.h >>conftest.$ac_ext
    5888 cat >>conftest.$ac_ext <<_ACEOF
    5889 /* end confdefs.h.  */
    5890 $ac_includes_default
    5891 #include <errno.h>
    5892 _ACEOF
    5893 rm -f conftest.$ac_objext
    5894 if { (ac_try="$ac_compile"
    5895 case "(($ac_try" in
    5896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5897   *) ac_try_echo=$ac_try;;
    5898 esac
    5899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5900 $as_echo "$ac_try_echo") >&5
    5901   (eval "$ac_compile") 2>conftest.er1
    5902   ac_status=$?
    5903   grep -v '^ *+' conftest.er1 >conftest.err
    5904   rm -f conftest.er1
    5905   cat conftest.err >&5
    5906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5907   (exit $ac_status); } && {
    5908          test -z "$ac_c_werror_flag" ||
    5909          test ! -s conftest.err
    5910        } && test -s conftest.$ac_objext; then
    5911   ac_header_compiler=yes
    5912 else
    5913   $as_echo "$as_me: failed program was:" >&5
    5914 sed 's/^/| /' conftest.$ac_ext >&5
    5915 
    5916         ac_header_compiler=no
    5917 fi
    5918 
    5919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5920 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5921 $as_echo "$ac_header_compiler" >&6; }
    5922 
    5923 # Is the header present?
    5924 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5
    5925 $as_echo_n "checking errno.h presence... " >&6; }
    5926 cat >conftest.$ac_ext <<_ACEOF
    5927 /* confdefs.h.  */
    5928 _ACEOF
    5929 cat confdefs.h >>conftest.$ac_ext
    5930 cat >>conftest.$ac_ext <<_ACEOF
    5931 /* end confdefs.h.  */
    5932 #include <errno.h>
    5933 _ACEOF
    5934 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5935 case "(($ac_try" in
    5936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5937   *) ac_try_echo=$ac_try;;
    5938 esac
    5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5940 $as_echo "$ac_try_echo") >&5
    5941   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5942   ac_status=$?
    5943   grep -v '^ *+' conftest.er1 >conftest.err
    5944   rm -f conftest.er1
    5945   cat conftest.err >&5
    5946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5947   (exit $ac_status); } >/dev/null && {
    5948          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5949          test ! -s conftest.err
    5950        }; then
    5951   ac_header_preproc=yes
    5952 else
    5953   $as_echo "$as_me: failed program was:" >&5
    5954 sed 's/^/| /' conftest.$ac_ext >&5
    5955 
    5956   ac_header_preproc=no
    5957 fi
    5958 
    5959 rm -f conftest.err conftest.$ac_ext
    5960 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5961 $as_echo "$ac_header_preproc" >&6; }
    5962 
    5963 # So?  What about this header?
    5964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5965   yes:no: )
    5966     { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5967 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5968     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5
    5969 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;}
    5970     ac_header_preproc=yes
    5971     ;;
    5972   no:yes:* )
    5973     { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5
    5974 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;}
    5975     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     check for missing prerequisite headers?" >&5
    5976 $as_echo "$as_me: WARNING: errno.h:     check for missing prerequisite headers?" >&2;}
    5977     { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5
    5978 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;}
    5979     { $as_echo "$as_me:$LINENO: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&5
    5980 $as_echo "$as_me: WARNING: errno.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5981     { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5
    5982 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;}
    5983     { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5
    5984 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;}
    5985 
    5986     ;;
    5987 esac
    5988 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5
    5989 $as_echo_n "checking for errno.h... " >&6; }
    5990 if test "${ac_cv_header_errno_h+set}" = set; then
    5991   $as_echo_n "(cached) " >&6
    5992 else
    5993   ac_cv_header_errno_h=$ac_header_preproc
    5994 fi
    5995 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5
    5996 $as_echo "$ac_cv_header_errno_h" >&6; }
    5997 
    5998 fi
    5999 if test $ac_cv_header_errno_h = yes; then
    6000   :
    6001 else
    6002 
    6003 cat >>confdefs.h <<\_ACEOF
    6004 #define NO_ERRNO_H 1
    6005 _ACEOF
    6006 
    6007 fi
    6008 
    6009 
    6010     if test "${ac_cv_header_float_h+set}" = set; then
    6011   { $as_echo "$as_me:$LINENO: checking for float.h" >&5
    6012 $as_echo_n "checking for float.h... " >&6; }
    6013 if test "${ac_cv_header_float_h+set}" = set; then
    6014   $as_echo_n "(cached) " >&6
    6015 fi
    6016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
    6017 $as_echo "$ac_cv_header_float_h" >&6; }
    6018 else
    6019   # Is the header compilable?
    6020 { $as_echo "$as_me:$LINENO: checking float.h usability" >&5
    6021 $as_echo_n "checking float.h usability... " >&6; }
    6022 cat >conftest.$ac_ext <<_ACEOF
    6023 /* confdefs.h.  */
    6024 _ACEOF
    6025 cat confdefs.h >>conftest.$ac_ext
    6026 cat >>conftest.$ac_ext <<_ACEOF
    6027 /* end confdefs.h.  */
    6028 $ac_includes_default
    6029 #include <float.h>
    6030 _ACEOF
    6031 rm -f conftest.$ac_objext
    6032 if { (ac_try="$ac_compile"
    6033 case "(($ac_try" in
    6034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6035   *) ac_try_echo=$ac_try;;
    6036 esac
    6037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6038 $as_echo "$ac_try_echo") >&5
    6039   (eval "$ac_compile") 2>conftest.er1
    6040   ac_status=$?
    6041   grep -v '^ *+' conftest.er1 >conftest.err
    6042   rm -f conftest.er1
    6043   cat conftest.err >&5
    6044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6045   (exit $ac_status); } && {
    6046          test -z "$ac_c_werror_flag" ||
    6047          test ! -s conftest.err
    6048        } && test -s conftest.$ac_objext; then
    6049   ac_header_compiler=yes
    6050 else
    6051   $as_echo "$as_me: failed program was:" >&5
    6052 sed 's/^/| /' conftest.$ac_ext >&5
    6053 
    6054         ac_header_compiler=no
    6055 fi
    6056 
    6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6059 $as_echo "$ac_header_compiler" >&6; }
    6060 
    6061 # Is the header present?
    6062 { $as_echo "$as_me:$LINENO: checking float.h presence" >&5
    6063 $as_echo_n "checking float.h presence... " >&6; }
    6064 cat >conftest.$ac_ext <<_ACEOF
    6065 /* confdefs.h.  */
    6066 _ACEOF
    6067 cat confdefs.h >>conftest.$ac_ext
    6068 cat >>conftest.$ac_ext <<_ACEOF
    6069 /* end confdefs.h.  */
    6070 #include <float.h>
    6071 _ACEOF
    6072 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6073 case "(($ac_try" in
    6074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6075   *) ac_try_echo=$ac_try;;
    6076 esac
    6077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6078 $as_echo "$ac_try_echo") >&5
    6079   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6080   ac_status=$?
    6081   grep -v '^ *+' conftest.er1 >conftest.err
    6082   rm -f conftest.er1
    6083   cat conftest.err >&5
    6084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6085   (exit $ac_status); } >/dev/null && {
    6086          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6087          test ! -s conftest.err
    6088        }; then
    6089   ac_header_preproc=yes
    6090 else
    6091   $as_echo "$as_me: failed program was:" >&5
    6092 sed 's/^/| /' conftest.$ac_ext >&5
    6093 
    6094   ac_header_preproc=no
    6095 fi
    6096 
    6097 rm -f conftest.err conftest.$ac_ext
    6098 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6099 $as_echo "$ac_header_preproc" >&6; }
    6100 
    6101 # So?  What about this header?
    6102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6103   yes:no: )
    6104     { $as_echo "$as_me:$LINENO: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6105 $as_echo "$as_me: WARNING: float.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6106     { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the compiler's result" >&5
    6107 $as_echo "$as_me: WARNING: float.h: proceeding with the compiler's result" >&2;}
    6108     ac_header_preproc=yes
    6109     ;;
    6110   no:yes:* )
    6111     { $as_echo "$as_me:$LINENO: WARNING: float.h: present but cannot be compiled" >&5
    6112 $as_echo "$as_me: WARNING: float.h: present but cannot be compiled" >&2;}
    6113     { $as_echo "$as_me:$LINENO: WARNING: float.h:     check for missing prerequisite headers?" >&5
    6114 $as_echo "$as_me: WARNING: float.h:     check for missing prerequisite headers?" >&2;}
    6115     { $as_echo "$as_me:$LINENO: WARNING: float.h: see the Autoconf documentation" >&5
    6116 $as_echo "$as_me: WARNING: float.h: see the Autoconf documentation" >&2;}
    6117     { $as_echo "$as_me:$LINENO: WARNING: float.h:     section \"Present But Cannot Be Compiled\"" >&5
    6118 $as_echo "$as_me: WARNING: float.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6119     { $as_echo "$as_me:$LINENO: WARNING: float.h: proceeding with the preprocessor's result" >&5
    6120 $as_echo "$as_me: WARNING: float.h: proceeding with the preprocessor's result" >&2;}
    6121     { $as_echo "$as_me:$LINENO: WARNING: float.h: in the future, the compiler will take precedence" >&5
    6122 $as_echo "$as_me: WARNING: float.h: in the future, the compiler will take precedence" >&2;}
    6123 
    6124     ;;
    6125 esac
    6126 { $as_echo "$as_me:$LINENO: checking for float.h" >&5
    6127 $as_echo_n "checking for float.h... " >&6; }
    6128 if test "${ac_cv_header_float_h+set}" = set; then
    6129   $as_echo_n "(cached) " >&6
    6130 else
    6131   ac_cv_header_float_h=$ac_header_preproc
    6132 fi
    6133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_float_h" >&5
    6134 $as_echo "$ac_cv_header_float_h" >&6; }
    6135 
    6136 fi
    6137 if test $ac_cv_header_float_h = yes; then
    6138   :
    6139 else
    6140 
    6141 cat >>confdefs.h <<\_ACEOF
    6142 #define NO_FLOAT_H 1
    6143 _ACEOF
    6144 
    6145 fi
    6146 
    6147 
    6148     if test "${ac_cv_header_values_h+set}" = set; then
    6149   { $as_echo "$as_me:$LINENO: checking for values.h" >&5
    6150 $as_echo_n "checking for values.h... " >&6; }
    6151 if test "${ac_cv_header_values_h+set}" = set; then
    6152   $as_echo_n "(cached) " >&6
    6153 fi
    6154 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
    6155 $as_echo "$ac_cv_header_values_h" >&6; }
    6156 else
    6157   # Is the header compilable?
    6158 { $as_echo "$as_me:$LINENO: checking values.h usability" >&5
    6159 $as_echo_n "checking values.h usability... " >&6; }
    6160 cat >conftest.$ac_ext <<_ACEOF
    6161 /* confdefs.h.  */
    6162 _ACEOF
    6163 cat confdefs.h >>conftest.$ac_ext
    6164 cat >>conftest.$ac_ext <<_ACEOF
    6165 /* end confdefs.h.  */
    6166 $ac_includes_default
    6167 #include <values.h>
    6168 _ACEOF
    6169 rm -f conftest.$ac_objext
    6170 if { (ac_try="$ac_compile"
    6171 case "(($ac_try" in
    6172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6173   *) ac_try_echo=$ac_try;;
    6174 esac
    6175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6176 $as_echo "$ac_try_echo") >&5
    6177   (eval "$ac_compile") 2>conftest.er1
    6178   ac_status=$?
    6179   grep -v '^ *+' conftest.er1 >conftest.err
    6180   rm -f conftest.er1
    6181   cat conftest.err >&5
    6182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6183   (exit $ac_status); } && {
    6184          test -z "$ac_c_werror_flag" ||
    6185          test ! -s conftest.err
    6186        } && test -s conftest.$ac_objext; then
    6187   ac_header_compiler=yes
    6188 else
    6189   $as_echo "$as_me: failed program was:" >&5
    6190 sed 's/^/| /' conftest.$ac_ext >&5
    6191 
    6192         ac_header_compiler=no
    6193 fi
    6194 
    6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6196 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6197 $as_echo "$ac_header_compiler" >&6; }
    6198 
    6199 # Is the header present?
    6200 { $as_echo "$as_me:$LINENO: checking values.h presence" >&5
    6201 $as_echo_n "checking values.h presence... " >&6; }
    6202 cat >conftest.$ac_ext <<_ACEOF
    6203 /* confdefs.h.  */
    6204 _ACEOF
    6205 cat confdefs.h >>conftest.$ac_ext
    6206 cat >>conftest.$ac_ext <<_ACEOF
    6207 /* end confdefs.h.  */
    6208 #include <values.h>
    6209 _ACEOF
    6210 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6211 case "(($ac_try" in
    6212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6213   *) ac_try_echo=$ac_try;;
    6214 esac
    6215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6216 $as_echo "$ac_try_echo") >&5
    6217   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6218   ac_status=$?
    6219   grep -v '^ *+' conftest.er1 >conftest.err
    6220   rm -f conftest.er1
    6221   cat conftest.err >&5
    6222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6223   (exit $ac_status); } >/dev/null && {
    6224          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6225          test ! -s conftest.err
    6226        }; then
    6227   ac_header_preproc=yes
    6228 else
    6229   $as_echo "$as_me: failed program was:" >&5
    6230 sed 's/^/| /' conftest.$ac_ext >&5
    6231 
    6232   ac_header_preproc=no
    6233 fi
    6234 
    6235 rm -f conftest.err conftest.$ac_ext
    6236 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6237 $as_echo "$ac_header_preproc" >&6; }
    6238 
    6239 # So?  What about this header?
    6240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6241   yes:no: )
    6242     { $as_echo "$as_me:$LINENO: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6243 $as_echo "$as_me: WARNING: values.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6244     { $as_echo "$as_me:$LINENO: WARNING: values.h: proceeding with the compiler's result" >&5
    6245 $as_echo "$as_me: WARNING: values.h: proceeding with the compiler's result" >&2;}
    6246     ac_header_preproc=yes
    6247     ;;
    6248   no:yes:* )
    6249     { $as_echo "$as_me:$LINENO: WARNING: values.h: present but cannot be compiled" >&5
    6250 $as_echo "$as_me: WARNING: values.h: present but cannot be compiled" >&2;}
    6251     { $as_echo "$as_me:$LINENO: WARNING: values.h:     check for missing prerequisite headers?" >&5
    6252 $as_echo "$as_me: WARNING: values.h:     check for missing prerequisite headers?" >&2;}
    6253     { $as_echo "$as_me:$LINENO: WARNING: values.h: see the Autoconf documentation" >&5
    6254 $as_echo "$as_me: WARNING: values.h: see the Autoconf documentation" >&2;}
    6255     { $as_echo "$as_me:$LINENO: WARNING: values.h:     section \"Present But Cannot Be Compiled\"" >&5
    6256 $as_echo "$as_me: WARNING: values.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6257     { $as_echo "$as_me:$LINENO: WARNING: values.h: proceeding with the preprocessor's result" >&5
    6258 $as_echo "$as_me: WARNING: values.h: proceeding with the preprocessor's result" >&2;}
    6259     { $as_echo "$as_me:$LINENO: WARNING: values.h: in the future, the compiler will take precedence" >&5
    6260 $as_echo "$as_me: WARNING: values.h: in the future, the compiler will take precedence" >&2;}
    6261 
    6262     ;;
    6263 esac
    6264 { $as_echo "$as_me:$LINENO: checking for values.h" >&5
    6265 $as_echo_n "checking for values.h... " >&6; }
    6266 if test "${ac_cv_header_values_h+set}" = set; then
    6267   $as_echo_n "(cached) " >&6
    6268 else
    6269   ac_cv_header_values_h=$ac_header_preproc
    6270 fi
    6271 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_values_h" >&5
    6272 $as_echo "$ac_cv_header_values_h" >&6; }
    6273 
    6274 fi
    6275 if test $ac_cv_header_values_h = yes; then
    6276   :
    6277 else
    6278 
    6279 cat >>confdefs.h <<\_ACEOF
    6280 #define NO_VALUES_H 1
    6281 _ACEOF
    6282 
    6283 fi
    6284 
    6285 
    6286     if test "${ac_cv_header_limits_h+set}" = set; then
    6287   { $as_echo "$as_me:$LINENO: checking for limits.h" >&5
    6288 $as_echo_n "checking for limits.h... " >&6; }
    6289 if test "${ac_cv_header_limits_h+set}" = set; then
    6290   $as_echo_n "(cached) " >&6
    6291 fi
    6292 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
    6293 $as_echo "$ac_cv_header_limits_h" >&6; }
    6294 else
    6295   # Is the header compilable?
    6296 { $as_echo "$as_me:$LINENO: checking limits.h usability" >&5
    6297 $as_echo_n "checking limits.h usability... " >&6; }
    6298 cat >conftest.$ac_ext <<_ACEOF
    6299 /* confdefs.h.  */
    6300 _ACEOF
    6301 cat confdefs.h >>conftest.$ac_ext
    6302 cat >>conftest.$ac_ext <<_ACEOF
    6303 /* end confdefs.h.  */
    6304 $ac_includes_default
    6305 #include <limits.h>
    6306 _ACEOF
    6307 rm -f conftest.$ac_objext
    6308 if { (ac_try="$ac_compile"
    6309 case "(($ac_try" in
    6310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6311   *) ac_try_echo=$ac_try;;
    6312 esac
    6313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6314 $as_echo "$ac_try_echo") >&5
    6315   (eval "$ac_compile") 2>conftest.er1
    6316   ac_status=$?
    6317   grep -v '^ *+' conftest.er1 >conftest.err
    6318   rm -f conftest.er1
    6319   cat conftest.err >&5
    6320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6321   (exit $ac_status); } && {
    6322          test -z "$ac_c_werror_flag" ||
    6323          test ! -s conftest.err
    6324        } && test -s conftest.$ac_objext; then
    6325   ac_header_compiler=yes
    6326 else
    6327   $as_echo "$as_me: failed program was:" >&5
    6328 sed 's/^/| /' conftest.$ac_ext >&5
    6329 
    6330         ac_header_compiler=no
    6331 fi
    6332 
    6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6334 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6335 $as_echo "$ac_header_compiler" >&6; }
    6336 
    6337 # Is the header present?
    6338 { $as_echo "$as_me:$LINENO: checking limits.h presence" >&5
    6339 $as_echo_n "checking limits.h presence... " >&6; }
    6340 cat >conftest.$ac_ext <<_ACEOF
    6341 /* confdefs.h.  */
    6342 _ACEOF
    6343 cat confdefs.h >>conftest.$ac_ext
    6344 cat >>conftest.$ac_ext <<_ACEOF
    6345 /* end confdefs.h.  */
    6346 #include <limits.h>
    6347 _ACEOF
    6348 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6349 case "(($ac_try" in
    6350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6351   *) ac_try_echo=$ac_try;;
    6352 esac
    6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6354 $as_echo "$ac_try_echo") >&5
    6355   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6356   ac_status=$?
    6357   grep -v '^ *+' conftest.er1 >conftest.err
    6358   rm -f conftest.er1
    6359   cat conftest.err >&5
    6360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6361   (exit $ac_status); } >/dev/null && {
    6362          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6363          test ! -s conftest.err
    6364        }; then
    6365   ac_header_preproc=yes
    6366 else
    6367   $as_echo "$as_me: failed program was:" >&5
    6368 sed 's/^/| /' conftest.$ac_ext >&5
    6369 
    6370   ac_header_preproc=no
    6371 fi
    6372 
    6373 rm -f conftest.err conftest.$ac_ext
    6374 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6375 $as_echo "$ac_header_preproc" >&6; }
    6376 
    6377 # So?  What about this header?
    6378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6379   yes:no: )
    6380     { $as_echo "$as_me:$LINENO: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6381 $as_echo "$as_me: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6382     { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the compiler's result" >&5
    6383 $as_echo "$as_me: WARNING: limits.h: proceeding with the compiler's result" >&2;}
    6384     ac_header_preproc=yes
    6385     ;;
    6386   no:yes:* )
    6387     { $as_echo "$as_me:$LINENO: WARNING: limits.h: present but cannot be compiled" >&5
    6388 $as_echo "$as_me: WARNING: limits.h: present but cannot be compiled" >&2;}
    6389     { $as_echo "$as_me:$LINENO: WARNING: limits.h:     check for missing prerequisite headers?" >&5
    6390 $as_echo "$as_me: WARNING: limits.h:     check for missing prerequisite headers?" >&2;}
    6391     { $as_echo "$as_me:$LINENO: WARNING: limits.h: see the Autoconf documentation" >&5
    6392 $as_echo "$as_me: WARNING: limits.h: see the Autoconf documentation" >&2;}
    6393     { $as_echo "$as_me:$LINENO: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&5
    6394 $as_echo "$as_me: WARNING: limits.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6395     { $as_echo "$as_me:$LINENO: WARNING: limits.h: proceeding with the preprocessor's result" >&5
    6396 $as_echo "$as_me: WARNING: limits.h: proceeding with the preprocessor's result" >&2;}
    6397     { $as_echo "$as_me:$LINENO: WARNING: limits.h: in the future, the compiler will take precedence" >&5
    6398 $as_echo "$as_me: WARNING: limits.h: in the future, the compiler will take precedence" >&2;}
    6399 
    6400     ;;
    6401 esac
    6402 { $as_echo "$as_me:$LINENO: checking for limits.h" >&5
    6403 $as_echo_n "checking for limits.h... " >&6; }
    6404 if test "${ac_cv_header_limits_h+set}" = set; then
    6405   $as_echo_n "(cached) " >&6
    6406 else
    6407   ac_cv_header_limits_h=$ac_header_preproc
    6408 fi
    6409 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_limits_h" >&5
    6410 $as_echo "$ac_cv_header_limits_h" >&6; }
    6411 
    6412 fi
    6413 if test $ac_cv_header_limits_h = yes; then
    6414 
    6415 cat >>confdefs.h <<\_ACEOF
    6416 #define HAVE_LIMITS_H 1
    6417 _ACEOF
    6418 
    6419 else
    6420 
    6421 cat >>confdefs.h <<\_ACEOF
    6422 #define NO_LIMITS_H 1
    6423 _ACEOF
    6424 
    6425 fi
    6426 
    6427 
    6428     if test "${ac_cv_header_stdlib_h+set}" = set; then
    6429   { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5
    6430 $as_echo_n "checking for stdlib.h... " >&6; }
    6431 if test "${ac_cv_header_stdlib_h+set}" = set; then
    6432   $as_echo_n "(cached) " >&6
    6433 fi
    6434 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
    6435 $as_echo "$ac_cv_header_stdlib_h" >&6; }
    6436 else
    6437   # Is the header compilable?
    6438 { $as_echo "$as_me:$LINENO: checking stdlib.h usability" >&5
    6439 $as_echo_n "checking stdlib.h usability... " >&6; }
    6440 cat >conftest.$ac_ext <<_ACEOF
    6441 /* confdefs.h.  */
    6442 _ACEOF
    6443 cat confdefs.h >>conftest.$ac_ext
    6444 cat >>conftest.$ac_ext <<_ACEOF
    6445 /* end confdefs.h.  */
    6446 $ac_includes_default
    6447 #include <stdlib.h>
    6448 _ACEOF
    6449 rm -f conftest.$ac_objext
    6450 if { (ac_try="$ac_compile"
    6451 case "(($ac_try" in
    6452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6453   *) ac_try_echo=$ac_try;;
    6454 esac
    6455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6456 $as_echo "$ac_try_echo") >&5
    6457   (eval "$ac_compile") 2>conftest.er1
    6458   ac_status=$?
    6459   grep -v '^ *+' conftest.er1 >conftest.err
    6460   rm -f conftest.er1
    6461   cat conftest.err >&5
    6462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6463   (exit $ac_status); } && {
    6464          test -z "$ac_c_werror_flag" ||
    6465          test ! -s conftest.err
    6466        } && test -s conftest.$ac_objext; then
    6467   ac_header_compiler=yes
    6468 else
    6469   $as_echo "$as_me: failed program was:" >&5
    6470 sed 's/^/| /' conftest.$ac_ext >&5
    6471 
    6472         ac_header_compiler=no
    6473 fi
    6474 
    6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6476 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6477 $as_echo "$ac_header_compiler" >&6; }
    6478 
    6479 # Is the header present?
    6480 { $as_echo "$as_me:$LINENO: checking stdlib.h presence" >&5
    6481 $as_echo_n "checking stdlib.h presence... " >&6; }
    6482 cat >conftest.$ac_ext <<_ACEOF
    6483 /* confdefs.h.  */
    6484 _ACEOF
    6485 cat confdefs.h >>conftest.$ac_ext
    6486 cat >>conftest.$ac_ext <<_ACEOF
    6487 /* end confdefs.h.  */
    6488 #include <stdlib.h>
    6489 _ACEOF
    6490 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6491 case "(($ac_try" in
    6492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6493   *) ac_try_echo=$ac_try;;
    6494 esac
    6495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6496 $as_echo "$ac_try_echo") >&5
    6497   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6498   ac_status=$?
    6499   grep -v '^ *+' conftest.er1 >conftest.err
    6500   rm -f conftest.er1
    6501   cat conftest.err >&5
    6502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6503   (exit $ac_status); } >/dev/null && {
    6504          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6505          test ! -s conftest.err
    6506        }; then
    6507   ac_header_preproc=yes
    6508 else
    6509   $as_echo "$as_me: failed program was:" >&5
    6510 sed 's/^/| /' conftest.$ac_ext >&5
    6511 
    6512   ac_header_preproc=no
    6513 fi
    6514 
    6515 rm -f conftest.err conftest.$ac_ext
    6516 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6517 $as_echo "$ac_header_preproc" >&6; }
    6518 
    6519 # So?  What about this header?
    6520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6521   yes:no: )
    6522     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6523 $as_echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6524     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5
    6525 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;}
    6526     ac_header_preproc=yes
    6527     ;;
    6528   no:yes:* )
    6529     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5
    6530 $as_echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;}
    6531     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h:     check for missing prerequisite headers?" >&5
    6532 $as_echo "$as_me: WARNING: stdlib.h:     check for missing prerequisite headers?" >&2;}
    6533     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5
    6534 $as_echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;}
    6535     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&5
    6536 $as_echo "$as_me: WARNING: stdlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6537     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5
    6538 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;}
    6539     { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5
    6540 $as_echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;}
    6541 
    6542     ;;
    6543 esac
    6544 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5
    6545 $as_echo_n "checking for stdlib.h... " >&6; }
    6546 if test "${ac_cv_header_stdlib_h+set}" = set; then
    6547   $as_echo_n "(cached) " >&6
    6548 else
    6549   ac_cv_header_stdlib_h=$ac_header_preproc
    6550 fi
    6551 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5
    6552 $as_echo "$ac_cv_header_stdlib_h" >&6; }
    6553 
    6554 fi
    6555 if test $ac_cv_header_stdlib_h = yes; then
    6556   tcl_ok=1
    6557 else
    6558   tcl_ok=0
    6559 fi
    6560 
    6561 
    6562     cat >conftest.$ac_ext <<_ACEOF
    6563 /* confdefs.h.  */
    6564 _ACEOF
    6565 cat confdefs.h >>conftest.$ac_ext
    6566 cat >>conftest.$ac_ext <<_ACEOF
    6567 /* end confdefs.h.  */
    6568 #include <stdlib.h>
    6569 
    6570 _ACEOF
    6571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6572   $EGREP "strtol" >/dev/null 2>&1; then
    6573   :
    6574 else
    6575   tcl_ok=0
    6576 fi
    6577 rm -f conftest*
    6578 
    6579     cat >conftest.$ac_ext <<_ACEOF
    6580 /* confdefs.h.  */
    6581 _ACEOF
    6582 cat confdefs.h >>conftest.$ac_ext
    6583 cat >>conftest.$ac_ext <<_ACEOF
    6584 /* end confdefs.h.  */
    6585 #include <stdlib.h>
    6586 
    6587 _ACEOF
    6588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6589   $EGREP "strtoul" >/dev/null 2>&1; then
    6590   :
    6591 else
    6592   tcl_ok=0
    6593 fi
    6594 rm -f conftest*
    6595 
    6596     cat >conftest.$ac_ext <<_ACEOF
    6597 /* confdefs.h.  */
    6598 _ACEOF
    6599 cat confdefs.h >>conftest.$ac_ext
    6600 cat >>conftest.$ac_ext <<_ACEOF
    6601 /* end confdefs.h.  */
    6602 #include <stdlib.h>
    6603 
    6604 _ACEOF
    6605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6606   $EGREP "strtod" >/dev/null 2>&1; then
    6607   :
    6608 else
    6609   tcl_ok=0
    6610 fi
    6611 rm -f conftest*
    6612 
    6613     if test $tcl_ok = 0; then
    6614 
    6615 cat >>confdefs.h <<\_ACEOF
    6616 #define NO_STDLIB_H 1
    6617 _ACEOF
    6618 
    6619     fi
    6620     if test "${ac_cv_header_string_h+set}" = set; then
    6621   { $as_echo "$as_me:$LINENO: checking for string.h" >&5
    6622 $as_echo_n "checking for string.h... " >&6; }
    6623 if test "${ac_cv_header_string_h+set}" = set; then
    6624   $as_echo_n "(cached) " >&6
    6625 fi
    6626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
    6627 $as_echo "$ac_cv_header_string_h" >&6; }
    6628 else
    6629   # Is the header compilable?
    6630 { $as_echo "$as_me:$LINENO: checking string.h usability" >&5
    6631 $as_echo_n "checking string.h usability... " >&6; }
    6632 cat >conftest.$ac_ext <<_ACEOF
    6633 /* confdefs.h.  */
    6634 _ACEOF
    6635 cat confdefs.h >>conftest.$ac_ext
    6636 cat >>conftest.$ac_ext <<_ACEOF
    6637 /* end confdefs.h.  */
    6638 $ac_includes_default
    6639 #include <string.h>
    6640 _ACEOF
    6641 rm -f conftest.$ac_objext
    6642 if { (ac_try="$ac_compile"
    6643 case "(($ac_try" in
    6644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6645   *) ac_try_echo=$ac_try;;
    6646 esac
    6647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6648 $as_echo "$ac_try_echo") >&5
    6649   (eval "$ac_compile") 2>conftest.er1
    6650   ac_status=$?
    6651   grep -v '^ *+' conftest.er1 >conftest.err
    6652   rm -f conftest.er1
    6653   cat conftest.err >&5
    6654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6655   (exit $ac_status); } && {
    6656          test -z "$ac_c_werror_flag" ||
    6657          test ! -s conftest.err
    6658        } && test -s conftest.$ac_objext; then
    6659   ac_header_compiler=yes
    6660 else
    6661   $as_echo "$as_me: failed program was:" >&5
    6662 sed 's/^/| /' conftest.$ac_ext >&5
    6663 
    6664         ac_header_compiler=no
    6665 fi
    6666 
    6667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6668 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6669 $as_echo "$ac_header_compiler" >&6; }
    6670 
    6671 # Is the header present?
    6672 { $as_echo "$as_me:$LINENO: checking string.h presence" >&5
    6673 $as_echo_n "checking string.h presence... " >&6; }
    6674 cat >conftest.$ac_ext <<_ACEOF
    6675 /* confdefs.h.  */
    6676 _ACEOF
    6677 cat confdefs.h >>conftest.$ac_ext
    6678 cat >>conftest.$ac_ext <<_ACEOF
    6679 /* end confdefs.h.  */
    6680 #include <string.h>
    6681 _ACEOF
    6682 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6683 case "(($ac_try" in
    6684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6685   *) ac_try_echo=$ac_try;;
    6686 esac
    6687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6688 $as_echo "$ac_try_echo") >&5
    6689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6690   ac_status=$?
    6691   grep -v '^ *+' conftest.er1 >conftest.err
    6692   rm -f conftest.er1
    6693   cat conftest.err >&5
    6694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6695   (exit $ac_status); } >/dev/null && {
    6696          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6697          test ! -s conftest.err
    6698        }; then
    6699   ac_header_preproc=yes
    6700 else
    6701   $as_echo "$as_me: failed program was:" >&5
    6702 sed 's/^/| /' conftest.$ac_ext >&5
    6703 
    6704   ac_header_preproc=no
    6705 fi
    6706 
    6707 rm -f conftest.err conftest.$ac_ext
    6708 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6709 $as_echo "$ac_header_preproc" >&6; }
    6710 
    6711 # So?  What about this header?
    6712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6713   yes:no: )
    6714     { $as_echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6715 $as_echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6716     { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5
    6717 $as_echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;}
    6718     ac_header_preproc=yes
    6719     ;;
    6720   no:yes:* )
    6721     { $as_echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5
    6722 $as_echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;}
    6723     { $as_echo "$as_me:$LINENO: WARNING: string.h:     check for missing prerequisite headers?" >&5
    6724 $as_echo "$as_me: WARNING: string.h:     check for missing prerequisite headers?" >&2;}
    6725     { $as_echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5
    6726 $as_echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;}
    6727     { $as_echo "$as_me:$LINENO: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&5
    6728 $as_echo "$as_me: WARNING: string.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6729     { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5
    6730 $as_echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;}
    6731     { $as_echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5
    6732 $as_echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;}
    6733 
    6734     ;;
    6735 esac
    6736 { $as_echo "$as_me:$LINENO: checking for string.h" >&5
    6737 $as_echo_n "checking for string.h... " >&6; }
    6738 if test "${ac_cv_header_string_h+set}" = set; then
    6739   $as_echo_n "(cached) " >&6
    6740 else
    6741   ac_cv_header_string_h=$ac_header_preproc
    6742 fi
    6743 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5
    6744 $as_echo "$ac_cv_header_string_h" >&6; }
    6745 
    6746 fi
    6747 if test $ac_cv_header_string_h = yes; then
    6748   tcl_ok=1
    6749 else
    6750   tcl_ok=0
    6751 fi
    6752 
    6753 
    6754     cat >conftest.$ac_ext <<_ACEOF
    6755 /* confdefs.h.  */
    6756 _ACEOF
    6757 cat confdefs.h >>conftest.$ac_ext
    6758 cat >>conftest.$ac_ext <<_ACEOF
    6759 /* end confdefs.h.  */
    6760 #include <string.h>
    6761 
    6762 _ACEOF
    6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6764   $EGREP "strstr" >/dev/null 2>&1; then
    6765   :
    6766 else
    6767   tcl_ok=0
    6768 fi
    6769 rm -f conftest*
    6770 
    6771     cat >conftest.$ac_ext <<_ACEOF
    6772 /* confdefs.h.  */
    6773 _ACEOF
    6774 cat confdefs.h >>conftest.$ac_ext
    6775 cat >>conftest.$ac_ext <<_ACEOF
    6776 /* end confdefs.h.  */
    6777 #include <string.h>
    6778 
    6779 _ACEOF
    6780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6781   $EGREP "strerror" >/dev/null 2>&1; then
    6782   :
    6783 else
    6784   tcl_ok=0
    6785 fi
    6786 rm -f conftest*
    6787 
    6788 
    6789     # See also memmove check below for a place where NO_STRING_H can be
    6790     # set and why.
    6791 
    6792     if test $tcl_ok = 0; then
    6793 
    6794 cat >>confdefs.h <<\_ACEOF
    6795 #define NO_STRING_H 1
    6796 _ACEOF
    6797 
    6798     fi
    6799 
    6800     if test "${ac_cv_header_sys_wait_h+set}" = set; then
    6801   { $as_echo "$as_me:$LINENO: checking for sys/wait.h" >&5
    6802 $as_echo_n "checking for sys/wait.h... " >&6; }
    6803 if test "${ac_cv_header_sys_wait_h+set}" = set; then
    6804   $as_echo_n "(cached) " >&6
    6805 fi
    6806 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
    6807 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
    6808 else
    6809   # Is the header compilable?
    6810 { $as_echo "$as_me:$LINENO: checking sys/wait.h usability" >&5
    6811 $as_echo_n "checking sys/wait.h usability... " >&6; }
    6812 cat >conftest.$ac_ext <<_ACEOF
    6813 /* confdefs.h.  */
    6814 _ACEOF
    6815 cat confdefs.h >>conftest.$ac_ext
    6816 cat >>conftest.$ac_ext <<_ACEOF
    6817 /* end confdefs.h.  */
    6818 $ac_includes_default
    6819 #include <sys/wait.h>
    6820 _ACEOF
    6821 rm -f conftest.$ac_objext
    6822 if { (ac_try="$ac_compile"
    6823 case "(($ac_try" in
    6824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6825   *) ac_try_echo=$ac_try;;
    6826 esac
    6827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6828 $as_echo "$ac_try_echo") >&5
    6829   (eval "$ac_compile") 2>conftest.er1
    6830   ac_status=$?
    6831   grep -v '^ *+' conftest.er1 >conftest.err
    6832   rm -f conftest.er1
    6833   cat conftest.err >&5
    6834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6835   (exit $ac_status); } && {
    6836          test -z "$ac_c_werror_flag" ||
    6837          test ! -s conftest.err
    6838        } && test -s conftest.$ac_objext; then
    6839   ac_header_compiler=yes
    6840 else
    6841   $as_echo "$as_me: failed program was:" >&5
    6842 sed 's/^/| /' conftest.$ac_ext >&5
    6843 
    6844         ac_header_compiler=no
    6845 fi
    6846 
    6847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6848 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6849 $as_echo "$ac_header_compiler" >&6; }
    6850 
    6851 # Is the header present?
    6852 { $as_echo "$as_me:$LINENO: checking sys/wait.h presence" >&5
    6853 $as_echo_n "checking sys/wait.h presence... " >&6; }
    6854 cat >conftest.$ac_ext <<_ACEOF
    6855 /* confdefs.h.  */
    6856 _ACEOF
    6857 cat confdefs.h >>conftest.$ac_ext
    6858 cat >>conftest.$ac_ext <<_ACEOF
    6859 /* end confdefs.h.  */
    6860 #include <sys/wait.h>
    6861 _ACEOF
    6862 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6863 case "(($ac_try" in
    6864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6865   *) ac_try_echo=$ac_try;;
    6866 esac
    6867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6868 $as_echo "$ac_try_echo") >&5
    6869   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6870   ac_status=$?
    6871   grep -v '^ *+' conftest.er1 >conftest.err
    6872   rm -f conftest.er1
    6873   cat conftest.err >&5
    6874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6875   (exit $ac_status); } >/dev/null && {
    6876          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6877          test ! -s conftest.err
    6878        }; then
    6879   ac_header_preproc=yes
    6880 else
    6881   $as_echo "$as_me: failed program was:" >&5
    6882 sed 's/^/| /' conftest.$ac_ext >&5
    6883 
    6884   ac_header_preproc=no
    6885 fi
    6886 
    6887 rm -f conftest.err conftest.$ac_ext
    6888 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6889 $as_echo "$ac_header_preproc" >&6; }
    6890 
    6891 # So?  What about this header?
    6892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    6893   yes:no: )
    6894     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&5
    6895 $as_echo "$as_me: WARNING: sys/wait.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6896     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the compiler's result" >&5
    6897 $as_echo "$as_me: WARNING: sys/wait.h: proceeding with the compiler's result" >&2;}
    6898     ac_header_preproc=yes
    6899     ;;
    6900   no:yes:* )
    6901     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: present but cannot be compiled" >&5
    6902 $as_echo "$as_me: WARNING: sys/wait.h: present but cannot be compiled" >&2;}
    6903     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h:     check for missing prerequisite headers?" >&5
    6904 $as_echo "$as_me: WARNING: sys/wait.h:     check for missing prerequisite headers?" >&2;}
    6905     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: see the Autoconf documentation" >&5
    6906 $as_echo "$as_me: WARNING: sys/wait.h: see the Autoconf documentation" >&2;}
    6907     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h:     section \"Present But Cannot Be Compiled\"" >&5
    6908 $as_echo "$as_me: WARNING: sys/wait.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    6909     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&5
    6910 $as_echo "$as_me: WARNING: sys/wait.h: proceeding with the preprocessor's result" >&2;}
    6911     { $as_echo "$as_me:$LINENO: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&5
    6912 $as_echo "$as_me: WARNING: sys/wait.h: in the future, the compiler will take precedence" >&2;}
    6913 
    6914     ;;
    6915 esac
    6916 { $as_echo "$as_me:$LINENO: checking for sys/wait.h" >&5
    6917 $as_echo_n "checking for sys/wait.h... " >&6; }
    6918 if test "${ac_cv_header_sys_wait_h+set}" = set; then
    6919   $as_echo_n "(cached) " >&6
    6920 else
    6921   ac_cv_header_sys_wait_h=$ac_header_preproc
    6922 fi
    6923 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
    6924 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
    6925 
    6926 fi
    6927 if test $ac_cv_header_sys_wait_h = yes; then
    6928   :
    6929 else
    6930 
    6931 cat >>confdefs.h <<\_ACEOF
    6932 #define NO_SYS_WAIT_H 1
    6933 _ACEOF
    6934 
    6935 fi
    6936 
    6937 
    6938     if test "${ac_cv_header_dlfcn_h+set}" = set; then
    6939   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    6940 $as_echo_n "checking for dlfcn.h... " >&6; }
    6941 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    6942   $as_echo_n "(cached) " >&6
    6943 fi
    6944 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    6945 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    6946 else
    6947   # Is the header compilable?
    6948 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    6949 $as_echo_n "checking dlfcn.h usability... " >&6; }
    6950 cat >conftest.$ac_ext <<_ACEOF
    6951 /* confdefs.h.  */
    6952 _ACEOF
    6953 cat confdefs.h >>conftest.$ac_ext
    6954 cat >>conftest.$ac_ext <<_ACEOF
    6955 /* end confdefs.h.  */
    6956 $ac_includes_default
    6957 #include <dlfcn.h>
    6958 _ACEOF
    6959 rm -f conftest.$ac_objext
    6960 if { (ac_try="$ac_compile"
    6961 case "(($ac_try" in
    6962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6963   *) ac_try_echo=$ac_try;;
    6964 esac
    6965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6966 $as_echo "$ac_try_echo") >&5
    6967   (eval "$ac_compile") 2>conftest.er1
    6968   ac_status=$?
    6969   grep -v '^ *+' conftest.er1 >conftest.err
    6970   rm -f conftest.er1
    6971   cat conftest.err >&5
    6972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6973   (exit $ac_status); } && {
    6974          test -z "$ac_c_werror_flag" ||
    6975          test ! -s conftest.err
    6976        } && test -s conftest.$ac_objext; then
    6977   ac_header_compiler=yes
    6978 else
    6979   $as_echo "$as_me: failed program was:" >&5
    6980 sed 's/^/| /' conftest.$ac_ext >&5
    6981 
    6982         ac_header_compiler=no
    6983 fi
    6984 
    6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6986 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6987 $as_echo "$ac_header_compiler" >&6; }
    6988 
    6989 # Is the header present?
    6990 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    6991 $as_echo_n "checking dlfcn.h presence... " >&6; }
    6992 cat >conftest.$ac_ext <<_ACEOF
    6993 /* confdefs.h.  */
    6994 _ACEOF
    6995 cat confdefs.h >>conftest.$ac_ext
    6996 cat >>conftest.$ac_ext <<_ACEOF
    6997 /* end confdefs.h.  */
    6998 #include <dlfcn.h>
    6999 _ACEOF
    7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7001 case "(($ac_try" in
    7002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7003   *) ac_try_echo=$ac_try;;
    7004 esac
    7005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7006 $as_echo "$ac_try_echo") >&5
    7007   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7008   ac_status=$?
    7009   grep -v '^ *+' conftest.er1 >conftest.err
    7010   rm -f conftest.er1
    7011   cat conftest.err >&5
    7012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7013   (exit $ac_status); } >/dev/null && {
    7014          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7015          test ! -s conftest.err
    7016        }; then
    7017   ac_header_preproc=yes
    7018 else
    7019   $as_echo "$as_me: failed program was:" >&5
    7020 sed 's/^/| /' conftest.$ac_ext >&5
    7021 
    7022   ac_header_preproc=no
    7023 fi
    7024 
    7025 rm -f conftest.err conftest.$ac_ext
    7026 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7027 $as_echo "$ac_header_preproc" >&6; }
    7028 
    7029 # So?  What about this header?
    7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    7031   yes:no: )
    7032     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    7033 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7034     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    7035 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    7036     ac_header_preproc=yes
    7037     ;;
    7038   no:yes:* )
    7039     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    7040 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    7041     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    7042 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    7043     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    7044 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    7045     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    7046 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    7047     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    7048 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    7049     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    7050 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    7051 
    7052     ;;
    7053 esac
    7054 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    7055 $as_echo_n "checking for dlfcn.h... " >&6; }
    7056 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    7057   $as_echo_n "(cached) " >&6
    7058 else
    7059   ac_cv_header_dlfcn_h=$ac_header_preproc
    7060 fi
    7061 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    7062 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    7063 
    7064 fi
    7065 if test $ac_cv_header_dlfcn_h = yes; then
    7066   :
    7067 else
    7068 
    7069 cat >>confdefs.h <<\_ACEOF
    7070 #define NO_DLFCN_H 1
    7071 _ACEOF
    7072 
    7073 fi
    7074 
    7075 
    7076 
    7077     # OS/390 lacks sys/param.h (and doesn't need it, by chance).
    7078 
    7079 for ac_header in sys/param.h
    7080 do
    7081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7083   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7084 $as_echo_n "checking for $ac_header... " >&6; }
    7085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7086   $as_echo_n "(cached) " >&6
    7087 fi
    7088 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7089                  $as_echo "$as_val"'`
    7090                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7091 $as_echo "$ac_res" >&6; }
    7092 else
    7093   # Is the header compilable?
    7094 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7095 $as_echo_n "checking $ac_header usability... " >&6; }
    7096 cat >conftest.$ac_ext <<_ACEOF
    7097 /* confdefs.h.  */
    7098 _ACEOF
    7099 cat confdefs.h >>conftest.$ac_ext
    7100 cat >>conftest.$ac_ext <<_ACEOF
    7101 /* end confdefs.h.  */
    7102 $ac_includes_default
    7103 #include <$ac_header>
    7104 _ACEOF
    7105 rm -f conftest.$ac_objext
    7106 if { (ac_try="$ac_compile"
    7107 case "(($ac_try" in
    7108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7109   *) ac_try_echo=$ac_try;;
    7110 esac
    7111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7112 $as_echo "$ac_try_echo") >&5
    7113   (eval "$ac_compile") 2>conftest.er1
    7114   ac_status=$?
    7115   grep -v '^ *+' conftest.er1 >conftest.err
    7116   rm -f conftest.er1
    7117   cat conftest.err >&5
    7118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7119   (exit $ac_status); } && {
    7120          test -z "$ac_c_werror_flag" ||
    7121          test ! -s conftest.err
    7122        } && test -s conftest.$ac_objext; then
    7123   ac_header_compiler=yes
    7124 else
    7125   $as_echo "$as_me: failed program was:" >&5
    7126 sed 's/^/| /' conftest.$ac_ext >&5
    7127 
    7128         ac_header_compiler=no
    7129 fi
    7130 
    7131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7133 $as_echo "$ac_header_compiler" >&6; }
    7134 
    7135 # Is the header present?
    7136 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7137 $as_echo_n "checking $ac_header presence... " >&6; }
    7138 cat >conftest.$ac_ext <<_ACEOF
    7139 /* confdefs.h.  */
    7140 _ACEOF
    7141 cat confdefs.h >>conftest.$ac_ext
    7142 cat >>conftest.$ac_ext <<_ACEOF
    7143 /* end confdefs.h.  */
    7144 #include <$ac_header>
    7145 _ACEOF
    7146 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7147 case "(($ac_try" in
    7148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7149   *) ac_try_echo=$ac_try;;
    7150 esac
    7151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7152 $as_echo "$ac_try_echo") >&5
    7153   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7154   ac_status=$?
    7155   grep -v '^ *+' conftest.er1 >conftest.err
    7156   rm -f conftest.er1
    7157   cat conftest.err >&5
    7158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7159   (exit $ac_status); } >/dev/null && {
    7160          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7161          test ! -s conftest.err
    7162        }; then
    7163   ac_header_preproc=yes
    7164 else
    7165   $as_echo "$as_me: failed program was:" >&5
    7166 sed 's/^/| /' conftest.$ac_ext >&5
    7167 
    7168   ac_header_preproc=no
    7169 fi
    7170 
    7171 rm -f conftest.err conftest.$ac_ext
    7172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7173 $as_echo "$ac_header_preproc" >&6; }
    7174 
    7175 # So?  What about this header?
    7176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    7177   yes:no: )
    7178     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7179 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7180     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7181 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7182     ac_header_preproc=yes
    7183     ;;
    7184   no:yes:* )
    7185     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7186 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7187     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7188 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7189     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7190 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7191     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7192 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7193     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7194 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7195     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7196 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7197 
    7198     ;;
    7199 esac
    7200 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7201 $as_echo_n "checking for $ac_header... " >&6; }
    7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7203   $as_echo_n "(cached) " >&6
    7204 else
    7205   eval "$as_ac_Header=\$ac_header_preproc"
    7206 fi
    7207 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7208                  $as_echo "$as_val"'`
    7209                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7210 $as_echo "$ac_res" >&6; }
    7211 
    7212 fi
    7213 if test `eval 'as_val=${'$as_ac_Header'}
    7214                  $as_echo "$as_val"'` = yes; then
    7215   cat >>confdefs.h <<_ACEOF
    7216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7217 _ACEOF
    7218 
    7219 fi
    7220 
    7221 done
    7222 
    7223 
    7224         # Let the user call this, because if it triggers, they will
    7225         # need a compat/strtod.c that is correct.  Users can also
    7226         # use Tcl_GetDouble(FromObj) instead.
    7227         #TEA_BUGGY_STRTOD
    7228     fi
    7229 
    7230 ac_ext=f
    7231 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
    7232 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7233 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
    7234 if test -n "$ac_tool_prefix"; then
    7235   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
    7236   do
    7237     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    7238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7239 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    7240 $as_echo_n "checking for $ac_word... " >&6; }
    7241 if test "${ac_cv_prog_F77+set}" = set; then
    7242   $as_echo_n "(cached) " >&6
    7243 else
    7244   if test -n "$F77"; then
    7245   ac_cv_prog_F77="$F77" # Let the user override the test.
    7246 else
    7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7248 for as_dir in $PATH
    7249 do
    7250   IFS=$as_save_IFS
    7251   test -z "$as_dir" && as_dir=.
    7252   for ac_exec_ext in '' $ac_executable_extensions; do
    7253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    7254     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    7255     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    7256     break 2
    7257   fi
    7258 done
    7259 done
    7260 IFS=$as_save_IFS
    7261 
    7262 fi
    7263 fi
    7264 F77=$ac_cv_prog_F77
    7265 if test -n "$F77"; then
    7266   { $as_echo "$as_me:$LINENO: result: $F77" >&5
    7267 $as_echo "$F77" >&6; }
    7268 else
    7269   { $as_echo "$as_me:$LINENO: result: no" >&5
    7270 $as_echo "no" >&6; }
    7271 fi
    7272 
    7273 
    7274     test -n "$F77" && break
    7275   done
    7276 fi
    7277 if test -z "$F77"; then
    7278   ac_ct_F77=$F77
    7279   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
    7280 do
    7281   # Extract the first word of "$ac_prog", so it can be a program name with args.
    7282 set dummy $ac_prog; ac_word=$2
    7283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    7284 $as_echo_n "checking for $ac_word... " >&6; }
    7285 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    7286   $as_echo_n "(cached) " >&6
    7287 else
    7288   if test -n "$ac_ct_F77"; then
    7289   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
    7290 else
    7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7292 for as_dir in $PATH
    7293 do
    7294   IFS=$as_save_IFS
    7295   test -z "$as_dir" && as_dir=.
    7296   for ac_exec_ext in '' $ac_executable_extensions; do
    7297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    7298     ac_cv_prog_ac_ct_F77="$ac_prog"
    7299     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    7300     break 2
    7301   fi
    7302 done
    7303 done
    7304 IFS=$as_save_IFS
    7305 
    7306 fi
    7307 fi
    7308 ac_ct_F77=$ac_cv_prog_ac_ct_F77
    7309 if test -n "$ac_ct_F77"; then
    7310   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    7311 $as_echo "$ac_ct_F77" >&6; }
    7312 else
    7313   { $as_echo "$as_me:$LINENO: result: no" >&5
    7314 $as_echo "no" >&6; }
    7315 fi
    7316 
    7317 
    7318   test -n "$ac_ct_F77" && break
    7319 done
    7320 
    7321   if test "x$ac_ct_F77" = x; then
    7322     F77=""
    7323   else
    7324     case $cross_compiling:$ac_tool_warned in
    7325 yes:)
    7326 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7327 whose name does not start with the host triplet.  If you think this
    7328 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7329 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7330 whose name does not start with the host triplet.  If you think this
    7331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    7332 ac_tool_warned=yes ;;
    7333 esac
    7334     F77=$ac_ct_F77
    7335   fi
    7336 fi
    7337 
    7338 
    7339 # Provide some information about the compiler.
    7340 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
    7341 set X $ac_compile
    7342 ac_compiler=$2
    7343 { (ac_try="$ac_compiler --version >&5"
    7344 case "(($ac_try" in
    7345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7346   *) ac_try_echo=$ac_try;;
    7347 esac
    7348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7349 $as_echo "$ac_try_echo") >&5
    7350   (eval "$ac_compiler --version >&5") 2>&5
    7351   ac_status=$?
    7352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7353   (exit $ac_status); }
    7354 { (ac_try="$ac_compiler -v >&5"
    7355 case "(($ac_try" in
    7356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7357   *) ac_try_echo=$ac_try;;
    7358 esac
    7359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7360 $as_echo "$ac_try_echo") >&5
    7361   (eval "$ac_compiler -v >&5") 2>&5
    7362   ac_status=$?
    7363   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7364   (exit $ac_status); }
    7365 { (ac_try="$ac_compiler -V >&5"
    7366 case "(($ac_try" in
    7367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7368   *) ac_try_echo=$ac_try;;
    7369 esac
    7370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7371 $as_echo "$ac_try_echo") >&5
    7372   (eval "$ac_compiler -V >&5") 2>&5
    7373   ac_status=$?
    7374   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7375   (exit $ac_status); }
    7376 rm -f a.out
    7377 
    7378 # If we don't use `.F' as extension, the preprocessor is not run on the
    7379 # input file.  (Note that this only needs to work for GNU compilers.)
    7380 ac_save_ext=$ac_ext
    7381 ac_ext=F
    7382 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    7383 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    7384 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    7385   $as_echo_n "(cached) " >&6
    7386 else
    7387   cat >conftest.$ac_ext <<_ACEOF
    7388       program main
    7389 #ifndef __GNUC__
    7390        choke me
    7391 #endif
    7392 
    7393       end
    7394 _ACEOF
    7395 rm -f conftest.$ac_objext
    7396 if { (ac_try="$ac_compile"
    7397 case "(($ac_try" in
    7398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7399   *) ac_try_echo=$ac_try;;
    7400 esac
    7401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7402 $as_echo "$ac_try_echo") >&5
    7403   (eval "$ac_compile") 2>conftest.er1
    7404   ac_status=$?
    7405   grep -v '^ *+' conftest.er1 >conftest.err
    7406   rm -f conftest.er1
    7407   cat conftest.err >&5
    7408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7409   (exit $ac_status); } && {
    7410          test -z "$ac_f77_werror_flag" ||
    7411          test ! -s conftest.err
    7412        } && test -s conftest.$ac_objext; then
    7413   ac_compiler_gnu=yes
    7414 else
    7415   $as_echo "$as_me: failed program was:" >&5
    7416 sed 's/^/| /' conftest.$ac_ext >&5
    7417 
    7418         ac_compiler_gnu=no
    7419 fi
    7420 
    7421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7422 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    7423 
    7424 fi
    7425 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    7426 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    7427 ac_ext=$ac_save_ext
    7428 ac_test_FFLAGS=${FFLAGS+set}
    7429 ac_save_FFLAGS=$FFLAGS
    7430 FFLAGS=
    7431 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    7432 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
    7433 if test "${ac_cv_prog_f77_g+set}" = set; then
    7434   $as_echo_n "(cached) " >&6
    7435 else
    7436   FFLAGS=-g
    7437 cat >conftest.$ac_ext <<_ACEOF
    7438       program main
    7439 
    7440       end
    7441 _ACEOF
    7442 rm -f conftest.$ac_objext
    7443 if { (ac_try="$ac_compile"
    7444 case "(($ac_try" in
    7445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7446   *) ac_try_echo=$ac_try;;
    7447 esac
    7448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7449 $as_echo "$ac_try_echo") >&5
    7450   (eval "$ac_compile") 2>conftest.er1
    7451   ac_status=$?
    7452   grep -v '^ *+' conftest.er1 >conftest.err
    7453   rm -f conftest.er1
    7454   cat conftest.err >&5
    7455   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7456   (exit $ac_status); } && {
    7457          test -z "$ac_f77_werror_flag" ||
    7458          test ! -s conftest.err
    7459        } && test -s conftest.$ac_objext; then
    7460   ac_cv_prog_f77_g=yes
    7461 else
    7462   $as_echo "$as_me: failed program was:" >&5
    7463 sed 's/^/| /' conftest.$ac_ext >&5
    7464 
    7465         ac_cv_prog_f77_g=no
    7466 fi
    7467 
    7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7469 
    7470 fi
    7471 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    7472 $as_echo "$ac_cv_prog_f77_g" >&6; }
    7473 if test "$ac_test_FFLAGS" = set; then
    7474   FFLAGS=$ac_save_FFLAGS
    7475 elif test $ac_cv_prog_f77_g = yes; then
    7476   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    7477     FFLAGS="-g -O2"
    7478   else
    7479     FFLAGS="-g"
    7480   fi
    7481 else
    7482   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
    7483     FFLAGS="-O2"
    7484   else
    7485     FFLAGS=
    7486   fi
    7487 fi
    7488 
    7489 if test $ac_compiler_gnu = yes; then
    7490   G77=yes
    7491 else
    7492   G77=
    7493 fi
    7494 ac_ext=c
    7495 ac_cpp='$CPP $CPPFLAGS'
    7496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7499 
    7500 ac_ext=c
     2766
     2767    ac_ext=c
    75012768ac_cpp='$CPP $CPPFLAGS'
    75022769ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    75062773  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    75072774set dummy ${ac_tool_prefix}gcc; ac_word=$2
    7508 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    75092776$as_echo_n "checking for $ac_word... " >&6; }
    7510 if test "${ac_cv_prog_CC+set}" = set; then
     2777if ${ac_cv_prog_CC+:} false; then :
    75112778  $as_echo_n "(cached) " >&6
    75122779else
     
    75192786  IFS=$as_save_IFS
    75202787  test -z "$as_dir" && as_dir=.
    7521   for ac_exec_ext in '' $ac_executable_extensions; do
    7522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2788    for ac_exec_ext in '' $ac_executable_extensions; do
     2789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    75232790    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    7524     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    75252792    break 2
    75262793  fi
    75272794done
    7528 done
     2795  done
    75292796IFS=$as_save_IFS
    75302797
     
    75332800CC=$ac_cv_prog_CC
    75342801if test -n "$CC"; then
    7535   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    75362803$as_echo "$CC" >&6; }
    75372804else
    7538   { $as_echo "$as_me:$LINENO: result: no" >&5
     2805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    75392806$as_echo "no" >&6; }
    75402807fi
     
    75462813  # Extract the first word of "gcc", so it can be a program name with args.
    75472814set dummy gcc; ac_word=$2
    7548 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    75492816$as_echo_n "checking for $ac_word... " >&6; }
    7550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2817if ${ac_cv_prog_ac_ct_CC+:} false; then :
    75512818  $as_echo_n "(cached) " >&6
    75522819else
     
    75592826  IFS=$as_save_IFS
    75602827  test -z "$as_dir" && as_dir=.
    7561   for ac_exec_ext in '' $ac_executable_extensions; do
    7562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2828    for ac_exec_ext in '' $ac_executable_extensions; do
     2829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    75632830    ac_cv_prog_ac_ct_CC="gcc"
    7564     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    75652832    break 2
    75662833  fi
    75672834done
    7568 done
     2835  done
    75692836IFS=$as_save_IFS
    75702837
     
    75732840ac_ct_CC=$ac_cv_prog_ac_ct_CC
    75742841if test -n "$ac_ct_CC"; then
    7575   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    75762843$as_echo "$ac_ct_CC" >&6; }
    75772844else
    7578   { $as_echo "$as_me:$LINENO: result: no" >&5
     2845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    75792846$as_echo "no" >&6; }
    75802847fi
     
    75852852    case $cross_compiling:$ac_tool_warned in
    75862853yes:)
    7587 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7588 whose name does not start with the host triplet.  If you think this
    7589 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7590 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7591 whose name does not start with the host triplet.  If you think this
    7592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2854{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    75932856ac_tool_warned=yes ;;
    75942857esac
     
    76032866    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    76042867set dummy ${ac_tool_prefix}cc; ac_word=$2
    7605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    76062869$as_echo_n "checking for $ac_word... " >&6; }
    7607 if test "${ac_cv_prog_CC+set}" = set; then
     2870if ${ac_cv_prog_CC+:} false; then :
    76082871  $as_echo_n "(cached) " >&6
    76092872else
     
    76162879  IFS=$as_save_IFS
    76172880  test -z "$as_dir" && as_dir=.
    7618   for ac_exec_ext in '' $ac_executable_extensions; do
    7619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2881    for ac_exec_ext in '' $ac_executable_extensions; do
     2882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    76202883    ac_cv_prog_CC="${ac_tool_prefix}cc"
    7621     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    76222885    break 2
    76232886  fi
    76242887done
    7625 done
     2888  done
    76262889IFS=$as_save_IFS
    76272890
     
    76302893CC=$ac_cv_prog_CC
    76312894if test -n "$CC"; then
    7632   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    76332896$as_echo "$CC" >&6; }
    76342897else
    7635   { $as_echo "$as_me:$LINENO: result: no" >&5
     2898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    76362899$as_echo "no" >&6; }
    76372900fi
     
    76432906  # Extract the first word of "cc", so it can be a program name with args.
    76442907set dummy cc; ac_word=$2
    7645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    76462909$as_echo_n "checking for $ac_word... " >&6; }
    7647 if test "${ac_cv_prog_CC+set}" = set; then
     2910if ${ac_cv_prog_CC+:} false; then :
    76482911  $as_echo_n "(cached) " >&6
    76492912else
     
    76572920  IFS=$as_save_IFS
    76582921  test -z "$as_dir" && as_dir=.
    7659   for ac_exec_ext in '' $ac_executable_extensions; do
    7660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2922    for ac_exec_ext in '' $ac_executable_extensions; do
     2923  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    76612924    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    76622925       ac_prog_rejected=yes
     
    76642927     fi
    76652928    ac_cv_prog_CC="cc"
    7666     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2929    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    76672930    break 2
    76682931  fi
    76692932done
    7670 done
     2933  done
    76712934IFS=$as_save_IFS
    76722935
     
    76872950CC=$ac_cv_prog_CC
    76882951if test -n "$CC"; then
    7689   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    76902953$as_echo "$CC" >&6; }
    76912954else
    7692   { $as_echo "$as_me:$LINENO: result: no" >&5
     2955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    76932956$as_echo "no" >&6; }
    76942957fi
     
    77022965    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    77032966set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    77052968$as_echo_n "checking for $ac_word... " >&6; }
    7706 if test "${ac_cv_prog_CC+set}" = set; then
     2969if ${ac_cv_prog_CC+:} false; then :
    77072970  $as_echo_n "(cached) " >&6
    77082971else
     
    77152978  IFS=$as_save_IFS
    77162979  test -z "$as_dir" && as_dir=.
    7717   for ac_exec_ext in '' $ac_executable_extensions; do
    7718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2980    for ac_exec_ext in '' $ac_executable_extensions; do
     2981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77192982    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    7720     $as_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
    77212984    break 2
    77222985  fi
    77232986done
    7724 done
     2987  done
    77252988IFS=$as_save_IFS
    77262989
     
    77292992CC=$ac_cv_prog_CC
    77302993if test -n "$CC"; then
    7731   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    77322995$as_echo "$CC" >&6; }
    77332996else
    7734   { $as_echo "$as_me:$LINENO: result: no" >&5
     2997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    77352998$as_echo "no" >&6; }
    77362999fi
     
    77463009  # Extract the first word of "$ac_prog", so it can be a program name with args.
    77473010set dummy $ac_prog; ac_word=$2
    7748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    77493012$as_echo_n "checking for $ac_word... " >&6; }
    7750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3013if ${ac_cv_prog_ac_ct_CC+:} false; then :
    77513014  $as_echo_n "(cached) " >&6
    77523015else
     
    77593022  IFS=$as_save_IFS
    77603023  test -z "$as_dir" && as_dir=.
    7761   for ac_exec_ext in '' $ac_executable_extensions; do
    7762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3024    for ac_exec_ext in '' $ac_executable_extensions; do
     3025  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77633026    ac_cv_prog_ac_ct_CC="$ac_prog"
    7764     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3027    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    77653028    break 2
    77663029  fi
    77673030done
    7768 done
     3031  done
    77693032IFS=$as_save_IFS
    77703033
     
    77733036ac_ct_CC=$ac_cv_prog_ac_ct_CC
    77743037if test -n "$ac_ct_CC"; then
    7775   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    77763039$as_echo "$ac_ct_CC" >&6; }
    77773040else
    7778   { $as_echo "$as_me:$LINENO: result: no" >&5
     3041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    77793042$as_echo "no" >&6; }
    77803043fi
     
    77893052    case $cross_compiling:$ac_tool_warned in
    77903053yes:)
    7791 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    7792 whose name does not start with the host triplet.  If you think this
    7793 configuration is useful to you, please write to autoconf@gnu.org." >&5
    7794 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    7795 whose name does not start with the host triplet.  If you think this
    7796 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3054{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3055$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    77973056ac_tool_warned=yes ;;
    77983057esac
     
    78043063
    78053064
    7806 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    7807 See \`config.log' for more details." >&5
    7808 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    7809 See \`config.log' for more details." >&2;}
    7810    { (exit 1); exit 1; }; }
     3065test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3066$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3067as_fn_error $? "no acceptable C compiler found in \$PATH
     3068See \`config.log' for more details" "$LINENO" 5; }
    78113069
    78123070# Provide some information about the compiler.
    7813 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3071$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    78143072set X $ac_compile
    78153073ac_compiler=$2
    7816 { (ac_try="$ac_compiler --version >&5"
     3074for ac_option in --version -v -V -qversion; do
     3075  { { ac_try="$ac_compiler $ac_option >&5"
    78173076case "(($ac_try" in
    78183077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    78193078  *) ac_try_echo=$ac_try;;
    78203079esac
    7821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7822 $as_echo "$ac_try_echo") >&5
    7823   (eval "$ac_compiler --version >&5") 2>&5
     3080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3081$as_echo "$ac_try_echo"; } >&5
     3082  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    78243083  ac_status=$?
    7825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7826   (exit $ac_status); }
    7827 { (ac_try="$ac_compiler -v >&5"
     3084  if test -s conftest.err; then
     3085    sed '10a\
     3086... rest of stderr output deleted ...
     3087         10q' conftest.err >conftest.er1
     3088    cat conftest.er1 >&5
     3089  fi
     3090  rm -f conftest.er1 conftest.err
     3091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3092  test $ac_status = 0; }
     3093done
     3094
     3095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3096/* end confdefs.h.  */
     3097
     3098int
     3099main ()
     3100{
     3101
     3102  ;
     3103  return 0;
     3104}
     3105_ACEOF
     3106ac_clean_files_save=$ac_clean_files
     3107ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     3108# Try to create an executable without -o first, disregard a.out.
     3109# It will help us diagnose broken compilers, and finding out an intuition
     3110# of exeext.
     3111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3112$as_echo_n "checking whether the C compiler works... " >&6; }
     3113ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3114
     3115# The possible output files:
     3116ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3117
     3118ac_rmfiles=
     3119for ac_file in $ac_files
     3120do
     3121  case $ac_file in
     3122    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3123    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3124  esac
     3125done
     3126rm -f $ac_rmfiles
     3127
     3128if { { ac_try="$ac_link_default"
    78283129case "(($ac_try" in
    78293130  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    78303131  *) ac_try_echo=$ac_try;;
    78313132esac
    7832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7833 $as_echo "$ac_try_echo") >&5
    7834   (eval "$ac_compiler -v >&5") 2>&5
     3133eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3134$as_echo "$ac_try_echo"; } >&5
     3135  (eval "$ac_link_default") 2>&5
    78353136  ac_status=$?
    7836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7837   (exit $ac_status); }
    7838 { (ac_try="$ac_compiler -V >&5"
     3137  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3138  test $ac_status = 0; }; then :
     3139  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     3140# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     3141# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     3142# so that the user can short-circuit this test for compilers unknown to
     3143# Autoconf.
     3144for ac_file in $ac_files ''
     3145do
     3146  test -f "$ac_file" || continue
     3147  case $ac_file in
     3148    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     3149        ;;
     3150    [ab].out )
     3151        # We found the default executable, but exeext='' is most
     3152        # certainly right.
     3153        break;;
     3154    *.* )
     3155        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3156        then :; else
     3157           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3158        fi
     3159        # We set ac_cv_exeext here because the later test for it is not
     3160        # safe: cross compilers may not add the suffix if given an `-o'
     3161        # argument, so we may need to know it at that point already.
     3162        # Even if this section looks crufty: it has the advantage of
     3163        # actually working.
     3164        break;;
     3165    * )
     3166        break;;
     3167  esac
     3168done
     3169test "$ac_cv_exeext" = no && ac_cv_exeext=
     3170
     3171else
     3172  ac_file=''
     3173fi
     3174if test -z "$ac_file"; then :
     3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3176$as_echo "no" >&6; }
     3177$as_echo "$as_me: failed program was:" >&5
     3178sed 's/^/| /' conftest.$ac_ext >&5
     3179
     3180{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3181$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3182as_fn_error 77 "C compiler cannot create executables
     3183See \`config.log' for more details" "$LINENO" 5; }
     3184else
     3185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3186$as_echo "yes" >&6; }
     3187fi
     3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3189$as_echo_n "checking for C compiler default output file name... " >&6; }
     3190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3191$as_echo "$ac_file" >&6; }
     3192ac_exeext=$ac_cv_exeext
     3193
     3194rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     3195ac_clean_files=$ac_clean_files_save
     3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     3197$as_echo_n "checking for suffix of executables... " >&6; }
     3198if { { ac_try="$ac_link"
    78393199case "(($ac_try" in
    78403200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    78413201  *) ac_try_echo=$ac_try;;
    78423202esac
    7843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7844 $as_echo "$ac_try_echo") >&5
    7845   (eval "$ac_compiler -V >&5") 2>&5
     3203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3204$as_echo "$ac_try_echo"; } >&5
     3205  (eval "$ac_link") 2>&5
    78463206  ac_status=$?
    7847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7848   (exit $ac_status); }
    7849 
    7850 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3208  test $ac_status = 0; }; then :
     3209  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     3210# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     3211# work properly (i.e., refer to `conftest.exe'), while it won't with
     3212# `rm'.
     3213for ac_file in conftest.exe conftest conftest.*; do
     3214  test -f "$ac_file" || continue
     3215  case $ac_file in
     3216    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3217    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     3218          break;;
     3219    * ) break;;
     3220  esac
     3221done
     3222else
     3223  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3224$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3225as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3226See \`config.log' for more details" "$LINENO" 5; }
     3227fi
     3228rm -f conftest conftest$ac_cv_exeext
     3229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3230$as_echo "$ac_cv_exeext" >&6; }
     3231
     3232rm -f conftest.$ac_ext
     3233EXEEXT=$ac_cv_exeext
     3234ac_exeext=$EXEEXT
     3235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3236/* end confdefs.h.  */
     3237#include <stdio.h>
     3238int
     3239main ()
     3240{
     3241FILE *f = fopen ("conftest.out", "w");
     3242 return ferror (f) || fclose (f) != 0;
     3243
     3244  ;
     3245  return 0;
     3246}
     3247_ACEOF
     3248ac_clean_files="$ac_clean_files conftest.out"
     3249# Check that the compiler produces executables we can run.  If not, either
     3250# the compiler is broken, or we cross compile.
     3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3252$as_echo_n "checking whether we are cross compiling... " >&6; }
     3253if test "$cross_compiling" != yes; then
     3254  { { ac_try="$ac_link"
     3255case "(($ac_try" in
     3256  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3257  *) ac_try_echo=$ac_try;;
     3258esac
     3259eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3260$as_echo "$ac_try_echo"; } >&5
     3261  (eval "$ac_link") 2>&5
     3262  ac_status=$?
     3263  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3264  test $ac_status = 0; }
     3265  if { ac_try='./conftest$ac_cv_exeext'
     3266  { { case "(($ac_try" in
     3267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3268  *) ac_try_echo=$ac_try;;
     3269esac
     3270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3271$as_echo "$ac_try_echo"; } >&5
     3272  (eval "$ac_try") 2>&5
     3273  ac_status=$?
     3274  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3275  test $ac_status = 0; }; }; then
     3276    cross_compiling=no
     3277  else
     3278    if test "$cross_compiling" = maybe; then
     3279        cross_compiling=yes
     3280    else
     3281        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3283as_fn_error $? "cannot run C compiled programs.
     3284If you meant to cross compile, use \`--host'.
     3285See \`config.log' for more details" "$LINENO" 5; }
     3286    fi
     3287  fi
     3288fi
     3289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3290$as_echo "$cross_compiling" >&6; }
     3291
     3292rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3293ac_clean_files=$ac_clean_files_save
     3294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3295$as_echo_n "checking for suffix of object files... " >&6; }
     3296if ${ac_cv_objext+:} false; then :
     3297  $as_echo_n "(cached) " >&6
     3298else
     3299  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3300/* end confdefs.h.  */
     3301
     3302int
     3303main ()
     3304{
     3305
     3306  ;
     3307  return 0;
     3308}
     3309_ACEOF
     3310rm -f conftest.o conftest.obj
     3311if { { ac_try="$ac_compile"
     3312case "(($ac_try" in
     3313  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3314  *) ac_try_echo=$ac_try;;
     3315esac
     3316eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3317$as_echo "$ac_try_echo"; } >&5
     3318  (eval "$ac_compile") 2>&5
     3319  ac_status=$?
     3320  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3321  test $ac_status = 0; }; then :
     3322  for ac_file in conftest.o conftest.obj conftest.*; do
     3323  test -f "$ac_file" || continue;
     3324  case $ac_file in
     3325    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     3326    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     3327       break;;
     3328  esac
     3329done
     3330else
     3331  $as_echo "$as_me: failed program was:" >&5
     3332sed 's/^/| /' conftest.$ac_ext >&5
     3333
     3334{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3335$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3336as_fn_error $? "cannot compute suffix of object files: cannot compile
     3337See \`config.log' for more details" "$LINENO" 5; }
     3338fi
     3339rm -f conftest.$ac_cv_objext conftest.$ac_ext
     3340fi
     3341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3342$as_echo "$ac_cv_objext" >&6; }
     3343OBJEXT=$ac_cv_objext
     3344ac_objext=$OBJEXT
     3345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    78513346$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    7852 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3347if ${ac_cv_c_compiler_gnu+:} false; then :
    78533348  $as_echo_n "(cached) " >&6
    78543349else
    7855   cat >conftest.$ac_ext <<_ACEOF
    7856 /* confdefs.h.  */
    7857 _ACEOF
    7858 cat confdefs.h >>conftest.$ac_ext
    7859 cat >>conftest.$ac_ext <<_ACEOF
     3350  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78603351/* end confdefs.h.  */
    78613352
     
    78713362}
    78723363_ACEOF
    7873 rm -f conftest.$ac_objext
    7874 if { (ac_try="$ac_compile"
    7875 case "(($ac_try" in
    7876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7877   *) ac_try_echo=$ac_try;;
    7878 esac
    7879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7880 $as_echo "$ac_try_echo") >&5
    7881   (eval "$ac_compile") 2>conftest.er1
    7882   ac_status=$?
    7883   grep -v '^ *+' conftest.er1 >conftest.err
    7884   rm -f conftest.er1
    7885   cat conftest.err >&5
    7886   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7887   (exit $ac_status); } && {
    7888          test -z "$ac_c_werror_flag" ||
    7889          test ! -s conftest.err
    7890        } && test -s conftest.$ac_objext; then
     3364if ac_fn_c_try_compile "$LINENO"; then :
    78913365  ac_compiler_gnu=yes
    78923366else
    7893   $as_echo "$as_me: failed program was:" >&5
    7894 sed 's/^/| /' conftest.$ac_ext >&5
    7895 
    7896         ac_compiler_gnu=no
    7897 fi
    7898 
     3367  ac_compiler_gnu=no
     3368fi
    78993369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    79003370ac_cv_c_compiler_gnu=$ac_compiler_gnu
    79013371
    79023372fi
    7903 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    79043374$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    79053375if test $ac_compiler_gnu = yes; then
     
    79103380ac_test_CFLAGS=${CFLAGS+set}
    79113381ac_save_CFLAGS=$CFLAGS
    7912 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    79133383$as_echo_n "checking whether $CC accepts -g... " >&6; }
    7914 if test "${ac_cv_prog_cc_g+set}" = set; then
     3384if ${ac_cv_prog_cc_g+:} false; then :
    79153385  $as_echo_n "(cached) " >&6
    79163386else
     
    79193389   ac_cv_prog_cc_g=no
    79203390   CFLAGS="-g"
    7921    cat >conftest.$ac_ext <<_ACEOF
    7922 /* confdefs.h.  */
    7923 _ACEOF
    7924 cat confdefs.h >>conftest.$ac_ext
    7925 cat >>conftest.$ac_ext <<_ACEOF
     3391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79263392/* end confdefs.h.  */
    79273393
     
    79343400}
    79353401_ACEOF
    7936 rm -f conftest.$ac_objext
    7937 if { (ac_try="$ac_compile"
    7938 case "(($ac_try" in
    7939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7940   *) ac_try_echo=$ac_try;;
    7941 esac
    7942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7943 $as_echo "$ac_try_echo") >&5
    7944   (eval "$ac_compile") 2>conftest.er1
    7945   ac_status=$?
    7946   grep -v '^ *+' conftest.er1 >conftest.err
    7947   rm -f conftest.er1
    7948   cat conftest.err >&5
    7949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7950   (exit $ac_status); } && {
    7951          test -z "$ac_c_werror_flag" ||
    7952          test ! -s conftest.err
    7953        } && test -s conftest.$ac_objext; then
     3402if ac_fn_c_try_compile "$LINENO"; then :
    79543403  ac_cv_prog_cc_g=yes
    79553404else
    7956   $as_echo "$as_me: failed program was:" >&5
    7957 sed 's/^/| /' conftest.$ac_ext >&5
    7958 
    7959         CFLAGS=""
    7960       cat >conftest.$ac_ext <<_ACEOF
    7961 /* confdefs.h.  */
    7962 _ACEOF
    7963 cat confdefs.h >>conftest.$ac_ext
    7964 cat >>conftest.$ac_ext <<_ACEOF
     3405  CFLAGS=""
     3406      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79653407/* end confdefs.h.  */
    79663408
     
    79733415}
    79743416_ACEOF
    7975 rm -f conftest.$ac_objext
    7976 if { (ac_try="$ac_compile"
    7977 case "(($ac_try" in
    7978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7979   *) ac_try_echo=$ac_try;;
    7980 esac
    7981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7982 $as_echo "$ac_try_echo") >&5
    7983   (eval "$ac_compile") 2>conftest.er1
    7984   ac_status=$?
    7985   grep -v '^ *+' conftest.er1 >conftest.err
    7986   rm -f conftest.er1
    7987   cat conftest.err >&5
    7988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7989   (exit $ac_status); } && {
    7990          test -z "$ac_c_werror_flag" ||
    7991          test ! -s conftest.err
    7992        } && test -s conftest.$ac_objext; then
    7993   :
    7994 else
    7995   $as_echo "$as_me: failed program was:" >&5
    7996 sed 's/^/| /' conftest.$ac_ext >&5
    7997 
    7998         ac_c_werror_flag=$ac_save_c_werror_flag
     3417if ac_fn_c_try_compile "$LINENO"; then :
     3418
     3419else
     3420  ac_c_werror_flag=$ac_save_c_werror_flag
    79993421         CFLAGS="-g"
    8000          cat >conftest.$ac_ext <<_ACEOF
    8001 /* confdefs.h.  */
    8002 _ACEOF
    8003 cat confdefs.h >>conftest.$ac_ext
    8004 cat >>conftest.$ac_ext <<_ACEOF
     3422         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80053423/* end confdefs.h.  */
    80063424
     
    80133431}
    80143432_ACEOF
    8015 rm -f conftest.$ac_objext
    8016 if { (ac_try="$ac_compile"
    8017 case "(($ac_try" in
    8018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8019   *) ac_try_echo=$ac_try;;
    8020 esac
    8021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8022 $as_echo "$ac_try_echo") >&5
    8023   (eval "$ac_compile") 2>conftest.er1
    8024   ac_status=$?
    8025   grep -v '^ *+' conftest.er1 >conftest.err
    8026   rm -f conftest.er1
    8027   cat conftest.err >&5
    8028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8029   (exit $ac_status); } && {
    8030          test -z "$ac_c_werror_flag" ||
    8031          test ! -s conftest.err
    8032        } && test -s conftest.$ac_objext; then
     3433if ac_fn_c_try_compile "$LINENO"; then :
    80333434  ac_cv_prog_cc_g=yes
    8034 else
    8035   $as_echo "$as_me: failed program was:" >&5
    8036 sed 's/^/| /' conftest.$ac_ext >&5
    8037 
    8038 
    8039 fi
    8040 
     3435fi
    80413436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80423437fi
    8043 
    80443438rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80453439fi
    8046 
    80473440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80483441   ac_c_werror_flag=$ac_save_c_werror_flag
    80493442fi
    8050 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    80513444$as_echo "$ac_cv_prog_cc_g" >&6; }
    80523445if test "$ac_test_CFLAGS" = set; then
     
    80653458  fi
    80663459fi
    8067 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    80683461$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    8069 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3462if ${ac_cv_prog_cc_c89+:} false; then :
    80703463  $as_echo_n "(cached) " >&6
    80713464else
    80723465  ac_cv_prog_cc_c89=no
    80733466ac_save_CC=$CC
    8074 cat >conftest.$ac_ext <<_ACEOF
    8075 /* confdefs.h.  */
    8076 _ACEOF
    8077 cat confdefs.h >>conftest.$ac_ext
    8078 cat >>conftest.$ac_ext <<_ACEOF
     3467cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80793468/* end confdefs.h.  */
    80803469#include <stdarg.h>
    80813470#include <stdio.h>
    8082 #include <sys/types.h>
    8083 #include <sys/stat.h>
     3471struct stat;
    80843472/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    80853473struct buf { int x; };
     
    81333521do
    81343522  CC="$ac_save_CC $ac_arg"
    8135   rm -f conftest.$ac_objext
    8136 if { (ac_try="$ac_compile"
    8137 case "(($ac_try" in
    8138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8139   *) ac_try_echo=$ac_try;;
    8140 esac
    8141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8142 $as_echo "$ac_try_echo") >&5
    8143   (eval "$ac_compile") 2>conftest.er1
    8144   ac_status=$?
    8145   grep -v '^ *+' conftest.er1 >conftest.err
    8146   rm -f conftest.er1
    8147   cat conftest.err >&5
    8148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8149   (exit $ac_status); } && {
    8150          test -z "$ac_c_werror_flag" ||
    8151          test ! -s conftest.err
    8152        } && test -s conftest.$ac_objext; then
     3523  if ac_fn_c_try_compile "$LINENO"; then :
    81533524  ac_cv_prog_cc_c89=$ac_arg
    8154 else
    8155   $as_echo "$as_me: failed program was:" >&5
    8156 sed 's/^/| /' conftest.$ac_ext >&5
    8157 
    8158 
    8159 fi
    8160 
     3525fi
    81613526rm -f core conftest.err conftest.$ac_objext
    81623527  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    81693534case "x$ac_cv_prog_cc_c89" in
    81703535  x)
    8171     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3536    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    81723537$as_echo "none needed" >&6; } ;;
    81733538  xno)
    8174     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3539    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    81753540$as_echo "unsupported" >&6; } ;;
    81763541  *)
    81773542    CC="$CC $ac_cv_prog_cc_c89"
    8178     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3543    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    81793544$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    81803545esac
    8181 
     3546if test "x$ac_cv_prog_cc_c89" != xno; then :
     3547
     3548fi
    81823549
    81833550ac_ext=c
     
    81873554ac_compiler_gnu=$ac_cv_c_compiler_gnu
    81883555
     3556    ac_ext=cpp
     3557ac_cpp='$CXXCPP $CPPFLAGS'
     3558ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3559ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3560ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3561if test -z "$CXX"; then
     3562  if test -n "$CCC"; then
     3563    CXX=$CCC
     3564  else
     3565    if test -n "$ac_tool_prefix"; then
     3566  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     3567  do
     3568    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3569set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3571$as_echo_n "checking for $ac_word... " >&6; }
     3572if ${ac_cv_prog_CXX+:} false; then :
     3573  $as_echo_n "(cached) " >&6
     3574else
     3575  if test -n "$CXX"; then
     3576  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     3577else
     3578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3579for as_dir in $PATH
     3580do
     3581  IFS=$as_save_IFS
     3582  test -z "$as_dir" && as_dir=.
     3583    for ac_exec_ext in '' $ac_executable_extensions; do
     3584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3585    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     3586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3587    break 2
     3588  fi
     3589done
     3590  done
     3591IFS=$as_save_IFS
     3592
     3593fi
     3594fi
     3595CXX=$ac_cv_prog_CXX
     3596if test -n "$CXX"; then
     3597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3598$as_echo "$CXX" >&6; }
     3599else
     3600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3601$as_echo "no" >&6; }
     3602fi
     3603
     3604
     3605    test -n "$CXX" && break
     3606  done
     3607fi
     3608if test -z "$CXX"; then
     3609  ac_ct_CXX=$CXX
     3610  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     3611do
     3612  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3613set dummy $ac_prog; ac_word=$2
     3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3615$as_echo_n "checking for $ac_word... " >&6; }
     3616if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3617  $as_echo_n "(cached) " >&6
     3618else
     3619  if test -n "$ac_ct_CXX"; then
     3620  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     3621else
     3622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3623for as_dir in $PATH
     3624do
     3625  IFS=$as_save_IFS
     3626  test -z "$as_dir" && as_dir=.
     3627    for ac_exec_ext in '' $ac_executable_extensions; do
     3628  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3629    ac_cv_prog_ac_ct_CXX="$ac_prog"
     3630    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3631    break 2
     3632  fi
     3633done
     3634  done
     3635IFS=$as_save_IFS
     3636
     3637fi
     3638fi
     3639ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     3640if test -n "$ac_ct_CXX"; then
     3641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3642$as_echo "$ac_ct_CXX" >&6; }
     3643else
     3644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3645$as_echo "no" >&6; }
     3646fi
     3647
     3648
     3649  test -n "$ac_ct_CXX" && break
     3650done
     3651
     3652  if test "x$ac_ct_CXX" = x; then
     3653    CXX="g++"
     3654  else
     3655    case $cross_compiling:$ac_tool_warned in
     3656yes:)
     3657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3659ac_tool_warned=yes ;;
     3660esac
     3661    CXX=$ac_ct_CXX
     3662  fi
     3663fi
     3664
     3665  fi
     3666fi
     3667# Provide some information about the compiler.
     3668$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3669set X $ac_compile
     3670ac_compiler=$2
     3671for ac_option in --version -v -V -qversion; do
     3672  { { ac_try="$ac_compiler $ac_option >&5"
     3673case "(($ac_try" in
     3674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3675  *) ac_try_echo=$ac_try;;
     3676esac
     3677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3678$as_echo "$ac_try_echo"; } >&5
     3679  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3680  ac_status=$?
     3681  if test -s conftest.err; then
     3682    sed '10a\
     3683... rest of stderr output deleted ...
     3684         10q' conftest.err >conftest.er1
     3685    cat conftest.er1 >&5
     3686  fi
     3687  rm -f conftest.er1 conftest.err
     3688  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3689  test $ac_status = 0; }
     3690done
     3691
     3692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3693$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3694if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3695  $as_echo_n "(cached) " >&6
     3696else
     3697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3698/* end confdefs.h.  */
     3699
     3700int
     3701main ()
     3702{
     3703#ifndef __GNUC__
     3704       choke me
     3705#endif
     3706
     3707  ;
     3708  return 0;
     3709}
     3710_ACEOF
     3711if ac_fn_cxx_try_compile "$LINENO"; then :
     3712  ac_compiler_gnu=yes
     3713else
     3714  ac_compiler_gnu=no
     3715fi
     3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3717ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     3718
     3719fi
     3720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3721$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3722if test $ac_compiler_gnu = yes; then
     3723  GXX=yes
     3724else
     3725  GXX=
     3726fi
     3727ac_test_CXXFLAGS=${CXXFLAGS+set}
     3728ac_save_CXXFLAGS=$CXXFLAGS
     3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3730$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3731if ${ac_cv_prog_cxx_g+:} false; then :
     3732  $as_echo_n "(cached) " >&6
     3733else
     3734  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3735   ac_cxx_werror_flag=yes
     3736   ac_cv_prog_cxx_g=no
     3737   CXXFLAGS="-g"
     3738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3739/* end confdefs.h.  */
     3740
     3741int
     3742main ()
     3743{
     3744
     3745  ;
     3746  return 0;
     3747}
     3748_ACEOF
     3749if ac_fn_cxx_try_compile "$LINENO"; then :
     3750  ac_cv_prog_cxx_g=yes
     3751else
     3752  CXXFLAGS=""
     3753      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3754/* end confdefs.h.  */
     3755
     3756int
     3757main ()
     3758{
     3759
     3760  ;
     3761  return 0;
     3762}
     3763_ACEOF
     3764if ac_fn_cxx_try_compile "$LINENO"; then :
     3765
     3766else
     3767  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3768         CXXFLAGS="-g"
     3769         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3770/* end confdefs.h.  */
     3771
     3772int
     3773main ()
     3774{
     3775
     3776  ;
     3777  return 0;
     3778}
     3779_ACEOF
     3780if ac_fn_cxx_try_compile "$LINENO"; then :
     3781  ac_cv_prog_cxx_g=yes
     3782fi
     3783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3784fi
     3785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3786fi
     3787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3788   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3789fi
     3790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3791$as_echo "$ac_cv_prog_cxx_g" >&6; }
     3792if test "$ac_test_CXXFLAGS" = set; then
     3793  CXXFLAGS=$ac_save_CXXFLAGS
     3794elif test $ac_cv_prog_cxx_g = yes; then
     3795  if test "$GXX" = yes; then
     3796    CXXFLAGS="-g -O2"
     3797  else
     3798    CXXFLAGS="-g"
     3799  fi
     3800else
     3801  if test "$GXX" = yes; then
     3802    CXXFLAGS="-O2"
     3803  else
     3804    CXXFLAGS=
     3805  fi
     3806fi
    81893807ac_ext=c
    81903808ac_cpp='$CPP $CPPFLAGS'
     
    81923810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    81933811ac_compiler_gnu=$ac_cv_c_compiler_gnu
    8194 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3812
     3813    ac_ext=c
     3814ac_cpp='$CPP $CPPFLAGS'
     3815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3817ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    81953819$as_echo_n "checking how to run the C preprocessor... " >&6; }
    81963820# On Suns, sometimes $CPP names a directory.
     
    81993823fi
    82003824if test -z "$CPP"; then
    8201   if test "${ac_cv_prog_CPP+set}" = set; then
     3825  if ${ac_cv_prog_CPP+:} false; then :
    82023826  $as_echo_n "(cached) " >&6
    82033827else
     
    82143838  # On the NeXT, cc -E runs the code through the compiler's parser,
    82153839  # not just through cpp. "Syntax error" is here to catch this case.
    8216   cat >conftest.$ac_ext <<_ACEOF
    8217 /* confdefs.h.  */
    8218 _ACEOF
    8219 cat confdefs.h >>conftest.$ac_ext
    8220 cat >>conftest.$ac_ext <<_ACEOF
     3840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82213841/* end confdefs.h.  */
    82223842#ifdef __STDC__
     
    82273847                     Syntax error
    82283848_ACEOF
    8229 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8230 case "(($ac_try" in
    8231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8232   *) ac_try_echo=$ac_try;;
    8233 esac
    8234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8235 $as_echo "$ac_try_echo") >&5
    8236   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8237   ac_status=$?
    8238   grep -v '^ *+' conftest.er1 >conftest.err
    8239   rm -f conftest.er1
    8240   cat conftest.err >&5
    8241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8242   (exit $ac_status); } >/dev/null && {
    8243          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8244          test ! -s conftest.err
    8245        }; then
    8246   :
    8247 else
    8248   $as_echo "$as_me: failed program was:" >&5
    8249 sed 's/^/| /' conftest.$ac_ext >&5
    8250 
     3849if ac_fn_c_try_cpp "$LINENO"; then :
     3850
     3851else
    82513852  # Broken: fails on valid input.
    82523853continue
    82533854fi
    8254 
    8255 rm -f conftest.err conftest.$ac_ext
     3855rm -f conftest.err conftest.i conftest.$ac_ext
    82563856
    82573857  # OK, works on sane cases.  Now check whether nonexistent headers
    82583858  # can be detected and how.
    8259   cat >conftest.$ac_ext <<_ACEOF
    8260 /* confdefs.h.  */
    8261 _ACEOF
    8262 cat confdefs.h >>conftest.$ac_ext
    8263 cat >>conftest.$ac_ext <<_ACEOF
     3859  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82643860/* end confdefs.h.  */
    82653861#include <ac_nonexistent.h>
    82663862_ACEOF
    8267 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8268 case "(($ac_try" in
    8269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8270   *) ac_try_echo=$ac_try;;
    8271 esac
    8272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8273 $as_echo "$ac_try_echo") >&5
    8274   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8275   ac_status=$?
    8276   grep -v '^ *+' conftest.er1 >conftest.err
    8277   rm -f conftest.er1
    8278   cat conftest.err >&5
    8279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8280   (exit $ac_status); } >/dev/null && {
    8281          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8282          test ! -s conftest.err
    8283        }; then
     3863if ac_fn_c_try_cpp "$LINENO"; then :
    82843864  # Broken: success on invalid input.
    82853865continue
    82863866else
    8287   $as_echo "$as_me: failed program was:" >&5
    8288 sed 's/^/| /' conftest.$ac_ext >&5
    8289 
    82903867  # Passes both tests.
    82913868ac_preproc_ok=:
    82923869break
    82933870fi
    8294 
    8295 rm -f conftest.err conftest.$ac_ext
     3871rm -f conftest.err conftest.i conftest.$ac_ext
    82963872
    82973873done
    82983874# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8299 rm -f conftest.err conftest.$ac_ext
    8300 if $ac_preproc_ok; then
     3875rm -f conftest.i conftest.err conftest.$ac_ext
     3876if $ac_preproc_ok; then :
    83013877  break
    83023878fi
     
    83103886  ac_cv_prog_CPP=$CPP
    83113887fi
    8312 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    83133889$as_echo "$CPP" >&6; }
    83143890ac_preproc_ok=false
     
    83213897  # On the NeXT, cc -E runs the code through the compiler's parser,
    83223898  # not just through cpp. "Syntax error" is here to catch this case.
    8323   cat >conftest.$ac_ext <<_ACEOF
    8324 /* confdefs.h.  */
    8325 _ACEOF
    8326 cat confdefs.h >>conftest.$ac_ext
    8327 cat >>conftest.$ac_ext <<_ACEOF
     3899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83283900/* end confdefs.h.  */
    83293901#ifdef __STDC__
     
    83343906                     Syntax error
    83353907_ACEOF
    8336 if { (ac_try="$ac_cpp conftest.$ac_ext"
     3908if ac_fn_c_try_cpp "$LINENO"; then :
     3909
     3910else
     3911  # Broken: fails on valid input.
     3912continue
     3913fi
     3914rm -f conftest.err conftest.i conftest.$ac_ext
     3915
     3916  # OK, works on sane cases.  Now check whether nonexistent headers
     3917  # can be detected and how.
     3918  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3919/* end confdefs.h.  */
     3920#include <ac_nonexistent.h>
     3921_ACEOF
     3922if ac_fn_c_try_cpp "$LINENO"; then :
     3923  # Broken: success on invalid input.
     3924continue
     3925else
     3926  # Passes both tests.
     3927ac_preproc_ok=:
     3928break
     3929fi
     3930rm -f conftest.err conftest.i conftest.$ac_ext
     3931
     3932done
     3933# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3934rm -f conftest.i conftest.err conftest.$ac_ext
     3935if $ac_preproc_ok; then :
     3936
     3937else
     3938  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3940as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3941See \`config.log' for more details" "$LINENO" 5; }
     3942fi
     3943
     3944ac_ext=c
     3945ac_cpp='$CPP $CPPFLAGS'
     3946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3948ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3949
     3950
     3951
     3952
     3953    #--------------------------------------------------------------------
     3954    # Checks to see if the make program sets the $MAKE variable.
     3955    #--------------------------------------------------------------------
     3956
     3957    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3958$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     3959set x ${MAKE-make}
     3960ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3961if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     3962  $as_echo_n "(cached) " >&6
     3963else
     3964  cat >conftest.make <<\_ACEOF
     3965SHELL = /bin/sh
     3966all:
     3967        @echo '@@@%%%=$(MAKE)=@@@%%%'
     3968_ACEOF
     3969# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     3970case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3971  *@@@%%%=?*=@@@%%%*)
     3972    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3973  *)
     3974    eval ac_cv_prog_make_${ac_make}_set=no;;
     3975esac
     3976rm -f conftest.make
     3977fi
     3978if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3980$as_echo "yes" >&6; }
     3981  SET_MAKE=
     3982else
     3983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3984$as_echo "no" >&6; }
     3985  SET_MAKE="MAKE=${MAKE-make}"
     3986fi
     3987
     3988
     3989    #--------------------------------------------------------------------
     3990    # Find ranlib
     3991    #--------------------------------------------------------------------
     3992
     3993    if test -n "$ac_tool_prefix"; then
     3994  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     3995set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     3996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3997$as_echo_n "checking for $ac_word... " >&6; }
     3998if ${ac_cv_prog_RANLIB+:} false; then :
     3999  $as_echo_n "(cached) " >&6
     4000else
     4001  if test -n "$RANLIB"; then
     4002  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4003else
     4004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4005for as_dir in $PATH
     4006do
     4007  IFS=$as_save_IFS
     4008  test -z "$as_dir" && as_dir=.
     4009    for ac_exec_ext in '' $ac_executable_extensions; do
     4010  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4011    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4013    break 2
     4014  fi
     4015done
     4016  done
     4017IFS=$as_save_IFS
     4018
     4019fi
     4020fi
     4021RANLIB=$ac_cv_prog_RANLIB
     4022if test -n "$RANLIB"; then
     4023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4024$as_echo "$RANLIB" >&6; }
     4025else
     4026  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4027$as_echo "no" >&6; }
     4028fi
     4029
     4030
     4031fi
     4032if test -z "$ac_cv_prog_RANLIB"; then
     4033  ac_ct_RANLIB=$RANLIB
     4034  # Extract the first word of "ranlib", so it can be a program name with args.
     4035set dummy ranlib; ac_word=$2
     4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4037$as_echo_n "checking for $ac_word... " >&6; }
     4038if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4039  $as_echo_n "(cached) " >&6
     4040else
     4041  if test -n "$ac_ct_RANLIB"; then
     4042  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4043else
     4044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4045for as_dir in $PATH
     4046do
     4047  IFS=$as_save_IFS
     4048  test -z "$as_dir" && as_dir=.
     4049    for ac_exec_ext in '' $ac_executable_extensions; do
     4050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4051    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4053    break 2
     4054  fi
     4055done
     4056  done
     4057IFS=$as_save_IFS
     4058
     4059fi
     4060fi
     4061ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4062if test -n "$ac_ct_RANLIB"; then
     4063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4064$as_echo "$ac_ct_RANLIB" >&6; }
     4065else
     4066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4067$as_echo "no" >&6; }
     4068fi
     4069
     4070  if test "x$ac_ct_RANLIB" = x; then
     4071    RANLIB=":"
     4072  else
     4073    case $cross_compiling:$ac_tool_warned in
     4074yes:)
     4075{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4076$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4077ac_tool_warned=yes ;;
     4078esac
     4079    RANLIB=$ac_ct_RANLIB
     4080  fi
     4081else
     4082  RANLIB="$ac_cv_prog_RANLIB"
     4083fi
     4084
     4085
     4086    #--------------------------------------------------------------------
     4087    # Determines the correct binary file extension (.o, .obj, .exe etc.)
     4088    #--------------------------------------------------------------------
     4089
     4090
     4091
     4092
     4093
     4094
     4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4096$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4097if ${ac_cv_path_GREP+:} false; then :
     4098  $as_echo_n "(cached) " >&6
     4099else
     4100  if test -z "$GREP"; then
     4101  ac_path_GREP_found=false
     4102  # Loop through the user's path and test for each of PROGNAME-LIST
     4103  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4104for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4105do
     4106  IFS=$as_save_IFS
     4107  test -z "$as_dir" && as_dir=.
     4108    for ac_prog in grep ggrep; do
     4109    for ac_exec_ext in '' $ac_executable_extensions; do
     4110      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4111      as_fn_executable_p "$ac_path_GREP" || continue
     4112# Check for GNU ac_path_GREP and select it if it is found.
     4113  # Check for GNU $ac_path_GREP
     4114case `"$ac_path_GREP" --version 2>&1` in
     4115*GNU*)
     4116  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4117*)
     4118  ac_count=0
     4119  $as_echo_n 0123456789 >"conftest.in"
     4120  while :
     4121  do
     4122    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4123    mv "conftest.tmp" "conftest.in"
     4124    cp "conftest.in" "conftest.nl"
     4125    $as_echo 'GREP' >> "conftest.nl"
     4126    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4127    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4128    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4129    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4130      # Best one so far, save it but keep looking for a better one
     4131      ac_cv_path_GREP="$ac_path_GREP"
     4132      ac_path_GREP_max=$ac_count
     4133    fi
     4134    # 10*(2^10) chars as input seems more than enough
     4135    test $ac_count -gt 10 && break
     4136  done
     4137  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4138esac
     4139
     4140      $ac_path_GREP_found && break 3
     4141    done
     4142  done
     4143  done
     4144IFS=$as_save_IFS
     4145  if test -z "$ac_cv_path_GREP"; then
     4146    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4147  fi
     4148else
     4149  ac_cv_path_GREP=$GREP
     4150fi
     4151
     4152fi
     4153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4154$as_echo "$ac_cv_path_GREP" >&6; }
     4155 GREP="$ac_cv_path_GREP"
     4156
     4157
     4158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4159$as_echo_n "checking for egrep... " >&6; }
     4160if ${ac_cv_path_EGREP+:} false; then :
     4161  $as_echo_n "(cached) " >&6
     4162else
     4163  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4164   then ac_cv_path_EGREP="$GREP -E"
     4165   else
     4166     if test -z "$EGREP"; then
     4167  ac_path_EGREP_found=false
     4168  # Loop through the user's path and test for each of PROGNAME-LIST
     4169  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4170for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4171do
     4172  IFS=$as_save_IFS
     4173  test -z "$as_dir" && as_dir=.
     4174    for ac_prog in egrep; do
     4175    for ac_exec_ext in '' $ac_executable_extensions; do
     4176      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4177      as_fn_executable_p "$ac_path_EGREP" || continue
     4178# Check for GNU ac_path_EGREP and select it if it is found.
     4179  # Check for GNU $ac_path_EGREP
     4180case `"$ac_path_EGREP" --version 2>&1` in
     4181*GNU*)
     4182  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4183*)
     4184  ac_count=0
     4185  $as_echo_n 0123456789 >"conftest.in"
     4186  while :
     4187  do
     4188    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4189    mv "conftest.tmp" "conftest.in"
     4190    cp "conftest.in" "conftest.nl"
     4191    $as_echo 'EGREP' >> "conftest.nl"
     4192    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4193    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4194    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4195    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4196      # Best one so far, save it but keep looking for a better one
     4197      ac_cv_path_EGREP="$ac_path_EGREP"
     4198      ac_path_EGREP_max=$ac_count
     4199    fi
     4200    # 10*(2^10) chars as input seems more than enough
     4201    test $ac_count -gt 10 && break
     4202  done
     4203  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4204esac
     4205
     4206      $ac_path_EGREP_found && break 3
     4207    done
     4208  done
     4209  done
     4210IFS=$as_save_IFS
     4211  if test -z "$ac_cv_path_EGREP"; then
     4212    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4213  fi
     4214else
     4215  ac_cv_path_EGREP=$EGREP
     4216fi
     4217
     4218   fi
     4219fi
     4220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4221$as_echo "$ac_cv_path_EGREP" >&6; }
     4222 EGREP="$ac_cv_path_EGREP"
     4223
     4224
     4225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4226$as_echo_n "checking for ANSI C header files... " >&6; }
     4227if ${ac_cv_header_stdc+:} false; then :
     4228  $as_echo_n "(cached) " >&6
     4229else
     4230  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4231/* end confdefs.h.  */
     4232#include <stdlib.h>
     4233#include <stdarg.h>
     4234#include <string.h>
     4235#include <float.h>
     4236
     4237int
     4238main ()
     4239{
     4240
     4241  ;
     4242  return 0;
     4243}
     4244_ACEOF
     4245if ac_fn_c_try_compile "$LINENO"; then :
     4246  ac_cv_header_stdc=yes
     4247else
     4248  ac_cv_header_stdc=no
     4249fi
     4250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4251
     4252if test $ac_cv_header_stdc = yes; then
     4253  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     4254  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4255/* end confdefs.h.  */
     4256#include <string.h>
     4257
     4258_ACEOF
     4259if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4260  $EGREP "memchr" >/dev/null 2>&1; then :
     4261
     4262else
     4263  ac_cv_header_stdc=no
     4264fi
     4265rm -f conftest*
     4266
     4267fi
     4268
     4269if test $ac_cv_header_stdc = yes; then
     4270  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     4271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4272/* end confdefs.h.  */
     4273#include <stdlib.h>
     4274
     4275_ACEOF
     4276if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4277  $EGREP "free" >/dev/null 2>&1; then :
     4278
     4279else
     4280  ac_cv_header_stdc=no
     4281fi
     4282rm -f conftest*
     4283
     4284fi
     4285
     4286if test $ac_cv_header_stdc = yes; then
     4287  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     4288  if test "$cross_compiling" = yes; then :
     4289  :
     4290else
     4291  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4292/* end confdefs.h.  */
     4293#include <ctype.h>
     4294#include <stdlib.h>
     4295#if ((' ' & 0x0FF) == 0x020)
     4296# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     4297# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     4298#else
     4299# define ISLOWER(c) \
     4300                   (('a' <= (c) && (c) <= 'i') \
     4301                     || ('j' <= (c) && (c) <= 'r') \
     4302                     || ('s' <= (c) && (c) <= 'z'))
     4303# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     4304#endif
     4305
     4306#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     4307int
     4308main ()
     4309{
     4310  int i;
     4311  for (i = 0; i < 256; i++)
     4312    if (XOR (islower (i), ISLOWER (i))
     4313        || toupper (i) != TOUPPER (i))
     4314      return 2;
     4315  return 0;
     4316}
     4317_ACEOF
     4318if ac_fn_c_try_run "$LINENO"; then :
     4319
     4320else
     4321  ac_cv_header_stdc=no
     4322fi
     4323rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4324  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4325fi
     4326
     4327fi
     4328fi
     4329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4330$as_echo "$ac_cv_header_stdc" >&6; }
     4331if test $ac_cv_header_stdc = yes; then
     4332
     4333$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4334
     4335fi
     4336
     4337# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4338for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4339                  inttypes.h stdint.h unistd.h
     4340do :
     4341  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4342ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4343"
     4344if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4345  cat >>confdefs.h <<_ACEOF
     4346#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4347_ACEOF
     4348
     4349fi
     4350
     4351done
     4352
     4353
     4354
     4355    # Any macros that use the compiler (e.g. AC_TRY_COMPILE) have to go here.
     4356
     4357
     4358    #------------------------------------------------------------------------
     4359    # If we're using GCC, see if the compiler understands -pipe. If so, use it.
     4360    # It makes compiling go faster.  (This is only a performance feature.)
     4361    #------------------------------------------------------------------------
     4362
     4363    if test -z "$no_pipe" -a -n "$GCC"; then
     4364        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -pipe" >&5
     4365$as_echo_n "checking if the compiler understands -pipe... " >&6; }
     4366        OLDCC="$CC"
     4367        CC="$CC -pipe"
     4368        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4369/* end confdefs.h.  */
     4370
     4371int
     4372main ()
     4373{
     4374
     4375  ;
     4376  return 0;
     4377}
     4378_ACEOF
     4379if ac_fn_c_try_compile "$LINENO"; then :
     4380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4381$as_echo "yes" >&6; }
     4382else
     4383  CC="$OLDCC"
     4384            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4385$as_echo "no" >&6; }
     4386fi
     4387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4388    fi
     4389
     4390    #--------------------------------------------------------------------
     4391    # Common compiler flag setup
     4392    #--------------------------------------------------------------------
     4393
     4394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     4395$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     4396if ${ac_cv_c_bigendian+:} false; then :
     4397  $as_echo_n "(cached) " >&6
     4398else
     4399  ac_cv_c_bigendian=unknown
     4400    # See if we're dealing with a universal compiler.
     4401    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4402/* end confdefs.h.  */
     4403#ifndef __APPLE_CC__
     4404               not a universal capable compiler
     4405             #endif
     4406             typedef int dummy;
     4407
     4408_ACEOF
     4409if ac_fn_c_try_compile "$LINENO"; then :
     4410
     4411        # Check for potential -arch flags.  It is not universal unless
     4412        # there are at least two -arch flags with different values.
     4413        ac_arch=
     4414        ac_prev=
     4415        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     4416         if test -n "$ac_prev"; then
     4417           case $ac_word in
     4418             i?86 | x86_64 | ppc | ppc64)
     4419               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     4420                 ac_arch=$ac_word
     4421               else
     4422                 ac_cv_c_bigendian=universal
     4423                 break
     4424               fi
     4425               ;;
     4426           esac
     4427           ac_prev=
     4428         elif test "x$ac_word" = "x-arch"; then
     4429           ac_prev=arch
     4430         fi
     4431       done
     4432fi
     4433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4434    if test $ac_cv_c_bigendian = unknown; then
     4435      # See if sys/param.h defines the BYTE_ORDER macro.
     4436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4437/* end confdefs.h.  */
     4438#include <sys/types.h>
     4439             #include <sys/param.h>
     4440
     4441int
     4442main ()
     4443{
     4444#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     4445                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     4446                     && LITTLE_ENDIAN)
     4447              bogus endian macros
     4448             #endif
     4449
     4450  ;
     4451  return 0;
     4452}
     4453_ACEOF
     4454if ac_fn_c_try_compile "$LINENO"; then :
     4455  # It does; now see whether it defined to BIG_ENDIAN or not.
     4456         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4457/* end confdefs.h.  */
     4458#include <sys/types.h>
     4459                #include <sys/param.h>
     4460
     4461int
     4462main ()
     4463{
     4464#if BYTE_ORDER != BIG_ENDIAN
     4465                 not big endian
     4466                #endif
     4467
     4468  ;
     4469  return 0;
     4470}
     4471_ACEOF
     4472if ac_fn_c_try_compile "$LINENO"; then :
     4473  ac_cv_c_bigendian=yes
     4474else
     4475  ac_cv_c_bigendian=no
     4476fi
     4477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4478fi
     4479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4480    fi
     4481    if test $ac_cv_c_bigendian = unknown; then
     4482      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     4483      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4484/* end confdefs.h.  */
     4485#include <limits.h>
     4486
     4487int
     4488main ()
     4489{
     4490#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     4491              bogus endian macros
     4492             #endif
     4493
     4494  ;
     4495  return 0;
     4496}
     4497_ACEOF
     4498if ac_fn_c_try_compile "$LINENO"; then :
     4499  # It does; now see whether it defined to _BIG_ENDIAN or not.
     4500         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4501/* end confdefs.h.  */
     4502#include <limits.h>
     4503
     4504int
     4505main ()
     4506{
     4507#ifndef _BIG_ENDIAN
     4508                 not big endian
     4509                #endif
     4510
     4511  ;
     4512  return 0;
     4513}
     4514_ACEOF
     4515if ac_fn_c_try_compile "$LINENO"; then :
     4516  ac_cv_c_bigendian=yes
     4517else
     4518  ac_cv_c_bigendian=no
     4519fi
     4520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4521fi
     4522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4523    fi
     4524    if test $ac_cv_c_bigendian = unknown; then
     4525      # Compile a test program.
     4526      if test "$cross_compiling" = yes; then :
     4527  # Try to guess by grepping values from an object file.
     4528         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4529/* end confdefs.h.  */
     4530short int ascii_mm[] =
     4531                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     4532                short int ascii_ii[] =
     4533                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     4534                int use_ascii (int i) {
     4535                  return ascii_mm[i] + ascii_ii[i];
     4536                }
     4537                short int ebcdic_ii[] =
     4538                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     4539                short int ebcdic_mm[] =
     4540                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     4541                int use_ebcdic (int i) {
     4542                  return ebcdic_mm[i] + ebcdic_ii[i];
     4543                }
     4544                extern int foo;
     4545
     4546int
     4547main ()
     4548{
     4549return use_ascii (foo) == use_ebcdic (foo);
     4550  ;
     4551  return 0;
     4552}
     4553_ACEOF
     4554if ac_fn_c_try_compile "$LINENO"; then :
     4555  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     4556              ac_cv_c_bigendian=yes
     4557            fi
     4558            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     4559              if test "$ac_cv_c_bigendian" = unknown; then
     4560                ac_cv_c_bigendian=no
     4561              else
     4562                # finding both strings is unlikely to happen, but who knows?
     4563                ac_cv_c_bigendian=unknown
     4564              fi
     4565            fi
     4566fi
     4567rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4568else
     4569  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4570/* end confdefs.h.  */
     4571$ac_includes_default
     4572int
     4573main ()
     4574{
     4575
     4576             /* Are we little or big endian?  From Harbison&Steele.  */
     4577             union
     4578             {
     4579               long int l;
     4580               char c[sizeof (long int)];
     4581             } u;
     4582             u.l = 1;
     4583             return u.c[sizeof (long int) - 1] == 1;
     4584
     4585  ;
     4586  return 0;
     4587}
     4588_ACEOF
     4589if ac_fn_c_try_run "$LINENO"; then :
     4590  ac_cv_c_bigendian=no
     4591else
     4592  ac_cv_c_bigendian=yes
     4593fi
     4594rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4595  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4596fi
     4597
     4598    fi
     4599fi
     4600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     4601$as_echo "$ac_cv_c_bigendian" >&6; }
     4602 case $ac_cv_c_bigendian in #(
     4603   yes)
     4604     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     4605;; #(
     4606   no)
     4607      ;; #(
     4608   universal)
     4609
     4610$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     4611
     4612     ;; #(
     4613   *)
     4614     as_fn_error $? "unknown endianness
     4615 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     4616 esac
     4617
     4618    if test "${TEA_PLATFORM}" = "unix" ; then
     4619
     4620    #--------------------------------------------------------------------
     4621    # On a few very rare systems, all of the libm.a stuff is
     4622    # already in libc.a.  Set compiler flags accordingly.
     4623    # Also, Linux requires the "ieee" library for math to work
     4624    # right (and it must appear before "-lm").
     4625    #--------------------------------------------------------------------
     4626
     4627    ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
     4628if test "x$ac_cv_func_sin" = xyes; then :
     4629  MATH_LIBS=""
     4630else
     4631  MATH_LIBS="-lm"
     4632fi
     4633
     4634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lieee" >&5
     4635$as_echo_n "checking for main in -lieee... " >&6; }
     4636if ${ac_cv_lib_ieee_main+:} false; then :
     4637  $as_echo_n "(cached) " >&6
     4638else
     4639  ac_check_lib_save_LIBS=$LIBS
     4640LIBS="-lieee  $LIBS"
     4641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4642/* end confdefs.h.  */
     4643
     4644
     4645int
     4646main ()
     4647{
     4648return main ();
     4649  ;
     4650  return 0;
     4651}
     4652_ACEOF
     4653if ac_fn_c_try_link "$LINENO"; then :
     4654  ac_cv_lib_ieee_main=yes
     4655else
     4656  ac_cv_lib_ieee_main=no
     4657fi
     4658rm -f core conftest.err conftest.$ac_objext \
     4659    conftest$ac_exeext conftest.$ac_ext
     4660LIBS=$ac_check_lib_save_LIBS
     4661fi
     4662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee_main" >&5
     4663$as_echo "$ac_cv_lib_ieee_main" >&6; }
     4664if test "x$ac_cv_lib_ieee_main" = xyes; then :
     4665  MATH_LIBS="-lieee $MATH_LIBS"
     4666fi
     4667
     4668
     4669    #--------------------------------------------------------------------
     4670    # Interactive UNIX requires -linet instead of -lsocket, plus it
     4671    # needs net/errno.h to define the socket-related error codes.
     4672    #--------------------------------------------------------------------
     4673
     4674    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -linet" >&5
     4675$as_echo_n "checking for main in -linet... " >&6; }
     4676if ${ac_cv_lib_inet_main+:} false; then :
     4677  $as_echo_n "(cached) " >&6
     4678else
     4679  ac_check_lib_save_LIBS=$LIBS
     4680LIBS="-linet  $LIBS"
     4681cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4682/* end confdefs.h.  */
     4683
     4684
     4685int
     4686main ()
     4687{
     4688return main ();
     4689  ;
     4690  return 0;
     4691}
     4692_ACEOF
     4693if ac_fn_c_try_link "$LINENO"; then :
     4694  ac_cv_lib_inet_main=yes
     4695else
     4696  ac_cv_lib_inet_main=no
     4697fi
     4698rm -f core conftest.err conftest.$ac_objext \
     4699    conftest$ac_exeext conftest.$ac_ext
     4700LIBS=$ac_check_lib_save_LIBS
     4701fi
     4702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_main" >&5
     4703$as_echo "$ac_cv_lib_inet_main" >&6; }
     4704if test "x$ac_cv_lib_inet_main" = xyes; then :
     4705  LIBS="$LIBS -linet"
     4706fi
     4707
     4708    ac_fn_c_check_header_mongrel "$LINENO" "net/errno.h" "ac_cv_header_net_errno_h" "$ac_includes_default"
     4709if test "x$ac_cv_header_net_errno_h" = xyes; then :
     4710
     4711
     4712$as_echo "#define HAVE_NET_ERRNO_H 1" >>confdefs.h
     4713
     4714fi
     4715
     4716
     4717
     4718    #--------------------------------------------------------------------
     4719    #   Check for the existence of the -lsocket and -lnsl libraries.
     4720    #   The order here is important, so that they end up in the right
     4721    #   order in the command line generated by make.  Here are some
     4722    #   special considerations:
     4723    #   1. Use "connect" and "accept" to check for -lsocket, and
     4724    #      "gethostbyname" to check for -lnsl.
     4725    #   2. Use each function name only once:  can't redo a check because
     4726    #      autoconf caches the results of the last check and won't redo it.
     4727    #   3. Use -lnsl and -lsocket only if they supply procedures that
     4728    #      aren't already present in the normal libraries.  This is because
     4729    #      IRIX 5.2 has libraries, but they aren't needed and they're
     4730    #      bogus:  they goof up name resolution if used.
     4731    #   4. On some SVR4 systems, can't use -lsocket without -lnsl too.
     4732    #      To get around this problem, check for both libraries together
     4733    #      if -lsocket doesn't work by itself.
     4734    #--------------------------------------------------------------------
     4735
     4736    tcl_checkBoth=0
     4737    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
     4738if test "x$ac_cv_func_connect" = xyes; then :
     4739  tcl_checkSocket=0
     4740else
     4741  tcl_checkSocket=1
     4742fi
     4743
     4744    if test "$tcl_checkSocket" = 1; then
     4745        ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
     4746if test "x$ac_cv_func_setsockopt" = xyes; then :
     4747
     4748else
     4749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5
     4750$as_echo_n "checking for setsockopt in -lsocket... " >&6; }
     4751if ${ac_cv_lib_socket_setsockopt+:} false; then :
     4752  $as_echo_n "(cached) " >&6
     4753else
     4754  ac_check_lib_save_LIBS=$LIBS
     4755LIBS="-lsocket  $LIBS"
     4756cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4757/* end confdefs.h.  */
     4758
     4759/* Override any GCC internal prototype to avoid an error.
     4760   Use char because int might match the return type of a GCC
     4761   builtin and then its argument prototype would still apply.  */
     4762#ifdef __cplusplus
     4763extern "C"
     4764#endif
     4765char setsockopt ();
     4766int
     4767main ()
     4768{
     4769return setsockopt ();
     4770  ;
     4771  return 0;
     4772}
     4773_ACEOF
     4774if ac_fn_c_try_link "$LINENO"; then :
     4775  ac_cv_lib_socket_setsockopt=yes
     4776else
     4777  ac_cv_lib_socket_setsockopt=no
     4778fi
     4779rm -f core conftest.err conftest.$ac_objext \
     4780    conftest$ac_exeext conftest.$ac_ext
     4781LIBS=$ac_check_lib_save_LIBS
     4782fi
     4783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5
     4784$as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
     4785if test "x$ac_cv_lib_socket_setsockopt" = xyes; then :
     4786  LIBS="$LIBS -lsocket"
     4787else
     4788  tcl_checkBoth=1
     4789fi
     4790
     4791fi
     4792
     4793    fi
     4794    if test "$tcl_checkBoth" = 1; then
     4795        tk_oldLibs=$LIBS
     4796        LIBS="$LIBS -lsocket -lnsl"
     4797        ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
     4798if test "x$ac_cv_func_accept" = xyes; then :
     4799  tcl_checkNsl=0
     4800else
     4801  LIBS=$tk_oldLibs
     4802fi
     4803
     4804    fi
     4805    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
     4806if test "x$ac_cv_func_gethostbyname" = xyes; then :
     4807
     4808else
     4809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
     4810$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
     4811if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
     4812  $as_echo_n "(cached) " >&6
     4813else
     4814  ac_check_lib_save_LIBS=$LIBS
     4815LIBS="-lnsl  $LIBS"
     4816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4817/* end confdefs.h.  */
     4818
     4819/* Override any GCC internal prototype to avoid an error.
     4820   Use char because int might match the return type of a GCC
     4821   builtin and then its argument prototype would still apply.  */
     4822#ifdef __cplusplus
     4823extern "C"
     4824#endif
     4825char gethostbyname ();
     4826int
     4827main ()
     4828{
     4829return gethostbyname ();
     4830  ;
     4831  return 0;
     4832}
     4833_ACEOF
     4834if ac_fn_c_try_link "$LINENO"; then :
     4835  ac_cv_lib_nsl_gethostbyname=yes
     4836else
     4837  ac_cv_lib_nsl_gethostbyname=no
     4838fi
     4839rm -f core conftest.err conftest.$ac_objext \
     4840    conftest$ac_exeext conftest.$ac_ext
     4841LIBS=$ac_check_lib_save_LIBS
     4842fi
     4843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
     4844$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
     4845if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
     4846  LIBS="$LIBS -lnsl"
     4847fi
     4848
     4849fi
     4850
     4851
     4852    # Don't perform the eval of the libraries here because DL_LIBS
     4853    # won't be set until we call TEA_CONFIG_CFLAGS
     4854
     4855    TCL_LIBS='${DL_LIBS} ${LIBS} ${MATH_LIBS}'
     4856
     4857
     4858
     4859
     4860    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dirent.h" >&5
     4861$as_echo_n "checking dirent.h... " >&6; }
     4862if ${tcl_cv_dirent_h+:} false; then :
     4863  $as_echo_n "(cached) " >&6
     4864else
     4865  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4866/* end confdefs.h.  */
     4867#include <sys/types.h>
     4868#include <dirent.h>
     4869int
     4870main ()
     4871{
     4872
     4873#ifndef _POSIX_SOURCE
     4874#   ifdef __Lynx__
     4875        /*
     4876         * Generate compilation error to make the test fail:  Lynx headers
     4877         * are only valid if really in the POSIX environment.
     4878         */
     4879
     4880        missing_procedure();
     4881#   endif
     4882#endif
     4883DIR *d;
     4884struct dirent *entryPtr;
     4885char *p;
     4886d = opendir("foobar");
     4887entryPtr = readdir(d);
     4888p = entryPtr->d_name;
     4889closedir(d);
     4890
     4891  ;
     4892  return 0;
     4893}
     4894_ACEOF
     4895if ac_fn_c_try_link "$LINENO"; then :
     4896  tcl_cv_dirent_h=yes
     4897else
     4898  tcl_cv_dirent_h=no
     4899fi
     4900rm -f core conftest.err conftest.$ac_objext \
     4901    conftest$ac_exeext conftest.$ac_ext
     4902fi
     4903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_dirent_h" >&5
     4904$as_echo "$tcl_cv_dirent_h" >&6; }
     4905
     4906    if test $tcl_cv_dirent_h = no; then
     4907
     4908$as_echo "#define NO_DIRENT_H 1" >>confdefs.h
     4909
     4910    fi
     4911
     4912    ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
     4913if test "x$ac_cv_header_errno_h" = xyes; then :
     4914
     4915else
     4916
     4917$as_echo "#define NO_ERRNO_H 1" >>confdefs.h
     4918
     4919fi
     4920
     4921
     4922    ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
     4923if test "x$ac_cv_header_float_h" = xyes; then :
     4924
     4925else
     4926
     4927$as_echo "#define NO_FLOAT_H 1" >>confdefs.h
     4928
     4929fi
     4930
     4931
     4932    ac_fn_c_check_header_mongrel "$LINENO" "values.h" "ac_cv_header_values_h" "$ac_includes_default"
     4933if test "x$ac_cv_header_values_h" = xyes; then :
     4934
     4935else
     4936
     4937$as_echo "#define NO_VALUES_H 1" >>confdefs.h
     4938
     4939fi
     4940
     4941
     4942    ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
     4943if test "x$ac_cv_header_limits_h" = xyes; then :
     4944
     4945$as_echo "#define HAVE_LIMITS_H 1" >>confdefs.h
     4946
     4947else
     4948
     4949$as_echo "#define NO_LIMITS_H 1" >>confdefs.h
     4950
     4951fi
     4952
     4953
     4954    ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     4955if test "x$ac_cv_header_stdlib_h" = xyes; then :
     4956  tcl_ok=1
     4957else
     4958  tcl_ok=0
     4959fi
     4960
     4961
     4962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4963/* end confdefs.h.  */
     4964#include <stdlib.h>
     4965
     4966_ACEOF
     4967if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4968  $EGREP "strtol" >/dev/null 2>&1; then :
     4969
     4970else
     4971  tcl_ok=0
     4972fi
     4973rm -f conftest*
     4974
     4975    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4976/* end confdefs.h.  */
     4977#include <stdlib.h>
     4978
     4979_ACEOF
     4980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4981  $EGREP "strtoul" >/dev/null 2>&1; then :
     4982
     4983else
     4984  tcl_ok=0
     4985fi
     4986rm -f conftest*
     4987
     4988    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4989/* end confdefs.h.  */
     4990#include <stdlib.h>
     4991
     4992_ACEOF
     4993if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4994  $EGREP "strtod" >/dev/null 2>&1; then :
     4995
     4996else
     4997  tcl_ok=0
     4998fi
     4999rm -f conftest*
     5000
     5001    if test $tcl_ok = 0; then
     5002
     5003$as_echo "#define NO_STDLIB_H 1" >>confdefs.h
     5004
     5005    fi
     5006    ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
     5007if test "x$ac_cv_header_string_h" = xyes; then :
     5008  tcl_ok=1
     5009else
     5010  tcl_ok=0
     5011fi
     5012
     5013
     5014    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5015/* end confdefs.h.  */
     5016#include <string.h>
     5017
     5018_ACEOF
     5019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5020  $EGREP "strstr" >/dev/null 2>&1; then :
     5021
     5022else
     5023  tcl_ok=0
     5024fi
     5025rm -f conftest*
     5026
     5027    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5028/* end confdefs.h.  */
     5029#include <string.h>
     5030
     5031_ACEOF
     5032if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5033  $EGREP "strerror" >/dev/null 2>&1; then :
     5034
     5035else
     5036  tcl_ok=0
     5037fi
     5038rm -f conftest*
     5039
     5040
     5041    # See also memmove check below for a place where NO_STRING_H can be
     5042    # set and why.
     5043
     5044    if test $tcl_ok = 0; then
     5045
     5046$as_echo "#define NO_STRING_H 1" >>confdefs.h
     5047
     5048    fi
     5049
     5050    ac_fn_c_check_header_mongrel "$LINENO" "sys/wait.h" "ac_cv_header_sys_wait_h" "$ac_includes_default"
     5051if test "x$ac_cv_header_sys_wait_h" = xyes; then :
     5052
     5053else
     5054
     5055$as_echo "#define NO_SYS_WAIT_H 1" >>confdefs.h
     5056
     5057fi
     5058
     5059
     5060    ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     5061if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     5062
     5063else
     5064
     5065$as_echo "#define NO_DLFCN_H 1" >>confdefs.h
     5066
     5067fi
     5068
     5069
     5070
     5071    # OS/390 lacks sys/param.h (and doesn't need it, by chance).
     5072    for ac_header in sys/param.h
     5073do :
     5074  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
     5075if test "x$ac_cv_header_sys_param_h" = xyes; then :
     5076  cat >>confdefs.h <<_ACEOF
     5077#define HAVE_SYS_PARAM_H 1
     5078_ACEOF
     5079
     5080fi
     5081
     5082done
     5083
     5084
     5085        # Let the user call this, because if it triggers, they will
     5086        # need a compat/strtod.c that is correct.  Users can also
     5087        # use Tcl_GetDouble(FromObj) instead.
     5088        #TEA_BUGGY_STRTOD
     5089    fi
     5090
     5091ac_ext=f
     5092ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     5093ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5094ac_compiler_gnu=$ac_cv_f77_compiler_gnu
     5095if test -n "$ac_tool_prefix"; then
     5096  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
     5097  do
     5098    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5099set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5101$as_echo_n "checking for $ac_word... " >&6; }
     5102if ${ac_cv_prog_F77+:} false; then :
     5103  $as_echo_n "(cached) " >&6
     5104else
     5105  if test -n "$F77"; then
     5106  ac_cv_prog_F77="$F77" # Let the user override the test.
     5107else
     5108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5109for as_dir in $PATH
     5110do
     5111  IFS=$as_save_IFS
     5112  test -z "$as_dir" && as_dir=.
     5113    for ac_exec_ext in '' $ac_executable_extensions; do
     5114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5115    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
     5116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5117    break 2
     5118  fi
     5119done
     5120  done
     5121IFS=$as_save_IFS
     5122
     5123fi
     5124fi
     5125F77=$ac_cv_prog_F77
     5126if test -n "$F77"; then
     5127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
     5128$as_echo "$F77" >&6; }
     5129else
     5130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5131$as_echo "no" >&6; }
     5132fi
     5133
     5134
     5135    test -n "$F77" && break
     5136  done
     5137fi
     5138if test -z "$F77"; then
     5139  ac_ct_F77=$F77
     5140  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
     5141do
     5142  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5143set dummy $ac_prog; ac_word=$2
     5144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5145$as_echo_n "checking for $ac_word... " >&6; }
     5146if ${ac_cv_prog_ac_ct_F77+:} false; then :
     5147  $as_echo_n "(cached) " >&6
     5148else
     5149  if test -n "$ac_ct_F77"; then
     5150  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     5151else
     5152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5153for as_dir in $PATH
     5154do
     5155  IFS=$as_save_IFS
     5156  test -z "$as_dir" && as_dir=.
     5157    for ac_exec_ext in '' $ac_executable_extensions; do
     5158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5159    ac_cv_prog_ac_ct_F77="$ac_prog"
     5160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5161    break 2
     5162  fi
     5163done
     5164  done
     5165IFS=$as_save_IFS
     5166
     5167fi
     5168fi
     5169ac_ct_F77=$ac_cv_prog_ac_ct_F77
     5170if test -n "$ac_ct_F77"; then
     5171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
     5172$as_echo "$ac_ct_F77" >&6; }
     5173else
     5174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5175$as_echo "no" >&6; }
     5176fi
     5177
     5178
     5179  test -n "$ac_ct_F77" && break
     5180done
     5181
     5182  if test "x$ac_ct_F77" = x; then
     5183    F77=""
     5184  else
     5185    case $cross_compiling:$ac_tool_warned in
     5186yes:)
     5187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5189ac_tool_warned=yes ;;
     5190esac
     5191    F77=$ac_ct_F77
     5192  fi
     5193fi
     5194
     5195
     5196# Provide some information about the compiler.
     5197$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
     5198set X $ac_compile
     5199ac_compiler=$2
     5200for ac_option in --version -v -V -qversion; do
     5201  { { ac_try="$ac_compiler $ac_option >&5"
    83375202case "(($ac_try" in
    83385203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    83395204  *) ac_try_echo=$ac_try;;
    83405205esac
    8341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8342 $as_echo "$ac_try_echo") >&5
    8343   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5206eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5207$as_echo "$ac_try_echo"; } >&5
     5208  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    83445209  ac_status=$?
    8345   grep -v '^ *+' conftest.er1 >conftest.err
    8346   rm -f conftest.er1
    8347   cat conftest.err >&5
    8348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8349   (exit $ac_status); } >/dev/null && {
    8350          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8351          test ! -s conftest.err
    8352        }; then
    8353   :
    8354 else
    8355   $as_echo "$as_me: failed program was:" >&5
    8356 sed 's/^/| /' conftest.$ac_ext >&5
    8357 
    8358   # Broken: fails on valid input.
    8359 continue
    8360 fi
    8361 
    8362 rm -f conftest.err conftest.$ac_ext
    8363 
    8364   # OK, works on sane cases.  Now check whether nonexistent headers
    8365   # can be detected and how.
    8366   cat >conftest.$ac_ext <<_ACEOF
    8367 /* confdefs.h.  */
    8368 _ACEOF
    8369 cat confdefs.h >>conftest.$ac_ext
    8370 cat >>conftest.$ac_ext <<_ACEOF
    8371 /* end confdefs.h.  */
    8372 #include <ac_nonexistent.h>
    8373 _ACEOF
    8374 if { (ac_try="$ac_cpp conftest.$ac_ext"
     5210  if test -s conftest.err; then
     5211    sed '10a\
     5212... rest of stderr output deleted ...
     5213         10q' conftest.err >conftest.er1
     5214    cat conftest.er1 >&5
     5215  fi
     5216  rm -f conftest.er1 conftest.err
     5217  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5218  test $ac_status = 0; }
     5219done
     5220rm -f a.out
     5221
     5222# If we don't use `.F' as extension, the preprocessor is not run on the
     5223# input file.  (Note that this only needs to work for GNU compilers.)
     5224ac_save_ext=$ac_ext
     5225ac_ext=F
     5226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
     5227$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
     5228if ${ac_cv_f77_compiler_gnu+:} false; then :
     5229  $as_echo_n "(cached) " >&6
     5230else
     5231  cat > conftest.$ac_ext <<_ACEOF
     5232      program main
     5233#ifndef __GNUC__
     5234       choke me
     5235#endif
     5236
     5237      end
     5238_ACEOF
     5239if ac_fn_f77_try_compile "$LINENO"; then :
     5240  ac_compiler_gnu=yes
     5241else
     5242  ac_compiler_gnu=no
     5243fi
     5244rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5245ac_cv_f77_compiler_gnu=$ac_compiler_gnu
     5246
     5247fi
     5248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
     5249$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
     5250ac_ext=$ac_save_ext
     5251ac_test_FFLAGS=${FFLAGS+set}
     5252ac_save_FFLAGS=$FFLAGS
     5253FFLAGS=
     5254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
     5255$as_echo_n "checking whether $F77 accepts -g... " >&6; }
     5256if ${ac_cv_prog_f77_g+:} false; then :
     5257  $as_echo_n "(cached) " >&6
     5258else
     5259  FFLAGS=-g
     5260cat > conftest.$ac_ext <<_ACEOF
     5261      program main
     5262
     5263      end
     5264_ACEOF
     5265if ac_fn_f77_try_compile "$LINENO"; then :
     5266  ac_cv_prog_f77_g=yes
     5267else
     5268  ac_cv_prog_f77_g=no
     5269fi
     5270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5271
     5272fi
     5273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
     5274$as_echo "$ac_cv_prog_f77_g" >&6; }
     5275if test "$ac_test_FFLAGS" = set; then
     5276  FFLAGS=$ac_save_FFLAGS
     5277elif test $ac_cv_prog_f77_g = yes; then
     5278  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     5279    FFLAGS="-g -O2"
     5280  else
     5281    FFLAGS="-g"
     5282  fi
     5283else
     5284  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
     5285    FFLAGS="-O2"
     5286  else
     5287    FFLAGS=
     5288  fi
     5289fi
     5290
     5291if test $ac_compiler_gnu = yes; then
     5292  G77=yes
     5293else
     5294  G77=
     5295fi
     5296ac_ext=c
     5297ac_cpp='$CPP $CPPFLAGS'
     5298ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5299ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5300ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5301
     5302ac_ext=c
     5303ac_cpp='$CPP $CPPFLAGS'
     5304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5306ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5307if test -n "$ac_tool_prefix"; then
     5308  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     5309set dummy ${ac_tool_prefix}gcc; ac_word=$2
     5310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5311$as_echo_n "checking for $ac_word... " >&6; }
     5312if ${ac_cv_prog_CC+:} false; then :
     5313  $as_echo_n "(cached) " >&6
     5314else
     5315  if test -n "$CC"; then
     5316  ac_cv_prog_CC="$CC" # Let the user override the test.
     5317else
     5318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5319for as_dir in $PATH
     5320do
     5321  IFS=$as_save_IFS
     5322  test -z "$as_dir" && as_dir=.
     5323    for ac_exec_ext in '' $ac_executable_extensions; do
     5324  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5325    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     5326    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5327    break 2
     5328  fi
     5329done
     5330  done
     5331IFS=$as_save_IFS
     5332
     5333fi
     5334fi
     5335CC=$ac_cv_prog_CC
     5336if test -n "$CC"; then
     5337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5338$as_echo "$CC" >&6; }
     5339else
     5340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5341$as_echo "no" >&6; }
     5342fi
     5343
     5344
     5345fi
     5346if test -z "$ac_cv_prog_CC"; then
     5347  ac_ct_CC=$CC
     5348  # Extract the first word of "gcc", so it can be a program name with args.
     5349set dummy gcc; ac_word=$2
     5350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5351$as_echo_n "checking for $ac_word... " >&6; }
     5352if ${ac_cv_prog_ac_ct_CC+:} false; then :
     5353  $as_echo_n "(cached) " >&6
     5354else
     5355  if test -n "$ac_ct_CC"; then
     5356  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     5357else
     5358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5359for as_dir in $PATH
     5360do
     5361  IFS=$as_save_IFS
     5362  test -z "$as_dir" && as_dir=.
     5363    for ac_exec_ext in '' $ac_executable_extensions; do
     5364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5365    ac_cv_prog_ac_ct_CC="gcc"
     5366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5367    break 2
     5368  fi
     5369done
     5370  done
     5371IFS=$as_save_IFS
     5372
     5373fi
     5374fi
     5375ac_ct_CC=$ac_cv_prog_ac_ct_CC
     5376if test -n "$ac_ct_CC"; then
     5377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     5378$as_echo "$ac_ct_CC" >&6; }
     5379else
     5380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5381$as_echo "no" >&6; }
     5382fi
     5383
     5384  if test "x$ac_ct_CC" = x; then
     5385    CC=""
     5386  else
     5387    case $cross_compiling:$ac_tool_warned in
     5388yes:)
     5389{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5390$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5391ac_tool_warned=yes ;;
     5392esac
     5393    CC=$ac_ct_CC
     5394  fi
     5395else
     5396  CC="$ac_cv_prog_CC"
     5397fi
     5398
     5399if test -z "$CC"; then
     5400          if test -n "$ac_tool_prefix"; then
     5401    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     5402set dummy ${ac_tool_prefix}cc; ac_word=$2
     5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5404$as_echo_n "checking for $ac_word... " >&6; }
     5405if ${ac_cv_prog_CC+:} false; then :
     5406  $as_echo_n "(cached) " >&6
     5407else
     5408  if test -n "$CC"; then
     5409  ac_cv_prog_CC="$CC" # Let the user override the test.
     5410else
     5411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5412for as_dir in $PATH
     5413do
     5414  IFS=$as_save_IFS
     5415  test -z "$as_dir" && as_dir=.
     5416    for ac_exec_ext in '' $ac_executable_extensions; do
     5417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5418    ac_cv_prog_CC="${ac_tool_prefix}cc"
     5419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5420    break 2
     5421  fi
     5422done
     5423  done
     5424IFS=$as_save_IFS
     5425
     5426fi
     5427fi
     5428CC=$ac_cv_prog_CC
     5429if test -n "$CC"; then
     5430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5431$as_echo "$CC" >&6; }
     5432else
     5433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5434$as_echo "no" >&6; }
     5435fi
     5436
     5437
     5438  fi
     5439fi
     5440if test -z "$CC"; then
     5441  # Extract the first word of "cc", so it can be a program name with args.
     5442set dummy cc; ac_word=$2
     5443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5444$as_echo_n "checking for $ac_word... " >&6; }
     5445if ${ac_cv_prog_CC+:} false; then :
     5446  $as_echo_n "(cached) " >&6
     5447else
     5448  if test -n "$CC"; then
     5449  ac_cv_prog_CC="$CC" # Let the user override the test.
     5450else
     5451  ac_prog_rejected=no
     5452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5453for as_dir in $PATH
     5454do
     5455  IFS=$as_save_IFS
     5456  test -z "$as_dir" && as_dir=.
     5457    for ac_exec_ext in '' $ac_executable_extensions; do
     5458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5459    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     5460       ac_prog_rejected=yes
     5461       continue
     5462     fi
     5463    ac_cv_prog_CC="cc"
     5464    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5465    break 2
     5466  fi
     5467done
     5468  done
     5469IFS=$as_save_IFS
     5470
     5471if test $ac_prog_rejected = yes; then
     5472  # We found a bogon in the path, so make sure we never use it.
     5473  set dummy $ac_cv_prog_CC
     5474  shift
     5475  if test $# != 0; then
     5476    # We chose a different compiler from the bogus one.
     5477    # However, it has the same basename, so the bogon will be chosen
     5478    # first if we set CC to just the basename; use the full file name.
     5479    shift
     5480    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     5481  fi
     5482fi
     5483fi
     5484fi
     5485CC=$ac_cv_prog_CC
     5486if test -n "$CC"; then
     5487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5488$as_echo "$CC" >&6; }
     5489else
     5490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5491$as_echo "no" >&6; }
     5492fi
     5493
     5494
     5495fi
     5496if test -z "$CC"; then
     5497  if test -n "$ac_tool_prefix"; then
     5498  for ac_prog in cl.exe
     5499  do
     5500    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5501set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5503$as_echo_n "checking for $ac_word... " >&6; }
     5504if ${ac_cv_prog_CC+:} false; then :
     5505  $as_echo_n "(cached) " >&6
     5506else
     5507  if test -n "$CC"; then
     5508  ac_cv_prog_CC="$CC" # Let the user override the test.
     5509else
     5510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5511for as_dir in $PATH
     5512do
     5513  IFS=$as_save_IFS
     5514  test -z "$as_dir" && as_dir=.
     5515    for ac_exec_ext in '' $ac_executable_extensions; do
     5516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5517    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     5518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5519    break 2
     5520  fi
     5521done
     5522  done
     5523IFS=$as_save_IFS
     5524
     5525fi
     5526fi
     5527CC=$ac_cv_prog_CC
     5528if test -n "$CC"; then
     5529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     5530$as_echo "$CC" >&6; }
     5531else
     5532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5533$as_echo "no" >&6; }
     5534fi
     5535
     5536
     5537    test -n "$CC" && break
     5538  done
     5539fi
     5540if test -z "$CC"; then
     5541  ac_ct_CC=$CC
     5542  for ac_prog in cl.exe
     5543do
     5544  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5545set dummy $ac_prog; ac_word=$2
     5546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5547$as_echo_n "checking for $ac_word... " >&6; }
     5548if ${ac_cv_prog_ac_ct_CC+:} false; then :
     5549  $as_echo_n "(cached) " >&6
     5550else
     5551  if test -n "$ac_ct_CC"; then
     5552  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     5553else
     5554as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5555for as_dir in $PATH
     5556do
     5557  IFS=$as_save_IFS
     5558  test -z "$as_dir" && as_dir=.
     5559    for ac_exec_ext in '' $ac_executable_extensions; do
     5560  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5561    ac_cv_prog_ac_ct_CC="$ac_prog"
     5562    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5563    break 2
     5564  fi
     5565done
     5566  done
     5567IFS=$as_save_IFS
     5568
     5569fi
     5570fi
     5571ac_ct_CC=$ac_cv_prog_ac_ct_CC
     5572if test -n "$ac_ct_CC"; then
     5573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     5574$as_echo "$ac_ct_CC" >&6; }
     5575else
     5576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5577$as_echo "no" >&6; }
     5578fi
     5579
     5580
     5581  test -n "$ac_ct_CC" && break
     5582done
     5583
     5584  if test "x$ac_ct_CC" = x; then
     5585    CC=""
     5586  else
     5587    case $cross_compiling:$ac_tool_warned in
     5588yes:)
     5589{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5590$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5591ac_tool_warned=yes ;;
     5592esac
     5593    CC=$ac_ct_CC
     5594  fi
     5595fi
     5596
     5597fi
     5598
     5599
     5600test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5602as_fn_error $? "no acceptable C compiler found in \$PATH
     5603See \`config.log' for more details" "$LINENO" 5; }
     5604
     5605# Provide some information about the compiler.
     5606$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     5607set X $ac_compile
     5608ac_compiler=$2
     5609for ac_option in --version -v -V -qversion; do
     5610  { { ac_try="$ac_compiler $ac_option >&5"
    83755611case "(($ac_try" in
    83765612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    83775613  *) ac_try_echo=$ac_try;;
    83785614esac
    8379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8380 $as_echo "$ac_try_echo") >&5
    8381   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     5616$as_echo "$ac_try_echo"; } >&5
     5617  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    83825618  ac_status=$?
    8383   grep -v '^ *+' conftest.er1 >conftest.err
    8384   rm -f conftest.er1
    8385   cat conftest.err >&5
    8386   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8387   (exit $ac_status); } >/dev/null && {
    8388          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8389          test ! -s conftest.err
    8390        }; then
     5619  if test -s conftest.err; then
     5620    sed '10a\
     5621... rest of stderr output deleted ...
     5622         10q' conftest.err >conftest.er1
     5623    cat conftest.er1 >&5
     5624  fi
     5625  rm -f conftest.er1 conftest.err
     5626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5627  test $ac_status = 0; }
     5628done
     5629
     5630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     5631$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     5632if ${ac_cv_c_compiler_gnu+:} false; then :
     5633  $as_echo_n "(cached) " >&6
     5634else
     5635  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5636/* end confdefs.h.  */
     5637
     5638int
     5639main ()
     5640{
     5641#ifndef __GNUC__
     5642       choke me
     5643#endif
     5644
     5645  ;
     5646  return 0;
     5647}
     5648_ACEOF
     5649if ac_fn_c_try_compile "$LINENO"; then :
     5650  ac_compiler_gnu=yes
     5651else
     5652  ac_compiler_gnu=no
     5653fi
     5654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5655ac_cv_c_compiler_gnu=$ac_compiler_gnu
     5656
     5657fi
     5658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     5659$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     5660if test $ac_compiler_gnu = yes; then
     5661  GCC=yes
     5662else
     5663  GCC=
     5664fi
     5665ac_test_CFLAGS=${CFLAGS+set}
     5666ac_save_CFLAGS=$CFLAGS
     5667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     5668$as_echo_n "checking whether $CC accepts -g... " >&6; }
     5669if ${ac_cv_prog_cc_g+:} false; then :
     5670  $as_echo_n "(cached) " >&6
     5671else
     5672  ac_save_c_werror_flag=$ac_c_werror_flag
     5673   ac_c_werror_flag=yes
     5674   ac_cv_prog_cc_g=no
     5675   CFLAGS="-g"
     5676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5677/* end confdefs.h.  */
     5678
     5679int
     5680main ()
     5681{
     5682
     5683  ;
     5684  return 0;
     5685}
     5686_ACEOF
     5687if ac_fn_c_try_compile "$LINENO"; then :
     5688  ac_cv_prog_cc_g=yes
     5689else
     5690  CFLAGS=""
     5691      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5692/* end confdefs.h.  */
     5693
     5694int
     5695main ()
     5696{
     5697
     5698  ;
     5699  return 0;
     5700}
     5701_ACEOF
     5702if ac_fn_c_try_compile "$LINENO"; then :
     5703
     5704else
     5705  ac_c_werror_flag=$ac_save_c_werror_flag
     5706         CFLAGS="-g"
     5707         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5708/* end confdefs.h.  */
     5709
     5710int
     5711main ()
     5712{
     5713
     5714  ;
     5715  return 0;
     5716}
     5717_ACEOF
     5718if ac_fn_c_try_compile "$LINENO"; then :
     5719  ac_cv_prog_cc_g=yes
     5720fi
     5721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5722fi
     5723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5724fi
     5725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5726   ac_c_werror_flag=$ac_save_c_werror_flag
     5727fi
     5728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     5729$as_echo "$ac_cv_prog_cc_g" >&6; }
     5730if test "$ac_test_CFLAGS" = set; then
     5731  CFLAGS=$ac_save_CFLAGS
     5732elif test $ac_cv_prog_cc_g = yes; then
     5733  if test "$GCC" = yes; then
     5734    CFLAGS="-g -O2"
     5735  else
     5736    CFLAGS="-g"
     5737  fi
     5738else
     5739  if test "$GCC" = yes; then
     5740    CFLAGS="-O2"
     5741  else
     5742    CFLAGS=
     5743  fi
     5744fi
     5745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     5746$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     5747if ${ac_cv_prog_cc_c89+:} false; then :
     5748  $as_echo_n "(cached) " >&6
     5749else
     5750  ac_cv_prog_cc_c89=no
     5751ac_save_CC=$CC
     5752cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5753/* end confdefs.h.  */
     5754#include <stdarg.h>
     5755#include <stdio.h>
     5756struct stat;
     5757/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     5758struct buf { int x; };
     5759FILE * (*rcsopen) (struct buf *, struct stat *, int);
     5760static char *e (p, i)
     5761     char **p;
     5762     int i;
     5763{
     5764  return p[i];
     5765}
     5766static char *f (char * (*g) (char **, int), char **p, ...)
     5767{
     5768  char *s;
     5769  va_list v;
     5770  va_start (v,p);
     5771  s = g (p, va_arg (v,int));
     5772  va_end (v);
     5773  return s;
     5774}
     5775
     5776/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     5777   function prototypes and stuff, but not '\xHH' hex character constants.
     5778   These don't provoke an error unfortunately, instead are silently treated
     5779   as 'x'.  The following induces an error, until -std is added to get
     5780   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     5781   array size at least.  It's necessary to write '\x00'==0 to get something
     5782   that's true only with -std.  */
     5783int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     5784
     5785/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     5786   inside strings and character constants.  */
     5787#define FOO(x) 'x'
     5788int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     5789
     5790int test (int i, double x);
     5791struct s1 {int (*f) (int a);};
     5792struct s2 {int (*f) (double a);};
     5793int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     5794int argc;
     5795char **argv;
     5796int
     5797main ()
     5798{
     5799return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     5800  ;
     5801  return 0;
     5802}
     5803_ACEOF
     5804for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     5805        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     5806do
     5807  CC="$ac_save_CC $ac_arg"
     5808  if ac_fn_c_try_compile "$LINENO"; then :
     5809  ac_cv_prog_cc_c89=$ac_arg
     5810fi
     5811rm -f core conftest.err conftest.$ac_objext
     5812  test "x$ac_cv_prog_cc_c89" != "xno" && break
     5813done
     5814rm -f conftest.$ac_ext
     5815CC=$ac_save_CC
     5816
     5817fi
     5818# AC_CACHE_VAL
     5819case "x$ac_cv_prog_cc_c89" in
     5820  x)
     5821    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     5822$as_echo "none needed" >&6; } ;;
     5823  xno)
     5824    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     5825$as_echo "unsupported" >&6; } ;;
     5826  *)
     5827    CC="$CC $ac_cv_prog_cc_c89"
     5828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     5829$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     5830esac
     5831if test "x$ac_cv_prog_cc_c89" != xno; then :
     5832
     5833fi
     5834
     5835ac_ext=c
     5836ac_cpp='$CPP $CPPFLAGS'
     5837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5839ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5840
     5841ac_ext=c
     5842ac_cpp='$CPP $CPPFLAGS'
     5843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5845ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     5847$as_echo_n "checking how to run the C preprocessor... " >&6; }
     5848# On Suns, sometimes $CPP names a directory.
     5849if test -n "$CPP" && test -d "$CPP"; then
     5850  CPP=
     5851fi
     5852if test -z "$CPP"; then
     5853  if ${ac_cv_prog_CPP+:} false; then :
     5854  $as_echo_n "(cached) " >&6
     5855else
     5856      # Double quotes because CPP needs to be expanded
     5857    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     5858    do
     5859      ac_preproc_ok=false
     5860for ac_c_preproc_warn_flag in '' yes
     5861do
     5862  # Use a header file that comes with gcc, so configuring glibc
     5863  # with a fresh cross-compiler works.
     5864  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5865  # <limits.h> exists even on freestanding compilers.
     5866  # On the NeXT, cc -E runs the code through the compiler's parser,
     5867  # not just through cpp. "Syntax error" is here to catch this case.
     5868  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5869/* end confdefs.h.  */
     5870#ifdef __STDC__
     5871# include <limits.h>
     5872#else
     5873# include <assert.h>
     5874#endif
     5875                     Syntax error
     5876_ACEOF
     5877if ac_fn_c_try_cpp "$LINENO"; then :
     5878
     5879else
     5880  # Broken: fails on valid input.
     5881continue
     5882fi
     5883rm -f conftest.err conftest.i conftest.$ac_ext
     5884
     5885  # OK, works on sane cases.  Now check whether nonexistent headers
     5886  # can be detected and how.
     5887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5888/* end confdefs.h.  */
     5889#include <ac_nonexistent.h>
     5890_ACEOF
     5891if ac_fn_c_try_cpp "$LINENO"; then :
    83915892  # Broken: success on invalid input.
    83925893continue
    83935894else
    8394   $as_echo "$as_me: failed program was:" >&5
    8395 sed 's/^/| /' conftest.$ac_ext >&5
    8396 
    83975895  # Passes both tests.
    83985896ac_preproc_ok=:
    83995897break
    84005898fi
    8401 
    8402 rm -f conftest.err conftest.$ac_ext
     5899rm -f conftest.err conftest.i conftest.$ac_ext
    84035900
    84045901done
    84055902# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8406 rm -f conftest.err conftest.$ac_ext
    8407 if $ac_preproc_ok; then
    8408   :
    8409 else
    8410   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    8411 See \`config.log' for more details." >&5
    8412 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    8413 See \`config.log' for more details." >&2;}
    8414    { (exit 1); exit 1; }; }
     5903rm -f conftest.i conftest.err conftest.$ac_ext
     5904if $ac_preproc_ok; then :
     5905  break
     5906fi
     5907
     5908    done
     5909    ac_cv_prog_CPP=$CPP
     5910
     5911fi
     5912  CPP=$ac_cv_prog_CPP
     5913else
     5914  ac_cv_prog_CPP=$CPP
     5915fi
     5916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     5917$as_echo "$CPP" >&6; }
     5918ac_preproc_ok=false
     5919for ac_c_preproc_warn_flag in '' yes
     5920do
     5921  # Use a header file that comes with gcc, so configuring glibc
     5922  # with a fresh cross-compiler works.
     5923  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5924  # <limits.h> exists even on freestanding compilers.
     5925  # On the NeXT, cc -E runs the code through the compiler's parser,
     5926  # not just through cpp. "Syntax error" is here to catch this case.
     5927  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5928/* end confdefs.h.  */
     5929#ifdef __STDC__
     5930# include <limits.h>
     5931#else
     5932# include <assert.h>
     5933#endif
     5934                     Syntax error
     5935_ACEOF
     5936if ac_fn_c_try_cpp "$LINENO"; then :
     5937
     5938else
     5939  # Broken: fails on valid input.
     5940continue
     5941fi
     5942rm -f conftest.err conftest.i conftest.$ac_ext
     5943
     5944  # OK, works on sane cases.  Now check whether nonexistent headers
     5945  # can be detected and how.
     5946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5947/* end confdefs.h.  */
     5948#include <ac_nonexistent.h>
     5949_ACEOF
     5950if ac_fn_c_try_cpp "$LINENO"; then :
     5951  # Broken: success on invalid input.
     5952continue
     5953else
     5954  # Passes both tests.
     5955ac_preproc_ok=:
     5956break
     5957fi
     5958rm -f conftest.err conftest.i conftest.$ac_ext
     5959
     5960done
     5961# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5962rm -f conftest.i conftest.err conftest.$ac_ext
     5963if $ac_preproc_ok; then :
     5964
     5965else
     5966  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5967$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5968as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     5969See \`config.log' for more details" "$LINENO" 5; }
    84155970fi
    84165971
     
    84355990    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    84365991set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    84385993$as_echo_n "checking for $ac_word... " >&6; }
    8439 if test "${ac_cv_prog_CXX+set}" = set; then
     5994if ${ac_cv_prog_CXX+:} false; then :
    84405995  $as_echo_n "(cached) " >&6
    84415996else
     
    84486003  IFS=$as_save_IFS
    84496004  test -z "$as_dir" && as_dir=.
    8450   for ac_exec_ext in '' $ac_executable_extensions; do
    8451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6005    for ac_exec_ext in '' $ac_executable_extensions; do
     6006  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    84526007    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8453     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    84546009    break 2
    84556010  fi
    84566011done
    8457 done
     6012  done
    84586013IFS=$as_save_IFS
    84596014
     
    84626017CXX=$ac_cv_prog_CXX
    84636018if test -n "$CXX"; then
    8464   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     6019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    84656020$as_echo "$CXX" >&6; }
    84666021else
    8467   { $as_echo "$as_me:$LINENO: result: no" >&5
     6022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    84686023$as_echo "no" >&6; }
    84696024fi
     
    84796034  # Extract the first word of "$ac_prog", so it can be a program name with args.
    84806035set dummy $ac_prog; ac_word=$2
    8481 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    84826037$as_echo_n "checking for $ac_word... " >&6; }
    8483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     6038if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    84846039  $as_echo_n "(cached) " >&6
    84856040else
     
    84926047  IFS=$as_save_IFS
    84936048  test -z "$as_dir" && as_dir=.
    8494   for ac_exec_ext in '' $ac_executable_extensions; do
    8495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6049    for ac_exec_ext in '' $ac_executable_extensions; do
     6050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    84966051    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8497     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    84986053    break 2
    84996054  fi
    85006055done
    8501 done
     6056  done
    85026057IFS=$as_save_IFS
    85036058
     
    85066061ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    85076062if test -n "$ac_ct_CXX"; then
    8508   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     6063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    85096064$as_echo "$ac_ct_CXX" >&6; }
    85106065else
    8511   { $as_echo "$as_me:$LINENO: result: no" >&5
     6066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    85126067$as_echo "no" >&6; }
    85136068fi
     
    85226077    case $cross_compiling:$ac_tool_warned in
    85236078yes:)
    8524 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    8525 whose name does not start with the host triplet.  If you think this
    8526 configuration is useful to you, please write to autoconf@gnu.org." >&5
    8527 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    8528 whose name does not start with the host triplet.  If you think this
    8529 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     6079{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6080$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    85306081ac_tool_warned=yes ;;
    85316082esac
     
    85376088fi
    85386089# Provide some information about the compiler.
    8539 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     6090$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    85406091set X $ac_compile
    85416092ac_compiler=$2
    8542 { (ac_try="$ac_compiler --version >&5"
     6093for ac_option in --version -v -V -qversion; do
     6094  { { ac_try="$ac_compiler $ac_option >&5"
    85436095case "(($ac_try" in
    85446096  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    85456097  *) ac_try_echo=$ac_try;;
    85466098esac
    8547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8548 $as_echo "$ac_try_echo") >&5
    8549   (eval "$ac_compiler --version >&5") 2>&5
     6099eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6100$as_echo "$ac_try_echo"; } >&5
     6101  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    85506102  ac_status=$?
    8551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8552   (exit $ac_status); }
    8553 { (ac_try="$ac_compiler -v >&5"
    8554 case "(($ac_try" in
    8555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8556   *) ac_try_echo=$ac_try;;
    8557 esac
    8558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8559 $as_echo "$ac_try_echo") >&5
    8560   (eval "$ac_compiler -v >&5") 2>&5
    8561   ac_status=$?
    8562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8563   (exit $ac_status); }
    8564 { (ac_try="$ac_compiler -V >&5"
    8565 case "(($ac_try" in
    8566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8567   *) ac_try_echo=$ac_try;;
    8568 esac
    8569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8570 $as_echo "$ac_try_echo") >&5
    8571   (eval "$ac_compiler -V >&5") 2>&5
    8572   ac_status=$?
    8573   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8574   (exit $ac_status); }
    8575 
    8576 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     6103  if test -s conftest.err; then
     6104    sed '10a\
     6105... rest of stderr output deleted ...
     6106         10q' conftest.err >conftest.er1
     6107    cat conftest.er1 >&5
     6108  fi
     6109  rm -f conftest.er1 conftest.err
     6110  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6111  test $ac_status = 0; }
     6112done
     6113
     6114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    85776115$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8578 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     6116if ${ac_cv_cxx_compiler_gnu+:} false; then :
    85796117  $as_echo_n "(cached) " >&6
    85806118else
    8581   cat >conftest.$ac_ext <<_ACEOF
    8582 /* confdefs.h.  */
    8583 _ACEOF
    8584 cat confdefs.h >>conftest.$ac_ext
    8585 cat >>conftest.$ac_ext <<_ACEOF
     6119  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85866120/* end confdefs.h.  */
    85876121
     
    85976131}
    85986132_ACEOF
    8599 rm -f conftest.$ac_objext
    8600 if { (ac_try="$ac_compile"
    8601 case "(($ac_try" in
    8602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8603   *) ac_try_echo=$ac_try;;
    8604 esac
    8605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8606 $as_echo "$ac_try_echo") >&5
    8607   (eval "$ac_compile") 2>conftest.er1
    8608   ac_status=$?
    8609   grep -v '^ *+' conftest.er1 >conftest.err
    8610   rm -f conftest.er1
    8611   cat conftest.err >&5
    8612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8613   (exit $ac_status); } && {
    8614          test -z "$ac_cxx_werror_flag" ||
    8615          test ! -s conftest.err
    8616        } && test -s conftest.$ac_objext; then
     6133if ac_fn_cxx_try_compile "$LINENO"; then :
    86176134  ac_compiler_gnu=yes
    86186135else
    8619   $as_echo "$as_me: failed program was:" >&5
    8620 sed 's/^/| /' conftest.$ac_ext >&5
    8621 
    8622         ac_compiler_gnu=no
    8623 fi
    8624 
     6136  ac_compiler_gnu=no
     6137fi
    86256138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86266139ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    86276140
    86286141fi
    8629 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     6142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    86306143$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    86316144if test $ac_compiler_gnu = yes; then
     
    86366149ac_test_CXXFLAGS=${CXXFLAGS+set}
    86376150ac_save_CXXFLAGS=$CXXFLAGS
    8638 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     6151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    86396152$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8640 if test "${ac_cv_prog_cxx_g+set}" = set; then
     6153if ${ac_cv_prog_cxx_g+:} false; then :
    86416154  $as_echo_n "(cached) " >&6
    86426155else
     
    86456158   ac_cv_prog_cxx_g=no
    86466159   CXXFLAGS="-g"
    8647    cat >conftest.$ac_ext <<_ACEOF
    8648 /* confdefs.h.  */
    8649 _ACEOF
    8650 cat confdefs.h >>conftest.$ac_ext
    8651 cat >>conftest.$ac_ext <<_ACEOF
     6160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86526161/* end confdefs.h.  */
    86536162
     
    86606169}
    86616170_ACEOF
    8662 rm -f conftest.$ac_objext
    8663 if { (ac_try="$ac_compile"
    8664 case "(($ac_try" in
    8665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8666   *) ac_try_echo=$ac_try;;
    8667 esac
    8668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8669 $as_echo "$ac_try_echo") >&5
    8670   (eval "$ac_compile") 2>conftest.er1
    8671   ac_status=$?
    8672   grep -v '^ *+' conftest.er1 >conftest.err
    8673   rm -f conftest.er1
    8674   cat conftest.err >&5
    8675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8676   (exit $ac_status); } && {
    8677          test -z "$ac_cxx_werror_flag" ||
    8678          test ! -s conftest.err
    8679        } && test -s conftest.$ac_objext; then
     6171if ac_fn_cxx_try_compile "$LINENO"; then :
    86806172  ac_cv_prog_cxx_g=yes
    86816173else
    8682   $as_echo "$as_me: failed program was:" >&5
    8683 sed 's/^/| /' conftest.$ac_ext >&5
    8684 
    8685         CXXFLAGS=""
    8686       cat >conftest.$ac_ext <<_ACEOF
    8687 /* confdefs.h.  */
    8688 _ACEOF
    8689 cat confdefs.h >>conftest.$ac_ext
    8690 cat >>conftest.$ac_ext <<_ACEOF
     6174  CXXFLAGS=""
     6175      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86916176/* end confdefs.h.  */
    86926177
     
    86996184}
    87006185_ACEOF
    8701 rm -f conftest.$ac_objext
    8702 if { (ac_try="$ac_compile"
    8703 case "(($ac_try" in
    8704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8705   *) ac_try_echo=$ac_try;;
    8706 esac
    8707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8708 $as_echo "$ac_try_echo") >&5
    8709   (eval "$ac_compile") 2>conftest.er1
    8710   ac_status=$?
    8711   grep -v '^ *+' conftest.er1 >conftest.err
    8712   rm -f conftest.er1
    8713   cat conftest.err >&5
    8714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8715   (exit $ac_status); } && {
    8716          test -z "$ac_cxx_werror_flag" ||
    8717          test ! -s conftest.err
    8718        } && test -s conftest.$ac_objext; then
    8719   :
    8720 else
    8721   $as_echo "$as_me: failed program was:" >&5
    8722 sed 's/^/| /' conftest.$ac_ext >&5
    8723 
    8724         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     6186if ac_fn_cxx_try_compile "$LINENO"; then :
     6187
     6188else
     6189  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    87256190         CXXFLAGS="-g"
    8726          cat >conftest.$ac_ext <<_ACEOF
    8727 /* confdefs.h.  */
    8728 _ACEOF
    8729 cat confdefs.h >>conftest.$ac_ext
    8730 cat >>conftest.$ac_ext <<_ACEOF
     6191         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87316192/* end confdefs.h.  */
    87326193
     
    87396200}
    87406201_ACEOF
    8741 rm -f conftest.$ac_objext
    8742 if { (ac_try="$ac_compile"
    8743 case "(($ac_try" in
    8744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8745   *) ac_try_echo=$ac_try;;
    8746 esac
    8747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8748 $as_echo "$ac_try_echo") >&5
    8749   (eval "$ac_compile") 2>conftest.er1
    8750   ac_status=$?
    8751   grep -v '^ *+' conftest.er1 >conftest.err
    8752   rm -f conftest.er1
    8753   cat conftest.err >&5
    8754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8755   (exit $ac_status); } && {
    8756          test -z "$ac_cxx_werror_flag" ||
    8757          test ! -s conftest.err
    8758        } && test -s conftest.$ac_objext; then
     6202if ac_fn_cxx_try_compile "$LINENO"; then :
    87596203  ac_cv_prog_cxx_g=yes
    8760 else
    8761   $as_echo "$as_me: failed program was:" >&5
    8762 sed 's/^/| /' conftest.$ac_ext >&5
    8763 
    8764 
    8765 fi
    8766 
     6204fi
    87676205rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87686206fi
    8769 
    87706207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87716208fi
    8772 
    87736209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87746210   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    87756211fi
    8776 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     6212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    87776213$as_echo "$ac_cv_prog_cxx_g" >&6; }
    87786214if test "$ac_test_CXXFLAGS" = set; then
     
    88216257                    -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \
    88226258                    ; then
    8823                     { { $as_echo "$as_me:$LINENO: error: could not find source file '$i'" >&5
    8824 $as_echo "$as_me: error: could not find source file '$i'" >&2;}
    8825    { (exit 1); exit 1; }; }
     6259                    as_fn_error $? "could not find source file '$i'" "$LINENO" 5
    88266260                fi
    88276261                PKG_SOURCES="$PKG_SOURCES $i"
     
    88466280        # check for existence, be strict because it is installed
    88476281        if test ! -f "${srcdir}/$i" ; then
    8848             { { $as_echo "$as_me:$LINENO: error: could not find header file '${srcdir}/$i'" >&5
    8849 $as_echo "$as_me: error: could not find header file '${srcdir}/$i'" >&2;}
    8850    { (exit 1); exit 1; }; }
     6282            as_fn_error $? "could not find header file '${srcdir}/$i'" "$LINENO" 5
    88516283        fi
    88526284        PKG_HEADERS="$PKG_HEADERS $i"
     
    88726304            -a ! -f "${srcdir}/win/$i" -a ! -f "${srcdir}/unix/$i" \
    88736305            ; then
    8874             { { $as_echo "$as_me:$LINENO: error: could not find stub source file '$i'" >&5
    8875 $as_echo "$as_me: error: could not find stub source file '$i'" >&2;}
    8876    { (exit 1); exit 1; }; }
     6306            as_fn_error $? "could not find stub source file '$i'" "$LINENO" 5
    88776307        fi
    88786308        PKG_STUB_SOURCES="$PKG_STUB_SOURCES $i"
     
    88986328        # check for existence, be strict because it is installed
    88996329        if test ! -f "${srcdir}/$i" ; then
    8900             { { $as_echo "$as_me:$LINENO: error: could not find tcl source file '${srcdir}/$i'" >&5
    8901 $as_echo "$as_me: error: could not find tcl source file '${srcdir}/$i'" >&2;}
    8902    { (exit 1); exit 1; }; }
     6330            as_fn_error $? "could not find tcl source file '${srcdir}/$i'" "$LINENO" 5
    89036331        fi
    89046332        PKG_TCL_SOURCES="$PKG_TCL_SOURCES $i"
     
    89346362if test "${TEA_PLATFORM}" = "windows" ; then
    89356363
    8936 cat >>confdefs.h <<\_ACEOF
    8937 #define BUILD_rappture 1
    8938 _ACEOF
     6364$as_echo "#define BUILD_rappture 1" >>confdefs.h
    89396365
    89406366    CLEANFILES="*.lib *.dll *.exp *.ilk *.pdb vc*.pch"
     
    89926418
    89936419
    8994     { $as_echo "$as_me:$LINENO: checking for Tcl public headers" >&5
     6420    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl public headers" >&5
    89956421$as_echo_n "checking for Tcl public headers... " >&6; }
    89966422
    89976423
    89986424# Check whether --with-tclinclude was given.
    8999 if test "${with_tclinclude+set}" = set; then
     6425if test "${with_tclinclude+set}" = set; then :
    90006426  withval=$with_tclinclude; with_tclinclude=${withval}
    90016427fi
    90026428
    90036429
    9004     if test "${ac_cv_c_tclh+set}" = set; then
     6430    if ${ac_cv_c_tclh+:} false; then :
    90056431  $as_echo_n "(cached) " >&6
    90066432else
     
    90126438                ac_cv_c_tclh=${with_tclinclude}
    90136439            else
    9014                 { { $as_echo "$as_me:$LINENO: error: ${with_tclinclude} directory does not contain tcl.h" >&5
    9015 $as_echo "$as_me: error: ${with_tclinclude} directory does not contain tcl.h" >&2;}
    9016    { (exit 1); exit 1; }; }
     6440                as_fn_error $? "${with_tclinclude} directory does not contain tcl.h" "$LINENO" 5
    90176441            fi
    90186442        else
     
    90626486
    90636487    if test x"${ac_cv_c_tclh}" = x ; then
    9064         { { $as_echo "$as_me:$LINENO: error: tcl.h not found.  Please specify its location with --with-tclinclude" >&5
    9065 $as_echo "$as_me: error: tcl.h not found.  Please specify its location with --with-tclinclude" >&2;}
    9066    { (exit 1); exit 1; }; }
     6488        as_fn_error $? "tcl.h not found.  Please specify its location with --with-tclinclude" "$LINENO" 5
    90676489    else
    9068         { $as_echo "$as_me:$LINENO: result: ${ac_cv_c_tclh}" >&5
     6490        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_c_tclh}" >&5
    90696491$as_echo "${ac_cv_c_tclh}" >&6; }
    90706492    fi
     
    90916513
    90926514    # Check whether --enable-threads was given.
    9093 if test "${enable_threads+set}" = set; then
     6515if test "${enable_threads+set}" = set; then :
    90946516  enableval=$enable_threads; tcl_ok=$enableval
    90956517else
     
    91146536            # allocator that significantly reduces lock contention
    91156537
    9116 cat >>confdefs.h <<\_ACEOF
    9117 #define USE_THREAD_ALLOC 1
    9118 _ACEOF
    9119 
    9120 
    9121 cat >>confdefs.h <<\_ACEOF
    9122 #define _REENTRANT 1
    9123 _ACEOF
     6538$as_echo "#define USE_THREAD_ALLOC 1" >>confdefs.h
     6539
     6540
     6541$as_echo "#define _REENTRANT 1" >>confdefs.h
    91246542
    91256543            if test "`uname -s`" = "SunOS" ; then
    91266544
    9127 cat >>confdefs.h <<\_ACEOF
    9128 #define _POSIX_PTHREAD_SEMANTICS 1
    9129 _ACEOF
     6545$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    91306546
    91316547            fi
    91326548
    9133 cat >>confdefs.h <<\_ACEOF
    9134 #define _THREAD_SAFE 1
    9135 _ACEOF
    9136 
    9137             { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthread" >&5
     6549$as_echo "#define _THREAD_SAFE 1" >>confdefs.h
     6550
     6551            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5
    91386552$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; }
    9139 if test "${ac_cv_lib_pthread_pthread_mutex_init+set}" = set; then
     6553if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then :
    91406554  $as_echo_n "(cached) " >&6
    91416555else
    91426556  ac_check_lib_save_LIBS=$LIBS
    91436557LIBS="-lpthread  $LIBS"
    9144 cat >conftest.$ac_ext <<_ACEOF
    9145 /* confdefs.h.  */
    9146 _ACEOF
    9147 cat confdefs.h >>conftest.$ac_ext
    9148 cat >>conftest.$ac_ext <<_ACEOF
     6558cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91496559/* end confdefs.h.  */
    91506560
     
    91646574}
    91656575_ACEOF
    9166 rm -f conftest.$ac_objext conftest$ac_exeext
    9167 if { (ac_try="$ac_link"
    9168 case "(($ac_try" in
    9169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9170   *) ac_try_echo=$ac_try;;
    9171 esac
    9172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9173 $as_echo "$ac_try_echo") >&5
    9174   (eval "$ac_link") 2>conftest.er1
    9175   ac_status=$?
    9176   grep -v '^ *+' conftest.er1 >conftest.err
    9177   rm -f conftest.er1
    9178   cat conftest.err >&5
    9179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9180   (exit $ac_status); } && {
    9181          test -z "$ac_c_werror_flag" ||
    9182          test ! -s conftest.err
    9183        } && test -s conftest$ac_exeext && {
    9184          test "$cross_compiling" = yes ||
    9185          $as_test_x conftest$ac_exeext
    9186        }; then
     6576if ac_fn_c_try_link "$LINENO"; then :
    91876577  ac_cv_lib_pthread_pthread_mutex_init=yes
    91886578else
    9189   $as_echo "$as_me: failed program was:" >&5
    9190 sed 's/^/| /' conftest.$ac_ext >&5
    9191 
    9192         ac_cv_lib_pthread_pthread_mutex_init=no
    9193 fi
    9194 
    9195 rm -rf conftest.dSYM
    9196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9197       conftest$ac_exeext conftest.$ac_ext
     6579  ac_cv_lib_pthread_pthread_mutex_init=no
     6580fi
     6581rm -f core conftest.err conftest.$ac_objext \
     6582    conftest$ac_exeext conftest.$ac_ext
    91986583LIBS=$ac_check_lib_save_LIBS
    91996584fi
    9200 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
     6585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5
    92016586$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; }
    9202 if test $ac_cv_lib_pthread_pthread_mutex_init = yes; then
     6587if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then :
    92036588  tcl_ok=yes
    92046589else
     
    92126597                # pthread.h, but that will work with libpthread really doesn't
    92136598                # exist, like AIX 4.2.  [Bug: 4359]
    9214                 { $as_echo "$as_me:$LINENO: checking for __pthread_mutex_init in -lpthread" >&5
     6599                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_mutex_init in -lpthread" >&5
    92156600$as_echo_n "checking for __pthread_mutex_init in -lpthread... " >&6; }
    9216 if test "${ac_cv_lib_pthread___pthread_mutex_init+set}" = set; then
     6601if ${ac_cv_lib_pthread___pthread_mutex_init+:} false; then :
    92176602  $as_echo_n "(cached) " >&6
    92186603else
    92196604  ac_check_lib_save_LIBS=$LIBS
    92206605LIBS="-lpthread  $LIBS"
    9221 cat >conftest.$ac_ext <<_ACEOF
    9222 /* confdefs.h.  */
    9223 _ACEOF
    9224 cat confdefs.h >>conftest.$ac_ext
    9225 cat >>conftest.$ac_ext <<_ACEOF
     6606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92266607/* end confdefs.h.  */
    92276608
     
    92416622}
    92426623_ACEOF
    9243 rm -f conftest.$ac_objext conftest$ac_exeext
    9244 if { (ac_try="$ac_link"
    9245 case "(($ac_try" in
    9246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9247   *) ac_try_echo=$ac_try;;
    9248 esac
    9249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9250 $as_echo "$ac_try_echo") >&5
    9251   (eval "$ac_link") 2>conftest.er1
    9252   ac_status=$?
    9253   grep -v '^ *+' conftest.er1 >conftest.err
    9254   rm -f conftest.er1
    9255   cat conftest.err >&5
    9256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9257   (exit $ac_status); } && {
    9258          test -z "$ac_c_werror_flag" ||
    9259          test ! -s conftest.err
    9260        } && test -s conftest$ac_exeext && {
    9261          test "$cross_compiling" = yes ||
    9262          $as_test_x conftest$ac_exeext
    9263        }; then
     6624if ac_fn_c_try_link "$LINENO"; then :
    92646625  ac_cv_lib_pthread___pthread_mutex_init=yes
    92656626else
    9266   $as_echo "$as_me: failed program was:" >&5
    9267 sed 's/^/| /' conftest.$ac_ext >&5
    9268 
    9269         ac_cv_lib_pthread___pthread_mutex_init=no
    9270 fi
    9271 
    9272 rm -rf conftest.dSYM
    9273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9274       conftest$ac_exeext conftest.$ac_ext
     6627  ac_cv_lib_pthread___pthread_mutex_init=no
     6628fi
     6629rm -f core conftest.err conftest.$ac_objext \
     6630    conftest$ac_exeext conftest.$ac_ext
    92756631LIBS=$ac_check_lib_save_LIBS
    92766632fi
    9277 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
     6633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_mutex_init" >&5
    92786634$as_echo "$ac_cv_lib_pthread___pthread_mutex_init" >&6; }
    9279 if test $ac_cv_lib_pthread___pthread_mutex_init = yes; then
     6635if test "x$ac_cv_lib_pthread___pthread_mutex_init" = xyes; then :
    92806636  tcl_ok=yes
    92816637else
     
    92896645                THREADS_LIBS=" -lpthread"
    92906646            else
    9291                 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lpthreads" >&5
     6647                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthreads" >&5
    92926648$as_echo_n "checking for pthread_mutex_init in -lpthreads... " >&6; }
    9293 if test "${ac_cv_lib_pthreads_pthread_mutex_init+set}" = set; then
     6649if ${ac_cv_lib_pthreads_pthread_mutex_init+:} false; then :
    92946650  $as_echo_n "(cached) " >&6
    92956651else
    92966652  ac_check_lib_save_LIBS=$LIBS
    92976653LIBS="-lpthreads  $LIBS"
    9298 cat >conftest.$ac_ext <<_ACEOF
    9299 /* confdefs.h.  */
    9300 _ACEOF
    9301 cat confdefs.h >>conftest.$ac_ext
    9302 cat >>conftest.$ac_ext <<_ACEOF
     6654cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93036655/* end confdefs.h.  */
    93046656
     
    93186670}
    93196671_ACEOF
    9320 rm -f conftest.$ac_objext conftest$ac_exeext
    9321 if { (ac_try="$ac_link"
    9322 case "(($ac_try" in
    9323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9324   *) ac_try_echo=$ac_try;;
    9325 esac
    9326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9327 $as_echo "$ac_try_echo") >&5
    9328   (eval "$ac_link") 2>conftest.er1
    9329   ac_status=$?
    9330   grep -v '^ *+' conftest.er1 >conftest.err
    9331   rm -f conftest.er1
    9332   cat conftest.err >&5
    9333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9334   (exit $ac_status); } && {
    9335          test -z "$ac_c_werror_flag" ||
    9336          test ! -s conftest.err
    9337        } && test -s conftest$ac_exeext && {
    9338          test "$cross_compiling" = yes ||
    9339          $as_test_x conftest$ac_exeext
    9340        }; then
     6672if ac_fn_c_try_link "$LINENO"; then :
    93416673  ac_cv_lib_pthreads_pthread_mutex_init=yes
    93426674else
    9343   $as_echo "$as_me: failed program was:" >&5
    9344 sed 's/^/| /' conftest.$ac_ext >&5
    9345 
    9346         ac_cv_lib_pthreads_pthread_mutex_init=no
    9347 fi
    9348 
    9349 rm -rf conftest.dSYM
    9350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9351       conftest$ac_exeext conftest.$ac_ext
     6675  ac_cv_lib_pthreads_pthread_mutex_init=no
     6676fi
     6677rm -f core conftest.err conftest.$ac_objext \
     6678    conftest$ac_exeext conftest.$ac_ext
    93526679LIBS=$ac_check_lib_save_LIBS
    93536680fi
    9354 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
     6681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_mutex_init" >&5
    93556682$as_echo "$ac_cv_lib_pthreads_pthread_mutex_init" >&6; }
    9356 if test $ac_cv_lib_pthreads_pthread_mutex_init = yes; then
     6683if test "x$ac_cv_lib_pthreads_pthread_mutex_init" = xyes; then :
    93576684  tcl_ok=yes
    93586685else
     
    93646691                    THREADS_LIBS=" -lpthreads"
    93656692                else
    9366                     { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc" >&5
     6693                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
    93676694$as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
    9368 if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then
     6695if ${ac_cv_lib_c_pthread_mutex_init+:} false; then :
    93696696  $as_echo_n "(cached) " >&6
    93706697else
    93716698  ac_check_lib_save_LIBS=$LIBS
    93726699LIBS="-lc  $LIBS"
    9373 cat >conftest.$ac_ext <<_ACEOF
    9374 /* confdefs.h.  */
    9375 _ACEOF
    9376 cat confdefs.h >>conftest.$ac_ext
    9377 cat >>conftest.$ac_ext <<_ACEOF
     6700cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93786701/* end confdefs.h.  */
    93796702
     
    93936716}
    93946717_ACEOF
    9395 rm -f conftest.$ac_objext conftest$ac_exeext
    9396 if { (ac_try="$ac_link"
    9397 case "(($ac_try" in
    9398   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9399   *) ac_try_echo=$ac_try;;
    9400 esac
    9401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9402 $as_echo "$ac_try_echo") >&5
    9403   (eval "$ac_link") 2>conftest.er1
    9404   ac_status=$?
    9405   grep -v '^ *+' conftest.er1 >conftest.err
    9406   rm -f conftest.er1
    9407   cat conftest.err >&5
    9408   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9409   (exit $ac_status); } && {
    9410          test -z "$ac_c_werror_flag" ||
    9411          test ! -s conftest.err
    9412        } && test -s conftest$ac_exeext && {
    9413          test "$cross_compiling" = yes ||
    9414          $as_test_x conftest$ac_exeext
    9415        }; then
     6718if ac_fn_c_try_link "$LINENO"; then :
    94166719  ac_cv_lib_c_pthread_mutex_init=yes
    94176720else
    9418   $as_echo "$as_me: failed program was:" >&5
    9419 sed 's/^/| /' conftest.$ac_ext >&5
    9420 
    9421         ac_cv_lib_c_pthread_mutex_init=no
    9422 fi
    9423 
    9424 rm -rf conftest.dSYM
    9425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9426       conftest$ac_exeext conftest.$ac_ext
     6721  ac_cv_lib_c_pthread_mutex_init=no
     6722fi
     6723rm -f core conftest.err conftest.$ac_objext \
     6724    conftest$ac_exeext conftest.$ac_ext
    94276725LIBS=$ac_check_lib_save_LIBS
    94286726fi
    9429 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_mutex_init" >&5
     6727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
    94306728$as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
    9431 if test $ac_cv_lib_c_pthread_mutex_init = yes; then
     6729if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then :
    94326730  tcl_ok=yes
    94336731else
     
    94366734
    94376735                    if test "$tcl_ok" = "no"; then
    9438                         { $as_echo "$as_me:$LINENO: checking for pthread_mutex_init in -lc_r" >&5
     6736                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc_r" >&5
    94396737$as_echo_n "checking for pthread_mutex_init in -lc_r... " >&6; }
    9440 if test "${ac_cv_lib_c_r_pthread_mutex_init+set}" = set; then
     6738if ${ac_cv_lib_c_r_pthread_mutex_init+:} false; then :
    94416739  $as_echo_n "(cached) " >&6
    94426740else
    94436741  ac_check_lib_save_LIBS=$LIBS
    94446742LIBS="-lc_r  $LIBS"
    9445 cat >conftest.$ac_ext <<_ACEOF
    9446 /* confdefs.h.  */
    9447 _ACEOF
    9448 cat confdefs.h >>conftest.$ac_ext
    9449 cat >>conftest.$ac_ext <<_ACEOF
     6743cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    94506744/* end confdefs.h.  */
    94516745
     
    94656759}
    94666760_ACEOF
    9467 rm -f conftest.$ac_objext conftest$ac_exeext
    9468 if { (ac_try="$ac_link"
    9469 case "(($ac_try" in
    9470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9471   *) ac_try_echo=$ac_try;;
    9472 esac
    9473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9474 $as_echo "$ac_try_echo") >&5
    9475   (eval "$ac_link") 2>conftest.er1
    9476   ac_status=$?
    9477   grep -v '^ *+' conftest.er1 >conftest.err
    9478   rm -f conftest.er1
    9479   cat conftest.err >&5
    9480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9481   (exit $ac_status); } && {
    9482          test -z "$ac_c_werror_flag" ||
    9483          test ! -s conftest.err
    9484        } && test -s conftest$ac_exeext && {
    9485          test "$cross_compiling" = yes ||
    9486          $as_test_x conftest$ac_exeext
    9487        }; then
     6761if ac_fn_c_try_link "$LINENO"; then :
    94886762  ac_cv_lib_c_r_pthread_mutex_init=yes
    94896763else
    9490   $as_echo "$as_me: failed program was:" >&5
    9491 sed 's/^/| /' conftest.$ac_ext >&5
    9492 
    9493         ac_cv_lib_c_r_pthread_mutex_init=no
    9494 fi
    9495 
    9496 rm -rf conftest.dSYM
    9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9498       conftest$ac_exeext conftest.$ac_ext
     6764  ac_cv_lib_c_r_pthread_mutex_init=no
     6765fi
     6766rm -f core conftest.err conftest.$ac_objext \
     6767    conftest$ac_exeext conftest.$ac_ext
    94996768LIBS=$ac_check_lib_save_LIBS
    95006769fi
    9501 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
     6770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_mutex_init" >&5
    95026771$as_echo "$ac_cv_lib_c_r_pthread_mutex_init" >&6; }
    9503 if test $ac_cv_lib_c_r_pthread_mutex_init = yes; then
     6772if test "x$ac_cv_lib_c_r_pthread_mutex_init" = xyes; then :
    95046773  tcl_ok=yes
    95056774else
     
    95126781                        else
    95136782                            TCL_THREADS=0
    9514                             { $as_echo "$as_me:$LINENO: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&5
     6783                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&5
    95156784$as_echo "$as_me: WARNING: Do not know how to find pthread lib on your system - thread support disabled" >&2;}
    95166785                        fi
     
    95236792    fi
    95246793    # Do checking message here to not mess up interleaved configure output
    9525     { $as_echo "$as_me:$LINENO: checking for building with threads" >&5
     6794    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for building with threads" >&5
    95266795$as_echo_n "checking for building with threads... " >&6; }
    95276796    if test "${TCL_THREADS}" = 1; then
    95286797
    9529 cat >>confdefs.h <<\_ACEOF
    9530 #define TCL_THREADS 1
    9531 _ACEOF
    9532 
    9533         { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
     6798$as_echo "#define TCL_THREADS 1" >>confdefs.h
     6799
     6800        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5
    95346801$as_echo "yes (default)" >&6; }
    95356802    else
    9536         { $as_echo "$as_me:$LINENO: result: no" >&5
     6803        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    95376804$as_echo "no" >&6; }
    95386805    fi
     
    95426809        *THREADS=1*)
    95436810            if test "${TCL_THREADS}" = "0"; then
    9544                 { $as_echo "$as_me:$LINENO: WARNING:
     6811                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
    95456812    Building ${PACKAGE_NAME} without threads enabled, but building against Tcl
    95466813    that IS thread-enabled.  It is recommended to use --enable-threads." >&5
     
    95526819        *)
    95536820            if test "${TCL_THREADS}" = "1"; then
    9554                 { $as_echo "$as_me:$LINENO: WARNING:
     6821                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
    95556822    --enable-threads requested, but building against a Tcl that is NOT
    95566823    thread-enabled.  This is an OK configuration that will also run in
     
    95726839
    95736840
    9574     { $as_echo "$as_me:$LINENO: checking how to build libraries" >&5
     6841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
    95756842$as_echo_n "checking how to build libraries... " >&6; }
    95766843    # Check whether --enable-shared was given.
    9577 if test "${enable_shared+set}" = set; then
     6844if test "${enable_shared+set}" = set; then :
    95786845  enableval=$enable_shared; tcl_ok=$enableval
    95796846else
     
    95906857
    95916858    if test "$tcl_ok" = "yes" ; then
    9592         { $as_echo "$as_me:$LINENO: result: shared" >&5
     6859        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
    95936860$as_echo "shared" >&6; }
    95946861        SHARED_BUILD=1
    95956862    else
    9596         { $as_echo "$as_me:$LINENO: result: static" >&5
     6863        { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
    95976864$as_echo "static" >&6; }
    95986865        SHARED_BUILD=0
    95996866
    9600 cat >>confdefs.h <<\_ACEOF
    9601 #define STATIC_BUILD 1
    9602 _ACEOF
     6867$as_echo "#define STATIC_BUILD 1" >>confdefs.h
    96036868
    96046869    fi
     
    96176882    # Step 0.a: Enable 64 bit support?
    96186883
    9619     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     6884    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    96206885$as_echo_n "checking if 64bit support is requested... " >&6; }
    96216886    # Check whether --enable-64bit was given.
    9622 if test "${enable_64bit+set}" = set; then
     6887if test "${enable_64bit+set}" = set; then :
    96236888  enableval=$enable_64bit; do64bit=$enableval
    96246889else
     
    96266891fi
    96276892
    9628     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     6893    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    96296894$as_echo "$do64bit" >&6; }
    96306895
    96316896    # Step 0.b: Enable Solaris 64 bit VIS support?
    96326897
    9633     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     6898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    96346899$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    96356900    # Check whether --enable-64bit-vis was given.
    9636 if test "${enable_64bit_vis+set}" = set; then
     6901if test "${enable_64bit_vis+set}" = set; then :
    96376902  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    96386903else
     
    96406905fi
    96416906
    9642     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     6907    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    96436908$as_echo "$do64bitVIS" >&6; }
    96446909
     
    96516916
    96526917    if test "${TEA_PLATFORM}" = "windows" ; then
    9653         { $as_echo "$as_me:$LINENO: checking if Windows/CE build is requested" >&5
     6918        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Windows/CE build is requested" >&5
    96546919$as_echo_n "checking if Windows/CE build is requested... " >&6; }
    96556920        # Check whether --enable-wince was given.
    9656 if test "${enable_wince+set}" = set; then
     6921if test "${enable_wince+set}" = set; then :
    96576922  enableval=$enable_wince; doWince=$enableval
    96586923else
     
    96606925fi
    96616926
    9662         { $as_echo "$as_me:$LINENO: result: $doWince" >&5
     6927        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doWince" >&5
    96636928$as_echo "$doWince" >&6; }
    96646929    fi
     
    96686933
    96696934
    9670     { $as_echo "$as_me:$LINENO: checking system version" >&5
     6935    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    96716936$as_echo_n "checking system version... " >&6; }
    9672 if test "${tcl_cv_sys_version+set}" = set; then
     6937if ${tcl_cv_sys_version+:} false; then :
    96736938  $as_echo_n "(cached) " >&6
    96746939else
     
    96816946            tcl_cv_sys_version=`uname -s`-`uname -r`
    96826947            if test "$?" -ne 0 ; then
    9683                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     6948                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    96846949$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    96856950                tcl_cv_sys_version=unknown
     
    96986963
    96996964fi
    9700 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     6965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    97016966$as_echo "$tcl_cv_sys_version" >&6; }
    97026967    system=$tcl_cv_sys_version
     
    97066971    # Linux can use either -ldl or -ldld for dynamic loading.
    97076972
    9708     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     6973    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    97096974$as_echo_n "checking for dlopen in -ldl... " >&6; }
    9710 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     6975if ${ac_cv_lib_dl_dlopen+:} false; then :
    97116976  $as_echo_n "(cached) " >&6
    97126977else
    97136978  ac_check_lib_save_LIBS=$LIBS
    97146979LIBS="-ldl  $LIBS"
    9715 cat >conftest.$ac_ext <<_ACEOF
    9716 /* confdefs.h.  */
    9717 _ACEOF
    9718 cat confdefs.h >>conftest.$ac_ext
    9719 cat >>conftest.$ac_ext <<_ACEOF
     6980cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    97206981/* end confdefs.h.  */
    97216982
     
    97356996}
    97366997_ACEOF
    9737 rm -f conftest.$ac_objext conftest$ac_exeext
    9738 if { (ac_try="$ac_link"
    9739 case "(($ac_try" in
    9740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9741   *) ac_try_echo=$ac_try;;
    9742 esac
    9743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9744 $as_echo "$ac_try_echo") >&5
    9745   (eval "$ac_link") 2>conftest.er1
    9746   ac_status=$?
    9747   grep -v '^ *+' conftest.er1 >conftest.err
    9748   rm -f conftest.er1
    9749   cat conftest.err >&5
    9750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9751   (exit $ac_status); } && {
    9752          test -z "$ac_c_werror_flag" ||
    9753          test ! -s conftest.err
    9754        } && test -s conftest$ac_exeext && {
    9755          test "$cross_compiling" = yes ||
    9756          $as_test_x conftest$ac_exeext
    9757        }; then
     6998if ac_fn_c_try_link "$LINENO"; then :
    97586999  ac_cv_lib_dl_dlopen=yes
    97597000else
    9760   $as_echo "$as_me: failed program was:" >&5
    9761 sed 's/^/| /' conftest.$ac_ext >&5
    9762 
    9763         ac_cv_lib_dl_dlopen=no
    9764 fi
    9765 
    9766 rm -rf conftest.dSYM
    9767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9768       conftest$ac_exeext conftest.$ac_ext
     7001  ac_cv_lib_dl_dlopen=no
     7002fi
     7003rm -f core conftest.err conftest.$ac_objext \
     7004    conftest$ac_exeext conftest.$ac_ext
    97697005LIBS=$ac_check_lib_save_LIBS
    97707006fi
    9771 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     7007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    97727008$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    9773 if test $ac_cv_lib_dl_dlopen = yes; then
     7009if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    97747010  have_dl=yes
    97757011else
     
    98107046    # Extract the first word of "ar", so it can be a program name with args.
    98117047set dummy ar; ac_word=$2
    9812 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    98137049$as_echo_n "checking for $ac_word... " >&6; }
    9814 if test "${ac_cv_prog_AR+set}" = set; then
     7050if ${ac_cv_prog_AR+:} false; then :
    98157051  $as_echo_n "(cached) " >&6
    98167052else
     
    98237059  IFS=$as_save_IFS
    98247060  test -z "$as_dir" && as_dir=.
    9825   for ac_exec_ext in '' $ac_executable_extensions; do
    9826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7061    for ac_exec_ext in '' $ac_executable_extensions; do
     7062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    98277063    ac_cv_prog_AR="ar"
    9828     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    98297065    break 2
    98307066  fi
    98317067done
    9832 done
     7068  done
    98337069IFS=$as_save_IFS
    98347070
     
    98377073AR=$ac_cv_prog_AR
    98387074if test -n "$AR"; then
    9839   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     7075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    98407076$as_echo "$AR" >&6; }
    98417077else
    9842   { $as_echo "$as_me:$LINENO: result: no" >&5
     7078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    98437079$as_echo "no" >&6; }
    98447080fi
     
    98727108                esac
    98737109                if test ! -d "${PATH64}" ; then
    9874                     { $as_echo "$as_me:$LINENO: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&5
     7110                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&5
    98757111$as_echo "$as_me: WARNING: Could not find 64-bit $MACHINE SDK to enable 64bit mode" >&2;}
    9876                     { $as_echo "$as_me:$LINENO: WARNING: Ensure latest Platform SDK is installed" >&5
     7112                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ensure latest Platform SDK is installed" >&5
    98777113$as_echo "$as_me: WARNING: Ensure latest Platform SDK is installed" >&2;}
    98787114                    do64bit="no"
    98797115                else
    9880                     { $as_echo "$as_me:$LINENO: result:    Using 64-bit $MACHINE mode" >&5
     7116                    { $as_echo "$as_me:${as_lineno-$LINENO}: result:    Using 64-bit $MACHINE mode" >&5
    98817117$as_echo "   Using 64-bit $MACHINE mode" >&6; }
    98827118                    do64bit_ok="yes"
     
    98867122            if test "$doWince" != "no" ; then
    98877123                if test "$do64bit" != "no" ; then
    9888                     { { $as_echo "$as_me:$LINENO: error: Windows/CE and 64-bit builds incompatible" >&5
    9889 $as_echo "$as_me: error: Windows/CE and 64-bit builds incompatible" >&2;}
    9890    { (exit 1); exit 1; }; }
     7124                    as_fn_error $? "Windows/CE and 64-bit builds incompatible" "$LINENO" 5
    98917125                fi
    98927126                if test "$GCC" = "yes" ; then
    9893                     { { $as_echo "$as_me:$LINENO: error: Windows/CE and GCC builds incompatible" >&5
    9894 $as_echo "$as_me: error: Windows/CE and GCC builds incompatible" >&2;}
    9895    { (exit 1); exit 1; }; }
     7127                    as_fn_error $? "Windows/CE and GCC builds incompatible" "$LINENO" 5
    98967128                fi
    98977129
     
    99047136
    99057137# Check whether --with-celib was given.
    9906 if test "${with_celib+set}" = set; then
     7138if test "${with_celib+set}" = set; then :
    99077139  withval=$with_celib; with_celibconfig=${withval}
    99087140fi
    99097141
    9910         { $as_echo "$as_me:$LINENO: checking for Windows/CE celib directory" >&5
     7142        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows/CE celib directory" >&5
    99117143$as_echo_n "checking for Windows/CE celib directory... " >&6; }
    9912         if test "${ac_cv_c_celibconfig+set}" = set; then
     7144        if ${ac_cv_c_celibconfig+:} false; then :
    99137145  $as_echo_n "(cached) " >&6
    99147146else
     
    99197151                    ac_cv_c_celibconfig=`(cd ${with_celibconfig}; pwd)`
    99207152                else
    9921                     { { $as_echo "$as_me:$LINENO: error: ${with_celibconfig} directory doesn't contain inc directory" >&5
    9922 $as_echo "$as_me: error: ${with_celibconfig} directory doesn't contain inc directory" >&2;}
    9923    { (exit 1); exit 1; }; }
     7153                    as_fn_error $? "${with_celibconfig} directory doesn't contain inc directory" "$LINENO" 5
    99247154                fi
    99257155            fi
     
    99477177
    99487178        if test x"${ac_cv_c_celibconfig}" = x ; then
    9949             { { $as_echo "$as_me:$LINENO: error: Cannot find celib support library directory" >&5
    9950 $as_echo "$as_me: error: Cannot find celib support library directory" >&2;}
    9951    { (exit 1); exit 1; }; }
     7179            as_fn_error $? "Cannot find celib support library directory" "$LINENO" 5
    99527180        else
    99537181            no_celib=
    99547182            CELIB_DIR=${ac_cv_c_celibconfig}
    99557183            CELIB_DIR=`echo "$CELIB_DIR" | sed -e 's!\\\!/!g'`
    9956             { $as_echo "$as_me:$LINENO: result: found $CELIB_DIR" >&5
     7184            { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $CELIB_DIR" >&5
    99577185$as_echo "found $CELIB_DIR" >&6; }
    99587186        fi
     
    99977225                if test ! -d "${SDKROOT}/${OSVERSION}/${PLATFORM}/Lib/${TARGETCPU}" \
    99987226                    -o ! -d "${WCEROOT}/EVC/${OSVERSION}/bin"; then
    9999                     { { $as_echo "$as_me:$LINENO: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&5
    10000 $as_echo "$as_me: error: could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" >&2;}
    10001    { (exit 1); exit 1; }; }
     7227                    as_fn_error $? "could not find PocketPC SDK or target compiler to enable WinCE mode $CEVERSION,$TARGETCPU,$ARCH,$PLATFORM" "$LINENO" 5
    100027228                    doWince="no"
    100037229                else
     
    101367362                        ;;
    101377363                esac
    10138                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     7364                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    101397365$as_echo "Using $CC for compiling with threads" >&6; }
    101407366            fi
     
    101507376            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    101517377                if test "$GCC" = "yes" ; then
    10152                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     7378                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    101537379$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    101547380                else
     
    102107436            # known GMT value.
    102117437
    10212             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     7438            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    102137439$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    10214 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     7440if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    102157441  $as_echo_n "(cached) " >&6
    102167442else
    102177443  ac_check_lib_save_LIBS=$LIBS
    102187444LIBS="-lbsd  $LIBS"
    10219 cat >conftest.$ac_ext <<_ACEOF
    10220 /* confdefs.h.  */
    10221 _ACEOF
    10222 cat confdefs.h >>conftest.$ac_ext
    10223 cat >>conftest.$ac_ext <<_ACEOF
     7445cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    102247446/* end confdefs.h.  */
    102257447
     
    102397461}
    102407462_ACEOF
    10241 rm -f conftest.$ac_objext conftest$ac_exeext
    10242 if { (ac_try="$ac_link"
    10243 case "(($ac_try" in
    10244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10245   *) ac_try_echo=$ac_try;;
    10246 esac
    10247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10248 $as_echo "$ac_try_echo") >&5
    10249   (eval "$ac_link") 2>conftest.er1
    10250   ac_status=$?
    10251   grep -v '^ *+' conftest.er1 >conftest.err
    10252   rm -f conftest.er1
    10253   cat conftest.err >&5
    10254   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10255   (exit $ac_status); } && {
    10256          test -z "$ac_c_werror_flag" ||
    10257          test ! -s conftest.err
    10258        } && test -s conftest$ac_exeext && {
    10259          test "$cross_compiling" = yes ||
    10260          $as_test_x conftest$ac_exeext
    10261        }; then
     7463if ac_fn_c_try_link "$LINENO"; then :
    102627464  ac_cv_lib_bsd_gettimeofday=yes
    102637465else
    10264   $as_echo "$as_me: failed program was:" >&5
    10265 sed 's/^/| /' conftest.$ac_ext >&5
    10266 
    10267         ac_cv_lib_bsd_gettimeofday=no
    10268 fi
    10269 
    10270 rm -rf conftest.dSYM
    10271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10272       conftest$ac_exeext conftest.$ac_ext
     7466  ac_cv_lib_bsd_gettimeofday=no
     7467fi
     7468rm -f core conftest.err conftest.$ac_objext \
     7469    conftest$ac_exeext conftest.$ac_ext
    102737470LIBS=$ac_check_lib_save_LIBS
    102747471fi
    10275 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     7472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    102767473$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    10277 if test $ac_cv_lib_bsd_gettimeofday = yes; then
     7474if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    102787475  libbsd=yes
    102797476else
     
    102847481                MATH_LIBS="$MATH_LIBS -lbsd"
    102857482
    10286 cat >>confdefs.h <<\_ACEOF
    10287 #define USE_DELTA_FOR_TZ 1
    10288 _ACEOF
     7483$as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    102897484
    102907485            fi
     
    103037498            # is always linked to, for compatibility.
    103047499            #-----------------------------------------------------------
    10305             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     7500            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    103067501$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    10307 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     7502if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    103087503  $as_echo_n "(cached) " >&6
    103097504else
    103107505  ac_check_lib_save_LIBS=$LIBS
    103117506LIBS="-lbind  $LIBS"
    10312 cat >conftest.$ac_ext <<_ACEOF
    10313 /* confdefs.h.  */
    10314 _ACEOF
    10315 cat confdefs.h >>conftest.$ac_ext
    10316 cat >>conftest.$ac_ext <<_ACEOF
     7507cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    103177508/* end confdefs.h.  */
    103187509
     
    103327523}
    103337524_ACEOF
    10334 rm -f conftest.$ac_objext conftest$ac_exeext
    10335 if { (ac_try="$ac_link"
    10336 case "(($ac_try" in
    10337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10338   *) ac_try_echo=$ac_try;;
    10339 esac
    10340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10341 $as_echo "$ac_try_echo") >&5
    10342   (eval "$ac_link") 2>conftest.er1
    10343   ac_status=$?
    10344   grep -v '^ *+' conftest.er1 >conftest.err
    10345   rm -f conftest.er1
    10346   cat conftest.err >&5
    10347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10348   (exit $ac_status); } && {
    10349          test -z "$ac_c_werror_flag" ||
    10350          test ! -s conftest.err
    10351        } && test -s conftest$ac_exeext && {
    10352          test "$cross_compiling" = yes ||
    10353          $as_test_x conftest$ac_exeext
    10354        }; then
     7525if ac_fn_c_try_link "$LINENO"; then :
    103557526  ac_cv_lib_bind_inet_ntoa=yes
    103567527else
    10357   $as_echo "$as_me: failed program was:" >&5
    10358 sed 's/^/| /' conftest.$ac_ext >&5
    10359 
    10360         ac_cv_lib_bind_inet_ntoa=no
    10361 fi
    10362 
    10363 rm -rf conftest.dSYM
    10364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10365       conftest$ac_exeext conftest.$ac_ext
     7528  ac_cv_lib_bind_inet_ntoa=no
     7529fi
     7530rm -f core conftest.err conftest.$ac_objext \
     7531    conftest$ac_exeext conftest.$ac_ext
    103667532LIBS=$ac_check_lib_save_LIBS
    103677533fi
    10368 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     7534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    103697535$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    10370 if test $ac_cv_lib_bind_inet_ntoa = yes; then
     7536if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    103717537  LIBS="$LIBS -lbind -lsocket"
    103727538fi
     
    104077573            # Use updated header definitions where possible
    104087574
    10409 cat >>confdefs.h <<\_ACEOF
    10410 #define _XOPEN_SOURCE_EXTENDED 1
    10411 _ACEOF
     7575$as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    104127576
    104137577            # Needed by Tcl, but not most extensions
     
    104167580
    104177581            SHLIB_SUFFIX=".sl"
    10418             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     7582            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    104197583$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     7584if ${ac_cv_lib_dld_shl_load+:} false; then :
    104217585  $as_echo_n "(cached) " >&6
    104227586else
    104237587  ac_check_lib_save_LIBS=$LIBS
    104247588LIBS="-ldld  $LIBS"
    10425 cat >conftest.$ac_ext <<_ACEOF
    10426 /* confdefs.h.  */
    10427 _ACEOF
    10428 cat confdefs.h >>conftest.$ac_ext
    10429 cat >>conftest.$ac_ext <<_ACEOF
     7589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    104307590/* end confdefs.h.  */
    104317591
     
    104457605}
    104467606_ACEOF
    10447 rm -f conftest.$ac_objext conftest$ac_exeext
    10448 if { (ac_try="$ac_link"
    10449 case "(($ac_try" in
    10450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10451   *) ac_try_echo=$ac_try;;
    10452 esac
    10453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10454 $as_echo "$ac_try_echo") >&5
    10455   (eval "$ac_link") 2>conftest.er1
    10456   ac_status=$?
    10457   grep -v '^ *+' conftest.er1 >conftest.err
    10458   rm -f conftest.er1
    10459   cat conftest.err >&5
    10460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10461   (exit $ac_status); } && {
    10462          test -z "$ac_c_werror_flag" ||
    10463          test ! -s conftest.err
    10464        } && test -s conftest$ac_exeext && {
    10465          test "$cross_compiling" = yes ||
    10466          $as_test_x conftest$ac_exeext
    10467        }; then
     7607if ac_fn_c_try_link "$LINENO"; then :
    104687608  ac_cv_lib_dld_shl_load=yes
    104697609else
    10470   $as_echo "$as_me: failed program was:" >&5
    10471 sed 's/^/| /' conftest.$ac_ext >&5
    10472 
    10473         ac_cv_lib_dld_shl_load=no
    10474 fi
    10475 
    10476 rm -rf conftest.dSYM
    10477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10478       conftest$ac_exeext conftest.$ac_ext
     7610  ac_cv_lib_dld_shl_load=no
     7611fi
     7612rm -f core conftest.err conftest.$ac_objext \
     7613    conftest$ac_exeext conftest.$ac_ext
    104797614LIBS=$ac_check_lib_save_LIBS
    104807615fi
    10481 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     7616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    104827617$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10483 if test $ac_cv_lib_dld_shl_load = yes; then
     7618if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    104847619  tcl_ok=yes
    104857620else
     
    105217656                            ;;
    105227657                        *)
    10523                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     7658                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    105247659$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    105257660                            ;;
     
    105347669        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    105357670            SHLIB_SUFFIX=".sl"
    10536             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     7671            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    105377672$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10538 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     7673if ${ac_cv_lib_dld_shl_load+:} false; then :
    105397674  $as_echo_n "(cached) " >&6
    105407675else
    105417676  ac_check_lib_save_LIBS=$LIBS
    105427677LIBS="-ldld  $LIBS"
    10543 cat >conftest.$ac_ext <<_ACEOF
    10544 /* confdefs.h.  */
    10545 _ACEOF
    10546 cat confdefs.h >>conftest.$ac_ext
    10547 cat >>conftest.$ac_ext <<_ACEOF
     7678cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    105487679/* end confdefs.h.  */
    105497680
     
    105637694}
    105647695_ACEOF
    10565 rm -f conftest.$ac_objext conftest$ac_exeext
    10566 if { (ac_try="$ac_link"
    10567 case "(($ac_try" in
    10568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10569   *) ac_try_echo=$ac_try;;
    10570 esac
    10571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10572 $as_echo "$ac_try_echo") >&5
    10573   (eval "$ac_link") 2>conftest.er1
    10574   ac_status=$?
    10575   grep -v '^ *+' conftest.er1 >conftest.err
    10576   rm -f conftest.er1
    10577   cat conftest.err >&5
    10578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10579   (exit $ac_status); } && {
    10580          test -z "$ac_c_werror_flag" ||
    10581          test ! -s conftest.err
    10582        } && test -s conftest$ac_exeext && {
    10583          test "$cross_compiling" = yes ||
    10584          $as_test_x conftest$ac_exeext
    10585        }; then
     7696if ac_fn_c_try_link "$LINENO"; then :
    105867697  ac_cv_lib_dld_shl_load=yes
    105877698else
    10588   $as_echo "$as_me: failed program was:" >&5
    10589 sed 's/^/| /' conftest.$ac_ext >&5
    10590 
    10591         ac_cv_lib_dld_shl_load=no
    10592 fi
    10593 
    10594 rm -rf conftest.dSYM
    10595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10596       conftest$ac_exeext conftest.$ac_ext
     7699  ac_cv_lib_dld_shl_load=no
     7700fi
     7701rm -f core conftest.err conftest.$ac_objext \
     7702    conftest$ac_exeext conftest.$ac_ext
    105977703LIBS=$ac_check_lib_save_LIBS
    105987704fi
    10599 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     7705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    106007706$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10601 if test $ac_cv_lib_dld_shl_load = yes; then
     7707if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    106027708  tcl_ok=yes
    106037709else
     
    106667772            if test "$do64bit" = "yes" ; then
    106677773                if test "$GCC" = "yes" ; then
    10668                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     7774                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    106697775$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    106707776                else
     
    107677873            CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    107687874            LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    10769             { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     7875            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    107707876$as_echo_n "checking for ELF... " >&6; }
    10771 if test "${tcl_cv_ld_elf+set}" = set; then
     7877if ${tcl_cv_ld_elf+:} false; then :
    107727878  $as_echo_n "(cached) " >&6
    107737879else
    107747880
    10775                 cat >conftest.$ac_ext <<_ACEOF
    10776 /* confdefs.h.  */
    10777 _ACEOF
    10778 cat confdefs.h >>conftest.$ac_ext
    10779 cat >>conftest.$ac_ext <<_ACEOF
     7881                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    107807882/* end confdefs.h.  */
    107817883
     
    107867888_ACEOF
    107877889if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    10788   $EGREP "yes" >/dev/null 2>&1; then
     7890  $EGREP "yes" >/dev/null 2>&1; then :
    107897891  tcl_cv_ld_elf=yes
    107907892else
     
    107947896
    107957897fi
    10796 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     7898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    107977899$as_echo "$tcl_cv_ld_elf" >&6; }
    107987900            if test $tcl_cv_ld_elf = yes; then
     
    108237925            LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    108247926            SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
    10825             { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     7927            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    108267928$as_echo_n "checking for ELF... " >&6; }
    10827 if test "${tcl_cv_ld_elf+set}" = set; then
     7929if ${tcl_cv_ld_elf+:} false; then :
    108287930  $as_echo_n "(cached) " >&6
    108297931else
    108307932
    10831                 cat >conftest.$ac_ext <<_ACEOF
    10832 /* confdefs.h.  */
    10833 _ACEOF
    10834 cat confdefs.h >>conftest.$ac_ext
    10835 cat >>conftest.$ac_ext <<_ACEOF
     7933                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108367934/* end confdefs.h.  */
    108377935
     
    108427940_ACEOF
    108437941if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    10844   $EGREP "yes" >/dev/null 2>&1; then
     7942  $EGREP "yes" >/dev/null 2>&1; then :
    108457943  tcl_cv_ld_elf=yes
    108467944else
     
    108507948
    108517949fi
    10852 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     7950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    108537951$as_echo "$tcl_cv_ld_elf" >&6; }
    108547952            if test $tcl_cv_ld_elf = yes; then
     
    108977995            # TEA specific: use LDFLAGS_DEFAULT instead of LDFLAGS here:
    108987996            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS_DEFAULT}'
    10899             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     7997            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    109007998$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    10901 if test "${tcl_cv_ld_single_module+set}" = set; then
     7999if ${tcl_cv_ld_single_module+:} false; then :
    109028000  $as_echo_n "(cached) " >&6
    109038001else
     
    109058003                hold_ldflags=$LDFLAGS
    109068004                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    10907                 cat >conftest.$ac_ext <<_ACEOF
    10908 /* confdefs.h.  */
    10909 _ACEOF
    10910 cat confdefs.h >>conftest.$ac_ext
    10911 cat >>conftest.$ac_ext <<_ACEOF
     8005                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    109128006/* end confdefs.h.  */
    109138007
     
    109208014}
    109218015_ACEOF
    10922 rm -f conftest.$ac_objext conftest$ac_exeext
    10923 if { (ac_try="$ac_link"
    10924 case "(($ac_try" in
    10925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10926   *) ac_try_echo=$ac_try;;
    10927 esac
    10928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10929 $as_echo "$ac_try_echo") >&5
    10930   (eval "$ac_link") 2>conftest.er1
    10931   ac_status=$?
    10932   grep -v '^ *+' conftest.er1 >conftest.err
    10933   rm -f conftest.er1
    10934   cat conftest.err >&5
    10935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10936   (exit $ac_status); } && {
    10937          test -z "$ac_c_werror_flag" ||
    10938          test ! -s conftest.err
    10939        } && test -s conftest$ac_exeext && {
    10940          test "$cross_compiling" = yes ||
    10941          $as_test_x conftest$ac_exeext
    10942        }; then
     8016if ac_fn_c_try_link "$LINENO"; then :
    109438017  tcl_cv_ld_single_module=yes
    109448018else
    10945   $as_echo "$as_me: failed program was:" >&5
    10946 sed 's/^/| /' conftest.$ac_ext >&5
    10947 
    10948         tcl_cv_ld_single_module=no
    10949 fi
    10950 
    10951 rm -rf conftest.dSYM
    10952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10953       conftest$ac_exeext conftest.$ac_ext
     8019  tcl_cv_ld_single_module=no
     8020fi
     8021rm -f core conftest.err conftest.$ac_objext \
     8022    conftest$ac_exeext conftest.$ac_ext
    109548023                LDFLAGS=$hold_ldflags
    109558024fi
    10956 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     8025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    109578026$as_echo "$tcl_cv_ld_single_module" >&6; }
    109588027            if test $tcl_cv_ld_single_module = yes; then
     
    109688037                LDFLAGS="$LDFLAGS -prebind"
    109698038            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    10970             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     8039            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    109718040$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    10972 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     8041if ${tcl_cv_ld_search_paths_first+:} false; then :
    109738042  $as_echo_n "(cached) " >&6
    109748043else
     
    109768045                hold_ldflags=$LDFLAGS
    109778046                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    10978                 cat >conftest.$ac_ext <<_ACEOF
    10979 /* confdefs.h.  */
    10980 _ACEOF
    10981 cat confdefs.h >>conftest.$ac_ext
    10982 cat >>conftest.$ac_ext <<_ACEOF
     8047                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    109838048/* end confdefs.h.  */
    109848049
     
    109918056}
    109928057_ACEOF
    10993 rm -f conftest.$ac_objext conftest$ac_exeext
    10994 if { (ac_try="$ac_link"
    10995 case "(($ac_try" in
    10996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10997   *) ac_try_echo=$ac_try;;
    10998 esac
    10999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11000 $as_echo "$ac_try_echo") >&5
    11001   (eval "$ac_link") 2>conftest.er1
    11002   ac_status=$?
    11003   grep -v '^ *+' conftest.er1 >conftest.err
    11004   rm -f conftest.er1
    11005   cat conftest.err >&5
    11006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11007   (exit $ac_status); } && {
    11008          test -z "$ac_c_werror_flag" ||
    11009          test ! -s conftest.err
    11010        } && test -s conftest$ac_exeext && {
    11011          test "$cross_compiling" = yes ||
    11012          $as_test_x conftest$ac_exeext
    11013        }; then
     8058if ac_fn_c_try_link "$LINENO"; then :
    110148059  tcl_cv_ld_search_paths_first=yes
    110158060else
    11016   $as_echo "$as_me: failed program was:" >&5
    11017 sed 's/^/| /' conftest.$ac_ext >&5
    11018 
    11019         tcl_cv_ld_search_paths_first=no
    11020 fi
    11021 
    11022 rm -rf conftest.dSYM
    11023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11024       conftest$ac_exeext conftest.$ac_ext
     8061  tcl_cv_ld_search_paths_first=no
     8062fi
     8063rm -f core conftest.err conftest.$ac_objext \
     8064    conftest$ac_exeext conftest.$ac_ext
    110258065                LDFLAGS=$hold_ldflags
    110268066fi
    11027 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     8067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    110288068$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    110298069            if test $tcl_cv_ld_search_paths_first = yes; then
     
    110538093            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    110548094
    11055 cat >>confdefs.h <<\_ACEOF
    11056 #define _OE_SOCKETS 1
    11057 _ACEOF
     8095$as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    110588096
    110598097            ;;
     
    111868224
    111878225
    11188 cat >>confdefs.h <<\_ACEOF
    11189 #define _REENTRANT 1
    11190 _ACEOF
    11191 
    11192 
    11193 cat >>confdefs.h <<\_ACEOF
    11194 #define _POSIX_PTHREAD_SEMANTICS 1
    11195 _ACEOF
     8226$as_echo "#define _REENTRANT 1" >>confdefs.h
     8227
     8228
     8229$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    111968230
    111978231
     
    112208254
    112218255
    11222 cat >>confdefs.h <<\_ACEOF
    11223 #define _REENTRANT 1
    11224 _ACEOF
    11225 
    11226 
    11227 cat >>confdefs.h <<\_ACEOF
    11228 #define _POSIX_PTHREAD_SEMANTICS 1
    11229 _ACEOF
     8256$as_echo "#define _REENTRANT 1" >>confdefs.h
     8257
     8258
     8259$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    112308260
    112318261
     
    112388268                        if test "$GCC" = "yes" ; then
    112398269                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    11240                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     8270                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    112418271$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    112428272                            else
     
    112608290                elif test "$arch" = "amd64 i386" ; then
    112618291                    if test "$GCC" = "yes" ; then
    11262                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     8292                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    112638293$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    112648294                    else
     
    112688298                    fi
    112698299                else
    11270                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     8300                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    112718301$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    112728302                fi
     
    113108340            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    113118341            # that don't grok the -Bexport option.  Test that it does.
    11312             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     8342            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    113138343$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    11314 if test "${tcl_cv_ld_Bexport+set}" = set; then
     8344if ${tcl_cv_ld_Bexport+:} false; then :
    113158345  $as_echo_n "(cached) " >&6
    113168346else
     
    113188348                hold_ldflags=$LDFLAGS
    113198349                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    11320                 cat >conftest.$ac_ext <<_ACEOF
    11321 /* confdefs.h.  */
    11322 _ACEOF
    11323 cat confdefs.h >>conftest.$ac_ext
    11324 cat >>conftest.$ac_ext <<_ACEOF
     8350                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    113258351/* end confdefs.h.  */
    113268352
     
    113338359}
    113348360_ACEOF
    11335 rm -f conftest.$ac_objext conftest$ac_exeext
    11336 if { (ac_try="$ac_link"
    11337 case "(($ac_try" in
    11338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11339   *) ac_try_echo=$ac_try;;
    11340 esac
    11341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11342 $as_echo "$ac_try_echo") >&5
    11343   (eval "$ac_link") 2>conftest.er1
    11344   ac_status=$?
    11345   grep -v '^ *+' conftest.er1 >conftest.err
    11346   rm -f conftest.er1
    11347   cat conftest.err >&5
    11348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11349   (exit $ac_status); } && {
    11350          test -z "$ac_c_werror_flag" ||
    11351          test ! -s conftest.err
    11352        } && test -s conftest$ac_exeext && {
    11353          test "$cross_compiling" = yes ||
    11354          $as_test_x conftest$ac_exeext
    11355        }; then
     8361if ac_fn_c_try_link "$LINENO"; then :
    113568362  tcl_cv_ld_Bexport=yes
    113578363else
    11358   $as_echo "$as_me: failed program was:" >&5
    11359 sed 's/^/| /' conftest.$ac_ext >&5
    11360 
    11361         tcl_cv_ld_Bexport=no
    11362 fi
    11363 
    11364 rm -rf conftest.dSYM
    11365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11366       conftest$ac_exeext conftest.$ac_ext
     8364  tcl_cv_ld_Bexport=no
     8365fi
     8366rm -f core conftest.err conftest.$ac_objext \
     8367    conftest$ac_exeext conftest.$ac_ext
    113678368                LDFLAGS=$hold_ldflags
    113688369fi
    11369 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     8370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    113708371$as_echo "$tcl_cv_ld_Bexport" >&6; }
    113718372            if test $tcl_cv_ld_Bexport = yes; then
     
    113788379
    113798380    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    11380         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     8381        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    113818382$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    113828383    fi
     
    113858386
    113868387    # Check whether --enable-load was given.
    11387 if test "${enable_load+set}" = set; then
     8388if test "${enable_load+set}" = set; then :
    113888389  enableval=$enable_load; tcl_ok=$enableval
    113898390else
     
    114648465    # verify any possible 64-bit or similar switches are necessary
    114658466
    11466     { $as_echo "$as_me:$LINENO: checking for required early compiler flags" >&5
     8467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for required early compiler flags" >&5
    114678468$as_echo_n "checking for required early compiler flags... " >&6; }
    114688469    tcl_flags=""
    114698470
    11470     if test "${tcl_cv_flag__isoc99_source+set}" = set; then
     8471    if ${tcl_cv_flag__isoc99_source+:} false; then :
    114718472  $as_echo_n "(cached) " >&6
    114728473else
    11473   cat >conftest.$ac_ext <<_ACEOF
    11474 /* confdefs.h.  */
    11475 _ACEOF
    11476 cat confdefs.h >>conftest.$ac_ext
    11477 cat >>conftest.$ac_ext <<_ACEOF
     8474  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114788475/* end confdefs.h.  */
    114798476#include <stdlib.h>
     
    114868483}
    114878484_ACEOF
    11488 rm -f conftest.$ac_objext
    11489 if { (ac_try="$ac_compile"
    11490 case "(($ac_try" in
    11491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11492   *) ac_try_echo=$ac_try;;
    11493 esac
    11494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11495 $as_echo "$ac_try_echo") >&5
    11496   (eval "$ac_compile") 2>conftest.er1
    11497   ac_status=$?
    11498   grep -v '^ *+' conftest.er1 >conftest.err
    11499   rm -f conftest.er1
    11500   cat conftest.err >&5
    11501   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11502   (exit $ac_status); } && {
    11503          test -z "$ac_c_werror_flag" ||
    11504          test ! -s conftest.err
    11505        } && test -s conftest.$ac_objext; then
     8485if ac_fn_c_try_compile "$LINENO"; then :
    115068486  tcl_cv_flag__isoc99_source=no
    115078487else
    11508   $as_echo "$as_me: failed program was:" >&5
    11509 sed 's/^/| /' conftest.$ac_ext >&5
    11510 
    11511         cat >conftest.$ac_ext <<_ACEOF
    11512 /* confdefs.h.  */
    11513 _ACEOF
    11514 cat confdefs.h >>conftest.$ac_ext
    11515 cat >>conftest.$ac_ext <<_ACEOF
     8488  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115168489/* end confdefs.h.  */
    115178490#define _ISOC99_SOURCE 1
     
    115258498}
    115268499_ACEOF
    11527 rm -f conftest.$ac_objext
    11528 if { (ac_try="$ac_compile"
    11529 case "(($ac_try" in
    11530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11531   *) ac_try_echo=$ac_try;;
    11532 esac
    11533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11534 $as_echo "$ac_try_echo") >&5
    11535   (eval "$ac_compile") 2>conftest.er1
    11536   ac_status=$?
    11537   grep -v '^ *+' conftest.er1 >conftest.err
    11538   rm -f conftest.er1
    11539   cat conftest.err >&5
    11540   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11541   (exit $ac_status); } && {
    11542          test -z "$ac_c_werror_flag" ||
    11543          test ! -s conftest.err
    11544        } && test -s conftest.$ac_objext; then
     8500if ac_fn_c_try_compile "$LINENO"; then :
    115458501  tcl_cv_flag__isoc99_source=yes
    115468502else
    11547   $as_echo "$as_me: failed program was:" >&5
    11548 sed 's/^/| /' conftest.$ac_ext >&5
    11549 
    11550         tcl_cv_flag__isoc99_source=no
    11551 fi
    11552 
     8503  tcl_cv_flag__isoc99_source=no
     8504fi
    115538505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    115548506fi
    11555 
    115568507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    115578508fi
     
    115598510    if test "x${tcl_cv_flag__isoc99_source}" = "xyes" ; then
    115608511
    11561 cat >>confdefs.h <<\_ACEOF
    11562 #define _ISOC99_SOURCE 1
    11563 _ACEOF
     8512$as_echo "#define _ISOC99_SOURCE 1" >>confdefs.h
    115648513
    115658514        tcl_flags="$tcl_flags _ISOC99_SOURCE"
     
    115678516
    115688517
    11569     if test "${tcl_cv_flag__largefile64_source+set}" = set; then
     8518    if ${tcl_cv_flag__largefile64_source+:} false; then :
    115708519  $as_echo_n "(cached) " >&6
    115718520else
    11572   cat >conftest.$ac_ext <<_ACEOF
    11573 /* confdefs.h.  */
    11574 _ACEOF
    11575 cat confdefs.h >>conftest.$ac_ext
    11576 cat >>conftest.$ac_ext <<_ACEOF
     8521  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115778522/* end confdefs.h.  */
    115788523#include <sys/stat.h>
     
    115858530}
    115868531_ACEOF
    11587 rm -f conftest.$ac_objext
    11588 if { (ac_try="$ac_compile"
    11589 case "(($ac_try" in
    11590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11591   *) ac_try_echo=$ac_try;;
    11592 esac
    11593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11594 $as_echo "$ac_try_echo") >&5
    11595   (eval "$ac_compile") 2>conftest.er1
    11596   ac_status=$?
    11597   grep -v '^ *+' conftest.er1 >conftest.err
    11598   rm -f conftest.er1
    11599   cat conftest.err >&5
    11600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11601   (exit $ac_status); } && {
    11602          test -z "$ac_c_werror_flag" ||
    11603          test ! -s conftest.err
    11604        } && test -s conftest.$ac_objext; then
     8532if ac_fn_c_try_compile "$LINENO"; then :
    116058533  tcl_cv_flag__largefile64_source=no
    116068534else
    11607   $as_echo "$as_me: failed program was:" >&5
    11608 sed 's/^/| /' conftest.$ac_ext >&5
    11609 
    11610         cat >conftest.$ac_ext <<_ACEOF
    11611 /* confdefs.h.  */
    11612 _ACEOF
    11613 cat confdefs.h >>conftest.$ac_ext
    11614 cat >>conftest.$ac_ext <<_ACEOF
     8535  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116158536/* end confdefs.h.  */
    116168537#define _LARGEFILE64_SOURCE 1
     
    116248545}
    116258546_ACEOF
    11626 rm -f conftest.$ac_objext
    11627 if { (ac_try="$ac_compile"
    11628 case "(($ac_try" in
    11629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11630   *) ac_try_echo=$ac_try;;
    11631 esac
    11632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11633 $as_echo "$ac_try_echo") >&5
    11634   (eval "$ac_compile") 2>conftest.er1
    11635   ac_status=$?
    11636   grep -v '^ *+' conftest.er1 >conftest.err
    11637   rm -f conftest.er1
    11638   cat conftest.err >&5
    11639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11640   (exit $ac_status); } && {
    11641          test -z "$ac_c_werror_flag" ||
    11642          test ! -s conftest.err
    11643        } && test -s conftest.$ac_objext; then
     8547if ac_fn_c_try_compile "$LINENO"; then :
    116448548  tcl_cv_flag__largefile64_source=yes
    116458549else
    11646   $as_echo "$as_me: failed program was:" >&5
    11647 sed 's/^/| /' conftest.$ac_ext >&5
    11648 
    11649         tcl_cv_flag__largefile64_source=no
    11650 fi
    11651 
     8550  tcl_cv_flag__largefile64_source=no
     8551fi
    116528552rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116538553fi
    11654 
    116558554rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116568555fi
     
    116588557    if test "x${tcl_cv_flag__largefile64_source}" = "xyes" ; then
    116598558
    11660 cat >>confdefs.h <<\_ACEOF
    11661 #define _LARGEFILE64_SOURCE 1
    11662 _ACEOF
     8559$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
    116638560
    116648561        tcl_flags="$tcl_flags _LARGEFILE64_SOURCE"
     
    116668563
    116678564
    11668     if test "${tcl_cv_flag__largefile_source64+set}" = set; then
     8565    if ${tcl_cv_flag__largefile_source64+:} false; then :
    116698566  $as_echo_n "(cached) " >&6
    116708567else
    11671   cat >conftest.$ac_ext <<_ACEOF
    11672 /* confdefs.h.  */
    11673 _ACEOF
    11674 cat confdefs.h >>conftest.$ac_ext
    11675 cat >>conftest.$ac_ext <<_ACEOF
     8568  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116768569/* end confdefs.h.  */
    116778570#include <sys/stat.h>
     
    116848577}
    116858578_ACEOF
    11686 rm -f conftest.$ac_objext
    11687 if { (ac_try="$ac_compile"
    11688 case "(($ac_try" in
    11689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11690   *) ac_try_echo=$ac_try;;
    11691 esac
    11692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11693 $as_echo "$ac_try_echo") >&5
    11694   (eval "$ac_compile") 2>conftest.er1
    11695   ac_status=$?
    11696   grep -v '^ *+' conftest.er1 >conftest.err
    11697   rm -f conftest.er1
    11698   cat conftest.err >&5
    11699   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11700   (exit $ac_status); } && {
    11701          test -z "$ac_c_werror_flag" ||
    11702          test ! -s conftest.err
    11703        } && test -s conftest.$ac_objext; then
     8579if ac_fn_c_try_compile "$LINENO"; then :
    117048580  tcl_cv_flag__largefile_source64=no
    117058581else
    11706   $as_echo "$as_me: failed program was:" >&5
    11707 sed 's/^/| /' conftest.$ac_ext >&5
    11708 
    11709         cat >conftest.$ac_ext <<_ACEOF
    11710 /* confdefs.h.  */
    11711 _ACEOF
    11712 cat confdefs.h >>conftest.$ac_ext
    11713 cat >>conftest.$ac_ext <<_ACEOF
     8582  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117148583/* end confdefs.h.  */
    117158584#define _LARGEFILE_SOURCE64 1
     
    117238592}
    117248593_ACEOF
    11725 rm -f conftest.$ac_objext
    11726 if { (ac_try="$ac_compile"
    11727 case "(($ac_try" in
    11728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11729   *) ac_try_echo=$ac_try;;
    11730 esac
    11731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11732 $as_echo "$ac_try_echo") >&5
    11733   (eval "$ac_compile") 2>conftest.er1
    11734   ac_status=$?
    11735   grep -v '^ *+' conftest.er1 >conftest.err
    11736   rm -f conftest.er1
    11737   cat conftest.err >&5
    11738   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11739   (exit $ac_status); } && {
    11740          test -z "$ac_c_werror_flag" ||
    11741          test ! -s conftest.err
    11742        } && test -s conftest.$ac_objext; then
     8594if ac_fn_c_try_compile "$LINENO"; then :
    117438595  tcl_cv_flag__largefile_source64=yes
    117448596else
    11745   $as_echo "$as_me: failed program was:" >&5
    11746 sed 's/^/| /' conftest.$ac_ext >&5
    11747 
    11748         tcl_cv_flag__largefile_source64=no
    11749 fi
    11750 
     8597  tcl_cv_flag__largefile_source64=no
     8598fi
    117518599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    117528600fi
    11753 
    117548601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    117558602fi
     
    117578604    if test "x${tcl_cv_flag__largefile_source64}" = "xyes" ; then
    117588605
    11759 cat >>confdefs.h <<\_ACEOF
    11760 #define _LARGEFILE_SOURCE64 1
    11761 _ACEOF
     8606$as_echo "#define _LARGEFILE_SOURCE64 1" >>confdefs.h
    117628607
    117638608        tcl_flags="$tcl_flags _LARGEFILE_SOURCE64"
     
    117658610
    117668611    if test "x${tcl_flags}" = "x" ; then
    11767         { $as_echo "$as_me:$LINENO: result: none" >&5
     8612        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
    117688613$as_echo "none" >&6; }
    117698614    else
    11770         { $as_echo "$as_me:$LINENO: result: ${tcl_flags}" >&5
     8615        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_flags}" >&5
    117718616$as_echo "${tcl_flags}" >&6; }
    117728617    fi
    117738618
    117748619
    11775     { $as_echo "$as_me:$LINENO: checking for 64-bit integer type" >&5
     8620    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit integer type" >&5
    117768621$as_echo_n "checking for 64-bit integer type... " >&6; }
    11777     if test "${tcl_cv_type_64bit+set}" = set; then
     8622    if ${tcl_cv_type_64bit+:} false; then :
    117788623  $as_echo_n "(cached) " >&6
    117798624else
     
    117818626        tcl_cv_type_64bit=none
    117828627        # See if the compiler knows natively about __int64
    11783         cat >conftest.$ac_ext <<_ACEOF
    11784 /* confdefs.h.  */
    11785 _ACEOF
    11786 cat confdefs.h >>conftest.$ac_ext
    11787 cat >>conftest.$ac_ext <<_ACEOF
     8628        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117888629/* end confdefs.h.  */
    117898630
     
    117968637}
    117978638_ACEOF
    11798 rm -f conftest.$ac_objext
    11799 if { (ac_try="$ac_compile"
    11800 case "(($ac_try" in
    11801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11802   *) ac_try_echo=$ac_try;;
    11803 esac
    11804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11805 $as_echo "$ac_try_echo") >&5
    11806   (eval "$ac_compile") 2>conftest.er1
    11807   ac_status=$?
    11808   grep -v '^ *+' conftest.er1 >conftest.err
    11809   rm -f conftest.er1
    11810   cat conftest.err >&5
    11811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11812   (exit $ac_status); } && {
    11813          test -z "$ac_c_werror_flag" ||
    11814          test ! -s conftest.err
    11815        } && test -s conftest.$ac_objext; then
     8639if ac_fn_c_try_compile "$LINENO"; then :
    118168640  tcl_type_64bit=__int64
    118178641else
    11818   $as_echo "$as_me: failed program was:" >&5
    11819 sed 's/^/| /' conftest.$ac_ext >&5
    11820 
    11821         tcl_type_64bit="long long"
    11822 fi
    11823 
     8642  tcl_type_64bit="long long"
     8643fi
    118248644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    118258645        # See if we should use long anyway  Note that we substitute in the
    118268646        # type that is our current guess for a 64-bit type inside this check
    118278647        # program, so it should be modified only carefully...
    11828         cat >conftest.$ac_ext <<_ACEOF
    11829 /* confdefs.h.  */
    11830 _ACEOF
    11831 cat confdefs.h >>conftest.$ac_ext
    11832 cat >>conftest.$ac_ext <<_ACEOF
     8648        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    118338649/* end confdefs.h.  */
    118348650
     
    118438659}
    118448660_ACEOF
    11845 rm -f conftest.$ac_objext
    11846 if { (ac_try="$ac_compile"
    11847 case "(($ac_try" in
    11848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11849   *) ac_try_echo=$ac_try;;
    11850 esac
    11851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11852 $as_echo "$ac_try_echo") >&5
    11853   (eval "$ac_compile") 2>conftest.er1
    11854   ac_status=$?
    11855   grep -v '^ *+' conftest.er1 >conftest.err
    11856   rm -f conftest.er1
    11857   cat conftest.err >&5
    11858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11859   (exit $ac_status); } && {
    11860          test -z "$ac_c_werror_flag" ||
    11861          test ! -s conftest.err
    11862        } && test -s conftest.$ac_objext; then
     8661if ac_fn_c_try_compile "$LINENO"; then :
    118638662  tcl_cv_type_64bit=${tcl_type_64bit}
    11864 else
    11865   $as_echo "$as_me: failed program was:" >&5
    11866 sed 's/^/| /' conftest.$ac_ext >&5
    11867 
    11868 
    11869 fi
    11870 
     8663fi
    118718664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    118728665fi
     
    118748667    if test "${tcl_cv_type_64bit}" = none ; then
    118758668
    11876 cat >>confdefs.h <<\_ACEOF
    11877 #define TCL_WIDE_INT_IS_LONG 1
    11878 _ACEOF
    11879 
    11880         { $as_echo "$as_me:$LINENO: result: using long" >&5
     8669$as_echo "#define TCL_WIDE_INT_IS_LONG 1" >>confdefs.h
     8670
     8671        { $as_echo "$as_me:${as_lineno-$LINENO}: result: using long" >&5
    118818672$as_echo "using long" >&6; }
    118828673    elif test "${tcl_cv_type_64bit}" = "__int64" \
     
    118848675        # We actually want to use the default tcl.h checks in this
    118858676        # case to handle both TCL_WIDE_INT_TYPE and TCL_LL_MODIFIER*
    11886         { $as_echo "$as_me:$LINENO: result: using Tcl header defaults" >&5
     8677        { $as_echo "$as_me:${as_lineno-$LINENO}: result: using Tcl header defaults" >&5
    118878678$as_echo "using Tcl header defaults" >&6; }
    118888679    else
     
    118928683_ACEOF
    118938684
    11894         { $as_echo "$as_me:$LINENO: result: ${tcl_cv_type_64bit}" >&5
     8685        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcl_cv_type_64bit}" >&5
    118958686$as_echo "${tcl_cv_type_64bit}" >&6; }
    118968687
    118978688        # Now check for auxiliary declarations
    11898         { $as_echo "$as_me:$LINENO: checking for struct dirent64" >&5
     8689        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent64" >&5
    118998690$as_echo_n "checking for struct dirent64... " >&6; }
    11900 if test "${tcl_cv_struct_dirent64+set}" = set; then
     8691if ${tcl_cv_struct_dirent64+:} false; then :
    119018692  $as_echo_n "(cached) " >&6
    119028693else
    119038694
    11904             cat >conftest.$ac_ext <<_ACEOF
    11905 /* confdefs.h.  */
    11906 _ACEOF
    11907 cat confdefs.h >>conftest.$ac_ext
    11908 cat >>conftest.$ac_ext <<_ACEOF
     8695            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    119098696/* end confdefs.h.  */
    119108697#include <sys/types.h>
     
    119188705}
    119198706_ACEOF
    11920 rm -f conftest.$ac_objext
    11921 if { (ac_try="$ac_compile"
    11922 case "(($ac_try" in
    11923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11924   *) ac_try_echo=$ac_try;;
    11925 esac
    11926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11927 $as_echo "$ac_try_echo") >&5
    11928   (eval "$ac_compile") 2>conftest.er1
    11929   ac_status=$?
    11930   grep -v '^ *+' conftest.er1 >conftest.err
    11931   rm -f conftest.er1
    11932   cat conftest.err >&5
    11933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11934   (exit $ac_status); } && {
    11935          test -z "$ac_c_werror_flag" ||
    11936          test ! -s conftest.err
    11937        } && test -s conftest.$ac_objext; then
     8707if ac_fn_c_try_compile "$LINENO"; then :
    119388708  tcl_cv_struct_dirent64=yes
    119398709else
    11940   $as_echo "$as_me: failed program was:" >&5
    11941 sed 's/^/| /' conftest.$ac_ext >&5
    11942 
    11943         tcl_cv_struct_dirent64=no
    11944 fi
    11945 
     8710  tcl_cv_struct_dirent64=no
     8711fi
    119468712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    119478713fi
    11948 { $as_echo "$as_me:$LINENO: result: $tcl_cv_struct_dirent64" >&5
     8714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_dirent64" >&5
    119498715$as_echo "$tcl_cv_struct_dirent64" >&6; }
    119508716        if test "x${tcl_cv_struct_dirent64}" = "xyes" ; then
    119518717
    11952 cat >>confdefs.h <<\_ACEOF
    11953 #define HAVE_STRUCT_DIRENT64 1
    11954 _ACEOF
     8718$as_echo "#define HAVE_STRUCT_DIRENT64 1" >>confdefs.h
    119558719
    119568720        fi
    119578721
    11958         { $as_echo "$as_me:$LINENO: checking for struct stat64" >&5
     8722        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5
    119598723$as_echo_n "checking for struct stat64... " >&6; }
    11960 if test "${tcl_cv_struct_stat64+set}" = set; then
     8724if ${tcl_cv_struct_stat64+:} false; then :
    119618725  $as_echo_n "(cached) " >&6
    119628726else
    119638727
    11964             cat >conftest.$ac_ext <<_ACEOF
    11965 /* confdefs.h.  */
    11966 _ACEOF
    11967 cat confdefs.h >>conftest.$ac_ext
    11968 cat >>conftest.$ac_ext <<_ACEOF
     8728            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    119698729/* end confdefs.h.  */
    119708730#include <sys/stat.h>
     
    119788738}
    119798739_ACEOF
    11980 rm -f conftest.$ac_objext
    11981 if { (ac_try="$ac_compile"
    11982 case "(($ac_try" in
    11983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11984   *) ac_try_echo=$ac_try;;
    11985 esac
    11986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11987 $as_echo "$ac_try_echo") >&5
    11988   (eval "$ac_compile") 2>conftest.er1
    11989   ac_status=$?
    11990   grep -v '^ *+' conftest.er1 >conftest.err
    11991   rm -f conftest.er1
    11992   cat conftest.err >&5
    11993   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11994   (exit $ac_status); } && {
    11995          test -z "$ac_c_werror_flag" ||
    11996          test ! -s conftest.err
    11997        } && test -s conftest.$ac_objext; then
     8740if ac_fn_c_try_compile "$LINENO"; then :
    119988741  tcl_cv_struct_stat64=yes
    119998742else
    12000   $as_echo "$as_me: failed program was:" >&5
    12001 sed 's/^/| /' conftest.$ac_ext >&5
    12002 
    12003         tcl_cv_struct_stat64=no
    12004 fi
    12005 
     8743  tcl_cv_struct_stat64=no
     8744fi
    120068745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    120078746fi
    12008 { $as_echo "$as_me:$LINENO: result: $tcl_cv_struct_stat64" >&5
     8747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_struct_stat64" >&5
    120098748$as_echo "$tcl_cv_struct_stat64" >&6; }
    120108749        if test "x${tcl_cv_struct_stat64}" = "xyes" ; then
    120118750
    12012 cat >>confdefs.h <<\_ACEOF
    12013 #define HAVE_STRUCT_STAT64 1
    12014 _ACEOF
     8751$as_echo "#define HAVE_STRUCT_STAT64 1" >>confdefs.h
    120158752
    120168753        fi
    120178754
    12018 
    12019 
    12020 for ac_func in open64 lseek64
    12021 do
    12022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12023 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12024 $as_echo_n "checking for $ac_func... " >&6; }
    12025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12026   $as_echo_n "(cached) " >&6
    12027 else
    12028   cat >conftest.$ac_ext <<_ACEOF
    12029 /* confdefs.h.  */
    12030 _ACEOF
    12031 cat confdefs.h >>conftest.$ac_ext
    12032 cat >>conftest.$ac_ext <<_ACEOF
    12033 /* end confdefs.h.  */
    12034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12036 #define $ac_func innocuous_$ac_func
    12037 
    12038 /* System header to define __stub macros and hopefully few prototypes,
    12039     which can conflict with char $ac_func (); below.
    12040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12041     <limits.h> exists even on freestanding compilers.  */
    12042 
    12043 #ifdef __STDC__
    12044 # include <limits.h>
    12045 #else
    12046 # include <assert.h>
    12047 #endif
    12048 
    12049 #undef $ac_func
    12050 
    12051 /* Override any GCC internal prototype to avoid an error.
    12052    Use char because int might match the return type of a GCC
    12053    builtin and then its argument prototype would still apply.  */
    12054 #ifdef __cplusplus
    12055 extern "C"
    12056 #endif
    12057 char $ac_func ();
    12058 /* The GNU C library defines this for functions which it implements
    12059     to always fail with ENOSYS.  Some functions are actually named
    12060     something starting with __ and the normal name is an alias.  */
    12061 #if defined __stub_$ac_func || defined __stub___$ac_func
    12062 choke me
    12063 #endif
    12064 
    12065 int
    12066 main ()
    12067 {
    12068 return $ac_func ();
    12069   ;
    12070   return 0;
    12071 }
    12072 _ACEOF
    12073 rm -f conftest.$ac_objext conftest$ac_exeext
    12074 if { (ac_try="$ac_link"
    12075 case "(($ac_try" in
    12076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12077   *) ac_try_echo=$ac_try;;
    12078 esac
    12079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12080 $as_echo "$ac_try_echo") >&5
    12081   (eval "$ac_link") 2>conftest.er1
    12082   ac_status=$?
    12083   grep -v '^ *+' conftest.er1 >conftest.err
    12084   rm -f conftest.er1
    12085   cat conftest.err >&5
    12086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12087   (exit $ac_status); } && {
    12088          test -z "$ac_c_werror_flag" ||
    12089          test ! -s conftest.err
    12090        } && test -s conftest$ac_exeext && {
    12091          test "$cross_compiling" = yes ||
    12092          $as_test_x conftest$ac_exeext
    12093        }; then
    12094   eval "$as_ac_var=yes"
    12095 else
    12096   $as_echo "$as_me: failed program was:" >&5
    12097 sed 's/^/| /' conftest.$ac_ext >&5
    12098 
    12099         eval "$as_ac_var=no"
    12100 fi
    12101 
    12102 rm -rf conftest.dSYM
    12103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12104       conftest$ac_exeext conftest.$ac_ext
    12105 fi
    12106 ac_res=`eval 'as_val=${'$as_ac_var'}
    12107                  $as_echo "$as_val"'`
    12108                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12109 $as_echo "$ac_res" >&6; }
    12110 if test `eval 'as_val=${'$as_ac_var'}
    12111                  $as_echo "$as_val"'` = yes; then
     8755        for ac_func in open64 lseek64
     8756do :
     8757  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     8758ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     8759if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    121128760  cat >>confdefs.h <<_ACEOF
    121138761#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     
    121178765done
    121188766
    12119         { $as_echo "$as_me:$LINENO: checking for off64_t" >&5
     8767        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for off64_t" >&5
    121208768$as_echo_n "checking for off64_t... " >&6; }
    12121         if test "${tcl_cv_type_off64_t+set}" = set; then
     8769        if ${tcl_cv_type_off64_t+:} false; then :
    121228770  $as_echo_n "(cached) " >&6
    121238771else
    121248772
    12125             cat >conftest.$ac_ext <<_ACEOF
    12126 /* confdefs.h.  */
    12127 _ACEOF
    12128 cat confdefs.h >>conftest.$ac_ext
    12129 cat >>conftest.$ac_ext <<_ACEOF
     8773            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    121308774/* end confdefs.h.  */
    121318775#include <sys/types.h>
     
    121398783}
    121408784_ACEOF
    12141 rm -f conftest.$ac_objext
    12142 if { (ac_try="$ac_compile"
    12143 case "(($ac_try" in
    12144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12145   *) ac_try_echo=$ac_try;;
    12146 esac
    12147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12148 $as_echo "$ac_try_echo") >&5
    12149   (eval "$ac_compile") 2>conftest.er1
    12150   ac_status=$?
    12151   grep -v '^ *+' conftest.er1 >conftest.err
    12152   rm -f conftest.er1
    12153   cat conftest.err >&5
    12154   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12155   (exit $ac_status); } && {
    12156          test -z "$ac_c_werror_flag" ||
    12157          test ! -s conftest.err
    12158        } && test -s conftest.$ac_objext; then
     8785if ac_fn_c_try_compile "$LINENO"; then :
    121598786  tcl_cv_type_off64_t=yes
    121608787else
    12161   $as_echo "$as_me: failed program was:" >&5
    12162 sed 's/^/| /' conftest.$ac_ext >&5
    12163 
    12164         tcl_cv_type_off64_t=no
    12165 fi
    12166 
     8788  tcl_cv_type_off64_t=no
     8789fi
    121678790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    121688791fi
     
    121728795                test "x${ac_cv_func_open64}" = "xyes" ; then
    121738796
    12174 cat >>confdefs.h <<\_ACEOF
    12175 #define HAVE_TYPE_OFF64_T 1
    12176 _ACEOF
    12177 
    12178             { $as_echo "$as_me:$LINENO: result: yes" >&5
     8797$as_echo "#define HAVE_TYPE_OFF64_T 1" >>confdefs.h
     8798
     8799            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    121798800$as_echo "yes" >&6; }
    121808801        else
    12181             { $as_echo "$as_me:$LINENO: result: no" >&5
     8802            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    121828803$as_echo "no" >&6; }
    121838804        fi
     
    121928813
    121938814
    12194     { $as_echo "$as_me:$LINENO: checking for build with symbols" >&5
     8815    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
    121958816$as_echo_n "checking for build with symbols... " >&6; }
    121968817    # Check whether --enable-symbols was given.
    12197 if test "${enable_symbols+set}" = set; then
     8818if test "${enable_symbols+set}" = set; then :
    121988819  enableval=$enable_symbols; tcl_ok=$enableval
    121998820else
     
    122058826        CFLAGS_DEFAULT="${CFLAGS_OPTIMIZE}"
    122068827        LDFLAGS_DEFAULT="${LDFLAGS_OPTIMIZE}"
    12207         { $as_echo "$as_me:$LINENO: result: no" >&5
     8828        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    122088829$as_echo "no" >&6; }
    122098830    else
     
    122118832        LDFLAGS_DEFAULT="${LDFLAGS_DEBUG}"
    122128833        if test "$tcl_ok" = "yes"; then
    12213             { $as_echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
     8834            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
    122148835$as_echo "yes (standard debugging)" >&6; }
    122158836        fi
     
    122258846    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
    122268847
    12227 cat >>confdefs.h <<\_ACEOF
    12228 #define TCL_MEM_DEBUG 1
    12229 _ACEOF
     8848$as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
    122308849
    122318850    fi
     
    122338852    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
    122348853        if test "$tcl_ok" = "all"; then
    12235             { $as_echo "$as_me:$LINENO: result: enabled symbols mem debugging" >&5
     8854            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem debugging" >&5
    122368855$as_echo "enabled symbols mem debugging" >&6; }
    122378856        else
    12238             { $as_echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
     8857            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
    122398858$as_echo "enabled $tcl_ok debugging" >&6; }
    122408859        fi
     
    122508869
    122518870
    12252 cat >>confdefs.h <<\_ACEOF
    12253 #define USE_TCL_STUBS 1
    12254 _ACEOF
     8871$as_echo "#define USE_TCL_STUBS 1" >>confdefs.h
    122558872
    122568873#AC_DEFINE(USE_TK_STUBS, 1, [Use Tk stubs])
     
    123458962
    123468963
    12347     { $as_echo "$as_me:$LINENO: checking for tclsh" >&5
     8964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5
    123488965$as_echo_n "checking for tclsh... " >&6; }
    123498966    if test -f "${TCL_BIN_DIR}/Makefile" ; then
     
    123728989        TCLSH_PROG="${REAL_TCL_BIN_DIR}/${TCLSH_PROG}"
    123738990    fi
    12374     { $as_echo "$as_me:$LINENO: result: ${TCLSH_PROG}" >&5
     8991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH_PROG}" >&5
    123758992$as_echo "${TCLSH_PROG}" >&6; }
    123768993
     
    123818998EXACT_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}-${PATCHLEVEL}
    123828999NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION}
     9000
     9001
     9002
     9003
    123839004
    123849005
     
    124269047    *${as_nl}*)
    124279048      case $ac_var in #(
    12428       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    12429 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     9049      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     9050$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    124309051      esac
    124319052      case $ac_var in #(
    124329053      _ | IFS | as_nl) ;; #(
    124339054      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    12434       *) $as_unset $ac_var ;;
     9055      *) { eval $ac_var=; unset $ac_var;} ;;
    124359056      esac ;;
    124369057    esac
     
    124409061    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    124419062    *${as_nl}ac_space=\ *)
    12442       # `set' does not quote correctly, so add quotes (double-quote
    12443       # substitution turns \\\\ into \\, and sed turns \\ into \).
     9063      # `set' does not quote correctly, so add quotes: double-quote
     9064      # substitution turns \\\\ into \\, and sed turns \\ into \.
    124449065      sed -n \
    124459066        "s/'/'\\\\''/g;
     
    124639084if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    124649085  if test -w "$cache_file"; then
    12465     test "x$cache_file" != "x/dev/null" &&
    12466       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     9086    if test "x$cache_file" != "x/dev/null"; then
     9087      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    124679088$as_echo "$as_me: updating cache $cache_file" >&6;}
    12468     cat confcache >$cache_file
     9089      if test ! -f "$cache_file" || test -h "$cache_file"; then
     9090        cat confcache >"$cache_file"
     9091      else
     9092        case $cache_file in #(
     9093        */* | ?:*)
     9094          mv -f confcache "$cache_file"$$ &&
     9095          mv -f "$cache_file"$$ "$cache_file" ;; #(
     9096        *)
     9097          mv -f confcache "$cache_file" ;;
     9098        esac
     9099      fi
     9100    fi
    124699101  else
    12470     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     9102    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    124719103$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    124729104  fi
     
    125189150ac_libobjs=
    125199151ac_ltlibobjs=
     9152U=
    125209153for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    125219154  # 1. Remove the extension, and $U if already installed.
     
    125249157  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    125259158  #    will be set to the directory where LIBOBJS objects are built.
    12526   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    12527   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     9159  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     9160  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    125289161done
    125299162LIBOBJS=$ac_libobjs
     
    125339166
    125349167
    12535 : ${CONFIG_STATUS=./config.status}
     9168
     9169: "${CONFIG_STATUS=./config.status}"
    125369170ac_write_fail=0
    125379171ac_clean_files_save=$ac_clean_files
    125389172ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    12539 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     9173{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    125409174$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    12541 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9175as_write_fail=0
     9176cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    125429177#! $SHELL
    125439178# Generated by $as_me.
     
    125499184ac_cs_recheck=false
    125509185ac_cs_silent=false
     9186
    125519187SHELL=\${CONFIG_SHELL-$SHELL}
    12552 _ACEOF
    12553 
    12554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12555 ## --------------------- ##
    12556 ## M4sh Initialization.  ##
    12557 ## --------------------- ##
     9188export SHELL
     9189_ASEOF
     9190cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     9191## -------------------- ##
     9192## M4sh Initialization. ##
     9193## -------------------- ##
    125589194
    125599195# Be more Bourne compatible
    125609196DUALCASE=1; export DUALCASE # for MKS sh
    12561 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     9197if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    125629198  emulate sh
    125639199  NULLCMD=:
     
    125679203  setopt NO_GLOB_SUBST
    125689204else
    12569   case `(set -o) 2>/dev/null` in
    12570   *posix*) set -o posix ;;
     9205  case `(set -o) 2>/dev/null` in #(
     9206  *posix*) :
     9207    set -o posix ;; #(
     9208  *) :
     9209     ;;
    125719210esac
    12572 
    12573 fi
    12574 
    12575 
    12576 
    12577 
    12578 # PATH needs CR
    12579 # Avoid depending upon Character Ranges.
    12580 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    12581 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    12582 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    12583 as_cr_digits='0123456789'
    12584 as_cr_alnum=$as_cr_Letters$as_cr_digits
     9211fi
     9212
    125859213
    125869214as_nl='
     
    125919219as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    125929220as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    12593 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     9221# Prefer a ksh shell builtin over an external printf program on Solaris,
     9222# but without wasting forks for bash or zsh.
     9223if test -z "$BASH_VERSION$ZSH_VERSION" \
     9224    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     9225  as_echo='print -r --'
     9226  as_echo_n='print -rn --'
     9227elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    125949228  as_echo='printf %s\n'
    125959229  as_echo_n='printf %s'
     
    126029236    as_echo_n_body='eval
    126039237      arg=$1;
    12604       case $arg in
     9238      case $arg in #(
    126059239      *"$as_nl"*)
    126069240        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    126259259fi
    126269260
    12627 # Support unset when possible.
    12628 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    12629   as_unset=unset
    12630 else
    12631   as_unset=false
    12632 fi
    12633 
    126349261
    126359262# IFS
     
    126419268
    126429269# Find who we are.  Look in the path if we contain no directory separator.
    12643 case $0 in
     9270as_myself=
     9271case $0 in #((
    126449272  *[\\/]* ) as_myself=$0 ;;
    126459273  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    126489276  IFS=$as_save_IFS
    126499277  test -z "$as_dir" && as_dir=.
    12650   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    12651 done
     9278    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     9279  done
    126529280IFS=$as_save_IFS
    126539281
     
    126619289if test ! -f "$as_myself"; then
    126629290  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    12663   { (exit 1); exit 1; }
    12664 fi
    12665 
    12666 # Work around bugs in pre-3.0 UWIN ksh.
    12667 for as_var in ENV MAIL MAILPATH
    12668 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9291  exit 1
     9292fi
     9293
     9294# Unset variables that we do not need and which cause bugs (e.g. in
     9295# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     9296# suppresses any "Segmentation fault" message there.  '((' could
     9297# trigger a bug in pdksh 5.2.14.
     9298for as_var in BASH_ENV ENV MAIL MAILPATH
     9299do eval test x\${$as_var+set} = xset \
     9300  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    126699301done
    126709302PS1='$ '
     
    126789310export LANGUAGE
    126799311
    12680 # Required to use basename.
     9312# CDPATH.
     9313(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     9314
     9315
     9316# as_fn_error STATUS ERROR [LINENO LOG_FD]
     9317# ----------------------------------------
     9318# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     9319# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     9320# script with STATUS, using 1 if that was 0.
     9321as_fn_error ()
     9322{
     9323  as_status=$1; test $as_status -eq 0 && as_status=1
     9324  if test "$4"; then
     9325    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     9326    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     9327  fi
     9328  $as_echo "$as_me: error: $2" >&2
     9329  as_fn_exit $as_status
     9330} # as_fn_error
     9331
     9332
     9333# as_fn_set_status STATUS
     9334# -----------------------
     9335# Set $? to STATUS, without forking.
     9336as_fn_set_status ()
     9337{
     9338  return $1
     9339} # as_fn_set_status
     9340
     9341# as_fn_exit STATUS
     9342# -----------------
     9343# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     9344as_fn_exit ()
     9345{
     9346  set +e
     9347  as_fn_set_status $1
     9348  exit $1
     9349} # as_fn_exit
     9350
     9351# as_fn_unset VAR
     9352# ---------------
     9353# Portably unset VAR.
     9354as_fn_unset ()
     9355{
     9356  { eval $1=; unset $1;}
     9357}
     9358as_unset=as_fn_unset
     9359# as_fn_append VAR VALUE
     9360# ----------------------
     9361# Append the text in VALUE to the end of the definition contained in VAR. Take
     9362# advantage of any shell optimizations that allow amortized linear growth over
     9363# repeated appends, instead of the typical quadratic growth present in naive
     9364# implementations.
     9365if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     9366  eval 'as_fn_append ()
     9367  {
     9368    eval $1+=\$2
     9369  }'
     9370else
     9371  as_fn_append ()
     9372  {
     9373    eval $1=\$$1\$2
     9374  }
     9375fi # as_fn_append
     9376
     9377# as_fn_arith ARG...
     9378# ------------------
     9379# Perform arithmetic evaluation on the ARGs, and store the result in the
     9380# global $as_val. Take advantage of shells that can avoid forks. The arguments
     9381# must be portable across $(()) and expr.
     9382if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     9383  eval 'as_fn_arith ()
     9384  {
     9385    as_val=$(( $* ))
     9386  }'
     9387else
     9388  as_fn_arith ()
     9389  {
     9390    as_val=`expr "$@" || test $? -eq 1`
     9391  }
     9392fi # as_fn_arith
     9393
     9394
    126819395if expr a : '\(a\)' >/dev/null 2>&1 &&
    126829396   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    126929406fi
    126939407
    12694 
    12695 # Name of the executable.
     9408if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     9409  as_dirname=dirname
     9410else
     9411  as_dirname=false
     9412fi
     9413
    126969414as_me=`$as_basename -- "$0" ||
    126979415$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    127139431          s/.*/./; q'`
    127149432
    12715 # CDPATH.
    12716 $as_unset CDPATH
    12717 
    12718 
    12719 
    12720   as_lineno_1=$LINENO
    12721   as_lineno_2=$LINENO
    12722   test "x$as_lineno_1" != "x$as_lineno_2" &&
    12723   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    12724 
    12725   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    12726   # uniformly replaced by the line number.  The first 'sed' inserts a
    12727   # line-number line after each line using $LINENO; the second 'sed'
    12728   # does the real work.  The second script uses 'N' to pair each
    12729   # line-number line with the line containing $LINENO, and appends
    12730   # trailing '-' during substitution so that $LINENO is not a special
    12731   # case at line end.
    12732   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    12733   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    12734   # E. McMahon (1931-1989) for sed's syntax.  :-)
    12735   sed -n '
    12736     p
    12737     /[$]LINENO/=
    12738   ' <$as_myself |
    12739     sed '
    12740       s/[$]LINENO.*/&-/
    12741       t lineno
    12742       b
    12743       :lineno
    12744       N
    12745       :loop
    12746       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    12747       t loop
    12748       s/-\n.*//
    12749     ' >$as_me.lineno &&
    12750   chmod +x "$as_me.lineno" ||
    12751     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    12752    { (exit 1); exit 1; }; }
    12753 
    12754   # Don't try to exec as it changes $[0], causing all sort of problems
    12755   # (the dirname of $[0] is not the place where we might find the
    12756   # original and so on.  Autoconf is especially sensitive to this).
    12757   . "./$as_me.lineno"
    12758   # Exit status is that of the last command.
    12759   exit
    12760 }
    12761 
    12762 
    12763 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    12764   as_dirname=dirname
    12765 else
    12766   as_dirname=false
    12767 fi
     9433# Avoid depending upon Character Ranges.
     9434as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     9435as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     9436as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     9437as_cr_digits='0123456789'
     9438as_cr_alnum=$as_cr_Letters$as_cr_digits
    127689439
    127699440ECHO_C= ECHO_N= ECHO_T=
    12770 case `echo -n x` in
     9441case `echo -n x` in #(((((
    127719442-n*)
    12772   case `echo 'x\c'` in
     9443  case `echo 'xy\c'` in
    127739444  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    12774   *)   ECHO_C='\c';;
     9445  xy)  ECHO_C='\c';;
     9446  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     9447       ECHO_T=' ';;
    127759448  esac;;
    127769449*)
    127779450  ECHO_N='-n';;
    127789451esac
    12779 if expr a : '\(a\)' >/dev/null 2>&1 &&
    12780    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    12781   as_expr=expr
    12782 else
    12783   as_expr=false
    12784 fi
    127859452
    127869453rm -f conf$$ conf$$.exe conf$$.file
     
    127979464    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    127989465    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    12799     # In both cases, we have to default to `cp -p'.
     9466    # In both cases, we have to default to `cp -pR'.
    128009467    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    12801       as_ln_s='cp -p'
     9468      as_ln_s='cp -pR'
    128029469  elif ln conf$$.file conf$$ 2>/dev/null; then
    128039470    as_ln_s=ln
    128049471  else
    12805     as_ln_s='cp -p'
     9472    as_ln_s='cp -pR'
    128069473  fi
    128079474else
    12808   as_ln_s='cp -p'
     9475  as_ln_s='cp -pR'
    128099476fi
    128109477rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    128119478rmdir conf$$.dir 2>/dev/null
    128129479
    12813 if mkdir -p . 2>/dev/null; then
    12814   as_mkdir_p=:
    12815 else
    12816   test -d ./-p && rmdir ./-p
    12817   as_mkdir_p=false
    12818 fi
    12819 
    12820 if test -x / >/dev/null 2>&1; then
    12821   as_test_x='test -x'
    12822 else
    12823   if ls -dL / >/dev/null 2>&1; then
    12824     as_ls_L_option=L
    12825   else
    12826     as_ls_L_option=
    12827   fi
    12828   as_test_x='
    12829     eval sh -c '\''
    12830       if test -d "$1"; then
    12831         test -d "$1/.";
    12832       else
    12833         case $1 in
    12834         -*)set "./$1";;
    12835         esac;
    12836         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    12837         ???[sx]*):;;*)false;;esac;fi
    12838     '\'' sh
    12839   '
    12840 fi
    12841 as_executable_p=$as_test_x
    12842 
    12843 # Sed expression to map a string onto a valid CPP name.
    12844 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    12845 
    12846 # Sed expression to map a string onto a valid variable name.
    12847 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    12848 
    12849 
    12850 exec 6>&1
    12851 
    12852 # Save the log message, to keep $[0] and so on meaningful, and to
    12853 # report actual input values of CONFIG_FILES etc. instead of their
    12854 # values after options handling.
    12855 ac_log="
    12856 This file was extended by RapptureOptimizer $as_me 1.0, which was
    12857 generated by GNU Autoconf 2.62.  Invocation command line was
    12858 
    12859   CONFIG_FILES    = $CONFIG_FILES
    12860   CONFIG_HEADERS  = $CONFIG_HEADERS
    12861   CONFIG_LINKS    = $CONFIG_LINKS
    12862   CONFIG_COMMANDS = $CONFIG_COMMANDS
    12863   $ $0 $@
    12864 
    12865 on `(hostname || uname -n) 2>/dev/null | sed 1q`
    12866 "
    12867 
    12868 _ACEOF
    12869 
    12870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    12871 # Files that config.status was made for.
    12872 config_files="$ac_config_files"
    12873 
    12874 _ACEOF
    12875 
    12876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12877 ac_cs_usage="\
    12878 \`$as_me' instantiates files from templates according to the
    12879 current configuration.
    12880 
    12881 Usage: $0 [OPTIONS] [FILE]...
    12882 
    12883   -h, --help       print this help, then exit
    12884   -V, --version    print version number and configuration settings, then exit
    12885   -q, --quiet      do not print progress messages
    12886   -d, --debug      don't remove temporary files
    12887       --recheck    update $as_me by reconfiguring in the same conditions
    12888   --file=FILE[:TEMPLATE]
    12889                    instantiate the configuration file FILE
    12890 
    12891 Configuration files:
    12892 $config_files
    12893 
    12894 Report bugs to <bug-autoconf@gnu.org>."
    12895 
    12896 _ACEOF
    12897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    12898 ac_cs_version="\\
    12899 RapptureOptimizer config.status 1.0
    12900 configured by $0, generated by GNU Autoconf 2.62,
    12901   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    12902 
    12903 Copyright (C) 2008 Free Software Foundation, Inc.
    12904 This config.status script is free software; the Free Software Foundation
    12905 gives unlimited permission to copy, distribute and modify it."
    12906 
    12907 ac_pwd='$ac_pwd'
    12908 srcdir='$srcdir'
    12909 INSTALL='$INSTALL'
    12910 test -n "\$AWK" || AWK=awk
    12911 _ACEOF
    12912 
    12913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12914 # The default lists apply if the user does not specify any file.
    12915 ac_need_defaults=:
    12916 while test $# != 0
    12917 do
    12918   case $1 in
    12919   --*=*)
    12920     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    12921     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    12922     ac_shift=:
    12923     ;;
    12924   *)
    12925     ac_option=$1
    12926     ac_optarg=$2
    12927     ac_shift=shift
    12928     ;;
    12929   esac
    12930 
    12931   case $ac_option in
    12932   # Handling of the options.
    12933   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    12934     ac_cs_recheck=: ;;
    12935   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    12936     $as_echo "$ac_cs_version"; exit ;;
    12937   --debug | --debu | --deb | --de | --d | -d )
    12938     debug=: ;;
    12939   --file | --fil | --fi | --f )
    12940     $ac_shift
    12941     case $ac_optarg in
    12942     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    12943     esac
    12944     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    12945     ac_need_defaults=false;;
    12946   --he | --h |  --help | --hel | -h )
    12947     $as_echo "$ac_cs_usage"; exit ;;
    12948   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    12949   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    12950     ac_cs_silent=: ;;
    12951 
    12952   # This is an error.
    12953   -*) { $as_echo "$as_me: error: unrecognized option: $1
    12954 Try \`$0 --help' for more information." >&2
    12955    { (exit 1); exit 1; }; } ;;
    12956 
    12957   *) ac_config_targets="$ac_config_targets $1"
    12958      ac_need_defaults=false ;;
    12959 
    12960   esac
    12961   shift
    12962 done
    12963 
    12964 ac_configure_extra_args=
    12965 
    12966 if $ac_cs_silent; then
    12967   exec 6>/dev/null
    12968   ac_configure_extra_args="$ac_configure_extra_args --silent"
    12969 fi
    12970 
    12971 _ACEOF
    12972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    12973 if \$ac_cs_recheck; then
    12974   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    12975   shift
    12976   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    12977   CONFIG_SHELL='$SHELL'
    12978   export CONFIG_SHELL
    12979   exec "\$@"
    12980 fi
    12981 
    12982 _ACEOF
    12983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12984 exec 5>>config.log
     9480
     9481# as_fn_mkdir_p
     9482# -------------
     9483# Create "$as_dir" as a directory, including parents if necessary.
     9484as_fn_mkdir_p ()
    129859485{
    12986   echo
    12987   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    12988 ## Running $as_me. ##
    12989 _ASBOX
    12990   $as_echo "$ac_log"
    12991 } >&5
    12992 
    12993 _ACEOF
    12994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    12995 _ACEOF
    12996 
    12997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12998 
    12999 # Handling of arguments.
    13000 for ac_config_target in $ac_config_targets
    13001 do
    13002   case $ac_config_target in
    13003     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    13004     "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;
    13005 
    13006   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    13007 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    13008    { (exit 1); exit 1; }; };;
    13009   esac
    13010 done
    13011 
    13012 
    13013 # If the user did not use the arguments to specify the items to instantiate,
    13014 # then the envvar interface is used.  Set only those that are not.
    13015 # We use the long form for the default assignment because of an extremely
    13016 # bizarre bug on SunOS 4.1.3.
    13017 if $ac_need_defaults; then
    13018   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    13019 fi
    13020 
    13021 # Have a temporary directory for convenience.  Make it in the build tree
    13022 # simply because there is no reason against having it here, and in addition,
    13023 # creating and moving files from /tmp can sometimes cause problems.
    13024 # Hook for its removal unless debugging.
    13025 # Note that there is a small window in which the directory will not be cleaned:
    13026 # after its creation but before its name has been assigned to `$tmp'.
    13027 $debug ||
    13028 {
    13029   tmp=
    13030   trap 'exit_status=$?
    13031   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    13032 ' 0
    13033   trap '{ (exit 1); exit 1; }' 1 2 13 15
    13034 }
    13035 # Create a (secure) tmp directory for tmp files.
    13036 
    13037 {
    13038   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    13039   test -n "$tmp" && test -d "$tmp"
    13040 }  ||
    13041 {
    13042   tmp=./conf$$-$RANDOM
    13043   (umask 077 && mkdir "$tmp")
    13044 } ||
    13045 {
    13046    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    13047    { (exit 1); exit 1; }
    13048 }
    13049 
    13050 # Set up the scripts for CONFIG_FILES section.
    13051 # No need to generate them if there are no CONFIG_FILES.
    13052 # This happens for instance with `./config.status config.h'.
    13053 if test -n "$CONFIG_FILES"; then
    13054 
    13055 
    13056 ac_cr='
    13057 '
    13058 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    13059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    13060   ac_cs_awk_cr='\\r'
    13061 else
    13062   ac_cs_awk_cr=$ac_cr
    13063 fi
    13064 
    13065 echo 'BEGIN {' >"$tmp/subs1.awk" &&
    13066 _ACEOF
    13067 
    13068 
    13069 {
    13070   echo "cat >conf$$subs.awk <<_ACEOF" &&
    13071   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
    13072   echo "_ACEOF"
    13073 } >conf$$subs.sh ||
    13074   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13075 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13076    { (exit 1); exit 1; }; }
    13077 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    13078 ac_delim='%!_!# '
    13079 for ac_last_try in false false false false false :; do
    13080   . ./conf$$subs.sh ||
    13081     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13082 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13083    { (exit 1); exit 1; }; }
    13084 
    13085   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
    13086     break
    13087   elif $ac_last_try; then
    13088     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13089 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13090    { (exit 1); exit 1; }; }
    13091   else
    13092     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    13093   fi
    13094 done
    13095 rm -f conf$$subs.sh
    13096 
    13097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    13098 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    13099 _ACEOF
    13100 sed -n '
    13101 h
    13102 s/^/S["/; s/!.*/"]=/
    13103 p
    13104 g
    13105 s/^[^!]*!//
    13106 :repl
    13107 t repl
    13108 s/'"$ac_delim"'$//
    13109 t delim
    13110 :nl
    13111 h
    13112 s/\(.\{148\}\).*/\1/
    13113 t more1
    13114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    13115 p
    13116 n
    13117 b repl
    13118 :more1
    13119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    13120 p
    13121 g
    13122 s/.\{148\}//
    13123 t nl
    13124 :delim
    13125 h
    13126 s/\(.\{148\}\).*/\1/
    13127 t more2
    13128 s/["\\]/\\&/g; s/^/"/; s/$/"/
    13129 p
    13130 b
    13131 :more2
    13132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    13133 p
    13134 g
    13135 s/.\{148\}//
    13136 t delim
    13137 ' <conf$$subs.awk | sed '
    13138 /^[^""]/{
    13139   N
    13140   s/\n//
    13141 }
    13142 ' >>$CONFIG_STATUS || ac_write_fail=1
    13143 rm -f conf$$subs.awk
    13144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    13145 _ACAWK
    13146 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    13147   for (key in S) S_is_set[key] = 1
    13148   FS = ""
    13149 
    13150 }
    13151 {
    13152   line = $ 0
    13153   nfields = split(line, field, "@")
    13154   substed = 0
    13155   len = length(field[1])
    13156   for (i = 2; i < nfields; i++) {
    13157     key = field[i]
    13158     keylen = length(key)
    13159     if (S_is_set[key]) {
    13160       value = S[key]
    13161       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
    13162       len += length(value) + length(field[++i])
    13163       substed = 1
    13164     } else
    13165       len += 1 + keylen
    13166   }
    13167 
    13168   print line
    13169 }
    13170 
    13171 _ACAWK
    13172 _ACEOF
    13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    13174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
    13175   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    13176 else
    13177   cat
    13178 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    13179   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    13180 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    13181    { (exit 1); exit 1; }; }
    13182 _ACEOF
    13183 
    13184 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    13185 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    13186 # trailing colons and then remove the whole line if VPATH becomes empty
    13187 # (actually we leave an empty line to preserve line numbers).
    13188 if test "x$srcdir" = x.; then
    13189   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    13190 s/:*\$(srcdir):*/:/
    13191 s/:*\${srcdir}:*/:/
    13192 s/:*@srcdir@:*/:/
    13193 s/^\([^=]*=[     ]*\):*/\1/
    13194 s/:*$//
    13195 s/^[^=]*=[       ]*$//
    13196 }'
    13197 fi
    13198 
    13199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    13200 fi # test -n "$CONFIG_FILES"
    13201 
    13202 
    13203 eval set X "  :F $CONFIG_FILES      "
    13204 shift
    13205 for ac_tag
    13206 do
    13207   case $ac_tag in
    13208   :[FHLC]) ac_mode=$ac_tag; continue;;
    13209   esac
    13210   case $ac_mode$ac_tag in
    13211   :[FHL]*:*);;
    13212   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    13213 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    13214    { (exit 1); exit 1; }; };;
    13215   :[FH]-) ac_tag=-:-;;
    13216   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    13217   esac
    13218   ac_save_IFS=$IFS
    13219   IFS=:
    13220   set x $ac_tag
    13221   IFS=$ac_save_IFS
    13222   shift
    13223   ac_file=$1
    13224   shift
    13225 
    13226   case $ac_mode in
    13227   :L) ac_source=$1;;
    13228   :[FH])
    13229     ac_file_inputs=
    13230     for ac_f
    13231     do
    13232       case $ac_f in
    13233       -) ac_f="$tmp/stdin";;
    13234       *) # Look for the file first in the build tree, then in the source tree
    13235          # (if the path is not absolute).  The absolute path cannot be DOS-style,
    13236          # because $ac_f cannot contain `:'.
    13237          test -f "$ac_f" ||
    13238            case $ac_f in
    13239            [\\/$]*) false;;
    13240            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    13241            esac ||
    13242            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    13243 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    13244    { (exit 1); exit 1; }; };;
    13245       esac
    13246       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    13247       ac_file_inputs="$ac_file_inputs '$ac_f'"
    13248     done
    13249 
    13250     # Let's still pretend it is `configure' which instantiates (i.e., don't
    13251     # use $as_me), people would be surprised to read:
    13252     #    /* config.h.  Generated by config.status.  */
    13253     configure_input='Generated from '`
    13254           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    13255         `' by configure.'
    13256     if test x"$ac_file" != x-; then
    13257       configure_input="$ac_file.  $configure_input"
    13258       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    13259 $as_echo "$as_me: creating $ac_file" >&6;}
    13260     fi
    13261     # Neutralize special characters interpreted by sed in replacement strings.
    13262     case $configure_input in #(
    13263     *\&* | *\|* | *\\* )
    13264        ac_sed_conf_input=`$as_echo "$configure_input" |
    13265        sed 's/[\\\\&|]/\\\\&/g'`;; #(
    13266     *) ac_sed_conf_input=$configure_input;;
    13267     esac
    13268 
    13269     case $ac_tag in
    13270     *:-:* | *:-) cat >"$tmp/stdin" \
    13271       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13272 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13273    { (exit 1); exit 1; }; } ;;
    13274     esac
    13275     ;;
    13276   esac
    13277 
    13278   ac_dir=`$as_dirname -- "$ac_file" ||
    13279 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    13280          X"$ac_file" : 'X\(//\)[^/]' \| \
    13281          X"$ac_file" : 'X\(//\)$' \| \
    13282          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    13283 $as_echo X"$ac_file" |
    13284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    13285             s//\1/
    13286             q
    13287           }
    13288           /^X\(\/\/\)[^/].*/{
    13289             s//\1/
    13290             q
    13291           }
    13292           /^X\(\/\/\)$/{
    13293             s//\1/
    13294             q
    13295           }
    13296           /^X\(\/\).*/{
    13297             s//\1/
    13298             q
    13299           }
    13300           s/.*/./; q'`
    13301   { as_dir="$ac_dir"
     9486
    133029487  case $as_dir in #(
    133039488  -*) as_dir=./$as_dir;;
    133049489  esac
    13305   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     9490  test -d "$as_dir" || eval $as_mkdir_p || {
    133069491    as_dirs=
    133079492    while :; do
     
    133379522    done
    133389523    test -z "$as_dirs" || eval "mkdir $as_dirs"
    13339   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    13340 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    13341    { (exit 1); exit 1; }; }; }
     9524  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     9525
     9526
     9527} # as_fn_mkdir_p
     9528if mkdir -p . 2>/dev/null; then
     9529  as_mkdir_p='mkdir -p "$as_dir"'
     9530else
     9531  test -d ./-p && rmdir ./-p
     9532  as_mkdir_p=false
     9533fi
     9534
     9535
     9536# as_fn_executable_p FILE
     9537# -----------------------
     9538# Test if FILE is an executable regular file.
     9539as_fn_executable_p ()
     9540{
     9541  test -f "$1" && test -x "$1"
     9542} # as_fn_executable_p
     9543as_test_x='test -x'
     9544as_executable_p=as_fn_executable_p
     9545
     9546# Sed expression to map a string onto a valid CPP name.
     9547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     9548
     9549# Sed expression to map a string onto a valid variable name.
     9550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     9551
     9552
     9553exec 6>&1
     9554## ----------------------------------- ##
     9555## Main body of $CONFIG_STATUS script. ##
     9556## ----------------------------------- ##
     9557_ASEOF
     9558test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     9559
     9560cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9561# Save the log message, to keep $0 and so on meaningful, and to
     9562# report actual input values of CONFIG_FILES etc. instead of their
     9563# values after options handling.
     9564ac_log="
     9565This file was extended by RapptureOptimizer $as_me 1.0, which was
     9566generated by GNU Autoconf 2.69.  Invocation command line was
     9567
     9568  CONFIG_FILES    = $CONFIG_FILES
     9569  CONFIG_HEADERS  = $CONFIG_HEADERS
     9570  CONFIG_LINKS    = $CONFIG_LINKS
     9571  CONFIG_COMMANDS = $CONFIG_COMMANDS
     9572  $ $0 $@
     9573
     9574on `(hostname || uname -n) 2>/dev/null | sed 1q`
     9575"
     9576
     9577_ACEOF
     9578
     9579case $ac_config_files in *"
     9580"*) set x $ac_config_files; shift; ac_config_files=$*;;
     9581esac
     9582
     9583
     9584
     9585cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9586# Files that config.status was made for.
     9587config_files="$ac_config_files"
     9588
     9589_ACEOF
     9590
     9591cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9592ac_cs_usage="\
     9593\`$as_me' instantiates files and other configuration actions
     9594from templates according to the current configuration.  Unless the files
     9595and actions are specified as TAGs, all are instantiated by default.
     9596
     9597Usage: $0 [OPTION]... [TAG]...
     9598
     9599  -h, --help       print this help, then exit
     9600  -V, --version    print version number and configuration settings, then exit
     9601      --config     print configuration, then exit
     9602  -q, --quiet, --silent
     9603                   do not print progress messages
     9604  -d, --debug      don't remove temporary files
     9605      --recheck    update $as_me by reconfiguring in the same conditions
     9606      --file=FILE[:TEMPLATE]
     9607                   instantiate the configuration file FILE
     9608
     9609Configuration files:
     9610$config_files
     9611
     9612Report bugs to the package provider."
     9613
     9614_ACEOF
     9615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9616ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     9617ac_cs_version="\\
     9618RapptureOptimizer config.status 1.0
     9619configured by $0, generated by GNU Autoconf 2.69,
     9620  with options \\"\$ac_cs_config\\"
     9621
     9622Copyright (C) 2012 Free Software Foundation, Inc.
     9623This config.status script is free software; the Free Software Foundation
     9624gives unlimited permission to copy, distribute and modify it."
     9625
     9626ac_pwd='$ac_pwd'
     9627srcdir='$srcdir'
     9628INSTALL='$INSTALL'
     9629test -n "\$AWK" || AWK=awk
     9630_ACEOF
     9631
     9632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9633# The default lists apply if the user does not specify any file.
     9634ac_need_defaults=:
     9635while test $# != 0
     9636do
     9637  case $1 in
     9638  --*=?*)
     9639    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9640    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9641    ac_shift=:
     9642    ;;
     9643  --*=)
     9644    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9645    ac_optarg=
     9646    ac_shift=:
     9647    ;;
     9648  *)
     9649    ac_option=$1
     9650    ac_optarg=$2
     9651    ac_shift=shift
     9652    ;;
     9653  esac
     9654
     9655  case $ac_option in
     9656  # Handling of the options.
     9657  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     9658    ac_cs_recheck=: ;;
     9659  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     9660    $as_echo "$ac_cs_version"; exit ;;
     9661  --config | --confi | --conf | --con | --co | --c )
     9662    $as_echo "$ac_cs_config"; exit ;;
     9663  --debug | --debu | --deb | --de | --d | -d )
     9664    debug=: ;;
     9665  --file | --fil | --fi | --f )
     9666    $ac_shift
     9667    case $ac_optarg in
     9668    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9669    '') as_fn_error $? "missing file argument" ;;
     9670    esac
     9671    as_fn_append CONFIG_FILES " '$ac_optarg'"
     9672    ac_need_defaults=false;;
     9673  --he | --h |  --help | --hel | -h )
     9674    $as_echo "$ac_cs_usage"; exit ;;
     9675  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     9676  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     9677    ac_cs_silent=: ;;
     9678
     9679  # This is an error.
     9680  -*) as_fn_error $? "unrecognized option: \`$1'
     9681Try \`$0 --help' for more information." ;;
     9682
     9683  *) as_fn_append ac_config_targets " $1"
     9684     ac_need_defaults=false ;;
     9685
     9686  esac
     9687  shift
     9688done
     9689
     9690ac_configure_extra_args=
     9691
     9692if $ac_cs_silent; then
     9693  exec 6>/dev/null
     9694  ac_configure_extra_args="$ac_configure_extra_args --silent"
     9695fi
     9696
     9697_ACEOF
     9698cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9699if \$ac_cs_recheck; then
     9700  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9701  shift
     9702  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     9703  CONFIG_SHELL='$SHELL'
     9704  export CONFIG_SHELL
     9705  exec "\$@"
     9706fi
     9707
     9708_ACEOF
     9709cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9710exec 5>>config.log
     9711{
     9712  echo
     9713  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     9714## Running $as_me. ##
     9715_ASBOX
     9716  $as_echo "$ac_log"
     9717} >&5
     9718
     9719_ACEOF
     9720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9721_ACEOF
     9722
     9723cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9724
     9725# Handling of arguments.
     9726for ac_config_target in $ac_config_targets
     9727do
     9728  case $ac_config_target in
     9729    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     9730    "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;;
     9731
     9732  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     9733  esac
     9734done
     9735
     9736
     9737# If the user did not use the arguments to specify the items to instantiate,
     9738# then the envvar interface is used.  Set only those that are not.
     9739# We use the long form for the default assignment because of an extremely
     9740# bizarre bug on SunOS 4.1.3.
     9741if $ac_need_defaults; then
     9742  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     9743fi
     9744
     9745# Have a temporary directory for convenience.  Make it in the build tree
     9746# simply because there is no reason against having it here, and in addition,
     9747# creating and moving files from /tmp can sometimes cause problems.
     9748# Hook for its removal unless debugging.
     9749# Note that there is a small window in which the directory will not be cleaned:
     9750# after its creation but before its name has been assigned to `$tmp'.
     9751$debug ||
     9752{
     9753  tmp= ac_tmp=
     9754  trap 'exit_status=$?
     9755  : "${ac_tmp:=$tmp}"
     9756  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     9757' 0
     9758  trap 'as_fn_exit 1' 1 2 13 15
     9759}
     9760# Create a (secure) tmp directory for tmp files.
     9761
     9762{
     9763  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     9764  test -d "$tmp"
     9765}  ||
     9766{
     9767  tmp=./conf$$-$RANDOM
     9768  (umask 077 && mkdir "$tmp")
     9769} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     9770ac_tmp=$tmp
     9771
     9772# Set up the scripts for CONFIG_FILES section.
     9773# No need to generate them if there are no CONFIG_FILES.
     9774# This happens for instance with `./config.status config.h'.
     9775if test -n "$CONFIG_FILES"; then
     9776
     9777
     9778ac_cr=`echo X | tr X '\015'`
     9779# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9780# But we know of no other shell where ac_cr would be empty at this
     9781# point, so we can use a bashism as a fallback.
     9782if test "x$ac_cr" = x; then
     9783  eval ac_cr=\$\'\\r\'
     9784fi
     9785ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     9786if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     9787  ac_cs_awk_cr='\\r'
     9788else
     9789  ac_cs_awk_cr=$ac_cr
     9790fi
     9791
     9792echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     9793_ACEOF
     9794
     9795
     9796{
     9797  echo "cat >conf$$subs.awk <<_ACEOF" &&
     9798  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     9799  echo "_ACEOF"
     9800} >conf$$subs.sh ||
     9801  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9802ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     9803ac_delim='%!_!# '
     9804for ac_last_try in false false false false false :; do
     9805  . ./conf$$subs.sh ||
     9806    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9807
     9808  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     9809  if test $ac_delim_n = $ac_delim_num; then
     9810    break
     9811  elif $ac_last_try; then
     9812    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9813  else
     9814    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9815  fi
     9816done
     9817rm -f conf$$subs.sh
     9818
     9819cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9820cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     9821_ACEOF
     9822sed -n '
     9823h
     9824s/^/S["/; s/!.*/"]=/
     9825p
     9826g
     9827s/^[^!]*!//
     9828:repl
     9829t repl
     9830s/'"$ac_delim"'$//
     9831t delim
     9832:nl
     9833h
     9834s/\(.\{148\}\)..*/\1/
     9835t more1
     9836s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     9837p
     9838n
     9839b repl
     9840:more1
     9841s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9842p
     9843g
     9844s/.\{148\}//
     9845t nl
     9846:delim
     9847h
     9848s/\(.\{148\}\)..*/\1/
     9849t more2
     9850s/["\\]/\\&/g; s/^/"/; s/$/"/
     9851p
     9852b
     9853:more2
     9854s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9855p
     9856g
     9857s/.\{148\}//
     9858t delim
     9859' <conf$$subs.awk | sed '
     9860/^[^""]/{
     9861  N
     9862  s/\n//
     9863}
     9864' >>$CONFIG_STATUS || ac_write_fail=1
     9865rm -f conf$$subs.awk
     9866cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9867_ACAWK
     9868cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     9869  for (key in S) S_is_set[key] = 1
     9870  FS = ""
     9871
     9872}
     9873{
     9874  line = $ 0
     9875  nfields = split(line, field, "@")
     9876  substed = 0
     9877  len = length(field[1])
     9878  for (i = 2; i < nfields; i++) {
     9879    key = field[i]
     9880    keylen = length(key)
     9881    if (S_is_set[key]) {
     9882      value = S[key]
     9883      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     9884      len += length(value) + length(field[++i])
     9885      substed = 1
     9886    } else
     9887      len += 1 + keylen
     9888  }
     9889
     9890  print line
     9891}
     9892
     9893_ACAWK
     9894_ACEOF
     9895cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9896if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     9897  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     9898else
     9899  cat
     9900fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     9901  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     9902_ACEOF
     9903
     9904# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     9905# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     9906# trailing colons and then remove the whole line if VPATH becomes empty
     9907# (actually we leave an empty line to preserve line numbers).
     9908if test "x$srcdir" = x.; then
     9909  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     9910h
     9911s///
     9912s/^/:/
     9913s/[      ]*$/:/
     9914s/:\$(srcdir):/:/g
     9915s/:\${srcdir}:/:/g
     9916s/:@srcdir@:/:/g
     9917s/^:*//
     9918s/:*$//
     9919x
     9920s/\(=[   ]*\).*/\1/
     9921G
     9922s/\n//
     9923s/^[^=]*=[       ]*$//
     9924}'
     9925fi
     9926
     9927cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9928fi # test -n "$CONFIG_FILES"
     9929
     9930
     9931eval set X "  :F $CONFIG_FILES      "
     9932shift
     9933for ac_tag
     9934do
     9935  case $ac_tag in
     9936  :[FHLC]) ac_mode=$ac_tag; continue;;
     9937  esac
     9938  case $ac_mode$ac_tag in
     9939  :[FHL]*:*);;
     9940  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     9941  :[FH]-) ac_tag=-:-;;
     9942  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     9943  esac
     9944  ac_save_IFS=$IFS
     9945  IFS=:
     9946  set x $ac_tag
     9947  IFS=$ac_save_IFS
     9948  shift
     9949  ac_file=$1
     9950  shift
     9951
     9952  case $ac_mode in
     9953  :L) ac_source=$1;;
     9954  :[FH])
     9955    ac_file_inputs=
     9956    for ac_f
     9957    do
     9958      case $ac_f in
     9959      -) ac_f="$ac_tmp/stdin";;
     9960      *) # Look for the file first in the build tree, then in the source tree
     9961         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     9962         # because $ac_f cannot contain `:'.
     9963         test -f "$ac_f" ||
     9964           case $ac_f in
     9965           [\\/$]*) false;;
     9966           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     9967           esac ||
     9968           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     9969      esac
     9970      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     9971      as_fn_append ac_file_inputs " '$ac_f'"
     9972    done
     9973
     9974    # Let's still pretend it is `configure' which instantiates (i.e., don't
     9975    # use $as_me), people would be surprised to read:
     9976    #    /* config.h.  Generated by config.status.  */
     9977    configure_input='Generated from '`
     9978          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     9979        `' by configure.'
     9980    if test x"$ac_file" != x-; then
     9981      configure_input="$ac_file.  $configure_input"
     9982      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     9983$as_echo "$as_me: creating $ac_file" >&6;}
     9984    fi
     9985    # Neutralize special characters interpreted by sed in replacement strings.
     9986    case $configure_input in #(
     9987    *\&* | *\|* | *\\* )
     9988       ac_sed_conf_input=`$as_echo "$configure_input" |
     9989       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     9990    *) ac_sed_conf_input=$configure_input;;
     9991    esac
     9992
     9993    case $ac_tag in
     9994    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     9995      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     9996    esac
     9997    ;;
     9998  esac
     9999
     10000  ac_dir=`$as_dirname -- "$ac_file" ||
     10001$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     10002         X"$ac_file" : 'X\(//\)[^/]' \| \
     10003         X"$ac_file" : 'X\(//\)$' \| \
     10004         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     10005$as_echo X"$ac_file" |
     10006    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10007            s//\1/
     10008            q
     10009          }
     10010          /^X\(\/\/\)[^/].*/{
     10011            s//\1/
     10012            q
     10013          }
     10014          /^X\(\/\/\)$/{
     10015            s//\1/
     10016            q
     10017          }
     10018          /^X\(\/\).*/{
     10019            s//\1/
     10020            q
     10021          }
     10022          s/.*/./; q'`
     10023  as_dir="$ac_dir"; as_fn_mkdir_p
    1334210024  ac_builddir=.
    1334310025
     
    1339110073# FIXME: This hack should be removed a few years after 2.60.
    1339210074ac_datarootdir_hack=; ac_datarootdir_seen=
    13393 
    1339410075ac_sed_dataroot='
    1339510076/datarootdir/ {
     
    1340110082/@infodir@/p
    1340210083/@localedir@/p
    13403 /@mandir@/p
    13404 '
     10084/@mandir@/p'
    1340510085case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    1340610086*datarootdir*) ac_datarootdir_seen=yes;;
    1340710087*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    13408   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10088  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    1340910089$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    1341010090_ACEOF
     
    1341610096  s&@localedir@&$localedir&g
    1341710097  s&@mandir@&$mandir&g
    13418     s&\\\${datarootdir}&$datarootdir&g' ;;
     10098  s&\\\${datarootdir}&$datarootdir&g' ;;
    1341910099esac
    1342010100_ACEOF
     
    1344310123$ac_datarootdir_hack
    1344410124"
    13445 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    13446   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13447 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13448    { (exit 1); exit 1; }; }
     10125eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     10126  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1344910127
    1345010128test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    13451   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    13452   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    13453   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    13454 which seems to be undefined.  Please make sure it is defined." >&5
     10129  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     10130  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     10131      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     10132  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10133which seems to be undefined.  Please make sure it is defined" >&5
    1345510134$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    13456 which seems to be undefined.  Please make sure it is defined." >&2;}
    13457 
    13458   rm -f "$tmp/stdin"
     10135which seems to be undefined.  Please make sure it is defined" >&2;}
     10136
     10137  rm -f "$ac_tmp/stdin"
    1345910138  case $ac_file in
    13460   -) cat "$tmp/out" && rm -f "$tmp/out";;
    13461   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     10139  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     10140  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    1346210141  esac \
    13463   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13464 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13465    { (exit 1); exit 1; }; }
     10142  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1346610143 ;;
    1346710144
     
    1347310150
    1347410151
    13475 { (exit 0); exit 0; }
    13476 _ACEOF
    13477 chmod +x $CONFIG_STATUS
     10152as_fn_exit 0
     10153_ACEOF
    1347810154ac_clean_files=$ac_clean_files_save
    1347910155
    1348010156test $ac_write_fail = 0 ||
    13481   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    13482 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    13483    { (exit 1); exit 1; }; }
     10157  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    1348410158
    1348510159
     
    1350210176  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    1350310177  # would make configure fail if this is the last instruction.
    13504   $ac_cs_success || { (exit 1); exit 1; }
     10178  $ac_cs_success || as_fn_exit 1
    1350510179fi
    1350610180
     
    1354610220      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1354710221      esac
    13548       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     10222      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    1354910223    esac
    1355010224  done
     
    1357510249
    1357610250    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    13577     $as_echo "$as_me:$LINENO: $ac_msg" >&5
     10251    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    1357810252    $as_echo "$ac_msg" >&6
    13579     { as_dir="$ac_dir"
    13580   case $as_dir in #(
    13581   -*) as_dir=./$as_dir;;
    13582   esac
    13583   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    13584     as_dirs=
    13585     while :; do
    13586       case $as_dir in #(
    13587       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    13588       *) as_qdir=$as_dir;;
    13589       esac
    13590       as_dirs="'$as_qdir' $as_dirs"
    13591       as_dir=`$as_dirname -- "$as_dir" ||
    13592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    13593          X"$as_dir" : 'X\(//\)[^/]' \| \
    13594          X"$as_dir" : 'X\(//\)$' \| \
    13595          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    13596 $as_echo X"$as_dir" |
    13597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    13598             s//\1/
    13599             q
    13600           }
    13601           /^X\(\/\/\)[^/].*/{
    13602             s//\1/
    13603             q
    13604           }
    13605           /^X\(\/\/\)$/{
    13606             s//\1/
    13607             q
    13608           }
    13609           /^X\(\/\).*/{
    13610             s//\1/
    13611             q
    13612           }
    13613           s/.*/./; q'`
    13614       test -d "$as_dir" && break
    13615     done
    13616     test -z "$as_dirs" || eval "mkdir $as_dirs"
    13617   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    13618 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    13619    { (exit 1); exit 1; }; }; }
     10253    as_dir="$ac_dir"; as_fn_mkdir_p
    1362010254    ac_builddir=.
    1362110255
     
    1366410298      ac_sub_configure=$ac_aux_dir/configure
    1366510299    else
    13666       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     10300      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    1366710301$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    1366810302      ac_sub_configure=
     
    1367810312      esac
    1367910313
    13680       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     10314      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    1368110315$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    1368210316      # The eval makes quoting arguments work.
    1368310317      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    1368410318           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    13685         { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    13686 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    13687    { (exit 1); exit 1; }; }
     10319        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    1368810320    fi
    1368910321
     
    1369210324fi
    1369310325if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    13694   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
    13695 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
    13696 fi
    13697 
     10326  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     10327$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     10328fi
     10329
Note: See TracChangeset for help on using the changeset viewer.