Changeset 4467 for branches/1.3


Ignore:
Timestamp:
Jul 8, 2014 10:11:13 AM (6 years ago)
Author:
ldelgass
Message:

Separate configure for nanovis

Location:
branches/1.3/packages/vizservers
Files:
5 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/packages/vizservers/Makefile.in

    r3745 r4467  
    2020SUBDIRS         = @SUBDIRS@
    2121VTK_LIB_DIR     = @VTK_LIB_DIR@
    22 CG_LIB_DIR      = @CG_LIB_DIR@
    2322
    2423SUBDIRS         = nanoscale pymolproxy
     
    2625ifneq ($(VTK_LIB_DIR),)
    2726  SUBDIRS += vtkvis
    28 endif
    29 
    30 ifneq ($(CG_LIB_DIR),)
    31   SUBDIRS += nanovis
    3227endif
    3328
  • branches/1.3/packages/vizservers/configure

    r3563 r4467  
    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.
     
    657642RP_DIR
    658643LD_RPATH
    659 CG_LIB_SPEC
    660 CG_INC_SPEC
    661 FFMPEG
    662644CXXCPP
    663645ac_ct_CXX
     
    735717prefix
    736718exec_prefix
     719PACKAGE_URL
    737720PACKAGE_BUGREPORT
    738721PACKAGE_STRING
     
    750733with_vtk_libs
    751734with_vtk
    752 with_ffmpeg
    753735with_python
    754736with_statsdir
     
    835817
    836818  case $ac_option in
    837   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    838   *)    ac_optarg=yes ;;
     819  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     820  *=)   ac_optarg= ;;
     821  *)    ac_optarg=yes ;;
    839822  esac
    840823
     
    881864    # Reject names that are not valid shell variable names.
    882865    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    884    { (exit 1); exit 1; }; }
     866      as_fn_error $? "invalid feature name: $ac_useropt"
    885867    ac_useropt_orig=$ac_useropt
    886868    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    908890    # Reject names that are not valid shell variable names.
    909891    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    911    { (exit 1); exit 1; }; }
     892      as_fn_error $? "invalid feature name: $ac_useropt"
    912893    ac_useropt_orig=$ac_useropt
    913894    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11131094    # Reject names that are not valid shell variable names.
    11141095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1115       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1116    { (exit 1); exit 1; }; }
     1096      as_fn_error $? "invalid package name: $ac_useropt"
    11171097    ac_useropt_orig=$ac_useropt
    11181098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11301110    # Reject names that are not valid shell variable names.
    11311111    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1132       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1133    { (exit 1); exit 1; }; }
     1112      as_fn_error $? "invalid package name: $ac_useropt"
    11341113    ac_useropt_orig=$ac_useropt
    11351114    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11611140    x_libraries=$ac_optarg ;;
    11621141
    1163   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1164 Try \`$0 --help' for more information." >&2
    1165    { (exit 1); exit 1; }; }
     1142  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1143Try \`$0 --help' for more information"
    11661144    ;;
    11671145
     
    11691147    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11701148    # Reject names that are not valid shell variable names.
    1171     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1172       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1173    { (exit 1); exit 1; }; }
     1149    case $ac_envvar in #(
     1150      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1151      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1152    esac
    11741153    eval $ac_envvar=\$ac_optarg
    11751154    export $ac_envvar ;;
     
    11801159    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11811160      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1182     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1161    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11831162    ;;
    11841163
     
    11881167if test -n "$ac_prev"; then
    11891168  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1190   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1191    { (exit 1); exit 1; }; }
     1169  as_fn_error $? "missing argument to $ac_option"
    11921170fi
    11931171
     
    11951173  case $enable_option_checking in
    11961174    no) ;;
    1197     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1198    { (exit 1); exit 1; }; } ;;
     1175    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11991176    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12001177  esac
     
    12191196    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12201197  esac
    1221   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1222    { (exit 1); exit 1; }; }
     1198  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12231199done
    12241200
     
    12341210  if test "x$build_alias" = x; then
    12351211    cross_compiling=maybe
    1236     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1237     If a cross compiler is detected then cross compile mode will be used." >&2
    12381212  elif test "x$build_alias" != "x$host_alias"; then
    12391213    cross_compiling=yes
     
    12501224ac_ls_di=`ls -di .` &&
    12511225ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1252   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1253    { (exit 1); exit 1; }; }
     1226  as_fn_error $? "working directory cannot be determined"
    12541227test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1255   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1256    { (exit 1); exit 1; }; }
     1228  as_fn_error $? "pwd does not report name of working directory"
    12571229
    12581230
     
    12931265if test ! -r "$srcdir/$ac_unique_file"; then
    12941266  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1295   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1296    { (exit 1); exit 1; }; }
     1267  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12971268fi
    12981269ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12991270ac_abs_confdir=`(
    1300         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1301    { (exit 1); exit 1; }; }
     1271        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13021272        pwd)`
    13031273# When building in place, set srcdir=.
     
    13391309      --help=recursive    display the short help of all the included packages
    13401310  -V, --version           display version information and exit
    1341   -q, --quiet, --silent   do not print \`checking...' messages
     1311  -q, --quiet, --silent   do not print \`checking ...' messages
    13421312      --cache-file=FILE   cache test results in FILE [disabled]
    13431313  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14131383  --with-vtk-libs=DIR     VTK libraries are in DIR
    14141384  --with-vtk=VERSION      Version of VTK required
    1415   --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    14161385  --with-python=DIR       location of python [default=yes]
    14171386  --with-statsdir=DIR     Write statics in DIR
     
    14241393              nonstandard directory <lib dir>
    14251394  LIBS        libraries to pass to the linker, e.g. -l<library>
    1426   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1395  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14271396              you have headers in a nonstandard directory <include dir>
    14281397  CPP         C preprocessor
     
    14991468  cat <<\_ACEOF
    15001469vizservers configure 0.1
    1501 generated by GNU Autoconf 2.63
    1502 
    1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1504 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1470generated by GNU Autoconf 2.69
     1471
     1472Copyright (C) 2012 Free Software Foundation, Inc.
    15051473This configure script is free software; the Free Software Foundation
    15061474gives unlimited permission to copy, distribute and modify it.
     
    15081476  exit
    15091477fi
     1478
     1479## ------------------------ ##
     1480## Autoconf initialization. ##
     1481## ------------------------ ##
     1482
     1483# ac_fn_c_try_compile LINENO
     1484# --------------------------
     1485# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1486ac_fn_c_try_compile ()
     1487{
     1488  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1489  rm -f conftest.$ac_objext
     1490  if { { ac_try="$ac_compile"
     1491case "(($ac_try" in
     1492  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1493  *) ac_try_echo=$ac_try;;
     1494esac
     1495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1496$as_echo "$ac_try_echo"; } >&5
     1497  (eval "$ac_compile") 2>conftest.err
     1498  ac_status=$?
     1499  if test -s conftest.err; then
     1500    grep -v '^ *+' conftest.err >conftest.er1
     1501    cat conftest.er1 >&5
     1502    mv -f conftest.er1 conftest.err
     1503  fi
     1504  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1505  test $ac_status = 0; } && {
     1506         test -z "$ac_c_werror_flag" ||
     1507         test ! -s conftest.err
     1508       } && test -s conftest.$ac_objext; then :
     1509  ac_retval=0
     1510else
     1511  $as_echo "$as_me: failed program was:" >&5
     1512sed 's/^/| /' conftest.$ac_ext >&5
     1513
     1514        ac_retval=1
     1515fi
     1516  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1517  as_fn_set_status $ac_retval
     1518
     1519} # ac_fn_c_try_compile
     1520
     1521# ac_fn_c_try_cpp LINENO
     1522# ----------------------
     1523# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1524ac_fn_c_try_cpp ()
     1525{
     1526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1527  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1528case "(($ac_try" in
     1529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1530  *) ac_try_echo=$ac_try;;
     1531esac
     1532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1533$as_echo "$ac_try_echo"; } >&5
     1534  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1535  ac_status=$?
     1536  if test -s conftest.err; then
     1537    grep -v '^ *+' conftest.err >conftest.er1
     1538    cat conftest.er1 >&5
     1539    mv -f conftest.er1 conftest.err
     1540  fi
     1541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1542  test $ac_status = 0; } > conftest.i && {
     1543         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1544         test ! -s conftest.err
     1545       }; then :
     1546  ac_retval=0
     1547else
     1548  $as_echo "$as_me: failed program was:" >&5
     1549sed 's/^/| /' conftest.$ac_ext >&5
     1550
     1551    ac_retval=1
     1552fi
     1553  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1554  as_fn_set_status $ac_retval
     1555
     1556} # ac_fn_c_try_cpp
     1557
     1558# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1559# -------------------------------------------------------
     1560# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1561# the include files in INCLUDES and setting the cache variable VAR
     1562# accordingly.
     1563ac_fn_c_check_header_mongrel ()
     1564{
     1565  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1566  if eval \${$3+:} false; then :
     1567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1568$as_echo_n "checking for $2... " >&6; }
     1569if eval \${$3+:} false; then :
     1570  $as_echo_n "(cached) " >&6
     1571fi
     1572eval ac_res=\$$3
     1573               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1574$as_echo "$ac_res" >&6; }
     1575else
     1576  # Is the header compilable?
     1577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1578$as_echo_n "checking $2 usability... " >&6; }
     1579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1580/* end confdefs.h.  */
     1581$4
     1582#include <$2>
     1583_ACEOF
     1584if ac_fn_c_try_compile "$LINENO"; then :
     1585  ac_header_compiler=yes
     1586else
     1587  ac_header_compiler=no
     1588fi
     1589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1591$as_echo "$ac_header_compiler" >&6; }
     1592
     1593# Is the header present?
     1594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1595$as_echo_n "checking $2 presence... " >&6; }
     1596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1597/* end confdefs.h.  */
     1598#include <$2>
     1599_ACEOF
     1600if ac_fn_c_try_cpp "$LINENO"; then :
     1601  ac_header_preproc=yes
     1602else
     1603  ac_header_preproc=no
     1604fi
     1605rm -f conftest.err conftest.i conftest.$ac_ext
     1606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1607$as_echo "$ac_header_preproc" >&6; }
     1608
     1609# So?  What about this header?
     1610case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1611  yes:no: )
     1612    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1613$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1614    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1615$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1616    ;;
     1617  no:yes:* )
     1618    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1619$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1621$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1622    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1623$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1625$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1627$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1628( $as_echo "## ----------------------------------- ##
     1629## Report this to rappture@nanohub.org ##
     1630## ----------------------------------- ##"
     1631     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1632    ;;
     1633esac
     1634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1635$as_echo_n "checking for $2... " >&6; }
     1636if eval \${$3+:} false; then :
     1637  $as_echo_n "(cached) " >&6
     1638else
     1639  eval "$3=\$ac_header_compiler"
     1640fi
     1641eval ac_res=\$$3
     1642               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1643$as_echo "$ac_res" >&6; }
     1644fi
     1645  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1646
     1647} # ac_fn_c_check_header_mongrel
     1648
     1649# ac_fn_c_try_run LINENO
     1650# ----------------------
     1651# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1652# that executables *can* be run.
     1653ac_fn_c_try_run ()
     1654{
     1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1656  if { { ac_try="$ac_link"
     1657case "(($ac_try" in
     1658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1659  *) ac_try_echo=$ac_try;;
     1660esac
     1661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1662$as_echo "$ac_try_echo"; } >&5
     1663  (eval "$ac_link") 2>&5
     1664  ac_status=$?
     1665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1666  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1667  { { case "(($ac_try" in
     1668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1669  *) ac_try_echo=$ac_try;;
     1670esac
     1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1672$as_echo "$ac_try_echo"; } >&5
     1673  (eval "$ac_try") 2>&5
     1674  ac_status=$?
     1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1676  test $ac_status = 0; }; }; then :
     1677  ac_retval=0
     1678else
     1679  $as_echo "$as_me: program exited with status $ac_status" >&5
     1680       $as_echo "$as_me: failed program was:" >&5
     1681sed 's/^/| /' conftest.$ac_ext >&5
     1682
     1683       ac_retval=$ac_status
     1684fi
     1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1687  as_fn_set_status $ac_retval
     1688
     1689} # ac_fn_c_try_run
     1690
     1691# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1692# -------------------------------------------------------
     1693# Tests whether HEADER exists and can be compiled using the include files in
     1694# INCLUDES, setting the cache variable VAR accordingly.
     1695ac_fn_c_check_header_compile ()
     1696{
     1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1699$as_echo_n "checking for $2... " >&6; }
     1700if eval \${$3+:} false; then :
     1701  $as_echo_n "(cached) " >&6
     1702else
     1703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1704/* end confdefs.h.  */
     1705$4
     1706#include <$2>
     1707_ACEOF
     1708if ac_fn_c_try_compile "$LINENO"; then :
     1709  eval "$3=yes"
     1710else
     1711  eval "$3=no"
     1712fi
     1713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1714fi
     1715eval ac_res=\$$3
     1716               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1717$as_echo "$ac_res" >&6; }
     1718  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1719
     1720} # ac_fn_c_check_header_compile
     1721
     1722# ac_fn_c_try_link LINENO
     1723# -----------------------
     1724# Try to link conftest.$ac_ext, and return whether this succeeded.
     1725ac_fn_c_try_link ()
     1726{
     1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1728  rm -f conftest.$ac_objext conftest$ac_exeext
     1729  if { { ac_try="$ac_link"
     1730case "(($ac_try" in
     1731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1732  *) ac_try_echo=$ac_try;;
     1733esac
     1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1735$as_echo "$ac_try_echo"; } >&5
     1736  (eval "$ac_link") 2>conftest.err
     1737  ac_status=$?
     1738  if test -s conftest.err; then
     1739    grep -v '^ *+' conftest.err >conftest.er1
     1740    cat conftest.er1 >&5
     1741    mv -f conftest.er1 conftest.err
     1742  fi
     1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1744  test $ac_status = 0; } && {
     1745         test -z "$ac_c_werror_flag" ||
     1746         test ! -s conftest.err
     1747       } && test -s conftest$ac_exeext && {
     1748         test "$cross_compiling" = yes ||
     1749         test -x conftest$ac_exeext
     1750       }; then :
     1751  ac_retval=0
     1752else
     1753  $as_echo "$as_me: failed program was:" >&5
     1754sed 's/^/| /' conftest.$ac_ext >&5
     1755
     1756        ac_retval=1
     1757fi
     1758  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1759  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1760  # interfere with the next link command; also delete a directory that is
     1761  # left behind by Apple's compiler.  We do this before executing the actions.
     1762  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1764  as_fn_set_status $ac_retval
     1765
     1766} # ac_fn_c_try_link
     1767
     1768# ac_fn_cxx_try_compile LINENO
     1769# ----------------------------
     1770# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1771ac_fn_cxx_try_compile ()
     1772{
     1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1774  rm -f conftest.$ac_objext
     1775  if { { ac_try="$ac_compile"
     1776case "(($ac_try" in
     1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1778  *) ac_try_echo=$ac_try;;
     1779esac
     1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1781$as_echo "$ac_try_echo"; } >&5
     1782  (eval "$ac_compile") 2>conftest.err
     1783  ac_status=$?
     1784  if test -s conftest.err; then
     1785    grep -v '^ *+' conftest.err >conftest.er1
     1786    cat conftest.er1 >&5
     1787    mv -f conftest.er1 conftest.err
     1788  fi
     1789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1790  test $ac_status = 0; } && {
     1791         test -z "$ac_cxx_werror_flag" ||
     1792         test ! -s conftest.err
     1793       } && test -s conftest.$ac_objext; then :
     1794  ac_retval=0
     1795else
     1796  $as_echo "$as_me: failed program was:" >&5
     1797sed 's/^/| /' conftest.$ac_ext >&5
     1798
     1799        ac_retval=1
     1800fi
     1801  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1802  as_fn_set_status $ac_retval
     1803
     1804} # ac_fn_cxx_try_compile
     1805
     1806# ac_fn_cxx_try_cpp LINENO
     1807# ------------------------
     1808# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1809ac_fn_cxx_try_cpp ()
     1810{
     1811  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1812  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1813case "(($ac_try" in
     1814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1815  *) ac_try_echo=$ac_try;;
     1816esac
     1817eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1818$as_echo "$ac_try_echo"; } >&5
     1819  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1820  ac_status=$?
     1821  if test -s conftest.err; then
     1822    grep -v '^ *+' conftest.err >conftest.er1
     1823    cat conftest.er1 >&5
     1824    mv -f conftest.er1 conftest.err
     1825  fi
     1826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1827  test $ac_status = 0; } > conftest.i && {
     1828         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1829         test ! -s conftest.err
     1830       }; then :
     1831  ac_retval=0
     1832else
     1833  $as_echo "$as_me: failed program was:" >&5
     1834sed 's/^/| /' conftest.$ac_ext >&5
     1835
     1836    ac_retval=1
     1837fi
     1838  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1839  as_fn_set_status $ac_retval
     1840
     1841} # ac_fn_cxx_try_cpp
     1842
     1843# ac_fn_cxx_try_run LINENO
     1844# ------------------------
     1845# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1846# that executables *can* be run.
     1847ac_fn_cxx_try_run ()
     1848{
     1849  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1850  if { { ac_try="$ac_link"
     1851case "(($ac_try" in
     1852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1853  *) ac_try_echo=$ac_try;;
     1854esac
     1855eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1856$as_echo "$ac_try_echo"; } >&5
     1857  (eval "$ac_link") 2>&5
     1858  ac_status=$?
     1859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1860  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1861  { { case "(($ac_try" in
     1862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1863  *) ac_try_echo=$ac_try;;
     1864esac
     1865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1866$as_echo "$ac_try_echo"; } >&5
     1867  (eval "$ac_try") 2>&5
     1868  ac_status=$?
     1869  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1870  test $ac_status = 0; }; }; then :
     1871  ac_retval=0
     1872else
     1873  $as_echo "$as_me: program exited with status $ac_status" >&5
     1874       $as_echo "$as_me: failed program was:" >&5
     1875sed 's/^/| /' conftest.$ac_ext >&5
     1876
     1877       ac_retval=$ac_status
     1878fi
     1879  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1881  as_fn_set_status $ac_retval
     1882
     1883} # ac_fn_cxx_try_run
     1884
     1885# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1886# ----------------------------------------------
     1887# Tries to find the compile-time value of EXPR in a program that includes
     1888# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1889# computed
     1890ac_fn_cxx_compute_int ()
     1891{
     1892  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1893  if test "$cross_compiling" = yes; then
     1894    # Depending upon the size, compute the lo and hi bounds.
     1895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1896/* end confdefs.h.  */
     1897$4
     1898int
     1899main ()
     1900{
     1901static int test_array [1 - 2 * !(($2) >= 0)];
     1902test_array [0] = 0;
     1903return test_array [0];
     1904
     1905  ;
     1906  return 0;
     1907}
     1908_ACEOF
     1909if ac_fn_cxx_try_compile "$LINENO"; then :
     1910  ac_lo=0 ac_mid=0
     1911  while :; do
     1912    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1913/* end confdefs.h.  */
     1914$4
     1915int
     1916main ()
     1917{
     1918static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1919test_array [0] = 0;
     1920return test_array [0];
     1921
     1922  ;
     1923  return 0;
     1924}
     1925_ACEOF
     1926if ac_fn_cxx_try_compile "$LINENO"; then :
     1927  ac_hi=$ac_mid; break
     1928else
     1929  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1930                        if test $ac_lo -le $ac_mid; then
     1931                          ac_lo= ac_hi=
     1932                          break
     1933                        fi
     1934                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1935fi
     1936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1937  done
     1938else
     1939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1940/* end confdefs.h.  */
     1941$4
     1942int
     1943main ()
     1944{
     1945static int test_array [1 - 2 * !(($2) < 0)];
     1946test_array [0] = 0;
     1947return test_array [0];
     1948
     1949  ;
     1950  return 0;
     1951}
     1952_ACEOF
     1953if ac_fn_cxx_try_compile "$LINENO"; then :
     1954  ac_hi=-1 ac_mid=-1
     1955  while :; do
     1956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1957/* end confdefs.h.  */
     1958$4
     1959int
     1960main ()
     1961{
     1962static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1963test_array [0] = 0;
     1964return test_array [0];
     1965
     1966  ;
     1967  return 0;
     1968}
     1969_ACEOF
     1970if ac_fn_cxx_try_compile "$LINENO"; then :
     1971  ac_lo=$ac_mid; break
     1972else
     1973  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1974                        if test $ac_mid -le $ac_hi; then
     1975                          ac_lo= ac_hi=
     1976                          break
     1977                        fi
     1978                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1979fi
     1980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1981  done
     1982else
     1983  ac_lo= ac_hi=
     1984fi
     1985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1986fi
     1987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1988# Binary search between lo and hi bounds.
     1989while test "x$ac_lo" != "x$ac_hi"; do
     1990  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1992/* end confdefs.h.  */
     1993$4
     1994int
     1995main ()
     1996{
     1997static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1998test_array [0] = 0;
     1999return test_array [0];
     2000
     2001  ;
     2002  return 0;
     2003}
     2004_ACEOF
     2005if ac_fn_cxx_try_compile "$LINENO"; then :
     2006  ac_hi=$ac_mid
     2007else
     2008  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2009fi
     2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2011done
     2012case $ac_lo in #((
     2013?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2014'') ac_retval=1 ;;
     2015esac
     2016  else
     2017    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2018/* end confdefs.h.  */
     2019$4
     2020static long int longval () { return $2; }
     2021static unsigned long int ulongval () { return $2; }
     2022#include <stdio.h>
     2023#include <stdlib.h>
     2024int
     2025main ()
     2026{
     2027
     2028  FILE *f = fopen ("conftest.val", "w");
     2029  if (! f)
     2030    return 1;
     2031  if (($2) < 0)
     2032    {
     2033      long int i = longval ();
     2034      if (i != ($2))
     2035        return 1;
     2036      fprintf (f, "%ld", i);
     2037    }
     2038  else
     2039    {
     2040      unsigned long int i = ulongval ();
     2041      if (i != ($2))
     2042        return 1;
     2043      fprintf (f, "%lu", i);
     2044    }
     2045  /* Do not output a trailing newline, as this causes \r\n confusion
     2046     on some platforms.  */
     2047  return ferror (f) || fclose (f) != 0;
     2048
     2049  ;
     2050  return 0;
     2051}
     2052_ACEOF
     2053if ac_fn_cxx_try_run "$LINENO"; then :
     2054  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2055else
     2056  ac_retval=1
     2057fi
     2058rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2059  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2060rm -f conftest.val
     2061
     2062  fi
     2063  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2064  as_fn_set_status $ac_retval
     2065
     2066} # ac_fn_cxx_compute_int
     2067
     2068# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2069# ---------------------------------------------------------
     2070# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2071# the include files in INCLUDES and setting the cache variable VAR
     2072# accordingly.
     2073ac_fn_cxx_check_header_mongrel ()
     2074{
     2075  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2076  if eval \${$3+:} false; then :
     2077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2078$as_echo_n "checking for $2... " >&6; }
     2079if eval \${$3+:} false; then :
     2080  $as_echo_n "(cached) " >&6
     2081fi
     2082eval ac_res=\$$3
     2083               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2084$as_echo "$ac_res" >&6; }
     2085else
     2086  # Is the header compilable?
     2087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2088$as_echo_n "checking $2 usability... " >&6; }
     2089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2090/* end confdefs.h.  */
     2091$4
     2092#include <$2>
     2093_ACEOF
     2094if ac_fn_cxx_try_compile "$LINENO"; then :
     2095  ac_header_compiler=yes
     2096else
     2097  ac_header_compiler=no
     2098fi
     2099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2101$as_echo "$ac_header_compiler" >&6; }
     2102
     2103# Is the header present?
     2104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2105$as_echo_n "checking $2 presence... " >&6; }
     2106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2107/* end confdefs.h.  */
     2108#include <$2>
     2109_ACEOF
     2110if ac_fn_cxx_try_cpp "$LINENO"; then :
     2111  ac_header_preproc=yes
     2112else
     2113  ac_header_preproc=no
     2114fi
     2115rm -f conftest.err conftest.i conftest.$ac_ext
     2116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2117$as_echo "$ac_header_preproc" >&6; }
     2118
     2119# So?  What about this header?
     2120case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2121  yes:no: )
     2122    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2123$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2124    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2125$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2126    ;;
     2127  no:yes:* )
     2128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2129$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2131$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2132    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2133$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2134    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2135$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2137$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2138( $as_echo "## ----------------------------------- ##
     2139## Report this to rappture@nanohub.org ##
     2140## ----------------------------------- ##"
     2141     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2142    ;;
     2143esac
     2144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2145$as_echo_n "checking for $2... " >&6; }
     2146if eval \${$3+:} false; then :
     2147  $as_echo_n "(cached) " >&6
     2148else
     2149  eval "$3=\$ac_header_compiler"
     2150fi
     2151eval ac_res=\$$3
     2152               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2153$as_echo "$ac_res" >&6; }
     2154fi
     2155  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2156
     2157} # ac_fn_cxx_check_header_mongrel
     2158
     2159# ac_fn_cxx_try_link LINENO
     2160# -------------------------
     2161# Try to link conftest.$ac_ext, and return whether this succeeded.
     2162ac_fn_cxx_try_link ()
     2163{
     2164  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2165  rm -f conftest.$ac_objext conftest$ac_exeext
     2166  if { { ac_try="$ac_link"
     2167case "(($ac_try" in
     2168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2169  *) ac_try_echo=$ac_try;;
     2170esac
     2171eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2172$as_echo "$ac_try_echo"; } >&5
     2173  (eval "$ac_link") 2>conftest.err
     2174  ac_status=$?
     2175  if test -s conftest.err; then
     2176    grep -v '^ *+' conftest.err >conftest.er1
     2177    cat conftest.er1 >&5
     2178    mv -f conftest.er1 conftest.err
     2179  fi
     2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2181  test $ac_status = 0; } && {
     2182         test -z "$ac_cxx_werror_flag" ||
     2183         test ! -s conftest.err
     2184       } && test -s conftest$ac_exeext && {
     2185         test "$cross_compiling" = yes ||
     2186         test -x conftest$ac_exeext
     2187       }; then :
     2188  ac_retval=0
     2189else
     2190  $as_echo "$as_me: failed program was:" >&5
     2191sed 's/^/| /' conftest.$ac_ext >&5
     2192
     2193        ac_retval=1
     2194fi
     2195  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2196  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2197  # interfere with the next link command; also delete a directory that is
     2198  # left behind by Apple's compiler.  We do this before executing the actions.
     2199  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2200  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2201  as_fn_set_status $ac_retval
     2202
     2203} # ac_fn_cxx_try_link
     2204
     2205# ac_fn_cxx_check_func LINENO FUNC VAR
     2206# ------------------------------------
     2207# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2208ac_fn_cxx_check_func ()
     2209{
     2210  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2212$as_echo_n "checking for $2... " >&6; }
     2213if eval \${$3+:} false; then :
     2214  $as_echo_n "(cached) " >&6
     2215else
     2216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2217/* end confdefs.h.  */
     2218/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2219   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2220#define $2 innocuous_$2
     2221
     2222/* System header to define __stub macros and hopefully few prototypes,
     2223    which can conflict with char $2 (); below.
     2224    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2225    <limits.h> exists even on freestanding compilers.  */
     2226
     2227#ifdef __STDC__
     2228# include <limits.h>
     2229#else
     2230# include <assert.h>
     2231#endif
     2232
     2233#undef $2
     2234
     2235/* Override any GCC internal prototype to avoid an error.
     2236   Use char because int might match the return type of a GCC
     2237   builtin and then its argument prototype would still apply.  */
     2238#ifdef __cplusplus
     2239extern "C"
     2240#endif
     2241char $2 ();
     2242/* The GNU C library defines this for functions which it implements
     2243    to always fail with ENOSYS.  Some functions are actually named
     2244    something starting with __ and the normal name is an alias.  */
     2245#if defined __stub_$2 || defined __stub___$2
     2246choke me
     2247#endif
     2248
     2249int
     2250main ()
     2251{
     2252return $2 ();
     2253  ;
     2254  return 0;
     2255}
     2256_ACEOF
     2257if ac_fn_cxx_try_link "$LINENO"; then :
     2258  eval "$3=yes"
     2259else
     2260  eval "$3=no"
     2261fi
     2262rm -f core conftest.err conftest.$ac_objext \
     2263    conftest$ac_exeext conftest.$ac_ext
     2264fi
     2265eval ac_res=\$$3
     2266               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2267$as_echo "$ac_res" >&6; }
     2268  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2269
     2270} # ac_fn_cxx_check_func
    15102271cat >config.log <<_ACEOF
    15112272This file contains any messages produced by compilers while
     
    15132274
    15142275It was created by vizservers $as_me 0.1, which was
    1515 generated by GNU Autoconf 2.63.  Invocation command line was
     2276generated by GNU Autoconf 2.69.  Invocation command line was
    15162277
    15172278  $ $0 $@
     
    15492310  IFS=$as_save_IFS
    15502311  test -z "$as_dir" && as_dir=.
    1551   $as_echo "PATH: $as_dir"
    1552 done
     2312    $as_echo "PATH: $as_dir"
     2313  done
    15532314IFS=$as_save_IFS
    15542315
     
    15872348    esac
    15882349    case $ac_pass in
    1589     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2350    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15902351    2)
    1591       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2352      as_fn_append ac_configure_args1 " '$ac_arg'"
    15922353      if test $ac_must_keep_next = true; then
    15932354        ac_must_keep_next=false # Got value, back to normal.
     
    16052366        esac
    16062367      fi
    1607       ac_configure_args="$ac_configure_args '$ac_arg'"
     2368      as_fn_append ac_configure_args " '$ac_arg'"
    16082369      ;;
    16092370    esac
    16102371  done
    16112372done
    1612 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1613 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2373{ ac_configure_args0=; unset ac_configure_args0;}
     2374{ ac_configure_args1=; unset ac_configure_args1;}
    16142375
    16152376# When interrupted or exit'd, cleanup temporary files, and complete
     
    16232384    echo
    16242385
    1625     cat <<\_ASBOX
    1626 ## ---------------- ##
     2386    $as_echo "## ---------------- ##
    16272387## Cache variables. ##
    1628 ## ---------------- ##
    1629 _ASBOX
     2388## ---------------- ##"
    16302389    echo
    16312390    # The following way of writing the cache mishandles newlines in values,
     
    16362395    *${as_nl}*)
    16372396      case $ac_var in #(
    1638       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2397      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16392398$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16402399      esac
     
    16422401      _ | IFS | as_nl) ;; #(
    16432402      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1644       *) $as_unset $ac_var ;;
     2403      *) { eval $ac_var=; unset $ac_var;} ;;
    16452404      esac ;;
    16462405    esac
     
    16612420    echo
    16622421
    1663     cat <<\_ASBOX
    1664 ## ----------------- ##
     2422    $as_echo "## ----------------- ##
    16652423## Output variables. ##
    1666 ## ----------------- ##
    1667 _ASBOX
     2424## ----------------- ##"
    16682425    echo
    16692426    for ac_var in $ac_subst_vars
     
    16782435
    16792436    if test -n "$ac_subst_files"; then
    1680       cat <<\_ASBOX
    1681 ## ------------------- ##
     2437      $as_echo "## ------------------- ##
    16822438## File substitutions. ##
    1683 ## ------------------- ##
    1684 _ASBOX
     2439## ------------------- ##"
    16852440      echo
    16862441      for ac_var in $ac_subst_files
     
    16962451
    16972452    if test -s confdefs.h; then
    1698       cat <<\_ASBOX
    1699 ## ----------- ##
     2453      $as_echo "## ----------- ##
    17002454## confdefs.h. ##
    1701 ## ----------- ##
    1702 _ASBOX
     2455## ----------- ##"
    17032456      echo
    17042457      cat confdefs.h
     
    17142467' 0
    17152468for ac_signal in 1 2 13 15; do
    1716   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2469  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17172470done
    17182471ac_signal=0
     
    17212474rm -f -r conftest* confdefs.h
    17222475
     2476$as_echo "/* confdefs.h */" > confdefs.h
     2477
    17232478# Predefined preprocessor variables.
    17242479
     
    17272482_ACEOF
    17282483
    1729 
    17302484cat >>confdefs.h <<_ACEOF
    17312485#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17322486_ACEOF
    17332487
    1734 
    17352488cat >>confdefs.h <<_ACEOF
    17362489#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17372490_ACEOF
    17382491
    1739 
    17402492cat >>confdefs.h <<_ACEOF
    17412493#define PACKAGE_STRING "$PACKAGE_STRING"
    17422494_ACEOF
    17432495
    1744 
    17452496cat >>confdefs.h <<_ACEOF
    17462497#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2498_ACEOF
     2499
     2500cat >>confdefs.h <<_ACEOF
     2501#define PACKAGE_URL "$PACKAGE_URL"
    17472502_ACEOF
    17482503
     
    17532508ac_site_file2=NONE
    17542509if test -n "$CONFIG_SITE"; then
    1755   ac_site_file1=$CONFIG_SITE
     2510  # We do not want a PATH search for config.site.
     2511  case $CONFIG_SITE in #((
     2512    -*)  ac_site_file1=./$CONFIG_SITE;;
     2513    */*) ac_site_file1=$CONFIG_SITE;;
     2514    *)   ac_site_file1=./$CONFIG_SITE;;
     2515  esac
    17562516elif test "x$prefix" != xNONE; then
    17572517  ac_site_file1=$prefix/share/config.site
     
    17642524do
    17652525  test "x$ac_site_file" = xNONE && continue
    1766   if test -r "$ac_site_file"; then
    1767     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2526  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2527    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17682528$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17692529    sed 's/^/| /' "$ac_site_file" >&5
    1770     . "$ac_site_file"
     2530    . "$ac_site_file" \
     2531      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2532$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2533as_fn_error $? "failed to load site script $ac_site_file
     2534See \`config.log' for more details" "$LINENO" 5; }
    17712535  fi
    17722536done
    17732537
    17742538if test -r "$cache_file"; then
    1775   # Some versions of bash will fail to source /dev/null (special
    1776   # files actually), so we avoid doing that.
    1777   if test -f "$cache_file"; then
    1778     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2539  # Some versions of bash will fail to source /dev/null (special files
     2540  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2541  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2542    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17792543$as_echo "$as_me: loading cache $cache_file" >&6;}
    17802544    case $cache_file in
     
    17842548  fi
    17852549else
    1786   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2550  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17872551$as_echo "$as_me: creating cache $cache_file" >&6;}
    17882552  >$cache_file
     
    17992563  case $ac_old_set,$ac_new_set in
    18002564    set,)
    1801       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2565      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18022566$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18032567      ac_cache_corrupted=: ;;
    18042568    ,set)
    1805       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2569      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18062570$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18072571      ac_cache_corrupted=: ;;
     
    18132577        ac_new_val_w=`echo x $ac_new_val`
    18142578        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1815           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2579          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18162580$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18172581          ac_cache_corrupted=:
    18182582        else
    1819           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2583          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18202584$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18212585          eval $ac_var=\$ac_old_val
    18222586        fi
    1823         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2587        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18242588$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1825         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2589        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18262590$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18272591      fi;;
     
    18352599    case " $ac_configure_args " in
    18362600      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1837       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2601      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18382602    esac
    18392603  fi
    18402604done
    18412605if $ac_cache_corrupted; then
    1842   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2606  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18432607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1844   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2608  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18452609$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1846   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1847 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1848    { (exit 1); exit 1; }; }
    1849 fi
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
    1871 
    1872 
    1873 
     2610  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2611fi
     2612## -------------------- ##
     2613## Main body of script. ##
     2614## -------------------- ##
    18742615
    18752616ac_ext=c
     
    18972638done
    18982639if test -z "$ac_aux_dir"; then
    1899   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1900 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1901    { (exit 1); exit 1; }; }
     2640  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19022641fi
    19032642
     
    19162655
    19172656# Check whether --with-tcllib was given.
    1918 if test "${with_tcllib+set}" = set; then
     2657if test "${with_tcllib+set}" = set; then :
    19192658  withval=$with_tcllib; with_tcllib=$withval
    19202659else
     
    19252664
    19262665# Check whether --with-rappture was given.
    1927 if test "${with_rappture+set}" = set; then
     2666if test "${with_rappture+set}" = set; then :
    19282667  withval=$with_rappture; with_rappture=$withval
    19292668else
     
    19342673
    19352674# Check whether --with-vtk-includes was given.
    1936 if test "${with_vtk_includes+set}" = set; then
     2675if test "${with_vtk_includes+set}" = set; then :
    19372676  withval=$with_vtk_includes; with_vtk_includes=$withval
    19382677else
     
    19432682
    19442683# Check whether --with-vtk-libs was given.
    1945 if test "${with_vtk_libs+set}" = set; then
     2684if test "${with_vtk_libs+set}" = set; then :
    19462685  withval=$with_vtk_libs; with_vtk_libs=$withval
    19472686else
     
    19522691
    19532692# Check whether --with-vtk was given.
    1954 if test "${with_vtk+set}" = set; then
     2693if test "${with_vtk+set}" = set; then :
    19552694  withval=$with_vtk; with_vtk=$withval
    19562695else
    19572696  with_vtk=yes
    1958 fi
    1959 
    1960 
    1961 
    1962 # Check whether --with-ffmpeg was given.
    1963 if test "${with_ffmpeg+set}" = set; then
    1964   withval=$with_ffmpeg;
    1965 else
    1966   with_ffmpeg=yes
    19672697fi
    19682698
     
    19762706  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19772707set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19792709$as_echo_n "checking for $ac_word... " >&6; }
    1980 if test "${ac_cv_prog_CC+set}" = set; then
     2710if ${ac_cv_prog_CC+:} false; then :
    19812711  $as_echo_n "(cached) " >&6
    19822712else
     
    19892719  IFS=$as_save_IFS
    19902720  test -z "$as_dir" && as_dir=.
    1991   for ac_exec_ext in '' $ac_executable_extensions; do
    1992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2721    for ac_exec_ext in '' $ac_executable_extensions; do
     2722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19932723    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19952725    break 2
    19962726  fi
    19972727done
    1998 done
     2728  done
    19992729IFS=$as_save_IFS
    20002730
     
    20032733CC=$ac_cv_prog_CC
    20042734if test -n "$CC"; then
    2005   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20062736$as_echo "$CC" >&6; }
    20072737else
    2008   { $as_echo "$as_me:$LINENO: result: no" >&5
     2738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20092739$as_echo "no" >&6; }
    20102740fi
     
    20162746  # Extract the first word of "gcc", so it can be a program name with args.
    20172747set dummy gcc; ac_word=$2
    2018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20192749$as_echo_n "checking for $ac_word... " >&6; }
    2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2750if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20212751  $as_echo_n "(cached) " >&6
    20222752else
     
    20292759  IFS=$as_save_IFS
    20302760  test -z "$as_dir" && as_dir=.
    2031   for ac_exec_ext in '' $ac_executable_extensions; do
    2032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2761    for ac_exec_ext in '' $ac_executable_extensions; do
     2762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20332763    ac_cv_prog_ac_ct_CC="gcc"
    2034     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20352765    break 2
    20362766  fi
    20372767done
    2038 done
     2768  done
    20392769IFS=$as_save_IFS
    20402770
     
    20432773ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20442774if test -n "$ac_ct_CC"; then
    2045   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20462776$as_echo "$ac_ct_CC" >&6; }
    20472777else
    2048   { $as_echo "$as_me:$LINENO: result: no" >&5
     2778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20492779$as_echo "no" >&6; }
    20502780fi
     
    20552785    case $cross_compiling:$ac_tool_warned in
    20562786yes:)
    2057 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20582788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20592789ac_tool_warned=yes ;;
     
    20692799    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20702800set dummy ${ac_tool_prefix}cc; ac_word=$2
    2071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20722802$as_echo_n "checking for $ac_word... " >&6; }
    2073 if test "${ac_cv_prog_CC+set}" = set; then
     2803if ${ac_cv_prog_CC+:} false; then :
    20742804  $as_echo_n "(cached) " >&6
    20752805else
     
    20822812  IFS=$as_save_IFS
    20832813  test -z "$as_dir" && as_dir=.
    2084   for ac_exec_ext in '' $ac_executable_extensions; do
    2085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2814    for ac_exec_ext in '' $ac_executable_extensions; do
     2815  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20862816    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2817    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20882818    break 2
    20892819  fi
    20902820done
    2091 done
     2821  done
    20922822IFS=$as_save_IFS
    20932823
     
    20962826CC=$ac_cv_prog_CC
    20972827if test -n "$CC"; then
    2098   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20992829$as_echo "$CC" >&6; }
    21002830else
    2101   { $as_echo "$as_me:$LINENO: result: no" >&5
     2831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21022832$as_echo "no" >&6; }
    21032833fi
     
    21092839  # Extract the first word of "cc", so it can be a program name with args.
    21102840set dummy cc; ac_word=$2
    2111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21122842$as_echo_n "checking for $ac_word... " >&6; }
    2113 if test "${ac_cv_prog_CC+set}" = set; then
     2843if ${ac_cv_prog_CC+:} false; then :
    21142844  $as_echo_n "(cached) " >&6
    21152845else
     
    21232853  IFS=$as_save_IFS
    21242854  test -z "$as_dir" && as_dir=.
    2125   for ac_exec_ext in '' $ac_executable_extensions; do
    2126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2855    for ac_exec_ext in '' $ac_executable_extensions; do
     2856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21272857    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21282858       ac_prog_rejected=yes
     
    21302860     fi
    21312861    ac_cv_prog_CC="cc"
    2132     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21332863    break 2
    21342864  fi
    21352865done
    2136 done
     2866  done
    21372867IFS=$as_save_IFS
    21382868
     
    21532883CC=$ac_cv_prog_CC
    21542884if test -n "$CC"; then
    2155   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21562886$as_echo "$CC" >&6; }
    21572887else
    2158   { $as_echo "$as_me:$LINENO: result: no" >&5
     2888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21592889$as_echo "no" >&6; }
    21602890fi
     
    21682898    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21692899set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21712901$as_echo_n "checking for $ac_word... " >&6; }
    2172 if test "${ac_cv_prog_CC+set}" = set; then
     2902if ${ac_cv_prog_CC+:} false; then :
    21732903  $as_echo_n "(cached) " >&6
    21742904else
     
    21812911  IFS=$as_save_IFS
    21822912  test -z "$as_dir" && as_dir=.
    2183   for ac_exec_ext in '' $ac_executable_extensions; do
    2184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2913    for ac_exec_ext in '' $ac_executable_extensions; do
     2914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21852915    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21872917    break 2
    21882918  fi
    21892919done
    2190 done
     2920  done
    21912921IFS=$as_save_IFS
    21922922
     
    21952925CC=$ac_cv_prog_CC
    21962926if test -n "$CC"; then
    2197   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21982928$as_echo "$CC" >&6; }
    21992929else
    2200   { $as_echo "$as_me:$LINENO: result: no" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22012931$as_echo "no" >&6; }
    22022932fi
     
    22122942  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22132943set dummy $ac_prog; ac_word=$2
    2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22152945$as_echo_n "checking for $ac_word... " >&6; }
    2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2946if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22172947  $as_echo_n "(cached) " >&6
    22182948else
     
    22252955  IFS=$as_save_IFS
    22262956  test -z "$as_dir" && as_dir=.
    2227   for ac_exec_ext in '' $ac_executable_extensions; do
    2228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2957    for ac_exec_ext in '' $ac_executable_extensions; do
     2958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22292959    ac_cv_prog_ac_ct_CC="$ac_prog"
    2230     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22312961    break 2
    22322962  fi
    22332963done
    2234 done
     2964  done
    22352965IFS=$as_save_IFS
    22362966
     
    22392969ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22402970if test -n "$ac_ct_CC"; then
    2241   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22422972$as_echo "$ac_ct_CC" >&6; }
    22432973else
    2244   { $as_echo "$as_me:$LINENO: result: no" >&5
     2974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22452975$as_echo "no" >&6; }
    22462976fi
     
    22552985    case $cross_compiling:$ac_tool_warned in
    22562986yes:)
    2257 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22582988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22592989ac_tool_warned=yes ;;
     
    22662996
    22672997
    2268 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2998test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22692999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2270 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2271 See \`config.log' for more details." >&5
    2272 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2273 See \`config.log' for more details." >&2;}
    2274    { (exit 1); exit 1; }; }; }
     3000as_fn_error $? "no acceptable C compiler found in \$PATH
     3001See \`config.log' for more details" "$LINENO" 5; }
    22753002
    22763003# Provide some information about the compiler.
    2277 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3004$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22783005set X $ac_compile
    22793006ac_compiler=$2
    2280 { (ac_try="$ac_compiler --version >&5"
     3007for ac_option in --version -v -V -qversion; do
     3008  { { ac_try="$ac_compiler $ac_option >&5"
    22813009case "(($ac_try" in
    22823010  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22833011  *) ac_try_echo=$ac_try;;
    22843012esac
    2285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2286 $as_echo "$ac_try_echo") >&5
    2287   (eval "$ac_compiler --version >&5") 2>&5
     3013eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3014$as_echo "$ac_try_echo"; } >&5
     3015  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22883016  ac_status=$?
    2289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2290   (exit $ac_status); }
    2291 { (ac_try="$ac_compiler -v >&5"
    2292 case "(($ac_try" in
    2293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2294   *) ac_try_echo=$ac_try;;
    2295 esac
    2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2297 $as_echo "$ac_try_echo") >&5
    2298   (eval "$ac_compiler -v >&5") 2>&5
    2299   ac_status=$?
    2300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2301   (exit $ac_status); }
    2302 { (ac_try="$ac_compiler -V >&5"
    2303 case "(($ac_try" in
    2304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2305   *) ac_try_echo=$ac_try;;
    2306 esac
    2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2308 $as_echo "$ac_try_echo") >&5
    2309   (eval "$ac_compiler -V >&5") 2>&5
    2310   ac_status=$?
    2311   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2312   (exit $ac_status); }
    2313 
    2314 cat >conftest.$ac_ext <<_ACEOF
    2315 /* confdefs.h.  */
    2316 _ACEOF
    2317 cat confdefs.h >>conftest.$ac_ext
    2318 cat >>conftest.$ac_ext <<_ACEOF
     3017  if test -s conftest.err; then
     3018    sed '10a\
     3019... rest of stderr output deleted ...
     3020         10q' conftest.err >conftest.er1
     3021    cat conftest.er1 >&5
     3022  fi
     3023  rm -f conftest.er1 conftest.err
     3024  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3025  test $ac_status = 0; }
     3026done
     3027
     3028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23193029/* end confdefs.h.  */
    23203030
     
    23323042# It will help us diagnose broken compilers, and finding out an intuition
    23333043# of exeext.
    2334 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2335 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3045$as_echo_n "checking whether the C compiler works... " >&6; }
    23363046ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23373047
     
    23493059rm -f $ac_rmfiles
    23503060
    2351 if { (ac_try="$ac_link_default"
     3061if { { ac_try="$ac_link_default"
    23523062case "(($ac_try" in
    23533063  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23543064  *) ac_try_echo=$ac_try;;
    23553065esac
    2356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2357 $as_echo "$ac_try_echo") >&5
     3066eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3067$as_echo "$ac_try_echo"; } >&5
    23583068  (eval "$ac_link_default") 2>&5
    23593069  ac_status=$?
    2360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2361   (exit $ac_status); }; then
     3070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3071  test $ac_status = 0; }; then :
    23623072  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23633073# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23763086        break;;
    23773087    *.* )
    2378         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3088        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23793089        then :; else
    23803090           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23953105  ac_file=''
    23963106fi
    2397 
    2398 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3107if test -z "$ac_file"; then :
     3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3109$as_echo "no" >&6; }
     3110$as_echo "$as_me: failed program was:" >&5
     3111sed 's/^/| /' conftest.$ac_ext >&5
     3112
     3113{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3115as_fn_error 77 "C compiler cannot create executables
     3116See \`config.log' for more details" "$LINENO" 5; }
     3117else
     3118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3119$as_echo "yes" >&6; }
     3120fi
     3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3122$as_echo_n "checking for C compiler default output file name... " >&6; }
     3123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23993124$as_echo "$ac_file" >&6; }
    2400 if test -z "$ac_file"; then
    2401   $as_echo "$as_me: failed program was:" >&5
    2402 sed 's/^/| /' conftest.$ac_ext >&5
    2403 
    2404 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2406 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2407 See \`config.log' for more details." >&5
    2408 $as_echo "$as_me: error: C compiler cannot create executables
    2409 See \`config.log' for more details." >&2;}
    2410    { (exit 77); exit 77; }; }; }
    2411 fi
    2412 
    24133125ac_exeext=$ac_cv_exeext
    2414 
    2415 # Check that the compiler produces executables we can run.  If not, either
    2416 # the compiler is broken, or we cross compile.
    2417 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2418 $as_echo_n "checking whether the C compiler works... " >&6; }
    2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2420 # If not cross compiling, check that we can run a simple program.
    2421 if test "$cross_compiling" != yes; then
    2422   if { ac_try='./$ac_file'
    2423   { (case "(($ac_try" in
    2424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2425   *) ac_try_echo=$ac_try;;
    2426 esac
    2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2428 $as_echo "$ac_try_echo") >&5
    2429   (eval "$ac_try") 2>&5
    2430   ac_status=$?
    2431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2432   (exit $ac_status); }; }; then
    2433     cross_compiling=no
    2434   else
    2435     if test "$cross_compiling" = maybe; then
    2436         cross_compiling=yes
    2437     else
    2438         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2440 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2441 If you meant to cross compile, use \`--host'.
    2442 See \`config.log' for more details." >&5
    2443 $as_echo "$as_me: error: cannot run C compiled programs.
    2444 If you meant to cross compile, use \`--host'.
    2445 See \`config.log' for more details." >&2;}
    2446    { (exit 1); exit 1; }; }; }
    2447     fi
    2448   fi
    2449 fi
    2450 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2451 $as_echo "yes" >&6; }
    24523126
    24533127rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24543128ac_clean_files=$ac_clean_files_save
    2455 # Check that the compiler produces executables we can run.  If not, either
    2456 # the compiler is broken, or we cross compile.
    2457 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2458 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2459 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2460 $as_echo "$cross_compiling" >&6; }
    2461 
    2462 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24633130$as_echo_n "checking for suffix of executables... " >&6; }
    2464 if { (ac_try="$ac_link"
     3131if { { ac_try="$ac_link"
    24653132case "(($ac_try" in
    24663133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24673134  *) ac_try_echo=$ac_try;;
    24683135esac
    2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2470 $as_echo "$ac_try_echo") >&5
     3136eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3137$as_echo "$ac_try_echo"; } >&5
    24713138  (eval "$ac_link") 2>&5
    24723139  ac_status=$?
    2473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2474   (exit $ac_status); }; then
     3140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3141  test $ac_status = 0; }; then :
    24753142  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24763143# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24873154done
    24883155else
    2489   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3156  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24903157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2491 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2492 See \`config.log' for more details." >&5
    2493 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2494 See \`config.log' for more details." >&2;}
    2495    { (exit 1); exit 1; }; }; }
    2496 fi
    2497 
    2498 rm -f conftest$ac_cv_exeext
    2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3158as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3159See \`config.log' for more details" "$LINENO" 5; }
     3160fi
     3161rm -f conftest conftest$ac_cv_exeext
     3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    25003163$as_echo "$ac_cv_exeext" >&6; }
    25013164
     
    25033166EXEEXT=$ac_cv_exeext
    25043167ac_exeext=$EXEEXT
    2505 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2506 $as_echo_n "checking for suffix of object files... " >&6; }
    2507 if test "${ac_cv_objext+set}" = set; then
    2508   $as_echo_n "(cached) " >&6
    2509 else
    2510   cat >conftest.$ac_ext <<_ACEOF
    2511 /* confdefs.h.  */
    2512 _ACEOF
    2513 cat confdefs.h >>conftest.$ac_ext
    2514 cat >>conftest.$ac_ext <<_ACEOF
     3168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25153169/* end confdefs.h.  */
    2516 
     3170#include <stdio.h>
    25173171int
    25183172main ()
    25193173{
     3174FILE *f = fopen ("conftest.out", "w");
     3175 return ferror (f) || fclose (f) != 0;
    25203176
    25213177  ;
     
    25233179}
    25243180_ACEOF
    2525 rm -f conftest.o conftest.obj
    2526 if { (ac_try="$ac_compile"
     3181ac_clean_files="$ac_clean_files conftest.out"
     3182# Check that the compiler produces executables we can run.  If not, either
     3183# the compiler is broken, or we cross compile.
     3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3185$as_echo_n "checking whether we are cross compiling... " >&6; }
     3186if test "$cross_compiling" != yes; then
     3187  { { ac_try="$ac_link"
    25273188case "(($ac_try" in
    25283189  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25293190  *) ac_try_echo=$ac_try;;
    25303191esac
    2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2532 $as_echo "$ac_try_echo") >&5
     3192eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3193$as_echo "$ac_try_echo"; } >&5
     3194  (eval "$ac_link") 2>&5
     3195  ac_status=$?
     3196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3197  test $ac_status = 0; }
     3198  if { ac_try='./conftest$ac_cv_exeext'
     3199  { { case "(($ac_try" in
     3200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3201  *) ac_try_echo=$ac_try;;
     3202esac
     3203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3204$as_echo "$ac_try_echo"; } >&5
     3205  (eval "$ac_try") 2>&5
     3206  ac_status=$?
     3207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3208  test $ac_status = 0; }; }; then
     3209    cross_compiling=no
     3210  else
     3211    if test "$cross_compiling" = maybe; then
     3212        cross_compiling=yes
     3213    else
     3214        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3216as_fn_error $? "cannot run C compiled programs.
     3217If you meant to cross compile, use \`--host'.
     3218See \`config.log' for more details" "$LINENO" 5; }
     3219    fi
     3220  fi
     3221fi
     3222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3223$as_echo "$cross_compiling" >&6; }
     3224
     3225rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3226ac_clean_files=$ac_clean_files_save
     3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3228$as_echo_n "checking for suffix of object files... " >&6; }
     3229if ${ac_cv_objext+:} false; then :
     3230  $as_echo_n "(cached) " >&6
     3231else
     3232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3233/* end confdefs.h.  */
     3234
     3235int
     3236main ()
     3237{
     3238
     3239  ;
     3240  return 0;
     3241}
     3242_ACEOF
     3243rm -f conftest.o conftest.obj
     3244if { { ac_try="$ac_compile"
     3245case "(($ac_try" in
     3246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3247  *) ac_try_echo=$ac_try;;
     3248esac
     3249eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3250$as_echo "$ac_try_echo"; } >&5
    25333251  (eval "$ac_compile") 2>&5
    25343252  ac_status=$?
    2535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2536   (exit $ac_status); }; then
     3253  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3254  test $ac_status = 0; }; then :
    25373255  for ac_file in conftest.o conftest.obj conftest.*; do
    25383256  test -f "$ac_file" || continue;
     
    25473265sed 's/^/| /' conftest.$ac_ext >&5
    25483266
    2549 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3267{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25503268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2551 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2552 See \`config.log' for more details." >&5
    2553 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2554 See \`config.log' for more details." >&2;}
    2555    { (exit 1); exit 1; }; }; }
    2556 fi
    2557 
     3269as_fn_error $? "cannot compute suffix of object files: cannot compile
     3270See \`config.log' for more details" "$LINENO" 5; }
     3271fi
    25583272rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25593273fi
    2560 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25613275$as_echo "$ac_cv_objext" >&6; }
    25623276OBJEXT=$ac_cv_objext
    25633277ac_objext=$OBJEXT
    2564 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25653279$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2566 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3280if ${ac_cv_c_compiler_gnu+:} false; then :
    25673281  $as_echo_n "(cached) " >&6
    25683282else
    2569   cat >conftest.$ac_ext <<_ACEOF
    2570 /* confdefs.h.  */
    2571 _ACEOF
    2572 cat confdefs.h >>conftest.$ac_ext
    2573 cat >>conftest.$ac_ext <<_ACEOF
     3283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25743284/* end confdefs.h.  */
    25753285
     
    25853295}
    25863296_ACEOF
    2587 rm -f conftest.$ac_objext
    2588 if { (ac_try="$ac_compile"
    2589 case "(($ac_try" in
    2590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2591   *) ac_try_echo=$ac_try;;
    2592 esac
    2593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2594 $as_echo "$ac_try_echo") >&5
    2595   (eval "$ac_compile") 2>conftest.er1
    2596   ac_status=$?
    2597   grep -v '^ *+' conftest.er1 >conftest.err
    2598   rm -f conftest.er1
    2599   cat conftest.err >&5
    2600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2601   (exit $ac_status); } && {
    2602          test -z "$ac_c_werror_flag" ||
    2603          test ! -s conftest.err
    2604        } && test -s conftest.$ac_objext; then
     3297if ac_fn_c_try_compile "$LINENO"; then :
    26053298  ac_compiler_gnu=yes
    26063299else
    2607   $as_echo "$as_me: failed program was:" >&5
    2608 sed 's/^/| /' conftest.$ac_ext >&5
    2609 
    2610         ac_compiler_gnu=no
    2611 fi
    2612 
     3300  ac_compiler_gnu=no
     3301fi
    26133302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26143303ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26153304
    26163305fi
    2617 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26183307$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26193308if test $ac_compiler_gnu = yes; then
     
    26243313ac_test_CFLAGS=${CFLAGS+set}
    26253314ac_save_CFLAGS=$CFLAGS
    2626 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26273316$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2628 if test "${ac_cv_prog_cc_g+set}" = set; then
     3317if ${ac_cv_prog_cc_g+:} false; then :
    26293318  $as_echo_n "(cached) " >&6
    26303319else
     
    26333322   ac_cv_prog_cc_g=no
    26343323   CFLAGS="-g"
    2635    cat >conftest.$ac_ext <<_ACEOF
    2636 /* confdefs.h.  */
    2637 _ACEOF
    2638 cat confdefs.h >>conftest.$ac_ext
    2639 cat >>conftest.$ac_ext <<_ACEOF
     3324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26403325/* end confdefs.h.  */
    26413326
     
    26483333}
    26493334_ACEOF
    2650 rm -f conftest.$ac_objext
    2651 if { (ac_try="$ac_compile"
    2652 case "(($ac_try" in
    2653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2654   *) ac_try_echo=$ac_try;;
    2655 esac
    2656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2657 $as_echo "$ac_try_echo") >&5
    2658   (eval "$ac_compile") 2>conftest.er1
    2659   ac_status=$?
    2660   grep -v '^ *+' conftest.er1 >conftest.err
    2661   rm -f conftest.er1
    2662   cat conftest.err >&5
    2663   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2664   (exit $ac_status); } && {
    2665          test -z "$ac_c_werror_flag" ||
    2666          test ! -s conftest.err
    2667        } && test -s conftest.$ac_objext; then
     3335if ac_fn_c_try_compile "$LINENO"; then :
    26683336  ac_cv_prog_cc_g=yes
    26693337else
    2670   $as_echo "$as_me: failed program was:" >&5
    2671 sed 's/^/| /' conftest.$ac_ext >&5
    2672 
    2673         CFLAGS=""
    2674       cat >conftest.$ac_ext <<_ACEOF
    2675 /* confdefs.h.  */
    2676 _ACEOF
    2677 cat confdefs.h >>conftest.$ac_ext
    2678 cat >>conftest.$ac_ext <<_ACEOF
     3338  CFLAGS=""
     3339      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26793340/* end confdefs.h.  */
    26803341
     
    26873348}
    26883349_ACEOF
    2689 rm -f conftest.$ac_objext
    2690 if { (ac_try="$ac_compile"
    2691 case "(($ac_try" in
    2692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2693   *) ac_try_echo=$ac_try;;
    2694 esac
    2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2696 $as_echo "$ac_try_echo") >&5
    2697   (eval "$ac_compile") 2>conftest.er1
    2698   ac_status=$?
    2699   grep -v '^ *+' conftest.er1 >conftest.err
    2700   rm -f conftest.er1
    2701   cat conftest.err >&5
    2702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2703   (exit $ac_status); } && {
    2704          test -z "$ac_c_werror_flag" ||
    2705          test ! -s conftest.err
    2706        } && test -s conftest.$ac_objext; then
    2707   :
    2708 else
    2709   $as_echo "$as_me: failed program was:" >&5
    2710 sed 's/^/| /' conftest.$ac_ext >&5
    2711 
    2712         ac_c_werror_flag=$ac_save_c_werror_flag
     3350if ac_fn_c_try_compile "$LINENO"; then :
     3351
     3352else
     3353  ac_c_werror_flag=$ac_save_c_werror_flag
    27133354         CFLAGS="-g"
    2714          cat >conftest.$ac_ext <<_ACEOF
    2715 /* confdefs.h.  */
    2716 _ACEOF
    2717 cat confdefs.h >>conftest.$ac_ext
    2718 cat >>conftest.$ac_ext <<_ACEOF
     3355         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27193356/* end confdefs.h.  */
    27203357
     
    27273364}
    27283365_ACEOF
    2729 rm -f conftest.$ac_objext
    2730 if { (ac_try="$ac_compile"
    2731 case "(($ac_try" in
    2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2733   *) ac_try_echo=$ac_try;;
    2734 esac
    2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2736 $as_echo "$ac_try_echo") >&5
    2737   (eval "$ac_compile") 2>conftest.er1
    2738   ac_status=$?
    2739   grep -v '^ *+' conftest.er1 >conftest.err
    2740   rm -f conftest.er1
    2741   cat conftest.err >&5
    2742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2743   (exit $ac_status); } && {
    2744          test -z "$ac_c_werror_flag" ||
    2745          test ! -s conftest.err
    2746        } && test -s conftest.$ac_objext; then
     3366if ac_fn_c_try_compile "$LINENO"; then :
    27473367  ac_cv_prog_cc_g=yes
    2748 else
    2749   $as_echo "$as_me: failed program was:" >&5
    2750 sed 's/^/| /' conftest.$ac_ext >&5
    2751 
    2752 
    2753 fi
    2754 
     3368fi
    27553369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27563370fi
    2757 
    27583371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27593372fi
    2760 
    27613373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27623374   ac_c_werror_flag=$ac_save_c_werror_flag
    27633375fi
    2764 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27653377$as_echo "$ac_cv_prog_cc_g" >&6; }
    27663378if test "$ac_test_CFLAGS" = set; then
     
    27793391  fi
    27803392fi
    2781 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27823394$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2783 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3395if ${ac_cv_prog_cc_c89+:} false; then :
    27843396  $as_echo_n "(cached) " >&6
    27853397else
    27863398  ac_cv_prog_cc_c89=no
    27873399ac_save_CC=$CC
    2788 cat >conftest.$ac_ext <<_ACEOF
    2789 /* confdefs.h.  */
    2790 _ACEOF
    2791 cat confdefs.h >>conftest.$ac_ext
    2792 cat >>conftest.$ac_ext <<_ACEOF
     3400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27933401/* end confdefs.h.  */
    27943402#include <stdarg.h>
    27953403#include <stdio.h>
    2796 #include <sys/types.h>
    2797 #include <sys/stat.h>
     3404struct stat;
    27983405/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27993406struct buf { int x; };
     
    28473454do
    28483455  CC="$ac_save_CC $ac_arg"
    2849   rm -f conftest.$ac_objext
    2850 if { (ac_try="$ac_compile"
    2851 case "(($ac_try" in
    2852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2853   *) ac_try_echo=$ac_try;;
    2854 esac
    2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2856 $as_echo "$ac_try_echo") >&5
    2857   (eval "$ac_compile") 2>conftest.er1
    2858   ac_status=$?
    2859   grep -v '^ *+' conftest.er1 >conftest.err
    2860   rm -f conftest.er1
    2861   cat conftest.err >&5
    2862   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2863   (exit $ac_status); } && {
    2864          test -z "$ac_c_werror_flag" ||
    2865          test ! -s conftest.err
    2866        } && test -s conftest.$ac_objext; then
     3456  if ac_fn_c_try_compile "$LINENO"; then :
    28673457  ac_cv_prog_cc_c89=$ac_arg
    2868 else
    2869   $as_echo "$as_me: failed program was:" >&5
    2870 sed 's/^/| /' conftest.$ac_ext >&5
    2871 
    2872 
    2873 fi
    2874 
     3458fi
    28753459rm -f core conftest.err conftest.$ac_objext
    28763460  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28833467case "x$ac_cv_prog_cc_c89" in
    28843468  x)
    2885     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3469    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28863470$as_echo "none needed" >&6; } ;;
    28873471  xno)
    2888     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3472    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28893473$as_echo "unsupported" >&6; } ;;
    28903474  *)
    28913475    CC="$CC $ac_cv_prog_cc_c89"
    2892     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28933477$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28943478esac
    2895 
     3479if test "x$ac_cv_prog_cc_c89" != xno; then :
     3480
     3481fi
    28963482
    28973483ac_ext=c
     
    29073493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29083494ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2909 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29103496$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29113497# On Suns, sometimes $CPP names a directory.
     
    29143500fi
    29153501if test -z "$CPP"; then
    2916   if test "${ac_cv_prog_CPP+set}" = set; then
     3502  if ${ac_cv_prog_CPP+:} false; then :
    29173503  $as_echo_n "(cached) " >&6
    29183504else
     
    29293515  # On the NeXT, cc -E runs the code through the compiler's parser,
    29303516  # not just through cpp. "Syntax error" is here to catch this case.
    2931   cat >conftest.$ac_ext <<_ACEOF
    2932 /* confdefs.h.  */
    2933 _ACEOF
    2934 cat confdefs.h >>conftest.$ac_ext
    2935 cat >>conftest.$ac_ext <<_ACEOF
     3517  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29363518/* end confdefs.h.  */
    29373519#ifdef __STDC__
     
    29423524                     Syntax error
    29433525_ACEOF
    2944 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2945 case "(($ac_try" in
    2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2947   *) ac_try_echo=$ac_try;;
    2948 esac
    2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2950 $as_echo "$ac_try_echo") >&5
    2951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2952   ac_status=$?
    2953   grep -v '^ *+' conftest.er1 >conftest.err
    2954   rm -f conftest.er1
    2955   cat conftest.err >&5
    2956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2957   (exit $ac_status); } >/dev/null && {
    2958          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2959          test ! -s conftest.err
    2960        }; then
    2961   :
    2962 else
    2963   $as_echo "$as_me: failed program was:" >&5
    2964 sed 's/^/| /' conftest.$ac_ext >&5
    2965 
     3526if ac_fn_c_try_cpp "$LINENO"; then :
     3527
     3528else
    29663529  # Broken: fails on valid input.
    29673530continue
    29683531fi
    2969 
    2970 rm -f conftest.err conftest.$ac_ext
     3532rm -f conftest.err conftest.i conftest.$ac_ext
    29713533
    29723534  # OK, works on sane cases.  Now check whether nonexistent headers
    29733535  # can be detected and how.
    2974   cat >conftest.$ac_ext <<_ACEOF
    2975 /* confdefs.h.  */
    2976 _ACEOF
    2977 cat confdefs.h >>conftest.$ac_ext
    2978 cat >>conftest.$ac_ext <<_ACEOF
     3536  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29793537/* end confdefs.h.  */
    29803538#include <ac_nonexistent.h>
    29813539_ACEOF
    2982 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2983 case "(($ac_try" in
    2984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2985   *) ac_try_echo=$ac_try;;
    2986 esac
    2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2988 $as_echo "$ac_try_echo") >&5
    2989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2990   ac_status=$?
    2991   grep -v '^ *+' conftest.er1 >conftest.err
    2992   rm -f conftest.er1
    2993   cat conftest.err >&5
    2994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2995   (exit $ac_status); } >/dev/null && {
    2996          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2997          test ! -s conftest.err
    2998        }; then
     3540if ac_fn_c_try_cpp "$LINENO"; then :
    29993541  # Broken: success on invalid input.
    30003542continue
    30013543else
    3002   $as_echo "$as_me: failed program was:" >&5
    3003 sed 's/^/| /' conftest.$ac_ext >&5
    3004 
    30053544  # Passes both tests.
    30063545ac_preproc_ok=:
    30073546break
    30083547fi
    3009 
    3010 rm -f conftest.err conftest.$ac_ext
     3548rm -f conftest.err conftest.i conftest.$ac_ext
    30113549
    30123550done
    30133551# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3014 rm -f conftest.err conftest.$ac_ext
    3015 if $ac_preproc_ok; then
     3552rm -f conftest.i conftest.err conftest.$ac_ext
     3553if $ac_preproc_ok; then :
    30163554  break
    30173555fi
     
    30253563  ac_cv_prog_CPP=$CPP
    30263564fi
    3027 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30283566$as_echo "$CPP" >&6; }
    30293567ac_preproc_ok=false
     
    30363574  # On the NeXT, cc -E runs the code through the compiler's parser,
    30373575  # not just through cpp. "Syntax error" is here to catch this case.
    3038   cat >conftest.$ac_ext <<_ACEOF
    3039 /* confdefs.h.  */
    3040 _ACEOF
    3041 cat confdefs.h >>conftest.$ac_ext
    3042 cat >>conftest.$ac_ext <<_ACEOF
     3576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30433577/* end confdefs.h.  */
    30443578#ifdef __STDC__
     
    30493583                     Syntax error
    30503584_ACEOF
    3051 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3052 case "(($ac_try" in
    3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3054   *) ac_try_echo=$ac_try;;
    3055 esac
    3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3057 $as_echo "$ac_try_echo") >&5
    3058   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3059   ac_status=$?
    3060   grep -v '^ *+' conftest.er1 >conftest.err
    3061   rm -f conftest.er1
    3062   cat conftest.err >&5
    3063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3064   (exit $ac_status); } >/dev/null && {
    3065          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3066          test ! -s conftest.err
    3067        }; then
    3068   :
    3069 else
    3070   $as_echo "$as_me: failed program was:" >&5
    3071 sed 's/^/| /' conftest.$ac_ext >&5
    3072 
     3585if ac_fn_c_try_cpp "$LINENO"; then :
     3586
     3587else
    30733588  # Broken: fails on valid input.
    30743589continue
    30753590fi
    3076 
    3077 rm -f conftest.err conftest.$ac_ext
     3591rm -f conftest.err conftest.i conftest.$ac_ext
    30783592
    30793593  # OK, works on sane cases.  Now check whether nonexistent headers
    30803594  # can be detected and how.
    3081   cat >conftest.$ac_ext <<_ACEOF
    3082 /* confdefs.h.  */
    3083 _ACEOF
    3084 cat confdefs.h >>conftest.$ac_ext
    3085 cat >>conftest.$ac_ext <<_ACEOF
     3595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30863596/* end confdefs.h.  */
    30873597#include <ac_nonexistent.h>
    30883598_ACEOF
    3089 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3090 case "(($ac_try" in
    3091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3092   *) ac_try_echo=$ac_try;;
    3093 esac
    3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3095 $as_echo "$ac_try_echo") >&5
    3096   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3097   ac_status=$?
    3098   grep -v '^ *+' conftest.er1 >conftest.err
    3099   rm -f conftest.er1
    3100   cat conftest.err >&5
    3101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3102   (exit $ac_status); } >/dev/null && {
    3103          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3104          test ! -s conftest.err
    3105        }; then
     3599if ac_fn_c_try_cpp "$LINENO"; then :
    31063600  # Broken: success on invalid input.
    31073601continue
    31083602else
    3109   $as_echo "$as_me: failed program was:" >&5
    3110 sed 's/^/| /' conftest.$ac_ext >&5
    3111 
    31123603  # Passes both tests.
    31133604ac_preproc_ok=:
    31143605break
    31153606fi
    3116 
    3117 rm -f conftest.err conftest.$ac_ext
     3607rm -f conftest.err conftest.i conftest.$ac_ext
    31183608
    31193609done
    31203610# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3121 rm -f conftest.err conftest.$ac_ext
    3122 if $ac_preproc_ok; then
    3123   :
    3124 else
    3125   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3611rm -f conftest.i conftest.err conftest.$ac_ext
     3612if $ac_preproc_ok; then :
     3613
     3614else
     3615  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31263616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3127 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3128 See \`config.log' for more details." >&5
    3129 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3130 See \`config.log' for more details." >&2;}
    3131    { (exit 1); exit 1; }; }; }
     3617as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3618See \`config.log' for more details" "$LINENO" 5; }
    31323619fi
    31333620
     
    31393626
    31403627
    3141 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31423629$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3143 if test "${ac_cv_path_GREP+set}" = set; then
     3630if ${ac_cv_path_GREP+:} false; then :
    31443631  $as_echo_n "(cached) " >&6
    31453632else
     
    31523639  IFS=$as_save_IFS
    31533640  test -z "$as_dir" && as_dir=.
    3154   for ac_prog in grep ggrep; do
     3641    for ac_prog in grep ggrep; do
    31553642    for ac_exec_ext in '' $ac_executable_extensions; do
    31563643      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3157       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3644      as_fn_executable_p "$ac_path_GREP" || continue
    31583645# Check for GNU ac_path_GREP and select it if it is found.
    31593646  # Check for GNU $ac_path_GREP
     
    31723659    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31733660    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3174     ac_count=`expr $ac_count + 1`
     3661    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31753662    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31763663      # Best one so far, save it but keep looking for a better one
     
    31873674    done
    31883675  done
    3189 done
     3676  done
    31903677IFS=$as_save_IFS
    31913678  if test -z "$ac_cv_path_GREP"; then
    3192     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3193 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3194    { (exit 1); exit 1; }; }
     3679    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31953680  fi
    31963681else
     
    31993684
    32003685fi
    3201 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    32023687$as_echo "$ac_cv_path_GREP" >&6; }
    32033688 GREP="$ac_cv_path_GREP"
    32043689
    32053690
    3206 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32073692$as_echo_n "checking for egrep... " >&6; }
    3208 if test "${ac_cv_path_EGREP+set}" = set; then
     3693if ${ac_cv_path_EGREP+:} false; then :
    32093694  $as_echo_n "(cached) " >&6
    32103695else
     
    32203705  IFS=$as_save_IFS
    32213706  test -z "$as_dir" && as_dir=.
    3222   for ac_prog in egrep; do
     3707    for ac_prog in egrep; do
    32233708    for ac_exec_ext in '' $ac_executable_extensions; do
    32243709      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3225       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3710      as_fn_executable_p "$ac_path_EGREP" || continue
    32263711# Check for GNU ac_path_EGREP and select it if it is found.
    32273712  # Check for GNU $ac_path_EGREP
     
    32403725    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32413726    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3242     ac_count=`expr $ac_count + 1`
     3727    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32433728    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32443729      # Best one so far, save it but keep looking for a better one
     
    32553740    done
    32563741  done
    3257 done
     3742  done
    32583743IFS=$as_save_IFS
    32593744  if test -z "$ac_cv_path_EGREP"; then
    3260     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3261 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3262    { (exit 1); exit 1; }; }
     3745    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32633746  fi
    32643747else
     
    32683751   fi
    32693752fi
    3270 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32713754$as_echo "$ac_cv_path_EGREP" >&6; }
    32723755 EGREP="$ac_cv_path_EGREP"
    32733756
    32743757
    3275 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32763759$as_echo_n "checking for ANSI C header files... " >&6; }
    3277 if test "${ac_cv_header_stdc+set}" = set; then
     3760if ${ac_cv_header_stdc+:} false; then :
    32783761  $as_echo_n "(cached) " >&6
    32793762else
    3280   cat >conftest.$ac_ext <<_ACEOF
    3281 /* confdefs.h.  */
    3282 _ACEOF
    3283 cat confdefs.h >>conftest.$ac_ext
    3284 cat >>conftest.$ac_ext <<_ACEOF
     3763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32853764/* end confdefs.h.  */
    32863765#include <stdlib.h>
     
    32973776}
    32983777_ACEOF
    3299 rm -f conftest.$ac_objext
    3300 if { (ac_try="$ac_compile"
    3301 case "(($ac_try" in
    3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3303   *) ac_try_echo=$ac_try;;
    3304 esac
    3305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3306 $as_echo "$ac_try_echo") >&5
    3307   (eval "$ac_compile") 2>conftest.er1
    3308   ac_status=$?
    3309   grep -v '^ *+' conftest.er1 >conftest.err
    3310   rm -f conftest.er1
    3311   cat conftest.err >&5
    3312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3313   (exit $ac_status); } && {
    3314          test -z "$ac_c_werror_flag" ||
    3315          test ! -s conftest.err
    3316        } && test -s conftest.$ac_objext; then
     3778if ac_fn_c_try_compile "$LINENO"; then :
    33173779  ac_cv_header_stdc=yes
    33183780else
    3319   $as_echo "$as_me: failed program was:" >&5
    3320 sed 's/^/| /' conftest.$ac_ext >&5
    3321 
    3322         ac_cv_header_stdc=no
    3323 fi
    3324 
     3781  ac_cv_header_stdc=no
     3782fi
    33253783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33263784
    33273785if test $ac_cv_header_stdc = yes; then
    33283786  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3329   cat >conftest.$ac_ext <<_ACEOF
    3330 /* confdefs.h.  */
    3331 _ACEOF
    3332 cat confdefs.h >>conftest.$ac_ext
    3333 cat >>conftest.$ac_ext <<_ACEOF
     3787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33343788/* end confdefs.h.  */
    33353789#include <string.h>
     
    33373791_ACEOF
    33383792if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3339   $EGREP "memchr" >/dev/null 2>&1; then
    3340   :
     3793  $EGREP "memchr" >/dev/null 2>&1; then :
     3794
    33413795else
    33423796  ac_cv_header_stdc=no
     
    33483802if test $ac_cv_header_stdc = yes; then
    33493803  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3350   cat >conftest.$ac_ext <<_ACEOF
    3351 /* confdefs.h.  */
    3352 _ACEOF
    3353 cat confdefs.h >>conftest.$ac_ext
    3354 cat >>conftest.$ac_ext <<_ACEOF
     3804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33553805/* end confdefs.h.  */
    33563806#include <stdlib.h>
     
    33583808_ACEOF
    33593809if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3360   $EGREP "free" >/dev/null 2>&1; then
    3361   :
     3810  $EGREP "free" >/dev/null 2>&1; then :
     3811
    33623812else
    33633813  ac_cv_header_stdc=no
     
    33693819if test $ac_cv_header_stdc = yes; then
    33703820  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3371   if test "$cross_compiling" = yes; then
     3821  if test "$cross_compiling" = yes; then :
    33723822  :
    33733823else
    3374   cat >conftest.$ac_ext <<_ACEOF
    3375 /* confdefs.h.  */
    3376 _ACEOF
    3377 cat confdefs.h >>conftest.$ac_ext
    3378 cat >>conftest.$ac_ext <<_ACEOF
     3824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33793825/* end confdefs.h.  */
    33803826#include <ctype.h>
     
    34033849}
    34043850_ACEOF
    3405 rm -f conftest$ac_exeext
    3406 if { (ac_try="$ac_link"
    3407 case "(($ac_try" in
    3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3409   *) ac_try_echo=$ac_try;;
    3410 esac
    3411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3412 $as_echo "$ac_try_echo") >&5
    3413   (eval "$ac_link") 2>&5
    3414   ac_status=$?
    3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3416   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3417   { (case "(($ac_try" in
    3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3419   *) ac_try_echo=$ac_try;;
    3420 esac
    3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3422 $as_echo "$ac_try_echo") >&5
    3423   (eval "$ac_try") 2>&5
    3424   ac_status=$?
    3425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3426   (exit $ac_status); }; }; then
    3427   :
    3428 else
    3429   $as_echo "$as_me: program exited with status $ac_status" >&5
    3430 $as_echo "$as_me: failed program was:" >&5
    3431 sed 's/^/| /' conftest.$ac_ext >&5
    3432 
    3433 ( exit $ac_status )
    3434 ac_cv_header_stdc=no
    3435 fi
    3436 rm -rf conftest.dSYM
    3437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3438 fi
    3439 
    3440 
    3441 fi
    3442 fi
    3443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3851if ac_fn_c_try_run "$LINENO"; then :
     3852
     3853else
     3854  ac_cv_header_stdc=no
     3855fi
     3856rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3857  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3858fi
     3859
     3860fi
     3861fi
     3862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34443863$as_echo "$ac_cv_header_stdc" >&6; }
    34453864if test $ac_cv_header_stdc = yes; then
    34463865
    3447 cat >>confdefs.h <<\_ACEOF
    3448 #define STDC_HEADERS 1
    3449 _ACEOF
     3866$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34503867
    34513868fi
    34523869
    34533870# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3454 
    3455 
    3456 
    3457 
    3458 
    3459 
    3460 
    3461 
    3462 
    34633871for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34643872                  inttypes.h stdint.h unistd.h
    3465 do
    3466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3468 $as_echo_n "checking for $ac_header... " >&6; }
    3469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3470   $as_echo_n "(cached) " >&6
    3471 else
    3472   cat >conftest.$ac_ext <<_ACEOF
    3473 /* confdefs.h.  */
    3474 _ACEOF
    3475 cat confdefs.h >>conftest.$ac_ext
    3476 cat >>conftest.$ac_ext <<_ACEOF
    3477 /* end confdefs.h.  */
    3478 $ac_includes_default
    3479 
    3480 #include <$ac_header>
    3481 _ACEOF
    3482 rm -f conftest.$ac_objext
    3483 if { (ac_try="$ac_compile"
    3484 case "(($ac_try" in
    3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3486   *) ac_try_echo=$ac_try;;
    3487 esac
    3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3489 $as_echo "$ac_try_echo") >&5
    3490   (eval "$ac_compile") 2>conftest.er1
    3491   ac_status=$?
    3492   grep -v '^ *+' conftest.er1 >conftest.err
    3493   rm -f conftest.er1
    3494   cat conftest.err >&5
    3495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3496   (exit $ac_status); } && {
    3497          test -z "$ac_c_werror_flag" ||
    3498          test ! -s conftest.err
    3499        } && test -s conftest.$ac_objext; then
    3500   eval "$as_ac_Header=yes"
    3501 else
    3502   $as_echo "$as_me: failed program was:" >&5
    3503 sed 's/^/| /' conftest.$ac_ext >&5
    3504 
    3505         eval "$as_ac_Header=no"
    3506 fi
    3507 
    3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3509 fi
    3510 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3511                  $as_echo "$as_val"'`
    3512                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3513 $as_echo "$ac_res" >&6; }
    3514 as_val=`eval 'as_val=${'$as_ac_Header'}
    3515                  $as_echo "$as_val"'`
    3516    if test "x$as_val" = x""yes; then
     3873do :
     3874  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3875ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3876"
     3877if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35173878  cat >>confdefs.h <<_ACEOF
    35183879#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35393900
    35403901# Check whether --with-python was given.
    3541 if test "${with_python+set}" = set; then
     3902if test "${with_python+set}" = set; then :
    35423903  withval=$with_python;
    35433904else
     
    35503911    # 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.
    35513912set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35533914$as_echo_n "checking for $ac_word... " >&6; }
    3554 if test "${ac_cv_path_PYTHON+set}" = set; then
     3915if ${ac_cv_path_PYTHON+:} false; then :
    35553916  $as_echo_n "(cached) " >&6
    35563917else
     
    35653926  IFS=$as_save_IFS
    35663927  test -z "$as_dir" && as_dir=.
    3567   for ac_exec_ext in '' $ac_executable_extensions; do
    3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3928    for ac_exec_ext in '' $ac_executable_extensions; do
     3929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35693930    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35713932    break 2
    35723933  fi
    35733934done
    3574 done
     3935  done
    35753936IFS=$as_save_IFS
    35763937
     
    35803941PYTHON=$ac_cv_path_PYTHON
    35813942if test -n "$PYTHON"; then
    3582   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35833944$as_echo "$PYTHON" >&6; }
    35843945else
    3585   { $as_echo "$as_me:$LINENO: result: no" >&5
     3946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35863947$as_echo "no" >&6; }
    35873948fi
     
    35913952    # Extract the first word of "python", so it can be a program name with args.
    35923953set dummy python; ac_word=$2
    3593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35943955$as_echo_n "checking for $ac_word... " >&6; }
    3595 if test "${ac_cv_path_PYTHON+set}" = set; then
     3956if ${ac_cv_path_PYTHON+:} false; then :
    35963957  $as_echo_n "(cached) " >&6
    35973958else
     
    36073968  IFS=$as_save_IFS
    36083969  test -z "$as_dir" && as_dir=.
    3609   for ac_exec_ext in '' $ac_executable_extensions; do
    3610   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3970    for ac_exec_ext in '' $ac_executable_extensions; do
     3971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36113972    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3612     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36133974    break 2
    36143975  fi
    36153976done
    3616 done
     3977  done
    36173978IFS=$as_save_IFS
    36183979
     
    36223983PYTHON=$ac_cv_path_PYTHON
    36233984if test -n "$PYTHON"; then
    3624   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36253986$as_echo "$PYTHON" >&6; }
    36263987else
    3627   { $as_echo "$as_me:$LINENO: result: no" >&5
     3988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36283989$as_echo "no" >&6; }
    36293990fi
     
    36313992
    36323993  fi
    3633   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     3994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36343995$as_echo_n "checking for Python version... " >&6; }
    36353996  if test "x${PYTHON}" != "x"; then
    36363997    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36373998  fi
    3638   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     3999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36394000$as_echo "$PYTHON_VERSION" >&6; }
    36404001fi
     
    36424003if test "x${PYTHON_VERSION}" != "x"; then
    36434004  PYTHON_INCLUDES=$incdir
    3644   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36454006$as_echo_n "checking for Python distutils... " >&6; }
    36464007  PYTHON_DISTUTILS=""
     
    36504011    PYTHON_DISTUTILS="yes"
    36514012  fi
    3652   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36534014$as_echo "$PYTHON_DISTUTILS" >&6; }
    36544015  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36574018    # Check for Python include path
    36584019    #
    3659     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4020    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36604021$as_echo_n "checking path to Python headers... " >&6; }
    36614022    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36624023     print distutils.sysconfig.get_python_inc();"`
    3663     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4024    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36644025$as_echo "$PYTHON_INCDIR" >&6; }
    36654026    #
     
    36744035    save_CPPFLAGS=$CPPFLAGS
    36754036    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    3676 
    3677 for ac_header in Python.h
    3678 do
    3679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3681   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3682 $as_echo_n "checking for $ac_header... " >&6; }
    3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3684   $as_echo_n "(cached) " >&6
    3685 fi
    3686 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3687                  $as_echo "$as_val"'`
    3688                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3689 $as_echo "$ac_res" >&6; }
    3690 else
    3691   # Is the header compilable?
    3692 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3693 $as_echo_n "checking $ac_header usability... " >&6; }
    3694 cat >conftest.$ac_ext <<_ACEOF
    3695 /* confdefs.h.  */
    3696 _ACEOF
    3697 cat confdefs.h >>conftest.$ac_ext
    3698 cat >>conftest.$ac_ext <<_ACEOF
    3699 /* end confdefs.h.  */
    3700 $ac_includes_default
    3701 #include <$ac_header>
    3702 _ACEOF
    3703 rm -f conftest.$ac_objext
    3704 if { (ac_try="$ac_compile"
    3705 case "(($ac_try" in
    3706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3707   *) ac_try_echo=$ac_try;;
    3708 esac
    3709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3710 $as_echo "$ac_try_echo") >&5
    3711   (eval "$ac_compile") 2>conftest.er1
    3712   ac_status=$?
    3713   grep -v '^ *+' conftest.er1 >conftest.err
    3714   rm -f conftest.er1
    3715   cat conftest.err >&5
    3716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3717   (exit $ac_status); } && {
    3718          test -z "$ac_c_werror_flag" ||
    3719          test ! -s conftest.err
    3720        } && test -s conftest.$ac_objext; then
    3721   ac_header_compiler=yes
    3722 else
    3723   $as_echo "$as_me: failed program was:" >&5
    3724 sed 's/^/| /' conftest.$ac_ext >&5
    3725 
    3726         ac_header_compiler=no
    3727 fi
    3728 
    3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3730 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3731 $as_echo "$ac_header_compiler" >&6; }
    3732 
    3733 # Is the header present?
    3734 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3735 $as_echo_n "checking $ac_header presence... " >&6; }
    3736 cat >conftest.$ac_ext <<_ACEOF
    3737 /* confdefs.h.  */
    3738 _ACEOF
    3739 cat confdefs.h >>conftest.$ac_ext
    3740 cat >>conftest.$ac_ext <<_ACEOF
    3741 /* end confdefs.h.  */
    3742 #include <$ac_header>
    3743 _ACEOF
    3744 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3745 case "(($ac_try" in
    3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3747   *) ac_try_echo=$ac_try;;
    3748 esac
    3749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3750 $as_echo "$ac_try_echo") >&5
    3751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3752   ac_status=$?
    3753   grep -v '^ *+' conftest.er1 >conftest.err
    3754   rm -f conftest.er1
    3755   cat conftest.err >&5
    3756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3757   (exit $ac_status); } >/dev/null && {
    3758          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3759          test ! -s conftest.err
    3760        }; then
    3761   ac_header_preproc=yes
    3762 else
    3763   $as_echo "$as_me: failed program was:" >&5
    3764 sed 's/^/| /' conftest.$ac_ext >&5
    3765 
    3766   ac_header_preproc=no
    3767 fi
    3768 
    3769 rm -f conftest.err conftest.$ac_ext
    3770 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3771 $as_echo "$ac_header_preproc" >&6; }
    3772 
    3773 # So?  What about this header?
    3774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    3775   yes:no: )
    3776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3777 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    3779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    3780     ac_header_preproc=yes
    3781     ;;
    3782   no:yes:* )
    3783     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3784 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3785     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    3786 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    3787     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    3788 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    3789     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    3790 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    3791     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3793     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    3794 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3795     ( cat <<\_ASBOX
    3796 ## ----------------------------------- ##
    3797 ## Report this to rappture@nanohub.org ##
    3798 ## ----------------------------------- ##
    3799 _ASBOX
    3800      ) | sed "s/^/$as_me: WARNING:     /" >&2
    3801     ;;
    3802 esac
    3803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3804 $as_echo_n "checking for $ac_header... " >&6; }
    3805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3806   $as_echo_n "(cached) " >&6
    3807 else
    3808   eval "$as_ac_Header=\$ac_header_preproc"
    3809 fi
    3810 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3811                  $as_echo "$as_val"'`
    3812                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3813 $as_echo "$ac_res" >&6; }
    3814 
    3815 fi
    3816 as_val=`eval 'as_val=${'$as_ac_Header'}
    3817                  $as_echo "$as_val"'`
    3818    if test "x$as_val" = x""yes; then
     4037    for ac_header in Python.h
     4038do :
     4039  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4040if test "x$ac_cv_header_Python_h" = xyes; then :
    38194041  cat >>confdefs.h <<_ACEOF
    3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4042#define HAVE_PYTHON_H 1
    38214043_ACEOF
    38224044 found=yes
     
    38374059
    38384060# Check whether --with-statsdir was given.
    3839 if test "${with_statsdir+set}" = set; then
     4061if test "${with_statsdir+set}" = set; then :
    38404062  withval=$with_statsdir; STATSDIR=$withval
    38414063else
     
    38714093  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38724094set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3873 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38744096$as_echo_n "checking for $ac_word... " >&6; }
    3875 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4097if ${ac_cv_prog_RANLIB+:} false; then :
    38764098  $as_echo_n "(cached) " >&6
    38774099else
     
    38844106  IFS=$as_save_IFS
    38854107  test -z "$as_dir" && as_dir=.
    3886   for ac_exec_ext in '' $ac_executable_extensions; do
    3887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4108    for ac_exec_ext in '' $ac_executable_extensions; do
     4109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38884110    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3889     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38904112    break 2
    38914113  fi
    38924114done
    3893 done
     4115  done
    38944116IFS=$as_save_IFS
    38954117
     
    38984120RANLIB=$ac_cv_prog_RANLIB
    38994121if test -n "$RANLIB"; then
    3900   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    39014123$as_echo "$RANLIB" >&6; }
    39024124else
    3903   { $as_echo "$as_me:$LINENO: result: no" >&5
     4125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39044126$as_echo "no" >&6; }
    39054127fi
     
    39114133  # Extract the first word of "ranlib", so it can be a program name with args.
    39124134set dummy ranlib; ac_word=$2
    3913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39144136$as_echo_n "checking for $ac_word... " >&6; }
    3915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4137if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    39164138  $as_echo_n "(cached) " >&6
    39174139else
     
    39244146  IFS=$as_save_IFS
    39254147  test -z "$as_dir" && as_dir=.
    3926   for ac_exec_ext in '' $ac_executable_extensions; do
    3927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4148    for ac_exec_ext in '' $ac_executable_extensions; do
     4149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39284150    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3929     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39304152    break 2
    39314153  fi
    39324154done
    3933 done
     4155  done
    39344156IFS=$as_save_IFS
    39354157
     
    39384160ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39394161if test -n "$ac_ct_RANLIB"; then
    3940   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39414163$as_echo "$ac_ct_RANLIB" >&6; }
    39424164else
    3943   { $as_echo "$as_me:$LINENO: result: no" >&5
     4165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39444166$as_echo "no" >&6; }
    39454167fi
     
    39504172    case $cross_compiling:$ac_tool_warned in
    39514173yes:)
    3952 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39534175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39544176ac_tool_warned=yes ;;
     
    39644186    # Step 0.a: Enable 64 bit support?
    39654187
    3966     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39674189$as_echo_n "checking if 64bit support is requested... " >&6; }
    39684190    # Check whether --enable-64bit was given.
    3969 if test "${enable_64bit+set}" = set; then
     4191if test "${enable_64bit+set}" = set; then :
    39704192  enableval=$enable_64bit; do64bit=$enableval
    39714193else
     
    39734195fi
    39744196
    3975     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4197    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39764198$as_echo "$do64bit" >&6; }
    39774199
    39784200    # Step 0.b: Enable Solaris 64 bit VIS support?
    39794201
    3980     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4202    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39814203$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39824204    # Check whether --enable-64bit-vis was given.
    3983 if test "${enable_64bit_vis+set}" = set; then
     4205if test "${enable_64bit_vis+set}" = set; then :
    39844206  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39854207else
     
    39874209fi
    39884210
    3989     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4211    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39904212$as_echo "$do64bitVIS" >&6; }
    39914213
     
    39994221
    40004222
    4001     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    40024224$as_echo_n "checking system version... " >&6; }
    4003 if test "${tcl_cv_sys_version+set}" = set; then
     4225if ${tcl_cv_sys_version+:} false; then :
    40044226  $as_echo_n "(cached) " >&6
    40054227else
     
    40104232            tcl_cv_sys_version=`uname -s`-`uname -r`
    40114233            if test "$?" -ne 0 ; then
    4012                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4234                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    40134235$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40144236                tcl_cv_sys_version=unknown
     
    40274249
    40284250fi
    4029 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40304252$as_echo "$tcl_cv_sys_version" >&6; }
    40314253    system=$tcl_cv_sys_version
     
    40354257    # Linux can use either -ldl or -ldld for dynamic loading.
    40364258
    4037     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40384260$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4261if ${ac_cv_lib_dl_dlopen+:} false; then :
    40404262  $as_echo_n "(cached) " >&6
    40414263else
    40424264  ac_check_lib_save_LIBS=$LIBS
    40434265LIBS="-ldl  $LIBS"
    4044 cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
     4266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40494267/* end confdefs.h.  */
    40504268
     
    40644282}
    40654283_ACEOF
    4066 rm -f conftest.$ac_objext conftest$ac_exeext
    4067 if { (ac_try="$ac_link"
    4068 case "(($ac_try" in
    4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4070   *) ac_try_echo=$ac_try;;
    4071 esac
    4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4073 $as_echo "$ac_try_echo") >&5
    4074   (eval "$ac_link") 2>conftest.er1
    4075   ac_status=$?
    4076   grep -v '^ *+' conftest.er1 >conftest.err
    4077   rm -f conftest.er1
    4078   cat conftest.err >&5
    4079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4080   (exit $ac_status); } && {
    4081          test -z "$ac_c_werror_flag" ||
    4082          test ! -s conftest.err
    4083        } && test -s conftest$ac_exeext && {
    4084          test "$cross_compiling" = yes ||
    4085          $as_test_x conftest$ac_exeext
    4086        }; then
     4284if ac_fn_c_try_link "$LINENO"; then :
    40874285  ac_cv_lib_dl_dlopen=yes
    40884286else
    4089   $as_echo "$as_me: failed program was:" >&5
    4090 sed 's/^/| /' conftest.$ac_ext >&5
    4091 
    4092         ac_cv_lib_dl_dlopen=no
    4093 fi
    4094 
    4095 rm -rf conftest.dSYM
    4096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4097       conftest$ac_exeext conftest.$ac_ext
     4287  ac_cv_lib_dl_dlopen=no
     4288fi
     4289rm -f core conftest.err conftest.$ac_objext \
     4290    conftest$ac_exeext conftest.$ac_ext
    40984291LIBS=$ac_check_lib_save_LIBS
    40994292fi
    4100 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    41014294$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4102 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4295if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    41034296  have_dl=yes
    41044297else
     
    41324325    # Extract the first word of "ar", so it can be a program name with args.
    41334326set dummy ar; ac_word=$2
    4134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41354328$as_echo_n "checking for $ac_word... " >&6; }
    4136 if test "${ac_cv_prog_AR+set}" = set; then
     4329if ${ac_cv_prog_AR+:} false; then :
    41374330  $as_echo_n "(cached) " >&6
    41384331else
     
    41454338  IFS=$as_save_IFS
    41464339  test -z "$as_dir" && as_dir=.
    4147   for ac_exec_ext in '' $ac_executable_extensions; do
    4148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4340    for ac_exec_ext in '' $ac_executable_extensions; do
     4341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41494342    ac_cv_prog_AR="ar"
    4150     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41514344    break 2
    41524345  fi
    41534346done
    4154 done
     4347  done
    41554348IFS=$as_save_IFS
    41564349
     
    41594352AR=$ac_cv_prog_AR
    41604353if test -n "$AR"; then
    4161   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41624355$as_echo "$AR" >&6; }
    41634356else
    4164   { $as_echo "$as_me:$LINENO: result: no" >&5
     4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41654358$as_echo "no" >&6; }
    41664359fi
     
    41684361
    41694362    if test "${AR}" = "" ; then
    4170         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    4171 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    4172    { (exit 1); exit 1; }; }
     4363        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41734364    fi
    41744365    STLIB_LD='${AR} cr'
     
    41884379                        ;;
    41894380                esac
    4190                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4381                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41914382$as_echo "Using $CC for compiling with threads" >&6; }
    41924383            fi
     
    42044395            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    42054396                if test "$GCC" = "yes" ; then
    4206                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4397                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    42074398$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42084399                else
     
    42594450            # known GMT value.
    42604451
    4261             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4452            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42624453$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4263 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4454if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42644455  $as_echo_n "(cached) " >&6
    42654456else
    42664457  ac_check_lib_save_LIBS=$LIBS
    42674458LIBS="-lbsd  $LIBS"
    4268 cat >conftest.$ac_ext <<_ACEOF
    4269 /* confdefs.h.  */
    4270 _ACEOF
    4271 cat confdefs.h >>conftest.$ac_ext
    4272 cat >>conftest.$ac_ext <<_ACEOF
     4459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42734460/* end confdefs.h.  */
    42744461
     
    42884475}
    42894476_ACEOF
    4290 rm -f conftest.$ac_objext conftest$ac_exeext
    4291 if { (ac_try="$ac_link"
    4292 case "(($ac_try" in
    4293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4294   *) ac_try_echo=$ac_try;;
    4295 esac
    4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4297 $as_echo "$ac_try_echo") >&5
    4298   (eval "$ac_link") 2>conftest.er1
    4299   ac_status=$?
    4300   grep -v '^ *+' conftest.er1 >conftest.err
    4301   rm -f conftest.er1
    4302   cat conftest.err >&5
    4303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4304   (exit $ac_status); } && {
    4305          test -z "$ac_c_werror_flag" ||
    4306          test ! -s conftest.err
    4307        } && test -s conftest$ac_exeext && {
    4308          test "$cross_compiling" = yes ||
    4309          $as_test_x conftest$ac_exeext
    4310        }; then
     4477if ac_fn_c_try_link "$LINENO"; then :
    43114478  ac_cv_lib_bsd_gettimeofday=yes
    43124479else
    4313   $as_echo "$as_me: failed program was:" >&5
    4314 sed 's/^/| /' conftest.$ac_ext >&5
    4315 
    4316         ac_cv_lib_bsd_gettimeofday=no
    4317 fi
    4318 
    4319 rm -rf conftest.dSYM
    4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4321       conftest$ac_exeext conftest.$ac_ext
     4480  ac_cv_lib_bsd_gettimeofday=no
     4481fi
     4482rm -f core conftest.err conftest.$ac_objext \
     4483    conftest$ac_exeext conftest.$ac_ext
    43224484LIBS=$ac_check_lib_save_LIBS
    43234485fi
    4324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43254487$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4326 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4488if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43274489  libbsd=yes
    43284490else
     
    43324494            if test $libbsd = yes; then
    43334495                MATH_LIBS="$MATH_LIBS -lbsd"
    4334                 cat >>confdefs.h <<\_ACEOF
    4335 #define USE_DELTA_FOR_TZ 1
    4336 _ACEOF
     4496                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43374497
    43384498            fi
     
    43514511            # is always linked to, for compatibility.
    43524512            #-----------------------------------------------------------
    4353             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4513            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43544514$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4355 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4515if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43564516  $as_echo_n "(cached) " >&6
    43574517else
    43584518  ac_check_lib_save_LIBS=$LIBS
    43594519LIBS="-lbind  $LIBS"
    4360 cat >conftest.$ac_ext <<_ACEOF
    4361 /* confdefs.h.  */
    4362 _ACEOF
    4363 cat confdefs.h >>conftest.$ac_ext
    4364 cat >>conftest.$ac_ext <<_ACEOF
     4520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43654521/* end confdefs.h.  */
    43664522
     
    43804536}
    43814537_ACEOF
    4382 rm -f conftest.$ac_objext conftest$ac_exeext
    4383 if { (ac_try="$ac_link"
    4384 case "(($ac_try" in
    4385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4386   *) ac_try_echo=$ac_try;;
    4387 esac
    4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4389 $as_echo "$ac_try_echo") >&5
    4390   (eval "$ac_link") 2>conftest.er1
    4391   ac_status=$?
    4392   grep -v '^ *+' conftest.er1 >conftest.err
    4393   rm -f conftest.er1
    4394   cat conftest.err >&5
    4395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4396   (exit $ac_status); } && {
    4397          test -z "$ac_c_werror_flag" ||
    4398          test ! -s conftest.err
    4399        } && test -s conftest$ac_exeext && {
    4400          test "$cross_compiling" = yes ||
    4401          $as_test_x conftest$ac_exeext
    4402        }; then
     4538if ac_fn_c_try_link "$LINENO"; then :
    44034539  ac_cv_lib_bind_inet_ntoa=yes
    44044540else
    4405   $as_echo "$as_me: failed program was:" >&5
    4406 sed 's/^/| /' conftest.$ac_ext >&5
    4407 
    4408         ac_cv_lib_bind_inet_ntoa=no
    4409 fi
    4410 
    4411 rm -rf conftest.dSYM
    4412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4413       conftest$ac_exeext conftest.$ac_ext
     4541  ac_cv_lib_bind_inet_ntoa=no
     4542fi
     4543rm -f core conftest.err conftest.$ac_objext \
     4544    conftest$ac_exeext conftest.$ac_ext
    44144545LIBS=$ac_check_lib_save_LIBS
    44154546fi
    4416 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    44174548$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4418 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4549if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    44194550  LIBS="$LIBS -lbind -lsocket"
    44204551fi
     
    44544585        HP-UX-*.11.*)
    44554586            # Use updated header definitions where possible
    4456             cat >>confdefs.h <<\_ACEOF
    4457 #define _XOPEN_SOURCE 1
    4458 _ACEOF
     4587            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44594588          # Use the XOPEN network library
    4460             cat >>confdefs.h <<\_ACEOF
    4461 #define _XOPEN_SOURCE_EXTENDED 1
    4462 _ACEOF
     4589            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44634590 # Use the XOPEN network library
    44644591            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44694596                SHLIB_SUFFIX=".sl"
    44704597            fi
    4471             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4598            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44724599$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4473 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4600if ${ac_cv_lib_dld_shl_load+:} false; then :
    44744601  $as_echo_n "(cached) " >&6
    44754602else
    44764603  ac_check_lib_save_LIBS=$LIBS
    44774604LIBS="-ldld  $LIBS"
    4478 cat >conftest.$ac_ext <<_ACEOF
    4479 /* confdefs.h.  */
    4480 _ACEOF
    4481 cat confdefs.h >>conftest.$ac_ext
    4482 cat >>conftest.$ac_ext <<_ACEOF
     4605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44834606/* end confdefs.h.  */
    44844607
     
    44984621}
    44994622_ACEOF
    4500 rm -f conftest.$ac_objext conftest$ac_exeext
    4501 if { (ac_try="$ac_link"
    4502 case "(($ac_try" in
    4503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4504   *) ac_try_echo=$ac_try;;
    4505 esac
    4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4507 $as_echo "$ac_try_echo") >&5
    4508   (eval "$ac_link") 2>conftest.er1
    4509   ac_status=$?
    4510   grep -v '^ *+' conftest.er1 >conftest.err
    4511   rm -f conftest.er1
    4512   cat conftest.err >&5
    4513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4514   (exit $ac_status); } && {
    4515          test -z "$ac_c_werror_flag" ||
    4516          test ! -s conftest.err
    4517        } && test -s conftest$ac_exeext && {
    4518          test "$cross_compiling" = yes ||
    4519          $as_test_x conftest$ac_exeext
    4520        }; then
     4623if ac_fn_c_try_link "$LINENO"; then :
    45214624  ac_cv_lib_dld_shl_load=yes
    45224625else
    4523   $as_echo "$as_me: failed program was:" >&5
    4524 sed 's/^/| /' conftest.$ac_ext >&5
    4525 
    4526         ac_cv_lib_dld_shl_load=no
    4527 fi
    4528 
    4529 rm -rf conftest.dSYM
    4530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4531       conftest$ac_exeext conftest.$ac_ext
     4626  ac_cv_lib_dld_shl_load=no
     4627fi
     4628rm -f core conftest.err conftest.$ac_objext \
     4629    conftest$ac_exeext conftest.$ac_ext
    45324630LIBS=$ac_check_lib_save_LIBS
    45334631fi
    4534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45354633$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4536 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4634if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45374635  tcl_ok=yes
    45384636else
     
    45744672                            ;;
    45754673                        *)
    4576                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4674                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45774675$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45784676                            ;;
     
    45874685        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45884686            SHLIB_SUFFIX=".sl"
    4589             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4687            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45904688$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4591 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4689if ${ac_cv_lib_dld_shl_load+:} false; then :
    45924690  $as_echo_n "(cached) " >&6
    45934691else
    45944692  ac_check_lib_save_LIBS=$LIBS
    45954693LIBS="-ldld  $LIBS"
    4596 cat >conftest.$ac_ext <<_ACEOF
    4597 /* confdefs.h.  */
    4598 _ACEOF
    4599 cat confdefs.h >>conftest.$ac_ext
    4600 cat >>conftest.$ac_ext <<_ACEOF
     4694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46014695/* end confdefs.h.  */
    46024696
     
    46164710}
    46174711_ACEOF
    4618 rm -f conftest.$ac_objext conftest$ac_exeext
    4619 if { (ac_try="$ac_link"
    4620 case "(($ac_try" in
    4621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4622   *) ac_try_echo=$ac_try;;
    4623 esac
    4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4625 $as_echo "$ac_try_echo") >&5
    4626   (eval "$ac_link") 2>conftest.er1
    4627   ac_status=$?
    4628   grep -v '^ *+' conftest.er1 >conftest.err
    4629   rm -f conftest.er1
    4630   cat conftest.err >&5
    4631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4632   (exit $ac_status); } && {
    4633          test -z "$ac_c_werror_flag" ||
    4634          test ! -s conftest.err
    4635        } && test -s conftest$ac_exeext && {
    4636          test "$cross_compiling" = yes ||
    4637          $as_test_x conftest$ac_exeext
    4638        }; then
     4712if ac_fn_c_try_link "$LINENO"; then :
    46394713  ac_cv_lib_dld_shl_load=yes
    46404714else
    4641   $as_echo "$as_me: failed program was:" >&5
    4642 sed 's/^/| /' conftest.$ac_ext >&5
    4643 
    4644         ac_cv_lib_dld_shl_load=no
    4645 fi
    4646 
    4647 rm -rf conftest.dSYM
    4648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4649       conftest$ac_exeext conftest.$ac_ext
     4715  ac_cv_lib_dld_shl_load=no
     4716fi
     4717rm -f core conftest.err conftest.$ac_objext \
     4718    conftest$ac_exeext conftest.$ac_ext
    46504719LIBS=$ac_check_lib_save_LIBS
    46514720fi
    4652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46534722$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4654 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4723if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46554724  tcl_ok=yes
    46564725else
     
    47314800            if test "$do64bit" = "yes" ; then
    47324801                if test "$GCC" = "yes" ; then
    4733                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4802                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47344803$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47354804                else
     
    47604829                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47614830            else
    4762                 if test "${ac_cv_header_dld_h+set}" = set; then
    4763   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4764 $as_echo_n "checking for dld.h... " >&6; }
    4765 if test "${ac_cv_header_dld_h+set}" = set; then
    4766   $as_echo_n "(cached) " >&6
    4767 fi
    4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4769 $as_echo "$ac_cv_header_dld_h" >&6; }
    4770 else
    4771   # Is the header compilable?
    4772 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4773 $as_echo_n "checking dld.h usability... " >&6; }
    4774 cat >conftest.$ac_ext <<_ACEOF
    4775 /* confdefs.h.  */
    4776 _ACEOF
    4777 cat confdefs.h >>conftest.$ac_ext
    4778 cat >>conftest.$ac_ext <<_ACEOF
    4779 /* end confdefs.h.  */
    4780 $ac_includes_default
    4781 #include <dld.h>
    4782 _ACEOF
    4783 rm -f conftest.$ac_objext
    4784 if { (ac_try="$ac_compile"
    4785 case "(($ac_try" in
    4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4787   *) ac_try_echo=$ac_try;;
    4788 esac
    4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4790 $as_echo "$ac_try_echo") >&5
    4791   (eval "$ac_compile") 2>conftest.er1
    4792   ac_status=$?
    4793   grep -v '^ *+' conftest.er1 >conftest.err
    4794   rm -f conftest.er1
    4795   cat conftest.err >&5
    4796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4797   (exit $ac_status); } && {
    4798          test -z "$ac_c_werror_flag" ||
    4799          test ! -s conftest.err
    4800        } && test -s conftest.$ac_objext; then
    4801   ac_header_compiler=yes
    4802 else
    4803   $as_echo "$as_me: failed program was:" >&5
    4804 sed 's/^/| /' conftest.$ac_ext >&5
    4805 
    4806         ac_header_compiler=no
    4807 fi
    4808 
    4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4810 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4811 $as_echo "$ac_header_compiler" >&6; }
    4812 
    4813 # Is the header present?
    4814 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4815 $as_echo_n "checking dld.h presence... " >&6; }
    4816 cat >conftest.$ac_ext <<_ACEOF
    4817 /* confdefs.h.  */
    4818 _ACEOF
    4819 cat confdefs.h >>conftest.$ac_ext
    4820 cat >>conftest.$ac_ext <<_ACEOF
    4821 /* end confdefs.h.  */
    4822 #include <dld.h>
    4823 _ACEOF
    4824 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4825 case "(($ac_try" in
    4826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4827   *) ac_try_echo=$ac_try;;
    4828 esac
    4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4830 $as_echo "$ac_try_echo") >&5
    4831   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4832   ac_status=$?
    4833   grep -v '^ *+' conftest.er1 >conftest.err
    4834   rm -f conftest.er1
    4835   cat conftest.err >&5
    4836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4837   (exit $ac_status); } >/dev/null && {
    4838          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4839          test ! -s conftest.err
    4840        }; then
    4841   ac_header_preproc=yes
    4842 else
    4843   $as_echo "$as_me: failed program was:" >&5
    4844 sed 's/^/| /' conftest.$ac_ext >&5
    4845 
    4846   ac_header_preproc=no
    4847 fi
    4848 
    4849 rm -f conftest.err conftest.$ac_ext
    4850 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4851 $as_echo "$ac_header_preproc" >&6; }
    4852 
    4853 # So?  What about this header?
    4854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4855   yes:no: )
    4856     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4857 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4858     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4859 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4860     ac_header_preproc=yes
    4861     ;;
    4862   no:yes:* )
    4863     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4864 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4865     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4866 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4867     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4868 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4869     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4870 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4871     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4872 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4873     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4874 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4875     ( cat <<\_ASBOX
    4876 ## ----------------------------------- ##
    4877 ## Report this to rappture@nanohub.org ##
    4878 ## ----------------------------------- ##
    4879 _ASBOX
    4880      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4881     ;;
    4882 esac
    4883 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4884 $as_echo_n "checking for dld.h... " >&6; }
    4885 if test "${ac_cv_header_dld_h+set}" = set; then
    4886   $as_echo_n "(cached) " >&6
    4887 else
    4888   ac_cv_header_dld_h=$ac_header_preproc
    4889 fi
    4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4891 $as_echo "$ac_cv_header_dld_h" >&6; }
    4892 
    4893 fi
    4894 if test "x$ac_cv_header_dld_h" = x""yes; then
     4831                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4832if test "x$ac_cv_header_dld_h" = xyes; then :
    48954833
    48964834                    SHLIB_LD="ld -shared"
     
    49074845            fi
    49084846            if test $do64bit = yes; then
    4909                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4847                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    49104848$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4911 if test "${tcl_cv_cc_m64+set}" = set; then
     4849if ${tcl_cv_cc_m64+:} false; then :
    49124850  $as_echo_n "(cached) " >&6
    49134851else
     
    49154853                    hold_cflags=$CFLAGS
    49164854                    CFLAGS="$CFLAGS -m64"
    4917                     cat >conftest.$ac_ext <<_ACEOF
    4918 /* confdefs.h.  */
    4919 _ACEOF
    4920 cat confdefs.h >>conftest.$ac_ext
    4921 cat >>conftest.$ac_ext <<_ACEOF
     4855                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49224856/* end confdefs.h.  */
    49234857
     
    49304864}
    49314865_ACEOF
    4932 rm -f conftest.$ac_objext conftest$ac_exeext
    4933 if { (ac_try="$ac_link"
    4934 case "(($ac_try" in
    4935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4936   *) ac_try_echo=$ac_try;;
    4937 esac
    4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4939 $as_echo "$ac_try_echo") >&5
    4940   (eval "$ac_link") 2>conftest.er1
    4941   ac_status=$?
    4942   grep -v '^ *+' conftest.er1 >conftest.err
    4943   rm -f conftest.er1
    4944   cat conftest.err >&5
    4945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4946   (exit $ac_status); } && {
    4947          test -z "$ac_c_werror_flag" ||
    4948          test ! -s conftest.err
    4949        } && test -s conftest$ac_exeext && {
    4950          test "$cross_compiling" = yes ||
    4951          $as_test_x conftest$ac_exeext
    4952        }; then
     4866if ac_fn_c_try_link "$LINENO"; then :
    49534867  tcl_cv_cc_m64=yes
    49544868else
    4955   $as_echo "$as_me: failed program was:" >&5
    4956 sed 's/^/| /' conftest.$ac_ext >&5
    4957 
    4958         tcl_cv_cc_m64=no
    4959 fi
    4960 
    4961 rm -rf conftest.dSYM
    4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4963       conftest$ac_exeext conftest.$ac_ext
     4869  tcl_cv_cc_m64=no
     4870fi
     4871rm -f core conftest.err conftest.$ac_objext \
     4872    conftest$ac_exeext conftest.$ac_ext
    49644873                    CFLAGS=$hold_cflags
    49654874fi
    4966 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49674876$as_echo "$tcl_cv_cc_m64" >&6; }
    49684877                if test $tcl_cv_cc_m64 = yes; then
     
    49844893
    49854894            # XIM peeking works under XFree86.
    4986             cat >>confdefs.h <<\_ACEOF
    4987 #define PEEK_XCLOSEIM 1
    4988 _ACEOF
     4895            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49894896
    49904897
     
    50034910                LD_SEARCH_FLAGS=""
    50044911            else
    5005                 if test "${ac_cv_header_dld_h+set}" = set; then
    5006   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5007 $as_echo_n "checking for dld.h... " >&6; }
    5008 if test "${ac_cv_header_dld_h+set}" = set; then
    5009   $as_echo_n "(cached) " >&6
    5010 fi
    5011 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5012 $as_echo "$ac_cv_header_dld_h" >&6; }
    5013 else
    5014   # Is the header compilable?
    5015 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    5016 $as_echo_n "checking dld.h usability... " >&6; }
    5017 cat >conftest.$ac_ext <<_ACEOF
    5018 /* confdefs.h.  */
    5019 _ACEOF
    5020 cat confdefs.h >>conftest.$ac_ext
    5021 cat >>conftest.$ac_ext <<_ACEOF
    5022 /* end confdefs.h.  */
    5023 $ac_includes_default
    5024 #include <dld.h>
    5025 _ACEOF
    5026 rm -f conftest.$ac_objext
    5027 if { (ac_try="$ac_compile"
    5028 case "(($ac_try" in
    5029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5030   *) ac_try_echo=$ac_try;;
    5031 esac
    5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5033 $as_echo "$ac_try_echo") >&5
    5034   (eval "$ac_compile") 2>conftest.er1
    5035   ac_status=$?
    5036   grep -v '^ *+' conftest.er1 >conftest.err
    5037   rm -f conftest.er1
    5038   cat conftest.err >&5
    5039   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5040   (exit $ac_status); } && {
    5041          test -z "$ac_c_werror_flag" ||
    5042          test ! -s conftest.err
    5043        } && test -s conftest.$ac_objext; then
    5044   ac_header_compiler=yes
    5045 else
    5046   $as_echo "$as_me: failed program was:" >&5
    5047 sed 's/^/| /' conftest.$ac_ext >&5
    5048 
    5049         ac_header_compiler=no
    5050 fi
    5051 
    5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5054 $as_echo "$ac_header_compiler" >&6; }
    5055 
    5056 # Is the header present?
    5057 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    5058 $as_echo_n "checking dld.h presence... " >&6; }
    5059 cat >conftest.$ac_ext <<_ACEOF
    5060 /* confdefs.h.  */
    5061 _ACEOF
    5062 cat confdefs.h >>conftest.$ac_ext
    5063 cat >>conftest.$ac_ext <<_ACEOF
    5064 /* end confdefs.h.  */
    5065 #include <dld.h>
    5066 _ACEOF
    5067 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5068 case "(($ac_try" in
    5069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5070   *) ac_try_echo=$ac_try;;
    5071 esac
    5072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5073 $as_echo "$ac_try_echo") >&5
    5074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5075   ac_status=$?
    5076   grep -v '^ *+' conftest.er1 >conftest.err
    5077   rm -f conftest.er1
    5078   cat conftest.err >&5
    5079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5080   (exit $ac_status); } >/dev/null && {
    5081          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5082          test ! -s conftest.err
    5083        }; then
    5084   ac_header_preproc=yes
    5085 else
    5086   $as_echo "$as_me: failed program was:" >&5
    5087 sed 's/^/| /' conftest.$ac_ext >&5
    5088 
    5089   ac_header_preproc=no
    5090 fi
    5091 
    5092 rm -f conftest.err conftest.$ac_ext
    5093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5094 $as_echo "$ac_header_preproc" >&6; }
    5095 
    5096 # So?  What about this header?
    5097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5098   yes:no: )
    5099     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5100 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5101     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    5102 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    5103     ac_header_preproc=yes
    5104     ;;
    5105   no:yes:* )
    5106     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    5107 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    5108     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    5109 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    5110     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    5111 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    5112     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    5113 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5114     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    5115 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    5116     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    5117 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    5118     ( cat <<\_ASBOX
    5119 ## ----------------------------------- ##
    5120 ## Report this to rappture@nanohub.org ##
    5121 ## ----------------------------------- ##
    5122 _ASBOX
    5123      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5124     ;;
    5125 esac
    5126 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5127 $as_echo_n "checking for dld.h... " >&6; }
    5128 if test "${ac_cv_header_dld_h+set}" = set; then
    5129   $as_echo_n "(cached) " >&6
    5130 else
    5131   ac_cv_header_dld_h=$ac_header_preproc
    5132 fi
    5133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5134 $as_echo "$ac_cv_header_dld_h" >&6; }
    5135 
    5136 fi
    5137 if test "x$ac_cv_header_dld_h" = x""yes; then
     4912                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4913if test "x$ac_cv_header_dld_h" = xyes; then :
    51384914
    51394915                    SHLIB_LD="ld -shared"
     
    51854961        NetBSD-*|FreeBSD-[1-2].*)
    51864962            # Not available on all versions:  check for include file.
    5187             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5188   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5189 $as_echo_n "checking for dlfcn.h... " >&6; }
    5190 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5191   $as_echo_n "(cached) " >&6
    5192 fi
    5193 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5194 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5195 else
    5196   # Is the header compilable?
    5197 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    5198 $as_echo_n "checking dlfcn.h usability... " >&6; }
    5199 cat >conftest.$ac_ext <<_ACEOF
    5200 /* confdefs.h.  */
    5201 _ACEOF
    5202 cat confdefs.h >>conftest.$ac_ext
    5203 cat >>conftest.$ac_ext <<_ACEOF
    5204 /* end confdefs.h.  */
    5205 $ac_includes_default
    5206 #include <dlfcn.h>
    5207 _ACEOF
    5208 rm -f conftest.$ac_objext
    5209 if { (ac_try="$ac_compile"
    5210 case "(($ac_try" in
    5211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5212   *) ac_try_echo=$ac_try;;
    5213 esac
    5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5215 $as_echo "$ac_try_echo") >&5
    5216   (eval "$ac_compile") 2>conftest.er1
    5217   ac_status=$?
    5218   grep -v '^ *+' conftest.er1 >conftest.err
    5219   rm -f conftest.er1
    5220   cat conftest.err >&5
    5221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5222   (exit $ac_status); } && {
    5223          test -z "$ac_c_werror_flag" ||
    5224          test ! -s conftest.err
    5225        } && test -s conftest.$ac_objext; then
    5226   ac_header_compiler=yes
    5227 else
    5228   $as_echo "$as_me: failed program was:" >&5
    5229 sed 's/^/| /' conftest.$ac_ext >&5
    5230 
    5231         ac_header_compiler=no
    5232 fi
    5233 
    5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5236 $as_echo "$ac_header_compiler" >&6; }
    5237 
    5238 # Is the header present?
    5239 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    5240 $as_echo_n "checking dlfcn.h presence... " >&6; }
    5241 cat >conftest.$ac_ext <<_ACEOF
    5242 /* confdefs.h.  */
    5243 _ACEOF
    5244 cat confdefs.h >>conftest.$ac_ext
    5245 cat >>conftest.$ac_ext <<_ACEOF
    5246 /* end confdefs.h.  */
    5247 #include <dlfcn.h>
    5248 _ACEOF
    5249 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5250 case "(($ac_try" in
    5251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5252   *) ac_try_echo=$ac_try;;
    5253 esac
    5254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5255 $as_echo "$ac_try_echo") >&5
    5256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5257   ac_status=$?
    5258   grep -v '^ *+' conftest.er1 >conftest.err
    5259   rm -f conftest.er1
    5260   cat conftest.err >&5
    5261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5262   (exit $ac_status); } >/dev/null && {
    5263          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5264          test ! -s conftest.err
    5265        }; then
    5266   ac_header_preproc=yes
    5267 else
    5268   $as_echo "$as_me: failed program was:" >&5
    5269 sed 's/^/| /' conftest.$ac_ext >&5
    5270 
    5271   ac_header_preproc=no
    5272 fi
    5273 
    5274 rm -f conftest.err conftest.$ac_ext
    5275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5276 $as_echo "$ac_header_preproc" >&6; }
    5277 
    5278 # So?  What about this header?
    5279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5280   yes:no: )
    5281     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5282 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5283     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    5284 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    5285     ac_header_preproc=yes
    5286     ;;
    5287   no:yes:* )
    5288     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    5289 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    5290     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    5291 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    5292     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    5293 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    5294     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    5295 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5296     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    5297 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    5298     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    5299 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    5300     ( cat <<\_ASBOX
    5301 ## ----------------------------------- ##
    5302 ## Report this to rappture@nanohub.org ##
    5303 ## ----------------------------------- ##
    5304 _ASBOX
    5305      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5306     ;;
    5307 esac
    5308 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5309 $as_echo_n "checking for dlfcn.h... " >&6; }
    5310 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5311   $as_echo_n "(cached) " >&6
    5312 else
    5313   ac_cv_header_dlfcn_h=$ac_header_preproc
    5314 fi
    5315 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5316 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5317 
    5318 fi
    5319 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4963            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4964if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    53204965
    53214966                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53284973                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53294974                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5330                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4975                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53314976$as_echo_n "checking for ELF... " >&6; }
    5332 if test "${tcl_cv_ld_elf+set}" = set; then
     4977if ${tcl_cv_ld_elf+:} false; then :
    53334978  $as_echo_n "(cached) " >&6
    53344979else
    53354980
    5336                     cat >conftest.$ac_ext <<_ACEOF
    5337 /* confdefs.h.  */
    5338 _ACEOF
    5339 cat confdefs.h >>conftest.$ac_ext
    5340 cat >>conftest.$ac_ext <<_ACEOF
     4981                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53414982/* end confdefs.h.  */
    53424983
     
    53474988_ACEOF
    53484989if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5349   $EGREP "yes" >/dev/null 2>&1; then
     4990  $EGREP "yes" >/dev/null 2>&1; then :
    53504991  tcl_cv_ld_elf=yes
    53514992else
     
    53554996
    53564997fi
    5357 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53584999$as_echo "$tcl_cv_ld_elf" >&6; }
    53595000                if test $tcl_cv_ld_elf = yes; then
     
    54145055                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    54155056                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5416                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5057                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    54175058$as_echo_n "checking for ELF... " >&6; }
    5418 if test "${tcl_cv_ld_elf+set}" = set; then
     5059if ${tcl_cv_ld_elf+:} false; then :
    54195060  $as_echo_n "(cached) " >&6
    54205061else
    54215062
    5422                     cat >conftest.$ac_ext <<_ACEOF
    5423 /* confdefs.h.  */
    5424 _ACEOF
    5425 cat confdefs.h >>conftest.$ac_ext
    5426 cat >>conftest.$ac_ext <<_ACEOF
     5063                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54275064/* end confdefs.h.  */
    54285065
     
    54335070_ACEOF
    54345071if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5435   $EGREP "yes" >/dev/null 2>&1; then
     5072  $EGREP "yes" >/dev/null 2>&1; then :
    54365073  tcl_cv_ld_elf=yes
    54375074else
     
    54415078
    54425079fi
    5443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54445081$as_echo "$tcl_cv_ld_elf" >&6; }
    54455082                if test $tcl_cv_ld_elf = yes; then
     
    54965133                case `arch` in
    54975134                    ppc)
    5498                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5135                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54995136$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5500 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5137if ${tcl_cv_cc_arch_ppc64+:} false; then :
    55015138  $as_echo_n "(cached) " >&6
    55025139else
     
    55045141                            hold_cflags=$CFLAGS
    55055142                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5506                             cat >conftest.$ac_ext <<_ACEOF
    5507 /* confdefs.h.  */
    5508 _ACEOF
    5509 cat confdefs.h >>conftest.$ac_ext
    5510 cat >>conftest.$ac_ext <<_ACEOF
     5143                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55115144/* end confdefs.h.  */
    55125145
     
    55195152}
    55205153_ACEOF
    5521 rm -f conftest.$ac_objext conftest$ac_exeext
    5522 if { (ac_try="$ac_link"
    5523 case "(($ac_try" in
    5524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5525   *) ac_try_echo=$ac_try;;
    5526 esac
    5527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5528 $as_echo "$ac_try_echo") >&5
    5529   (eval "$ac_link") 2>conftest.er1
    5530   ac_status=$?
    5531   grep -v '^ *+' conftest.er1 >conftest.err
    5532   rm -f conftest.er1
    5533   cat conftest.err >&5
    5534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5535   (exit $ac_status); } && {
    5536          test -z "$ac_c_werror_flag" ||
    5537          test ! -s conftest.err
    5538        } && test -s conftest$ac_exeext && {
    5539          test "$cross_compiling" = yes ||
    5540          $as_test_x conftest$ac_exeext
    5541        }; then
     5154if ac_fn_c_try_link "$LINENO"; then :
    55425155  tcl_cv_cc_arch_ppc64=yes
    55435156else
    5544   $as_echo "$as_me: failed program was:" >&5
    5545 sed 's/^/| /' conftest.$ac_ext >&5
    5546 
    5547         tcl_cv_cc_arch_ppc64=no
    5548 fi
    5549 
    5550 rm -rf conftest.dSYM
    5551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5552       conftest$ac_exeext conftest.$ac_ext
     5157  tcl_cv_cc_arch_ppc64=no
     5158fi
     5159rm -f core conftest.err conftest.$ac_objext \
     5160    conftest$ac_exeext conftest.$ac_ext
    55535161                            CFLAGS=$hold_cflags
    55545162fi
    5555 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55565164$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55575165                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55605168                        fi;;
    55615169                    i386)
    5562                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5170                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55635171$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5564 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5172if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55655173  $as_echo_n "(cached) " >&6
    55665174else
     
    55685176                            hold_cflags=$CFLAGS
    55695177                            CFLAGS="$CFLAGS -arch x86_64"
    5570                             cat >conftest.$ac_ext <<_ACEOF
    5571 /* confdefs.h.  */
    5572 _ACEOF
    5573 cat confdefs.h >>conftest.$ac_ext
    5574 cat >>conftest.$ac_ext <<_ACEOF
     5178                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55755179/* end confdefs.h.  */
    55765180
     
    55835187}
    55845188_ACEOF
    5585 rm -f conftest.$ac_objext conftest$ac_exeext
    5586 if { (ac_try="$ac_link"
    5587 case "(($ac_try" in
    5588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5589   *) ac_try_echo=$ac_try;;
    5590 esac
    5591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5592 $as_echo "$ac_try_echo") >&5
    5593   (eval "$ac_link") 2>conftest.er1
    5594   ac_status=$?
    5595   grep -v '^ *+' conftest.er1 >conftest.err
    5596   rm -f conftest.er1
    5597   cat conftest.err >&5
    5598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5599   (exit $ac_status); } && {
    5600          test -z "$ac_c_werror_flag" ||
    5601          test ! -s conftest.err
    5602        } && test -s conftest$ac_exeext && {
    5603          test "$cross_compiling" = yes ||
    5604          $as_test_x conftest$ac_exeext
    5605        }; then
     5189if ac_fn_c_try_link "$LINENO"; then :
    56065190  tcl_cv_cc_arch_x86_64=yes
    56075191else
    5608   $as_echo "$as_me: failed program was:" >&5
    5609 sed 's/^/| /' conftest.$ac_ext >&5
    5610 
    5611         tcl_cv_cc_arch_x86_64=no
    5612 fi
    5613 
    5614 rm -rf conftest.dSYM
    5615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5616       conftest$ac_exeext conftest.$ac_ext
     5192  tcl_cv_cc_arch_x86_64=no
     5193fi
     5194rm -f core conftest.err conftest.$ac_objext \
     5195    conftest$ac_exeext conftest.$ac_ext
    56175196                            CFLAGS=$hold_cflags
    56185197fi
    5619 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    56205199$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56215200                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56245203                        fi;;
    56255204                    *)
    5626                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5205                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56275206$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56285207                esac
     
    56345213            fi
    56355214            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5636             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5215            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56375216$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5638 if test "${tcl_cv_ld_single_module+set}" = set; then
     5217if ${tcl_cv_ld_single_module+:} false; then :
    56395218  $as_echo_n "(cached) " >&6
    56405219else
     
    56425221                hold_ldflags=$LDFLAGS
    56435222                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5644                 cat >conftest.$ac_ext <<_ACEOF
    5645 /* confdefs.h.  */
    5646 _ACEOF
    5647 cat confdefs.h >>conftest.$ac_ext
    5648 cat >>conftest.$ac_ext <<_ACEOF
     5223                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56495224/* end confdefs.h.  */
    56505225
     
    56575232}
    56585233_ACEOF
    5659 rm -f conftest.$ac_objext conftest$ac_exeext
    5660 if { (ac_try="$ac_link"
    5661 case "(($ac_try" in
    5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5663   *) ac_try_echo=$ac_try;;
    5664 esac
    5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5666 $as_echo "$ac_try_echo") >&5
    5667   (eval "$ac_link") 2>conftest.er1
    5668   ac_status=$?
    5669   grep -v '^ *+' conftest.er1 >conftest.err
    5670   rm -f conftest.er1
    5671   cat conftest.err >&5
    5672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5673   (exit $ac_status); } && {
    5674          test -z "$ac_c_werror_flag" ||
    5675          test ! -s conftest.err
    5676        } && test -s conftest$ac_exeext && {
    5677          test "$cross_compiling" = yes ||
    5678          $as_test_x conftest$ac_exeext
    5679        }; then
     5234if ac_fn_c_try_link "$LINENO"; then :
    56805235  tcl_cv_ld_single_module=yes
    56815236else
    5682   $as_echo "$as_me: failed program was:" >&5
    5683 sed 's/^/| /' conftest.$ac_ext >&5
    5684 
    5685         tcl_cv_ld_single_module=no
    5686 fi
    5687 
    5688 rm -rf conftest.dSYM
    5689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5690       conftest$ac_exeext conftest.$ac_ext
     5237  tcl_cv_ld_single_module=no
     5238fi
     5239rm -f core conftest.err conftest.$ac_objext \
     5240    conftest$ac_exeext conftest.$ac_ext
    56915241                LDFLAGS=$hold_ldflags
    56925242fi
    5693 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56945244$as_echo "$tcl_cv_ld_single_module" >&6; }
    56955245            if test $tcl_cv_ld_single_module = yes; then
     
    57055255                LDFLAGS="$LDFLAGS -prebind"
    57065256            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5707             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5257            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    57085258$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5709 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5259if ${tcl_cv_ld_search_paths_first+:} false; then :
    57105260  $as_echo_n "(cached) " >&6
    57115261else
     
    57135263                hold_ldflags=$LDFLAGS
    57145264                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5715                 cat >conftest.$ac_ext <<_ACEOF
    5716 /* confdefs.h.  */
    5717 _ACEOF
    5718 cat confdefs.h >>conftest.$ac_ext
    5719 cat >>conftest.$ac_ext <<_ACEOF
     5265                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57205266/* end confdefs.h.  */
    57215267
     
    57285274}
    57295275_ACEOF
    5730 rm -f conftest.$ac_objext conftest$ac_exeext
    5731 if { (ac_try="$ac_link"
    5732 case "(($ac_try" in
    5733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5734   *) ac_try_echo=$ac_try;;
    5735 esac
    5736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5737 $as_echo "$ac_try_echo") >&5
    5738   (eval "$ac_link") 2>conftest.er1
    5739   ac_status=$?
    5740   grep -v '^ *+' conftest.er1 >conftest.err
    5741   rm -f conftest.er1
    5742   cat conftest.err >&5
    5743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5744   (exit $ac_status); } && {
    5745          test -z "$ac_c_werror_flag" ||
    5746          test ! -s conftest.err
    5747        } && test -s conftest$ac_exeext && {
    5748          test "$cross_compiling" = yes ||
    5749          $as_test_x conftest$ac_exeext
    5750        }; then
     5276if ac_fn_c_try_link "$LINENO"; then :
    57515277  tcl_cv_ld_search_paths_first=yes
    57525278else
    5753   $as_echo "$as_me: failed program was:" >&5
    5754 sed 's/^/| /' conftest.$ac_ext >&5
    5755 
    5756         tcl_cv_ld_search_paths_first=no
    5757 fi
    5758 
    5759 rm -rf conftest.dSYM
    5760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5761       conftest$ac_exeext conftest.$ac_ext
     5279  tcl_cv_ld_search_paths_first=no
     5280fi
     5281rm -f core conftest.err conftest.$ac_objext \
     5282    conftest$ac_exeext conftest.$ac_ext
    57625283                LDFLAGS=$hold_ldflags
    57635284fi
    5764 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57655286$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57665287            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57725293            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57735294            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5774             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5295            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57755296$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57765297            # Check whether --enable-corefoundation was given.
    5777 if test "${enable_corefoundation+set}" = set; then
     5298if test "${enable_corefoundation+set}" = set; then :
    57785299  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57795300else
     
    57815302fi
    57825303
    5783             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5304            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57845305$as_echo "$tcl_corefoundation" >&6; }
    57855306            if test $tcl_corefoundation = yes; then
    5786                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5307                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57875308$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5788 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5309if ${tcl_cv_lib_corefoundation+:} false; then :
    57895310  $as_echo_n "(cached) " >&6
    57905311else
     
    57985319                    done; fi
    57995320                    LIBS="$LIBS -framework CoreFoundation"
    5800                     cat >conftest.$ac_ext <<_ACEOF
    5801 /* confdefs.h.  */
    5802 _ACEOF
    5803 cat confdefs.h >>conftest.$ac_ext
    5804 cat >>conftest.$ac_ext <<_ACEOF
     5321                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58055322/* end confdefs.h.  */
    58065323#include <CoreFoundation/CoreFoundation.h>
     
    58135330}
    58145331_ACEOF
    5815 rm -f conftest.$ac_objext conftest$ac_exeext
    5816 if { (ac_try="$ac_link"
    5817 case "(($ac_try" in
    5818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5819   *) ac_try_echo=$ac_try;;
    5820 esac
    5821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5822 $as_echo "$ac_try_echo") >&5
    5823   (eval "$ac_link") 2>conftest.er1
    5824   ac_status=$?
    5825   grep -v '^ *+' conftest.er1 >conftest.err
    5826   rm -f conftest.er1
    5827   cat conftest.err >&5
    5828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5829   (exit $ac_status); } && {
    5830          test -z "$ac_c_werror_flag" ||
    5831          test ! -s conftest.err
    5832        } && test -s conftest$ac_exeext && {
    5833          test "$cross_compiling" = yes ||
    5834          $as_test_x conftest$ac_exeext
    5835        }; then
     5332if ac_fn_c_try_link "$LINENO"; then :
    58365333  tcl_cv_lib_corefoundation=yes
    58375334else
    5838   $as_echo "$as_me: failed program was:" >&5
    5839 sed 's/^/| /' conftest.$ac_ext >&5
    5840 
    5841         tcl_cv_lib_corefoundation=no
    5842 fi
    5843 
    5844 rm -rf conftest.dSYM
    5845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5846       conftest$ac_exeext conftest.$ac_ext
     5335  tcl_cv_lib_corefoundation=no
     5336fi
     5337rm -f core conftest.err conftest.$ac_objext \
     5338    conftest$ac_exeext conftest.$ac_ext
    58475339                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58485340                        eval $v'="$hold_'$v'"'
    58495341                    done; fi; LIBS=$hold_libs
    58505342fi
    5851 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58525344$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58535345                if test $tcl_cv_lib_corefoundation = yes; then
    58545346                    LIBS="$LIBS -framework CoreFoundation"
    5855                     cat >>confdefs.h <<\_ACEOF
    5856 #define HAVE_COREFOUNDATION 1
    5857 _ACEOF
     5347                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58585348
    58595349                else
     
    58615351                fi
    58625352                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5863                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5353                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58645354$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5865 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5355if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58665356  $as_echo_n "(cached) " >&6
    58675357else
     
    58705360                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58715361                        done
    5872                         cat >conftest.$ac_ext <<_ACEOF
    5873 /* confdefs.h.  */
    5874 _ACEOF
    5875 cat confdefs.h >>conftest.$ac_ext
    5876 cat >>conftest.$ac_ext <<_ACEOF
     5362                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58775363/* end confdefs.h.  */
    58785364#include <CoreFoundation/CoreFoundation.h>
     
    58855371}
    58865372_ACEOF
    5887 rm -f conftest.$ac_objext conftest$ac_exeext
    5888 if { (ac_try="$ac_link"
    5889 case "(($ac_try" in
    5890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5891   *) ac_try_echo=$ac_try;;
    5892 esac
    5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5894 $as_echo "$ac_try_echo") >&5
    5895   (eval "$ac_link") 2>conftest.er1
    5896   ac_status=$?
    5897   grep -v '^ *+' conftest.er1 >conftest.err
    5898   rm -f conftest.er1
    5899   cat conftest.err >&5
    5900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5901   (exit $ac_status); } && {
    5902          test -z "$ac_c_werror_flag" ||
    5903          test ! -s conftest.err
    5904        } && test -s conftest$ac_exeext && {
    5905          test "$cross_compiling" = yes ||
    5906          $as_test_x conftest$ac_exeext
    5907        }; then
     5373if ac_fn_c_try_link "$LINENO"; then :
    59085374  tcl_cv_lib_corefoundation_64=yes
    59095375else
    5910   $as_echo "$as_me: failed program was:" >&5
    5911 sed 's/^/| /' conftest.$ac_ext >&5
    5912 
    5913         tcl_cv_lib_corefoundation_64=no
    5914 fi
    5915 
    5916 rm -rf conftest.dSYM
    5917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5918       conftest$ac_exeext conftest.$ac_ext
     5376  tcl_cv_lib_corefoundation_64=no
     5377fi
     5378rm -f core conftest.err conftest.$ac_objext \
     5379    conftest$ac_exeext conftest.$ac_ext
    59195380                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    59205381                            eval $v'="$hold_'$v'"'
    59215382                        done
    59225383fi
    5923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59245385$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59255386                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5926                         cat >>confdefs.h <<\_ACEOF
    5927 #define NO_COREFOUNDATION_64 1
    5928 _ACEOF
     5387                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59295388
    59305389                    fi
    59315390                fi
    59325391            fi
    5933             cat >>confdefs.h <<\_ACEOF
    5934 #define MAC_OSX_TCL 1
    5935 _ACEOF
     5392            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59365393
    59375394            ;;
     
    59485405        OS/390-*)
    59495406            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5950             cat >>confdefs.h <<\_ACEOF
    5951 #define _OE_SOCKETS 1
    5952 _ACEOF
     5407            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59535408        # needed in sys/socket.h
    59545409            ;;
     
    60915546            # won't define thread-safe library routines.
    60925547
    6093             cat >>confdefs.h <<\_ACEOF
    6094 #define _REENTRANT 1
    6095 _ACEOF
    6096 
    6097             cat >>confdefs.h <<\_ACEOF
    6098 #define _POSIX_PTHREAD_SEMANTICS 1
    6099 _ACEOF
     5548            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5549
     5550            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61005551
    61015552
     
    61235574            # won't define thread-safe library routines.
    61245575
    6125             cat >>confdefs.h <<\_ACEOF
    6126 #define _REENTRANT 1
    6127 _ACEOF
    6128 
    6129             cat >>confdefs.h <<\_ACEOF
    6130 #define _POSIX_PTHREAD_SEMANTICS 1
    6131 _ACEOF
     5576            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5577
     5578            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61325579
    61335580
     
    61405587                        if test "$GCC" = "yes" ; then
    61415588                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6142                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5589                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61435590$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61445591                            else
     
    61625609                elif test "$arch" = "amd64 i386" ; then
    61635610                    if test "$GCC" = "yes" ; then
    6164                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5611                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61655612$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61665613                    else
     
    61705617                    fi
    61715618                else
    6172                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5619                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61735620$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61745621                fi
     
    62295676            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62305677            # that don't grok the -Bexport option.  Test that it does.
    6231             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5678            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62325679$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6233 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5680if ${tcl_cv_ld_Bexport+:} false; then :
    62345681  $as_echo_n "(cached) " >&6
    62355682else
     
    62375684                hold_ldflags=$LDFLAGS
    62385685                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6239                 cat >conftest.$ac_ext <<_ACEOF
    6240 /* confdefs.h.  */
    6241 _ACEOF
    6242 cat confdefs.h >>conftest.$ac_ext
    6243 cat >>conftest.$ac_ext <<_ACEOF
     5686                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62445687/* end confdefs.h.  */
    62455688
     
    62525695}
    62535696_ACEOF
    6254 rm -f conftest.$ac_objext conftest$ac_exeext
    6255 if { (ac_try="$ac_link"
    6256 case "(($ac_try" in
    6257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6258   *) ac_try_echo=$ac_try;;
    6259 esac
    6260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6261 $as_echo "$ac_try_echo") >&5
    6262   (eval "$ac_link") 2>conftest.er1
    6263   ac_status=$?
    6264   grep -v '^ *+' conftest.er1 >conftest.err
    6265   rm -f conftest.er1
    6266   cat conftest.err >&5
    6267   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6268   (exit $ac_status); } && {
    6269          test -z "$ac_c_werror_flag" ||
    6270          test ! -s conftest.err
    6271        } && test -s conftest$ac_exeext && {
    6272          test "$cross_compiling" = yes ||
    6273          $as_test_x conftest$ac_exeext
    6274        }; then
     5697if ac_fn_c_try_link "$LINENO"; then :
    62755698  tcl_cv_ld_Bexport=yes
    62765699else
    6277   $as_echo "$as_me: failed program was:" >&5
    6278 sed 's/^/| /' conftest.$ac_ext >&5
    6279 
    6280         tcl_cv_ld_Bexport=no
    6281 fi
    6282 
    6283 rm -rf conftest.dSYM
    6284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6285       conftest$ac_exeext conftest.$ac_ext
     5700  tcl_cv_ld_Bexport=no
     5701fi
     5702rm -f core conftest.err conftest.$ac_objext \
     5703    conftest$ac_exeext conftest.$ac_ext
    62865704                LDFLAGS=$hold_ldflags
    62875705fi
    6288 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62895707$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62905708            if test $tcl_cv_ld_Bexport = yes; then
     
    62975715
    62985716    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    6299         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5717        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    63005718$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    63015719    fi
     
    63245742
    63255743    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6326         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5744        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63275745$as_echo_n "checking sys/exec.h... " >&6; }
    6328 if test "${tcl_cv_sysexec_h+set}" = set; then
     5746if ${tcl_cv_sysexec_h+:} false; then :
    63295747  $as_echo_n "(cached) " >&6
    63305748else
    63315749
    6332         cat >conftest.$ac_ext <<_ACEOF
    6333 /* confdefs.h.  */
    6334 _ACEOF
    6335 cat confdefs.h >>conftest.$ac_ext
    6336 cat >>conftest.$ac_ext <<_ACEOF
     5750        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63375751/* end confdefs.h.  */
    63385752#include <sys/exec.h>
     
    63565770}
    63575771_ACEOF
    6358 rm -f conftest.$ac_objext
    6359 if { (ac_try="$ac_compile"
    6360 case "(($ac_try" in
    6361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6362   *) ac_try_echo=$ac_try;;
    6363 esac
    6364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6365 $as_echo "$ac_try_echo") >&5
    6366   (eval "$ac_compile") 2>conftest.er1
    6367   ac_status=$?
    6368   grep -v '^ *+' conftest.er1 >conftest.err
    6369   rm -f conftest.er1
    6370   cat conftest.err >&5
    6371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6372   (exit $ac_status); } && {
    6373          test -z "$ac_c_werror_flag" ||
    6374          test ! -s conftest.err
    6375        } && test -s conftest.$ac_objext; then
     5772if ac_fn_c_try_compile "$LINENO"; then :
    63765773  tcl_cv_sysexec_h=usable
    63775774else
    6378   $as_echo "$as_me: failed program was:" >&5
    6379 sed 's/^/| /' conftest.$ac_ext >&5
    6380 
    6381         tcl_cv_sysexec_h=unusable
    6382 fi
    6383 
     5775  tcl_cv_sysexec_h=unusable
     5776fi
    63845777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63855778fi
    6386 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63875780$as_echo "$tcl_cv_sysexec_h" >&6; }
    63885781        if test $tcl_cv_sysexec_h = usable; then
    6389             cat >>confdefs.h <<\_ACEOF
    6390 #define USE_SYS_EXEC_H 1
    6391 _ACEOF
     5782            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63925783
    63935784        else
    6394             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5785            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63955786$as_echo_n "checking a.out.h... " >&6; }
    6396 if test "${tcl_cv_aout_h+set}" = set; then
     5787if ${tcl_cv_aout_h+:} false; then :
    63975788  $as_echo_n "(cached) " >&6
    63985789else
    63995790
    6400             cat >conftest.$ac_ext <<_ACEOF
    6401 /* confdefs.h.  */
    6402 _ACEOF
    6403 cat confdefs.h >>conftest.$ac_ext
    6404 cat >>conftest.$ac_ext <<_ACEOF
     5791            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64055792/* end confdefs.h.  */
    64065793#include <a.out.h>
     
    64245811}
    64255812_ACEOF
    6426 rm -f conftest.$ac_objext
    6427 if { (ac_try="$ac_compile"
    6428 case "(($ac_try" in
    6429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6430   *) ac_try_echo=$ac_try;;
    6431 esac
    6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6433 $as_echo "$ac_try_echo") >&5
    6434   (eval "$ac_compile") 2>conftest.er1
    6435   ac_status=$?
    6436   grep -v '^ *+' conftest.er1 >conftest.err
    6437   rm -f conftest.er1
    6438   cat conftest.err >&5
    6439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6440   (exit $ac_status); } && {
    6441          test -z "$ac_c_werror_flag" ||
    6442          test ! -s conftest.err
    6443        } && test -s conftest.$ac_objext; then
     5813if ac_fn_c_try_compile "$LINENO"; then :
    64445814  tcl_cv_aout_h=usable
    64455815else
    6446   $as_echo "$as_me: failed program was:" >&5
    6447 sed 's/^/| /' conftest.$ac_ext >&5
    6448 
    6449         tcl_cv_aout_h=unusable
    6450 fi
    6451 
     5816  tcl_cv_aout_h=unusable
     5817fi
    64525818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64535819fi
    6454 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64555821$as_echo "$tcl_cv_aout_h" >&6; }
    64565822            if test $tcl_cv_aout_h = usable; then
    6457                 cat >>confdefs.h <<\_ACEOF
    6458 #define USE_A_OUT_H 1
    6459 _ACEOF
     5823                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64605824
    64615825            else
    6462                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5826                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64635827$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6464 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5828if ${tcl_cv_sysexecaout_h+:} false; then :
    64655829&