Changeset 3403


Ignore:
Timestamp:
Feb 28, 2013 7:14:58 PM (10 years ago)
Author:
gah
Message:

make STATSDIR configurable

Location:
trunk/packages/vizservers
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r3362 r3403  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.69 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     213do
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218         /*)
     219           for as_base in sh bash ksh sh5; do
     220             # Try only shells that exist, to save several forks.
     221             as_shell=$as_dir/$as_base
     222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229           done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     268  else
     269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     270$0: rappture@nanohub.org about your system, including any
     271$0: error possibly output before this message. Then install
     272$0: a modern shell, or manually run the script under such a
     273$0: shell if you do have one."
     274  fi
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334         X"$as_dir" : 'X\(//\)[^/]' \| \
     335         X"$as_dir" : 'X\(//\)$' \| \
     336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339            s//\1/
     340            q
     341          }
     342          /^X\(\/\/\)[^/].*/{
     343            s//\1/
     344            q
     345          }
     346          /^X\(\/\/\)$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\).*/{
     351            s//\1/
     352            q
     353          }
     354          s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
    137422if expr a : '\(a\)' >/dev/null 2>&1 &&
    138423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148433fi
    149434
    150 
    151 # Name of the executable.
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
    152441as_me=`$as_basename -- "$0" ||
    153442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169458          s/.*/./; q'`
    170459
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     460# Avoid depending upon Character Ranges.
     461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     464as_cr_digits='0123456789'
     465as_cr_alnum=$as_cr_Letters$as_cr_digits
     466
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460473  sed -n '
    461474    p
     
    474487    ' >$as_me.lineno &&
    475488  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    479495  # Don't try to exec as it changes $[0], causing all sort of problems
    480496  # (the dirname of $[0] is not the place where we might find the
     
    485501}
    486502
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494503ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     504case `echo -n x` in #(((((
    496505-n*)
    497   case `echo 'x\c'` in
     506  case `echo 'xy\c'` in
    498507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
    500511  esac;;
    501512*)
    502513  ECHO_N='-n';;
    503514esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510515
    511516rm -f conf$$ conf$$.exe conf$$.file
     
    522527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    525530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    527532  elif ln conf$$.file conf$$ 2>/dev/null; then
    528533    as_ln_s=ln
    529534  else
    530     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    531536  fi
    532537else
    533   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    534539fi
    535540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537542
    538543if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    540545else
    541546  test -d ./-p && rmdir ./-p
     
    543548fi
    544549
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    567552
    568553# Sed expression to map a string onto a valid CPP name.
     
    573558
    574559
    575 
    576 exec 7<&0 </dev/null 6>&1
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    577562
    578563# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580565# so uname gets run too.
    581566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592577MFLAGS=
    593578MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595579
    596580# Identity of this package.
     
    600584PACKAGE_STRING='vizservers 0.1'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    646631TCL_INC_SPEC
    647632SUBDIRS
     633STATSDIR
    648634SIZEOF_VOID_P
    649635SIZEOF_LONG_LONG
     
    736722prefix
    737723exec_prefix
     724PACKAGE_URL
    738725PACKAGE_BUGREPORT
    739726PACKAGE_STRING
     
    752739with_vtk
    753740with_python
     741with_statsdir
    754742enable_64bit
    755743enable_64bit_vis
     
    834822
    835823  case $ac_option in
    836   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *)    ac_optarg=yes ;;
     824  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     825  *=)   ac_optarg= ;;
     826  *)    ac_optarg=yes ;;
    838827  esac
    839828
     
    880869    # Reject names that are not valid shell variable names.
    881870    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    882       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    883    { (exit 1); exit 1; }; }
     871      as_fn_error $? "invalid feature name: $ac_useropt"
    884872    ac_useropt_orig=$ac_useropt
    885873    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    907895    # Reject names that are not valid shell variable names.
    908896    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    910    { (exit 1); exit 1; }; }
     897      as_fn_error $? "invalid feature name: $ac_useropt"
    911898    ac_useropt_orig=$ac_useropt
    912899    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11121099    # Reject names that are not valid shell variable names.
    11131100    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1114       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1115    { (exit 1); exit 1; }; }
     1101      as_fn_error $? "invalid package name: $ac_useropt"
    11161102    ac_useropt_orig=$ac_useropt
    11171103    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11291115    # Reject names that are not valid shell variable names.
    11301116    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1131       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1132    { (exit 1); exit 1; }; }
     1117      as_fn_error $? "invalid package name: $ac_useropt"
    11331118    ac_useropt_orig=$ac_useropt
    11341119    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11601145    x_libraries=$ac_optarg ;;
    11611146
    1162   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1163 Try \`$0 --help' for more information." >&2
    1164    { (exit 1); exit 1; }; }
     1147  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1148Try \`$0 --help' for more information"
    11651149    ;;
    11661150
     
    11681152    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11691153    # Reject names that are not valid shell variable names.
    1170     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1171       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1172    { (exit 1); exit 1; }; }
     1154    case $ac_envvar in #(
     1155      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1156      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1157    esac
    11731158    eval $ac_envvar=\$ac_optarg
    11741159    export $ac_envvar ;;
     
    11791164    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11801165      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1181     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1166    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11821167    ;;
    11831168
     
    11871172if test -n "$ac_prev"; then
    11881173  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1189   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1190    { (exit 1); exit 1; }; }
     1174  as_fn_error $? "missing argument to $ac_option"
    11911175fi
    11921176
     
    11941178  case $enable_option_checking in
    11951179    no) ;;
    1196     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1197    { (exit 1); exit 1; }; } ;;
     1180    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11981181    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11991182  esac
     
    12181201    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12191202  esac
    1220   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1221    { (exit 1); exit 1; }; }
     1203  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12221204done
    12231205
     
    12331215  if test "x$build_alias" = x; then
    12341216    cross_compiling=maybe
    1235     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1236     If a cross compiler is detected then cross compile mode will be used." >&2
    12371217  elif test "x$build_alias" != "x$host_alias"; then
    12381218    cross_compiling=yes
     
    12491229ac_ls_di=`ls -di .` &&
    12501230ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1251   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1252    { (exit 1); exit 1; }; }
     1231  as_fn_error $? "working directory cannot be determined"
    12531232test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1254   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1255    { (exit 1); exit 1; }; }
     1233  as_fn_error $? "pwd does not report name of working directory"
    12561234
    12571235
     
    12921270if test ! -r "$srcdir/$ac_unique_file"; then
    12931271  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1294   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1295    { (exit 1); exit 1; }; }
     1272  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12961273fi
    12971274ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12981275ac_abs_confdir=`(
    1299         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1300    { (exit 1); exit 1; }; }
     1276        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13011277        pwd)`
    13021278# When building in place, set srcdir=.
     
    13381314      --help=recursive    display the short help of all the included packages
    13391315  -V, --version           display version information and exit
    1340   -q, --quiet, --silent   do not print \`checking...' messages
     1316  -q, --quiet, --silent   do not print \`checking ...' messages
    13411317      --cache-file=FILE   cache test results in FILE [disabled]
    13421318  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14131389  --with-vtk=VERSION      Version of VTK required
    14141390  --with-python=DIR       location of python [default=yes]
     1391  --with-statsdir=DIR     Write statics in DIR
    14151392  --with-x                use the X Window System
    14161393
     
    14211398              nonstandard directory <lib dir>
    14221399  LIBS        libraries to pass to the linker, e.g. -l<library>
    1423   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
    14241401              you have headers in a nonstandard directory <include dir>
    14251402  CPP         C preprocessor
     
    14961473  cat <<\_ACEOF
    14971474vizservers configure 0.1
    1498 generated by GNU Autoconf 2.63
    1499 
    1500 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1501 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.
    15021478This configure script is free software; the Free Software Foundation
    15031479gives unlimited permission to copy, distribute and modify it.
     
    15051481  exit
    15061482fi
     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_c_try_cpp LINENO
     1527# ----------------------
     1528# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1529ac_fn_c_try_cpp ()
     1530{
     1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1532  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1533case "(($ac_try" in
     1534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1535  *) ac_try_echo=$ac_try;;
     1536esac
     1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1538$as_echo "$ac_try_echo"; } >&5
     1539  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1540  ac_status=$?
     1541  if test -s conftest.err; then
     1542    grep -v '^ *+' conftest.err >conftest.er1
     1543    cat conftest.er1 >&5
     1544    mv -f conftest.er1 conftest.err
     1545  fi
     1546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1547  test $ac_status = 0; } > conftest.i && {
     1548         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1549         test ! -s conftest.err
     1550       }; then :
     1551  ac_retval=0
     1552else
     1553  $as_echo "$as_me: failed program was:" >&5
     1554sed 's/^/| /' conftest.$ac_ext >&5
     1555
     1556    ac_retval=1
     1557fi
     1558  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1559  as_fn_set_status $ac_retval
     1560
     1561} # ac_fn_c_try_cpp
     1562
     1563# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1564# -------------------------------------------------------
     1565# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1566# the include files in INCLUDES and setting the cache variable VAR
     1567# accordingly.
     1568ac_fn_c_check_header_mongrel ()
     1569{
     1570  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1571  if eval \${$3+:} false; then :
     1572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1573$as_echo_n "checking for $2... " >&6; }
     1574if eval \${$3+:} false; then :
     1575  $as_echo_n "(cached) " >&6
     1576fi
     1577eval ac_res=\$$3
     1578               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1579$as_echo "$ac_res" >&6; }
     1580else
     1581  # Is the header compilable?
     1582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1583$as_echo_n "checking $2 usability... " >&6; }
     1584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1585/* end confdefs.h.  */
     1586$4
     1587#include <$2>
     1588_ACEOF
     1589if ac_fn_c_try_compile "$LINENO"; then :
     1590  ac_header_compiler=yes
     1591else
     1592  ac_header_compiler=no
     1593fi
     1594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1596$as_echo "$ac_header_compiler" >&6; }
     1597
     1598# Is the header present?
     1599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1600$as_echo_n "checking $2 presence... " >&6; }
     1601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1602/* end confdefs.h.  */
     1603#include <$2>
     1604_ACEOF
     1605if ac_fn_c_try_cpp "$LINENO"; then :
     1606  ac_header_preproc=yes
     1607else
     1608  ac_header_preproc=no
     1609fi
     1610rm -f conftest.err conftest.i conftest.$ac_ext
     1611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1612$as_echo "$ac_header_preproc" >&6; }
     1613
     1614# So?  What about this header?
     1615case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1616  yes:no: )
     1617    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1618$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1619    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1620$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1621    ;;
     1622  no:yes:* )
     1623    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1624$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1625    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1626$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1627    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1628$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1629    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1630$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1631    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1632$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1633( $as_echo "## ----------------------------------- ##
     1634## Report this to rappture@nanohub.org ##
     1635## ----------------------------------- ##"
     1636     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1637    ;;
     1638esac
     1639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1640$as_echo_n "checking for $2... " >&6; }
     1641if eval \${$3+:} false; then :
     1642  $as_echo_n "(cached) " >&6
     1643else
     1644  eval "$3=\$ac_header_compiler"
     1645fi
     1646eval ac_res=\$$3
     1647               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1648$as_echo "$ac_res" >&6; }
     1649fi
     1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1651
     1652} # ac_fn_c_check_header_mongrel
     1653
     1654# ac_fn_c_try_run LINENO
     1655# ----------------------
     1656# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1657# that executables *can* be run.
     1658ac_fn_c_try_run ()
     1659{
     1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1661  if { { ac_try="$ac_link"
     1662case "(($ac_try" in
     1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1664  *) ac_try_echo=$ac_try;;
     1665esac
     1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1667$as_echo "$ac_try_echo"; } >&5
     1668  (eval "$ac_link") 2>&5
     1669  ac_status=$?
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1671  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1672  { { case "(($ac_try" in
     1673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1674  *) ac_try_echo=$ac_try;;
     1675esac
     1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1677$as_echo "$ac_try_echo"; } >&5
     1678  (eval "$ac_try") 2>&5
     1679  ac_status=$?
     1680  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1681  test $ac_status = 0; }; }; then :
     1682  ac_retval=0
     1683else
     1684  $as_echo "$as_me: program exited with status $ac_status" >&5
     1685       $as_echo "$as_me: failed program was:" >&5
     1686sed 's/^/| /' conftest.$ac_ext >&5
     1687
     1688       ac_retval=$ac_status
     1689fi
     1690  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1692  as_fn_set_status $ac_retval
     1693
     1694} # ac_fn_c_try_run
     1695
     1696# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1697# -------------------------------------------------------
     1698# Tests whether HEADER exists and can be compiled using the include files in
     1699# INCLUDES, setting the cache variable VAR accordingly.
     1700ac_fn_c_check_header_compile ()
     1701{
     1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1704$as_echo_n "checking for $2... " >&6; }
     1705if eval \${$3+:} false; then :
     1706  $as_echo_n "(cached) " >&6
     1707else
     1708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1709/* end confdefs.h.  */
     1710$4
     1711#include <$2>
     1712_ACEOF
     1713if ac_fn_c_try_compile "$LINENO"; then :
     1714  eval "$3=yes"
     1715else
     1716  eval "$3=no"
     1717fi
     1718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1719fi
     1720eval ac_res=\$$3
     1721               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1722$as_echo "$ac_res" >&6; }
     1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1724
     1725} # ac_fn_c_check_header_compile
     1726
     1727# ac_fn_c_try_link LINENO
     1728# -----------------------
     1729# Try to link conftest.$ac_ext, and return whether this succeeded.
     1730ac_fn_c_try_link ()
     1731{
     1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1733  rm -f conftest.$ac_objext conftest$ac_exeext
     1734  if { { ac_try="$ac_link"
     1735case "(($ac_try" in
     1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1737  *) ac_try_echo=$ac_try;;
     1738esac
     1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1740$as_echo "$ac_try_echo"; } >&5
     1741  (eval "$ac_link") 2>conftest.err
     1742  ac_status=$?
     1743  if test -s conftest.err; then
     1744    grep -v '^ *+' conftest.err >conftest.er1
     1745    cat conftest.er1 >&5
     1746    mv -f conftest.er1 conftest.err
     1747  fi
     1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1749  test $ac_status = 0; } && {
     1750         test -z "$ac_c_werror_flag" ||
     1751         test ! -s conftest.err
     1752       } && test -s conftest$ac_exeext && {
     1753         test "$cross_compiling" = yes ||
     1754         test -x conftest$ac_exeext
     1755       }; then :
     1756  ac_retval=0
     1757else
     1758  $as_echo "$as_me: failed program was:" >&5
     1759sed 's/^/| /' conftest.$ac_ext >&5
     1760
     1761        ac_retval=1
     1762fi
     1763  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1764  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1765  # interfere with the next link command; also delete a directory that is
     1766  # left behind by Apple's compiler.  We do this before executing the actions.
     1767  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1768  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1769  as_fn_set_status $ac_retval
     1770
     1771} # ac_fn_c_try_link
     1772
     1773# ac_fn_cxx_try_compile LINENO
     1774# ----------------------------
     1775# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1776ac_fn_cxx_try_compile ()
     1777{
     1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1779  rm -f conftest.$ac_objext
     1780  if { { ac_try="$ac_compile"
     1781case "(($ac_try" in
     1782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1783  *) ac_try_echo=$ac_try;;
     1784esac
     1785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1786$as_echo "$ac_try_echo"; } >&5
     1787  (eval "$ac_compile") 2>conftest.err
     1788  ac_status=$?
     1789  if test -s conftest.err; then
     1790    grep -v '^ *+' conftest.err >conftest.er1
     1791    cat conftest.er1 >&5
     1792    mv -f conftest.er1 conftest.err
     1793  fi
     1794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1795  test $ac_status = 0; } && {
     1796         test -z "$ac_cxx_werror_flag" ||
     1797         test ! -s conftest.err
     1798       } && test -s conftest.$ac_objext; then :
     1799  ac_retval=0
     1800else
     1801  $as_echo "$as_me: failed program was:" >&5
     1802sed 's/^/| /' conftest.$ac_ext >&5
     1803
     1804        ac_retval=1
     1805fi
     1806  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1807  as_fn_set_status $ac_retval
     1808
     1809} # ac_fn_cxx_try_compile
     1810
     1811# ac_fn_cxx_try_cpp LINENO
     1812# ------------------------
     1813# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1814ac_fn_cxx_try_cpp ()
     1815{
     1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1817  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1818case "(($ac_try" in
     1819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1820  *) ac_try_echo=$ac_try;;
     1821esac
     1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1823$as_echo "$ac_try_echo"; } >&5
     1824  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1825  ac_status=$?
     1826  if test -s conftest.err; then
     1827    grep -v '^ *+' conftest.err >conftest.er1
     1828    cat conftest.er1 >&5
     1829    mv -f conftest.er1 conftest.err
     1830  fi
     1831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1832  test $ac_status = 0; } > conftest.i && {
     1833         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1834         test ! -s conftest.err
     1835       }; then :
     1836  ac_retval=0
     1837else
     1838  $as_echo "$as_me: failed program was:" >&5
     1839sed 's/^/| /' conftest.$ac_ext >&5
     1840
     1841    ac_retval=1
     1842fi
     1843  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1844  as_fn_set_status $ac_retval
     1845
     1846} # ac_fn_cxx_try_cpp
     1847
     1848# ac_fn_cxx_try_run LINENO
     1849# ------------------------
     1850# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1851# that executables *can* be run.
     1852ac_fn_cxx_try_run ()
     1853{
     1854  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1855  if { { ac_try="$ac_link"
     1856case "(($ac_try" in
     1857  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1858  *) ac_try_echo=$ac_try;;
     1859esac
     1860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1861$as_echo "$ac_try_echo"; } >&5
     1862  (eval "$ac_link") 2>&5
     1863  ac_status=$?
     1864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1865  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1866  { { case "(($ac_try" in
     1867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1868  *) ac_try_echo=$ac_try;;
     1869esac
     1870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1871$as_echo "$ac_try_echo"; } >&5
     1872  (eval "$ac_try") 2>&5
     1873  ac_status=$?
     1874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1875  test $ac_status = 0; }; }; then :
     1876  ac_retval=0
     1877else
     1878  $as_echo "$as_me: program exited with status $ac_status" >&5
     1879       $as_echo "$as_me: failed program was:" >&5
     1880sed 's/^/| /' conftest.$ac_ext >&5
     1881
     1882       ac_retval=$ac_status
     1883fi
     1884  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1885  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1886  as_fn_set_status $ac_retval
     1887
     1888} # ac_fn_cxx_try_run
     1889
     1890# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1891# ----------------------------------------------
     1892# Tries to find the compile-time value of EXPR in a program that includes
     1893# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1894# computed
     1895ac_fn_cxx_compute_int ()
     1896{
     1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1898  if test "$cross_compiling" = yes; then
     1899    # Depending upon the size, compute the lo and hi bounds.
     1900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1901/* end confdefs.h.  */
     1902$4
     1903int
     1904main ()
     1905{
     1906static int test_array [1 - 2 * !(($2) >= 0)];
     1907test_array [0] = 0;
     1908return test_array [0];
     1909
     1910  ;
     1911  return 0;
     1912}
     1913_ACEOF
     1914if ac_fn_cxx_try_compile "$LINENO"; then :
     1915  ac_lo=0 ac_mid=0
     1916  while :; do
     1917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1918/* end confdefs.h.  */
     1919$4
     1920int
     1921main ()
     1922{
     1923static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1924test_array [0] = 0;
     1925return test_array [0];
     1926
     1927  ;
     1928  return 0;
     1929}
     1930_ACEOF
     1931if ac_fn_cxx_try_compile "$LINENO"; then :
     1932  ac_hi=$ac_mid; break
     1933else
     1934  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1935                        if test $ac_lo -le $ac_mid; then
     1936                          ac_lo= ac_hi=
     1937                          break
     1938                        fi
     1939                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1940fi
     1941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1942  done
     1943else
     1944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1945/* end confdefs.h.  */
     1946$4
     1947int
     1948main ()
     1949{
     1950static int test_array [1 - 2 * !(($2) < 0)];
     1951test_array [0] = 0;
     1952return test_array [0];
     1953
     1954  ;
     1955  return 0;
     1956}
     1957_ACEOF
     1958if ac_fn_cxx_try_compile "$LINENO"; then :
     1959  ac_hi=-1 ac_mid=-1
     1960  while :; do
     1961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1962/* end confdefs.h.  */
     1963$4
     1964int
     1965main ()
     1966{
     1967static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1968test_array [0] = 0;
     1969return test_array [0];
     1970
     1971  ;
     1972  return 0;
     1973}
     1974_ACEOF
     1975if ac_fn_cxx_try_compile "$LINENO"; then :
     1976  ac_lo=$ac_mid; break
     1977else
     1978  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1979                        if test $ac_mid -le $ac_hi; then
     1980                          ac_lo= ac_hi=
     1981                          break
     1982                        fi
     1983                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1984fi
     1985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1986  done
     1987else
     1988  ac_lo= ac_hi=
     1989fi
     1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1991fi
     1992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1993# Binary search between lo and hi bounds.
     1994while test "x$ac_lo" != "x$ac_hi"; do
     1995  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1997/* end confdefs.h.  */
     1998$4
     1999int
     2000main ()
     2001{
     2002static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2003test_array [0] = 0;
     2004return test_array [0];
     2005
     2006  ;
     2007  return 0;
     2008}
     2009_ACEOF
     2010if ac_fn_cxx_try_compile "$LINENO"; then :
     2011  ac_hi=$ac_mid
     2012else
     2013  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2014fi
     2015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2016done
     2017case $ac_lo in #((
     2018?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2019'') ac_retval=1 ;;
     2020esac
     2021  else
     2022    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2023/* end confdefs.h.  */
     2024$4
     2025static long int longval () { return $2; }
     2026static unsigned long int ulongval () { return $2; }
     2027#include <stdio.h>
     2028#include <stdlib.h>
     2029int
     2030main ()
     2031{
     2032
     2033  FILE *f = fopen ("conftest.val", "w");
     2034  if (! f)
     2035    return 1;
     2036  if (($2) < 0)
     2037    {
     2038      long int i = longval ();
     2039      if (i != ($2))
     2040        return 1;
     2041      fprintf (f, "%ld", i);
     2042    }
     2043  else
     2044    {
     2045      unsigned long int i = ulongval ();
     2046      if (i != ($2))
     2047        return 1;
     2048      fprintf (f, "%lu", i);
     2049    }
     2050  /* Do not output a trailing newline, as this causes \r\n confusion
     2051     on some platforms.  */
     2052  return ferror (f) || fclose (f) != 0;
     2053
     2054  ;
     2055  return 0;
     2056}
     2057_ACEOF
     2058if ac_fn_cxx_try_run "$LINENO"; then :
     2059  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2060else
     2061  ac_retval=1
     2062fi
     2063rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2064  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2065rm -f conftest.val
     2066
     2067  fi
     2068  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2069  as_fn_set_status $ac_retval
     2070
     2071} # ac_fn_cxx_compute_int
     2072
     2073# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2074# ---------------------------------------------------------
     2075# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2076# the include files in INCLUDES and setting the cache variable VAR
     2077# accordingly.
     2078ac_fn_cxx_check_header_mongrel ()
     2079{
     2080  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2081  if eval \${$3+:} false; then :
     2082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2083$as_echo_n "checking for $2... " >&6; }
     2084if eval \${$3+:} false; then :
     2085  $as_echo_n "(cached) " >&6
     2086fi
     2087eval ac_res=\$$3
     2088               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2089$as_echo "$ac_res" >&6; }
     2090else
     2091  # Is the header compilable?
     2092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2093$as_echo_n "checking $2 usability... " >&6; }
     2094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2095/* end confdefs.h.  */
     2096$4
     2097#include <$2>
     2098_ACEOF
     2099if ac_fn_cxx_try_compile "$LINENO"; then :
     2100  ac_header_compiler=yes
     2101else
     2102  ac_header_compiler=no
     2103fi
     2104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2106$as_echo "$ac_header_compiler" >&6; }
     2107
     2108# Is the header present?
     2109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2110$as_echo_n "checking $2 presence... " >&6; }
     2111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2112/* end confdefs.h.  */
     2113#include <$2>
     2114_ACEOF
     2115if ac_fn_cxx_try_cpp "$LINENO"; then :
     2116  ac_header_preproc=yes
     2117else
     2118  ac_header_preproc=no
     2119fi
     2120rm -f conftest.err conftest.i conftest.$ac_ext
     2121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2122$as_echo "$ac_header_preproc" >&6; }
     2123
     2124# So?  What about this header?
     2125case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2126  yes:no: )
     2127    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2128$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2129    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2130$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2131    ;;
     2132  no:yes:* )
     2133    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2134$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2135    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2136$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2137    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2138$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2139    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2140$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2141    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2142$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2143( $as_echo "## ----------------------------------- ##
     2144## Report this to rappture@nanohub.org ##
     2145## ----------------------------------- ##"
     2146     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2147    ;;
     2148esac
     2149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2150$as_echo_n "checking for $2... " >&6; }
     2151if eval \${$3+:} false; then :
     2152  $as_echo_n "(cached) " >&6
     2153else
     2154  eval "$3=\$ac_header_compiler"
     2155fi
     2156eval ac_res=\$$3
     2157               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2158$as_echo "$ac_res" >&6; }
     2159fi
     2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2161
     2162} # ac_fn_cxx_check_header_mongrel
     2163
     2164# ac_fn_cxx_try_link LINENO
     2165# -------------------------
     2166# Try to link conftest.$ac_ext, and return whether this succeeded.
     2167ac_fn_cxx_try_link ()
     2168{
     2169  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2170  rm -f conftest.$ac_objext conftest$ac_exeext
     2171  if { { ac_try="$ac_link"
     2172case "(($ac_try" in
     2173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2174  *) ac_try_echo=$ac_try;;
     2175esac
     2176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2177$as_echo "$ac_try_echo"; } >&5
     2178  (eval "$ac_link") 2>conftest.err
     2179  ac_status=$?
     2180  if test -s conftest.err; then
     2181    grep -v '^ *+' conftest.err >conftest.er1
     2182    cat conftest.er1 >&5
     2183    mv -f conftest.er1 conftest.err
     2184  fi
     2185  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2186  test $ac_status = 0; } && {
     2187         test -z "$ac_cxx_werror_flag" ||
     2188         test ! -s conftest.err
     2189       } && test -s conftest$ac_exeext && {
     2190         test "$cross_compiling" = yes ||
     2191         test -x conftest$ac_exeext
     2192       }; then :
     2193  ac_retval=0
     2194else
     2195  $as_echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198        ac_retval=1
     2199fi
     2200  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2201  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2202  # interfere with the next link command; also delete a directory that is
     2203  # left behind by Apple's compiler.  We do this before executing the actions.
     2204  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2205  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2206  as_fn_set_status $ac_retval
     2207
     2208} # ac_fn_cxx_try_link
     2209
     2210# ac_fn_cxx_check_func LINENO FUNC VAR
     2211# ------------------------------------
     2212# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2213ac_fn_cxx_check_func ()
     2214{
     2215  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2217$as_echo_n "checking for $2... " >&6; }
     2218if eval \${$3+:} false; then :
     2219  $as_echo_n "(cached) " >&6
     2220else
     2221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2222/* end confdefs.h.  */
     2223/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2224   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2225#define $2 innocuous_$2
     2226
     2227/* System header to define __stub macros and hopefully few prototypes,
     2228    which can conflict with char $2 (); below.
     2229    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2230    <limits.h> exists even on freestanding compilers.  */
     2231
     2232#ifdef __STDC__
     2233# include <limits.h>
     2234#else
     2235# include <assert.h>
     2236#endif
     2237
     2238#undef $2
     2239
     2240/* Override any GCC internal prototype to avoid an error.
     2241   Use char because int might match the return type of a GCC
     2242   builtin and then its argument prototype would still apply.  */
     2243#ifdef __cplusplus
     2244extern "C"
     2245#endif
     2246char $2 ();
     2247/* The GNU C library defines this for functions which it implements
     2248    to always fail with ENOSYS.  Some functions are actually named
     2249    something starting with __ and the normal name is an alias.  */
     2250#if defined __stub_$2 || defined __stub___$2
     2251choke me
     2252#endif
     2253
     2254int
     2255main ()
     2256{
     2257return $2 ();
     2258  ;
     2259  return 0;
     2260}
     2261_ACEOF
     2262if ac_fn_cxx_try_link "$LINENO"; then :
     2263  eval "$3=yes"
     2264else
     2265  eval "$3=no"
     2266fi
     2267rm -f core conftest.err conftest.$ac_objext \
     2268    conftest$ac_exeext conftest.$ac_ext
     2269fi
     2270eval ac_res=\$$3
     2271               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2272$as_echo "$ac_res" >&6; }
     2273  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2274
     2275} # ac_fn_cxx_check_func
     2276
     2277# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2278# ---------------------------------------------------------
     2279# Tests whether HEADER exists and can be compiled using the include files in
     2280# INCLUDES, setting the cache variable VAR accordingly.
     2281ac_fn_cxx_check_header_compile ()
     2282{
     2283  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2284  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2285$as_echo_n "checking for $2... " >&6; }
     2286if eval \${$3+:} false; then :
     2287  $as_echo_n "(cached) " >&6
     2288else
     2289  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2290/* end confdefs.h.  */
     2291$4
     2292#include <$2>
     2293_ACEOF
     2294if ac_fn_cxx_try_compile "$LINENO"; then :
     2295  eval "$3=yes"
     2296else
     2297  eval "$3=no"
     2298fi
     2299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2300fi
     2301eval ac_res=\$$3
     2302               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2303$as_echo "$ac_res" >&6; }
     2304  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2305
     2306} # ac_fn_cxx_check_header_compile
    15072307cat >config.log <<_ACEOF
    15082308This file contains any messages produced by compilers while
     
    15102310
    15112311It was created by vizservers $as_me 0.1, which was
    1512 generated by GNU Autoconf 2.63.  Invocation command line was
     2312generated by GNU Autoconf 2.69.  Invocation command line was
    15132313
    15142314  $ $0 $@
     
    15462346  IFS=$as_save_IFS
    15472347  test -z "$as_dir" && as_dir=.
    1548   $as_echo "PATH: $as_dir"
    1549 done
     2348    $as_echo "PATH: $as_dir"
     2349  done
    15502350IFS=$as_save_IFS
    15512351
     
    15842384    esac
    15852385    case $ac_pass in
    1586     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2386    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15872387    2)
    1588       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2388      as_fn_append ac_configure_args1 " '$ac_arg'"
    15892389      if test $ac_must_keep_next = true; then
    15902390        ac_must_keep_next=false # Got value, back to normal.
     
    16022402        esac
    16032403      fi
    1604       ac_configure_args="$ac_configure_args '$ac_arg'"
     2404      as_fn_append ac_configure_args " '$ac_arg'"
    16052405      ;;
    16062406    esac
    16072407  done
    16082408done
    1609 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1610 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2409{ ac_configure_args0=; unset ac_configure_args0;}
     2410{ ac_configure_args1=; unset ac_configure_args1;}
    16112411
    16122412# When interrupted or exit'd, cleanup temporary files, and complete
     
    16202420    echo
    16212421
    1622     cat <<\_ASBOX
    1623 ## ---------------- ##
     2422    $as_echo "## ---------------- ##
    16242423## Cache variables. ##
    1625 ## ---------------- ##
    1626 _ASBOX
     2424## ---------------- ##"
    16272425    echo
    16282426    # The following way of writing the cache mishandles newlines in values,
     
    16332431    *${as_nl}*)
    16342432      case $ac_var in #(
    1635       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2433      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16362434$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16372435      esac
     
    16392437      _ | IFS | as_nl) ;; #(
    16402438      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1641       *) $as_unset $ac_var ;;
     2439      *) { eval $ac_var=; unset $ac_var;} ;;
    16422440      esac ;;
    16432441    esac
     
    16582456    echo
    16592457
    1660     cat <<\_ASBOX
    1661 ## ----------------- ##
     2458    $as_echo "## ----------------- ##
    16622459## Output variables. ##
    1663 ## ----------------- ##
    1664 _ASBOX
     2460## ----------------- ##"
    16652461    echo
    16662462    for ac_var in $ac_subst_vars
     
    16752471
    16762472    if test -n "$ac_subst_files"; then
    1677       cat <<\_ASBOX
    1678 ## ------------------- ##
     2473      $as_echo "## ------------------- ##
    16792474## File substitutions. ##
    1680 ## ------------------- ##
    1681 _ASBOX
     2475## ------------------- ##"
    16822476      echo
    16832477      for ac_var in $ac_subst_files
     
    16932487
    16942488    if test -s confdefs.h; then
    1695       cat <<\_ASBOX
    1696 ## ----------- ##
     2489      $as_echo "## ----------- ##
    16972490## confdefs.h. ##
    1698 ## ----------- ##
    1699 _ASBOX
     2491## ----------- ##"
    17002492      echo
    17012493      cat confdefs.h
     
    17112503' 0
    17122504for ac_signal in 1 2 13 15; do
    1713   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2505  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17142506done
    17152507ac_signal=0
     
    17182510rm -f -r conftest* confdefs.h
    17192511
     2512$as_echo "/* confdefs.h */" > confdefs.h
     2513
    17202514# Predefined preprocessor variables.
    17212515
     
    17242518_ACEOF
    17252519
    1726 
    17272520cat >>confdefs.h <<_ACEOF
    17282521#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17292522_ACEOF
    17302523
    1731 
    17322524cat >>confdefs.h <<_ACEOF
    17332525#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17342526_ACEOF
    17352527
    1736 
    17372528cat >>confdefs.h <<_ACEOF
    17382529#define PACKAGE_STRING "$PACKAGE_STRING"
    17392530_ACEOF
    17402531
    1741 
    17422532cat >>confdefs.h <<_ACEOF
    17432533#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2534_ACEOF
     2535
     2536cat >>confdefs.h <<_ACEOF
     2537#define PACKAGE_URL "$PACKAGE_URL"
    17442538_ACEOF
    17452539
     
    17502544ac_site_file2=NONE
    17512545if test -n "$CONFIG_SITE"; then
    1752   ac_site_file1=$CONFIG_SITE
     2546  # We do not want a PATH search for config.site.
     2547  case $CONFIG_SITE in #((
     2548    -*)  ac_site_file1=./$CONFIG_SITE;;
     2549    */*) ac_site_file1=$CONFIG_SITE;;
     2550    *)   ac_site_file1=./$CONFIG_SITE;;
     2551  esac
    17532552elif test "x$prefix" != xNONE; then
    17542553  ac_site_file1=$prefix/share/config.site
     
    17612560do
    17622561  test "x$ac_site_file" = xNONE && continue
    1763   if test -r "$ac_site_file"; then
    1764     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2562  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2563    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17652564$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17662565    sed 's/^/| /' "$ac_site_file" >&5
    1767     . "$ac_site_file"
     2566    . "$ac_site_file" \
     2567      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2568$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2569as_fn_error $? "failed to load site script $ac_site_file
     2570See \`config.log' for more details" "$LINENO" 5; }
    17682571  fi
    17692572done
    17702573
    17712574if test -r "$cache_file"; then
    1772   # Some versions of bash will fail to source /dev/null (special
    1773   # files actually), so we avoid doing that.
    1774   if test -f "$cache_file"; then
    1775     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2575  # Some versions of bash will fail to source /dev/null (special files
     2576  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2577  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2578    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17762579$as_echo "$as_me: loading cache $cache_file" >&6;}
    17772580    case $cache_file in
     
    17812584  fi
    17822585else
    1783   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2586  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17842587$as_echo "$as_me: creating cache $cache_file" >&6;}
    17852588  >$cache_file
     
    17962599  case $ac_old_set,$ac_new_set in
    17972600    set,)
    1798       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2601      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17992602$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18002603      ac_cache_corrupted=: ;;
    18012604    ,set)
    1802       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2605      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18032606$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18042607      ac_cache_corrupted=: ;;
     
    18102613        ac_new_val_w=`echo x $ac_new_val`
    18112614        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1812           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2615          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18132616$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18142617          ac_cache_corrupted=:
    18152618        else
    1816           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2619          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18172620$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18182621          eval $ac_var=\$ac_old_val
    18192622        fi
    1820         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2623        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18212624$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1822         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2625        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18232626$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18242627      fi;;
     
    18322635    case " $ac_configure_args " in
    18332636      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1834       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2637      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18352638    esac
    18362639  fi
    18372640done
    18382641if $ac_cache_corrupted; then
    1839   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2642  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18402643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1841   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2644  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18422645$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 
     2646  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2647fi
     2648## -------------------- ##
     2649## Main body of script. ##
     2650## -------------------- ##
    18712651
    18722652ac_ext=c
     
    18942674done
    18952675if test -z "$ac_aux_dir"; then
    1896   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1897 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1898    { (exit 1); exit 1; }; }
     2676  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    18992677fi
    19002678
     
    19132691
    19142692# Check whether --with-tcllib was given.
    1915 if test "${with_tcllib+set}" = set; then
     2693if test "${with_tcllib+set}" = set; then :
    19162694  withval=$with_tcllib; with_tcllib=$withval
    19172695else
     
    19222700
    19232701# Check whether --with-rappture was given.
    1924 if test "${with_rappture+set}" = set; then
     2702if test "${with_rappture+set}" = set; then :
    19252703  withval=$with_rappture; with_rappture=$withval
    19262704else
     
    19312709
    19322710# Check whether --with-vtk-includes was given.
    1933 if test "${with_vtk_includes+set}" = set; then
     2711if test "${with_vtk_includes+set}" = set; then :
    19342712  withval=$with_vtk_includes; with_vtk_includes=$withval
    19352713else
     
    19402718
    19412719# Check whether --with-vtk-libs was given.
    1942 if test "${with_vtk_libs+set}" = set; then
     2720if test "${with_vtk_libs+set}" = set; then :
    19432721  withval=$with_vtk_libs; with_vtk_libs=$withval
    19442722else
     
    19492727
    19502728# Check whether --with-vtk was given.
    1951 if test "${with_vtk+set}" = set; then
     2729if test "${with_vtk+set}" = set; then :
    19522730  withval=$with_vtk; with_vtk=$withval
    19532731else
     
    19642742  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19652743set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1966 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19672745$as_echo_n "checking for $ac_word... " >&6; }
    1968 if test "${ac_cv_prog_CC+set}" = set; then
     2746if ${ac_cv_prog_CC+:} false; then :
    19692747  $as_echo_n "(cached) " >&6
    19702748else
     
    19772755  IFS=$as_save_IFS
    19782756  test -z "$as_dir" && as_dir=.
    1979   for ac_exec_ext in '' $ac_executable_extensions; do
    1980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2757    for ac_exec_ext in '' $ac_executable_extensions; do
     2758  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19812759    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1982     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2760    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19832761    break 2
    19842762  fi
    19852763done
    1986 done
     2764  done
    19872765IFS=$as_save_IFS
    19882766
     
    19912769CC=$ac_cv_prog_CC
    19922770if test -n "$CC"; then
    1993   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19942772$as_echo "$CC" >&6; }
    19952773else
    1996   { $as_echo "$as_me:$LINENO: result: no" >&5
     2774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19972775$as_echo "no" >&6; }
    19982776fi
     
    20042782  # Extract the first word of "gcc", so it can be a program name with args.
    20052783set dummy gcc; ac_word=$2
    2006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20072785$as_echo_n "checking for $ac_word... " >&6; }
    2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2786if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20092787  $as_echo_n "(cached) " >&6
    20102788else
     
    20172795  IFS=$as_save_IFS
    20182796  test -z "$as_dir" && as_dir=.
    2019   for ac_exec_ext in '' $ac_executable_extensions; do
    2020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2797    for ac_exec_ext in '' $ac_executable_extensions; do
     2798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20212799    ac_cv_prog_ac_ct_CC="gcc"
    2022     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20232801    break 2
    20242802  fi
    20252803done
    2026 done
     2804  done
    20272805IFS=$as_save_IFS
    20282806
     
    20312809ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20322810if test -n "$ac_ct_CC"; then
    2033   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20342812$as_echo "$ac_ct_CC" >&6; }
    20352813else
    2036   { $as_echo "$as_me:$LINENO: result: no" >&5
     2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20372815$as_echo "no" >&6; }
    20382816fi
     
    20432821    case $cross_compiling:$ac_tool_warned in
    20442822yes:)
    2045 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2823{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20462824$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20472825ac_tool_warned=yes ;;
     
    20572835    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20582836set dummy ${ac_tool_prefix}cc; ac_word=$2
    2059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20602838$as_echo_n "checking for $ac_word... " >&6; }
    2061 if test "${ac_cv_prog_CC+set}" = set; then
     2839if ${ac_cv_prog_CC+:} false; then :
    20622840  $as_echo_n "(cached) " >&6
    20632841else
     
    20702848  IFS=$as_save_IFS
    20712849  test -z "$as_dir" && as_dir=.
    2072   for ac_exec_ext in '' $ac_executable_extensions; do
    2073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2850    for ac_exec_ext in '' $ac_executable_extensions; do
     2851  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20742852    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2075     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2853    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20762854    break 2
    20772855  fi
    20782856done
    2079 done
     2857  done
    20802858IFS=$as_save_IFS
    20812859
     
    20842862CC=$ac_cv_prog_CC
    20852863if test -n "$CC"; then
    2086   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20872865$as_echo "$CC" >&6; }
    20882866else
    2089   { $as_echo "$as_me:$LINENO: result: no" >&5
     2867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20902868$as_echo "no" >&6; }
    20912869fi
     
    20972875  # Extract the first word of "cc", so it can be a program name with args.
    20982876set dummy cc; ac_word=$2
    2099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21002878$as_echo_n "checking for $ac_word... " >&6; }
    2101 if test "${ac_cv_prog_CC+set}" = set; then
     2879if ${ac_cv_prog_CC+:} false; then :
    21022880  $as_echo_n "(cached) " >&6
    21032881else
     
    21112889  IFS=$as_save_IFS
    21122890  test -z "$as_dir" && as_dir=.
    2113   for ac_exec_ext in '' $ac_executable_extensions; do
    2114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2891    for ac_exec_ext in '' $ac_executable_extensions; do
     2892  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21152893    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21162894       ac_prog_rejected=yes
     
    21182896     fi
    21192897    ac_cv_prog_CC="cc"
    2120     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21212899    break 2
    21222900  fi
    21232901done
    2124 done
     2902  done
    21252903IFS=$as_save_IFS
    21262904
     
    21412919CC=$ac_cv_prog_CC
    21422920if test -n "$CC"; then
    2143   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21442922$as_echo "$CC" >&6; }
    21452923else
    2146   { $as_echo "$as_me:$LINENO: result: no" >&5
     2924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21472925$as_echo "no" >&6; }
    21482926fi
     
    21562934    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21572935set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21592937$as_echo_n "checking for $ac_word... " >&6; }
    2160 if test "${ac_cv_prog_CC+set}" = set; then
     2938if ${ac_cv_prog_CC+:} false; then :
    21612939  $as_echo_n "(cached) " >&6
    21622940else
     
    21692947  IFS=$as_save_IFS
    21702948  test -z "$as_dir" && as_dir=.
    2171   for ac_exec_ext in '' $ac_executable_extensions; do
    2172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2949    for ac_exec_ext in '' $ac_executable_extensions; do
     2950  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21732951    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2174     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2952    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21752953    break 2
    21762954  fi
    21772955done
    2178 done
     2956  done
    21792957IFS=$as_save_IFS
    21802958
     
    21832961CC=$ac_cv_prog_CC
    21842962if test -n "$CC"; then
    2185   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21862964$as_echo "$CC" >&6; }
    21872965else
    2188   { $as_echo "$as_me:$LINENO: result: no" >&5
     2966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21892967$as_echo "no" >&6; }
    21902968fi
     
    22002978  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22012979set dummy $ac_prog; ac_word=$2
    2202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22032981$as_echo_n "checking for $ac_word... " >&6; }
    2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2982if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22052983  $as_echo_n "(cached) " >&6
    22062984else
     
    22132991  IFS=$as_save_IFS
    22142992  test -z "$as_dir" && as_dir=.
    2215   for ac_exec_ext in '' $ac_executable_extensions; do
    2216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2993    for ac_exec_ext in '' $ac_executable_extensions; do
     2994  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22172995    ac_cv_prog_ac_ct_CC="$ac_prog"
    2218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22192997    break 2
    22202998  fi
    22212999done
    2222 done
     3000  done
    22233001IFS=$as_save_IFS
    22243002
     
    22273005ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22283006if test -n "$ac_ct_CC"; then
    2229   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22303008$as_echo "$ac_ct_CC" >&6; }
    22313009else
    2232   { $as_echo "$as_me:$LINENO: result: no" >&5
     3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22333011$as_echo "no" >&6; }
    22343012fi
     
    22433021    case $cross_compiling:$ac_tool_warned in
    22443022yes:)
    2245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3023{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22463024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22473025ac_tool_warned=yes ;;
     
    22543032
    22553033
    2256 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3034test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22573035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2258 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2259 See \`config.log' for more details." >&5
    2260 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2261 See \`config.log' for more details." >&2;}
    2262    { (exit 1); exit 1; }; }; }
     3036as_fn_error $? "no acceptable C compiler found in \$PATH
     3037See \`config.log' for more details" "$LINENO" 5; }
    22633038
    22643039# Provide some information about the compiler.
    2265 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3040$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22663041set X $ac_compile
    22673042ac_compiler=$2
    2268 { (ac_try="$ac_compiler --version >&5"
     3043for ac_option in --version -v -V -qversion; do
     3044  { { ac_try="$ac_compiler $ac_option >&5"
    22693045case "(($ac_try" in
    22703046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22713047  *) ac_try_echo=$ac_try;;
    22723048esac
    2273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2274 $as_echo "$ac_try_echo") >&5
    2275   (eval "$ac_compiler --version >&5") 2>&5
     3049eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3050$as_echo "$ac_try_echo"; } >&5
     3051  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22763052  ac_status=$?
    2277   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2278   (exit $ac_status); }
    2279 { (ac_try="$ac_compiler -v >&5"
    2280 case "(($ac_try" in
    2281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2282   *) ac_try_echo=$ac_try;;
    2283 esac
    2284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2285 $as_echo "$ac_try_echo") >&5
    2286   (eval "$ac_compiler -v >&5") 2>&5
    2287   ac_status=$?
    2288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2289   (exit $ac_status); }
    2290 { (ac_try="$ac_compiler -V >&5"
    2291 case "(($ac_try" in
    2292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2293   *) ac_try_echo=$ac_try;;
    2294 esac
    2295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2296 $as_echo "$ac_try_echo") >&5
    2297   (eval "$ac_compiler -V >&5") 2>&5
    2298   ac_status=$?
    2299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2300   (exit $ac_status); }
    2301 
    2302 cat >conftest.$ac_ext <<_ACEOF
    2303 /* confdefs.h.  */
    2304 _ACEOF
    2305 cat confdefs.h >>conftest.$ac_ext
    2306 cat >>conftest.$ac_ext <<_ACEOF
     3053  if test -s conftest.err; then
     3054    sed '10a\
     3055... rest of stderr output deleted ...
     3056         10q' conftest.err >conftest.er1
     3057    cat conftest.er1 >&5
     3058  fi
     3059  rm -f conftest.er1 conftest.err
     3060  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3061  test $ac_status = 0; }
     3062done
     3063
     3064cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23073065/* end confdefs.h.  */
    23083066
     
    23203078# It will help us diagnose broken compilers, and finding out an intuition
    23213079# of exeext.
    2322 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2323 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3081$as_echo_n "checking whether the C compiler works... " >&6; }
    23243082ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23253083
     
    23373095rm -f $ac_rmfiles
    23383096
    2339 if { (ac_try="$ac_link_default"
     3097if { { ac_try="$ac_link_default"
    23403098case "(($ac_try" in
    23413099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23423100  *) ac_try_echo=$ac_try;;
    23433101esac
    2344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2345 $as_echo "$ac_try_echo") >&5
     3102eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3103$as_echo "$ac_try_echo"; } >&5
    23463104  (eval "$ac_link_default") 2>&5
    23473105  ac_status=$?
    2348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2349   (exit $ac_status); }; then
     3106  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3107  test $ac_status = 0; }; then :
    23503108  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23513109# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23643122        break;;
    23653123    *.* )
    2366         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3124        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23673125        then :; else
    23683126           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23833141  ac_file=''
    23843142fi
    2385 
    2386 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3143if test -z "$ac_file"; then :
     3144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3145$as_echo "no" >&6; }
     3146$as_echo "$as_me: failed program was:" >&5
     3147sed 's/^/| /' conftest.$ac_ext >&5
     3148
     3149{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3150$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3151as_fn_error 77 "C compiler cannot create executables
     3152See \`config.log' for more details" "$LINENO" 5; }
     3153else
     3154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3155$as_echo "yes" >&6; }
     3156fi
     3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3158$as_echo_n "checking for C compiler default output file name... " >&6; }
     3159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23873160$as_echo "$ac_file" >&6; }
    2388 if test -z "$ac_file"; then
    2389   $as_echo "$as_me: failed program was:" >&5
    2390 sed 's/^/| /' conftest.$ac_ext >&5
    2391 
    2392 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2394 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2395 See \`config.log' for more details." >&5
    2396 $as_echo "$as_me: error: C compiler cannot create executables
    2397 See \`config.log' for more details." >&2;}
    2398    { (exit 77); exit 77; }; }; }
    2399 fi
    2400 
    24013161ac_exeext=$ac_cv_exeext
    2402 
    2403 # Check that the compiler produces executables we can run.  If not, either
    2404 # the compiler is broken, or we cross compile.
    2405 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2406 $as_echo_n "checking whether the C compiler works... " >&6; }
    2407 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2408 # If not cross compiling, check that we can run a simple program.
    2409 if test "$cross_compiling" != yes; then
    2410   if { ac_try='./$ac_file'
    2411   { (case "(($ac_try" in
    2412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2413   *) ac_try_echo=$ac_try;;
    2414 esac
    2415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2416 $as_echo "$ac_try_echo") >&5
    2417   (eval "$ac_try") 2>&5
    2418   ac_status=$?
    2419   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2420   (exit $ac_status); }; }; then
    2421     cross_compiling=no
    2422   else
    2423     if test "$cross_compiling" = maybe; then
    2424         cross_compiling=yes
    2425     else
    2426         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2428 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2429 If you meant to cross compile, use \`--host'.
    2430 See \`config.log' for more details." >&5
    2431 $as_echo "$as_me: error: cannot run C compiled programs.
    2432 If you meant to cross compile, use \`--host'.
    2433 See \`config.log' for more details." >&2;}
    2434    { (exit 1); exit 1; }; }; }
    2435     fi
    2436   fi
    2437 fi
    2438 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2439 $as_echo "yes" >&6; }
    24403162
    24413163rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24423164ac_clean_files=$ac_clean_files_save
    2443 # Check that the compiler produces executables we can run.  If not, either
    2444 # the compiler is broken, or we cross compile.
    2445 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2446 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2447 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2448 $as_echo "$cross_compiling" >&6; }
    2449 
    2450 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24513166$as_echo_n "checking for suffix of executables... " >&6; }
    2452 if { (ac_try="$ac_link"
     3167if { { ac_try="$ac_link"
    24533168case "(($ac_try" in
    24543169  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24553170  *) ac_try_echo=$ac_try;;
    24563171esac
    2457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2458 $as_echo "$ac_try_echo") >&5
     3172eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3173$as_echo "$ac_try_echo"; } >&5
    24593174  (eval "$ac_link") 2>&5
    24603175  ac_status=$?
    2461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2462   (exit $ac_status); }; then
     3176  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3177  test $ac_status = 0; }; then :
    24633178  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24643179# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24753190done
    24763191else
    2477   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3192  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24783193$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2479 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2480 See \`config.log' for more details." >&5
    2481 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2482 See \`config.log' for more details." >&2;}
    2483    { (exit 1); exit 1; }; }; }
    2484 fi
    2485 
    2486 rm -f conftest$ac_cv_exeext
    2487 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3194as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3195See \`config.log' for more details" "$LINENO" 5; }
     3196fi
     3197rm -f conftest conftest$ac_cv_exeext
     3198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24883199$as_echo "$ac_cv_exeext" >&6; }
    24893200
     
    24913202EXEEXT=$ac_cv_exeext
    24923203ac_exeext=$EXEEXT
    2493 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2494 $as_echo_n "checking for suffix of object files... " >&6; }
    2495 if test "${ac_cv_objext+set}" = set; then
    2496   $as_echo_n "(cached) " >&6
    2497 else
    2498   cat >conftest.$ac_ext <<_ACEOF
    2499 /* confdefs.h.  */
    2500 _ACEOF
    2501 cat confdefs.h >>conftest.$ac_ext
    2502 cat >>conftest.$ac_ext <<_ACEOF
     3204cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25033205/* end confdefs.h.  */
    2504 
     3206#include <stdio.h>
    25053207int
    25063208main ()
    25073209{
     3210FILE *f = fopen ("conftest.out", "w");
     3211 return ferror (f) || fclose (f) != 0;
    25083212
    25093213  ;
     
    25113215}
    25123216_ACEOF
    2513 rm -f conftest.o conftest.obj
    2514 if { (ac_try="$ac_compile"
     3217ac_clean_files="$ac_clean_files conftest.out"
     3218# Check that the compiler produces executables we can run.  If not, either
     3219# the compiler is broken, or we cross compile.
     3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3221$as_echo_n "checking whether we are cross compiling... " >&6; }
     3222if test "$cross_compiling" != yes; then
     3223  { { ac_try="$ac_link"
    25153224case "(($ac_try" in
    25163225  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25173226  *) ac_try_echo=$ac_try;;
    25183227esac
    2519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2520 $as_echo "$ac_try_echo") >&5
     3228eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3229$as_echo "$ac_try_echo"; } >&5
     3230  (eval "$ac_link") 2>&5
     3231  ac_status=$?
     3232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3233  test $ac_status = 0; }
     3234  if { ac_try='./conftest$ac_cv_exeext'
     3235  { { case "(($ac_try" in
     3236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3237  *) ac_try_echo=$ac_try;;
     3238esac
     3239eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3240$as_echo "$ac_try_echo"; } >&5
     3241  (eval "$ac_try") 2>&5
     3242  ac_status=$?
     3243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3244  test $ac_status = 0; }; }; then
     3245    cross_compiling=no
     3246  else
     3247    if test "$cross_compiling" = maybe; then
     3248        cross_compiling=yes
     3249    else
     3250        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3252as_fn_error $? "cannot run C compiled programs.
     3253If you meant to cross compile, use \`--host'.
     3254See \`config.log' for more details" "$LINENO" 5; }
     3255    fi
     3256  fi
     3257fi
     3258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3259$as_echo "$cross_compiling" >&6; }
     3260
     3261rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3262ac_clean_files=$ac_clean_files_save
     3263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3264$as_echo_n "checking for suffix of object files... " >&6; }
     3265if ${ac_cv_objext+:} false; then :
     3266  $as_echo_n "(cached) " >&6
     3267else
     3268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3269/* end confdefs.h.  */
     3270
     3271int
     3272main ()
     3273{
     3274
     3275  ;
     3276  return 0;
     3277}
     3278_ACEOF
     3279rm -f conftest.o conftest.obj
     3280if { { ac_try="$ac_compile"
     3281case "(($ac_try" in
     3282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3283  *) ac_try_echo=$ac_try;;
     3284esac
     3285eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3286$as_echo "$ac_try_echo"; } >&5
    25213287  (eval "$ac_compile") 2>&5
    25223288  ac_status=$?
    2523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2524   (exit $ac_status); }; then
     3289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3290  test $ac_status = 0; }; then :
    25253291  for ac_file in conftest.o conftest.obj conftest.*; do
    25263292  test -f "$ac_file" || continue;
     
    25353301sed 's/^/| /' conftest.$ac_ext >&5
    25363302
    2537 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3303{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25383304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2539 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2540 See \`config.log' for more details." >&5
    2541 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2542 See \`config.log' for more details." >&2;}
    2543    { (exit 1); exit 1; }; }; }
    2544 fi
    2545 
     3305as_fn_error $? "cannot compute suffix of object files: cannot compile
     3306See \`config.log' for more details" "$LINENO" 5; }
     3307fi
    25463308rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25473309fi
    2548 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25493311$as_echo "$ac_cv_objext" >&6; }
    25503312OBJEXT=$ac_cv_objext
    25513313ac_objext=$OBJEXT
    2552 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25533315$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2554 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3316if ${ac_cv_c_compiler_gnu+:} false; then :
    25553317  $as_echo_n "(cached) " >&6
    25563318else
    2557   cat >conftest.$ac_ext <<_ACEOF
    2558 /* confdefs.h.  */
    2559 _ACEOF
    2560 cat confdefs.h >>conftest.$ac_ext
    2561 cat >>conftest.$ac_ext <<_ACEOF
     3319  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25623320/* end confdefs.h.  */
    25633321
     
    25733331}
    25743332_ACEOF
    2575 rm -f conftest.$ac_objext
    2576 if { (ac_try="$ac_compile"
    2577 case "(($ac_try" in
    2578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2579   *) ac_try_echo=$ac_try;;
    2580 esac
    2581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2582 $as_echo "$ac_try_echo") >&5
    2583   (eval "$ac_compile") 2>conftest.er1
    2584   ac_status=$?
    2585   grep -v '^ *+' conftest.er1 >conftest.err
    2586   rm -f conftest.er1
    2587   cat conftest.err >&5
    2588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2589   (exit $ac_status); } && {
    2590          test -z "$ac_c_werror_flag" ||
    2591          test ! -s conftest.err
    2592        } && test -s conftest.$ac_objext; then
     3333if ac_fn_c_try_compile "$LINENO"; then :
    25933334  ac_compiler_gnu=yes
    25943335else
    2595   $as_echo "$as_me: failed program was:" >&5
    2596 sed 's/^/| /' conftest.$ac_ext >&5
    2597 
    2598         ac_compiler_gnu=no
    2599 fi
    2600 
     3336  ac_compiler_gnu=no
     3337fi
    26013338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26023339ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26033340
    26043341fi
    2605 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26063343$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26073344if test $ac_compiler_gnu = yes; then
     
    26123349ac_test_CFLAGS=${CFLAGS+set}
    26133350ac_save_CFLAGS=$CFLAGS
    2614 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26153352$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2616 if test "${ac_cv_prog_cc_g+set}" = set; then
     3353if ${ac_cv_prog_cc_g+:} false; then :
    26173354  $as_echo_n "(cached) " >&6
    26183355else
     
    26213358   ac_cv_prog_cc_g=no
    26223359   CFLAGS="-g"
    2623    cat >conftest.$ac_ext <<_ACEOF
    2624 /* confdefs.h.  */
    2625 _ACEOF
    2626 cat confdefs.h >>conftest.$ac_ext
    2627 cat >>conftest.$ac_ext <<_ACEOF
     3360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26283361/* end confdefs.h.  */
    26293362
     
    26363369}
    26373370_ACEOF
    2638 rm -f conftest.$ac_objext
    2639 if { (ac_try="$ac_compile"
    2640 case "(($ac_try" in
    2641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2642   *) ac_try_echo=$ac_try;;
    2643 esac
    2644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2645 $as_echo "$ac_try_echo") >&5
    2646   (eval "$ac_compile") 2>conftest.er1
    2647   ac_status=$?
    2648   grep -v '^ *+' conftest.er1 >conftest.err
    2649   rm -f conftest.er1
    2650   cat conftest.err >&5
    2651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2652   (exit $ac_status); } && {
    2653          test -z "$ac_c_werror_flag" ||
    2654          test ! -s conftest.err
    2655        } && test -s conftest.$ac_objext; then
     3371if ac_fn_c_try_compile "$LINENO"; then :
    26563372  ac_cv_prog_cc_g=yes
    26573373else
    2658   $as_echo "$as_me: failed program was:" >&5
    2659 sed 's/^/| /' conftest.$ac_ext >&5
    2660 
    2661         CFLAGS=""
    2662       cat >conftest.$ac_ext <<_ACEOF
    2663 /* confdefs.h.  */
    2664 _ACEOF
    2665 cat confdefs.h >>conftest.$ac_ext
    2666 cat >>conftest.$ac_ext <<_ACEOF
     3374  CFLAGS=""
     3375      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26673376/* end confdefs.h.  */
    26683377
     
    26753384}
    26763385_ACEOF
    2677 rm -f conftest.$ac_objext
    2678 if { (ac_try="$ac_compile"
    2679 case "(($ac_try" in
    2680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2681   *) ac_try_echo=$ac_try;;
    2682 esac
    2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2684 $as_echo "$ac_try_echo") >&5
    2685   (eval "$ac_compile") 2>conftest.er1
    2686   ac_status=$?
    2687   grep -v '^ *+' conftest.er1 >conftest.err
    2688   rm -f conftest.er1
    2689   cat conftest.err >&5
    2690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2691   (exit $ac_status); } && {
    2692          test -z "$ac_c_werror_flag" ||
    2693          test ! -s conftest.err
    2694        } && test -s conftest.$ac_objext; then
    2695   :
    2696 else
    2697   $as_echo "$as_me: failed program was:" >&5
    2698 sed 's/^/| /' conftest.$ac_ext >&5
    2699 
    2700         ac_c_werror_flag=$ac_save_c_werror_flag
     3386if ac_fn_c_try_compile "$LINENO"; then :
     3387
     3388else
     3389  ac_c_werror_flag=$ac_save_c_werror_flag
    27013390         CFLAGS="-g"
    2702          cat >conftest.$ac_ext <<_ACEOF
    2703 /* confdefs.h.  */
    2704 _ACEOF
    2705 cat confdefs.h >>conftest.$ac_ext
    2706 cat >>conftest.$ac_ext <<_ACEOF
     3391         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27073392/* end confdefs.h.  */
    27083393
     
    27153400}
    27163401_ACEOF
    2717 rm -f conftest.$ac_objext
    2718 if { (ac_try="$ac_compile"
    2719 case "(($ac_try" in
    2720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2721   *) ac_try_echo=$ac_try;;
    2722 esac
    2723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2724 $as_echo "$ac_try_echo") >&5
    2725   (eval "$ac_compile") 2>conftest.er1
    2726   ac_status=$?
    2727   grep -v '^ *+' conftest.er1 >conftest.err
    2728   rm -f conftest.er1
    2729   cat conftest.err >&5
    2730   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2731   (exit $ac_status); } && {
    2732          test -z "$ac_c_werror_flag" ||
    2733          test ! -s conftest.err
    2734        } && test -s conftest.$ac_objext; then
     3402if ac_fn_c_try_compile "$LINENO"; then :
    27353403  ac_cv_prog_cc_g=yes
    2736 else
    2737   $as_echo "$as_me: failed program was:" >&5
    2738 sed 's/^/| /' conftest.$ac_ext >&5
    2739 
    2740 
    2741 fi
    2742 
     3404fi
    27433405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27443406fi
    2745 
    27463407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27473408fi
    2748 
    27493409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27503410   ac_c_werror_flag=$ac_save_c_werror_flag
    27513411fi
    2752 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27533413$as_echo "$ac_cv_prog_cc_g" >&6; }
    27543414if test "$ac_test_CFLAGS" = set; then
     
    27673427  fi
    27683428fi
    2769 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27703430$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2771 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3431if ${ac_cv_prog_cc_c89+:} false; then :
    27723432  $as_echo_n "(cached) " >&6
    27733433else
    27743434  ac_cv_prog_cc_c89=no
    27753435ac_save_CC=$CC
    2776 cat >conftest.$ac_ext <<_ACEOF
    2777 /* confdefs.h.  */
    2778 _ACEOF
    2779 cat confdefs.h >>conftest.$ac_ext
    2780 cat >>conftest.$ac_ext <<_ACEOF
     3436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27813437/* end confdefs.h.  */
    27823438#include <stdarg.h>
    27833439#include <stdio.h>
    2784 #include <sys/types.h>
    2785 #include <sys/stat.h>
     3440struct stat;
    27863441/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27873442struct buf { int x; };
     
    28353490do
    28363491  CC="$ac_save_CC $ac_arg"
    2837   rm -f conftest.$ac_objext
    2838 if { (ac_try="$ac_compile"
    2839 case "(($ac_try" in
    2840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2841   *) ac_try_echo=$ac_try;;
    2842 esac
    2843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2844 $as_echo "$ac_try_echo") >&5
    2845   (eval "$ac_compile") 2>conftest.er1
    2846   ac_status=$?
    2847   grep -v '^ *+' conftest.er1 >conftest.err
    2848   rm -f conftest.er1
    2849   cat conftest.err >&5
    2850   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2851   (exit $ac_status); } && {
    2852          test -z "$ac_c_werror_flag" ||
    2853          test ! -s conftest.err
    2854        } && test -s conftest.$ac_objext; then
     3492  if ac_fn_c_try_compile "$LINENO"; then :
    28553493  ac_cv_prog_cc_c89=$ac_arg
    2856 else
    2857   $as_echo "$as_me: failed program was:" >&5
    2858 sed 's/^/| /' conftest.$ac_ext >&5
    2859 
    2860 
    2861 fi
    2862 
     3494fi
    28633495rm -f core conftest.err conftest.$ac_objext
    28643496  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28713503case "x$ac_cv_prog_cc_c89" in
    28723504  x)
    2873     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3505    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28743506$as_echo "none needed" >&6; } ;;
    28753507  xno)
    2876     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3508    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28773509$as_echo "unsupported" >&6; } ;;
    28783510  *)
    28793511    CC="$CC $ac_cv_prog_cc_c89"
    2880     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28813513$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28823514esac
    2883 
     3515if test "x$ac_cv_prog_cc_c89" != xno; then :
     3516
     3517fi
    28843518
    28853519ac_ext=c
     
    28953529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28963530ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2897 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    28983532$as_echo_n "checking how to run the C preprocessor... " >&6; }
    28993533# On Suns, sometimes $CPP names a directory.
     
    29023536fi
    29033537if test -z "$CPP"; then
    2904   if test "${ac_cv_prog_CPP+set}" = set; then
     3538  if ${ac_cv_prog_CPP+:} false; then :
    29053539  $as_echo_n "(cached) " >&6
    29063540else
     
    29173551  # On the NeXT, cc -E runs the code through the compiler's parser,
    29183552  # not just through cpp. "Syntax error" is here to catch this case.
    2919   cat >conftest.$ac_ext <<_ACEOF
    2920 /* confdefs.h.  */
    2921 _ACEOF
    2922 cat confdefs.h >>conftest.$ac_ext
    2923 cat >>conftest.$ac_ext <<_ACEOF
     3553  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29243554/* end confdefs.h.  */
    29253555#ifdef __STDC__
     
    29303560                     Syntax error
    29313561_ACEOF
    2932 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2933 case "(($ac_try" in
    2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2935   *) ac_try_echo=$ac_try;;
    2936 esac
    2937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2938 $as_echo "$ac_try_echo") >&5
    2939   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2940   ac_status=$?
    2941   grep -v '^ *+' conftest.er1 >conftest.err
    2942   rm -f conftest.er1
    2943   cat conftest.err >&5
    2944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2945   (exit $ac_status); } >/dev/null && {
    2946          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2947          test ! -s conftest.err
    2948        }; then
    2949   :
    2950 else
    2951   $as_echo "$as_me: failed program was:" >&5
    2952 sed 's/^/| /' conftest.$ac_ext >&5
    2953 
     3562if ac_fn_c_try_cpp "$LINENO"; then :
     3563
     3564else
    29543565  # Broken: fails on valid input.
    29553566continue
    29563567fi
    2957 
    2958 rm -f conftest.err conftest.$ac_ext
     3568rm -f conftest.err conftest.i conftest.$ac_ext
    29593569
    29603570  # OK, works on sane cases.  Now check whether nonexistent headers
    29613571  # can be detected and how.
    2962   cat >conftest.$ac_ext <<_ACEOF
    2963 /* confdefs.h.  */
    2964 _ACEOF
    2965 cat confdefs.h >>conftest.$ac_ext
    2966 cat >>conftest.$ac_ext <<_ACEOF
     3572  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29673573/* end confdefs.h.  */
    29683574#include <ac_nonexistent.h>
    29693575_ACEOF
    2970 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2971 case "(($ac_try" in
    2972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2973   *) ac_try_echo=$ac_try;;
    2974 esac
    2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2976 $as_echo "$ac_try_echo") >&5
    2977   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2978   ac_status=$?
    2979   grep -v '^ *+' conftest.er1 >conftest.err
    2980   rm -f conftest.er1
    2981   cat conftest.err >&5
    2982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2983   (exit $ac_status); } >/dev/null && {
    2984          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2985          test ! -s conftest.err
    2986        }; then
     3576if ac_fn_c_try_cpp "$LINENO"; then :
    29873577  # Broken: success on invalid input.
    29883578continue
    29893579else
    2990   $as_echo "$as_me: failed program was:" >&5
    2991 sed 's/^/| /' conftest.$ac_ext >&5
    2992 
    29933580  # Passes both tests.
    29943581ac_preproc_ok=:
    29953582break
    29963583fi
    2997 
    2998 rm -f conftest.err conftest.$ac_ext
     3584rm -f conftest.err conftest.i conftest.$ac_ext
    29993585
    30003586done
    30013587# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3002 rm -f conftest.err conftest.$ac_ext
    3003 if $ac_preproc_ok; then
     3588rm -f conftest.i conftest.err conftest.$ac_ext
     3589if $ac_preproc_ok; then :
    30043590  break
    30053591fi
     
    30133599  ac_cv_prog_CPP=$CPP
    30143600fi
    3015 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30163602$as_echo "$CPP" >&6; }
    30173603ac_preproc_ok=false
     
    30243610  # On the NeXT, cc -E runs the code through the compiler's parser,
    30253611  # not just through cpp. "Syntax error" is here to catch this case.
    3026   cat >conftest.$ac_ext <<_ACEOF
    3027 /* confdefs.h.  */
    3028 _ACEOF
    3029 cat confdefs.h >>conftest.$ac_ext
    3030 cat >>conftest.$ac_ext <<_ACEOF
     3612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30313613/* end confdefs.h.  */
    30323614#ifdef __STDC__
     
    30373619                     Syntax error
    30383620_ACEOF
    3039 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3040 case "(($ac_try" in
    3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3042   *) ac_try_echo=$ac_try;;
    3043 esac
    3044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3045 $as_echo "$ac_try_echo") >&5
    3046   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3047   ac_status=$?
    3048   grep -v '^ *+' conftest.er1 >conftest.err
    3049   rm -f conftest.er1
    3050   cat conftest.err >&5
    3051   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3052   (exit $ac_status); } >/dev/null && {
    3053          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3054          test ! -s conftest.err
    3055        }; then
    3056   :
    3057 else
    3058   $as_echo "$as_me: failed program was:" >&5
    3059 sed 's/^/| /' conftest.$ac_ext >&5
    3060 
     3621if ac_fn_c_try_cpp "$LINENO"; then :
     3622
     3623else
    30613624  # Broken: fails on valid input.
    30623625continue
    30633626fi
    3064 
    3065 rm -f conftest.err conftest.$ac_ext
     3627rm -f conftest.err conftest.i conftest.$ac_ext
    30663628
    30673629  # OK, works on sane cases.  Now check whether nonexistent headers
    30683630  # can be detected and how.
    3069   cat >conftest.$ac_ext <<_ACEOF
    3070 /* confdefs.h.  */
    3071 _ACEOF
    3072 cat confdefs.h >>conftest.$ac_ext
    3073 cat >>conftest.$ac_ext <<_ACEOF
     3631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30743632/* end confdefs.h.  */
    30753633#include <ac_nonexistent.h>
    30763634_ACEOF
    3077 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3078 case "(($ac_try" in
    3079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3080   *) ac_try_echo=$ac_try;;
    3081 esac
    3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3083 $as_echo "$ac_try_echo") >&5
    3084   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3085   ac_status=$?
    3086   grep -v '^ *+' conftest.er1 >conftest.err
    3087   rm -f conftest.er1
    3088   cat conftest.err >&5
    3089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3090   (exit $ac_status); } >/dev/null && {
    3091          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3092          test ! -s conftest.err
    3093        }; then
     3635if ac_fn_c_try_cpp "$LINENO"; then :
    30943636  # Broken: success on invalid input.
    30953637continue
    30963638else
    3097   $as_echo "$as_me: failed program was:" >&5
    3098 sed 's/^/| /' conftest.$ac_ext >&5
    3099 
    31003639  # Passes both tests.
    31013640ac_preproc_ok=:
    31023641break
    31033642fi
    3104 
    3105 rm -f conftest.err conftest.$ac_ext
     3643rm -f conftest.err conftest.i conftest.$ac_ext
    31063644
    31073645done
    31083646# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3109 rm -f conftest.err conftest.$ac_ext
    3110 if $ac_preproc_ok; then
    3111   :
    3112 else
    3113   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3647rm -f conftest.i conftest.err conftest.$ac_ext
     3648if $ac_preproc_ok; then :
     3649
     3650else
     3651  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31143652$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3115 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3116 See \`config.log' for more details." >&5
    3117 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3118 See \`config.log' for more details." >&2;}
    3119    { (exit 1); exit 1; }; }; }
     3653as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3654See \`config.log' for more details" "$LINENO" 5; }
    31203655fi
    31213656
     
    31273662
    31283663
    3129 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31303665$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3131 if test "${ac_cv_path_GREP+set}" = set; then
     3666if ${ac_cv_path_GREP+:} false; then :
    31323667  $as_echo_n "(cached) " >&6
    31333668else
     
    31403675  IFS=$as_save_IFS
    31413676  test -z "$as_dir" && as_dir=.
    3142   for ac_prog in grep ggrep; do
     3677    for ac_prog in grep ggrep; do
    31433678    for ac_exec_ext in '' $ac_executable_extensions; do
    31443679      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3145       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3680      as_fn_executable_p "$ac_path_GREP" || continue
    31463681# Check for GNU ac_path_GREP and select it if it is found.
    31473682  # Check for GNU $ac_path_GREP
     
    31603695    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31613696    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3162     ac_count=`expr $ac_count + 1`
     3697    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31633698    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31643699      # Best one so far, save it but keep looking for a better one
     
    31753710    done
    31763711  done
    3177 done
     3712  done
    31783713IFS=$as_save_IFS
    31793714  if test -z "$ac_cv_path_GREP"; then
    3180     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3181 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3182    { (exit 1); exit 1; }; }
     3715    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31833716  fi
    31843717else
     
    31873720
    31883721fi
    3189 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    31903723$as_echo "$ac_cv_path_GREP" >&6; }
    31913724 GREP="$ac_cv_path_GREP"
    31923725
    31933726
    3194 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    31953728$as_echo_n "checking for egrep... " >&6; }
    3196 if test "${ac_cv_path_EGREP+set}" = set; then
     3729if ${ac_cv_path_EGREP+:} false; then :
    31973730  $as_echo_n "(cached) " >&6
    31983731else
     
    32083741  IFS=$as_save_IFS
    32093742  test -z "$as_dir" && as_dir=.
    3210   for ac_prog in egrep; do
     3743    for ac_prog in egrep; do
    32113744    for ac_exec_ext in '' $ac_executable_extensions; do
    32123745      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3213       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3746      as_fn_executable_p "$ac_path_EGREP" || continue
    32143747# Check for GNU ac_path_EGREP and select it if it is found.
    32153748  # Check for GNU $ac_path_EGREP
     
    32283761    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32293762    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3230     ac_count=`expr $ac_count + 1`
     3763    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32313764    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32323765      # Best one so far, save it but keep looking for a better one
     
    32433776    done
    32443777  done
    3245 done
     3778  done
    32463779IFS=$as_save_IFS
    32473780  if test -z "$ac_cv_path_EGREP"; then
    3248     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3249 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3250    { (exit 1); exit 1; }; }
     3781    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32513782  fi
    32523783else
     
    32563787   fi
    32573788fi
    3258 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32593790$as_echo "$ac_cv_path_EGREP" >&6; }
    32603791 EGREP="$ac_cv_path_EGREP"
    32613792
    32623793
    3263 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32643795$as_echo_n "checking for ANSI C header files... " >&6; }
    3265 if test "${ac_cv_header_stdc+set}" = set; then
     3796if ${ac_cv_header_stdc+:} false; then :
    32663797  $as_echo_n "(cached) " >&6
    32673798else
    3268   cat >conftest.$ac_ext <<_ACEOF
    3269 /* confdefs.h.  */
    3270 _ACEOF
    3271 cat confdefs.h >>conftest.$ac_ext
    3272 cat >>conftest.$ac_ext <<_ACEOF
     3799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32733800/* end confdefs.h.  */
    32743801#include <stdlib.h>
     
    32853812}
    32863813_ACEOF
    3287 rm -f conftest.$ac_objext
    3288 if { (ac_try="$ac_compile"
    3289 case "(($ac_try" in
    3290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3291   *) ac_try_echo=$ac_try;;
    3292 esac
    3293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3294 $as_echo "$ac_try_echo") >&5
    3295   (eval "$ac_compile") 2>conftest.er1
    3296   ac_status=$?
    3297   grep -v '^ *+' conftest.er1 >conftest.err
    3298   rm -f conftest.er1
    3299   cat conftest.err >&5
    3300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3301   (exit $ac_status); } && {
    3302          test -z "$ac_c_werror_flag" ||
    3303          test ! -s conftest.err
    3304        } && test -s conftest.$ac_objext; then
     3814if ac_fn_c_try_compile "$LINENO"; then :
    33053815  ac_cv_header_stdc=yes
    33063816else
    3307   $as_echo "$as_me: failed program was:" >&5
    3308 sed 's/^/| /' conftest.$ac_ext >&5
    3309 
    3310         ac_cv_header_stdc=no
    3311 fi
    3312 
     3817  ac_cv_header_stdc=no
     3818fi
    33133819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33143820
    33153821if test $ac_cv_header_stdc = yes; then
    33163822  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3317   cat >conftest.$ac_ext <<_ACEOF
    3318 /* confdefs.h.  */
    3319 _ACEOF
    3320 cat confdefs.h >>conftest.$ac_ext
    3321 cat >>conftest.$ac_ext <<_ACEOF
     3823  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33223824/* end confdefs.h.  */
    33233825#include <string.h>
     
    33253827_ACEOF
    33263828if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3327   $EGREP "memchr" >/dev/null 2>&1; then
    3328   :
     3829  $EGREP "memchr" >/dev/null 2>&1; then :
     3830
    33293831else
    33303832  ac_cv_header_stdc=no
     
    33363838if test $ac_cv_header_stdc = yes; then
    33373839  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3338   cat >conftest.$ac_ext <<_ACEOF
    3339 /* confdefs.h.  */
    3340 _ACEOF
    3341 cat confdefs.h >>conftest.$ac_ext
    3342 cat >>conftest.$ac_ext <<_ACEOF
     3840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33433841/* end confdefs.h.  */
    33443842#include <stdlib.h>
     
    33463844_ACEOF
    33473845if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3348   $EGREP "free" >/dev/null 2>&1; then
    3349   :
     3846  $EGREP "free" >/dev/null 2>&1; then :
     3847
    33503848else
    33513849  ac_cv_header_stdc=no
     
    33573855if test $ac_cv_header_stdc = yes; then
    33583856  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3359   if test "$cross_compiling" = yes; then
     3857  if test "$cross_compiling" = yes; then :
    33603858  :
    33613859else
    3362   cat >conftest.$ac_ext <<_ACEOF
    3363 /* confdefs.h.  */
    3364 _ACEOF
    3365 cat confdefs.h >>conftest.$ac_ext
    3366 cat >>conftest.$ac_ext <<_ACEOF
     3860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33673861/* end confdefs.h.  */
    33683862#include <ctype.h>
     
    33913885}
    33923886_ACEOF
    3393 rm -f conftest$ac_exeext
    3394 if { (ac_try="$ac_link"
    3395 case "(($ac_try" in
    3396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3397   *) ac_try_echo=$ac_try;;
    3398 esac
    3399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3400 $as_echo "$ac_try_echo") >&5
    3401   (eval "$ac_link") 2>&5
    3402   ac_status=$?
    3403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3404   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    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_try") 2>&5
    3412   ac_status=$?
    3413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3414   (exit $ac_status); }; }; then
    3415   :
    3416 else
    3417   $as_echo "$as_me: program exited with status $ac_status" >&5
    3418 $as_echo "$as_me: failed program was:" >&5
    3419 sed 's/^/| /' conftest.$ac_ext >&5
    3420 
    3421 ( exit $ac_status )
    3422 ac_cv_header_stdc=no
    3423 fi
    3424 rm -rf conftest.dSYM
    3425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3426 fi
    3427 
    3428 
    3429 fi
    3430 fi
    3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3887if ac_fn_c_try_run "$LINENO"; then :
     3888
     3889else
     3890  ac_cv_header_stdc=no
     3891fi
     3892rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3893  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3894fi
     3895
     3896fi
     3897fi
     3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34323899$as_echo "$ac_cv_header_stdc" >&6; }
    34333900if test $ac_cv_header_stdc = yes; then
    34343901
    3435 cat >>confdefs.h <<\_ACEOF
    3436 #define STDC_HEADERS 1
    3437 _ACEOF
     3902$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34383903
    34393904fi
    34403905
    34413906# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3442 
    3443 
    3444 
    3445 
    3446 
    3447 
    3448 
    3449 
    3450 
    34513907for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34523908                  inttypes.h stdint.h unistd.h
    3453 do
    3454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3456 $as_echo_n "checking for $ac_header... " >&6; }
    3457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3458   $as_echo_n "(cached) " >&6
    3459 else
    3460   cat >conftest.$ac_ext <<_ACEOF
    3461 /* confdefs.h.  */
    3462 _ACEOF
    3463 cat confdefs.h >>conftest.$ac_ext
    3464 cat >>conftest.$ac_ext <<_ACEOF
    3465 /* end confdefs.h.  */
    3466 $ac_includes_default
    3467 
    3468 #include <$ac_header>
    3469 _ACEOF
    3470 rm -f conftest.$ac_objext
    3471 if { (ac_try="$ac_compile"
    3472 case "(($ac_try" in
    3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3474   *) ac_try_echo=$ac_try;;
    3475 esac
    3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3477 $as_echo "$ac_try_echo") >&5
    3478   (eval "$ac_compile") 2>conftest.er1
    3479   ac_status=$?
    3480   grep -v '^ *+' conftest.er1 >conftest.err
    3481   rm -f conftest.er1
    3482   cat conftest.err >&5
    3483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3484   (exit $ac_status); } && {
    3485          test -z "$ac_c_werror_flag" ||
    3486          test ! -s conftest.err
    3487        } && test -s conftest.$ac_objext; then
    3488   eval "$as_ac_Header=yes"
    3489 else
    3490   $as_echo "$as_me: failed program was:" >&5
    3491 sed 's/^/| /' conftest.$ac_ext >&5
    3492 
    3493         eval "$as_ac_Header=no"
    3494 fi
    3495 
    3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3497 fi
    3498 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3499                  $as_echo "$as_val"'`
    3500                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3501 $as_echo "$ac_res" >&6; }
    3502 as_val=`eval 'as_val=${'$as_ac_Header'}
    3503                  $as_echo "$as_val"'`
    3504    if test "x$as_val" = x""yes; then
     3909do :
     3910  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3911ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3912"
     3913if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35053914  cat >>confdefs.h <<_ACEOF
    35063915#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35273936
    35283937# Check whether --with-python was given.
    3529 if test "${with_python+set}" = set; then
     3938if test "${with_python+set}" = set; then :
    35303939  withval=$with_python;
    35313940else
     
    35383947    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    35393948set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35413950$as_echo_n "checking for $ac_word... " >&6; }
    3542 if test "${ac_cv_path_PYTHON+set}" = set; then
     3951if ${ac_cv_path_PYTHON+:} false; then :
    35433952  $as_echo_n "(cached) " >&6
    35443953else
     
    35533962  IFS=$as_save_IFS
    35543963  test -z "$as_dir" && as_dir=.
    3555   for ac_exec_ext in '' $ac_executable_extensions; do
    3556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3964    for ac_exec_ext in '' $ac_executable_extensions; do
     3965  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35573966    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3558     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35593968    break 2
    35603969  fi
    35613970done
    3562 done
     3971  done
    35633972IFS=$as_save_IFS
    35643973
     
    35683977PYTHON=$ac_cv_path_PYTHON
    35693978if test -n "$PYTHON"; then
    3570   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35713980$as_echo "$PYTHON" >&6; }
    35723981else
    3573   { $as_echo "$as_me:$LINENO: result: no" >&5
     3982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35743983$as_echo "no" >&6; }
    35753984fi
     
    35793988    # Extract the first word of "python", so it can be a program name with args.
    35803989set dummy python; ac_word=$2
    3581 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35823991$as_echo_n "checking for $ac_word... " >&6; }
    3583 if test "${ac_cv_path_PYTHON+set}" = set; then
     3992if ${ac_cv_path_PYTHON+:} false; then :
    35843993  $as_echo_n "(cached) " >&6
    35853994else
     
    35954004  IFS=$as_save_IFS
    35964005  test -z "$as_dir" && as_dir=.
    3597   for ac_exec_ext in '' $ac_executable_extensions; do
    3598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4006    for ac_exec_ext in '' $ac_executable_extensions; do
     4007  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35994008    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3600     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36014010    break 2
    36024011  fi
    36034012done
    3604 done
     4013  done
    36054014IFS=$as_save_IFS
    36064015
     
    36104019PYTHON=$ac_cv_path_PYTHON
    36114020if test -n "$PYTHON"; then
    3612   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     4021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36134022$as_echo "$PYTHON" >&6; }
    36144023else
    3615   { $as_echo "$as_me:$LINENO: result: no" >&5
     4024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36164025$as_echo "no" >&6; }
    36174026fi
     
    36194028
    36204029  fi
    3621   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     4030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36224031$as_echo_n "checking for Python version... " >&6; }
    36234032  if test "x${PYTHON}" != "x"; then
    36244033    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36254034  fi
    3626   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     4035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36274036$as_echo "$PYTHON_VERSION" >&6; }
    36284037fi
     
    36304039if test "x${PYTHON_VERSION}" != "x"; then
    36314040  PYTHON_INCLUDES=$incdir
    3632   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4041  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36334042$as_echo_n "checking for Python distutils... " >&6; }
    36344043  PYTHON_DISTUTILS=""
     
    36384047    PYTHON_DISTUTILS="yes"
    36394048  fi
    3640   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36414050$as_echo "$PYTHON_DISTUTILS" >&6; }
    36424051  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36454054    # Check for Python include path
    36464055    #
    3647     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4056    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36484057$as_echo_n "checking path to Python headers... " >&6; }
    36494058    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36504059     print distutils.sysconfig.get_python_inc();"`
    3651     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4060    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36524061$as_echo "$PYTHON_INCDIR" >&6; }
    36534062    #
     
    36624071    save_CPPFLAGS=$CPPFLAGS
    36634072    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    3664 
    3665 for ac_header in Python.h
    3666 do
    3667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3669   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3670 $as_echo_n "checking for $ac_header... " >&6; }
    3671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3672   $as_echo_n "(cached) " >&6
    3673 fi
    3674 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3675                  $as_echo "$as_val"'`
    3676                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3677 $as_echo "$ac_res" >&6; }
    3678 else
    3679   # Is the header compilable?
    3680 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3681 $as_echo_n "checking $ac_header usability... " >&6; }
    3682 cat >conftest.$ac_ext <<_ACEOF
    3683 /* confdefs.h.  */
    3684 _ACEOF
    3685 cat confdefs.h >>conftest.$ac_ext
    3686 cat >>conftest.$ac_ext <<_ACEOF
    3687 /* end confdefs.h.  */
    3688 $ac_includes_default
    3689 #include <$ac_header>
    3690 _ACEOF
    3691 rm -f conftest.$ac_objext
    3692 if { (ac_try="$ac_compile"
    3693 case "(($ac_try" in
    3694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3695   *) ac_try_echo=$ac_try;;
    3696 esac
    3697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3698 $as_echo "$ac_try_echo") >&5
    3699   (eval "$ac_compile") 2>conftest.er1
    3700   ac_status=$?
    3701   grep -v '^ *+' conftest.er1 >conftest.err
    3702   rm -f conftest.er1
    3703   cat conftest.err >&5
    3704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3705   (exit $ac_status); } && {
    3706          test -z "$ac_c_werror_flag" ||
    3707          test ! -s conftest.err
    3708        } && test -s conftest.$ac_objext; then
    3709   ac_header_compiler=yes
    3710 else
    3711   $as_echo "$as_me: failed program was:" >&5
    3712 sed 's/^/| /' conftest.$ac_ext >&5
    3713 
    3714         ac_header_compiler=no
    3715 fi
    3716 
    3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3719 $as_echo "$ac_header_compiler" >&6; }
    3720 
    3721 # Is the header present?
    3722 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3723 $as_echo_n "checking $ac_header presence... " >&6; }
    3724 cat >conftest.$ac_ext <<_ACEOF
    3725 /* confdefs.h.  */
    3726 _ACEOF
    3727 cat confdefs.h >>conftest.$ac_ext
    3728 cat >>conftest.$ac_ext <<_ACEOF
    3729 /* end confdefs.h.  */
    3730 #include <$ac_header>
    3731 _ACEOF
    3732 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3733 case "(($ac_try" in
    3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3735   *) ac_try_echo=$ac_try;;
    3736 esac
    3737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3738 $as_echo "$ac_try_echo") >&5
    3739   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3740   ac_status=$?
    3741   grep -v '^ *+' conftest.er1 >conftest.err
    3742   rm -f conftest.er1
    3743   cat conftest.err >&5
    3744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3745   (exit $ac_status); } >/dev/null && {
    3746          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3747          test ! -s conftest.err
    3748        }; then
    3749   ac_header_preproc=yes
    3750 else
    3751   $as_echo "$as_me: failed program was:" >&5
    3752 sed 's/^/| /' conftest.$ac_ext >&5
    3753 
    3754   ac_header_preproc=no
    3755 fi
    3756 
    3757 rm -f conftest.err conftest.$ac_ext
    3758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3759 $as_echo "$ac_header_preproc" >&6; }
    3760 
    3761 # So?  What about this header?
    3762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    3763   yes:no: )
    3764     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3765 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3766     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    3767 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    3768     ac_header_preproc=yes
    3769     ;;
    3770   no:yes:* )
    3771     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3772 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3773     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    3774 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    3775     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    3776 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    3777     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    3778 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    3779     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3780 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3781     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    3782 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3783     ( cat <<\_ASBOX
    3784 ## ----------------------------------- ##
    3785 ## Report this to rappture@nanohub.org ##
    3786 ## ----------------------------------- ##
    3787 _ASBOX
    3788      ) | sed "s/^/$as_me: WARNING:     /" >&2
    3789     ;;
    3790 esac
    3791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3792 $as_echo_n "checking for $ac_header... " >&6; }
    3793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3794   $as_echo_n "(cached) " >&6
    3795 else
    3796   eval "$as_ac_Header=\$ac_header_preproc"
    3797 fi
    3798 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3799                  $as_echo "$as_val"'`
    3800                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3801 $as_echo "$ac_res" >&6; }
    3802 
    3803 fi
    3804 as_val=`eval 'as_val=${'$as_ac_Header'}
    3805                  $as_echo "$as_val"'`
    3806    if test "x$as_val" = x""yes; then
     4073    for ac_header in Python.h
     4074do :
     4075  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4076if test "x$ac_cv_header_Python_h" = xyes; then :
    38074077  cat >>confdefs.h <<_ACEOF
    3808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4078#define HAVE_PYTHON_H 1
    38094079_ACEOF
    38104080 found=yes
     
    38234093
    38244094
     4095
     4096# Check whether --with-statsdir was given.
     4097if test "${with_statsdir+set}" = set; then :
     4098  withval=$with_statsdir; STATSDIR=$withval
     4099else
     4100  STATSDIR="/var/tmp/visservers"
     4101fi
     4102
     4103
    38254104VERSION=0.0.1
    38264105
     
    38504129  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38514130set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38534132$as_echo_n "checking for $ac_word... " >&6; }
    3854 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4133if ${ac_cv_prog_RANLIB+:} false; then :
    38554134  $as_echo_n "(cached) " >&6
    38564135else
     
    38634142  IFS=$as_save_IFS
    38644143  test -z "$as_dir" && as_dir=.
    3865   for ac_exec_ext in '' $ac_executable_extensions; do
    3866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4144    for ac_exec_ext in '' $ac_executable_extensions; do
     4145  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38674146    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3868     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38694148    break 2
    38704149  fi
    38714150done
    3872 done
     4151  done
    38734152IFS=$as_save_IFS
    38744153
     
    38774156RANLIB=$ac_cv_prog_RANLIB
    38784157if test -n "$RANLIB"; then
    3879   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    38804159$as_echo "$RANLIB" >&6; }
    38814160else
    3882   { $as_echo "$as_me:$LINENO: result: no" >&5
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38834162$as_echo "no" >&6; }
    38844163fi
     
    38904169  # Extract the first word of "ranlib", so it can be a program name with args.
    38914170set dummy ranlib; ac_word=$2
    3892 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38934172$as_echo_n "checking for $ac_word... " >&6; }
    3894 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4173if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    38954174  $as_echo_n "(cached) " >&6
    38964175else
     
    39034182  IFS=$as_save_IFS
    39044183  test -z "$as_dir" && as_dir=.
    3905   for ac_exec_ext in '' $ac_executable_extensions; do
    3906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4184    for ac_exec_ext in '' $ac_executable_extensions; do
     4185  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39074186    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3908     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39094188    break 2
    39104189  fi
    39114190done
    3912 done
     4191  done
    39134192IFS=$as_save_IFS
    39144193
     
    39174196ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39184197if test -n "$ac_ct_RANLIB"; then
    3919   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39204199$as_echo "$ac_ct_RANLIB" >&6; }
    39214200else
    3922   { $as_echo "$as_me:$LINENO: result: no" >&5
     4201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39234202$as_echo "no" >&6; }
    39244203fi
     
    39294208    case $cross_compiling:$ac_tool_warned in
    39304209yes:)
    3931 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39324211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39334212ac_tool_warned=yes ;;
     
    39434222    # Step 0.a: Enable 64 bit support?
    39444223
    3945     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4224    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39464225$as_echo_n "checking if 64bit support is requested... " >&6; }
    39474226    # Check whether --enable-64bit was given.
    3948 if test "${enable_64bit+set}" = set; then
     4227if test "${enable_64bit+set}" = set; then :
    39494228  enableval=$enable_64bit; do64bit=$enableval
    39504229else
     
    39524231fi
    39534232
    3954     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4233    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39554234$as_echo "$do64bit" >&6; }
    39564235
    39574236    # Step 0.b: Enable Solaris 64 bit VIS support?
    39584237
    3959     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39604239$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39614240    # Check whether --enable-64bit-vis was given.
    3962 if test "${enable_64bit_vis+set}" = set; then
     4241if test "${enable_64bit_vis+set}" = set; then :
    39634242  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39644243else
     
    39664245fi
    39674246
    3968     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39694248$as_echo "$do64bitVIS" >&6; }
    39704249
     
    39784257
    39794258
    3980     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    39814260$as_echo_n "checking system version... " >&6; }
    3982 if test "${tcl_cv_sys_version+set}" = set; then
     4261if ${tcl_cv_sys_version+:} false; then :
    39834262  $as_echo_n "(cached) " >&6
    39844263else
     
    39894268            tcl_cv_sys_version=`uname -s`-`uname -r`
    39904269            if test "$?" -ne 0 ; then
    3991                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4270                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    39924271$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    39934272                tcl_cv_sys_version=unknown
     
    40064285
    40074286fi
    4008 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40094288$as_echo "$tcl_cv_sys_version" >&6; }
    40104289    system=$tcl_cv_sys_version
     
    40144293    # Linux can use either -ldl or -ldld for dynamic loading.
    40154294
    4016     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4295    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40174296$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4018 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4297if ${ac_cv_lib_dl_dlopen+:} false; then :
    40194298  $as_echo_n "(cached) " >&6
    40204299else
    40214300  ac_check_lib_save_LIBS=$LIBS
    40224301LIBS="-ldl  $LIBS"
    4023 cat >conftest.$ac_ext <<_ACEOF
    4024 /* confdefs.h.  */
    4025 _ACEOF
    4026 cat confdefs.h >>conftest.$ac_ext
    4027 cat >>conftest.$ac_ext <<_ACEOF
     4302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40284303/* end confdefs.h.  */
    40294304
     
    40434318}
    40444319_ACEOF
    4045 rm -f conftest.$ac_objext conftest$ac_exeext
    4046 if { (ac_try="$ac_link"
    4047 case "(($ac_try" in
    4048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4049   *) ac_try_echo=$ac_try;;
    4050 esac
    4051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4052 $as_echo "$ac_try_echo") >&5
    4053   (eval "$ac_link") 2>conftest.er1
    4054   ac_status=$?
    4055   grep -v '^ *+' conftest.er1 >conftest.err
    4056   rm -f conftest.er1
    4057   cat conftest.err >&5
    4058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4059   (exit $ac_status); } && {
    4060          test -z "$ac_c_werror_flag" ||
    4061          test ! -s conftest.err
    4062        } && test -s conftest$ac_exeext && {
    4063          test "$cross_compiling" = yes ||
    4064          $as_test_x conftest$ac_exeext
    4065        }; then
     4320if ac_fn_c_try_link "$LINENO"; then :
    40664321  ac_cv_lib_dl_dlopen=yes
    40674322else
    4068   $as_echo "$as_me: failed program was:" >&5
    4069 sed 's/^/| /' conftest.$ac_ext >&5
    4070 
    4071         ac_cv_lib_dl_dlopen=no
    4072 fi
    4073 
    4074 rm -rf conftest.dSYM
    4075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4076       conftest$ac_exeext conftest.$ac_ext
     4323  ac_cv_lib_dl_dlopen=no
     4324fi
     4325rm -f core conftest.err conftest.$ac_objext \
     4326    conftest$ac_exeext conftest.$ac_ext
    40774327LIBS=$ac_check_lib_save_LIBS
    40784328fi
    4079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    40804330$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4081 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4331if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    40824332  have_dl=yes
    40834333else
     
    41114361    # Extract the first word of "ar", so it can be a program name with args.
    41124362set dummy ar; ac_word=$2
    4113 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41144364$as_echo_n "checking for $ac_word... " >&6; }
    4115 if test "${ac_cv_prog_AR+set}" = set; then
     4365if ${ac_cv_prog_AR+:} false; then :
    41164366  $as_echo_n "(cached) " >&6
    41174367else
     
    41244374  IFS=$as_save_IFS
    41254375  test -z "$as_dir" && as_dir=.
    4126   for ac_exec_ext in '' $ac_executable_extensions; do
    4127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4376    for ac_exec_ext in '' $ac_executable_extensions; do
     4377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41284378    ac_cv_prog_AR="ar"
    4129     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41304380    break 2
    41314381  fi
    41324382done
    4133 done
     4383  done
    41344384IFS=$as_save_IFS
    41354385
     
    41384388AR=$ac_cv_prog_AR
    41394389if test -n "$AR"; then
    4140   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41414391$as_echo "$AR" >&6; }
    41424392else
    4143   { $as_echo "$as_me:$LINENO: result: no" >&5
     4393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41444394$as_echo "no" >&6; }
    41454395fi
     
    41474397
    41484398    if test "${AR}" = "" ; then
    4149         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    4150 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    4151    { (exit 1); exit 1; }; }
     4399        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41524400    fi
    41534401    STLIB_LD='${AR} cr'
     
    41674415                        ;;
    41684416                esac
    4169                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4417                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41704418$as_echo "Using $CC for compiling with threads" >&6; }
    41714419            fi
     
    41834431            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    41844432                if test "$GCC" = "yes" ; then
    4185                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4433                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    41864434$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41874435                else
     
    42384486            # known GMT value.
    42394487
    4240             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4488            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42414489$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4242 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4490if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42434491  $as_echo_n "(cached) " >&6
    42444492else
    42454493  ac_check_lib_save_LIBS=$LIBS
    42464494LIBS="-lbsd  $LIBS"
    4247 cat >conftest.$ac_ext <<_ACEOF
    4248 /* confdefs.h.  */
    4249 _ACEOF
    4250 cat confdefs.h >>conftest.$ac_ext
    4251 cat >>conftest.$ac_ext <<_ACEOF
     4495cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42524496/* end confdefs.h.  */
    42534497
     
    42674511}
    42684512_ACEOF
    4269 rm -f conftest.$ac_objext conftest$ac_exeext
    4270 if { (ac_try="$ac_link"
    4271 case "(($ac_try" in
    4272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4273   *) ac_try_echo=$ac_try;;
    4274 esac
    4275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4276 $as_echo "$ac_try_echo") >&5
    4277   (eval "$ac_link") 2>conftest.er1
    4278   ac_status=$?
    4279   grep -v '^ *+' conftest.er1 >conftest.err
    4280   rm -f conftest.er1
    4281   cat conftest.err >&5
    4282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4283   (exit $ac_status); } && {
    4284          test -z "$ac_c_werror_flag" ||
    4285          test ! -s conftest.err
    4286        } && test -s conftest$ac_exeext && {
    4287          test "$cross_compiling" = yes ||
    4288          $as_test_x conftest$ac_exeext
    4289        }; then
     4513if ac_fn_c_try_link "$LINENO"; then :
    42904514  ac_cv_lib_bsd_gettimeofday=yes
    42914515else
    4292   $as_echo "$as_me: failed program was:" >&5
    4293 sed 's/^/| /' conftest.$ac_ext >&5
    4294 
    4295         ac_cv_lib_bsd_gettimeofday=no
    4296 fi
    4297 
    4298 rm -rf conftest.dSYM
    4299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4300       conftest$ac_exeext conftest.$ac_ext
     4516  ac_cv_lib_bsd_gettimeofday=no
     4517fi
     4518rm -f core conftest.err conftest.$ac_objext \
     4519    conftest$ac_exeext conftest.$ac_ext
    43014520LIBS=$ac_check_lib_save_LIBS
    43024521fi
    4303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43044523$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4305 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4524if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43064525  libbsd=yes
    43074526else
     
    43114530            if test $libbsd = yes; then
    43124531                MATH_LIBS="$MATH_LIBS -lbsd"
    4313                 cat >>confdefs.h <<\_ACEOF
    4314 #define USE_DELTA_FOR_TZ 1
    4315 _ACEOF
     4532                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43164533
    43174534            fi
     
    43304547            # is always linked to, for compatibility.
    43314548            #-----------------------------------------------------------
    4332             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4549            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43334550$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4334 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4551if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43354552  $as_echo_n "(cached) " >&6
    43364553else
    43374554  ac_check_lib_save_LIBS=$LIBS
    43384555LIBS="-lbind  $LIBS"
    4339 cat >conftest.$ac_ext <<_ACEOF
    4340 /* confdefs.h.  */
    4341 _ACEOF
    4342 cat confdefs.h >>conftest.$ac_ext
    4343 cat >>conftest.$ac_ext <<_ACEOF
     4556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43444557/* end confdefs.h.  */
    43454558
     
    43594572}
    43604573_ACEOF
    4361 rm -f conftest.$ac_objext conftest$ac_exeext
    4362 if { (ac_try="$ac_link"
    4363 case "(($ac_try" in
    4364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4365   *) ac_try_echo=$ac_try;;
    4366 esac
    4367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4368 $as_echo "$ac_try_echo") >&5
    4369   (eval "$ac_link") 2>conftest.er1
    4370   ac_status=$?
    4371   grep -v '^ *+' conftest.er1 >conftest.err
    4372   rm -f conftest.er1
    4373   cat conftest.err >&5
    4374   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4375   (exit $ac_status); } && {
    4376          test -z "$ac_c_werror_flag" ||
    4377          test ! -s conftest.err
    4378        } && test -s conftest$ac_exeext && {
    4379          test "$cross_compiling" = yes ||
    4380          $as_test_x conftest$ac_exeext
    4381        }; then
     4574if ac_fn_c_try_link "$LINENO"; then :
    43824575  ac_cv_lib_bind_inet_ntoa=yes
    43834576else
    4384   $as_echo "$as_me: failed program was:" >&5
    4385 sed 's/^/| /' conftest.$ac_ext >&5
    4386 
    4387         ac_cv_lib_bind_inet_ntoa=no
    4388 fi
    4389 
    4390 rm -rf conftest.dSYM
    4391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4392       conftest$ac_exeext conftest.$ac_ext
     4577  ac_cv_lib_bind_inet_ntoa=no
     4578fi
     4579rm -f core conftest.err conftest.$ac_objext \
     4580    conftest$ac_exeext conftest.$ac_ext
    43934581LIBS=$ac_check_lib_save_LIBS
    43944582fi
    4395 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    43964584$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4397 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4585if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    43984586  LIBS="$LIBS -lbind -lsocket"
    43994587fi
     
    44334621        HP-UX-*.11.*)
    44344622            # Use updated header definitions where possible
    4435             cat >>confdefs.h <<\_ACEOF
    4436 #define _XOPEN_SOURCE 1
    4437 _ACEOF
     4623            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44384624          # Use the XOPEN network library
    4439             cat >>confdefs.h <<\_ACEOF
    4440 #define _XOPEN_SOURCE_EXTENDED 1
    4441 _ACEOF
     4625            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44424626 # Use the XOPEN network library
    44434627            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44484632                SHLIB_SUFFIX=".sl"
    44494633            fi
    4450             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4634            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44514635$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4452 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4636if ${ac_cv_lib_dld_shl_load+:} false; then :
    44534637  $as_echo_n "(cached) " >&6
    44544638else
    44554639  ac_check_lib_save_LIBS=$LIBS
    44564640LIBS="-ldld  $LIBS"
    4457 cat >conftest.$ac_ext <<_ACEOF
    4458 /* confdefs.h.  */
    4459 _ACEOF
    4460 cat confdefs.h >>conftest.$ac_ext
    4461 cat >>conftest.$ac_ext <<_ACEOF
     4641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44624642/* end confdefs.h.  */
    44634643
     
    44774657}
    44784658_ACEOF
    4479 rm -f conftest.$ac_objext conftest$ac_exeext
    4480 if { (ac_try="$ac_link"
    4481 case "(($ac_try" in
    4482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4483   *) ac_try_echo=$ac_try;;
    4484 esac
    4485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4486 $as_echo "$ac_try_echo") >&5
    4487   (eval "$ac_link") 2>conftest.er1
    4488   ac_status=$?
    4489   grep -v '^ *+' conftest.er1 >conftest.err
    4490   rm -f conftest.er1
    4491   cat conftest.err >&5
    4492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4493   (exit $ac_status); } && {
    4494          test -z "$ac_c_werror_flag" ||
    4495          test ! -s conftest.err
    4496        } && test -s conftest$ac_exeext && {
    4497          test "$cross_compiling" = yes ||
    4498          $as_test_x conftest$ac_exeext
    4499        }; then
     4659if ac_fn_c_try_link "$LINENO"; then :
    45004660  ac_cv_lib_dld_shl_load=yes
    45014661else
    4502   $as_echo "$as_me: failed program was:" >&5
    4503 sed 's/^/| /' conftest.$ac_ext >&5
    4504 
    4505         ac_cv_lib_dld_shl_load=no
    4506 fi
    4507 
    4508 rm -rf conftest.dSYM
    4509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4510       conftest$ac_exeext conftest.$ac_ext
     4662  ac_cv_lib_dld_shl_load=no
     4663fi
     4664rm -f core conftest.err conftest.$ac_objext \
     4665    conftest$ac_exeext conftest.$ac_ext
    45114666LIBS=$ac_check_lib_save_LIBS
    45124667fi
    4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45144669$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4515 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4670if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45164671  tcl_ok=yes
    45174672else
     
    45534708                            ;;
    45544709                        *)
    4555                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4710                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45564711$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45574712                            ;;
     
    45664721        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45674722            SHLIB_SUFFIX=".sl"
    4568             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4723            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45694724$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4570 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4725if ${ac_cv_lib_dld_shl_load+:} false; then :
    45714726  $as_echo_n "(cached) " >&6
    45724727else
    45734728  ac_check_lib_save_LIBS=$LIBS
    45744729LIBS="-ldld  $LIBS"
    4575 cat >conftest.$ac_ext <<_ACEOF
    4576 /* confdefs.h.  */
    4577 _ACEOF
    4578 cat confdefs.h >>conftest.$ac_ext
    4579 cat >>conftest.$ac_ext <<_ACEOF
     4730cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45804731/* end confdefs.h.  */
    45814732
     
    45954746}
    45964747_ACEOF
    4597 rm -f conftest.$ac_objext conftest$ac_exeext
    4598 if { (ac_try="$ac_link"
    4599 case "(($ac_try" in
    4600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4601   *) ac_try_echo=$ac_try;;
    4602 esac
    4603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4604 $as_echo "$ac_try_echo") >&5
    4605   (eval "$ac_link") 2>conftest.er1
    4606   ac_status=$?
    4607   grep -v '^ *+' conftest.er1 >conftest.err
    4608   rm -f conftest.er1
    4609   cat conftest.err >&5
    4610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4611   (exit $ac_status); } && {
    4612          test -z "$ac_c_werror_flag" ||
    4613          test ! -s conftest.err
    4614        } && test -s conftest$ac_exeext && {
    4615          test "$cross_compiling" = yes ||
    4616          $as_test_x conftest$ac_exeext
    4617        }; then
     4748if ac_fn_c_try_link "$LINENO"; then :
    46184749  ac_cv_lib_dld_shl_load=yes
    46194750else
    4620   $as_echo "$as_me: failed program was:" >&5
    4621 sed 's/^/| /' conftest.$ac_ext >&5
    4622 
    4623         ac_cv_lib_dld_shl_load=no
    4624 fi
    4625 
    4626 rm -rf conftest.dSYM
    4627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4628       conftest$ac_exeext conftest.$ac_ext
     4751  ac_cv_lib_dld_shl_load=no
     4752fi
     4753rm -f core conftest.err conftest.$ac_objext \
     4754    conftest$ac_exeext conftest.$ac_ext
    46294755LIBS=$ac_check_lib_save_LIBS
    46304756fi
    4631 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46324758$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4633 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4759if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46344760  tcl_ok=yes
    46354761else
     
    47104836            if test "$do64bit" = "yes" ; then
    47114837                if test "$GCC" = "yes" ; then
    4712                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4838                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47134839$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47144840                else
     
    47394865                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47404866            else
    4741                 if test "${ac_cv_header_dld_h+set}" = set; then
    4742   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4743 $as_echo_n "checking for dld.h... " >&6; }
    4744 if test "${ac_cv_header_dld_h+set}" = set; then
    4745   $as_echo_n "(cached) " >&6
    4746 fi
    4747 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4748 $as_echo "$ac_cv_header_dld_h" >&6; }
    4749 else
    4750   # Is the header compilable?
    4751 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4752 $as_echo_n "checking dld.h usability... " >&6; }
    4753 cat >conftest.$ac_ext <<_ACEOF
    4754 /* confdefs.h.  */
    4755 _ACEOF
    4756 cat confdefs.h >>conftest.$ac_ext
    4757 cat >>conftest.$ac_ext <<_ACEOF
    4758 /* end confdefs.h.  */
    4759 $ac_includes_default
    4760 #include <dld.h>
    4761 _ACEOF
    4762 rm -f conftest.$ac_objext
    4763 if { (ac_try="$ac_compile"
    4764 case "(($ac_try" in
    4765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4766   *) ac_try_echo=$ac_try;;
    4767 esac
    4768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4769 $as_echo "$ac_try_echo") >&5
    4770   (eval "$ac_compile") 2>conftest.er1
    4771   ac_status=$?
    4772   grep -v '^ *+' conftest.er1 >conftest.err
    4773   rm -f conftest.er1
    4774   cat conftest.err >&5
    4775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4776   (exit $ac_status); } && {
    4777          test -z "$ac_c_werror_flag" ||
    4778          test ! -s conftest.err
    4779        } && test -s conftest.$ac_objext; then
    4780   ac_header_compiler=yes
    4781 else
    4782   $as_echo "$as_me: failed program was:" >&5
    4783 sed 's/^/| /' conftest.$ac_ext >&5
    4784 
    4785         ac_header_compiler=no
    4786 fi
    4787 
    4788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4789 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4790 $as_echo "$ac_header_compiler" >&6; }
    4791 
    4792 # Is the header present?
    4793 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4794 $as_echo_n "checking dld.h presence... " >&6; }
    4795 cat >conftest.$ac_ext <<_ACEOF
    4796 /* confdefs.h.  */
    4797 _ACEOF
    4798 cat confdefs.h >>conftest.$ac_ext
    4799 cat >>conftest.$ac_ext <<_ACEOF
    4800 /* end confdefs.h.  */
    4801 #include <dld.h>
    4802 _ACEOF
    4803 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4804 case "(($ac_try" in
    4805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4806   *) ac_try_echo=$ac_try;;
    4807 esac
    4808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4809 $as_echo "$ac_try_echo") >&5
    4810   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4811   ac_status=$?
    4812   grep -v '^ *+' conftest.er1 >conftest.err
    4813   rm -f conftest.er1
    4814   cat conftest.err >&5
    4815   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4816   (exit $ac_status); } >/dev/null && {
    4817          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4818          test ! -s conftest.err
    4819        }; then
    4820   ac_header_preproc=yes
    4821 else
    4822   $as_echo "$as_me: failed program was:" >&5
    4823 sed 's/^/| /' conftest.$ac_ext >&5
    4824 
    4825   ac_header_preproc=no
    4826 fi
    4827 
    4828 rm -f conftest.err conftest.$ac_ext
    4829 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4830 $as_echo "$ac_header_preproc" >&6; }
    4831 
    4832 # So?  What about this header?
    4833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4834   yes:no: )
    4835     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4836 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4837     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4838 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4839     ac_header_preproc=yes
    4840     ;;
    4841   no:yes:* )
    4842     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4843 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4844     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4845 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4846     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4847 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4848     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4849 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4850     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4851 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4852     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4853 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4854     ( cat <<\_ASBOX
    4855 ## ----------------------------------- ##
    4856 ## Report this to rappture@nanohub.org ##
    4857 ## ----------------------------------- ##
    4858 _ASBOX
    4859      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4860     ;;
    4861 esac
    4862 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4863 $as_echo_n "checking for dld.h... " >&6; }
    4864 if test "${ac_cv_header_dld_h+set}" = set; then
    4865   $as_echo_n "(cached) " >&6
    4866 else
    4867   ac_cv_header_dld_h=$ac_header_preproc
    4868 fi
    4869 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4870 $as_echo "$ac_cv_header_dld_h" >&6; }
    4871 
    4872 fi
    4873 if test "x$ac_cv_header_dld_h" = x""yes; then
     4867                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4868if test "x$ac_cv_header_dld_h" = xyes; then :
    48744869
    48754870                    SHLIB_LD="ld -shared"
     
    48864881            fi
    48874882            if test $do64bit = yes; then
    4888                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4883                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    48894884$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4890 if test "${tcl_cv_cc_m64+set}" = set; then
     4885if ${tcl_cv_cc_m64+:} false; then :
    48914886  $as_echo_n "(cached) " >&6
    48924887else
     
    48944889                    hold_cflags=$CFLAGS
    48954890                    CFLAGS="$CFLAGS -m64"
    4896                     cat >conftest.$ac_ext <<_ACEOF
    4897 /* confdefs.h.  */
    4898 _ACEOF
    4899 cat confdefs.h >>conftest.$ac_ext
    4900 cat >>conftest.$ac_ext <<_ACEOF
     4891                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49014892/* end confdefs.h.  */
    49024893
     
    49094900}
    49104901_ACEOF
    4911 rm -f conftest.$ac_objext conftest$ac_exeext
    4912 if { (ac_try="$ac_link"
    4913 case "(($ac_try" in
    4914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4915   *) ac_try_echo=$ac_try;;
    4916 esac
    4917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4918 $as_echo "$ac_try_echo") >&5
    4919   (eval "$ac_link") 2>conftest.er1
    4920   ac_status=$?
    4921   grep -v '^ *+' conftest.er1 >conftest.err
    4922   rm -f conftest.er1
    4923   cat conftest.err >&5
    4924   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4925   (exit $ac_status); } && {
    4926          test -z "$ac_c_werror_flag" ||
    4927          test ! -s conftest.err
    4928        } && test -s conftest$ac_exeext && {
    4929          test "$cross_compiling" = yes ||
    4930          $as_test_x conftest$ac_exeext
    4931        }; then
     4902if ac_fn_c_try_link "$LINENO"; then :
    49324903  tcl_cv_cc_m64=yes
    49334904else
    4934   $as_echo "$as_me: failed program was:" >&5
    4935 sed 's/^/| /' conftest.$ac_ext >&5
    4936 
    4937         tcl_cv_cc_m64=no
    4938 fi
    4939 
    4940 rm -rf conftest.dSYM
    4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4942       conftest$ac_exeext conftest.$ac_ext
     4905  tcl_cv_cc_m64=no
     4906fi
     4907rm -f core conftest.err conftest.$ac_objext \
     4908    conftest$ac_exeext conftest.$ac_ext
    49434909                    CFLAGS=$hold_cflags
    49444910fi
    4945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49464912$as_echo "$tcl_cv_cc_m64" >&6; }
    49474913                if test $tcl_cv_cc_m64 = yes; then
     
    49634929
    49644930            # XIM peeking works under XFree86.
    4965             cat >>confdefs.h <<\_ACEOF
    4966 #define PEEK_XCLOSEIM 1
    4967 _ACEOF
     4931            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49684932
    49694933
     
    49824946                LD_SEARCH_FLAGS=""
    49834947            else
    4984                 if test "${ac_cv_header_dld_h+set}" = set; then
    4985   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4986 $as_echo_n "checking for dld.h... " >&6; }
    4987 if test "${ac_cv_header_dld_h+set}" = set; then
    4988   $as_echo_n "(cached) " >&6
    4989 fi
    4990 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4991 $as_echo "$ac_cv_header_dld_h" >&6; }
    4992 else
    4993   # Is the header compilable?
    4994 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4995 $as_echo_n "checking dld.h usability... " >&6; }
    4996 cat >conftest.$ac_ext <<_ACEOF
    4997 /* confdefs.h.  */
    4998 _ACEOF
    4999 cat confdefs.h >>conftest.$ac_ext
    5000 cat >>conftest.$ac_ext <<_ACEOF
    5001 /* end confdefs.h.  */
    5002 $ac_includes_default
    5003 #include <dld.h>
    5004 _ACEOF
    5005 rm -f conftest.$ac_objext
    5006 if { (ac_try="$ac_compile"
    5007 case "(($ac_try" in
    5008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5009   *) ac_try_echo=$ac_try;;
    5010 esac
    5011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5012 $as_echo "$ac_try_echo") >&5
    5013   (eval "$ac_compile") 2>conftest.er1
    5014   ac_status=$?
    5015   grep -v '^ *+' conftest.er1 >conftest.err
    5016   rm -f conftest.er1
    5017   cat conftest.err >&5
    5018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5019   (exit $ac_status); } && {
    5020          test -z "$ac_c_werror_flag" ||
    5021          test ! -s conftest.err
    5022        } && test -s conftest.$ac_objext; then
    5023   ac_header_compiler=yes
    5024 else
    5025   $as_echo "$as_me: failed program was:" >&5
    5026 sed 's/^/| /' conftest.$ac_ext >&5
    5027 
    5028         ac_header_compiler=no
    5029 fi
    5030 
    5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5032 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5033 $as_echo "$ac_header_compiler" >&6; }
    5034 
    5035 # Is the header present?
    5036 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    5037 $as_echo_n "checking dld.h presence... " >&6; }
    5038 cat >conftest.$ac_ext <<_ACEOF
    5039 /* confdefs.h.  */
    5040 _ACEOF
    5041 cat confdefs.h >>conftest.$ac_ext
    5042 cat >>conftest.$ac_ext <<_ACEOF
    5043 /* end confdefs.h.  */
    5044 #include <dld.h>
    5045 _ACEOF
    5046 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5047 case "(($ac_try" in
    5048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5049   *) ac_try_echo=$ac_try;;
    5050 esac
    5051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5052 $as_echo "$ac_try_echo") >&5
    5053   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5054   ac_status=$?
    5055   grep -v '^ *+' conftest.er1 >conftest.err
    5056   rm -f conftest.er1
    5057   cat conftest.err >&5
    5058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5059   (exit $ac_status); } >/dev/null && {
    5060          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5061          test ! -s conftest.err
    5062        }; then
    5063   ac_header_preproc=yes
    5064 else
    5065   $as_echo "$as_me: failed program was:" >&5
    5066 sed 's/^/| /' conftest.$ac_ext >&5
    5067 
    5068   ac_header_preproc=no
    5069 fi
    5070 
    5071 rm -f conftest.err conftest.$ac_ext
    5072 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5073 $as_echo "$ac_header_preproc" >&6; }
    5074 
    5075 # So?  What about this header?
    5076 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5077   yes:no: )
    5078     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5079 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5080     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    5081 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    5082     ac_header_preproc=yes
    5083     ;;
    5084   no:yes:* )
    5085     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    5086 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    5087     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    5088 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    5089     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    5090 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    5091     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    5092 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5093     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    5094 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    5095     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    5096 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    5097     ( cat <<\_ASBOX
    5098 ## ----------------------------------- ##
    5099 ## Report this to rappture@nanohub.org ##
    5100 ## ----------------------------------- ##
    5101 _ASBOX
    5102      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5103     ;;
    5104 esac
    5105 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5106 $as_echo_n "checking for dld.h... " >&6; }
    5107 if test "${ac_cv_header_dld_h+set}" = set; then
    5108   $as_echo_n "(cached) " >&6
    5109 else
    5110   ac_cv_header_dld_h=$ac_header_preproc
    5111 fi
    5112 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5113 $as_echo "$ac_cv_header_dld_h" >&6; }
    5114 
    5115 fi
    5116 if test "x$ac_cv_header_dld_h" = x""yes; then
     4948                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4949if test "x$ac_cv_header_dld_h" = xyes; then :
    51174950
    51184951                    SHLIB_LD="ld -shared"
     
    51644997        NetBSD-*|FreeBSD-[1-2].*)
    51654998            # Not available on all versions:  check for include file.
    5166             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5167   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5168 $as_echo_n "checking for dlfcn.h... " >&6; }
    5169 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5170   $as_echo_n "(cached) " >&6
    5171 fi
    5172 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5173 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5174 else
    5175   # Is the header compilable?
    5176 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    5177 $as_echo_n "checking dlfcn.h usability... " >&6; }
    5178 cat >conftest.$ac_ext <<_ACEOF
    5179 /* confdefs.h.  */
    5180 _ACEOF
    5181 cat confdefs.h >>conftest.$ac_ext
    5182 cat >>conftest.$ac_ext <<_ACEOF
    5183 /* end confdefs.h.  */
    5184 $ac_includes_default
    5185 #include <dlfcn.h>
    5186 _ACEOF
    5187 rm -f conftest.$ac_objext
    5188 if { (ac_try="$ac_compile"
    5189 case "(($ac_try" in
    5190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5191   *) ac_try_echo=$ac_try;;
    5192 esac
    5193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5194 $as_echo "$ac_try_echo") >&5
    5195   (eval "$ac_compile") 2>conftest.er1
    5196   ac_status=$?
    5197   grep -v '^ *+' conftest.er1 >conftest.err
    5198   rm -f conftest.er1
    5199   cat conftest.err >&5
    5200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5201   (exit $ac_status); } && {
    5202          test -z "$ac_c_werror_flag" ||
    5203          test ! -s conftest.err
    5204        } && test -s conftest.$ac_objext; then
    5205   ac_header_compiler=yes
    5206 else
    5207   $as_echo "$as_me: failed program was:" >&5
    5208 sed 's/^/| /' conftest.$ac_ext >&5
    5209 
    5210         ac_header_compiler=no
    5211 fi
    5212 
    5213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5214 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5215 $as_echo "$ac_header_compiler" >&6; }
    5216 
    5217 # Is the header present?
    5218 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    5219 $as_echo_n "checking dlfcn.h presence... " >&6; }
    5220 cat >conftest.$ac_ext <<_ACEOF
    5221 /* confdefs.h.  */
    5222 _ACEOF
    5223 cat confdefs.h >>conftest.$ac_ext
    5224 cat >>conftest.$ac_ext <<_ACEOF
    5225 /* end confdefs.h.  */
    5226 #include <dlfcn.h>
    5227 _ACEOF
    5228 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5229 case "(($ac_try" in
    5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5231   *) ac_try_echo=$ac_try;;
    5232 esac
    5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5234 $as_echo "$ac_try_echo") >&5
    5235   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5236   ac_status=$?
    5237   grep -v '^ *+' conftest.er1 >conftest.err
    5238   rm -f conftest.er1
    5239   cat conftest.err >&5
    5240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5241   (exit $ac_status); } >/dev/null && {
    5242          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5243          test ! -s conftest.err
    5244        }; then
    5245   ac_header_preproc=yes
    5246 else
    5247   $as_echo "$as_me: failed program was:" >&5
    5248 sed 's/^/| /' conftest.$ac_ext >&5
    5249 
    5250   ac_header_preproc=no
    5251 fi
    5252 
    5253 rm -f conftest.err conftest.$ac_ext
    5254 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5255 $as_echo "$ac_header_preproc" >&6; }
    5256 
    5257 # So?  What about this header?
    5258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5259   yes:no: )
    5260     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5261 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5262     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    5263 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    5264     ac_header_preproc=yes
    5265     ;;
    5266   no:yes:* )
    5267     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    5268 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    5269     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    5270 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    5271     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    5272 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    5273     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    5274 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5275     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    5276 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    5277     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    5278 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    5279     ( cat <<\_ASBOX
    5280 ## ----------------------------------- ##
    5281 ## Report this to rappture@nanohub.org ##
    5282 ## ----------------------------------- ##
    5283 _ASBOX
    5284      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5285     ;;
    5286 esac
    5287 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5288 $as_echo_n "checking for dlfcn.h... " >&6; }
    5289 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5290   $as_echo_n "(cached) " >&6
    5291 else
    5292   ac_cv_header_dlfcn_h=$ac_header_preproc
    5293 fi
    5294 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5295 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5296 
    5297 fi
    5298 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4999            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     5000if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    52995001
    53005002                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53075009                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53085010                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5309                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5011                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53105012$as_echo_n "checking for ELF... " >&6; }
    5311 if test "${tcl_cv_ld_elf+set}" = set; then
     5013if ${tcl_cv_ld_elf+:} false; then :
    53125014  $as_echo_n "(cached) " >&6
    53135015else
    53145016
    5315                     cat >conftest.$ac_ext <<_ACEOF
    5316 /* confdefs.h.  */
    5317 _ACEOF
    5318 cat confdefs.h >>conftest.$ac_ext
    5319 cat >>conftest.$ac_ext <<_ACEOF
     5017                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53205018/* end confdefs.h.  */
    53215019
     
    53265024_ACEOF
    53275025if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5328   $EGREP "yes" >/dev/null 2>&1; then
     5026  $EGREP "yes" >/dev/null 2>&1; then :
    53295027  tcl_cv_ld_elf=yes
    53305028else
     
    53345032
    53355033fi
    5336 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53375035$as_echo "$tcl_cv_ld_elf" >&6; }
    53385036                if test $tcl_cv_ld_elf = yes; then
     
    53935091                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    53945092                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5395                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5093                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53965094$as_echo_n "checking for ELF... " >&6; }
    5397 if test "${tcl_cv_ld_elf+set}" = set; then
     5095if ${tcl_cv_ld_elf+:} false; then :
    53985096  $as_echo_n "(cached) " >&6
    53995097else
    54005098
    5401                     cat >conftest.$ac_ext <<_ACEOF
    5402 /* confdefs.h.  */
    5403 _ACEOF
    5404 cat confdefs.h >>conftest.$ac_ext
    5405 cat >>conftest.$ac_ext <<_ACEOF
     5099                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54065100/* end confdefs.h.  */
    54075101
     
    54125106_ACEOF
    54135107if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5414   $EGREP "yes" >/dev/null 2>&1; then
     5108  $EGREP "yes" >/dev/null 2>&1; then :
    54155109  tcl_cv_ld_elf=yes
    54165110else
     
    54205114
    54215115fi
    5422 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54235117$as_echo "$tcl_cv_ld_elf" >&6; }
    54245118                if test $tcl_cv_ld_elf = yes; then
     
    54755169                case `arch` in
    54765170                    ppc)
    5477                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5171                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54785172$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5479 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5173if ${tcl_cv_cc_arch_ppc64+:} false; then :
    54805174  $as_echo_n "(cached) " >&6
    54815175else
     
    54835177                            hold_cflags=$CFLAGS
    54845178                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5485                             cat >conftest.$ac_ext <<_ACEOF
    5486 /* confdefs.h.  */
    5487 _ACEOF
    5488 cat confdefs.h >>conftest.$ac_ext
    5489 cat >>conftest.$ac_ext <<_ACEOF
     5179                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54905180/* end confdefs.h.  */
    54915181
     
    54985188}
    54995189_ACEOF
    5500 rm -f conftest.$ac_objext conftest$ac_exeext
    5501 if { (ac_try="$ac_link"
    5502 case "(($ac_try" in
    5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5504   *) ac_try_echo=$ac_try;;
    5505 esac
    5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5507 $as_echo "$ac_try_echo") >&5
    5508   (eval "$ac_link") 2>conftest.er1
    5509   ac_status=$?
    5510   grep -v '^ *+' conftest.er1 >conftest.err
    5511   rm -f conftest.er1
    5512   cat conftest.err >&5
    5513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5514   (exit $ac_status); } && {
    5515          test -z "$ac_c_werror_flag" ||
    5516          test ! -s conftest.err
    5517        } && test -s conftest$ac_exeext && {
    5518          test "$cross_compiling" = yes ||
    5519          $as_test_x conftest$ac_exeext
    5520        }; then
     5190if ac_fn_c_try_link "$LINENO"; then :
    55215191  tcl_cv_cc_arch_ppc64=yes
    55225192else
    5523   $as_echo "$as_me: failed program was:" >&5
    5524 sed 's/^/| /' conftest.$ac_ext >&5
    5525 
    5526         tcl_cv_cc_arch_ppc64=no
    5527 fi
    5528 
    5529 rm -rf conftest.dSYM
    5530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5531       conftest$ac_exeext conftest.$ac_ext
     5193  tcl_cv_cc_arch_ppc64=no
     5194fi
     5195rm -f core conftest.err conftest.$ac_objext \
     5196    conftest$ac_exeext conftest.$ac_ext
    55325197                            CFLAGS=$hold_cflags
    55335198fi
    5534 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55355200$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55365201                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55395204                        fi;;
    55405205                    i386)
    5541                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5206                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55425207$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5543 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5208if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55445209  $as_echo_n "(cached) " >&6
    55455210else
     
    55475212                            hold_cflags=$CFLAGS
    55485213                            CFLAGS="$CFLAGS -arch x86_64"
    5549                             cat >conftest.$ac_ext <<_ACEOF
    5550 /* confdefs.h.  */
    5551 _ACEOF
    5552 cat confdefs.h >>conftest.$ac_ext
    5553 cat >>conftest.$ac_ext <<_ACEOF
     5214                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55545215/* end confdefs.h.  */
    55555216
     
    55625223}
    55635224_ACEOF
    5564 rm -f conftest.$ac_objext conftest$ac_exeext
    5565 if { (ac_try="$ac_link"
    5566 case "(($ac_try" in
    5567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5568   *) ac_try_echo=$ac_try;;
    5569 esac
    5570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5571 $as_echo "$ac_try_echo") >&5
    5572   (eval "$ac_link") 2>conftest.er1
    5573   ac_status=$?
    5574   grep -v '^ *+' conftest.er1 >conftest.err
    5575   rm -f conftest.er1
    5576   cat conftest.err >&5
    5577   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5578   (exit $ac_status); } && {
    5579          test -z "$ac_c_werror_flag" ||
    5580          test ! -s conftest.err
    5581        } && test -s conftest$ac_exeext && {
    5582          test "$cross_compiling" = yes ||
    5583          $as_test_x conftest$ac_exeext
    5584        }; then
     5225if ac_fn_c_try_link "$LINENO"; then :
    55855226  tcl_cv_cc_arch_x86_64=yes
    55865227else
    5587   $as_echo "$as_me: failed program was:" >&5
    5588 sed 's/^/| /' conftest.$ac_ext >&5
    5589 
    5590         tcl_cv_cc_arch_x86_64=no
    5591 fi
    5592 
    5593 rm -rf conftest.dSYM
    5594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5595       conftest$ac_exeext conftest.$ac_ext
     5228  tcl_cv_cc_arch_x86_64=no
     5229fi
     5230rm -f core conftest.err conftest.$ac_objext \
     5231    conftest$ac_exeext conftest.$ac_ext
    55965232                            CFLAGS=$hold_cflags
    55975233fi
    5598 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    55995235$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56005236                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56035239                        fi;;
    56045240                    *)
    5605                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5241                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56065242$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56075243                esac
     
    56135249            fi
    56145250            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5615             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5251            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56165252$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5617 if test "${tcl_cv_ld_single_module+set}" = set; then
     5253if ${tcl_cv_ld_single_module+:} false; then :
    56185254  $as_echo_n "(cached) " >&6
    56195255else
     
    56215257                hold_ldflags=$LDFLAGS
    56225258                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5623                 cat >conftest.$ac_ext <<_ACEOF
    5624 /* confdefs.h.  */
    5625 _ACEOF
    5626 cat confdefs.h >>conftest.$ac_ext
    5627 cat >>conftest.$ac_ext <<_ACEOF
     5259                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56285260/* end confdefs.h.  */
    56295261
     
    56365268}
    56375269_ACEOF
    5638 rm -f conftest.$ac_objext conftest$ac_exeext
    5639 if { (ac_try="$ac_link"
    5640 case "(($ac_try" in
    5641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5642   *) ac_try_echo=$ac_try;;
    5643 esac
    5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5645 $as_echo "$ac_try_echo") >&5
    5646   (eval "$ac_link") 2>conftest.er1
    5647   ac_status=$?
    5648   grep -v '^ *+' conftest.er1 >conftest.err
    5649   rm -f conftest.er1
    5650   cat conftest.err >&5
    5651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5652   (exit $ac_status); } && {
    5653          test -z "$ac_c_werror_flag" ||
    5654          test ! -s conftest.err
    5655        } && test -s conftest$ac_exeext && {
    5656          test "$cross_compiling" = yes ||
    5657          $as_test_x conftest$ac_exeext
    5658        }; then
     5270if ac_fn_c_try_link "$LINENO"; then :
    56595271  tcl_cv_ld_single_module=yes
    56605272else
    5661   $as_echo "$as_me: failed program was:" >&5
    5662 sed 's/^/| /' conftest.$ac_ext >&5
    5663 
    5664         tcl_cv_ld_single_module=no
    5665 fi
    5666 
    5667 rm -rf conftest.dSYM
    5668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5669       conftest$ac_exeext conftest.$ac_ext
     5273  tcl_cv_ld_single_module=no
     5274fi
     5275rm -f core conftest.err conftest.$ac_objext \
     5276    conftest$ac_exeext conftest.$ac_ext
    56705277                LDFLAGS=$hold_ldflags
    56715278fi
    5672 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56735280$as_echo "$tcl_cv_ld_single_module" >&6; }
    56745281            if test $tcl_cv_ld_single_module = yes; then
     
    56845291                LDFLAGS="$LDFLAGS -prebind"
    56855292            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5686             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5293            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    56875294$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5688 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5295if ${tcl_cv_ld_search_paths_first+:} false; then :
    56895296  $as_echo_n "(cached) " >&6
    56905297else
     
    56925299                hold_ldflags=$LDFLAGS
    56935300                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5694                 cat >conftest.$ac_ext <<_ACEOF
    5695 /* confdefs.h.  */
    5696 _ACEOF
    5697 cat confdefs.h >>conftest.$ac_ext
    5698 cat >>conftest.$ac_ext <<_ACEOF
     5301                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56995302/* end confdefs.h.  */
    57005303
     
    57075310}
    57085311_ACEOF
    5709 rm -f conftest.$ac_objext conftest$ac_exeext
    5710 if { (ac_try="$ac_link"
    5711 case "(($ac_try" in
    5712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5713   *) ac_try_echo=$ac_try;;
    5714 esac
    5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5716 $as_echo "$ac_try_echo") >&5
    5717   (eval "$ac_link") 2>conftest.er1
    5718   ac_status=$?
    5719   grep -v '^ *+' conftest.er1 >conftest.err
    5720   rm -f conftest.er1
    5721   cat conftest.err >&5
    5722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5723   (exit $ac_status); } && {
    5724          test -z "$ac_c_werror_flag" ||
    5725          test ! -s conftest.err
    5726        } && test -s conftest$ac_exeext && {
    5727          test "$cross_compiling" = yes ||
    5728          $as_test_x conftest$ac_exeext
    5729        }; then
     5312if ac_fn_c_try_link "$LINENO"; then :
    57305313  tcl_cv_ld_search_paths_first=yes
    57315314else
    5732   $as_echo "$as_me: failed program was:" >&5
    5733 sed 's/^/| /' conftest.$ac_ext >&5
    5734 
    5735         tcl_cv_ld_search_paths_first=no
    5736 fi
    5737 
    5738 rm -rf conftest.dSYM
    5739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5740       conftest$ac_exeext conftest.$ac_ext
     5315  tcl_cv_ld_search_paths_first=no
     5316fi
     5317rm -f core conftest.err conftest.$ac_objext \
     5318    conftest$ac_exeext conftest.$ac_ext
    57415319                LDFLAGS=$hold_ldflags
    57425320fi
    5743 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57445322$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57455323            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57515329            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57525330            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5753             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5331            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57545332$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57555333            # Check whether --enable-corefoundation was given.
    5756 if test "${enable_corefoundation+set}" = set; then
     5334if test "${enable_corefoundation+set}" = set; then :
    57575335  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57585336else
     
    57605338fi
    57615339
    5762             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5340            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57635341$as_echo "$tcl_corefoundation" >&6; }
    57645342            if test $tcl_corefoundation = yes; then
    5765                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5343                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57665344$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5767 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5345if ${tcl_cv_lib_corefoundation+:} false; then :
    57685346  $as_echo_n "(cached) " >&6
    57695347else
     
    57775355                    done; fi
    57785356                    LIBS="$LIBS -framework CoreFoundation"
    5779                     cat >conftest.$ac_ext <<_ACEOF
    5780 /* confdefs.h.  */
    5781 _ACEOF
    5782 cat confdefs.h >>conftest.$ac_ext
    5783 cat >>conftest.$ac_ext <<_ACEOF
     5357                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57845358/* end confdefs.h.  */
    57855359#include <CoreFoundation/CoreFoundation.h>
     
    57925366}
    57935367_ACEOF
    5794 rm -f conftest.$ac_objext conftest$ac_exeext
    5795 if { (ac_try="$ac_link"
    5796 case "(($ac_try" in
    5797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5798   *) ac_try_echo=$ac_try;;
    5799 esac
    5800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5801 $as_echo "$ac_try_echo") >&5
    5802   (eval "$ac_link") 2>conftest.er1
    5803   ac_status=$?
    5804   grep -v '^ *+' conftest.er1 >conftest.err
    5805   rm -f conftest.er1
    5806   cat conftest.err >&5
    5807   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5808   (exit $ac_status); } && {
    5809          test -z "$ac_c_werror_flag" ||
    5810          test ! -s conftest.err
    5811        } && test -s conftest$ac_exeext && {
    5812          test "$cross_compiling" = yes ||
    5813          $as_test_x conftest$ac_exeext
    5814        }; then
     5368if ac_fn_c_try_link "$LINENO"; then :
    58155369  tcl_cv_lib_corefoundation=yes
    58165370else
    5817   $as_echo "$as_me: failed program was:" >&5
    5818 sed 's/^/| /' conftest.$ac_ext >&5
    5819 
    5820         tcl_cv_lib_corefoundation=no
    5821 fi
    5822 
    5823 rm -rf conftest.dSYM
    5824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5825       conftest$ac_exeext conftest.$ac_ext
     5371  tcl_cv_lib_corefoundation=no
     5372fi
     5373rm -f core conftest.err conftest.$ac_objext \
     5374    conftest$ac_exeext conftest.$ac_ext
    58265375                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58275376                        eval $v'="$hold_'$v'"'
    58285377                    done; fi; LIBS=$hold_libs
    58295378fi
    5830 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58315380$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58325381                if test $tcl_cv_lib_corefoundation = yes; then
    58335382                    LIBS="$LIBS -framework CoreFoundation"
    5834                     cat >>confdefs.h <<\_ACEOF
    5835 #define HAVE_COREFOUNDATION 1
    5836 _ACEOF
     5383                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58375384
    58385385                else
     
    58405387                fi
    58415388                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5842                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5389                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58435390$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5844 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5391if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58455392  $as_echo_n "(cached) " >&6
    58465393else
     
    58495396                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58505397                        done
    5851                         cat >conftest.$ac_ext <<_ACEOF
    5852 /* confdefs.h.  */
    5853 _ACEOF
    5854 cat confdefs.h >>conftest.$ac_ext
    5855 cat >>conftest.$ac_ext <<_ACEOF
     5398                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58565399/* end confdefs.h.  */
    58575400#include <CoreFoundation/CoreFoundation.h>
     
    58645407}
    58655408_ACEOF
    5866 rm -f conftest.$ac_objext conftest$ac_exeext
    5867 if { (ac_try="$ac_link"
    5868 case "(($ac_try" in
    5869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5870   *) ac_try_echo=$ac_try;;
    5871 esac
    5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5873 $as_echo "$ac_try_echo") >&5
    5874   (eval "$ac_link") 2>conftest.er1
    5875   ac_status=$?
    5876   grep -v '^ *+' conftest.er1 >conftest.err
    5877   rm -f conftest.er1
    5878   cat conftest.err >&5
    5879   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5880   (exit $ac_status); } && {
    5881          test -z "$ac_c_werror_flag" ||
    5882          test ! -s conftest.err
    5883        } && test -s conftest$ac_exeext && {
    5884          test "$cross_compiling" = yes ||
    5885          $as_test_x conftest$ac_exeext
    5886        }; then
     5409if ac_fn_c_try_link "$LINENO"; then :
    58875410  tcl_cv_lib_corefoundation_64=yes
    58885411else
    5889   $as_echo "$as_me: failed program was:" >&5
    5890 sed 's/^/| /' conftest.$ac_ext >&5
    5891 
    5892         tcl_cv_lib_corefoundation_64=no
    5893 fi
    5894 
    5895 rm -rf conftest.dSYM
    5896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5897       conftest$ac_exeext conftest.$ac_ext
     5412  tcl_cv_lib_corefoundation_64=no
     5413fi
     5414rm -f core conftest.err conftest.$ac_objext \
     5415    conftest$ac_exeext conftest.$ac_ext
    58985416                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    58995417                            eval $v'="$hold_'$v'"'
    59005418                        done
    59015419fi
    5902 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59035421$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59045422                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5905                         cat >>confdefs.h <<\_ACEOF
    5906 #define NO_COREFOUNDATION_64 1
    5907 _ACEOF
     5423                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59085424
    59095425                    fi
    59105426                fi
    59115427            fi
    5912             cat >>confdefs.h <<\_ACEOF
    5913 #define MAC_OSX_TCL 1
    5914 _ACEOF
     5428            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59155429
    59165430            ;;
     
    59275441        OS/390-*)
    59285442            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5929             cat >>confdefs.h <<\_ACEOF
    5930 #define _OE_SOCKETS 1
    5931 _ACEOF
     5443            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59325444        # needed in sys/socket.h
    59335445            ;;
     
    60705582            # won't define thread-safe library routines.
    60715583
    6072             cat >>confdefs.h <<\_ACEOF
    6073 #define _REENTRANT 1
    6074 _ACEOF
    6075 
    6076             cat >>confdefs.h <<\_ACEOF
    6077 #define _POSIX_PTHREAD_SEMANTICS 1
    6078 _ACEOF
     5584            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5585
     5586            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    60795587
    60805588
     
    61025610            # won't define thread-safe library routines.
    61035611
    6104             cat >>confdefs.h <<\_ACEOF
    6105 #define _REENTRANT 1
    6106 _ACEOF
    6107 
    6108             cat >>confdefs.h <<\_ACEOF
    6109 #define _POSIX_PTHREAD_SEMANTICS 1
    6110 _ACEOF
     5612            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5613
     5614            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61115615
    61125616
     
    61195623                        if test "$GCC" = "yes" ; then
    61205624                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6121                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5625                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61225626$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61235627                            else
     
    61415645                elif test "$arch" = "amd64 i386" ; then
    61425646                    if test "$GCC" = "yes" ; then
    6143                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5647                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61445648$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61455649                    else
     
    61495653                    fi
    61505654                else
    6151                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5655                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61525656$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61535657                fi
     
    62085712            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62095713            # that don't grok the -Bexport option.  Test that it does.
    6210             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5714            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62115715$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6212 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5716if ${tcl_cv_ld_Bexport+:} false; then :
    62135717  $as_echo_n "(cached) " >&6
    62145718else
     
    62165720                hold_ldflags=$LDFLAGS
    62175721                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6218                 cat >conftest.$ac_ext <<_ACEOF
    6219 /* confdefs.h.  */
    6220 _ACEOF
    6221 cat confdefs.h >>conftest.$ac_ext
    6222 cat >>conftest.$ac_ext <<_ACEOF
     5722                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62235723/* end confdefs.h.  */
    62245724
     
    62315731}
    62325732_ACEOF
    6233 rm -f conftest.$ac_objext conftest$ac_exeext
    6234 if { (ac_try="$ac_link"
    6235 case "(($ac_try" in
    6236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6237   *) ac_try_echo=$ac_try;;
    6238 esac
    6239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6240 $as_echo "$ac_try_echo") >&5
    6241   (eval "$ac_link") 2>conftest.er1
    6242   ac_status=$?
    6243   grep -v '^ *+' conftest.er1 >conftest.err
    6244   rm -f conftest.er1
    6245   cat conftest.err >&5
    6246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6247   (exit $ac_status); } && {
    6248          test -z "$ac_c_werror_flag" ||
    6249          test ! -s conftest.err
    6250        } && test -s conftest$ac_exeext && {
    6251          test "$cross_compiling" = yes ||
    6252          $as_test_x conftest$ac_exeext
    6253        }; then
     5733if ac_fn_c_try_link "$LINENO"; then :
    62545734  tcl_cv_ld_Bexport=yes
    62555735else
    6256   $as_echo "$as_me: failed program was:" >&5
    6257 sed 's/^/| /' conftest.$ac_ext >&5
    6258 
    6259         tcl_cv_ld_Bexport=no
    6260 fi
    6261 
    6262 rm -rf conftest.dSYM
    6263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6264       conftest$ac_exeext conftest.$ac_ext
     5736  tcl_cv_ld_Bexport=no
     5737fi
     5738rm -f core conftest.err conftest.$ac_objext \
     5739    conftest$ac_exeext conftest.$ac_ext
    62655740                LDFLAGS=$hold_ldflags
    62665741fi
    6267 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62685743$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62695744            if test $tcl_cv_ld_Bexport = yes; then
     
    62765751
    62775752    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    6278         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5753        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    62795754$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    62805755    fi
     
    63035778
    63045779    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6305         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5780        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63065781$as_echo_n "checking sys/exec.h... " >&6; }
    6307 if test "${tcl_cv_sysexec_h+set}" = set; then
     5782if ${tcl_cv_sysexec_h+:} false; then :
    63085783  $as_echo_n "(cached) " >&6
    63095784else
    63105785
    6311         cat >conftest.$ac_ext <<_ACEOF
    6312 /* confdefs.h.  */
    6313 _ACEOF
    6314 cat confdefs.h >>conftest.$ac_ext
    6315 cat >>conftest.$ac_ext <<_ACEOF
     5786        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63165787/* end confdefs.h.  */
    63175788#include <sys/exec.h>
     
    63355806}
    63365807_ACEOF
    6337 rm -f conftest.$ac_objext
    6338 if { (ac_try="$ac_compile"
    6339 case "(($ac_try" in
    6340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6341   *) ac_try_echo=$ac_try;;
    6342 esac
    6343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6344 $as_echo "$ac_try_echo") >&5
    6345   (eval "$ac_compile") 2>conftest.er1
    6346   ac_status=$?
    6347   grep -v '^ *+' conftest.er1 >conftest.err
    6348   rm -f conftest.er1
    6349   cat conftest.err >&5
    6350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6351   (exit $ac_status); } && {
    6352          test -z "$ac_c_werror_flag" ||
    6353          test ! -s conftest.err
    6354        } && test -s conftest.$ac_objext; then
     5808if ac_fn_c_try_compile "$LINENO"; then :
    63555809  tcl_cv_sysexec_h=usable
    63565810else
    6357   $as_echo "$as_me: failed program was:" >&5
    6358 sed 's/^/| /' conftest.$ac_ext >&5
    6359 
    6360         tcl_cv_sysexec_h=unusable
    6361 fi
    6362 
     5811  tcl_cv_sysexec_h=unusable
     5812fi
    63635813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63645814fi
    6365 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63665816$as_echo "$tcl_cv_sysexec_h" >&6; }
    63675817        if test $tcl_cv_sysexec_h = usable; then
    6368             cat >>confdefs.h <<\_ACEOF
    6369 #define USE_SYS_EXEC_H 1
    6370 _ACEOF
     5818            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63715819
    63725820        else
    6373             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5821            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63745822$as_echo_n "checking a.out.h... " >&6; }
    6375 if test "${tcl_cv_aout_h+set}" = set; then
     5823if ${tcl_cv_aout_h+:} false; then :
    63765824  $as_echo_n "(cached) " >&6
    63775825else
    63785826
    6379             cat >conftest.$ac_ext <<_ACEOF
    6380 /* confdefs.h.  */
    6381 _ACEOF
    6382 cat confdefs.h >>conftest.$ac_ext
    6383 cat >>conftest.$ac_ext <<_ACEOF
     5827            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63845828/* end confdefs.h.  */
    63855829#include <a.out.h>
     
    64035847}
    64045848_ACEOF
    6405 rm -f conftest.$ac_objext
    6406 if { (ac_try="$ac_compile"
    6407 case "(($ac_try" in
    6408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6409   *) ac_try_echo=$ac_try;;
    6410 esac
    6411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6412 $as_echo "$ac_try_echo") >&5
    6413   (eval "$ac_compile") 2>conftest.er1
    6414   ac_status=$?
    6415   grep -v '^ *+' conftest.er1 >conftest.err
    6416   rm -f conftest.er1
    6417   cat conftest.err >&5
    6418   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6419   (exit $ac_status); } && {
    6420          test -z "$ac_c_werror_flag" ||
    6421          test ! -s conftest.err
    6422        } && test -s conftest.$ac_objext; then
     5849if ac_fn_c_try_compile "$LINENO"; then :
    64235850  tcl_cv_aout_h=usable
    64245851else
    6425   $as_echo "$as_me: failed program was:" >&5
    6426 sed 's/^/| /' conftest.$ac_ext >&5
    6427 
    6428         tcl_cv_aout_h=unusable
    6429 fi
    6430 
     5852  tcl_cv_aout_h=unusable
     5853fi
    64315854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64325855fi
    6433 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64345857$as_echo "$tcl_cv_aout_h" >&6; }
    64355858            if test $tcl_cv_aout_h = usable; then
    6436                 cat >>confdefs.h <<\_ACEOF
    6437 #define USE_A_OUT_H 1
    6438 _ACEOF
     5859                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64395860
    64405861            else
    6441                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5862                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64425863$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6443 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5864if ${tcl_cv_sysexecaout_h+:} false; then :
    64445865  $as_echo_n "(cached) " >&6
    64455866else
    64465867
    6447                 cat >conftest.$ac_ext <<_ACEOF
    6448 /* confdefs.h.  */
    6449 _ACEOF
    6450 cat confdefs.h >>conftest.$ac_ext
    6451 cat >>conftest.$ac_ext <<_ACEOF
     5868                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64525869/* end confdefs.h.  */
    64535870#include <sys/exec_aout.h>