Ignore:
Timestamp:
Mar 22, 2013 7:46:34 PM (7 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r3465 r3560  
    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.
     
    660645CG_LIB_SPEC
    661646CG_INC_SPEC
     647FFMPEG
    662648CXXCPP
    663649ac_ct_CXX
     
    735721prefix
    736722exec_prefix
     723PACKAGE_URL
    737724PACKAGE_BUGREPORT
    738725PACKAGE_STRING
     
    750737with_vtk_libs
    751738with_vtk
     739with_ffmpeg
    752740with_python
    753741with_statsdir
     
    834822
    835823  case $ac_option in
    836   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *)    ac_optarg=yes ;;
     824  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     825  *=)   ac_optarg= ;;
     826  *)    ac_optarg=yes ;;
    838827  esac
    839828
     
    880869    # Reject names that are not valid shell variable names.
    881870    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    882       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    883    { (exit 1); exit 1; }; }
     871      as_fn_error $? "invalid feature name: $ac_useropt"
    884872    ac_useropt_orig=$ac_useropt
    885873    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    907895    # Reject names that are not valid shell variable names.
    908896    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    910    { (exit 1); exit 1; }; }
     897      as_fn_error $? "invalid feature name: $ac_useropt"
    911898    ac_useropt_orig=$ac_useropt
    912899    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11121099    # Reject names that are not valid shell variable names.
    11131100    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1114       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1115    { (exit 1); exit 1; }; }
     1101      as_fn_error $? "invalid package name: $ac_useropt"
    11161102    ac_useropt_orig=$ac_useropt
    11171103    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11291115    # Reject names that are not valid shell variable names.
    11301116    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1131       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1132    { (exit 1); exit 1; }; }
     1117      as_fn_error $? "invalid package name: $ac_useropt"
    11331118    ac_useropt_orig=$ac_useropt
    11341119    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11601145    x_libraries=$ac_optarg ;;
    11611146
    1162   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1163 Try \`$0 --help' for more information." >&2
    1164    { (exit 1); exit 1; }; }
     1147  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1148Try \`$0 --help' for more information"
    11651149    ;;
    11661150
     
    11681152    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11691153    # Reject names that are not valid shell variable names.
    1170     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1171       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1172    { (exit 1); exit 1; }; }
     1154    case $ac_envvar in #(
     1155      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1156      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1157    esac
    11731158    eval $ac_envvar=\$ac_optarg
    11741159    export $ac_envvar ;;
     
    11791164    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11801165      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1181     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1166    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11821167    ;;
    11831168
     
    11871172if test -n "$ac_prev"; then
    11881173  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1189   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1190    { (exit 1); exit 1; }; }
     1174  as_fn_error $? "missing argument to $ac_option"
    11911175fi
    11921176
     
    11941178  case $enable_option_checking in
    11951179    no) ;;
    1196     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1197    { (exit 1); exit 1; }; } ;;
     1180    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11981181    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11991182  esac
     
    12181201    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12191202  esac
    1220   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1221    { (exit 1); exit 1; }; }
     1203  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12221204done
    12231205
     
    12331215  if test "x$build_alias" = x; then
    12341216    cross_compiling=maybe
    1235     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1236     If a cross compiler is detected then cross compile mode will be used." >&2
    12371217  elif test "x$build_alias" != "x$host_alias"; then
    12381218    cross_compiling=yes
     
    12491229ac_ls_di=`ls -di .` &&
    12501230ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1251   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1252    { (exit 1); exit 1; }; }
     1231  as_fn_error $? "working directory cannot be determined"
    12531232test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1254   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1255    { (exit 1); exit 1; }; }
     1233  as_fn_error $? "pwd does not report name of working directory"
    12561234
    12571235
     
    12921270if test ! -r "$srcdir/$ac_unique_file"; then
    12931271  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1294   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1295    { (exit 1); exit 1; }; }
     1272  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12961273fi
    12971274ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12981275ac_abs_confdir=`(
    1299         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1300    { (exit 1); exit 1; }; }
     1276        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13011277        pwd)`
    13021278# When building in place, set srcdir=.
     
    13381314      --help=recursive    display the short help of all the included packages
    13391315  -V, --version           display version information and exit
    1340   -q, --quiet, --silent   do not print \`checking...' messages
     1316  -q, --quiet, --silent   do not print \`checking ...' messages
    13411317      --cache-file=FILE   cache test results in FILE [disabled]
    13421318  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14121388  --with-vtk-libs=DIR     VTK libraries are in DIR
    14131389  --with-vtk=VERSION      Version of VTK required
     1390  --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    14141391  --with-python=DIR       location of python [default=yes]
    14151392  --with-statsdir=DIR     Write statics in DIR
     
    14221399              nonstandard directory <lib dir>
    14231400  LIBS        libraries to pass to the linker, e.g. -l<library>
    1424   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1401  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14251402              you have headers in a nonstandard directory <include dir>
    14261403  CPP         C preprocessor
     
    14971474  cat <<\_ACEOF
    14981475vizservers configure 0.1
    1499 generated by GNU Autoconf 2.63
    1500 
    1501 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1502 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1476generated by GNU Autoconf 2.69
     1477
     1478Copyright (C) 2012 Free Software Foundation, Inc.
    15031479This configure script is free software; the Free Software Foundation
    15041480gives unlimited permission to copy, distribute and modify it.
     
    15061482  exit
    15071483fi
     1484
     1485## ------------------------ ##
     1486## Autoconf initialization. ##
     1487## ------------------------ ##
     1488
     1489# ac_fn_c_try_compile LINENO
     1490# --------------------------
     1491# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1492ac_fn_c_try_compile ()
     1493{
     1494  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1495  rm -f conftest.$ac_objext
     1496  if { { ac_try="$ac_compile"
     1497case "(($ac_try" in
     1498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1499  *) ac_try_echo=$ac_try;;
     1500esac
     1501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1502$as_echo "$ac_try_echo"; } >&5
     1503  (eval "$ac_compile") 2>conftest.err
     1504  ac_status=$?
     1505  if test -s conftest.err; then
     1506    grep -v '^ *+' conftest.err >conftest.er1
     1507    cat conftest.er1 >&5
     1508    mv -f conftest.er1 conftest.err
     1509  fi
     1510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1511  test $ac_status = 0; } && {
     1512         test -z "$ac_c_werror_flag" ||
     1513         test ! -s conftest.err
     1514       } && test -s conftest.$ac_objext; then :
     1515  ac_retval=0
     1516else
     1517  $as_echo "$as_me: failed program was:" >&5
     1518sed 's/^/| /' conftest.$ac_ext >&5
     1519
     1520        ac_retval=1
     1521fi
     1522  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1523  as_fn_set_status $ac_retval
     1524
     1525} # ac_fn_c_try_compile
     1526
     1527# ac_fn_c_try_cpp LINENO
     1528# ----------------------
     1529# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1530ac_fn_c_try_cpp ()
     1531{
     1532  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1533  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1534case "(($ac_try" in
     1535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1536  *) ac_try_echo=$ac_try;;
     1537esac
     1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1539$as_echo "$ac_try_echo"; } >&5
     1540  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1541  ac_status=$?
     1542  if test -s conftest.err; then
     1543    grep -v '^ *+' conftest.err >conftest.er1
     1544    cat conftest.er1 >&5
     1545    mv -f conftest.er1 conftest.err
     1546  fi
     1547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1548  test $ac_status = 0; } > conftest.i && {
     1549         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1550         test ! -s conftest.err
     1551       }; then :
     1552  ac_retval=0
     1553else
     1554  $as_echo "$as_me: failed program was:" >&5
     1555sed 's/^/| /' conftest.$ac_ext >&5
     1556
     1557    ac_retval=1
     1558fi
     1559  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1560  as_fn_set_status $ac_retval
     1561
     1562} # ac_fn_c_try_cpp
     1563
     1564# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1565# -------------------------------------------------------
     1566# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1567# the include files in INCLUDES and setting the cache variable VAR
     1568# accordingly.
     1569ac_fn_c_check_header_mongrel ()
     1570{
     1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1572  if eval \${$3+:} false; then :
     1573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1574$as_echo_n "checking for $2... " >&6; }
     1575if eval \${$3+:} false; then :
     1576  $as_echo_n "(cached) " >&6
     1577fi
     1578eval ac_res=\$$3
     1579               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1580$as_echo "$ac_res" >&6; }
     1581else
     1582  # Is the header compilable?
     1583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1584$as_echo_n "checking $2 usability... " >&6; }
     1585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1586/* end confdefs.h.  */
     1587$4
     1588#include <$2>
     1589_ACEOF
     1590if ac_fn_c_try_compile "$LINENO"; then :
     1591  ac_header_compiler=yes
     1592else
     1593  ac_header_compiler=no
     1594fi
     1595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1597$as_echo "$ac_header_compiler" >&6; }
     1598
     1599# Is the header present?
     1600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1601$as_echo_n "checking $2 presence... " >&6; }
     1602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1603/* end confdefs.h.  */
     1604#include <$2>
     1605_ACEOF
     1606if ac_fn_c_try_cpp "$LINENO"; then :
     1607  ac_header_preproc=yes
     1608else
     1609  ac_header_preproc=no
     1610fi
     1611rm -f conftest.err conftest.i conftest.$ac_ext
     1612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1613$as_echo "$ac_header_preproc" >&6; }
     1614
     1615# So?  What about this header?
     1616case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1617  yes:no: )
     1618    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1619$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1621$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1622    ;;
     1623  no:yes:* )
     1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1625$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1627$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1628    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1629$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1630    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1631$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1632    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1633$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1634( $as_echo "## ----------------------------------- ##
     1635## Report this to rappture@nanohub.org ##
     1636## ----------------------------------- ##"
     1637     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1638    ;;
     1639esac
     1640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1641$as_echo_n "checking for $2... " >&6; }
     1642if eval \${$3+:} false; then :
     1643  $as_echo_n "(cached) " >&6
     1644else
     1645  eval "$3=\$ac_header_compiler"
     1646fi
     1647eval ac_res=\$$3
     1648               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1649$as_echo "$ac_res" >&6; }
     1650fi
     1651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1652
     1653} # ac_fn_c_check_header_mongrel
     1654
     1655# ac_fn_c_try_run LINENO
     1656# ----------------------
     1657# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1658# that executables *can* be run.
     1659ac_fn_c_try_run ()
     1660{
     1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1662  if { { ac_try="$ac_link"
     1663case "(($ac_try" in
     1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1665  *) ac_try_echo=$ac_try;;
     1666esac
     1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1668$as_echo "$ac_try_echo"; } >&5
     1669  (eval "$ac_link") 2>&5
     1670  ac_status=$?
     1671  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1672  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1673  { { case "(($ac_try" in
     1674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1675  *) ac_try_echo=$ac_try;;
     1676esac
     1677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1678$as_echo "$ac_try_echo"; } >&5
     1679  (eval "$ac_try") 2>&5
     1680  ac_status=$?
     1681  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1682  test $ac_status = 0; }; }; then :
     1683  ac_retval=0
     1684else
     1685  $as_echo "$as_me: program exited with status $ac_status" >&5
     1686       $as_echo "$as_me: failed program was:" >&5
     1687sed 's/^/| /' conftest.$ac_ext >&5
     1688
     1689       ac_retval=$ac_status
     1690fi
     1691  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1692  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1693  as_fn_set_status $ac_retval
     1694
     1695} # ac_fn_c_try_run
     1696
     1697# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1698# -------------------------------------------------------
     1699# Tests whether HEADER exists and can be compiled using the include files in
     1700# INCLUDES, setting the cache variable VAR accordingly.
     1701ac_fn_c_check_header_compile ()
     1702{
     1703  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1705$as_echo_n "checking for $2... " >&6; }
     1706if eval \${$3+:} false; then :
     1707  $as_echo_n "(cached) " >&6
     1708else
     1709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1710/* end confdefs.h.  */
     1711$4
     1712#include <$2>
     1713_ACEOF
     1714if ac_fn_c_try_compile "$LINENO"; then :
     1715  eval "$3=yes"
     1716else
     1717  eval "$3=no"
     1718fi
     1719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1720fi
     1721eval ac_res=\$$3
     1722               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1723$as_echo "$ac_res" >&6; }
     1724  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1725
     1726} # ac_fn_c_check_header_compile
     1727
     1728# ac_fn_c_try_link LINENO
     1729# -----------------------
     1730# Try to link conftest.$ac_ext, and return whether this succeeded.
     1731ac_fn_c_try_link ()
     1732{
     1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1734  rm -f conftest.$ac_objext conftest$ac_exeext
     1735  if { { ac_try="$ac_link"
     1736case "(($ac_try" in
     1737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1738  *) ac_try_echo=$ac_try;;
     1739esac
     1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1741$as_echo "$ac_try_echo"; } >&5
     1742  (eval "$ac_link") 2>conftest.err
     1743  ac_status=$?
     1744  if test -s conftest.err; then
     1745    grep -v '^ *+' conftest.err >conftest.er1
     1746    cat conftest.er1 >&5
     1747    mv -f conftest.er1 conftest.err
     1748  fi
     1749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1750  test $ac_status = 0; } && {
     1751         test -z "$ac_c_werror_flag" ||
     1752         test ! -s conftest.err
     1753       } && test -s conftest$ac_exeext && {
     1754         test "$cross_compiling" = yes ||
     1755         test -x conftest$ac_exeext
     1756       }; then :
     1757  ac_retval=0
     1758else
     1759  $as_echo "$as_me: failed program was:" >&5
     1760sed 's/^/| /' conftest.$ac_ext >&5
     1761
     1762        ac_retval=1
     1763fi
     1764  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1765  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1766  # interfere with the next link command; also delete a directory that is
     1767  # left behind by Apple's compiler.  We do this before executing the actions.
     1768  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1769  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1770  as_fn_set_status $ac_retval
     1771
     1772} # ac_fn_c_try_link
     1773
     1774# ac_fn_cxx_try_compile LINENO
     1775# ----------------------------
     1776# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1777ac_fn_cxx_try_compile ()
     1778{
     1779  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1780  rm -f conftest.$ac_objext
     1781  if { { ac_try="$ac_compile"
     1782case "(($ac_try" in
     1783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1784  *) ac_try_echo=$ac_try;;
     1785esac
     1786eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1787$as_echo "$ac_try_echo"; } >&5
     1788  (eval "$ac_compile") 2>conftest.err
     1789  ac_status=$?
     1790  if test -s conftest.err; then
     1791    grep -v '^ *+' conftest.err >conftest.er1
     1792    cat conftest.er1 >&5
     1793    mv -f conftest.er1 conftest.err
     1794  fi
     1795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1796  test $ac_status = 0; } && {
     1797         test -z "$ac_cxx_werror_flag" ||
     1798         test ! -s conftest.err
     1799       } && test -s conftest.$ac_objext; then :
     1800  ac_retval=0
     1801else
     1802  $as_echo "$as_me: failed program was:" >&5
     1803sed 's/^/| /' conftest.$ac_ext >&5
     1804
     1805        ac_retval=1
     1806fi
     1807  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1808  as_fn_set_status $ac_retval
     1809
     1810} # ac_fn_cxx_try_compile
     1811
     1812# ac_fn_cxx_try_cpp LINENO
     1813# ------------------------
     1814# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1815ac_fn_cxx_try_cpp ()
     1816{
     1817  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1818  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1819case "(($ac_try" in
     1820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1821  *) ac_try_echo=$ac_try;;
     1822esac
     1823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1824$as_echo "$ac_try_echo"; } >&5
     1825  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1826  ac_status=$?
     1827  if test -s conftest.err; then
     1828    grep -v '^ *+' conftest.err >conftest.er1
     1829    cat conftest.er1 >&5
     1830    mv -f conftest.er1 conftest.err
     1831  fi
     1832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1833  test $ac_status = 0; } > conftest.i && {
     1834         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1835         test ! -s conftest.err
     1836       }; then :
     1837  ac_retval=0
     1838else
     1839  $as_echo "$as_me: failed program was:" >&5
     1840sed 's/^/| /' conftest.$ac_ext >&5
     1841
     1842    ac_retval=1
     1843fi
     1844  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1845  as_fn_set_status $ac_retval
     1846
     1847} # ac_fn_cxx_try_cpp
     1848
     1849# ac_fn_cxx_try_run LINENO
     1850# ------------------------
     1851# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1852# that executables *can* be run.
     1853ac_fn_cxx_try_run ()
     1854{
     1855  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1856  if { { ac_try="$ac_link"
     1857case "(($ac_try" in
     1858  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1859  *) ac_try_echo=$ac_try;;
     1860esac
     1861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1862$as_echo "$ac_try_echo"; } >&5
     1863  (eval "$ac_link") 2>&5
     1864  ac_status=$?
     1865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1866  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1867  { { case "(($ac_try" in
     1868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1869  *) ac_try_echo=$ac_try;;
     1870esac
     1871eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1872$as_echo "$ac_try_echo"; } >&5
     1873  (eval "$ac_try") 2>&5
     1874  ac_status=$?
     1875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1876  test $ac_status = 0; }; }; then :
     1877  ac_retval=0
     1878else
     1879  $as_echo "$as_me: program exited with status $ac_status" >&5
     1880       $as_echo "$as_me: failed program was:" >&5
     1881sed 's/^/| /' conftest.$ac_ext >&5
     1882
     1883       ac_retval=$ac_status
     1884fi
     1885  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1886  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1887  as_fn_set_status $ac_retval
     1888
     1889} # ac_fn_cxx_try_run
     1890
     1891# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1892# ----------------------------------------------
     1893# Tries to find the compile-time value of EXPR in a program that includes
     1894# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1895# computed
     1896ac_fn_cxx_compute_int ()
     1897{
     1898  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1899  if test "$cross_compiling" = yes; then
     1900    # Depending upon the size, compute the lo and hi bounds.
     1901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1902/* end confdefs.h.  */
     1903$4
     1904int
     1905main ()
     1906{
     1907static int test_array [1 - 2 * !(($2) >= 0)];
     1908test_array [0] = 0;
     1909return test_array [0];
     1910
     1911  ;
     1912  return 0;
     1913}
     1914_ACEOF
     1915if ac_fn_cxx_try_compile "$LINENO"; then :
     1916  ac_lo=0 ac_mid=0
     1917  while :; do
     1918    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1919/* end confdefs.h.  */
     1920$4
     1921int
     1922main ()
     1923{
     1924static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1925test_array [0] = 0;
     1926return test_array [0];
     1927
     1928  ;
     1929  return 0;
     1930}
     1931_ACEOF
     1932if ac_fn_cxx_try_compile "$LINENO"; then :
     1933  ac_hi=$ac_mid; break
     1934else
     1935  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1936                        if test $ac_lo -le $ac_mid; then
     1937                          ac_lo= ac_hi=
     1938                          break
     1939                        fi
     1940                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1941fi
     1942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1943  done
     1944else
     1945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1946/* end confdefs.h.  */
     1947$4
     1948int
     1949main ()
     1950{
     1951static int test_array [1 - 2 * !(($2) < 0)];
     1952test_array [0] = 0;
     1953return test_array [0];
     1954
     1955  ;
     1956  return 0;
     1957}
     1958_ACEOF
     1959if ac_fn_cxx_try_compile "$LINENO"; then :
     1960  ac_hi=-1 ac_mid=-1
     1961  while :; do
     1962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1963/* end confdefs.h.  */
     1964$4
     1965int
     1966main ()
     1967{
     1968static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1969test_array [0] = 0;
     1970return test_array [0];
     1971
     1972  ;
     1973  return 0;
     1974}
     1975_ACEOF
     1976if ac_fn_cxx_try_compile "$LINENO"; then :
     1977  ac_lo=$ac_mid; break
     1978else
     1979  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1980                        if test $ac_mid -le $ac_hi; then
     1981                          ac_lo= ac_hi=
     1982                          break
     1983                        fi
     1984                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1985fi
     1986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1987  done
     1988else
     1989  ac_lo= ac_hi=
     1990fi
     1991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1992fi
     1993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1994# Binary search between lo and hi bounds.
     1995while test "x$ac_lo" != "x$ac_hi"; do
     1996  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1998/* end confdefs.h.  */
     1999$4
     2000int
     2001main ()
     2002{
     2003static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2004test_array [0] = 0;
     2005return test_array [0];
     2006
     2007  ;
     2008  return 0;
     2009}
     2010_ACEOF
     2011if ac_fn_cxx_try_compile "$LINENO"; then :
     2012  ac_hi=$ac_mid
     2013else
     2014  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2015fi
     2016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2017done
     2018case $ac_lo in #((
     2019?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2020'') ac_retval=1 ;;
     2021esac
     2022  else
     2023    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2024/* end confdefs.h.  */
     2025$4
     2026static long int longval () { return $2; }
     2027static unsigned long int ulongval () { return $2; }
     2028#include <stdio.h>
     2029#include <stdlib.h>
     2030int
     2031main ()
     2032{
     2033
     2034  FILE *f = fopen ("conftest.val", "w");
     2035  if (! f)
     2036    return 1;
     2037  if (($2) < 0)
     2038    {
     2039      long int i = longval ();
     2040      if (i != ($2))
     2041        return 1;
     2042      fprintf (f, "%ld", i);
     2043    }
     2044  else
     2045    {
     2046      unsigned long int i = ulongval ();
     2047      if (i != ($2))
     2048        return 1;
     2049      fprintf (f, "%lu", i);
     2050    }
     2051  /* Do not output a trailing newline, as this causes \r\n confusion
     2052     on some platforms.  */
     2053  return ferror (f) || fclose (f) != 0;
     2054
     2055  ;
     2056  return 0;
     2057}
     2058_ACEOF
     2059if ac_fn_cxx_try_run "$LINENO"; then :
     2060  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2061else
     2062  ac_retval=1
     2063fi
     2064rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2065  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2066rm -f conftest.val
     2067
     2068  fi
     2069  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2070  as_fn_set_status $ac_retval
     2071
     2072} # ac_fn_cxx_compute_int
     2073
     2074# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2075# ---------------------------------------------------------
     2076# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2077# the include files in INCLUDES and setting the cache variable VAR
     2078# accordingly.
     2079ac_fn_cxx_check_header_mongrel ()
     2080{
     2081  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2082  if eval \${$3+:} false; then :
     2083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2084$as_echo_n "checking for $2... " >&6; }
     2085if eval \${$3+:} false; then :
     2086  $as_echo_n "(cached) " >&6
     2087fi
     2088eval ac_res=\$$3
     2089               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2090$as_echo "$ac_res" >&6; }
     2091else
     2092  # Is the header compilable?
     2093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2094$as_echo_n "checking $2 usability... " >&6; }
     2095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2096/* end confdefs.h.  */
     2097$4
     2098#include <$2>
     2099_ACEOF
     2100if ac_fn_cxx_try_compile "$LINENO"; then :
     2101  ac_header_compiler=yes
     2102else
     2103  ac_header_compiler=no
     2104fi
     2105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2107$as_echo "$ac_header_compiler" >&6; }
     2108
     2109# Is the header present?
     2110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2111$as_echo_n "checking $2 presence... " >&6; }
     2112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2113/* end confdefs.h.  */
     2114#include <$2>
     2115_ACEOF
     2116if ac_fn_cxx_try_cpp "$LINENO"; then :
     2117  ac_header_preproc=yes
     2118else
     2119  ac_header_preproc=no
     2120fi
     2121rm -f conftest.err conftest.i conftest.$ac_ext
     2122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2123$as_echo "$ac_header_preproc" >&6; }
     2124
     2125# So?  What about this header?
     2126case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2127  yes:no: )
     2128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2129$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2131$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2132    ;;
     2133  no:yes:* )
     2134    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2135$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2137$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2139$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2140    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2141$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2142    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2143$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2144( $as_echo "## ----------------------------------- ##
     2145## Report this to rappture@nanohub.org ##
     2146## ----------------------------------- ##"
     2147     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2148    ;;
     2149esac
     2150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2151$as_echo_n "checking for $2... " >&6; }
     2152if eval \${$3+:} false; then :
     2153  $as_echo_n "(cached) " >&6
     2154else
     2155  eval "$3=\$ac_header_compiler"
     2156fi
     2157eval ac_res=\$$3
     2158               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2159$as_echo "$ac_res" >&6; }
     2160fi
     2161  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2162
     2163} # ac_fn_cxx_check_header_mongrel
     2164
     2165# ac_fn_cxx_try_link LINENO
     2166# -------------------------
     2167# Try to link conftest.$ac_ext, and return whether this succeeded.
     2168ac_fn_cxx_try_link ()
     2169{
     2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2171  rm -f conftest.$ac_objext conftest$ac_exeext
     2172  if { { ac_try="$ac_link"
     2173case "(($ac_try" in
     2174  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2175  *) ac_try_echo=$ac_try;;
     2176esac
     2177eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2178$as_echo "$ac_try_echo"; } >&5
     2179  (eval "$ac_link") 2>conftest.err
     2180  ac_status=$?
     2181  if test -s conftest.err; then
     2182    grep -v '^ *+' conftest.err >conftest.er1
     2183    cat conftest.er1 >&5
     2184    mv -f conftest.er1 conftest.err
     2185  fi
     2186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2187  test $ac_status = 0; } && {
     2188         test -z "$ac_cxx_werror_flag" ||
     2189         test ! -s conftest.err
     2190       } && test -s conftest$ac_exeext && {
     2191         test "$cross_compiling" = yes ||
     2192         test -x conftest$ac_exeext
     2193       }; then :
     2194  ac_retval=0
     2195else
     2196  $as_echo "$as_me: failed program was:" >&5
     2197sed 's/^/| /' conftest.$ac_ext >&5
     2198
     2199        ac_retval=1
     2200fi
     2201  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2202  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2203  # interfere with the next link command; also delete a directory that is
     2204  # left behind by Apple's compiler.  We do this before executing the actions.
     2205  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2206  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2207  as_fn_set_status $ac_retval
     2208
     2209} # ac_fn_cxx_try_link
     2210
     2211# ac_fn_cxx_check_func LINENO FUNC VAR
     2212# ------------------------------------
     2213# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2214ac_fn_cxx_check_func ()
     2215{
     2216  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2218$as_echo_n "checking for $2... " >&6; }
     2219if eval \${$3+:} false; then :
     2220  $as_echo_n "(cached) " >&6
     2221else
     2222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2223/* end confdefs.h.  */
     2224/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2225   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2226#define $2 innocuous_$2
     2227
     2228/* System header to define __stub macros and hopefully few prototypes,
     2229    which can conflict with char $2 (); below.
     2230    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2231    <limits.h> exists even on freestanding compilers.  */
     2232
     2233#ifdef __STDC__
     2234# include <limits.h>
     2235#else
     2236# include <assert.h>
     2237#endif
     2238
     2239#undef $2
     2240
     2241/* Override any GCC internal prototype to avoid an error.
     2242   Use char because int might match the return type of a GCC
     2243   builtin and then its argument prototype would still apply.  */
     2244#ifdef __cplusplus
     2245extern "C"
     2246#endif
     2247char $2 ();
     2248/* The GNU C library defines this for functions which it implements
     2249    to always fail with ENOSYS.  Some functions are actually named
     2250    something starting with __ and the normal name is an alias.  */
     2251#if defined __stub_$2 || defined __stub___$2
     2252choke me
     2253#endif
     2254
     2255int
     2256main ()
     2257{
     2258return $2 ();
     2259  ;
     2260  return 0;
     2261}
     2262_ACEOF
     2263if ac_fn_cxx_try_link "$LINENO"; then :
     2264  eval "$3=yes"
     2265else
     2266  eval "$3=no"
     2267fi
     2268rm -f core conftest.err conftest.$ac_objext \
     2269    conftest$ac_exeext conftest.$ac_ext
     2270fi
     2271eval ac_res=\$$3
     2272               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2273$as_echo "$ac_res" >&6; }
     2274  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2275
     2276} # ac_fn_cxx_check_func
    15082277cat >config.log <<_ACEOF
    15092278This file contains any messages produced by compilers while
     
    15112280
    15122281It was created by vizservers $as_me 0.1, which was
    1513 generated by GNU Autoconf 2.63.  Invocation command line was
     2282generated by GNU Autoconf 2.69.  Invocation command line was
    15142283
    15152284  $ $0 $@
     
    15472316  IFS=$as_save_IFS
    15482317  test -z "$as_dir" && as_dir=.
    1549   $as_echo "PATH: $as_dir"
    1550 done
     2318    $as_echo "PATH: $as_dir"
     2319  done
    15512320IFS=$as_save_IFS
    15522321
     
    15852354    esac
    15862355    case $ac_pass in
    1587     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2356    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15882357    2)
    1589       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2358      as_fn_append ac_configure_args1 " '$ac_arg'"
    15902359      if test $ac_must_keep_next = true; then
    15912360        ac_must_keep_next=false # Got value, back to normal.
     
    16032372        esac
    16042373      fi
    1605       ac_configure_args="$ac_configure_args '$ac_arg'"
     2374      as_fn_append ac_configure_args " '$ac_arg'"
    16062375      ;;
    16072376    esac
    16082377  done
    16092378done
    1610 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1611 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2379{ ac_configure_args0=; unset ac_configure_args0;}
     2380{ ac_configure_args1=; unset ac_configure_args1;}
    16122381
    16132382# When interrupted or exit'd, cleanup temporary files, and complete
     
    16212390    echo
    16222391
    1623     cat <<\_ASBOX
    1624 ## ---------------- ##
     2392    $as_echo "## ---------------- ##
    16252393## Cache variables. ##
    1626 ## ---------------- ##
    1627 _ASBOX
     2394## ---------------- ##"
    16282395    echo
    16292396    # The following way of writing the cache mishandles newlines in values,
     
    16342401    *${as_nl}*)
    16352402      case $ac_var in #(
    1636       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2403      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16372404$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16382405      esac
     
    16402407      _ | IFS | as_nl) ;; #(
    16412408      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1642       *) $as_unset $ac_var ;;
     2409      *) { eval $ac_var=; unset $ac_var;} ;;
    16432410      esac ;;
    16442411    esac
     
    16592426    echo
    16602427
    1661     cat <<\_ASBOX
    1662 ## ----------------- ##
     2428    $as_echo "## ----------------- ##
    16632429## Output variables. ##
    1664 ## ----------------- ##
    1665 _ASBOX
     2430## ----------------- ##"
    16662431    echo
    16672432    for ac_var in $ac_subst_vars
     
    16762441
    16772442    if test -n "$ac_subst_files"; then
    1678       cat <<\_ASBOX
    1679 ## ------------------- ##
     2443      $as_echo "## ------------------- ##
    16802444## File substitutions. ##
    1681 ## ------------------- ##
    1682 _ASBOX
     2445## ------------------- ##"
    16832446      echo
    16842447      for ac_var in $ac_subst_files
     
    16942457
    16952458    if test -s confdefs.h; then
    1696       cat <<\_ASBOX
    1697 ## ----------- ##
     2459      $as_echo "## ----------- ##
    16982460## confdefs.h. ##
    1699 ## ----------- ##
    1700 _ASBOX
     2461## ----------- ##"
    17012462      echo
    17022463      cat confdefs.h
     
    17122473' 0
    17132474for ac_signal in 1 2 13 15; do
    1714   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2475  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17152476done
    17162477ac_signal=0
     
    17192480rm -f -r conftest* confdefs.h
    17202481
     2482$as_echo "/* confdefs.h */" > confdefs.h
     2483
    17212484# Predefined preprocessor variables.
    17222485
     
    17252488_ACEOF
    17262489
    1727 
    17282490cat >>confdefs.h <<_ACEOF
    17292491#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17302492_ACEOF
    17312493
    1732 
    17332494cat >>confdefs.h <<_ACEOF
    17342495#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17352496_ACEOF
    17362497
    1737 
    17382498cat >>confdefs.h <<_ACEOF
    17392499#define PACKAGE_STRING "$PACKAGE_STRING"
    17402500_ACEOF
    17412501
    1742 
    17432502cat >>confdefs.h <<_ACEOF
    17442503#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2504_ACEOF
     2505
     2506cat >>confdefs.h <<_ACEOF
     2507#define PACKAGE_URL "$PACKAGE_URL"
    17452508_ACEOF
    17462509
     
    17512514ac_site_file2=NONE
    17522515if test -n "$CONFIG_SITE"; then
    1753   ac_site_file1=$CONFIG_SITE
     2516  # We do not want a PATH search for config.site.
     2517  case $CONFIG_SITE in #((
     2518    -*)  ac_site_file1=./$CONFIG_SITE;;
     2519    */*) ac_site_file1=$CONFIG_SITE;;
     2520    *)   ac_site_file1=./$CONFIG_SITE;;
     2521  esac
    17542522elif test "x$prefix" != xNONE; then
    17552523  ac_site_file1=$prefix/share/config.site
     
    17622530do
    17632531  test "x$ac_site_file" = xNONE && continue
    1764   if test -r "$ac_site_file"; then
    1765     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2532  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2533    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17662534$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17672535    sed 's/^/| /' "$ac_site_file" >&5
    1768     . "$ac_site_file"
     2536    . "$ac_site_file" \
     2537      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2539as_fn_error $? "failed to load site script $ac_site_file
     2540See \`config.log' for more details" "$LINENO" 5; }
    17692541  fi
    17702542done
    17712543
    17722544if test -r "$cache_file"; then
    1773   # Some versions of bash will fail to source /dev/null (special
    1774   # files actually), so we avoid doing that.
    1775   if test -f "$cache_file"; then
    1776     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2545  # Some versions of bash will fail to source /dev/null (special files
     2546  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2547  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2548    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17772549$as_echo "$as_me: loading cache $cache_file" >&6;}
    17782550    case $cache_file in
     
    17822554  fi
    17832555else
    1784   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2556  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17852557$as_echo "$as_me: creating cache $cache_file" >&6;}
    17862558  >$cache_file
     
    17972569  case $ac_old_set,$ac_new_set in
    17982570    set,)
    1799       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2571      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18002572$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18012573      ac_cache_corrupted=: ;;
    18022574    ,set)
    1803       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2575      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18042576$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18052577      ac_cache_corrupted=: ;;
     
    18112583        ac_new_val_w=`echo x $ac_new_val`
    18122584        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1813           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2585          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18142586$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18152587          ac_cache_corrupted=:
    18162588        else
    1817           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2589          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18182590$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18192591          eval $ac_var=\$ac_old_val
    18202592        fi
    1821         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2593        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18222594$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1823         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2595        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18242596$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18252597      fi;;
     
    18332605    case " $ac_configure_args " in
    18342606      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1835       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2607      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18362608    esac
    18372609  fi
    18382610done
    18392611if $ac_cache_corrupted; then
    1840   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2612  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18412613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1842   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2614  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18432615$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1844   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1845 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1846    { (exit 1); exit 1; }; }
    1847 fi
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
    1871 
     2616  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2617fi
     2618## -------------------- ##
     2619## Main body of script. ##
     2620## -------------------- ##
    18722621
    18732622ac_ext=c
     
    18952644done
    18962645if test -z "$ac_aux_dir"; then
    1897   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1898 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1899    { (exit 1); exit 1; }; }
     2646  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19002647fi
    19012648
     
    19142661
    19152662# Check whether --with-tcllib was given.
    1916 if test "${with_tcllib+set}" = set; then
     2663if test "${with_tcllib+set}" = set; then :
    19172664  withval=$with_tcllib; with_tcllib=$withval
    19182665else
     
    19232670
    19242671# Check whether --with-rappture was given.
    1925 if test "${with_rappture+set}" = set; then
     2672if test "${with_rappture+set}" = set; then :
    19262673  withval=$with_rappture; with_rappture=$withval
    19272674else
     
    19322679
    19332680# Check whether --with-vtk-includes was given.
    1934 if test "${with_vtk_includes+set}" = set; then
     2681if test "${with_vtk_includes+set}" = set; then :
    19352682  withval=$with_vtk_includes; with_vtk_includes=$withval
    19362683else
     
    19412688
    19422689# Check whether --with-vtk-libs was given.
    1943 if test "${with_vtk_libs+set}" = set; then
     2690if test "${with_vtk_libs+set}" = set; then :
    19442691  withval=$with_vtk_libs; with_vtk_libs=$withval
    19452692else
     
    19502697
    19512698# Check whether --with-vtk was given.
    1952 if test "${with_vtk+set}" = set; then
     2699if test "${with_vtk+set}" = set; then :
    19532700  withval=$with_vtk; with_vtk=$withval
    19542701else
    19552702  with_vtk=yes
     2703fi
     2704
     2705
     2706
     2707# Check whether --with-ffmpeg was given.
     2708if test "${with_ffmpeg+set}" = set; then :
     2709  withval=$with_ffmpeg;
     2710else
     2711  with_ffmpeg=yes
    19562712fi
    19572713
     
    19652721  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19662722set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19682724$as_echo_n "checking for $ac_word... " >&6; }
    1969 if test "${ac_cv_prog_CC+set}" = set; then
     2725if ${ac_cv_prog_CC+:} false; then :
    19702726  $as_echo_n "(cached) " >&6
    19712727else
     
    19782734  IFS=$as_save_IFS
    19792735  test -z "$as_dir" && as_dir=.
    1980   for ac_exec_ext in '' $ac_executable_extensions; do
    1981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2736    for ac_exec_ext in '' $ac_executable_extensions; do
     2737  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19822738    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1983     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19842740    break 2
    19852741  fi
    19862742done
    1987 done
     2743  done
    19882744IFS=$as_save_IFS
    19892745
     
    19922748CC=$ac_cv_prog_CC
    19932749if test -n "$CC"; then
    1994   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19952751$as_echo "$CC" >&6; }
    19962752else
    1997   { $as_echo "$as_me:$LINENO: result: no" >&5
     2753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19982754$as_echo "no" >&6; }
    19992755fi
     
    20052761  # Extract the first word of "gcc", so it can be a program name with args.
    20062762set dummy gcc; ac_word=$2
    2007 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20082764$as_echo_n "checking for $ac_word... " >&6; }
    2009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2765if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20102766  $as_echo_n "(cached) " >&6
    20112767else
     
    20182774  IFS=$as_save_IFS
    20192775  test -z "$as_dir" && as_dir=.
    2020   for ac_exec_ext in '' $ac_executable_extensions; do
    2021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2776    for ac_exec_ext in '' $ac_executable_extensions; do
     2777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20222778    ac_cv_prog_ac_ct_CC="gcc"
    2023     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20242780    break 2
    20252781  fi
    20262782done
    2027 done
     2783  done
    20282784IFS=$as_save_IFS
    20292785
     
    20322788ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20332789if test -n "$ac_ct_CC"; then
    2034   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20352791$as_echo "$ac_ct_CC" >&6; }
    20362792else
    2037   { $as_echo "$as_me:$LINENO: result: no" >&5
     2793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20382794$as_echo "no" >&6; }
    20392795fi
     
    20442800    case $cross_compiling:$ac_tool_warned in
    20452801yes:)
    2046 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2802{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20472803$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20482804ac_tool_warned=yes ;;
     
    20582814    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20592815set dummy ${ac_tool_prefix}cc; ac_word=$2
    2060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20612817$as_echo_n "checking for $ac_word... " >&6; }
    2062 if test "${ac_cv_prog_CC+set}" = set; then
     2818if ${ac_cv_prog_CC+:} false; then :
    20632819  $as_echo_n "(cached) " >&6
    20642820else
     
    20712827  IFS=$as_save_IFS
    20722828  test -z "$as_dir" && as_dir=.
    2073   for ac_exec_ext in '' $ac_executable_extensions; do
    2074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2829    for ac_exec_ext in '' $ac_executable_extensions; do
     2830  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20752831    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2076     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20772833    break 2
    20782834  fi
    20792835done
    2080 done
     2836  done
    20812837IFS=$as_save_IFS
    20822838
     
    20852841CC=$ac_cv_prog_CC
    20862842if test -n "$CC"; then
    2087   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20882844$as_echo "$CC" >&6; }
    20892845else
    2090   { $as_echo "$as_me:$LINENO: result: no" >&5
     2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20912847$as_echo "no" >&6; }
    20922848fi
     
    20982854  # Extract the first word of "cc", so it can be a program name with args.
    20992855set dummy cc; ac_word=$2
    2100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21012857$as_echo_n "checking for $ac_word... " >&6; }
    2102 if test "${ac_cv_prog_CC+set}" = set; then
     2858if ${ac_cv_prog_CC+:} false; then :
    21032859  $as_echo_n "(cached) " >&6
    21042860else
     
    21122868  IFS=$as_save_IFS
    21132869  test -z "$as_dir" && as_dir=.
    2114   for ac_exec_ext in '' $ac_executable_extensions; do
    2115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2870    for ac_exec_ext in '' $ac_executable_extensions; do
     2871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21162872    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21172873       ac_prog_rejected=yes
     
    21192875     fi
    21202876    ac_cv_prog_CC="cc"
    2121     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21222878    break 2
    21232879  fi
    21242880done
    2125 done
     2881  done
    21262882IFS=$as_save_IFS
    21272883
     
    21422898CC=$ac_cv_prog_CC
    21432899if test -n "$CC"; then
    2144   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21452901$as_echo "$CC" >&6; }
    21462902else
    2147   { $as_echo "$as_me:$LINENO: result: no" >&5
     2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21482904$as_echo "no" >&6; }
    21492905fi
     
    21572913    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21582914set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21602916$as_echo_n "checking for $ac_word... " >&6; }
    2161 if test "${ac_cv_prog_CC+set}" = set; then
     2917if ${ac_cv_prog_CC+:} false; then :
    21622918  $as_echo_n "(cached) " >&6
    21632919else
     
    21702926  IFS=$as_save_IFS
    21712927  test -z "$as_dir" && as_dir=.
    2172   for ac_exec_ext in '' $ac_executable_extensions; do
    2173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2928    for ac_exec_ext in '' $ac_executable_extensions; do
     2929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21742930    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2175     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21762932    break 2
    21772933  fi
    21782934done
    2179 done
     2935  done
    21802936IFS=$as_save_IFS
    21812937
     
    21842940CC=$ac_cv_prog_CC
    21852941if test -n "$CC"; then
    2186   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21872943$as_echo "$CC" >&6; }
    21882944else
    2189   { $as_echo "$as_me:$LINENO: result: no" >&5
     2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21902946$as_echo "no" >&6; }
    21912947fi
     
    22012957  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22022958set dummy $ac_prog; ac_word=$2
    2203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22042960$as_echo_n "checking for $ac_word... " >&6; }
    2205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2961if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22062962  $as_echo_n "(cached) " >&6
    22072963else
     
    22142970  IFS=$as_save_IFS
    22152971  test -z "$as_dir" && as_dir=.
    2216   for ac_exec_ext in '' $ac_executable_extensions; do
    2217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2972    for ac_exec_ext in '' $ac_executable_extensions; do
     2973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22182974    ac_cv_prog_ac_ct_CC="$ac_prog"
    2219     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22202976    break 2
    22212977  fi
    22222978done
    2223 done
     2979  done
    22242980IFS=$as_save_IFS
    22252981
     
    22282984ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22292985if test -n "$ac_ct_CC"; then
    2230   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22312987$as_echo "$ac_ct_CC" >&6; }
    22322988else
    2233   { $as_echo "$as_me:$LINENO: result: no" >&5
     2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22342990$as_echo "no" >&6; }
    22352991fi
     
    22443000    case $cross_compiling:$ac_tool_warned in
    22453001yes:)
    2246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22473003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22483004ac_tool_warned=yes ;;
     
    22553011
    22563012
    2257 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3013test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22583014$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2259 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2260 See \`config.log' for more details." >&5
    2261 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2262 See \`config.log' for more details." >&2;}
    2263    { (exit 1); exit 1; }; }; }
     3015as_fn_error $? "no acceptable C compiler found in \$PATH
     3016See \`config.log' for more details" "$LINENO" 5; }
    22643017
    22653018# Provide some information about the compiler.
    2266 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3019$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22673020set X $ac_compile
    22683021ac_compiler=$2
    2269 { (ac_try="$ac_compiler --version >&5"
     3022for ac_option in --version -v -V -qversion; do
     3023  { { ac_try="$ac_compiler $ac_option >&5"
    22703024case "(($ac_try" in
    22713025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22723026  *) ac_try_echo=$ac_try;;
    22733027esac
    2274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2275 $as_echo "$ac_try_echo") >&5
    2276   (eval "$ac_compiler --version >&5") 2>&5
     3028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3029$as_echo "$ac_try_echo"; } >&5
     3030  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22773031  ac_status=$?
    2278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2279   (exit $ac_status); }
    2280 { (ac_try="$ac_compiler -v >&5"
    2281 case "(($ac_try" in
    2282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2283   *) ac_try_echo=$ac_try;;
    2284 esac
    2285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2286 $as_echo "$ac_try_echo") >&5
    2287   (eval "$ac_compiler -v >&5") 2>&5
    2288   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 
    2303 cat >conftest.$ac_ext <<_ACEOF
    2304 /* confdefs.h.  */
    2305 _ACEOF
    2306 cat confdefs.h >>conftest.$ac_ext
    2307 cat >>conftest.$ac_ext <<_ACEOF
     3032  if test -s conftest.err; then
     3033    sed '10a\
     3034... rest of stderr output deleted ...
     3035         10q' conftest.err >conftest.er1
     3036    cat conftest.er1 >&5
     3037  fi
     3038  rm -f conftest.er1 conftest.err
     3039  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3040  test $ac_status = 0; }
     3041done
     3042
     3043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23083044/* end confdefs.h.  */
    23093045
     
    23213057# It will help us diagnose broken compilers, and finding out an intuition
    23223058# of exeext.
    2323 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2324 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3060$as_echo_n "checking whether the C compiler works... " >&6; }
    23253061ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23263062
     
    23383074rm -f $ac_rmfiles
    23393075
    2340 if { (ac_try="$ac_link_default"
     3076if { { ac_try="$ac_link_default"
    23413077case "(($ac_try" in
    23423078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23433079  *) ac_try_echo=$ac_try;;
    23443080esac
    2345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2346 $as_echo "$ac_try_echo") >&5
     3081eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3082$as_echo "$ac_try_echo"; } >&5
    23473083  (eval "$ac_link_default") 2>&5
    23483084  ac_status=$?
    2349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2350   (exit $ac_status); }; then
     3085  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3086  test $ac_status = 0; }; then :
    23513087  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23523088# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23653101        break;;
    23663102    *.* )
    2367         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3103        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23683104        then :; else
    23693105           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23843120  ac_file=''
    23853121fi
    2386 
    2387 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3122if test -z "$ac_file"; then :
     3123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3124$as_echo "no" >&6; }
     3125$as_echo "$as_me: failed program was:" >&5
     3126sed 's/^/| /' conftest.$ac_ext >&5
     3127
     3128{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3130as_fn_error 77 "C compiler cannot create executables
     3131See \`config.log' for more details" "$LINENO" 5; }
     3132else
     3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3134$as_echo "yes" >&6; }
     3135fi
     3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3137$as_echo_n "checking for C compiler default output file name... " >&6; }
     3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23883139$as_echo "$ac_file" >&6; }
    2389 if test -z "$ac_file"; then
    2390   $as_echo "$as_me: failed program was:" >&5
    2391 sed 's/^/| /' conftest.$ac_ext >&5
    2392 
    2393 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2395 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2396 See \`config.log' for more details." >&5
    2397 $as_echo "$as_me: error: C compiler cannot create executables
    2398 See \`config.log' for more details." >&2;}
    2399    { (exit 77); exit 77; }; }; }
    2400 fi
    2401 
    24023140ac_exeext=$ac_cv_exeext
    2403 
    2404 # Check that the compiler produces executables we can run.  If not, either
    2405 # the compiler is broken, or we cross compile.
    2406 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2407 $as_echo_n "checking whether the C compiler works... " >&6; }
    2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2409 # If not cross compiling, check that we can run a simple program.
    2410 if test "$cross_compiling" != yes; then
    2411   if { ac_try='./$ac_file'
    2412   { (case "(($ac_try" in
    2413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2414   *) ac_try_echo=$ac_try;;
    2415 esac
    2416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2417 $as_echo "$ac_try_echo") >&5
    2418   (eval "$ac_try") 2>&5
    2419   ac_status=$?
    2420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2421   (exit $ac_status); }; }; then
    2422     cross_compiling=no
    2423   else
    2424     if test "$cross_compiling" = maybe; then
    2425         cross_compiling=yes
    2426     else
    2427         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2429 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2430 If you meant to cross compile, use \`--host'.
    2431 See \`config.log' for more details." >&5
    2432 $as_echo "$as_me: error: cannot run C compiled programs.
    2433 If you meant to cross compile, use \`--host'.
    2434 See \`config.log' for more details." >&2;}
    2435    { (exit 1); exit 1; }; }; }
    2436     fi
    2437   fi
    2438 fi
    2439 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2440 $as_echo "yes" >&6; }
    24413141
    24423142rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24433143ac_clean_files=$ac_clean_files_save
    2444 # Check that the compiler produces executables we can run.  If not, either
    2445 # the compiler is broken, or we cross compile.
    2446 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2447 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2448 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2449 $as_echo "$cross_compiling" >&6; }
    2450 
    2451 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24523145$as_echo_n "checking for suffix of executables... " >&6; }
    2453 if { (ac_try="$ac_link"
     3146if { { ac_try="$ac_link"
    24543147case "(($ac_try" in
    24553148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24563149  *) ac_try_echo=$ac_try;;
    24573150esac
    2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2459 $as_echo "$ac_try_echo") >&5
     3151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3152$as_echo "$ac_try_echo"; } >&5
    24603153  (eval "$ac_link") 2>&5
    24613154  ac_status=$?
    2462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2463   (exit $ac_status); }; then
     3155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3156  test $ac_status = 0; }; then :
    24643157  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24653158# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24763169done
    24773170else
    2478   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3171  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24793172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2480 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2481 See \`config.log' for more details." >&5
    2482 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2483 See \`config.log' for more details." >&2;}
    2484    { (exit 1); exit 1; }; }; }
    2485 fi
    2486 
    2487 rm -f conftest$ac_cv_exeext
    2488 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3173as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3174See \`config.log' for more details" "$LINENO" 5; }
     3175fi
     3176rm -f conftest conftest$ac_cv_exeext
     3177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24893178$as_echo "$ac_cv_exeext" >&6; }
    24903179
     
    24923181EXEEXT=$ac_cv_exeext
    24933182ac_exeext=$EXEEXT
    2494 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2495 $as_echo_n "checking for suffix of object files... " >&6; }
    2496 if test "${ac_cv_objext+set}" = set; then
    2497   $as_echo_n "(cached) " >&6
    2498 else
    2499   cat >conftest.$ac_ext <<_ACEOF
    2500 /* confdefs.h.  */
    2501 _ACEOF
    2502 cat confdefs.h >>conftest.$ac_ext
    2503 cat >>conftest.$ac_ext <<_ACEOF
     3183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25043184/* end confdefs.h.  */
    2505 
     3185#include <stdio.h>
    25063186int
    25073187main ()
    25083188{
     3189FILE *f = fopen ("conftest.out", "w");
     3190 return ferror (f) || fclose (f) != 0;
    25093191
    25103192  ;
     
    25123194}
    25133195_ACEOF
    2514 rm -f conftest.o conftest.obj
    2515 if { (ac_try="$ac_compile"
     3196ac_clean_files="$ac_clean_files conftest.out"
     3197# Check that the compiler produces executables we can run.  If not, either
     3198# the compiler is broken, or we cross compile.
     3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3200$as_echo_n "checking whether we are cross compiling... " >&6; }
     3201if test "$cross_compiling" != yes; then
     3202  { { ac_try="$ac_link"
    25163203case "(($ac_try" in
    25173204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25183205  *) ac_try_echo=$ac_try;;
    25193206esac
    2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2521 $as_echo "$ac_try_echo") >&5
     3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3208$as_echo "$ac_try_echo"; } >&5
     3209  (eval "$ac_link") 2>&5
     3210  ac_status=$?
     3211  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3212  test $ac_status = 0; }
     3213  if { ac_try='./conftest$ac_cv_exeext'
     3214  { { case "(($ac_try" in
     3215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3216  *) ac_try_echo=$ac_try;;
     3217esac
     3218eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3219$as_echo "$ac_try_echo"; } >&5
     3220  (eval "$ac_try") 2>&5
     3221  ac_status=$?
     3222  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3223  test $ac_status = 0; }; }; then
     3224    cross_compiling=no
     3225  else
     3226    if test "$cross_compiling" = maybe; then
     3227        cross_compiling=yes
     3228    else
     3229        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3231as_fn_error $? "cannot run C compiled programs.
     3232If you meant to cross compile, use \`--host'.
     3233See \`config.log' for more details" "$LINENO" 5; }
     3234    fi
     3235  fi
     3236fi
     3237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3238$as_echo "$cross_compiling" >&6; }
     3239
     3240rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3241ac_clean_files=$ac_clean_files_save
     3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3243$as_echo_n "checking for suffix of object files... " >&6; }
     3244if ${ac_cv_objext+:} false; then :
     3245  $as_echo_n "(cached) " >&6
     3246else
     3247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3248/* end confdefs.h.  */
     3249
     3250int
     3251main ()
     3252{
     3253
     3254  ;
     3255  return 0;
     3256}
     3257_ACEOF
     3258rm -f conftest.o conftest.obj
     3259if { { ac_try="$ac_compile"
     3260case "(($ac_try" in
     3261  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3262  *) ac_try_echo=$ac_try;;
     3263esac
     3264eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3265$as_echo "$ac_try_echo"; } >&5
    25223266  (eval "$ac_compile") 2>&5
    25233267  ac_status=$?
    2524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2525   (exit $ac_status); }; then
     3268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3269  test $ac_status = 0; }; then :
    25263270  for ac_file in conftest.o conftest.obj conftest.*; do
    25273271  test -f "$ac_file" || continue;
     
    25363280sed 's/^/| /' conftest.$ac_ext >&5
    25373281
    2538 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3282{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25393283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2540 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2541 See \`config.log' for more details." >&5
    2542 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2543 See \`config.log' for more details." >&2;}
    2544    { (exit 1); exit 1; }; }; }
    2545 fi
    2546 
     3284as_fn_error $? "cannot compute suffix of object files: cannot compile
     3285See \`config.log' for more details" "$LINENO" 5; }
     3286fi
    25473287rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25483288fi
    2549 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25503290$as_echo "$ac_cv_objext" >&6; }
    25513291OBJEXT=$ac_cv_objext
    25523292ac_objext=$OBJEXT
    2553 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25543294$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3295if ${ac_cv_c_compiler_gnu+:} false; then :
    25563296  $as_echo_n "(cached) " >&6
    25573297else
    2558   cat >conftest.$ac_ext <<_ACEOF
    2559 /* confdefs.h.  */
    2560 _ACEOF
    2561 cat confdefs.h >>conftest.$ac_ext
    2562 cat >>conftest.$ac_ext <<_ACEOF
     3298  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25633299/* end confdefs.h.  */
    25643300
     
    25743310}
    25753311_ACEOF
    2576 rm -f conftest.$ac_objext
    2577 if { (ac_try="$ac_compile"
    2578 case "(($ac_try" in
    2579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2580   *) ac_try_echo=$ac_try;;
    2581 esac
    2582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2583 $as_echo "$ac_try_echo") >&5
    2584   (eval "$ac_compile") 2>conftest.er1
    2585   ac_status=$?
    2586   grep -v '^ *+' conftest.er1 >conftest.err
    2587   rm -f conftest.er1
    2588   cat conftest.err >&5
    2589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2590   (exit $ac_status); } && {
    2591          test -z "$ac_c_werror_flag" ||
    2592          test ! -s conftest.err
    2593        } && test -s conftest.$ac_objext; then
     3312if ac_fn_c_try_compile "$LINENO"; then :
    25943313  ac_compiler_gnu=yes
    25953314else
    2596   $as_echo "$as_me: failed program was:" >&5
    2597 sed 's/^/| /' conftest.$ac_ext >&5
    2598 
    2599         ac_compiler_gnu=no
    2600 fi
    2601 
     3315  ac_compiler_gnu=no
     3316fi
    26023317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26033318ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26043319
    26053320fi
    2606 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26073322$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26083323if test $ac_compiler_gnu = yes; then
     
    26133328ac_test_CFLAGS=${CFLAGS+set}
    26143329ac_save_CFLAGS=$CFLAGS
    2615 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26163331$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2617 if test "${ac_cv_prog_cc_g+set}" = set; then
     3332if ${ac_cv_prog_cc_g+:} false; then :
    26183333  $as_echo_n "(cached) " >&6
    26193334else
     
    26223337   ac_cv_prog_cc_g=no
    26233338   CFLAGS="-g"
    2624    cat >conftest.$ac_ext <<_ACEOF
    2625 /* confdefs.h.  */
    2626 _ACEOF
    2627 cat confdefs.h >>conftest.$ac_ext
    2628 cat >>conftest.$ac_ext <<_ACEOF
     3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26293340/* end confdefs.h.  */
    26303341
     
    26373348}
    26383349_ACEOF
    2639 rm -f conftest.$ac_objext
    2640 if { (ac_try="$ac_compile"
    2641 case "(($ac_try" in
    2642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2643   *) ac_try_echo=$ac_try;;
    2644 esac
    2645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2646 $as_echo "$ac_try_echo") >&5
    2647   (eval "$ac_compile") 2>conftest.er1
    2648   ac_status=$?
    2649   grep -v '^ *+' conftest.er1 >conftest.err
    2650   rm -f conftest.er1
    2651   cat conftest.err >&5
    2652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2653   (exit $ac_status); } && {
    2654          test -z "$ac_c_werror_flag" ||
    2655          test ! -s conftest.err
    2656        } && test -s conftest.$ac_objext; then
     3350if ac_fn_c_try_compile "$LINENO"; then :
    26573351  ac_cv_prog_cc_g=yes
    26583352else
    2659   $as_echo "$as_me: failed program was:" >&5
    2660 sed 's/^/| /' conftest.$ac_ext >&5
    2661 
    2662         CFLAGS=""
    2663       cat >conftest.$ac_ext <<_ACEOF
    2664 /* confdefs.h.  */
    2665 _ACEOF
    2666 cat confdefs.h >>conftest.$ac_ext
    2667 cat >>conftest.$ac_ext <<_ACEOF
     3353  CFLAGS=""
     3354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26683355/* end confdefs.h.  */
    26693356
     
    26763363}
    26773364_ACEOF
    2678 rm -f conftest.$ac_objext
    2679 if { (ac_try="$ac_compile"
    2680 case "(($ac_try" in
    2681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2682   *) ac_try_echo=$ac_try;;
    2683 esac
    2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2685 $as_echo "$ac_try_echo") >&5
    2686   (eval "$ac_compile") 2>conftest.er1
    2687   ac_status=$?
    2688   grep -v '^ *+' conftest.er1 >conftest.err
    2689   rm -f conftest.er1
    2690   cat conftest.err >&5
    2691   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2692   (exit $ac_status); } && {
    2693          test -z "$ac_c_werror_flag" ||
    2694          test ! -s conftest.err
    2695        } && test -s conftest.$ac_objext; then
    2696   :
    2697 else
    2698   $as_echo "$as_me: failed program was:" >&5
    2699 sed 's/^/| /' conftest.$ac_ext >&5
    2700 
    2701         ac_c_werror_flag=$ac_save_c_werror_flag
     3365if ac_fn_c_try_compile "$LINENO"; then :
     3366
     3367else
     3368  ac_c_werror_flag=$ac_save_c_werror_flag
    27023369         CFLAGS="-g"
    2703          cat >conftest.$ac_ext <<_ACEOF
    2704 /* confdefs.h.  */
    2705 _ACEOF
    2706 cat confdefs.h >>conftest.$ac_ext
    2707 cat >>conftest.$ac_ext <<_ACEOF
     3370         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27083371/* end confdefs.h.  */
    27093372
     
    27163379}
    27173380_ACEOF
    2718 rm -f conftest.$ac_objext
    2719 if { (ac_try="$ac_compile"
    2720 case "(($ac_try" in
    2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2722   *) ac_try_echo=$ac_try;;
    2723 esac
    2724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2725 $as_echo "$ac_try_echo") >&5
    2726   (eval "$ac_compile") 2>conftest.er1
    2727   ac_status=$?
    2728   grep -v '^ *+' conftest.er1 >conftest.err
    2729   rm -f conftest.er1
    2730   cat conftest.err >&5
    2731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2732   (exit $ac_status); } && {
    2733          test -z "$ac_c_werror_flag" ||
    2734          test ! -s conftest.err
    2735        } && test -s conftest.$ac_objext; then
     3381if ac_fn_c_try_compile "$LINENO"; then :
    27363382  ac_cv_prog_cc_g=yes
    2737 else
    2738   $as_echo "$as_me: failed program was:" >&5
    2739 sed 's/^/| /' conftest.$ac_ext >&5
    2740 
    2741 
    2742 fi
    2743 
     3383fi
    27443384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27453385fi
    2746 
    27473386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27483387fi
    2749 
    27503388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27513389   ac_c_werror_flag=$ac_save_c_werror_flag
    27523390fi
    2753 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27543392$as_echo "$ac_cv_prog_cc_g" >&6; }
    27553393if test "$ac_test_CFLAGS" = set; then
     
    27683406  fi
    27693407fi
    2770 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27713409$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2772 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3410if ${ac_cv_prog_cc_c89+:} false; then :
    27733411  $as_echo_n "(cached) " >&6
    27743412else
    27753413  ac_cv_prog_cc_c89=no
    27763414ac_save_CC=$CC
    2777 cat >conftest.$ac_ext <<_ACEOF
    2778 /* confdefs.h.  */
    2779 _ACEOF
    2780 cat confdefs.h >>conftest.$ac_ext
    2781 cat >>conftest.$ac_ext <<_ACEOF
     3415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27823416/* end confdefs.h.  */
    27833417#include <stdarg.h>
    27843418#include <stdio.h>
    2785 #include <sys/types.h>
    2786 #include <sys/stat.h>
     3419struct stat;
    27873420/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27883421struct buf { int x; };
     
    28363469do
    28373470  CC="$ac_save_CC $ac_arg"
    2838   rm -f conftest.$ac_objext
    2839 if { (ac_try="$ac_compile"
    2840 case "(($ac_try" in
    2841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2842   *) ac_try_echo=$ac_try;;
    2843 esac
    2844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2845 $as_echo "$ac_try_echo") >&5
    2846   (eval "$ac_compile") 2>conftest.er1
    2847   ac_status=$?
    2848   grep -v '^ *+' conftest.er1 >conftest.err
    2849   rm -f conftest.er1
    2850   cat conftest.err >&5
    2851   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2852   (exit $ac_status); } && {
    2853          test -z "$ac_c_werror_flag" ||
    2854          test ! -s conftest.err
    2855        } && test -s conftest.$ac_objext; then
     3471  if ac_fn_c_try_compile "$LINENO"; then :
    28563472  ac_cv_prog_cc_c89=$ac_arg
    2857 else
    2858   $as_echo "$as_me: failed program was:" >&5
    2859 sed 's/^/| /' conftest.$ac_ext >&5
    2860 
    2861 
    2862 fi
    2863 
     3473fi
    28643474rm -f core conftest.err conftest.$ac_objext
    28653475  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28723482case "x$ac_cv_prog_cc_c89" in
    28733483  x)
    2874     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28753485$as_echo "none needed" >&6; } ;;
    28763486  xno)
    2877     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28783488$as_echo "unsupported" >&6; } ;;
    28793489  *)
    28803490    CC="$CC $ac_cv_prog_cc_c89"
    2881     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28823492$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28833493esac
    2884 
     3494if test "x$ac_cv_prog_cc_c89" != xno; then :
     3495
     3496fi
    28853497
    28863498ac_ext=c
     
    28963508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28973509ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2898 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    28993511$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29003512# On Suns, sometimes $CPP names a directory.
     
    29033515fi
    29043516if test -z "$CPP"; then
    2905   if test "${ac_cv_prog_CPP+set}" = set; then
     3517  if ${ac_cv_prog_CPP+:} false; then :
    29063518  $as_echo_n "(cached) " >&6
    29073519else
     
    29183530  # On the NeXT, cc -E runs the code through the compiler's parser,
    29193531  # not just through cpp. "Syntax error" is here to catch this case.
    2920   cat >conftest.$ac_ext <<_ACEOF
    2921 /* confdefs.h.  */
    2922 _ACEOF
    2923 cat confdefs.h >>conftest.$ac_ext
    2924 cat >>conftest.$ac_ext <<_ACEOF
     3532  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29253533/* end confdefs.h.  */
    29263534#ifdef __STDC__
     
    29313539                     Syntax error
    29323540_ACEOF
    2933 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2934 case "(($ac_try" in
    2935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2936   *) ac_try_echo=$ac_try;;
    2937 esac
    2938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2939 $as_echo "$ac_try_echo") >&5
    2940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2941   ac_status=$?
    2942   grep -v '^ *+' conftest.er1 >conftest.err
    2943   rm -f conftest.er1
    2944   cat conftest.err >&5
    2945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2946   (exit $ac_status); } >/dev/null && {
    2947          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2948          test ! -s conftest.err
    2949        }; then
    2950   :
    2951 else
    2952   $as_echo "$as_me: failed program was:" >&5
    2953 sed 's/^/| /' conftest.$ac_ext >&5
    2954 
     3541if ac_fn_c_try_cpp "$LINENO"; then :
     3542
     3543else
    29553544  # Broken: fails on valid input.
    29563545continue
    29573546fi
    2958 
    2959 rm -f conftest.err conftest.$ac_ext
     3547rm -f conftest.err conftest.i conftest.$ac_ext
    29603548
    29613549  # OK, works on sane cases.  Now check whether nonexistent headers
    29623550  # can be detected and how.
    2963   cat >conftest.$ac_ext <<_ACEOF
    2964 /* confdefs.h.  */
    2965 _ACEOF
    2966 cat confdefs.h >>conftest.$ac_ext
    2967 cat >>conftest.$ac_ext <<_ACEOF
     3551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29683552/* end confdefs.h.  */
    29693553#include <ac_nonexistent.h>
    29703554_ACEOF
    2971 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2972 case "(($ac_try" in
    2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2974   *) ac_try_echo=$ac_try;;
    2975 esac
    2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2977 $as_echo "$ac_try_echo") >&5
    2978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2979   ac_status=$?
    2980   grep -v '^ *+' conftest.er1 >conftest.err
    2981   rm -f conftest.er1
    2982   cat conftest.err >&5
    2983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2984   (exit $ac_status); } >/dev/null && {
    2985          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2986          test ! -s conftest.err
    2987        }; then
     3555if ac_fn_c_try_cpp "$LINENO"; then :
    29883556  # Broken: success on invalid input.
    29893557continue
    29903558else
    2991   $as_echo "$as_me: failed program was:" >&5
    2992 sed 's/^/| /' conftest.$ac_ext >&5
    2993 
    29943559  # Passes both tests.
    29953560ac_preproc_ok=:
    29963561break
    29973562fi
    2998 
    2999 rm -f conftest.err conftest.$ac_ext
     3563rm -f conftest.err conftest.i conftest.$ac_ext
    30003564
    30013565done
    30023566# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3003 rm -f conftest.err conftest.$ac_ext
    3004 if $ac_preproc_ok; then
     3567rm -f conftest.i conftest.err conftest.$ac_ext
     3568if $ac_preproc_ok; then :
    30053569  break
    30063570fi
     
    30143578  ac_cv_prog_CPP=$CPP
    30153579fi
    3016 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30173581$as_echo "$CPP" >&6; }
    30183582ac_preproc_ok=false
     
    30253589  # On the NeXT, cc -E runs the code through the compiler's parser,
    30263590  # not just through cpp. "Syntax error" is here to catch this case.
    3027   cat >conftest.$ac_ext <<_ACEOF
    3028 /* confdefs.h.  */
    3029 _ACEOF
    3030 cat confdefs.h >>conftest.$ac_ext
    3031 cat >>conftest.$ac_ext <<_ACEOF
     3591  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30323592/* end confdefs.h.  */
    30333593#ifdef __STDC__
     
    30383598                     Syntax error
    30393599_ACEOF
    3040 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3041 case "(($ac_try" in
    3042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3043   *) ac_try_echo=$ac_try;;
    3044 esac
    3045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3046 $as_echo "$ac_try_echo") >&5
    3047   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3048   ac_status=$?
    3049   grep -v '^ *+' conftest.er1 >conftest.err
    3050   rm -f conftest.er1
    3051   cat conftest.err >&5
    3052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3053   (exit $ac_status); } >/dev/null && {
    3054          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3055          test ! -s conftest.err
    3056        }; then
    3057   :
    3058 else
    3059   $as_echo "$as_me: failed program was:" >&5
    3060 sed 's/^/| /' conftest.$ac_ext >&5
    3061 
     3600if ac_fn_c_try_cpp "$LINENO"; then :
     3601
     3602else
    30623603  # Broken: fails on valid input.
    30633604continue
    30643605fi
    3065 
    3066 rm -f conftest.err conftest.$ac_ext
     3606rm -f conftest.err conftest.i conftest.$ac_ext
    30673607
    30683608  # OK, works on sane cases.  Now check whether nonexistent headers
    30693609  # can be detected and how.
    3070   cat >conftest.$ac_ext <<_ACEOF
    3071 /* confdefs.h.  */
    3072 _ACEOF
    3073 cat confdefs.h >>conftest.$ac_ext
    3074 cat >>conftest.$ac_ext <<_ACEOF
     3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30753611/* end confdefs.h.  */
    30763612#include <ac_nonexistent.h>
    30773613_ACEOF
    3078 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3079 case "(($ac_try" in
    3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3081   *) ac_try_echo=$ac_try;;
    3082 esac
    3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3084 $as_echo "$ac_try_echo") >&5
    3085   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3086   ac_status=$?
    3087   grep -v '^ *+' conftest.er1 >conftest.err
    3088   rm -f conftest.er1
    3089   cat conftest.err >&5
    3090   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3091   (exit $ac_status); } >/dev/null && {
    3092          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3093          test ! -s conftest.err
    3094        }; then
     3614if ac_fn_c_try_cpp "$LINENO"; then :
    30953615  # Broken: success on invalid input.
    30963616continue
    30973617else
    3098   $as_echo "$as_me: failed program was:" >&5
    3099 sed 's/^/| /' conftest.$ac_ext >&5
    3100 
    31013618  # Passes both tests.
    31023619ac_preproc_ok=:
    31033620break
    31043621fi
    3105 
    3106 rm -f conftest.err conftest.$ac_ext
     3622rm -f conftest.err conftest.i conftest.$ac_ext
    31073623
    31083624done
    31093625# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3110 rm -f conftest.err conftest.$ac_ext
    3111 if $ac_preproc_ok; then
    3112   :
    3113 else
    3114   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3626rm -f conftest.i conftest.err conftest.$ac_ext
     3627if $ac_preproc_ok; then :
     3628
     3629else
     3630  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31153631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3116 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3117 See \`config.log' for more details." >&5
    3118 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3119 See \`config.log' for more details." >&2;}
    3120    { (exit 1); exit 1; }; }; }
     3632as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3633See \`config.log' for more details" "$LINENO" 5; }
    31213634fi
    31223635
     
    31283641
    31293642
    3130 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31313644$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3132 if test "${ac_cv_path_GREP+set}" = set; then
     3645if ${ac_cv_path_GREP+:} false; then :
    31333646  $as_echo_n "(cached) " >&6
    31343647else
     
    31413654  IFS=$as_save_IFS
    31423655  test -z "$as_dir" && as_dir=.
    3143   for ac_prog in grep ggrep; do
     3656    for ac_prog in grep ggrep; do
    31443657    for ac_exec_ext in '' $ac_executable_extensions; do
    31453658      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3146       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3659      as_fn_executable_p "$ac_path_GREP" || continue
    31473660# Check for GNU ac_path_GREP and select it if it is found.
    31483661  # Check for GNU $ac_path_GREP
     
    31613674    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31623675    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3163     ac_count=`expr $ac_count + 1`
     3676    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31643677    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31653678      # Best one so far, save it but keep looking for a better one
     
    31763689    done
    31773690  done
    3178 done
     3691  done
    31793692IFS=$as_save_IFS
    31803693  if test -z "$ac_cv_path_GREP"; then
    3181     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3182 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3183    { (exit 1); exit 1; }; }
     3694    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31843695  fi
    31853696else
     
    31883699
    31893700fi
    3190 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    31913702$as_echo "$ac_cv_path_GREP" >&6; }
    31923703 GREP="$ac_cv_path_GREP"
    31933704
    31943705
    3195 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    31963707$as_echo_n "checking for egrep... " >&6; }
    3197 if test "${ac_cv_path_EGREP+set}" = set; then
     3708if ${ac_cv_path_EGREP+:} false; then :
    31983709  $as_echo_n "(cached) " >&6
    31993710else
     
    32093720  IFS=$as_save_IFS
    32103721  test -z "$as_dir" && as_dir=.
    3211   for ac_prog in egrep; do
     3722    for ac_prog in egrep; do
    32123723    for ac_exec_ext in '' $ac_executable_extensions; do
    32133724      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3214       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3725      as_fn_executable_p "$ac_path_EGREP" || continue
    32153726# Check for GNU ac_path_EGREP and select it if it is found.
    32163727  # Check for GNU $ac_path_EGREP
     
    32293740    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32303741    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3231     ac_count=`expr $ac_count + 1`
     3742    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32323743    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32333744      # Best one so far, save it but keep looking for a better one
     
    32443755    done
    32453756  done
    3246 done
     3757  done
    32473758IFS=$as_save_IFS
    32483759  if test -z "$ac_cv_path_EGREP"; then
    3249     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3250 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3251    { (exit 1); exit 1; }; }
     3760    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32523761  fi
    32533762else
     
    32573766   fi
    32583767fi
    3259 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32603769$as_echo "$ac_cv_path_EGREP" >&6; }
    32613770 EGREP="$ac_cv_path_EGREP"
    32623771
    32633772
    3264 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32653774$as_echo_n "checking for ANSI C header files... " >&6; }
    3266 if test "${ac_cv_header_stdc+set}" = set; then
     3775if ${ac_cv_header_stdc+:} false; then :
    32673776  $as_echo_n "(cached) " >&6
    32683777else
    3269   cat >conftest.$ac_ext <<_ACEOF
    3270 /* confdefs.h.  */
    3271 _ACEOF
    3272 cat confdefs.h >>conftest.$ac_ext
    3273 cat >>conftest.$ac_ext <<_ACEOF
     3778  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32743779/* end confdefs.h.  */
    32753780#include <stdlib.h>
     
    32863791}
    32873792_ACEOF
    3288 rm -f conftest.$ac_objext
    3289 if { (ac_try="$ac_compile"
    3290 case "(($ac_try" in
    3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3292   *) ac_try_echo=$ac_try;;
    3293 esac
    3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3295 $as_echo "$ac_try_echo") >&5
    3296   (eval "$ac_compile") 2>conftest.er1
    3297   ac_status=$?
    3298   grep -v '^ *+' conftest.er1 >conftest.err
    3299   rm -f conftest.er1
    3300   cat conftest.err >&5
    3301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3302   (exit $ac_status); } && {
    3303          test -z "$ac_c_werror_flag" ||
    3304          test ! -s conftest.err
    3305        } && test -s conftest.$ac_objext; then
     3793if ac_fn_c_try_compile "$LINENO"; then :
    33063794  ac_cv_header_stdc=yes
    33073795else
    3308   $as_echo "$as_me: failed program was:" >&5
    3309 sed 's/^/| /' conftest.$ac_ext >&5
    3310 
    3311         ac_cv_header_stdc=no
    3312 fi
    3313 
     3796  ac_cv_header_stdc=no
     3797fi
    33143798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33153799
    33163800if test $ac_cv_header_stdc = yes; then
    33173801  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3318   cat >conftest.$ac_ext <<_ACEOF
    3319 /* confdefs.h.  */
    3320 _ACEOF
    3321 cat confdefs.h >>conftest.$ac_ext
    3322 cat >>conftest.$ac_ext <<_ACEOF
     3802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33233803/* end confdefs.h.  */
    33243804#include <string.h>
     
    33263806_ACEOF
    33273807if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3328   $EGREP "memchr" >/dev/null 2>&1; then
    3329   :
     3808  $EGREP "memchr" >/dev/null 2>&1; then :
     3809
    33303810else
    33313811  ac_cv_header_stdc=no
     
    33373817if test $ac_cv_header_stdc = yes; then
    33383818  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3339   cat >conftest.$ac_ext <<_ACEOF
    3340 /* confdefs.h.  */
    3341 _ACEOF
    3342 cat confdefs.h >>conftest.$ac_ext
    3343 cat >>conftest.$ac_ext <<_ACEOF
     3819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33443820/* end confdefs.h.  */
    33453821#include <stdlib.h>
     
    33473823_ACEOF
    33483824if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3349   $EGREP "free" >/dev/null 2>&1; then
    3350   :
     3825  $EGREP "free" >/dev/null 2>&1; then :
     3826
    33513827else
    33523828  ac_cv_header_stdc=no
     
    33583834if test $ac_cv_header_stdc = yes; then
    33593835  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3360   if test "$cross_compiling" = yes; then
     3836  if test "$cross_compiling" = yes; then :
    33613837  :
    33623838else
    3363   cat >conftest.$ac_ext <<_ACEOF
    3364 /* confdefs.h.  */
    3365 _ACEOF
    3366 cat confdefs.h >>conftest.$ac_ext
    3367 cat >>conftest.$ac_ext <<_ACEOF
     3839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33683840/* end confdefs.h.  */
    33693841#include <ctype.h>
     
    33923864}
    33933865_ACEOF
    3394 rm -f conftest$ac_exeext
    3395 if { (ac_try="$ac_link"
    3396 case "(($ac_try" in
    3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3398   *) ac_try_echo=$ac_try;;
    3399 esac
    3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3401 $as_echo "$ac_try_echo") >&5
    3402   (eval "$ac_link") 2>&5
    3403   ac_status=$?
    3404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3405   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3406   { (case "(($ac_try" in
    3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3408   *) ac_try_echo=$ac_try;;
    3409 esac
    3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3411 $as_echo "$ac_try_echo") >&5
    3412   (eval "$ac_try") 2>&5
    3413   ac_status=$?
    3414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3415   (exit $ac_status); }; }; then
    3416   :
    3417 else
    3418   $as_echo "$as_me: program exited with status $ac_status" >&5
    3419 $as_echo "$as_me: failed program was:" >&5
    3420 sed 's/^/| /' conftest.$ac_ext >&5
    3421 
    3422 ( exit $ac_status )
    3423 ac_cv_header_stdc=no
    3424 fi
    3425 rm -rf conftest.dSYM
    3426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3427 fi
    3428 
    3429 
    3430 fi
    3431 fi
    3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3866if ac_fn_c_try_run "$LINENO"; then :
     3867
     3868else
     3869  ac_cv_header_stdc=no
     3870fi
     3871rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3872  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3873fi
     3874
     3875fi
     3876fi
     3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34333878$as_echo "$ac_cv_header_stdc" >&6; }
    34343879if test $ac_cv_header_stdc = yes; then
    34353880
    3436 cat >>confdefs.h <<\_ACEOF
    3437 #define STDC_HEADERS 1
    3438 _ACEOF
     3881$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34393882
    34403883fi
    34413884
    34423885# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3443 
    3444 
    3445 
    3446 
    3447 
    3448 
    3449 
    3450 
    3451 
    34523886for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34533887                  inttypes.h stdint.h unistd.h
    3454 do
    3455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3456 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3457 $as_echo_n "checking for $ac_header... " >&6; }
    3458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3459   $as_echo_n "(cached) " >&6
    3460 else
    3461   cat >conftest.$ac_ext <<_ACEOF
    3462 /* confdefs.h.  */
    3463 _ACEOF
    3464 cat confdefs.h >>conftest.$ac_ext
    3465 cat >>conftest.$ac_ext <<_ACEOF
    3466 /* end confdefs.h.  */
    3467 $ac_includes_default
    3468 
    3469 #include <$ac_header>
    3470 _ACEOF
    3471 rm -f conftest.$ac_objext
    3472 if { (ac_try="$ac_compile"
    3473 case "(($ac_try" in
    3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3475   *) ac_try_echo=$ac_try;;
    3476 esac
    3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3478 $as_echo "$ac_try_echo") >&5
    3479   (eval "$ac_compile") 2>conftest.er1
    3480   ac_status=$?
    3481   grep -v '^ *+' conftest.er1 >conftest.err
    3482   rm -f conftest.er1
    3483   cat conftest.err >&5
    3484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3485   (exit $ac_status); } && {
    3486          test -z "$ac_c_werror_flag" ||
    3487          test ! -s conftest.err
    3488        } && test -s conftest.$ac_objext; then
    3489   eval "$as_ac_Header=yes"
    3490 else
    3491   $as_echo "$as_me: failed program was:" >&5
    3492 sed 's/^/| /' conftest.$ac_ext >&5
    3493 
    3494         eval "$as_ac_Header=no"
    3495 fi
    3496 
    3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3498 fi
    3499 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3500                  $as_echo "$as_val"'`
    3501                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3502 $as_echo "$ac_res" >&6; }
    3503 as_val=`eval 'as_val=${'$as_ac_Header'}
    3504                  $as_echo "$as_val"'`
    3505    if test "x$as_val" = x""yes; then
     3888do :
     3889  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3890ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3891"
     3892if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35063893  cat >>confdefs.h <<_ACEOF
    35073894#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35283915
    35293916# Check whether --with-python was given.
    3530 if test "${with_python+set}" = set; then
     3917if test "${with_python+set}" = set; then :
    35313918  withval=$with_python;
    35323919else
     
    35393926    # 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.
    35403927set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35423929$as_echo_n "checking for $ac_word... " >&6; }
    3543 if test "${ac_cv_path_PYTHON+set}" = set; then
     3930if ${ac_cv_path_PYTHON+:} false; then :
    35443931  $as_echo_n "(cached) " >&6
    35453932else
     
    35543941  IFS=$as_save_IFS
    35553942  test -z "$as_dir" && as_dir=.
    3556   for ac_exec_ext in '' $ac_executable_extensions; do
    3557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3943    for ac_exec_ext in '' $ac_executable_extensions; do
     3944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35583945    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3559     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35603947    break 2
    35613948  fi
    35623949done
    3563 done
     3950  done
    35643951IFS=$as_save_IFS
    35653952
     
    35693956PYTHON=$ac_cv_path_PYTHON
    35703957if test -n "$PYTHON"; then
    3571   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35723959$as_echo "$PYTHON" >&6; }
    35733960else
    3574   { $as_echo "$as_me:$LINENO: result: no" >&5
     3961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35753962$as_echo "no" >&6; }
    35763963fi
     
    35803967    # Extract the first word of "python", so it can be a program name with args.
    35813968set dummy python; ac_word=$2
    3582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35833970$as_echo_n "checking for $ac_word... " >&6; }
    3584 if test "${ac_cv_path_PYTHON+set}" = set; then
     3971if ${ac_cv_path_PYTHON+:} false; then :
    35853972  $as_echo_n "(cached) " >&6
    35863973else
     
    35963983  IFS=$as_save_IFS
    35973984  test -z "$as_dir" && as_dir=.
    3598   for ac_exec_ext in '' $ac_executable_extensions; do
    3599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3985    for ac_exec_ext in '' $ac_executable_extensions; do
     3986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36003987    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3601     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36023989    break 2
    36033990  fi
    36043991done
    3605 done
     3992  done
    36063993IFS=$as_save_IFS
    36073994
     
    36113998PYTHON=$ac_cv_path_PYTHON
    36123999if test -n "$PYTHON"; then
    3613   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     4000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36144001$as_echo "$PYTHON" >&6; }
    36154002else
    3616   { $as_echo "$as_me:$LINENO: result: no" >&5
     4003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36174004$as_echo "no" >&6; }
    36184005fi
     
    36204007
    36214008  fi
    3622   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     4009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36234010$as_echo_n "checking for Python version... " >&6; }
    36244011  if test "x${PYTHON}" != "x"; then
    36254012    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36264013  fi
    3627   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     4014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36284015$as_echo "$PYTHON_VERSION" >&6; }
    36294016fi
     
    36314018if test "x${PYTHON_VERSION}" != "x"; then
    36324019  PYTHON_INCLUDES=$incdir
    3633   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36344021$as_echo_n "checking for Python distutils... " >&6; }
    36354022  PYTHON_DISTUTILS=""
     
    36394026    PYTHON_DISTUTILS="yes"
    36404027  fi
    3641   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36424029$as_echo "$PYTHON_DISTUTILS" >&6; }
    36434030  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36464033    # Check for Python include path
    36474034    #
    3648     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4035    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36494036$as_echo_n "checking path to Python headers... " >&6; }
    36504037    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36514038     print distutils.sysconfig.get_python_inc();"`
    3652     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36534040$as_echo "$PYTHON_INCDIR" >&6; }
    36544041    #
     
    36634050    save_CPPFLAGS=$CPPFLAGS
    36644051    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    3665 
    3666 for ac_header in Python.h
    3667 do
    3668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3670   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3671 $as_echo_n "checking for $ac_header... " >&6; }
    3672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3673   $as_echo_n "(cached) " >&6
    3674 fi
    3675 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3676                  $as_echo "$as_val"'`
    3677                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3678 $as_echo "$ac_res" >&6; }
    3679 else
    3680   # Is the header compilable?
    3681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3682 $as_echo_n "checking $ac_header usability... " >&6; }
    3683 cat >conftest.$ac_ext <<_ACEOF
    3684 /* confdefs.h.  */
    3685 _ACEOF
    3686 cat confdefs.h >>conftest.$ac_ext
    3687 cat >>conftest.$ac_ext <<_ACEOF
    3688 /* end confdefs.h.  */
    3689 $ac_includes_default
    3690 #include <$ac_header>
    3691 _ACEOF
    3692 rm -f conftest.$ac_objext
    3693 if { (ac_try="$ac_compile"
    3694 case "(($ac_try" in
    3695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3696   *) ac_try_echo=$ac_try;;
    3697 esac
    3698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3699 $as_echo "$ac_try_echo") >&5
    3700   (eval "$ac_compile") 2>conftest.er1
    3701   ac_status=$?
    3702   grep -v '^ *+' conftest.er1 >conftest.err
    3703   rm -f conftest.er1
    3704   cat conftest.err >&5
    3705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3706   (exit $ac_status); } && {
    3707          test -z "$ac_c_werror_flag" ||
    3708          test ! -s conftest.err
    3709        } && test -s conftest.$ac_objext; then
    3710   ac_header_compiler=yes
    3711 else
    3712   $as_echo "$as_me: failed program was:" >&5
    3713 sed 's/^/| /' conftest.$ac_ext >&5
    3714 
    3715         ac_header_compiler=no
    3716 fi
    3717 
    3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3720 $as_echo "$ac_header_compiler" >&6; }
    3721 
    3722 # Is the header present?
    3723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3724 $as_echo_n "checking $ac_header presence... " >&6; }
    3725 cat >conftest.$ac_ext <<_ACEOF
    3726 /* confdefs.h.  */
    3727 _ACEOF
    3728 cat confdefs.h >>conftest.$ac_ext
    3729 cat >>conftest.$ac_ext <<_ACEOF
    3730 /* end confdefs.h.  */
    3731 #include <$ac_header>
    3732 _ACEOF
    3733 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3734 case "(($ac_try" in
    3735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3736   *) ac_try_echo=$ac_try;;
    3737 esac
    3738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3739 $as_echo "$ac_try_echo") >&5
    3740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3741   ac_status=$?
    3742   grep -v '^ *+' conftest.er1 >conftest.err
    3743   rm -f conftest.er1
    3744   cat conftest.err >&5
    3745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3746   (exit $ac_status); } >/dev/null && {
    3747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3748          test ! -s conftest.err
    3749        }; then
    3750   ac_header_preproc=yes
    3751 else
    3752   $as_echo "$as_me: failed program was:" >&5
    3753 sed 's/^/| /' conftest.$ac_ext >&5
    3754 
    3755   ac_header_preproc=no
    3756 fi
    3757 
    3758 rm -f conftest.err conftest.$ac_ext
    3759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3760 $as_echo "$ac_header_preproc" >&6; }
    3761 
    3762 # So?  What about this header?
    3763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    3764   yes:no: )
    3765     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3767     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    3768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    3769     ac_header_preproc=yes
    3770     ;;
    3771   no:yes:* )
    3772     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3774     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    3775 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    3776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    3777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    3778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    3779 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    3780     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3782     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    3783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3784     ( cat <<\_ASBOX
    3785 ## ----------------------------------- ##
    3786 ## Report this to rappture@nanohub.org ##
    3787 ## ----------------------------------- ##
    3788 _ASBOX
    3789      ) | sed "s/^/$as_me: WARNING:     /" >&2
    3790     ;;
    3791 esac
    3792 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3793 $as_echo_n "checking for $ac_header... " >&6; }
    3794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3795   $as_echo_n "(cached) " >&6
    3796 else
    3797   eval "$as_ac_Header=\$ac_header_preproc"
    3798 fi
    3799 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3800                  $as_echo "$as_val"'`
    3801                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3802 $as_echo "$ac_res" >&6; }
    3803 
    3804 fi
    3805 as_val=`eval 'as_val=${'$as_ac_Header'}
    3806                  $as_echo "$as_val"'`
    3807    if test "x$as_val" = x""yes; then
     4052    for ac_header in Python.h
     4053do :
     4054  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4055if test "x$ac_cv_header_Python_h" = xyes; then :
    38084056  cat >>confdefs.h <<_ACEOF
    3809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4057#define HAVE_PYTHON_H 1
    38104058_ACEOF
    38114059 found=yes
     
    38264074
    38274075# Check whether --with-statsdir was given.
    3828 if test "${with_statsdir+set}" = set; then
     4076if test "${with_statsdir+set}" = set; then :
    38294077  withval=$with_statsdir; STATSDIR=$withval
    38304078else
     
    38604108  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38614109set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38634111$as_echo_n "checking for $ac_word... " >&6; }
    3864 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4112if ${ac_cv_prog_RANLIB+:} false; then :
    38654113  $as_echo_n "(cached) " >&6
    38664114else
     
    38734121  IFS=$as_save_IFS
    38744122  test -z "$as_dir" && as_dir=.
    3875   for ac_exec_ext in '' $ac_executable_extensions; do
    3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4123    for ac_exec_ext in '' $ac_executable_extensions; do
     4124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38774125    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3878     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38794127    break 2
    38804128  fi
    38814129done
    3882 done
     4130  done
    38834131IFS=$as_save_IFS
    38844132
     
    38874135RANLIB=$ac_cv_prog_RANLIB
    38884136if test -n "$RANLIB"; then
    3889   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    38904138$as_echo "$RANLIB" >&6; }
    38914139else
    3892   { $as_echo "$as_me:$LINENO: result: no" >&5
     4140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38934141$as_echo "no" >&6; }
    38944142fi
     
    39004148  # Extract the first word of "ranlib", so it can be a program name with args.
    39014149set dummy ranlib; ac_word=$2
    3902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39034151$as_echo_n "checking for $ac_word... " >&6; }
    3904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4152if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    39054153  $as_echo_n "(cached) " >&6
    39064154else
     
    39134161  IFS=$as_save_IFS
    39144162  test -z "$as_dir" && as_dir=.
    3915   for ac_exec_ext in '' $ac_executable_extensions; do
    3916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4163    for ac_exec_ext in '' $ac_executable_extensions; do
     4164  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39174165    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3918     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39194167    break 2
    39204168  fi
    39214169done
    3922 done
     4170  done
    39234171IFS=$as_save_IFS
    39244172
     
    39274175ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39284176if test -n "$ac_ct_RANLIB"; then
    3929   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39304178$as_echo "$ac_ct_RANLIB" >&6; }
    39314179else
    3932   { $as_echo "$as_me:$LINENO: result: no" >&5
     4180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39334181$as_echo "no" >&6; }
    39344182fi
     
    39394187    case $cross_compiling:$ac_tool_warned in
    39404188yes:)
    3941 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39424190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39434191ac_tool_warned=yes ;;
     
    39534201    # Step 0.a: Enable 64 bit support?
    39544202
    3955     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4203    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39564204$as_echo_n "checking if 64bit support is requested... " >&6; }
    39574205    # Check whether --enable-64bit was given.
    3958 if test "${enable_64bit+set}" = set; then
     4206if test "${enable_64bit+set}" = set; then :
    39594207  enableval=$enable_64bit; do64bit=$enableval
    39604208else
     
    39624210fi
    39634211
    3964     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4212    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39654213$as_echo "$do64bit" >&6; }
    39664214
    39674215    # Step 0.b: Enable Solaris 64 bit VIS support?
    39684216
    3969     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39704218$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39714219    # Check whether --enable-64bit-vis was given.
    3972 if test "${enable_64bit_vis+set}" = set; then
     4220if test "${enable_64bit_vis+set}" = set; then :
    39734221  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39744222else
     
    39764224fi
    39774225
    3978     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4226    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39794227$as_echo "$do64bitVIS" >&6; }
    39804228
     
    39884236
    39894237
    3990     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    39914239$as_echo_n "checking system version... " >&6; }
    3992 if test "${tcl_cv_sys_version+set}" = set; then
     4240if ${tcl_cv_sys_version+:} false; then :
    39934241  $as_echo_n "(cached) " >&6
    39944242else
     
    39994247            tcl_cv_sys_version=`uname -s`-`uname -r`
    40004248            if test "$?" -ne 0 ; then
    4001                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4249                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    40024250$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40034251                tcl_cv_sys_version=unknown
     
    40164264
    40174265fi
    4018 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40194267$as_echo "$tcl_cv_sys_version" >&6; }
    40204268    system=$tcl_cv_sys_version
     
    40244272    # Linux can use either -ldl or -ldld for dynamic loading.
    40254273
    4026     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40274275$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4028 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4276if ${ac_cv_lib_dl_dlopen+:} false; then :
    40294277  $as_echo_n "(cached) " >&6
    40304278else
    40314279  ac_check_lib_save_LIBS=$LIBS
    40324280LIBS="-ldl  $LIBS"
    4033 cat >conftest.$ac_ext <<_ACEOF
    4034 /* confdefs.h.  */
    4035 _ACEOF
    4036 cat confdefs.h >>conftest.$ac_ext
    4037 cat >>conftest.$ac_ext <<_ACEOF
     4281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40384282/* end confdefs.h.  */
    40394283
     
    40534297}
    40544298_ACEOF
    4055 rm -f conftest.$ac_objext conftest$ac_exeext
    4056 if { (ac_try="$ac_link"
    4057 case "(($ac_try" in
    4058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4059   *) ac_try_echo=$ac_try;;
    4060 esac
    4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4062 $as_echo "$ac_try_echo") >&5
    4063   (eval "$ac_link") 2>conftest.er1
    4064   ac_status=$?
    4065   grep -v '^ *+' conftest.er1 >conftest.err
    4066   rm -f conftest.er1
    4067   cat conftest.err >&5
    4068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4069   (exit $ac_status); } && {
    4070          test -z "$ac_c_werror_flag" ||
    4071          test ! -s conftest.err
    4072        } && test -s conftest$ac_exeext && {
    4073          test "$cross_compiling" = yes ||
    4074          $as_test_x conftest$ac_exeext
    4075        }; then
     4299if ac_fn_c_try_link "$LINENO"; then :
    40764300  ac_cv_lib_dl_dlopen=yes
    40774301else
    4078   $as_echo "$as_me: failed program was:" >&5
    4079 sed 's/^/| /' conftest.$ac_ext >&5
    4080 
    4081         ac_cv_lib_dl_dlopen=no
    4082 fi
    4083 
    4084 rm -rf conftest.dSYM
    4085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4086       conftest$ac_exeext conftest.$ac_ext
     4302  ac_cv_lib_dl_dlopen=no
     4303fi
     4304rm -f core conftest.err conftest.$ac_objext \
     4305    conftest$ac_exeext conftest.$ac_ext
    40874306LIBS=$ac_check_lib_save_LIBS
    40884307fi
    4089 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    40904309$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4091 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4310if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    40924311  have_dl=yes
    40934312else
     
    41214340    # Extract the first word of "ar", so it can be a program name with args.
    41224341set dummy ar; ac_word=$2
    4123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41244343$as_echo_n "checking for $ac_word... " >&6; }
    4125 if test "${ac_cv_prog_AR+set}" = set; then
     4344if ${ac_cv_prog_AR+:} false; then :
    41264345  $as_echo_n "(cached) " >&6
    41274346else
     
    41344353  IFS=$as_save_IFS
    41354354  test -z "$as_dir" && as_dir=.
    4136   for ac_exec_ext in '' $ac_executable_extensions; do
    4137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4355    for ac_exec_ext in '' $ac_executable_extensions; do
     4356  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41384357    ac_cv_prog_AR="ar"
    4139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4358    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41404359    break 2
    41414360  fi
    41424361done
    4143 done
     4362  done
    41444363IFS=$as_save_IFS
    41454364
     
    41484367AR=$ac_cv_prog_AR
    41494368if test -n "$AR"; then
    4150   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41514370$as_echo "$AR" >&6; }
    41524371else
    4153   { $as_echo "$as_me:$LINENO: result: no" >&5
     4372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41544373$as_echo "no" >&6; }
    41554374fi
     
    41574376
    41584377    if test "${AR}" = "" ; then
    4159         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    4160 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    4161    { (exit 1); exit 1; }; }
     4378        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41624379    fi
    41634380    STLIB_LD='${AR} cr'
     
    41774394                        ;;
    41784395                esac
    4179                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4396                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41804397$as_echo "Using $CC for compiling with threads" >&6; }
    41814398            fi
     
    41934410            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    41944411                if test "$GCC" = "yes" ; then
    4195                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4412                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    41964413$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41974414                else
     
    42484465            # known GMT value.
    42494466
    4250             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4467            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42514468$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4252 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4469if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42534470  $as_echo_n "(cached) " >&6
    42544471else
    42554472  ac_check_lib_save_LIBS=$LIBS
    42564473LIBS="-lbsd  $LIBS"
    4257 cat >conftest.$ac_ext <<_ACEOF
    4258 /* confdefs.h.  */
    4259 _ACEOF
    4260 cat confdefs.h >>conftest.$ac_ext
    4261 cat >>conftest.$ac_ext <<_ACEOF
     4474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42624475/* end confdefs.h.  */
    42634476
     
    42774490}
    42784491_ACEOF
    4279 rm -f conftest.$ac_objext conftest$ac_exeext
    4280 if { (ac_try="$ac_link"
    4281 case "(($ac_try" in
    4282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4283   *) ac_try_echo=$ac_try;;
    4284 esac
    4285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4286 $as_echo "$ac_try_echo") >&5
    4287   (eval "$ac_link") 2>conftest.er1
    4288   ac_status=$?
    4289   grep -v '^ *+' conftest.er1 >conftest.err
    4290   rm -f conftest.er1
    4291   cat conftest.err >&5
    4292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4293   (exit $ac_status); } && {
    4294          test -z "$ac_c_werror_flag" ||
    4295          test ! -s conftest.err
    4296        } && test -s conftest$ac_exeext && {
    4297          test "$cross_compiling" = yes ||
    4298          $as_test_x conftest$ac_exeext
    4299        }; then
     4492if ac_fn_c_try_link "$LINENO"; then :
    43004493  ac_cv_lib_bsd_gettimeofday=yes
    43014494else
    4302   $as_echo "$as_me: failed program was:" >&5
    4303 sed 's/^/| /' conftest.$ac_ext >&5
    4304 
    4305         ac_cv_lib_bsd_gettimeofday=no
    4306 fi
    4307 
    4308 rm -rf conftest.dSYM
    4309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4310       conftest$ac_exeext conftest.$ac_ext
     4495  ac_cv_lib_bsd_gettimeofday=no
     4496fi
     4497rm -f core conftest.err conftest.$ac_objext \
     4498    conftest$ac_exeext conftest.$ac_ext
    43114499LIBS=$ac_check_lib_save_LIBS
    43124500fi
    4313 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43144502$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4315 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4503if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43164504  libbsd=yes
    43174505else
     
    43214509            if test $libbsd = yes; then
    43224510                MATH_LIBS="$MATH_LIBS -lbsd"
    4323                 cat >>confdefs.h <<\_ACEOF
    4324 #define USE_DELTA_FOR_TZ 1
    4325 _ACEOF
     4511                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43264512
    43274513            fi
     
    43404526            # is always linked to, for compatibility.
    43414527            #-----------------------------------------------------------
    4342             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4528            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43434529$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4344 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4530if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43454531  $as_echo_n "(cached) " >&6
    43464532else
    43474533  ac_check_lib_save_LIBS=$LIBS
    43484534LIBS="-lbind  $LIBS"
    4349 cat >conftest.$ac_ext <<_ACEOF
    4350 /* confdefs.h.  */
    4351 _ACEOF
    4352 cat confdefs.h >>conftest.$ac_ext
    4353 cat >>conftest.$ac_ext <<_ACEOF
     4535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43544536/* end confdefs.h.  */
    43554537
     
    43694551}
    43704552_ACEOF
    4371 rm -f conftest.$ac_objext conftest$ac_exeext
    4372 if { (ac_try="$ac_link"
    4373 case "(($ac_try" in
    4374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4375   *) ac_try_echo=$ac_try;;
    4376 esac
    4377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4378 $as_echo "$ac_try_echo") >&5
    4379   (eval "$ac_link") 2>conftest.er1
    4380   ac_status=$?
    4381   grep -v '^ *+' conftest.er1 >conftest.err
    4382   rm -f conftest.er1
    4383   cat conftest.err >&5
    4384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4385   (exit $ac_status); } && {
    4386          test -z "$ac_c_werror_flag" ||
    4387          test ! -s conftest.err
    4388        } && test -s conftest$ac_exeext && {
    4389          test "$cross_compiling" = yes ||
    4390          $as_test_x conftest$ac_exeext
    4391        }; then
     4553if ac_fn_c_try_link "$LINENO"; then :
    43924554  ac_cv_lib_bind_inet_ntoa=yes
    43934555else
    4394   $as_echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397         ac_cv_lib_bind_inet_ntoa=no
    4398 fi
    4399 
    4400 rm -rf conftest.dSYM
    4401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4402       conftest$ac_exeext conftest.$ac_ext
     4556  ac_cv_lib_bind_inet_ntoa=no
     4557fi
     4558rm -f core conftest.err conftest.$ac_objext \
     4559    conftest$ac_exeext conftest.$ac_ext
    44034560LIBS=$ac_check_lib_save_LIBS
    44044561fi
    4405 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    44064563$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4407 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4564if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    44084565  LIBS="$LIBS -lbind -lsocket"
    44094566fi
     
    44434600        HP-UX-*.11.*)
    44444601            # Use updated header definitions where possible
    4445             cat >>confdefs.h <<\_ACEOF
    4446 #define _XOPEN_SOURCE 1
    4447 _ACEOF
     4602            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44484603          # Use the XOPEN network library
    4449             cat >>confdefs.h <<\_ACEOF
    4450 #define _XOPEN_SOURCE_EXTENDED 1
    4451 _ACEOF
     4604            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44524605 # Use the XOPEN network library
    44534606            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44584611                SHLIB_SUFFIX=".sl"
    44594612            fi
    4460             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4613            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44614614$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4615if ${ac_cv_lib_dld_shl_load+:} false; then :
    44634616  $as_echo_n "(cached) " >&6
    44644617else
    44654618  ac_check_lib_save_LIBS=$LIBS
    44664619LIBS="-ldld  $LIBS"
    4467 cat >conftest.$ac_ext <<_ACEOF
    4468 /* confdefs.h.  */
    4469 _ACEOF
    4470 cat confdefs.h >>conftest.$ac_ext
    4471 cat >>conftest.$ac_ext <<_ACEOF
     4620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44724621/* end confdefs.h.  */
    44734622
     
    44874636}
    44884637_ACEOF
    4489 rm -f conftest.$ac_objext conftest$ac_exeext
    4490 if { (ac_try="$ac_link"
    4491 case "(($ac_try" in
    4492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4493   *) ac_try_echo=$ac_try;;
    4494 esac
    4495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4496 $as_echo "$ac_try_echo") >&5
    4497   (eval "$ac_link") 2>conftest.er1
    4498   ac_status=$?
    4499   grep -v '^ *+' conftest.er1 >conftest.err
    4500   rm -f conftest.er1
    4501   cat conftest.err >&5
    4502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4503   (exit $ac_status); } && {
    4504          test -z "$ac_c_werror_flag" ||
    4505          test ! -s conftest.err
    4506        } && test -s conftest$ac_exeext && {
    4507          test "$cross_compiling" = yes ||
    4508          $as_test_x conftest$ac_exeext
    4509        }; then
     4638if ac_fn_c_try_link "$LINENO"; then :
    45104639  ac_cv_lib_dld_shl_load=yes
    45114640else
    4512   $as_echo "$as_me: failed program was:" >&5
    4513 sed 's/^/| /' conftest.$ac_ext >&5
    4514 
    4515         ac_cv_lib_dld_shl_load=no
    4516 fi
    4517 
    4518 rm -rf conftest.dSYM
    4519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4520       conftest$ac_exeext conftest.$ac_ext
     4641  ac_cv_lib_dld_shl_load=no
     4642fi
     4643rm -f core conftest.err conftest.$ac_objext \
     4644    conftest$ac_exeext conftest.$ac_ext
    45214645LIBS=$ac_check_lib_save_LIBS
    45224646fi
    4523 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45244648$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4525 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4649if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45264650  tcl_ok=yes
    45274651else
     
    45634687                            ;;
    45644688                        *)
    4565                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4689                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45664690$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45674691                            ;;
     
    45764700        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45774701            SHLIB_SUFFIX=".sl"
    4578             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4702            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45794703$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4580 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4704if ${ac_cv_lib_dld_shl_load+:} false; then :
    45814705  $as_echo_n "(cached) " >&6
    45824706else
    45834707  ac_check_lib_save_LIBS=$LIBS
    45844708LIBS="-ldld  $LIBS"
    4585 cat >conftest.$ac_ext <<_ACEOF
    4586 /* confdefs.h.  */
    4587 _ACEOF
    4588 cat confdefs.h >>conftest.$ac_ext
    4589 cat >>conftest.$ac_ext <<_ACEOF
     4709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45904710/* end confdefs.h.  */
    45914711
     
    46054725}
    46064726_ACEOF
    4607 rm -f conftest.$ac_objext conftest$ac_exeext
    4608 if { (ac_try="$ac_link"
    4609 case "(($ac_try" in
    4610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4611   *) ac_try_echo=$ac_try;;
    4612 esac
    4613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4614 $as_echo "$ac_try_echo") >&5
    4615   (eval "$ac_link") 2>conftest.er1
    4616   ac_status=$?
    4617   grep -v '^ *+' conftest.er1 >conftest.err
    4618   rm -f conftest.er1
    4619   cat conftest.err >&5
    4620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4621   (exit $ac_status); } && {
    4622          test -z "$ac_c_werror_flag" ||
    4623          test ! -s conftest.err
    4624        } && test -s conftest$ac_exeext && {
    4625          test "$cross_compiling" = yes ||
    4626          $as_test_x conftest$ac_exeext
    4627        }; then
     4727if ac_fn_c_try_link "$LINENO"; then :
    46284728  ac_cv_lib_dld_shl_load=yes
    46294729else
    4630   $as_echo "$as_me: failed program was:" >&5
    4631 sed 's/^/| /' conftest.$ac_ext >&5
    4632 
    4633         ac_cv_lib_dld_shl_load=no
    4634 fi
    4635 
    4636 rm -rf conftest.dSYM
    4637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4638       conftest$ac_exeext conftest.$ac_ext
     4730  ac_cv_lib_dld_shl_load=no
     4731fi
     4732rm -f core conftest.err conftest.$ac_objext \
     4733    conftest$ac_exeext conftest.$ac_ext
    46394734LIBS=$ac_check_lib_save_LIBS
    46404735fi
    4641 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46424737$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4643 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4738if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46444739  tcl_ok=yes
    46454740else
     
    47204815            if test "$do64bit" = "yes" ; then
    47214816                if test "$GCC" = "yes" ; then
    4722                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4817                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47234818$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47244819                else
     
    47494844                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47504845            else
    4751                 if test "${ac_cv_header_dld_h+set}" = set; then
    4752   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4753 $as_echo_n "checking for dld.h... " >&6; }
    4754 if test "${ac_cv_header_dld_h+set}" = set; then
    4755   $as_echo_n "(cached) " >&6
    4756 fi
    4757 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4758 $as_echo "$ac_cv_header_dld_h" >&6; }
    4759 else
    4760   # Is the header compilable?
    4761 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4762 $as_echo_n "checking dld.h usability... " >&6; }
    4763 cat >conftest.$ac_ext <<_ACEOF
    4764 /* confdefs.h.  */
    4765 _ACEOF
    4766 cat confdefs.h >>conftest.$ac_ext
    4767 cat >>conftest.$ac_ext <<_ACEOF
    4768 /* end confdefs.h.  */
    4769 $ac_includes_default
    4770 #include <dld.h>
    4771 _ACEOF
    4772 rm -f conftest.$ac_objext
    4773 if { (ac_try="$ac_compile"
    4774 case "(($ac_try" in
    4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4776   *) ac_try_echo=$ac_try;;
    4777 esac
    4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4779 $as_echo "$ac_try_echo") >&5
    4780   (eval "$ac_compile") 2>conftest.er1
    4781   ac_status=$?
    4782   grep -v '^ *+' conftest.er1 >conftest.err
    4783   rm -f conftest.er1
    4784   cat conftest.err >&5
    4785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4786   (exit $ac_status); } && {
    4787          test -z "$ac_c_werror_flag" ||
    4788          test ! -s conftest.err
    4789        } && test -s conftest.$ac_objext; then
    4790   ac_header_compiler=yes
    4791 else
    4792   $as_echo "$as_me: failed program was:" >&5
    4793 sed 's/^/| /' conftest.$ac_ext >&5
    4794 
    4795         ac_header_compiler=no
    4796 fi
    4797 
    4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4799 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4800 $as_echo "$ac_header_compiler" >&6; }
    4801 
    4802 # Is the header present?
    4803 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4804 $as_echo_n "checking dld.h presence... " >&6; }
    4805 cat >conftest.$ac_ext <<_ACEOF
    4806 /* confdefs.h.  */
    4807 _ACEOF
    4808 cat confdefs.h >>conftest.$ac_ext
    4809 cat >>conftest.$ac_ext <<_ACEOF
    4810 /* end confdefs.h.  */
    4811 #include <dld.h>
    4812 _ACEOF
    4813 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4814 case "(($ac_try" in
    4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4816   *) ac_try_echo=$ac_try;;
    4817 esac
    4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4819 $as_echo "$ac_try_echo") >&5
    4820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4821   ac_status=$?
    4822   grep -v '^ *+' conftest.er1 >conftest.err
    4823   rm -f conftest.er1
    4824   cat conftest.err >&5
    4825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4826   (exit $ac_status); } >/dev/null && {
    4827          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4828          test ! -s conftest.err
    4829        }; then
    4830   ac_header_preproc=yes
    4831 else
    4832   $as_echo "$as_me: failed program was:" >&5
    4833 sed 's/^/| /' conftest.$ac_ext >&5
    4834 
    4835   ac_header_preproc=no
    4836 fi
    4837 
    4838 rm -f conftest.err conftest.$ac_ext
    4839 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4840 $as_echo "$ac_header_preproc" >&6; }
    4841 
    4842 # So?  What about this header?
    4843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4844   yes:no: )
    4845     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4846 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4847     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4848 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4849     ac_header_preproc=yes
    4850     ;;
    4851   no:yes:* )
    4852     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4853 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4854     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4855 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4856     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4857 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4858     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4859 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4860     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4861 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4862     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4863 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4864     ( cat <<\_ASBOX
    4865 ## ----------------------------------- ##
    4866 ## Report this to rappture@nanohub.org ##
    4867 ## ----------------------------------- ##
    4868 _ASBOX
    4869      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4870     ;;
    4871 esac
    4872 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4873 $as_echo_n "checking for dld.h... " >&6; }
    4874 if test "${ac_cv_header_dld_h+set}" = set; then
    4875   $as_echo_n "(cached) " >&6
    4876 else
    4877   ac_cv_header_dld_h=$ac_header_preproc
    4878 fi
    4879 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4880 $as_echo "$ac_cv_header_dld_h" >&6; }
    4881 
    4882 fi
    4883 if test "x$ac_cv_header_dld_h" = x""yes; then
     4846                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4847if test "x$ac_cv_header_dld_h" = xyes; then :
    48844848
    48854849                    SHLIB_LD="ld -shared"
     
    48964860            fi
    48974861            if test $do64bit = yes; then
    4898                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4862                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    48994863$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4900 if test "${tcl_cv_cc_m64+set}" = set; then
     4864if ${tcl_cv_cc_m64+:} false; then :
    49014865  $as_echo_n "(cached) " >&6
    49024866else
     
    49044868                    hold_cflags=$CFLAGS
    49054869                    CFLAGS="$CFLAGS -m64"
    4906                     cat >conftest.$ac_ext <<_ACEOF
    4907 /* confdefs.h.  */
    4908 _ACEOF
    4909 cat confdefs.h >>conftest.$ac_ext
    4910 cat >>conftest.$ac_ext <<_ACEOF
     4870                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49114871/* end confdefs.h.  */
    49124872
     
    49194879}
    49204880_ACEOF
    4921 rm -f conftest.$ac_objext conftest$ac_exeext
    4922 if { (ac_try="$ac_link"
    4923 case "(($ac_try" in
    4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4925   *) ac_try_echo=$ac_try;;
    4926 esac
    4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4928 $as_echo "$ac_try_echo") >&5
    4929   (eval "$ac_link") 2>conftest.er1
    4930   ac_status=$?
    4931   grep -v '^ *+' conftest.er1 >conftest.err
    4932   rm -f conftest.er1
    4933   cat conftest.err >&5
    4934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4935   (exit $ac_status); } && {
    4936          test -z "$ac_c_werror_flag" ||
    4937          test ! -s conftest.err
    4938        } && test -s conftest$ac_exeext && {
    4939          test "$cross_compiling" = yes ||
    4940          $as_test_x conftest$ac_exeext
    4941        }; then
     4881if ac_fn_c_try_link "$LINENO"; then :
    49424882  tcl_cv_cc_m64=yes
    49434883else
    4944   $as_echo "$as_me: failed program was:" >&5
    4945 sed 's/^/| /' conftest.$ac_ext >&5
    4946 
    4947         tcl_cv_cc_m64=no
    4948 fi
    4949 
    4950 rm -rf conftest.dSYM
    4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4952       conftest$ac_exeext conftest.$ac_ext
     4884  tcl_cv_cc_m64=no
     4885fi
     4886rm -f core conftest.err conftest.$ac_objext \
     4887    conftest$ac_exeext conftest.$ac_ext
    49534888                    CFLAGS=$hold_cflags
    49544889fi
    4955 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49564891$as_echo "$tcl_cv_cc_m64" >&6; }
    49574892                if test $tcl_cv_cc_m64 = yes; then
     
    49734908
    49744909            # XIM peeking works under XFree86.
    4975             cat >>confdefs.h <<\_ACEOF
    4976 #define PEEK_XCLOSEIM 1
    4977 _ACEOF
     4910            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49784911
    49794912
     
    49924925                LD_SEARCH_FLAGS=""
    49934926            else
    4994                 if test "${ac_cv_header_dld_h+set}" = set; then
    4995   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4996 $as_echo_n "checking for dld.h... " >&6; }
    4997 if test "${ac_cv_header_dld_h+set}" = set; then
    4998   $as_echo_n "(cached) " >&6
    4999 fi
    5000 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5001 $as_echo "$ac_cv_header_dld_h" >&6; }
    5002 else
    5003   # Is the header compilable?
    5004 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    5005 $as_echo_n "checking dld.h usability... " >&6; }
    5006 cat >conftest.$ac_ext <<_ACEOF
    5007 /* confdefs.h.  */
    5008 _ACEOF
    5009 cat confdefs.h >>conftest.$ac_ext
    5010 cat >>conftest.$ac_ext <<_ACEOF
    5011 /* end confdefs.h.  */
    5012 $ac_includes_default
    5013 #include <dld.h>
    5014 _ACEOF
    5015 rm -f conftest.$ac_objext
    5016 if { (ac_try="$ac_compile"
    5017 case "(($ac_try" in
    5018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5019   *) ac_try_echo=$ac_try;;
    5020 esac
    5021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5022 $as_echo "$ac_try_echo") >&5
    5023   (eval "$ac_compile") 2>conftest.er1
    5024   ac_status=$?
    5025   grep -v '^ *+' conftest.er1 >conftest.err
    5026   rm -f conftest.er1
    5027   cat conftest.err >&5
    5028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5029   (exit $ac_status); } && {
    5030          test -z "$ac_c_werror_flag" ||
    5031          test ! -s conftest.err
    5032        } && test -s conftest.$ac_objext; then
    5033   ac_header_compiler=yes
    5034 else
    5035   $as_echo "$as_me: failed program was:" >&5
    5036 sed 's/^/| /' conftest.$ac_ext >&5
    5037 
    5038         ac_header_compiler=no
    5039 fi
    5040 
    5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5042 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5043 $as_echo "$ac_header_compiler" >&6; }
    5044 
    5045 # Is the header present?
    5046 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    5047 $as_echo_n "checking dld.h presence... " >&6; }
    5048 cat >conftest.$ac_ext <<_ACEOF
    5049 /* confdefs.h.  */
    5050 _ACEOF
    5051 cat confdefs.h >>conftest.$ac_ext
    5052 cat >>conftest.$ac_ext <<_ACEOF
    5053 /* end confdefs.h.  */
    5054 #include <dld.h>
    5055 _ACEOF
    5056 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5057 case "(($ac_try" in
    5058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5059   *) ac_try_echo=$ac_try;;
    5060 esac
    5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5062 $as_echo "$ac_try_echo") >&5
    5063   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5064   ac_status=$?
    5065   grep -v '^ *+' conftest.er1 >conftest.err
    5066   rm -f conftest.er1
    5067   cat conftest.err >&5
    5068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5069   (exit $ac_status); } >/dev/null && {
    5070          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5071          test ! -s conftest.err
    5072        }; then
    5073   ac_header_preproc=yes
    5074 else
    5075   $as_echo "$as_me: failed program was:" >&5
    5076 sed 's/^/| /' conftest.$ac_ext >&5
    5077 
    5078   ac_header_preproc=no
    5079 fi
    5080 
    5081 rm -f conftest.err conftest.$ac_ext
    5082 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5083 $as_echo "$ac_header_preproc" >&6; }
    5084 
    5085 # So?  What about this header?
    5086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5087   yes:no: )
    5088     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5089 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5090     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    5091 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    5092     ac_header_preproc=yes
    5093     ;;
    5094   no:yes:* )
    5095     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    5096 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    5097     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    5098 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    5099     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    5100 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    5101     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    5102 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5103     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    5104 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    5105     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    5106 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    5107     ( cat <<\_ASBOX
    5108 ## ----------------------------------- ##
    5109 ## Report this to rappture@nanohub.org ##
    5110 ## ----------------------------------- ##
    5111 _ASBOX
    5112      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5113     ;;
    5114 esac
    5115 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5116 $as_echo_n "checking for dld.h... " >&6; }
    5117 if test "${ac_cv_header_dld_h+set}" = set; then
    5118   $as_echo_n "(cached) " >&6
    5119 else
    5120   ac_cv_header_dld_h=$ac_header_preproc
    5121 fi
    5122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5123 $as_echo "$ac_cv_header_dld_h" >&6; }
    5124 
    5125 fi
    5126 if test "x$ac_cv_header_dld_h" = x""yes; then
     4927                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4928if test "x$ac_cv_header_dld_h" = xyes; then :
    51274929
    51284930                    SHLIB_LD="ld -shared"
     
    51744976        NetBSD-*|FreeBSD-[1-2].*)
    51754977            # Not available on all versions:  check for include file.
    5176             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5177   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5178 $as_echo_n "checking for dlfcn.h... " >&6; }
    5179 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5180   $as_echo_n "(cached) " >&6
    5181 fi
    5182 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5183 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5184 else
    5185   # Is the header compilable?
    5186 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    5187 $as_echo_n "checking dlfcn.h usability... " >&6; }
    5188 cat >conftest.$ac_ext <<_ACEOF
    5189 /* confdefs.h.  */
    5190 _ACEOF
    5191 cat confdefs.h >>conftest.$ac_ext
    5192 cat >>conftest.$ac_ext <<_ACEOF
    5193 /* end confdefs.h.  */
    5194 $ac_includes_default
    5195 #include <dlfcn.h>
    5196 _ACEOF
    5197 rm -f conftest.$ac_objext
    5198 if { (ac_try="$ac_compile"
    5199 case "(($ac_try" in
    5200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5201   *) ac_try_echo=$ac_try;;
    5202 esac
    5203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5204 $as_echo "$ac_try_echo") >&5
    5205   (eval "$ac_compile") 2>conftest.er1
    5206   ac_status=$?
    5207   grep -v '^ *+' conftest.er1 >conftest.err
    5208   rm -f conftest.er1
    5209   cat conftest.err >&5
    5210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5211   (exit $ac_status); } && {
    5212          test -z "$ac_c_werror_flag" ||
    5213          test ! -s conftest.err
    5214        } && test -s conftest.$ac_objext; then
    5215   ac_header_compiler=yes
    5216 else
    5217   $as_echo "$as_me: failed program was:" >&5
    5218 sed 's/^/| /' conftest.$ac_ext >&5
    5219 
    5220         ac_header_compiler=no
    5221 fi
    5222 
    5223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5224 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5225 $as_echo "$ac_header_compiler" >&6; }
    5226 
    5227 # Is the header present?
    5228 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    5229 $as_echo_n "checking dlfcn.h presence... " >&6; }
    5230 cat >conftest.$ac_ext <<_ACEOF
    5231 /* confdefs.h.  */
    5232 _ACEOF
    5233 cat confdefs.h >>conftest.$ac_ext
    5234 cat >>conftest.$ac_ext <<_ACEOF
    5235 /* end confdefs.h.  */
    5236 #include <dlfcn.h>
    5237 _ACEOF
    5238 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5239 case "(($ac_try" in
    5240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5241   *) ac_try_echo=$ac_try;;
    5242 esac
    5243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5244 $as_echo "$ac_try_echo") >&5
    5245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5246   ac_status=$?
    5247   grep -v '^ *+' conftest.er1 >conftest.err
    5248   rm -f conftest.er1
    5249   cat conftest.err >&5
    5250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5251   (exit $ac_status); } >/dev/null && {
    5252          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5253          test ! -s conftest.err
    5254        }; then
    5255   ac_header_preproc=yes
    5256 else
    5257   $as_echo "$as_me: failed program was:" >&5
    5258 sed 's/^/| /' conftest.$ac_ext >&5
    5259 
    5260   ac_header_preproc=no
    5261 fi
    5262 
    5263 rm -f conftest.err conftest.$ac_ext
    5264 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5265 $as_echo "$ac_header_preproc" >&6; }
    5266 
    5267 # So?  What about this header?
    5268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5269   yes:no: )
    5270     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5271 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5272     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    5273 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    5274     ac_header_preproc=yes
    5275     ;;
    5276   no:yes:* )
    5277     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    5278 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    5279     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    5280 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    5281     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    5282 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    5283     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    5284 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5285     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    5286 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    5287     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    5288 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    5289     ( cat <<\_ASBOX
    5290 ## ----------------------------------- ##
    5291 ## Report this to rappture@nanohub.org ##
    5292 ## ----------------------------------- ##
    5293 _ASBOX
    5294      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5295     ;;
    5296 esac
    5297 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5298 $as_echo_n "checking for dlfcn.h... " >&6; }
    5299 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5300   $as_echo_n "(cached) " >&6
    5301 else
    5302   ac_cv_header_dlfcn_h=$ac_header_preproc
    5303 fi
    5304 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5305 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5306 
    5307 fi
    5308 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4978            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4979if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    53094980
    53104981                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53174988                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53184989                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5319                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4990                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53204991$as_echo_n "checking for ELF... " >&6; }
    5321 if test "${tcl_cv_ld_elf+set}" = set; then
     4992if ${tcl_cv_ld_elf+:} false; then :
    53224993  $as_echo_n "(cached) " >&6
    53234994else
    53244995
    5325                     cat >conftest.$ac_ext <<_ACEOF
    5326 /* confdefs.h.  */
    5327 _ACEOF
    5328 cat confdefs.h >>conftest.$ac_ext
    5329 cat >>conftest.$ac_ext <<_ACEOF
     4996                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53304997/* end confdefs.h.  */
    53314998
     
    53365003_ACEOF
    53375004if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5338   $EGREP "yes" >/dev/null 2>&1; then
     5005  $EGREP "yes" >/dev/null 2>&1; then :
    53395006  tcl_cv_ld_elf=yes
    53405007else
     
    53445011
    53455012fi
    5346 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53475014$as_echo "$tcl_cv_ld_elf" >&6; }
    53485015                if test $tcl_cv_ld_elf = yes; then
     
    54035070                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    54045071                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5405                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5072                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    54065073$as_echo_n "checking for ELF... " >&6; }
    5407 if test "${tcl_cv_ld_elf+set}" = set; then
     5074if ${tcl_cv_ld_elf+:} false; then :
    54085075  $as_echo_n "(cached) " >&6
    54095076else
    54105077
    5411                     cat >conftest.$ac_ext <<_ACEOF
    5412 /* confdefs.h.  */
    5413 _ACEOF
    5414 cat confdefs.h >>conftest.$ac_ext
    5415 cat >>conftest.$ac_ext <<_ACEOF
     5078                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54165079/* end confdefs.h.  */
    54175080
     
    54225085_ACEOF
    54235086if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5424   $EGREP "yes" >/dev/null 2>&1; then
     5087  $EGREP "yes" >/dev/null 2>&1; then :
    54255088  tcl_cv_ld_elf=yes
    54265089else
     
    54305093
    54315094fi
    5432 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54335096$as_echo "$tcl_cv_ld_elf" >&6; }
    54345097                if test $tcl_cv_ld_elf = yes; then
     
    54855148                case `arch` in
    54865149                    ppc)
    5487                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5150                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54885151$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5489 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5152if ${tcl_cv_cc_arch_ppc64+:} false; then :
    54905153  $as_echo_n "(cached) " >&6
    54915154else
     
    54935156                            hold_cflags=$CFLAGS
    54945157                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5495                             cat >conftest.$ac_ext <<_ACEOF
    5496 /* confdefs.h.  */
    5497 _ACEOF
    5498 cat confdefs.h >>conftest.$ac_ext
    5499 cat >>conftest.$ac_ext <<_ACEOF
     5158                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55005159/* end confdefs.h.  */
    55015160
     
    55085167}
    55095168_ACEOF
    5510 rm -f conftest.$ac_objext conftest$ac_exeext
    5511 if { (ac_try="$ac_link"
    5512 case "(($ac_try" in
    5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5514   *) ac_try_echo=$ac_try;;
    5515 esac
    5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5517 $as_echo "$ac_try_echo") >&5
    5518   (eval "$ac_link") 2>conftest.er1
    5519   ac_status=$?
    5520   grep -v '^ *+' conftest.er1 >conftest.err
    5521   rm -f conftest.er1
    5522   cat conftest.err >&5
    5523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5524   (exit $ac_status); } && {
    5525          test -z "$ac_c_werror_flag" ||
    5526          test ! -s conftest.err
    5527        } && test -s conftest$ac_exeext && {
    5528          test "$cross_compiling" = yes ||
    5529          $as_test_x conftest$ac_exeext
    5530        }; then
     5169if ac_fn_c_try_link "$LINENO"; then :
    55315170  tcl_cv_cc_arch_ppc64=yes
    55325171else
    5533   $as_echo "$as_me: failed program was:" >&5
    5534 sed 's/^/| /' conftest.$ac_ext >&5
    5535 
    5536         tcl_cv_cc_arch_ppc64=no
    5537 fi
    5538 
    5539 rm -rf conftest.dSYM
    5540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5541       conftest$ac_exeext conftest.$ac_ext
     5172  tcl_cv_cc_arch_ppc64=no
     5173fi
     5174rm -f core conftest.err conftest.$ac_objext \
     5175    conftest$ac_exeext conftest.$ac_ext
    55425176                            CFLAGS=$hold_cflags
    55435177fi
    5544 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55455179$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55465180                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55495183                        fi;;
    55505184                    i386)
    5551                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5185                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55525186$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5553 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5187if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55545188  $as_echo_n "(cached) " >&6
    55555189else
     
    55575191                            hold_cflags=$CFLAGS
    55585192                            CFLAGS="$CFLAGS -arch x86_64"
    5559                             cat >conftest.$ac_ext <<_ACEOF
    5560 /* confdefs.h.  */
    5561 _ACEOF
    5562 cat confdefs.h >>conftest.$ac_ext
    5563 cat >>conftest.$ac_ext <<_ACEOF
     5193                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55645194/* end confdefs.h.  */
    55655195
     
    55725202}
    55735203_ACEOF
    5574 rm -f conftest.$ac_objext conftest$ac_exeext
    5575 if { (ac_try="$ac_link"
    5576 case "(($ac_try" in
    5577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5578   *) ac_try_echo=$ac_try;;
    5579 esac
    5580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5581 $as_echo "$ac_try_echo") >&5
    5582   (eval "$ac_link") 2>conftest.er1
    5583   ac_status=$?
    5584   grep -v '^ *+' conftest.er1 >conftest.err
    5585   rm -f conftest.er1
    5586   cat conftest.err >&5
    5587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5588   (exit $ac_status); } && {
    5589          test -z "$ac_c_werror_flag" ||
    5590          test ! -s conftest.err
    5591        } && test -s conftest$ac_exeext && {
    5592          test "$cross_compiling" = yes ||
    5593          $as_test_x conftest$ac_exeext
    5594        }; then
     5204if ac_fn_c_try_link "$LINENO"; then :
    55955205  tcl_cv_cc_arch_x86_64=yes
    55965206else
    5597   $as_echo "$as_me: failed program was:" >&5
    5598 sed 's/^/| /' conftest.$ac_ext >&5
    5599 
    5600         tcl_cv_cc_arch_x86_64=no
    5601 fi
    5602 
    5603 rm -rf conftest.dSYM
    5604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5605       conftest$ac_exeext conftest.$ac_ext
     5207  tcl_cv_cc_arch_x86_64=no
     5208fi
     5209rm -f core conftest.err conftest.$ac_objext \
     5210    conftest$ac_exeext conftest.$ac_ext
    56065211                            CFLAGS=$hold_cflags
    56075212fi
    5608 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    56095214$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56105215                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56135218                        fi;;
    56145219                    *)
    5615                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5220                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56165221$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56175222                esac
     
    56235228            fi
    56245229            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5625             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5230            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56265231$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5627 if test "${tcl_cv_ld_single_module+set}" = set; then
     5232if ${tcl_cv_ld_single_module+:} false; then :
    56285233  $as_echo_n "(cached) " >&6
    56295234else
     
    56315236                hold_ldflags=$LDFLAGS
    56325237                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5633                 cat >conftest.$ac_ext <<_ACEOF
    5634 /* confdefs.h.  */
    5635 _ACEOF
    5636 cat confdefs.h >>conftest.$ac_ext
    5637 cat >>conftest.$ac_ext <<_ACEOF
     5238                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56385239/* end confdefs.h.  */
    56395240
     
    56465247}
    56475248_ACEOF
    5648 rm -f conftest.$ac_objext conftest$ac_exeext
    5649 if { (ac_try="$ac_link"
    5650 case "(($ac_try" in
    5651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5652   *) ac_try_echo=$ac_try;;
    5653 esac
    5654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5655 $as_echo "$ac_try_echo") >&5
    5656   (eval "$ac_link") 2>conftest.er1
    5657   ac_status=$?
    5658   grep -v '^ *+' conftest.er1 >conftest.err
    5659   rm -f conftest.er1
    5660   cat conftest.err >&5
    5661   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5662   (exit $ac_status); } && {
    5663          test -z "$ac_c_werror_flag" ||
    5664          test ! -s conftest.err
    5665        } && test -s conftest$ac_exeext && {
    5666          test "$cross_compiling" = yes ||
    5667          $as_test_x conftest$ac_exeext
    5668        }; then
     5249if ac_fn_c_try_link "$LINENO"; then :
    56695250  tcl_cv_ld_single_module=yes
    56705251else
    5671   $as_echo "$as_me: failed program was:" >&5
    5672 sed 's/^/| /' conftest.$ac_ext >&5
    5673 
    5674         tcl_cv_ld_single_module=no
    5675 fi
    5676 
    5677 rm -rf conftest.dSYM
    5678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5679       conftest$ac_exeext conftest.$ac_ext
     5252  tcl_cv_ld_single_module=no
     5253fi
     5254rm -f core conftest.err conftest.$ac_objext \
     5255    conftest$ac_exeext conftest.$ac_ext
    56805256                LDFLAGS=$hold_ldflags
    56815257fi
    5682 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56835259$as_echo "$tcl_cv_ld_single_module" >&6; }
    56845260            if test $tcl_cv_ld_single_module = yes; then
     
    56945270                LDFLAGS="$LDFLAGS -prebind"
    56955271            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5696             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5272            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    56975273$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5698 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5274if ${tcl_cv_ld_search_paths_first+:} false; then :
    56995275  $as_echo_n "(cached) " >&6
    57005276else
     
    57025278                hold_ldflags=$LDFLAGS
    57035279                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5704                 cat >conftest.$ac_ext <<_ACEOF
    5705 /* confdefs.h.  */
    5706 _ACEOF
    5707 cat confdefs.h >>conftest.$ac_ext
    5708 cat >>conftest.$ac_ext <<_ACEOF
     5280                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57095281/* end confdefs.h.  */
    57105282
     
    57175289}
    57185290_ACEOF
    5719 rm -f conftest.$ac_objext conftest$ac_exeext
    5720 if { (ac_try="$ac_link"
    5721 case "(($ac_try" in
    5722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5723   *) ac_try_echo=$ac_try;;
    5724 esac
    5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5726 $as_echo "$ac_try_echo") >&5
    5727   (eval "$ac_link") 2>conftest.er1
    5728   ac_status=$?
    5729   grep -v '^ *+' conftest.er1 >conftest.err
    5730   rm -f conftest.er1
    5731   cat conftest.err >&5
    5732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5733   (exit $ac_status); } && {
    5734          test -z "$ac_c_werror_flag" ||
    5735          test ! -s conftest.err
    5736        } && test -s conftest$ac_exeext && {
    5737          test "$cross_compiling" = yes ||
    5738          $as_test_x conftest$ac_exeext
    5739        }; then
     5291if ac_fn_c_try_link "$LINENO"; then :
    57405292  tcl_cv_ld_search_paths_first=yes
    57415293else
    5742   $as_echo "$as_me: failed program was:" >&5
    5743 sed 's/^/| /' conftest.$ac_ext >&5
    5744 
    5745         tcl_cv_ld_search_paths_first=no
    5746 fi
    5747 
    5748 rm -rf conftest.dSYM
    5749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5750       conftest$ac_exeext conftest.$ac_ext
     5294  tcl_cv_ld_search_paths_first=no
     5295fi
     5296rm -f core conftest.err conftest.$ac_objext \
     5297    conftest$ac_exeext conftest.$ac_ext
    57515298                LDFLAGS=$hold_ldflags
    57525299fi
    5753 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57545301$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57555302            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57615308            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57625309            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5763             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5310            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57645311$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57655312            # Check whether --enable-corefoundation was given.
    5766 if test "${enable_corefoundation+set}" = set; then
     5313if test "${enable_corefoundation+set}" = set; then :
    57675314  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57685315else
     
    57705317fi
    57715318
    5772             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5319            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57735320$as_echo "$tcl_corefoundation" >&6; }
    57745321            if test $tcl_corefoundation = yes; then
    5775                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5322                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57765323$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5777 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5324if ${tcl_cv_lib_corefoundation+:} false; then :
    57785325  $as_echo_n "(cached) " >&6
    57795326else
     
    57875334                    done; fi
    57885335                    LIBS="$LIBS -framework CoreFoundation"
    5789                     cat >conftest.$ac_ext <<_ACEOF
    5790 /* confdefs.h.  */
    5791 _ACEOF
    5792 cat confdefs.h >>conftest.$ac_ext
    5793 cat >>conftest.$ac_ext <<_ACEOF
     5336                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57945337/* end confdefs.h.  */
    57955338#include <CoreFoundation/CoreFoundation.h>
     
    58025345}
    58035346_ACEOF
    5804 rm -f conftest.$ac_objext conftest$ac_exeext
    5805 if { (ac_try="$ac_link"
    5806 case "(($ac_try" in
    5807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5808   *) ac_try_echo=$ac_try;;
    5809 esac
    5810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5811 $as_echo "$ac_try_echo") >&5
    5812   (eval "$ac_link") 2>conftest.er1
    5813   ac_status=$?
    5814   grep -v '^ *+' conftest.er1 >conftest.err
    5815   rm -f conftest.er1
    5816   cat conftest.err >&5
    5817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5818   (exit $ac_status); } && {
    5819          test -z "$ac_c_werror_flag" ||
    5820          test ! -s conftest.err
    5821        } && test -s conftest$ac_exeext && {
    5822          test "$cross_compiling" = yes ||
    5823          $as_test_x conftest$ac_exeext
    5824        }; then
     5347if ac_fn_c_try_link "$LINENO"; then :
    58255348  tcl_cv_lib_corefoundation=yes
    58265349else
    5827   $as_echo "$as_me: failed program was:" >&5
    5828 sed 's/^/| /' conftest.$ac_ext >&5
    5829 
    5830         tcl_cv_lib_corefoundation=no
    5831 fi
    5832 
    5833 rm -rf conftest.dSYM
    5834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5835       conftest$ac_exeext conftest.$ac_ext
     5350  tcl_cv_lib_corefoundation=no
     5351fi
     5352rm -f core conftest.err conftest.$ac_objext \
     5353    conftest$ac_exeext conftest.$ac_ext
    58365354                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58375355                        eval $v'="$hold_'$v'"'
    58385356                    done; fi; LIBS=$hold_libs
    58395357fi
    5840 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58415359$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58425360                if test $tcl_cv_lib_corefoundation = yes; then
    58435361                    LIBS="$LIBS -framework CoreFoundation"
    5844                     cat >>confdefs.h <<\_ACEOF
    5845 #define HAVE_COREFOUNDATION 1
    5846 _ACEOF
     5362                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58475363
    58485364                else
     
    58505366                fi
    58515367                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5852                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5368                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58535369$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5854 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5370if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58555371  $as_echo_n "(cached) " >&6
    58565372else
     
    58595375                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58605376                        done
    5861                         cat >conftest.$ac_ext <<_ACEOF
    5862 /* confdefs.h.  */
    5863 _ACEOF
    5864 cat confdefs.h >>conftest.$ac_ext
    5865 cat >>conftest.$ac_ext <<_ACEOF
     5377                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58665378/* end confdefs.h.  */
    58675379#include <CoreFoundation/CoreFoundation.h>
     
    58745386}
    58755387_ACEOF
    5876 rm -f conftest.$ac_objext conftest$ac_exeext
    5877 if { (ac_try="$ac_link"
    5878 case "(($ac_try" in
    5879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5880   *) ac_try_echo=$ac_try;;
    5881 esac
    5882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5883 $as_echo "$ac_try_echo") >&5
    5884   (eval "$ac_link") 2>conftest.er1
    5885   ac_status=$?
    5886   grep -v '^ *+' conftest.er1 >conftest.err
    5887   rm -f conftest.er1
    5888   cat conftest.err >&5
    5889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5890   (exit $ac_status); } && {
    5891          test -z "$ac_c_werror_flag" ||
    5892          test ! -s conftest.err
    5893        } && test -s conftest$ac_exeext && {
    5894          test "$cross_compiling" = yes ||
    5895          $as_test_x conftest$ac_exeext
    5896        }; then
     5388if ac_fn_c_try_link "$LINENO"; then :
    58975389  tcl_cv_lib_corefoundation_64=yes
    58985390else
    5899   $as_echo "$as_me: failed program was:" >&5
    5900 sed 's/^/| /' conftest.$ac_ext >&5
    5901 
    5902         tcl_cv_lib_corefoundation_64=no
    5903 fi
    5904 
    5905 rm -rf conftest.dSYM
    5906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5907       conftest$ac_exeext conftest.$ac_ext
     5391  tcl_cv_lib_corefoundation_64=no
     5392fi
     5393rm -f core conftest.err conftest.$ac_objext \
     5394    conftest$ac_exeext conftest.$ac_ext
    59085395                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    59095396                            eval $v'="$hold_'$v'"'
    59105397                        done
    59115398fi
    5912 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59135400$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59145401                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5915                         cat >>confdefs.h <<\_ACEOF
    5916 #define NO_COREFOUNDATION_64 1
    5917 _ACEOF
     5402                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59185403
    59195404                    fi
    59205405                fi
    59215406            fi
    5922             cat >>confdefs.h <<\_ACEOF
    5923 #define MAC_OSX_TCL 1
    5924 _ACEOF
     5407            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59255408
    59265409            ;;
     
    59375420        OS/390-*)
    59385421            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5939             cat >>confdefs.h <<\_ACEOF
    5940 #define _OE_SOCKETS 1
    5941 _ACEOF
     5422            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59425423        # needed in sys/socket.h
    59435424            ;;
     
    60805561            # won't define thread-safe library routines.
    60815562
    6082             cat >>confdefs.h <<\_ACEOF
    6083 #define _REENTRANT 1
    6084 _ACEOF
    6085 
    6086             cat >>confdefs.h <<\_ACEOF
    6087 #define _POSIX_PTHREAD_SEMANTICS 1
    6088 _ACEOF
     5563            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5564
     5565            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    60895566
    60905567
     
    61125589            # won't define thread-safe library routines.
    61135590
    6114             cat >>confdefs.h <<\_ACEOF
    6115 #define _REENTRANT 1
    6116 _ACEOF
    6117 
    6118             cat >>confdefs.h <<\_ACEOF
    6119 #define _POSIX_PTHREAD_SEMANTICS 1
    6120 _ACEOF
     5591            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5592
     5593            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61215594
    61225595
     
    61295602                        if test "$GCC" = "yes" ; then
    61305603                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6131                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5604                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61325605$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61335606                            else
     
    61515624                elif test "$arch" = "amd64 i386" ; then
    61525625                    if test "$GCC" = "yes" ; then
    6153                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5626                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61545627$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61555628                    else
     
    61595632                    fi
    61605633                else
    6161                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5634                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61625635$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61635636                fi
     
    62185691            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62195692            # that don't grok the -Bexport option.  Test that it does.
    6220             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5693            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62215694$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6222 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5695if ${tcl_cv_ld_Bexport+:} false; then :
    62235696  $as_echo_n "(cached) " >&6
    62245697else
     
    62265699                hold_ldflags=$LDFLAGS
    62275700                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6228                 cat >conftest.$ac_ext <<_ACEOF
    6229 /* confdefs.h.  */
    6230 _ACEOF
    6231 cat confdefs.h >>conftest.$ac_ext
    6232 cat >>conftest.$ac_ext <<_ACEOF
     5701                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62335702/* end confdefs.h.  */
    62345703
     
    62415710}
    62425711_ACEOF
    6243 rm -f conftest.$ac_objext conftest$ac_exeext
    6244 if { (ac_try="$ac_link"
    6245 case "(($ac_try" in
    6246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6247   *) ac_try_echo=$ac_try;;
    6248 esac
    6249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6250 $as_echo "$ac_try_echo") >&5
    6251   (eval "$ac_link") 2>conftest.er1
    6252   ac_status=$?
    6253   grep -v '^ *+' conftest.er1 >conftest.err
    6254   rm -f conftest.er1
    6255   cat conftest.err >&5
    6256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6257   (exit $ac_status); } && {
    6258          test -z "$ac_c_werror_flag" ||
    6259          test ! -s conftest.err
    6260        } && test -s conftest$ac_exeext && {
    6261          test "$cross_compiling" = yes ||
    6262          $as_test_x conftest$ac_exeext
    6263        }; then
     5712if ac_fn_c_try_link "$LINENO"; then :
    62645713  tcl_cv_ld_Bexport=yes
    62655714else
    6266   $as_echo "$as_me: failed program was:" >&5
    6267 sed 's/^/| /' conftest.$ac_ext >&5
    6268 
    6269         tcl_cv_ld_Bexport=no
    6270 fi
    6271 
    6272 rm -rf conftest.dSYM
    6273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6274       conftest$ac_exeext conftest.$ac_ext
     5715  tcl_cv_ld_Bexport=no
     5716fi
     5717rm -f core conftest.err conftest.$ac_objext \
     5718    conftest$ac_exeext conftest.$ac_ext
    62755719                LDFLAGS=$hold_ldflags
    62765720fi
    6277 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62785722$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62795723            if test $tcl_cv_ld_Bexport = yes; then
     
    62865730
    62875731    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    6288         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5732        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    62895733$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    62905734    fi
     
    63135757
    63145758    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6315         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63165760$as_echo_n "checking sys/exec.h... " >&6; }
    6317 if test "${tcl_cv_sysexec_h+set}" = set; then
     5761if ${tcl_cv_sysexec_h+:} false; then :
    63185762  $as_echo_n "(cached) " >&6
    63195763else
    63205764
    6321         cat >conftest.$ac_ext <<_ACEOF
    6322 /* confdefs.h.  */
    6323 _ACEOF
    6324 cat confdefs.h >>conftest.$ac_ext
    6325 cat >>conftest.$ac_ext <<_ACEOF
     5765        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63265766/* end confdefs.h.  */
    63275767#include <sys/exec.h>
     
    63455785}
    63465786_ACEOF
    6347 rm -f conftest.$ac_objext
    6348 if { (ac_try="$ac_compile"
    6349 case "(($ac_try" in
    6350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6351   *) ac_try_echo=$ac_try;;
    6352 esac
    6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6354 $as_echo "$ac_try_echo") >&5
    6355   (eval "$ac_compile") 2>conftest.er1
    6356   ac_status=$?
    6357   grep -v '^ *+' conftest.er1 >conftest.err
    6358   rm -f conftest.er1
    6359   cat conftest.err >&5
    6360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6361   (exit $ac_status); } && {
    6362          test -z "$ac_c_werror_flag" ||
    6363          test ! -s conftest.err
    6364        } && test -s conftest.$ac_objext; then
     5787if ac_fn_c_try_compile "$LINENO"; then :
    63655788  tcl_cv_sysexec_h=usable
    63665789else
    6367   $as_echo "$as_me: failed program was:" >&5
    6368 sed 's/^/| /' conftest.$ac_ext >&5
    6369 
    6370         tcl_cv_sysexec_h=unusable
    6371 fi
    6372 
     5790  tcl_cv_sysexec_h=unusable
     5791fi
    63735792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63745793fi
    6375 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63765795$as_echo "$tcl_cv_sysexec_h" >&6; }
    63775796        if test $tcl_cv_sysexec_h = usable; then
    6378             cat >>confdefs.h <<\_ACEOF
    6379 #define USE_SYS_EXEC_H 1
    6380 _ACEOF
     5797            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63815798
    63825799        else
    6383             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5800            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63845801$as_echo_n "checking a.out.h... " >&6; }
    6385 if test "${tcl_cv_aout_h+set}" = set; then
     5802if ${tcl_cv_aout_h+:} false; then :
    63865803  $as_echo_n "(cached) " >&6
    63875804else
    63885805
    6389             cat >conftest.$ac_ext <<_ACEOF
    6390 /* confdefs.h.  */
    6391 _ACEOF
    6392 cat confdefs.h >>conftest.$ac_ext
    6393 cat >>conftest.$ac_ext <<_ACEOF
     5806            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63945807/* end confdefs.h.  */
    63955808#include <a.out.h>
     
    64135826}
    64145827_ACEOF
    6415 rm -f conftest.$ac_objext
    6416 if { (ac_try="$ac_compile"
    6417 case "(($ac_try" in
    6418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6419   *) ac_try_echo=$ac_try;;
    6420 esac
    6421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6422 $as_echo "$ac_try_echo") >&5
    6423   (eval "$ac_compile") 2>conftest.er1
    6424   ac_status=$?
    6425   grep -v '^ *+' conftest.er1 >conftest.err
    6426   rm -f conftest.er1
    6427   cat conftest.err >&5
    6428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6429   (exit $ac_status); } && {
    6430          test -z "$ac_c_werror_flag" ||
    6431          test ! -s conftest.err
    6432        } && test -s conftest.$ac_objext; then
     5828if ac_fn_c_try_compile "$LINENO"; then :
    64335829  tcl_cv_aout_h=usable
    64345830else
    6435   $as_echo "$as_me: failed program was:" >&5
    6436 sed 's/^/| /' conftest.$ac_ext >&5
    6437 
    6438         tcl_cv_aout_h=unusable
    6439 fi
    6440 
     5831  tcl_cv_aout_h=unusable
     5832fi
    64415833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64425834fi
    6443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64445836$as_echo "$tcl_cv_aout_h" >&6; }
    64455837            if test $tcl_cv_aout_h = usable; then
    6446                 cat >>confdefs.h <<\_ACEOF
    6447 #define USE_A_OUT_H 1
    6448 _ACEOF
     5838                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64495839
    64505840            else
    6451                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5841                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64525842$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6453 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5843if ${tcl_cv_sysexecaout_h+:} false; then :
    64545844  $as_echo_n "(cached) " >&6
    64555845else
    64565846
    6457                 cat >conftest.$ac_ext <<_ACEOF
    6458 /* confdefs.h.  */
    6459 _ACEOF
    6460 cat confdefs.h >>conftest.$ac_ext
    6461 cat >>conftest.$ac_ext <<_ACEOF
     5847                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64625848/* end confdefs.h.  */
    64635849#include <sys/exec_aout.h>
     
    64815867}
    64825868_ACEOF
    6483 rm -f conftest.$ac_objext
    6484 if { (ac_try="$ac_compile"
    6485 case "(($ac_try" in
    6486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6487   *) ac_try_echo=$ac_try;;
    6488 esac
    6489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6490 $as_echo "$ac_try_echo") >&5
    6491   (eval "$ac_compile") 2>conftest.er1
    6492   ac_status=$?
    6493   grep -v '^ *+' conftest.er1 >conftest.err
    6494   rm -f conftest.er1
    6495   cat conftest.err >&5
    6496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6497   (exit $ac_status); } && {
    6498          test -z "$ac_c_werror_flag" ||
    6499          test ! -s conftest.err
    6500        } && test -s conftest.$ac_objext; then
     5869if ac_fn_c_try_compile "$LINENO"; then :
    65015870  tcl_cv_sysexecaout_h=usable
    65025871else
    6503   $as_echo "$as_me: failed program was:" >&5
    6504 sed 's/^/| /' conftest.$ac_ext >&5
    6505 
    6506         tcl_cv_sysexecaout_h=unusable
    6507 fi
    6508 
     5872  tcl_cv_sysexecaout_h=unusable
     5873fi
    65095874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65105875fi
    6511 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    65125877$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    65135878