Changeset 2618


Ignore:
Timestamp:
Oct 13, 2011, 3:58:09 PM (8 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers
Files:
13 added
1 deleted
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/aclocal.m4

    r1115 r2618  
    1 builtin(include,./tcl.m4)
     1builtin(include,./cf/tcl.m4)
     2builtin(include,./cf/rpLangPython.m4)
  • trunk/packages/vizservers/configure

    r2568 r2618  
    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.68 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
     7#
    78# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10# Foundation, Inc.
     11#
     12#
    913# This configure script is free software; the Free Software Foundation
    1014# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     15## -------------------- ##
     16## M4sh Initialization. ##
     17## -------------------- ##
    1418
    1519# Be more Bourne compatible
    1620DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1822  emulate sh
    1923  NULLCMD=:
     
    2327  setopt NO_GLOB_SUBST
    2428else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     29  case `(set -o) 2>/dev/null` in #(
     30  *posix*) :
     31    set -o posix ;; #(
     32  *) :
     33     ;;
    2734esac
    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
     35fi
     36
    4137
    4238as_nl='
     
    4743as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4844as_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
     45# Prefer a ksh shell builtin over an external printf program on Solaris,
     46# but without wasting forks for bash or zsh.
     47if test -z "$BASH_VERSION$ZSH_VERSION" \
     48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49  as_echo='print -r --'
     50  as_echo_n='print -rn --'
     51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5052  as_echo='printf %s\n'
    5153  as_echo_n='printf %s'
     
    5860    as_echo_n_body='eval
    5961      arg=$1;
    60       case $arg in
     62      case $arg in #(
    6163      *"$as_nl"*)
    6264        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8183fi
    8284
    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 
    9085
    9186# IFS
     
    9792
    9893# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     94as_myself=
     95case $0 in #((
    10096  *[\\/]* ) as_myself=$0 ;;
    10197  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    104100  IFS=$as_save_IFS
    105101  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     103  done
    108104IFS=$as_save_IFS
    109105
     
    117113if test ! -f "$as_myself"; then
    118114  $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
     115  exit 1
     116fi
     117
     118# Unset variables that we do not need and which cause bugs (e.g. in
     119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     120# suppresses any "Segmentation fault" message there.  '((' could
     121# trigger a bug in pdksh 5.2.14.
     122for as_var in BASH_ENV ENV MAIL MAILPATH
     123do eval test x\${$as_var+set} = xset \
     124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # Required to use basename.
     136# CDPATH.
     137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     138
     139if test "x$CONFIG_SHELL" = x; then
     140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     141  emulate sh
     142  NULLCMD=:
     143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     144  # is contrary to our usage.  Disable this feature.
     145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     146  setopt NO_GLOB_SUBST
     147else
     148  case \`(set -o) 2>/dev/null\` in #(
     149  *posix*) :
     150    set -o posix ;; #(
     151  *) :
     152     ;;
     153esac
     154fi
     155"
     156  as_required="as_fn_return () { (exit \$1); }
     157as_fn_success () { as_fn_return 0; }
     158as_fn_failure () { as_fn_return 1; }
     159as_fn_ret_success () { return 0; }
     160as_fn_ret_failure () { return 1; }
     161
     162exitcode=0
     163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     168
     169else
     170  exitcode=1; echo positional parameters were not saved.
     171fi
     172test x\$exitcode = x0 || exit 1"
     173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     177test \$(( 1 + 1 )) = 2 || exit 1"
     178  if (eval "$as_required") 2>/dev/null; then :
     179  as_have_required=yes
     180else
     181  as_have_required=no
     182fi
     183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     184
     185else
     186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     187as_found=false
     188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     189do
     190  IFS=$as_save_IFS
     191  test -z "$as_dir" && as_dir=.
     192  as_found=:
     193  case $as_dir in #(
     194         /*)
     195           for as_base in sh bash ksh sh5; do
     196             # Try only shells that exist, to save several forks.
     197             as_shell=$as_dir/$as_base
     198             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     199                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     200  CONFIG_SHELL=$as_shell as_have_required=yes
     201                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     202  break 2
     203fi
     204fi
     205           done;;
     206       esac
     207  as_found=false
     208done
     209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     210              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     211  CONFIG_SHELL=$SHELL as_have_required=yes
     212fi; }
     213IFS=$as_save_IFS
     214
     215
     216      if test "x$CONFIG_SHELL" != x; then :
     217  # We cannot yet assume a decent shell, so we have to provide a
     218        # neutralization value for shells without unset; and this also
     219        # works around shells that cannot unset nonexistent variables.
     220        # Preserve -v and -x to the replacement shell.
     221        BASH_ENV=/dev/null
     222        ENV=/dev/null
     223        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     224        export CONFIG_SHELL
     225        case $- in # ((((
     226          *v*x* | *x*v* ) as_opts=-vx ;;
     227          *v* ) as_opts=-v ;;
     228          *x* ) as_opts=-x ;;
     229          * ) as_opts= ;;
     230        esac
     231        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     232fi
     233
     234    if test x$as_have_required = xno; then :
     235  $as_echo "$0: This script requires a shell more modern than all"
     236  $as_echo "$0: the shells that I found on your system."
     237  if test x${ZSH_VERSION+set} = xset ; then
     238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     240  else
     241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     242$0: rappture@nanohub.org about your system, including any
     243$0: error possibly output before this message. Then install
     244$0: a modern shell, or manually run the script under such a
     245$0: shell if you do have one."
     246  fi
     247  exit 1
     248fi
     249fi
     250fi
     251SHELL=${CONFIG_SHELL-/bin/sh}
     252export SHELL
     253# Unset more variables known to interfere with behavior of common tools.
     254CLICOLOR_FORCE= GREP_OPTIONS=
     255unset CLICOLOR_FORCE GREP_OPTIONS
     256
     257## --------------------- ##
     258## M4sh Shell Functions. ##
     259## --------------------- ##
     260# as_fn_unset VAR
     261# ---------------
     262# Portably unset VAR.
     263as_fn_unset ()
     264{
     265  { eval $1=; unset $1;}
     266}
     267as_unset=as_fn_unset
     268
     269# as_fn_set_status STATUS
     270# -----------------------
     271# Set $? to STATUS, without forking.
     272as_fn_set_status ()
     273{
     274  return $1
     275} # as_fn_set_status
     276
     277# as_fn_exit STATUS
     278# -----------------
     279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     280as_fn_exit ()
     281{
     282  set +e
     283  as_fn_set_status $1
     284  exit $1
     285} # as_fn_exit
     286
     287# as_fn_mkdir_p
     288# -------------
     289# Create "$as_dir" as a directory, including parents if necessary.
     290as_fn_mkdir_p ()
     291{
     292
     293  case $as_dir in #(
     294  -*) as_dir=./$as_dir;;
     295  esac
     296  test -d "$as_dir" || eval $as_mkdir_p || {
     297    as_dirs=
     298    while :; do
     299      case $as_dir in #(
     300      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     301      *) as_qdir=$as_dir;;
     302      esac
     303      as_dirs="'$as_qdir' $as_dirs"
     304      as_dir=`$as_dirname -- "$as_dir" ||
     305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     306         X"$as_dir" : 'X\(//\)[^/]' \| \
     307         X"$as_dir" : 'X\(//\)$' \| \
     308         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     309$as_echo X"$as_dir" |
     310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     311            s//\1/
     312            q
     313          }
     314          /^X\(\/\/\)[^/].*/{
     315            s//\1/
     316            q
     317          }
     318          /^X\(\/\/\)$/{
     319            s//\1/
     320            q
     321          }
     322          /^X\(\/\).*/{
     323            s//\1/
     324            q
     325          }
     326          s/.*/./; q'`
     327      test -d "$as_dir" && break
     328    done
     329    test -z "$as_dirs" || eval "mkdir $as_dirs"
     330  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     331
     332
     333} # as_fn_mkdir_p
     334# as_fn_append VAR VALUE
     335# ----------------------
     336# Append the text in VALUE to the end of the definition contained in VAR. Take
     337# advantage of any shell optimizations that allow amortized linear growth over
     338# repeated appends, instead of the typical quadratic growth present in naive
     339# implementations.
     340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     341  eval 'as_fn_append ()
     342  {
     343    eval $1+=\$2
     344  }'
     345else
     346  as_fn_append ()
     347  {
     348    eval $1=\$$1\$2
     349  }
     350fi # as_fn_append
     351
     352# as_fn_arith ARG...
     353# ------------------
     354# Perform arithmetic evaluation on the ARGs, and store the result in the
     355# global $as_val. Take advantage of shells that can avoid forks. The arguments
     356# must be portable across $(()) and expr.
     357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     358  eval 'as_fn_arith ()
     359  {
     360    as_val=$(( $* ))
     361  }'
     362else
     363  as_fn_arith ()
     364  {
     365    as_val=`expr "$@" || test $? -eq 1`
     366  }
     367fi # as_fn_arith
     368
     369
     370# as_fn_error STATUS ERROR [LINENO LOG_FD]
     371# ----------------------------------------
     372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     374# script with STATUS, using 1 if that was 0.
     375as_fn_error ()
     376{
     377  as_status=$1; test $as_status -eq 0 && as_status=1
     378  if test "$4"; then
     379    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     380    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     381  fi
     382  $as_echo "$as_me: error: $2" >&2
     383  as_fn_exit $as_status
     384} # as_fn_error
     385
    137386if expr a : '\(a\)' >/dev/null 2>&1 &&
    138387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148397fi
    149398
    150 
    151 # Name of the executable.
     399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     400  as_dirname=dirname
     401else
     402  as_dirname=false
     403fi
     404
    152405as_me=`$as_basename -- "$0" ||
    153406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169422          s/.*/./; q'`
    170423
    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.  :-)
     424# Avoid depending upon Character Ranges.
     425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     428as_cr_digits='0123456789'
     429as_cr_alnum=$as_cr_Letters$as_cr_digits
     430
     431
     432  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     433  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     434  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     435  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     436  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460437  sed -n '
    461438    p
     
    474451    ' >$as_me.lineno &&
    475452  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; }; }
     453    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    478454
    479455  # Don't try to exec as it changes $[0], causing all sort of problems
     
    485461}
    486462
    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 
    494463ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     464case `echo -n x` in #(((((
    496465-n*)
    497   case `echo 'x\c'` in
     466  case `echo 'xy\c'` in
    498467  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     468  xy)  ECHO_C='\c';;
     469  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     470       ECHO_T=' ';;
    500471  esac;;
    501472*)
    502473  ECHO_N='-n';;
    503474esac
    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
    510475
    511476rm -f conf$$ conf$$.exe conf$$.file
     
    537502
    538503if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     504  as_mkdir_p='mkdir -p "$as_dir"'
    540505else
    541506  test -d ./-p && rmdir ./-p
     
    556521        test -d "$1/.";
    557522      else
    558         case $1 in
     523        case $1 in #(
    559524        -*)set "./$1";;
    560525        esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     526        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    562527        ???[sx]*):;;*)false;;esac;fi
    563528    '\'' sh
     
    573538
    574539
    575 
    576 exec 7<&0 </dev/null 6>&1
     540test -n "$DJDIR" || exec 7<&0 </dev/null
     541exec 6>&1
    577542
    578543# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580545# so uname gets run too.
    581546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592557MFLAGS=
    593558MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595559
    596560# Identity of this package.
     
    600564PACKAGE_STRING='vizservers 0.1'
    601565PACKAGE_BUGREPORT='rappture@nanohub.org'
     566PACKAGE_URL=''
    602567
    603568# Factoring default headers for most tests.
     
    694659DL_OBJS
    695660DL_LIBS
     661AR
     662RANLIB
    696663EGREP
    697664GREP
    698665CPP
    699 AR
    700 RANLIB
    701666OBJEXT
    702667EXEEXT
     
    706671CFLAGS
    707672CC
     673PYTHON
    708674target_alias
    709675host_alias
     
    736702prefix
    737703exec_prefix
     704PACKAGE_URL
    738705PACKAGE_BUGREPORT
    739706PACKAGE_STRING
     
    751718with_vtk_libs
    752719with_vtk
     720with_python
    753721enable_64bit
    754722enable_64bit_vis
     
    833801
    834802  case $ac_option in
    835   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    836   *)    ac_optarg=yes ;;
     803  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     804  *=)   ac_optarg= ;;
     805  *)    ac_optarg=yes ;;
    837806  esac
    838807
     
    879848    # Reject names that are not valid shell variable names.
    880849    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    881       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    882    { (exit 1); exit 1; }; }
     850      as_fn_error $? "invalid feature name: $ac_useropt"
    883851    ac_useropt_orig=$ac_useropt
    884852    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    906874    # Reject names that are not valid shell variable names.
    907875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    909    { (exit 1); exit 1; }; }
     876      as_fn_error $? "invalid feature name: $ac_useropt"
    910877    ac_useropt_orig=$ac_useropt
    911878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11111078    # Reject names that are not valid shell variable names.
    11121079    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1113       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1114    { (exit 1); exit 1; }; }
     1080      as_fn_error $? "invalid package name: $ac_useropt"
    11151081    ac_useropt_orig=$ac_useropt
    11161082    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11281094    # Reject names that are not valid shell variable names.
    11291095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1130       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1131    { (exit 1); exit 1; }; }
     1096      as_fn_error $? "invalid package name: $ac_useropt"
    11321097    ac_useropt_orig=$ac_useropt
    11331098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11591124    x_libraries=$ac_optarg ;;
    11601125
    1161   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1162 Try \`$0 --help' for more information." >&2
    1163    { (exit 1); exit 1; }; }
     1126  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1127Try \`$0 --help' for more information"
    11641128    ;;
    11651129
     
    11671131    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11681132    # Reject names that are not valid shell variable names.
    1169     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1170       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1171    { (exit 1); exit 1; }; }
     1133    case $ac_envvar in #(
     1134      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1135      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1136    esac
    11721137    eval $ac_envvar=\$ac_optarg
    11731138    export $ac_envvar ;;
     
    11781143    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11791144      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1180     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1145    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11811146    ;;
    11821147
     
    11861151if test -n "$ac_prev"; then
    11871152  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1188   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1189    { (exit 1); exit 1; }; }
     1153  as_fn_error $? "missing argument to $ac_option"
    11901154fi
    11911155
     
    11931157  case $enable_option_checking in
    11941158    no) ;;
    1195     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1196    { (exit 1); exit 1; }; } ;;
     1159    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11971160    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11981161  esac
     
    12171180    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12181181  esac
    1219   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1220    { (exit 1); exit 1; }; }
     1182  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12211183done
    12221184
     
    12321194  if test "x$build_alias" = x; then
    12331195    cross_compiling=maybe
    1234     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1235     If a cross compiler is detected then cross compile mode will be used." >&2
     1196    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1197    If a cross compiler is detected then cross compile mode will be used" >&2
    12361198  elif test "x$build_alias" != "x$host_alias"; then
    12371199    cross_compiling=yes
     
    12481210ac_ls_di=`ls -di .` &&
    12491211ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1250   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1251    { (exit 1); exit 1; }; }
     1212  as_fn_error $? "working directory cannot be determined"
    12521213test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1253   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1254    { (exit 1); exit 1; }; }
     1214  as_fn_error $? "pwd does not report name of working directory"
    12551215
    12561216
     
    12911251if test ! -r "$srcdir/$ac_unique_file"; then
    12921252  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1293   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1294    { (exit 1); exit 1; }; }
     1253  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12951254fi
    12961255ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12971256ac_abs_confdir=`(
    1298         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1299    { (exit 1); exit 1; }; }
     1257        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13001258        pwd)`
    13011259# When building in place, set srcdir=.
     
    13371295      --help=recursive    display the short help of all the included packages
    13381296  -V, --version           display version information and exit
    1339   -q, --quiet, --silent   do not print \`checking...' messages
     1297  -q, --quiet, --silent   do not print \`checking ...' messages
    13401298      --cache-file=FILE   cache test results in FILE [disabled]
    13411299  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14111369  --with-vtk-libs=DIR     VTK libraries are in DIR
    14121370  --with-vtk=VERSION      Version of VTK required
     1371  --with-python=DIR       location of python [default=yes]
    14131372  --with-x                use the X Window System
    14141373
     
    14191378              nonstandard directory <lib dir>
    14201379  LIBS        libraries to pass to the linker, e.g. -l<library>
    1421   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1380  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14221381              you have headers in a nonstandard directory <include dir>
    14231382  CPP         C preprocessor
     
    14941453  cat <<\_ACEOF
    14951454vizservers configure 0.1
    1496 generated by GNU Autoconf 2.63
    1497 
    1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1499 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1455generated by GNU Autoconf 2.68
     1456
     1457Copyright (C) 2010 Free Software Foundation, Inc.
    15001458This configure script is free software; the Free Software Foundation
    15011459gives unlimited permission to copy, distribute and modify it.
     
    15031461  exit
    15041462fi
     1463
     1464## ------------------------ ##
     1465## Autoconf initialization. ##
     1466## ------------------------ ##
     1467
     1468# ac_fn_c_try_compile LINENO
     1469# --------------------------
     1470# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1471ac_fn_c_try_compile ()
     1472{
     1473  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1474  rm -f conftest.$ac_objext
     1475  if { { ac_try="$ac_compile"
     1476case "(($ac_try" in
     1477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1478  *) ac_try_echo=$ac_try;;
     1479esac
     1480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1481$as_echo "$ac_try_echo"; } >&5
     1482  (eval "$ac_compile") 2>conftest.err
     1483  ac_status=$?
     1484  if test -s conftest.err; then
     1485    grep -v '^ *+' conftest.err >conftest.er1
     1486    cat conftest.er1 >&5
     1487    mv -f conftest.er1 conftest.err
     1488  fi
     1489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1490  test $ac_status = 0; } && {
     1491         test -z "$ac_c_werror_flag" ||
     1492         test ! -s conftest.err
     1493       } && test -s conftest.$ac_objext; then :
     1494  ac_retval=0
     1495else
     1496  $as_echo "$as_me: failed program was:" >&5
     1497sed 's/^/| /' conftest.$ac_ext >&5
     1498
     1499        ac_retval=1
     1500fi
     1501  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1502  as_fn_set_status $ac_retval
     1503
     1504} # ac_fn_c_try_compile
     1505
     1506# ac_fn_c_try_cpp LINENO
     1507# ----------------------
     1508# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1509ac_fn_c_try_cpp ()
     1510{
     1511  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1512  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1513case "(($ac_try" in
     1514  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1515  *) ac_try_echo=$ac_try;;
     1516esac
     1517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1518$as_echo "$ac_try_echo"; } >&5
     1519  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1520  ac_status=$?
     1521  if test -s conftest.err; then
     1522    grep -v '^ *+' conftest.err >conftest.er1
     1523    cat conftest.er1 >&5
     1524    mv -f conftest.er1 conftest.err
     1525  fi
     1526  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1527  test $ac_status = 0; } > conftest.i && {
     1528         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1529         test ! -s conftest.err
     1530       }; then :
     1531  ac_retval=0
     1532else
     1533  $as_echo "$as_me: failed program was:" >&5
     1534sed 's/^/| /' conftest.$ac_ext >&5
     1535
     1536    ac_retval=1
     1537fi
     1538  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1539  as_fn_set_status $ac_retval
     1540
     1541} # ac_fn_c_try_cpp
     1542
     1543# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1544# -------------------------------------------------------
     1545# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1546# the include files in INCLUDES and setting the cache variable VAR
     1547# accordingly.
     1548ac_fn_c_check_header_mongrel ()
     1549{
     1550  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1551  if eval \${$3+:} false; then :
     1552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1553$as_echo_n "checking for $2... " >&6; }
     1554if eval \${$3+:} false; then :
     1555  $as_echo_n "(cached) " >&6
     1556fi
     1557eval ac_res=\$$3
     1558               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1559$as_echo "$ac_res" >&6; }
     1560else
     1561  # Is the header compilable?
     1562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1563$as_echo_n "checking $2 usability... " >&6; }
     1564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1565/* end confdefs.h.  */
     1566$4
     1567#include <$2>
     1568_ACEOF
     1569if ac_fn_c_try_compile "$LINENO"; then :
     1570  ac_header_compiler=yes
     1571else
     1572  ac_header_compiler=no
     1573fi
     1574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1576$as_echo "$ac_header_compiler" >&6; }
     1577
     1578# Is the header present?
     1579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1580$as_echo_n "checking $2 presence... " >&6; }
     1581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1582/* end confdefs.h.  */
     1583#include <$2>
     1584_ACEOF
     1585if ac_fn_c_try_cpp "$LINENO"; then :
     1586  ac_header_preproc=yes
     1587else
     1588  ac_header_preproc=no
     1589fi
     1590rm -f conftest.err conftest.i conftest.$ac_ext
     1591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1592$as_echo "$ac_header_preproc" >&6; }
     1593
     1594# So?  What about this header?
     1595case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1596  yes:no: )
     1597    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1598$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1599    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1600$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1601    ;;
     1602  no:yes:* )
     1603    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1604$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1605    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1606$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1607    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1608$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1609    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1610$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1611    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1612$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1613( $as_echo "## ----------------------------------- ##
     1614## Report this to rappture@nanohub.org ##
     1615## ----------------------------------- ##"
     1616     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1617    ;;
     1618esac
     1619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1620$as_echo_n "checking for $2... " >&6; }
     1621if eval \${$3+:} false; then :
     1622  $as_echo_n "(cached) " >&6
     1623else
     1624  eval "$3=\$ac_header_compiler"
     1625fi
     1626eval ac_res=\$$3
     1627               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1628$as_echo "$ac_res" >&6; }
     1629fi
     1630  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1631
     1632} # ac_fn_c_check_header_mongrel
     1633
     1634# ac_fn_c_try_run LINENO
     1635# ----------------------
     1636# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1637# that executables *can* be run.
     1638ac_fn_c_try_run ()
     1639{
     1640  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1641  if { { ac_try="$ac_link"
     1642case "(($ac_try" in
     1643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1644  *) ac_try_echo=$ac_try;;
     1645esac
     1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1647$as_echo "$ac_try_echo"; } >&5
     1648  (eval "$ac_link") 2>&5
     1649  ac_status=$?
     1650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1651  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1652  { { case "(($ac_try" in
     1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1654  *) ac_try_echo=$ac_try;;
     1655esac
     1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1657$as_echo "$ac_try_echo"; } >&5
     1658  (eval "$ac_try") 2>&5
     1659  ac_status=$?
     1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1661  test $ac_status = 0; }; }; then :
     1662  ac_retval=0
     1663else
     1664  $as_echo "$as_me: program exited with status $ac_status" >&5
     1665       $as_echo "$as_me: failed program was:" >&5
     1666sed 's/^/| /' conftest.$ac_ext >&5
     1667
     1668       ac_retval=$ac_status
     1669fi
     1670  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1671  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1672  as_fn_set_status $ac_retval
     1673
     1674} # ac_fn_c_try_run
     1675
     1676# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1677# -------------------------------------------------------
     1678# Tests whether HEADER exists and can be compiled using the include files in
     1679# INCLUDES, setting the cache variable VAR accordingly.
     1680ac_fn_c_check_header_compile ()
     1681{
     1682  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1684$as_echo_n "checking for $2... " >&6; }
     1685if eval \${$3+:} false; then :
     1686  $as_echo_n "(cached) " >&6
     1687else
     1688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1689/* end confdefs.h.  */
     1690$4
     1691#include <$2>
     1692_ACEOF
     1693if ac_fn_c_try_compile "$LINENO"; then :
     1694  eval "$3=yes"
     1695else
     1696  eval "$3=no"
     1697fi
     1698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1699fi
     1700eval ac_res=\$$3
     1701               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1702$as_echo "$ac_res" >&6; }
     1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1704
     1705} # ac_fn_c_check_header_compile
     1706
     1707# ac_fn_c_try_link LINENO
     1708# -----------------------
     1709# Try to link conftest.$ac_ext, and return whether this succeeded.
     1710ac_fn_c_try_link ()
     1711{
     1712  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1713  rm -f conftest.$ac_objext conftest$ac_exeext
     1714  if { { ac_try="$ac_link"
     1715case "(($ac_try" in
     1716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1717  *) ac_try_echo=$ac_try;;
     1718esac
     1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1720$as_echo "$ac_try_echo"; } >&5
     1721  (eval "$ac_link") 2>conftest.err
     1722  ac_status=$?
     1723  if test -s conftest.err; then
     1724    grep -v '^ *+' conftest.err >conftest.er1
     1725    cat conftest.er1 >&5
     1726    mv -f conftest.er1 conftest.err
     1727  fi
     1728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1729  test $ac_status = 0; } && {
     1730         test -z "$ac_c_werror_flag" ||
     1731         test ! -s conftest.err
     1732       } && test -s conftest$ac_exeext && {
     1733         test "$cross_compiling" = yes ||
     1734         $as_test_x conftest$ac_exeext
     1735       }; then :
     1736  ac_retval=0
     1737else
     1738  $as_echo "$as_me: failed program was:" >&5
     1739sed 's/^/| /' conftest.$ac_ext >&5
     1740
     1741        ac_retval=1
     1742fi
     1743  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1744  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1745  # interfere with the next link command; also delete a directory that is
     1746  # left behind by Apple's compiler.  We do this before executing the actions.
     1747  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1748  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1749  as_fn_set_status $ac_retval
     1750
     1751} # ac_fn_c_try_link
     1752
     1753# ac_fn_cxx_try_compile LINENO
     1754# ----------------------------
     1755# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1756ac_fn_cxx_try_compile ()
     1757{
     1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1759  rm -f conftest.$ac_objext
     1760  if { { ac_try="$ac_compile"
     1761case "(($ac_try" in
     1762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1763  *) ac_try_echo=$ac_try;;
     1764esac
     1765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1766$as_echo "$ac_try_echo"; } >&5
     1767  (eval "$ac_compile") 2>conftest.err
     1768  ac_status=$?
     1769  if test -s conftest.err; then
     1770    grep -v '^ *+' conftest.err >conftest.er1
     1771    cat conftest.er1 >&5
     1772    mv -f conftest.er1 conftest.err
     1773  fi
     1774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1775  test $ac_status = 0; } && {
     1776         test -z "$ac_cxx_werror_flag" ||
     1777         test ! -s conftest.err
     1778       } && test -s conftest.$ac_objext; then :
     1779  ac_retval=0
     1780else
     1781  $as_echo "$as_me: failed program was:" >&5
     1782sed 's/^/| /' conftest.$ac_ext >&5
     1783
     1784        ac_retval=1
     1785fi
     1786  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1787  as_fn_set_status $ac_retval
     1788
     1789} # ac_fn_cxx_try_compile
     1790
     1791# ac_fn_cxx_try_cpp LINENO
     1792# ------------------------
     1793# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1794ac_fn_cxx_try_cpp ()
     1795{
     1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1797  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1798case "(($ac_try" in
     1799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1800  *) ac_try_echo=$ac_try;;
     1801esac
     1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1803$as_echo "$ac_try_echo"; } >&5
     1804  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1805  ac_status=$?
     1806  if test -s conftest.err; then
     1807    grep -v '^ *+' conftest.err >conftest.er1
     1808    cat conftest.er1 >&5
     1809    mv -f conftest.er1 conftest.err
     1810  fi
     1811  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1812  test $ac_status = 0; } > conftest.i && {
     1813         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1814         test ! -s conftest.err
     1815       }; then :
     1816  ac_retval=0
     1817else
     1818  $as_echo "$as_me: failed program was:" >&5
     1819sed 's/^/| /' conftest.$ac_ext >&5
     1820
     1821    ac_retval=1
     1822fi
     1823  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1824  as_fn_set_status $ac_retval
     1825
     1826} # ac_fn_cxx_try_cpp
     1827
     1828# ac_fn_cxx_try_run LINENO
     1829# ------------------------
     1830# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1831# that executables *can* be run.
     1832ac_fn_cxx_try_run ()
     1833{
     1834  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1835  if { { ac_try="$ac_link"
     1836case "(($ac_try" in
     1837  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1838  *) ac_try_echo=$ac_try;;
     1839esac
     1840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1841$as_echo "$ac_try_echo"; } >&5
     1842  (eval "$ac_link") 2>&5
     1843  ac_status=$?
     1844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1845  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1846  { { case "(($ac_try" in
     1847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1848  *) ac_try_echo=$ac_try;;
     1849esac
     1850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1851$as_echo "$ac_try_echo"; } >&5
     1852  (eval "$ac_try") 2>&5
     1853  ac_status=$?
     1854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1855  test $ac_status = 0; }; }; then :
     1856  ac_retval=0
     1857else
     1858  $as_echo "$as_me: program exited with status $ac_status" >&5
     1859       $as_echo "$as_me: failed program was:" >&5
     1860sed 's/^/| /' conftest.$ac_ext >&5
     1861
     1862       ac_retval=$ac_status
     1863fi
     1864  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1865  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1866  as_fn_set_status $ac_retval
     1867
     1868} # ac_fn_cxx_try_run
     1869
     1870# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1871# ----------------------------------------------
     1872# Tries to find the compile-time value of EXPR in a program that includes
     1873# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1874# computed
     1875ac_fn_cxx_compute_int ()
     1876{
     1877  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1878  if test "$cross_compiling" = yes; then
     1879    # Depending upon the size, compute the lo and hi bounds.
     1880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1881/* end confdefs.h.  */
     1882$4
     1883int
     1884main ()
     1885{
     1886static int test_array [1 - 2 * !(($2) >= 0)];
     1887test_array [0] = 0
     1888
     1889  ;
     1890  return 0;
     1891}
     1892_ACEOF
     1893if ac_fn_cxx_try_compile "$LINENO"; then :
     1894  ac_lo=0 ac_mid=0
     1895  while :; do
     1896    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1897/* end confdefs.h.  */
     1898$4
     1899int
     1900main ()
     1901{
     1902static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1903test_array [0] = 0
     1904
     1905  ;
     1906  return 0;
     1907}
     1908_ACEOF
     1909if ac_fn_cxx_try_compile "$LINENO"; then :
     1910  ac_hi=$ac_mid; break
     1911else
     1912  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1913                        if test $ac_lo -le $ac_mid; then
     1914                          ac_lo= ac_hi=
     1915                          break
     1916                        fi
     1917                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1918fi
     1919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1920  done
     1921else
     1922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1923/* end confdefs.h.  */
     1924$4
     1925int
     1926main ()
     1927{
     1928static int test_array [1 - 2 * !(($2) < 0)];
     1929test_array [0] = 0
     1930
     1931  ;
     1932  return 0;
     1933}
     1934_ACEOF
     1935if ac_fn_cxx_try_compile "$LINENO"; then :
     1936  ac_hi=-1 ac_mid=-1
     1937  while :; do
     1938    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1939/* end confdefs.h.  */
     1940$4
     1941int
     1942main ()
     1943{
     1944static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1945test_array [0] = 0
     1946
     1947  ;
     1948  return 0;
     1949}
     1950_ACEOF
     1951if ac_fn_cxx_try_compile "$LINENO"; then :
     1952  ac_lo=$ac_mid; break
     1953else
     1954  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1955                        if test $ac_mid -le $ac_hi; then
     1956                          ac_lo= ac_hi=
     1957                          break
     1958                        fi
     1959                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1960fi
     1961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1962  done
     1963else
     1964  ac_lo= ac_hi=
     1965fi
     1966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1967fi
     1968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1969# Binary search between lo and hi bounds.
     1970while test "x$ac_lo" != "x$ac_hi"; do
     1971  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1973/* end confdefs.h.  */
     1974$4
     1975int
     1976main ()
     1977{
     1978static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1979test_array [0] = 0
     1980
     1981  ;
     1982  return 0;
     1983}
     1984_ACEOF
     1985if ac_fn_cxx_try_compile "$LINENO"; then :
     1986  ac_hi=$ac_mid
     1987else
     1988  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     1989fi
     1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1991done
     1992case $ac_lo in #((
     1993?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     1994'') ac_retval=1 ;;
     1995esac
     1996  else
     1997    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1998/* end confdefs.h.  */
     1999$4
     2000static long int longval () { return $2; }
     2001static unsigned long int ulongval () { return $2; }
     2002#include <stdio.h>
     2003#include <stdlib.h>
     2004int
     2005main ()
     2006{
     2007
     2008  FILE *f = fopen ("conftest.val", "w");
     2009  if (! f)
     2010    return 1;
     2011  if (($2) < 0)
     2012    {
     2013      long int i = longval ();
     2014      if (i != ($2))
     2015        return 1;
     2016      fprintf (f, "%ld", i);
     2017    }
     2018  else
     2019    {
     2020      unsigned long int i = ulongval ();
     2021      if (i != ($2))
     2022        return 1;
     2023      fprintf (f, "%lu", i);
     2024    }
     2025  /* Do not output a trailing newline, as this causes \r\n confusion
     2026     on some platforms.  */
     2027  return ferror (f) || fclose (f) != 0;
     2028
     2029  ;
     2030  return 0;
     2031}
     2032_ACEOF
     2033if ac_fn_cxx_try_run "$LINENO"; then :
     2034  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2035else
     2036  ac_retval=1
     2037fi
     2038rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2039  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2040rm -f conftest.val
     2041
     2042  fi
     2043  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2044  as_fn_set_status $ac_retval
     2045
     2046} # ac_fn_cxx_compute_int
     2047
     2048# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2049# ---------------------------------------------------------
     2050# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2051# the include files in INCLUDES and setting the cache variable VAR
     2052# accordingly.
     2053ac_fn_cxx_check_header_mongrel ()
     2054{
     2055  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2056  if eval \${$3+:} false; then :
     2057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2058$as_echo_n "checking for $2... " >&6; }
     2059if eval \${$3+:} false; then :
     2060  $as_echo_n "(cached) " >&6
     2061fi
     2062eval ac_res=\$$3
     2063               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2064$as_echo "$ac_res" >&6; }
     2065else
     2066  # Is the header compilable?
     2067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2068$as_echo_n "checking $2 usability... " >&6; }
     2069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2070/* end confdefs.h.  */
     2071$4
     2072#include <$2>
     2073_ACEOF
     2074if ac_fn_cxx_try_compile "$LINENO"; then :
     2075  ac_header_compiler=yes
     2076else
     2077  ac_header_compiler=no
     2078fi
     2079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2081$as_echo "$ac_header_compiler" >&6; }
     2082
     2083# Is the header present?
     2084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2085$as_echo_n "checking $2 presence... " >&6; }
     2086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2087/* end confdefs.h.  */
     2088#include <$2>
     2089_ACEOF
     2090if ac_fn_cxx_try_cpp "$LINENO"; then :
     2091  ac_header_preproc=yes
     2092else
     2093  ac_header_preproc=no
     2094fi
     2095rm -f conftest.err conftest.i conftest.$ac_ext
     2096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2097$as_echo "$ac_header_preproc" >&6; }
     2098
     2099# So?  What about this header?
     2100case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2101  yes:no: )
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2103$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2105$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2106    ;;
     2107  no:yes:* )
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2109$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2111$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2112    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2113$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2114    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2115$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2116    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2117$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2118( $as_echo "## ----------------------------------- ##
     2119## Report this to rappture@nanohub.org ##
     2120## ----------------------------------- ##"
     2121     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2122    ;;
     2123esac
     2124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2125$as_echo_n "checking for $2... " >&6; }
     2126if eval \${$3+:} false; then :
     2127  $as_echo_n "(cached) " >&6
     2128else
     2129  eval "$3=\$ac_header_compiler"
     2130fi
     2131eval ac_res=\$$3
     2132               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2133$as_echo "$ac_res" >&6; }
     2134fi
     2135  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2136
     2137} # ac_fn_cxx_check_header_mongrel
     2138
     2139# ac_fn_cxx_try_link LINENO
     2140# -------------------------
     2141# Try to link conftest.$ac_ext, and return whether this succeeded.
     2142ac_fn_cxx_try_link ()
     2143{
     2144  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2145  rm -f conftest.$ac_objext conftest$ac_exeext
     2146  if { { ac_try="$ac_link"
     2147case "(($ac_try" in
     2148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2149  *) ac_try_echo=$ac_try;;
     2150esac
     2151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2152$as_echo "$ac_try_echo"; } >&5
     2153  (eval "$ac_link") 2>conftest.err
     2154  ac_status=$?
     2155  if test -s conftest.err; then
     2156    grep -v '^ *+' conftest.err >conftest.er1
     2157    cat conftest.er1 >&5
     2158    mv -f conftest.er1 conftest.err
     2159  fi
     2160  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2161  test $ac_status = 0; } && {
     2162         test -z "$ac_cxx_werror_flag" ||
     2163         test ! -s conftest.err
     2164       } && test -s conftest$ac_exeext && {
     2165         test "$cross_compiling" = yes ||
     2166         $as_test_x conftest$ac_exeext
     2167       }; then :
     2168  ac_retval=0
     2169else
     2170  $as_echo "$as_me: failed program was:" >&5
     2171sed 's/^/| /' conftest.$ac_ext >&5
     2172
     2173        ac_retval=1
     2174fi
     2175  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2176  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2177  # interfere with the next link command; also delete a directory that is
     2178  # left behind by Apple's compiler.  We do this before executing the actions.
     2179  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2180  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2181  as_fn_set_status $ac_retval
     2182
     2183} # ac_fn_cxx_try_link
     2184
     2185# ac_fn_cxx_check_func LINENO FUNC VAR
     2186# ------------------------------------
     2187# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2188ac_fn_cxx_check_func ()
     2189{
     2190  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2192$as_echo_n "checking for $2... " >&6; }
     2193if eval \${$3+:} false; then :
     2194  $as_echo_n "(cached) " >&6
     2195else
     2196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2197/* end confdefs.h.  */
     2198/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2199   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2200#define $2 innocuous_$2
     2201
     2202/* System header to define __stub macros and hopefully few prototypes,
     2203    which can conflict with char $2 (); below.
     2204    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2205    <limits.h> exists even on freestanding compilers.  */
     2206
     2207#ifdef __STDC__
     2208# include <limits.h>
     2209#else
     2210# include <assert.h>
     2211#endif
     2212
     2213#undef $2
     2214
     2215/* Override any GCC internal prototype to avoid an error.
     2216   Use char because int might match the return type of a GCC
     2217   builtin and then its argument prototype would still apply.  */
     2218#ifdef __cplusplus
     2219extern "C"
     2220#endif
     2221char $2 ();
     2222/* The GNU C library defines this for functions which it implements
     2223    to always fail with ENOSYS.  Some functions are actually named
     2224    something starting with __ and the normal name is an alias.  */
     2225#if defined __stub_$2 || defined __stub___$2
     2226choke me
     2227#endif
     2228
     2229int
     2230main ()
     2231{
     2232return $2 ();
     2233  ;
     2234  return 0;
     2235}
     2236_ACEOF
     2237if ac_fn_cxx_try_link "$LINENO"; then :
     2238  eval "$3=yes"
     2239else
     2240  eval "$3=no"
     2241fi
     2242rm -f core conftest.err conftest.$ac_objext \
     2243    conftest$ac_exeext conftest.$ac_ext
     2244fi
     2245eval ac_res=\$$3
     2246               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2247$as_echo "$ac_res" >&6; }
     2248  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2249
     2250} # ac_fn_cxx_check_func
     2251
     2252# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2253# ---------------------------------------------------------
     2254# Tests whether HEADER exists and can be compiled using the include files in
     2255# INCLUDES, setting the cache variable VAR accordingly.
     2256ac_fn_cxx_check_header_compile ()
     2257{
     2258  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2260$as_echo_n "checking for $2... " >&6; }
     2261if eval \${$3+:} false; then :
     2262  $as_echo_n "(cached) " >&6
     2263else
     2264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2265/* end confdefs.h.  */
     2266$4
     2267#include <$2>
     2268_ACEOF
     2269if ac_fn_cxx_try_compile "$LINENO"; then :
     2270  eval "$3=yes"
     2271else
     2272  eval "$3=no"
     2273fi
     2274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2275fi
     2276eval ac_res=\$$3
     2277               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2278$as_echo "$ac_res" >&6; }
     2279  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2280
     2281} # ac_fn_cxx_check_header_compile
    15052282cat >config.log <<_ACEOF
    15062283This file contains any messages produced by compilers while
     
    15082285
    15092286It was created by vizservers $as_me 0.1, which was
    1510 generated by GNU Autoconf 2.63.  Invocation command line was
     2287generated by GNU Autoconf 2.68.  Invocation command line was
    15112288
    15122289  $ $0 $@
     
    15442321  IFS=$as_save_IFS
    15452322  test -z "$as_dir" && as_dir=.
    1546   $as_echo "PATH: $as_dir"
    1547 done
     2323    $as_echo "PATH: $as_dir"
     2324  done
    15482325IFS=$as_save_IFS
    15492326
     
    15822359    esac
    15832360    case $ac_pass in
    1584     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2361    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15852362    2)
    1586       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2363      as_fn_append ac_configure_args1 " '$ac_arg'"
    15872364      if test $ac_must_keep_next = true; then
    15882365        ac_must_keep_next=false # Got value, back to normal.
     
    16002377        esac
    16012378      fi
    1602       ac_configure_args="$ac_configure_args '$ac_arg'"
     2379      as_fn_append ac_configure_args " '$ac_arg'"
    16032380      ;;
    16042381    esac
    16052382  done
    16062383done
    1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2384{ ac_configure_args0=; unset ac_configure_args0;}
     2385{ ac_configure_args1=; unset ac_configure_args1;}
    16092386
    16102387# When interrupted or exit'd, cleanup temporary files, and complete
     
    16182395    echo
    16192396
    1620     cat <<\_ASBOX
    1621 ## ---------------- ##
     2397    $as_echo "## ---------------- ##
    16222398## Cache variables. ##
    1623 ## ---------------- ##
    1624 _ASBOX
     2399## ---------------- ##"
    16252400    echo
    16262401    # The following way of writing the cache mishandles newlines in values,
     
    16312406    *${as_nl}*)
    16322407      case $ac_var in #(
    1633       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2408      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16342409$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16352410      esac
     
    16372412      _ | IFS | as_nl) ;; #(
    16382413      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1639       *) $as_unset $ac_var ;;
     2414      *) { eval $ac_var=; unset $ac_var;} ;;
    16402415      esac ;;
    16412416    esac
     
    16562431    echo
    16572432
    1658     cat <<\_ASBOX
    1659 ## ----------------- ##
     2433    $as_echo "## ----------------- ##
    16602434## Output variables. ##
    1661 ## ----------------- ##
    1662 _ASBOX
     2435## ----------------- ##"
    16632436    echo
    16642437    for ac_var in $ac_subst_vars
     
    16732446
    16742447    if test -n "$ac_subst_files"; then
    1675       cat <<\_ASBOX
    1676 ## ------------------- ##
     2448      $as_echo "## ------------------- ##
    16772449## File substitutions. ##
    1678 ## ------------------- ##
    1679 _ASBOX
     2450## ------------------- ##"
    16802451      echo
    16812452      for ac_var in $ac_subst_files
     
    16912462
    16922463    if test -s confdefs.h; then
    1693       cat <<\_ASBOX
    1694 ## ----------- ##
     2464      $as_echo "## ----------- ##
    16952465## confdefs.h. ##
    1696 ## ----------- ##
    1697 _ASBOX
     2466## ----------- ##"
    16982467      echo
    16992468      cat confdefs.h
     
    17092478' 0
    17102479for ac_signal in 1 2 13 15; do
    1711   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2480  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17122481done
    17132482ac_signal=0
     
    17162485rm -f -r conftest* confdefs.h
    17172486
     2487$as_echo "/* confdefs.h */" > confdefs.h
     2488
    17182489# Predefined preprocessor variables.
    17192490
     
    17222493_ACEOF
    17232494
    1724 
    17252495cat >>confdefs.h <<_ACEOF
    17262496#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17272497_ACEOF
    17282498
    1729 
    17302499cat >>confdefs.h <<_ACEOF
    17312500#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17322501_ACEOF
    17332502
    1734 
    17352503cat >>confdefs.h <<_ACEOF
    17362504#define PACKAGE_STRING "$PACKAGE_STRING"
    17372505_ACEOF
    17382506
    1739 
    17402507cat >>confdefs.h <<_ACEOF
    17412508#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2509_ACEOF
     2510
     2511cat >>confdefs.h <<_ACEOF
     2512#define PACKAGE_URL "$PACKAGE_URL"
    17422513_ACEOF
    17432514
     
    17482519ac_site_file2=NONE
    17492520if test -n "$CONFIG_SITE"; then
    1750   ac_site_file1=$CONFIG_SITE
     2521  # We do not want a PATH search for config.site.
     2522  case $CONFIG_SITE in #((
     2523    -*)  ac_site_file1=./$CONFIG_SITE;;
     2524    */*) ac_site_file1=$CONFIG_SITE;;
     2525    *)   ac_site_file1=./$CONFIG_SITE;;
     2526  esac
    17512527elif test "x$prefix" != xNONE; then
    17522528  ac_site_file1=$prefix/share/config.site
     
    17592535do
    17602536  test "x$ac_site_file" = xNONE && continue
    1761   if test -r "$ac_site_file"; then
    1762     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2537  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2538    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17632539$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17642540    sed 's/^/| /' "$ac_site_file" >&5
    1765     . "$ac_site_file"
     2541    . "$ac_site_file" \
     2542      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2544as_fn_error $? "failed to load site script $ac_site_file
     2545See \`config.log' for more details" "$LINENO" 5; }
    17662546  fi
    17672547done
    17682548
    17692549if test -r "$cache_file"; then
    1770   # Some versions of bash will fail to source /dev/null (special
    1771   # files actually), so we avoid doing that.
    1772   if test -f "$cache_file"; then
    1773     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2550  # Some versions of bash will fail to source /dev/null (special files
     2551  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2552  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2553    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17742554$as_echo "$as_me: loading cache $cache_file" >&6;}
    17752555    case $cache_file in
     
    17792559  fi
    17802560else
    1781   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2561  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17822562$as_echo "$as_me: creating cache $cache_file" >&6;}
    17832563  >$cache_file
     
    17942574  case $ac_old_set,$ac_new_set in
    17952575    set,)
    1796       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2576      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17972577$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17982578      ac_cache_corrupted=: ;;
    17992579    ,set)
    1800       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2580      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18012581$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18022582      ac_cache_corrupted=: ;;
     
    18082588        ac_new_val_w=`echo x $ac_new_val`
    18092589        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1810           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2590          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18112591$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18122592          ac_cache_corrupted=:
    18132593        else
    1814           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2594          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18152595$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18162596          eval $ac_var=\$ac_old_val
    18172597        fi
    1818         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2598        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18192599$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1820         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2600        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18212601$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18222602      fi;;
     
    18302610    case " $ac_configure_args " in
    18312611      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1832       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2612      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18332613    esac
    18342614  fi
    18352615done
    18362616if $ac_cache_corrupted; then
    1837   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2617  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18382618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1839   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2619  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18402620$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1841   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1842 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1843    { (exit 1); exit 1; }; }
    1844 fi
    1845 
    1846 
    1847 
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
     2621  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2622fi
     2623## -------------------- ##
     2624## Main body of script. ##
     2625## -------------------- ##
    18692626
    18702627ac_ext=c
     
    18752632
    18762633
     2634ac_aux_dir=
     2635for ac_dir in cf "$srcdir"/cf; do
     2636  if test -f "$ac_dir/install-sh"; then
     2637    ac_aux_dir=$ac_dir
     2638    ac_install_sh="$ac_aux_dir/install-sh -c"
     2639    break
     2640  elif test -f "$ac_dir/install.sh"; then
     2641    ac_aux_dir=$ac_dir
     2642    ac_install_sh="$ac_aux_dir/install.sh -c"
     2643    break
     2644  elif test -f "$ac_dir/shtool"; then
     2645    ac_aux_dir=$ac_dir
     2646    ac_install_sh="$ac_aux_dir/shtool install -c"
     2647    break
     2648  fi
     2649done
     2650if test -z "$ac_aux_dir"; then
     2651  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     2652fi
     2653
     2654# These three variables are undocumented and unsupported,
     2655# and are intended to be withdrawn in a future Autoconf release.
     2656# They can cause serious problems if a builder's source tree is in a directory
     2657# whose full name contains unusual characters.
     2658ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2659ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2660ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2661
     2662
    18772663ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h"
    18782664
     
    18802666
    18812667# Check whether --with-tcllib was given.
    1882 if test "${with_tcllib+set}" = set; then
     2668if test "${with_tcllib+set}" = set; then :
    18832669  withval=$with_tcllib; with_tcllib=$withval
    18842670else
     
    18892675
    18902676# Check whether --with-rappture was given.
    1891 if test "${with_rappture+set}" = set; then
     2677if test "${with_rappture+set}" = set; then :
    18922678  withval=$with_rappture; with_rappture=$withval
    18932679else
     
    18982684
    18992685# Check whether --with-vtk-includes was given.
    1900 if test "${with_vtk_includes+set}" = set; then
     2686if test "${with_vtk_includes+set}" = set; then :
    19012687  withval=$with_vtk_includes; with_vtk_includes=$withval
    19022688else
     
    19072693
    19082694# Check whether --with-vtk-libs was given.
    1909 if test "${with_vtk_libs+set}" = set; then
     2695if test "${with_vtk_libs+set}" = set; then :
    19102696  withval=$with_vtk_libs; with_vtk_libs=$withval
    19112697else
     
    19162702
    19172703# Check whether --with-vtk was given.
    1918 if test "${with_vtk+set}" = set; then
     2704if test "${with_vtk+set}" = set; then :
    19192705  withval=$with_vtk; with_vtk=$withval
    19202706else
     
    19222708fi
    19232709
    1924 
    1925 VERSION=0.0.1
    1926 
    1927 #------------------------------------------------------------------------
    1928 # Handle the --prefix=... option
    1929 #------------------------------------------------------------------------
    1930 
    1931 if test "${prefix}" = "NONE"; then
    1932     prefix=/usr/local
    1933 fi
    1934 if test "${exec_prefix}" = "NONE"; then
    1935     exec_prefix=$prefix
    1936 fi
    1937 
    1938 if test "x${incdir}" == "x"; then
    1939   incdir=${exec_prefix}/include
    1940 fi
    1941 libdir=${exec_prefix}/lib
    1942 
    1943 if test "${libdir}" != "${prefix}/lib"; then
    1944     LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
    1945 else
    1946     LIB_SEARCH_DIRS="-L ${libdir}"
    1947 fi
    19482710
    19492711ac_ext=c
     
    19552717  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19562718set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19582720$as_echo_n "checking for $ac_word... " >&6; }
    1959 if test "${ac_cv_prog_CC+set}" = set; then
     2721if ${ac_cv_prog_CC+:} false; then :
    19602722  $as_echo_n "(cached) " >&6
    19612723else
     
    19682730  IFS=$as_save_IFS
    19692731  test -z "$as_dir" && as_dir=.
    1970   for ac_exec_ext in '' $ac_executable_extensions; do
     2732    for ac_exec_ext in '' $ac_executable_extensions; do
    19712733  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19722734    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1973     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19742736    break 2
    19752737  fi
    19762738done
    1977 done
     2739  done
    19782740IFS=$as_save_IFS
    19792741
     
    19822744CC=$ac_cv_prog_CC
    19832745if test -n "$CC"; then
    1984   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19852747$as_echo "$CC" >&6; }
    19862748else
    1987   { $as_echo "$as_me:$LINENO: result: no" >&5
     2749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19882750$as_echo "no" >&6; }
    19892751fi
     
    19952757  # Extract the first word of "gcc", so it can be a program name with args.
    19962758set dummy gcc; ac_word=$2
    1997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19982760$as_echo_n "checking for $ac_word... " >&6; }
    1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2761if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20002762  $as_echo_n "(cached) " >&6
    20012763else
     
    20082770  IFS=$as_save_IFS
    20092771  test -z "$as_dir" && as_dir=.
    2010   for ac_exec_ext in '' $ac_executable_extensions; do
     2772    for ac_exec_ext in '' $ac_executable_extensions; do
    20112773  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20122774    ac_cv_prog_ac_ct_CC="gcc"
    2013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20142776    break 2
    20152777  fi
    20162778done
    2017 done
     2779  done
    20182780IFS=$as_save_IFS
    20192781
     
    20222784ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20232785if test -n "$ac_ct_CC"; then
    2024   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20252787$as_echo "$ac_ct_CC" >&6; }
    20262788else
    2027   { $as_echo "$as_me:$LINENO: result: no" >&5
     2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20282790$as_echo "no" >&6; }
    20292791fi
     
    20342796    case $cross_compiling:$ac_tool_warned in
    20352797yes:)
    2036 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20372799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20382800ac_tool_warned=yes ;;
     
    20482810    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20492811set dummy ${ac_tool_prefix}cc; ac_word=$2
    2050 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20512813$as_echo_n "checking for $ac_word... " >&6; }
    2052 if test "${ac_cv_prog_CC+set}" = set; then
     2814if ${ac_cv_prog_CC+:} false; then :
    20532815  $as_echo_n "(cached) " >&6
    20542816else
     
    20612823  IFS=$as_save_IFS
    20622824  test -z "$as_dir" && as_dir=.
    2063   for ac_exec_ext in '' $ac_executable_extensions; do
     2825    for ac_exec_ext in '' $ac_executable_extensions; do
    20642826  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20652827    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2066     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20672829    break 2
    20682830  fi
    20692831done
    2070 done
     2832  done
    20712833IFS=$as_save_IFS
    20722834
     
    20752837CC=$ac_cv_prog_CC
    20762838if test -n "$CC"; then
    2077   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20782840$as_echo "$CC" >&6; }
    20792841else
    2080   { $as_echo "$as_me:$LINENO: result: no" >&5
     2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20812843$as_echo "no" >&6; }
    20822844fi
     
    20882850  # Extract the first word of "cc", so it can be a program name with args.
    20892851set dummy cc; ac_word=$2
    2090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20912853$as_echo_n "checking for $ac_word... " >&6; }
    2092 if test "${ac_cv_prog_CC+set}" = set; then
     2854if ${ac_cv_prog_CC+:} false; then :
    20932855  $as_echo_n "(cached) " >&6
    20942856else
     
    21022864  IFS=$as_save_IFS
    21032865  test -z "$as_dir" && as_dir=.
    2104   for ac_exec_ext in '' $ac_executable_extensions; do
     2866    for ac_exec_ext in '' $ac_executable_extensions; do
    21052867  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21062868    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    21092871     fi
    21102872    ac_cv_prog_CC="cc"
    2111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21122874    break 2
    21132875  fi
    21142876done
    2115 done
     2877  done
    21162878IFS=$as_save_IFS
    21172879
     
    21322894CC=$ac_cv_prog_CC
    21332895if test -n "$CC"; then
    2134   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21352897$as_echo "$CC" >&6; }
    21362898else
    2137   { $as_echo "$as_me:$LINENO: result: no" >&5
     2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21382900$as_echo "no" >&6; }
    21392901fi
     
    21472909    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21482910set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21502912$as_echo_n "checking for $ac_word... " >&6; }
    2151 if test "${ac_cv_prog_CC+set}" = set; then
     2913if ${ac_cv_prog_CC+:} false; then :
    21522914  $as_echo_n "(cached) " >&6
    21532915else
     
    21602922  IFS=$as_save_IFS
    21612923  test -z "$as_dir" && as_dir=.
    2162   for ac_exec_ext in '' $ac_executable_extensions; do
     2924    for ac_exec_ext in '' $ac_executable_extensions; do
    21632925  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21642926    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2165     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21662928    break 2
    21672929  fi
    21682930done
    2169 done
     2931  done
    21702932IFS=$as_save_IFS
    21712933
     
    21742936CC=$ac_cv_prog_CC
    21752937if test -n "$CC"; then
    2176   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21772939$as_echo "$CC" >&6; }
    21782940else
    2179   { $as_echo "$as_me:$LINENO: result: no" >&5
     2941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21802942$as_echo "no" >&6; }
    21812943fi
     
    21912953  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21922954set dummy $ac_prog; ac_word=$2
    2193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21942956$as_echo_n "checking for $ac_word... " >&6; }
    2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2957if ${ac_cv_prog_ac_ct_CC+:} false; then :
    21962958  $as_echo_n "(cached) " >&6
    21972959else
     
    22042966  IFS=$as_save_IFS
    22052967  test -z "$as_dir" && as_dir=.
    2206   for ac_exec_ext in '' $ac_executable_extensions; do
     2968    for ac_exec_ext in '' $ac_executable_extensions; do
    22072969  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22082970    ac_cv_prog_ac_ct_CC="$ac_prog"
    2209     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22102972    break 2
    22112973  fi
    22122974done
    2213 done
     2975  done
    22142976IFS=$as_save_IFS
    22152977
     
    22182980ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22192981if test -n "$ac_ct_CC"; then
    2220   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22212983$as_echo "$ac_ct_CC" >&6; }
    22222984else
    2223   { $as_echo "$as_me:$LINENO: result: no" >&5
     2985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22242986$as_echo "no" >&6; }
    22252987fi
     
    22342996    case $cross_compiling:$ac_tool_warned in
    22352997yes:)
    2236 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22372999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22383000ac_tool_warned=yes ;;
     
    22453007
    22463008
    2247 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3009test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22483010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2249 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2250 See \`config.log' for more details." >&5
    2251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2252 See \`config.log' for more details." >&2;}
    2253    { (exit 1); exit 1; }; }; }
     3011as_fn_error $? "no acceptable C compiler found in \$PATH
     3012See \`config.log' for more details" "$LINENO" 5; }
    22543013
    22553014# Provide some information about the compiler.
    2256 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3015$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22573016set X $ac_compile
    22583017ac_compiler=$2
    2259 { (ac_try="$ac_compiler --version >&5"
     3018for ac_option in --version -v -V -qversion; do
     3019  { { ac_try="$ac_compiler $ac_option >&5"
    22603020case "(($ac_try" in
    22613021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22623022  *) ac_try_echo=$ac_try;;
    22633023esac
    2264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2265 $as_echo "$ac_try_echo") >&5
    2266   (eval "$ac_compiler --version >&5") 2>&5
     3024eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3025$as_echo "$ac_try_echo"; } >&5
     3026  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22673027  ac_status=$?
    2268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2269   (exit $ac_status); }
    2270 { (ac_try="$ac_compiler -v >&5"
    2271 case "(($ac_try" in
    2272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2273   *) ac_try_echo=$ac_try;;
    2274 esac
    2275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2276 $as_echo "$ac_try_echo") >&5
    2277   (eval "$ac_compiler -v >&5") 2>&5
    2278   ac_status=$?
    2279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2280   (exit $ac_status); }
    2281 { (ac_try="$ac_compiler -V >&5"
    2282 case "(($ac_try" in
    2283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2284   *) ac_try_echo=$ac_try;;
    2285 esac
    2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2287 $as_echo "$ac_try_echo") >&5
    2288   (eval "$ac_compiler -V >&5") 2>&5
    2289   ac_status=$?
    2290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2291   (exit $ac_status); }
    2292 
    2293 cat >conftest.$ac_ext <<_ACEOF
    2294 /* confdefs.h.  */
    2295 _ACEOF
    2296 cat confdefs.h >>conftest.$ac_ext
    2297 cat >>conftest.$ac_ext <<_ACEOF
     3028  if test -s conftest.err; then
     3029    sed '10a\
     3030... rest of stderr output deleted ...
     3031         10q' conftest.err >conftest.er1
     3032    cat conftest.er1 >&5
     3033  fi
     3034  rm -f conftest.er1 conftest.err
     3035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3036  test $ac_status = 0; }
     3037done
     3038
     3039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22983040/* end confdefs.h.  */
    22993041
     
    23113053# It will help us diagnose broken compilers, and finding out an intuition
    23123054# of exeext.
    2313 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2314 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3056$as_echo_n "checking whether the C compiler works... " >&6; }
    23153057ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23163058
     
    23283070rm -f $ac_rmfiles
    23293071
    2330 if { (ac_try="$ac_link_default"
     3072if { { ac_try="$ac_link_default"
    23313073case "(($ac_try" in
    23323074  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23333075  *) ac_try_echo=$ac_try;;
    23343076esac
    2335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2336 $as_echo "$ac_try_echo") >&5
     3077eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3078$as_echo "$ac_try_echo"; } >&5
    23373079  (eval "$ac_link_default") 2>&5
    23383080  ac_status=$?
    2339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2340   (exit $ac_status); }; then
     3081  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3082  test $ac_status = 0; }; then :
    23413083  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23423084# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23553097        break;;
    23563098    *.* )
    2357         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3099        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23583100        then :; else
    23593101           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23743116  ac_file=''
    23753117fi
    2376 
    2377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3118if test -z "$ac_file"; then :
     3119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3120$as_echo "no" >&6; }
     3121$as_echo "$as_me: failed program was:" >&5
     3122sed 's/^/| /' conftest.$ac_ext >&5
     3123
     3124{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3126as_fn_error 77 "C compiler cannot create executables
     3127See \`config.log' for more details" "$LINENO" 5; }
     3128else
     3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3130$as_echo "yes" >&6; }
     3131fi
     3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3133$as_echo_n "checking for C compiler default output file name... " >&6; }
     3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23783135$as_echo "$ac_file" >&6; }
    2379 if test -z "$ac_file"; then
    2380   $as_echo "$as_me: failed program was:" >&5
    2381 sed 's/^/| /' conftest.$ac_ext >&5
    2382 
    2383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2385 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2386 See \`config.log' for more details." >&5
    2387 $as_echo "$as_me: error: C compiler cannot create executables
    2388 See \`config.log' for more details." >&2;}
    2389    { (exit 77); exit 77; }; }; }
    2390 fi
    2391 
    23923136ac_exeext=$ac_cv_exeext
    2393 
    2394 # Check that the compiler produces executables we can run.  If not, either
    2395 # the compiler is broken, or we cross compile.
    2396 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2397 $as_echo_n "checking whether the C compiler works... " >&6; }
    2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2399 # If not cross compiling, check that we can run a simple program.
    2400 if test "$cross_compiling" != yes; then
    2401   if { ac_try='./$ac_file'
    2402   { (case "(($ac_try" in
    2403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2404   *) ac_try_echo=$ac_try;;
    2405 esac
    2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2407 $as_echo "$ac_try_echo") >&5
    2408   (eval "$ac_try") 2>&5
    2409   ac_status=$?
    2410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2411   (exit $ac_status); }; }; then
    2412     cross_compiling=no
    2413   else
    2414     if test "$cross_compiling" = maybe; then
    2415         cross_compiling=yes
    2416     else
    2417         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2419 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2420 If you meant to cross compile, use \`--host'.
    2421 See \`config.log' for more details." >&5
    2422 $as_echo "$as_me: error: cannot run C compiled programs.
    2423 If you meant to cross compile, use \`--host'.
    2424 See \`config.log' for more details." >&2;}
    2425    { (exit 1); exit 1; }; }; }
    2426     fi
    2427   fi
    2428 fi
    2429 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2430 $as_echo "yes" >&6; }
    24313137
    24323138rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24333139ac_clean_files=$ac_clean_files_save
    2434 # Check that the compiler produces executables we can run.  If not, either
    2435 # the compiler is broken, or we cross compile.
    2436 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2437 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2438 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2439 $as_echo "$cross_compiling" >&6; }
    2440 
    2441 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24423141$as_echo_n "checking for suffix of executables... " >&6; }
    2443 if { (ac_try="$ac_link"
     3142if { { ac_try="$ac_link"
    24443143case "(($ac_try" in
    24453144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24463145  *) ac_try_echo=$ac_try;;
    24473146esac
    2448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2449 $as_echo "$ac_try_echo") >&5
     3147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3148$as_echo "$ac_try_echo"; } >&5
    24503149  (eval "$ac_link") 2>&5
    24513150  ac_status=$?
    2452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2453   (exit $ac_status); }; then
     3151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3152  test $ac_status = 0; }; then :
    24543153  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24553154# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24663165done
    24673166else
    2468   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3167  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24693168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2470 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2471 See \`config.log' for more details." >&5
    2472 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2473 See \`config.log' for more details." >&2;}
    2474    { (exit 1); exit 1; }; }; }
    2475 fi
    2476 
    2477 rm -f conftest$ac_cv_exeext
    2478 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3169as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3170See \`config.log' for more details" "$LINENO" 5; }
     3171fi
     3172rm -f conftest conftest$ac_cv_exeext
     3173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24793174$as_echo "$ac_cv_exeext" >&6; }
    24803175
     
    24823177EXEEXT=$ac_cv_exeext
    24833178ac_exeext=$EXEEXT
    2484 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2485 $as_echo_n "checking for suffix of object files... " >&6; }
    2486 if test "${ac_cv_objext+set}" = set; then
    2487   $as_echo_n "(cached) " >&6
    2488 else
    2489   cat >conftest.$ac_ext <<_ACEOF
    2490 /* confdefs.h.  */
    2491 _ACEOF
    2492 cat confdefs.h >>conftest.$ac_ext
    2493 cat >>conftest.$ac_ext <<_ACEOF
     3179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24943180/* end confdefs.h.  */
    2495 
     3181#include <stdio.h>
    24963182int
    24973183main ()
    24983184{
     3185FILE *f = fopen ("conftest.out", "w");
     3186 return ferror (f) || fclose (f) != 0;
    24993187
    25003188  ;
     
    25023190}
    25033191_ACEOF
    2504 rm -f conftest.o conftest.obj
    2505 if { (ac_try="$ac_compile"
     3192ac_clean_files="$ac_clean_files conftest.out"
     3193# Check that the compiler produces executables we can run.  If not, either
     3194# the compiler is broken, or we cross compile.
     3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3196$as_echo_n "checking whether we are cross compiling... " >&6; }
     3197if test "$cross_compiling" != yes; then
     3198  { { ac_try="$ac_link"
    25063199case "(($ac_try" in
    25073200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25083201  *) ac_try_echo=$ac_try;;
    25093202esac
    2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2511 $as_echo "$ac_try_echo") >&5
     3203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3204$as_echo "$ac_try_echo"; } >&5
     3205  (eval "$ac_link") 2>&5
     3206  ac_status=$?
     3207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3208  test $ac_status = 0; }
     3209  if { ac_try='./conftest$ac_cv_exeext'
     3210  { { case "(($ac_try" in
     3211  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3212  *) ac_try_echo=$ac_try;;
     3213esac
     3214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3215$as_echo "$ac_try_echo"; } >&5
     3216  (eval "$ac_try") 2>&5
     3217  ac_status=$?
     3218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3219  test $ac_status = 0; }; }; then
     3220    cross_compiling=no
     3221  else
     3222    if test "$cross_compiling" = maybe; then
     3223        cross_compiling=yes
     3224    else
     3225        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3227as_fn_error $? "cannot run C compiled programs.
     3228If you meant to cross compile, use \`--host'.
     3229See \`config.log' for more details" "$LINENO" 5; }
     3230    fi
     3231  fi
     3232fi
     3233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3234$as_echo "$cross_compiling" >&6; }
     3235
     3236rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3237ac_clean_files=$ac_clean_files_save
     3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3239$as_echo_n "checking for suffix of object files... " >&6; }
     3240if ${ac_cv_objext+:} false; then :
     3241  $as_echo_n "(cached) " >&6
     3242else
     3243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3244/* end confdefs.h.  */
     3245
     3246int
     3247main ()
     3248{
     3249
     3250  ;
     3251  return 0;
     3252}
     3253_ACEOF
     3254rm -f conftest.o conftest.obj
     3255if { { ac_try="$ac_compile"
     3256case "(($ac_try" in
     3257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3258  *) ac_try_echo=$ac_try;;
     3259esac
     3260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3261$as_echo "$ac_try_echo"; } >&5
    25123262  (eval "$ac_compile") 2>&5
    25133263  ac_status=$?
    2514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2515   (exit $ac_status); }; then
     3264  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3265  test $ac_status = 0; }; then :
    25163266  for ac_file in conftest.o conftest.obj conftest.*; do
    25173267  test -f "$ac_file" || continue;
     
    25263276sed 's/^/| /' conftest.$ac_ext >&5
    25273277
    2528 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3278{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25293279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2530 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2531 See \`config.log' for more details." >&5
    2532 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2533 See \`config.log' for more details." >&2;}
    2534    { (exit 1); exit 1; }; }; }
    2535 fi
    2536 
     3280as_fn_error $? "cannot compute suffix of object files: cannot compile
     3281See \`config.log' for more details" "$LINENO" 5; }
     3282fi
    25373283rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25383284fi
    2539 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25403286$as_echo "$ac_cv_objext" >&6; }
    25413287OBJEXT=$ac_cv_objext
    25423288ac_objext=$OBJEXT
    2543 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25443290$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3291if ${ac_cv_c_compiler_gnu+:} false; then :
    25463292  $as_echo_n "(cached) " >&6
    25473293else
    2548   cat >conftest.$ac_ext <<_ACEOF
    2549 /* confdefs.h.  */
    2550 _ACEOF
    2551 cat confdefs.h >>conftest.$ac_ext
    2552 cat >>conftest.$ac_ext <<_ACEOF
     3294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25533295/* end confdefs.h.  */
    25543296
     
    25643306}
    25653307_ACEOF
    2566 rm -f conftest.$ac_objext
    2567 if { (ac_try="$ac_compile"
    2568 case "(($ac_try" in
    2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2570   *) ac_try_echo=$ac_try;;
    2571 esac
    2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2573 $as_echo "$ac_try_echo") >&5
    2574   (eval "$ac_compile") 2>conftest.er1
    2575   ac_status=$?
    2576   grep -v '^ *+' conftest.er1 >conftest.err
    2577   rm -f conftest.er1
    2578   cat conftest.err >&5
    2579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2580   (exit $ac_status); } && {
    2581          test -z "$ac_c_werror_flag" ||
    2582          test ! -s conftest.err
    2583        } && test -s conftest.$ac_objext; then
     3308if ac_fn_c_try_compile "$LINENO"; then :
    25843309  ac_compiler_gnu=yes
    25853310else
    2586   $as_echo "$as_me: failed program was:" >&5
    2587 sed 's/^/| /' conftest.$ac_ext >&5
    2588 
    2589         ac_compiler_gnu=no
    2590 fi
    2591 
     3311  ac_compiler_gnu=no
     3312fi
    25923313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25933314ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25943315
    25953316fi
    2596 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    25973318$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    25983319if test $ac_compiler_gnu = yes; then
     
    26033324ac_test_CFLAGS=${CFLAGS+set}
    26043325ac_save_CFLAGS=$CFLAGS
    2605 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26063327$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2607 if test "${ac_cv_prog_cc_g+set}" = set; then
     3328if ${ac_cv_prog_cc_g+:} false; then :
    26083329  $as_echo_n "(cached) " >&6
    26093330else
     
    26123333   ac_cv_prog_cc_g=no
    26133334   CFLAGS="-g"
    2614    cat >conftest.$ac_ext <<_ACEOF
    2615 /* confdefs.h.  */
    2616 _ACEOF
    2617 cat confdefs.h >>conftest.$ac_ext
    2618 cat >>conftest.$ac_ext <<_ACEOF
     3335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26193336/* end confdefs.h.  */
    26203337
     
    26273344}
    26283345_ACEOF
    2629 rm -f conftest.$ac_objext
    2630 if { (ac_try="$ac_compile"
    2631 case "(($ac_try" in
    2632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2633   *) ac_try_echo=$ac_try;;
    2634 esac
    2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2636 $as_echo "$ac_try_echo") >&5
    2637   (eval "$ac_compile") 2>conftest.er1
    2638   ac_status=$?
    2639   grep -v '^ *+' conftest.er1 >conftest.err
    2640   rm -f conftest.er1
    2641   cat conftest.err >&5
    2642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2643   (exit $ac_status); } && {
    2644          test -z "$ac_c_werror_flag" ||
    2645          test ! -s conftest.err
    2646        } && test -s conftest.$ac_objext; then
     3346if ac_fn_c_try_compile "$LINENO"; then :
    26473347  ac_cv_prog_cc_g=yes
    26483348else
    2649   $as_echo "$as_me: failed program was:" >&5
    2650 sed 's/^/| /' conftest.$ac_ext >&5
    2651 
    2652         CFLAGS=""
    2653       cat >conftest.$ac_ext <<_ACEOF
    2654 /* confdefs.h.  */
    2655 _ACEOF
    2656 cat confdefs.h >>conftest.$ac_ext
    2657 cat >>conftest.$ac_ext <<_ACEOF
     3349  CFLAGS=""
     3350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26583351/* end confdefs.h.  */
    26593352
     
    26663359}
    26673360_ACEOF
    2668 rm -f conftest.$ac_objext
    2669 if { (ac_try="$ac_compile"
    2670 case "(($ac_try" in
    2671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2672   *) ac_try_echo=$ac_try;;
    2673 esac
    2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2675 $as_echo "$ac_try_echo") >&5
    2676   (eval "$ac_compile") 2>conftest.er1
    2677   ac_status=$?
    2678   grep -v '^ *+' conftest.er1 >conftest.err
    2679   rm -f conftest.er1
    2680   cat conftest.err >&5
    2681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2682   (exit $ac_status); } && {
    2683          test -z "$ac_c_werror_flag" ||
    2684          test ! -s conftest.err
    2685        } && test -s conftest.$ac_objext; then
    2686   :
    2687 else
    2688   $as_echo "$as_me: failed program was:" >&5
    2689 sed 's/^/| /' conftest.$ac_ext >&5
    2690 
    2691         ac_c_werror_flag=$ac_save_c_werror_flag
     3361if ac_fn_c_try_compile "$LINENO"; then :
     3362
     3363else
     3364  ac_c_werror_flag=$ac_save_c_werror_flag
    26923365         CFLAGS="-g"
    2693          cat >conftest.$ac_ext <<_ACEOF
    2694 /* confdefs.h.  */
    2695 _ACEOF
    2696 cat confdefs.h >>conftest.$ac_ext
    2697 cat >>conftest.$ac_ext <<_ACEOF
     3366         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26983367/* end confdefs.h.  */
    26993368
     
    27063375}
    27073376_ACEOF
    2708 rm -f conftest.$ac_objext
    2709 if { (ac_try="$ac_compile"
    2710 case "(($ac_try" in
    2711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2712   *) ac_try_echo=$ac_try;;
    2713 esac
    2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2715 $as_echo "$ac_try_echo") >&5
    2716   (eval "$ac_compile") 2>conftest.er1
    2717   ac_status=$?
    2718   grep -v '^ *+' conftest.er1 >conftest.err
    2719   rm -f conftest.er1
    2720   cat conftest.err >&5
    2721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2722   (exit $ac_status); } && {
    2723          test -z "$ac_c_werror_flag" ||
    2724          test ! -s conftest.err
    2725        } && test -s conftest.$ac_objext; then
     3377if ac_fn_c_try_compile "$LINENO"; then :
    27263378  ac_cv_prog_cc_g=yes
    2727 else
    2728   $as_echo "$as_me: failed program was:" >&5
    2729 sed 's/^/| /' conftest.$ac_ext >&5
    2730 
    2731 
    2732 fi
    2733 
     3379fi
    27343380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27353381fi
    2736 
    27373382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27383383fi
    2739 
    27403384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27413385   ac_c_werror_flag=$ac_save_c_werror_flag
    27423386fi
    2743 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27443388$as_echo "$ac_cv_prog_cc_g" >&6; }
    27453389if test "$ac_test_CFLAGS" = set; then
     
    27583402  fi
    27593403fi
    2760 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27613405$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2762 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3406if ${ac_cv_prog_cc_c89+:} false; then :
    27633407  $as_echo_n "(cached) " >&6
    27643408else
    27653409  ac_cv_prog_cc_c89=no
    27663410ac_save_CC=$CC
    2767 cat >conftest.$ac_ext <<_ACEOF
    2768 /* confdefs.h.  */
    2769 _ACEOF
    2770 cat confdefs.h >>conftest.$ac_ext
    2771 cat >>conftest.$ac_ext <<_ACEOF
     3411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27723412/* end confdefs.h.  */
    27733413#include <stdarg.h>
     
    28263466do
    28273467  CC="$ac_save_CC $ac_arg"
    2828   rm -f conftest.$ac_objext
    2829 if { (ac_try="$ac_compile"
    2830 case "(($ac_try" in
    2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2832   *) ac_try_echo=$ac_try;;
    2833 esac
    2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2835 $as_echo "$ac_try_echo") >&5
    2836   (eval "$ac_compile") 2>conftest.er1
    2837   ac_status=$?
    2838   grep -v '^ *+' conftest.er1 >conftest.err
    2839   rm -f conftest.er1
    2840   cat conftest.err >&5
    2841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2842   (exit $ac_status); } && {
    2843          test -z "$ac_c_werror_flag" ||
    2844          test ! -s conftest.err
    2845        } && test -s conftest.$ac_objext; then
     3468  if ac_fn_c_try_compile "$LINENO"; then :
    28463469  ac_cv_prog_cc_c89=$ac_arg
    2847 else
    2848   $as_echo "$as_me: failed program was:" >&5
    2849 sed 's/^/| /' conftest.$ac_ext >&5
    2850 
    2851 
    2852 fi
    2853 
     3470fi
    28543471rm -f core conftest.err conftest.$ac_objext
    28553472  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28623479case "x$ac_cv_prog_cc_c89" in
    28633480  x)
    2864     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28653482$as_echo "none needed" >&6; } ;;
    28663483  xno)
    2867     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28683485$as_echo "unsupported" >&6; } ;;
    28693486  *)
    28703487    CC="$CC $ac_cv_prog_cc_c89"
    2871     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28723489$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28733490esac
    2874 
     3491if test "x$ac_cv_prog_cc_c89" != xno; then :
     3492
     3493fi
    28753494
    28763495ac_ext=c
     
    28813500
    28823501
    2883 if test -n "$ac_tool_prefix"; then
    2884   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2885 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2887 $as_echo_n "checking for $ac_word... " >&6; }
    2888 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2889   $as_echo_n "(cached) " >&6
    2890 else
    2891   if test -n "$RANLIB"; then
    2892   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2893 else
    2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2895 for as_dir in $PATH
    2896 do
    2897   IFS=$as_save_IFS
    2898   test -z "$as_dir" && as_dir=.
    2899   for ac_exec_ext in '' $ac_executable_extensions; do
    2900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2901     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2902     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2903     break 2
    2904   fi
    2905 done
    2906 done
    2907 IFS=$as_save_IFS
    2908 
    2909 fi
    2910 fi
    2911 RANLIB=$ac_cv_prog_RANLIB
    2912 if test -n "$RANLIB"; then
    2913   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    2914 $as_echo "$RANLIB" >&6; }
    2915 else
    2916   { $as_echo "$as_me:$LINENO: result: no" >&5
    2917 $as_echo "no" >&6; }
    2918 fi
    2919 
    2920 
    2921 fi
    2922 if test -z "$ac_cv_prog_RANLIB"; then
    2923   ac_ct_RANLIB=$RANLIB
    2924   # Extract the first word of "ranlib", so it can be a program name with args.
    2925 set dummy ranlib; ac_word=$2
    2926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2927 $as_echo_n "checking for $ac_word... " >&6; }
    2928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2929   $as_echo_n "(cached) " >&6
    2930 else
    2931   if test -n "$ac_ct_RANLIB"; then
    2932   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2933 else
    2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2935 for as_dir in $PATH
    2936 do
    2937   IFS=$as_save_IFS
    2938   test -z "$as_dir" && as_dir=.
    2939   for ac_exec_ext in '' $ac_executable_extensions; do
    2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2941     ac_cv_prog_ac_ct_RANLIB="ranlib"
    2942     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2943     break 2
    2944   fi
    2945 done
    2946 done
    2947 IFS=$as_save_IFS
    2948 
    2949 fi
    2950 fi
    2951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2952 if test -n "$ac_ct_RANLIB"; then
    2953   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2954 $as_echo "$ac_ct_RANLIB" >&6; }
    2955 else
    2956   { $as_echo "$as_me:$LINENO: result: no" >&5
    2957 $as_echo "no" >&6; }
    2958 fi
    2959 
    2960   if test "x$ac_ct_RANLIB" = x; then
    2961     RANLIB=":"
    2962   else
    2963     case $cross_compiling:$ac_tool_warned in
    2964 yes:)
    2965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2967 ac_tool_warned=yes ;;
    2968 esac
    2969     RANLIB=$ac_ct_RANLIB
    2970   fi
    2971 else
    2972   RANLIB="$ac_cv_prog_RANLIB"
    2973 fi
    2974 
    29753502ac_ext=c
    29763503ac_cpp='$CPP $CPPFLAGS'
     
    29783505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29793506ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2980 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29813508$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29823509# On Suns, sometimes $CPP names a directory.
     
    29853512fi
    29863513if test -z "$CPP"; then
    2987   if test "${ac_cv_prog_CPP+set}" = set; then
     3514  if ${ac_cv_prog_CPP+:} false; then :
    29883515  $as_echo_n "(cached) " >&6
    29893516else
     
    30003527  # On the NeXT, cc -E runs the code through the compiler's parser,
    30013528  # not just through cpp. "Syntax error" is here to catch this case.
    3002   cat >conftest.$ac_ext <<_ACEOF
    3003 /* confdefs.h.  */
    3004 _ACEOF
    3005 cat confdefs.h >>conftest.$ac_ext
    3006 cat >>conftest.$ac_ext <<_ACEOF
     3529  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30073530/* end confdefs.h.  */
    30083531#ifdef __STDC__
     
    30133536                     Syntax error
    30143537_ACEOF
    3015 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3016 case "(($ac_try" in
    3017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3018   *) ac_try_echo=$ac_try;;
    3019 esac
    3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3021 $as_echo "$ac_try_echo") >&5
    3022   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3023   ac_status=$?
    3024   grep -v '^ *+' conftest.er1 >conftest.err
    3025   rm -f conftest.er1
    3026   cat conftest.err >&5
    3027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3028   (exit $ac_status); } >/dev/null && {
    3029          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3030          test ! -s conftest.err
    3031        }; then
    3032   :
    3033 else
    3034   $as_echo "$as_me: failed program was:" >&5
    3035 sed 's/^/| /' conftest.$ac_ext >&5
    3036 
     3538if ac_fn_c_try_cpp "$LINENO"; then :
     3539
     3540else
    30373541  # Broken: fails on valid input.
    30383542continue
    30393543fi
    3040 
    3041 rm -f conftest.err conftest.$ac_ext
     3544rm -f conftest.err conftest.i conftest.$ac_ext
    30423545
    30433546  # OK, works on sane cases.  Now check whether nonexistent headers
    30443547  # can be detected and how.
    3045   cat >conftest.$ac_ext <<_ACEOF
    3046 /* confdefs.h.  */
    3047 _ACEOF
    3048 cat confdefs.h >>conftest.$ac_ext
    3049 cat >>conftest.$ac_ext <<_ACEOF
     3548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30503549/* end confdefs.h.  */
    30513550#include <ac_nonexistent.h>
    30523551_ACEOF
    3053 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3054 case "(($ac_try" in
    3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3056   *) ac_try_echo=$ac_try;;
    3057 esac
    3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3059 $as_echo "$ac_try_echo") >&5
    3060   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3061   ac_status=$?
    3062   grep -v '^ *+' conftest.er1 >conftest.err
    3063   rm -f conftest.er1
    3064   cat conftest.err >&5
    3065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3066   (exit $ac_status); } >/dev/null && {
    3067          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3068          test ! -s conftest.err
    3069        }; then
     3552if ac_fn_c_try_cpp "$LINENO"; then :
    30703553  # Broken: success on invalid input.
    30713554continue
    30723555else
    3073   $as_echo "$as_me: failed program was:" >&5
    3074 sed 's/^/| /' conftest.$ac_ext >&5
    3075 
    30763556  # Passes both tests.
    30773557ac_preproc_ok=:
    30783558break
    30793559fi
    3080 
    3081 rm -f conftest.err conftest.$ac_ext
     3560rm -f conftest.err conftest.i conftest.$ac_ext
    30823561
    30833562done
    30843563# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3085 rm -f conftest.err conftest.$ac_ext
    3086 if $ac_preproc_ok; then
     3564rm -f conftest.i conftest.err conftest.$ac_ext
     3565if $ac_preproc_ok; then :
    30873566  break
    30883567fi
     
    30963575  ac_cv_prog_CPP=$CPP
    30973576fi
    3098 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30993578$as_echo "$CPP" >&6; }
    31003579ac_preproc_ok=false
     
    31073586  # On the NeXT, cc -E runs the code through the compiler's parser,
    31083587  # not just through cpp. "Syntax error" is here to catch this case.
    3109   cat >conftest.$ac_ext <<_ACEOF
    3110 /* confdefs.h.  */
    3111 _ACEOF
    3112 cat confdefs.h >>conftest.$ac_ext
    3113 cat >>conftest.$ac_ext <<_ACEOF
     3588  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31143589/* end confdefs.h.  */
    31153590#ifdef __STDC__
     
    31203595                     Syntax error
    31213596_ACEOF
    3122 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3123 case "(($ac_try" in
    3124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3125   *) ac_try_echo=$ac_try;;
    3126 esac
    3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3128 $as_echo "$ac_try_echo") >&5
    3129   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3130   ac_status=$?
    3131   grep -v '^ *+' conftest.er1 >conftest.err
    3132   rm -f conftest.er1
    3133   cat conftest.err >&5
    3134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3135   (exit $ac_status); } >/dev/null && {
    3136          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3137          test ! -s conftest.err
    3138        }; then
    3139   :
    3140 else
    3141   $as_echo "$as_me: failed program was:" >&5
    3142 sed 's/^/| /' conftest.$ac_ext >&5
    3143 
     3597if ac_fn_c_try_cpp "$LINENO"; then :
     3598
     3599else
    31443600  # Broken: fails on valid input.
    31453601continue
    31463602fi
    3147 
    3148 rm -f conftest.err conftest.$ac_ext
     3603rm -f conftest.err conftest.i conftest.$ac_ext
    31493604
    31503605  # OK, works on sane cases.  Now check whether nonexistent headers
    31513606  # can be detected and how.
    3152   cat >conftest.$ac_ext <<_ACEOF
    3153 /* confdefs.h.  */
    3154 _ACEOF
    3155 cat confdefs.h >>conftest.$ac_ext
    3156 cat >>conftest.$ac_ext <<_ACEOF
     3607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31573608/* end confdefs.h.  */
    31583609#include <ac_nonexistent.h>
    31593610_ACEOF
    3160 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3161 case "(($ac_try" in
    3162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3163   *) ac_try_echo=$ac_try;;
    3164 esac
    3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3166 $as_echo "$ac_try_echo") >&5
    3167   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3168   ac_status=$?
    3169   grep -v '^ *+' conftest.er1 >conftest.err
    3170   rm -f conftest.er1
    3171   cat conftest.err >&5
    3172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3173   (exit $ac_status); } >/dev/null && {
    3174          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3175          test ! -s conftest.err
    3176        }; then
     3611if ac_fn_c_try_cpp "$LINENO"; then :
    31773612  # Broken: success on invalid input.
    31783613continue
    31793614else
    3180   $as_echo "$as_me: failed program was:" >&5
    3181 sed 's/^/| /' conftest.$ac_ext >&5
    3182 
    31833615  # Passes both tests.
    31843616ac_preproc_ok=:
    31853617break
    31863618fi
    3187 
    3188 rm -f conftest.err conftest.$ac_ext
     3619rm -f conftest.err conftest.i conftest.$ac_ext
    31893620
    31903621done
    31913622# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3192 rm -f conftest.err conftest.$ac_ext
    3193 if $ac_preproc_ok; then
    3194   :
    3195 else
    3196   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3623rm -f conftest.i conftest.err conftest.$ac_ext
     3624if $ac_preproc_ok; then :
     3625
     3626else
     3627  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31973628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3199 See \`config.log' for more details." >&5
    3200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3201 See \`config.log' for more details." >&2;}
    3202    { (exit 1); exit 1; }; }; }
     3629as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3630See \`config.log' for more details" "$LINENO" 5; }
    32033631fi
    32043632
     
    32103638
    32113639
    3212 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    32133641$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3214 if test "${ac_cv_path_GREP+set}" = set; then
     3642if ${ac_cv_path_GREP+:} false; then :
    32153643  $as_echo_n "(cached) " >&6
    32163644else
     
    32233651  IFS=$as_save_IFS
    32243652  test -z "$as_dir" && as_dir=.
    3225   for ac_prog in grep ggrep; do
     3653    for ac_prog in grep ggrep; do
    32263654    for ac_exec_ext in '' $ac_executable_extensions; do
    32273655      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    32433671    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32443672    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3245     ac_count=`expr $ac_count + 1`
     3673    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32463674    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    32473675      # Best one so far, save it but keep looking for a better one
     
    32583686    done
    32593687  done
    3260 done
     3688  done
    32613689IFS=$as_save_IFS
    32623690  if test -z "$ac_cv_path_GREP"; then
    3263     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3265    { (exit 1); exit 1; }; }
     3691    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32663692  fi
    32673693else
     
    32703696
    32713697fi
    3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    32733699$as_echo "$ac_cv_path_GREP" >&6; }
    32743700 GREP="$ac_cv_path_GREP"
    32753701
    32763702
    3277 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32783704$as_echo_n "checking for egrep... " >&6; }
    3279 if test "${ac_cv_path_EGREP+set}" = set; then
     3705if ${ac_cv_path_EGREP+:} false; then :
    32803706  $as_echo_n "(cached) " >&6
    32813707else
     
    32913717  IFS=$as_save_IFS
    32923718  test -z "$as_dir" && as_dir=.
    3293   for ac_prog in egrep; do
     3719    for ac_prog in egrep; do
    32943720    for ac_exec_ext in '' $ac_executable_extensions; do
    32953721      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    33113737    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    33123738    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3313     ac_count=`expr $ac_count + 1`
     3739    as_fn_arith $ac_count + 1 && ac_count=$as_val
    33143740    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    33153741      # Best one so far, save it but keep looking for a better one
     
    33263752    done
    33273753  done
    3328 done
     3754  done
    33293755IFS=$as_save_IFS
    33303756  if test -z "$ac_cv_path_EGREP"; then
    3331     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3333    { (exit 1); exit 1; }; }
     3757    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    33343758  fi
    33353759else
     
    33393763   fi
    33403764fi
    3341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    33423766$as_echo "$ac_cv_path_EGREP" >&6; }
    33433767 EGREP="$ac_cv_path_EGREP"
    33443768
    33453769
    3346 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    33473771$as_echo_n "checking for ANSI C header files... " >&6; }
    3348 if test "${ac_cv_header_stdc+set}" = set; then
     3772if ${ac_cv_header_stdc+:} false; then :
    33493773  $as_echo_n "(cached) " >&6
    33503774else
    3351   cat >conftest.$ac_ext <<_ACEOF
    3352 /* confdefs.h.  */
    3353 _ACEOF
    3354 cat confdefs.h >>conftest.$ac_ext
    3355 cat >>conftest.$ac_ext <<_ACEOF
     3775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33563776/* end confdefs.h.  */
    33573777#include <stdlib.h>
     
    33683788}
    33693789_ACEOF
    3370 rm -f conftest.$ac_objext
    3371 if { (ac_try="$ac_compile"
    3372 case "(($ac_try" in
    3373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3374   *) ac_try_echo=$ac_try;;
    3375 esac
    3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3377 $as_echo "$ac_try_echo") >&5
    3378   (eval "$ac_compile") 2>conftest.er1
    3379   ac_status=$?
    3380   grep -v '^ *+' conftest.er1 >conftest.err
    3381   rm -f conftest.er1
    3382   cat conftest.err >&5
    3383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3384   (exit $ac_status); } && {
    3385          test -z "$ac_c_werror_flag" ||
    3386          test ! -s conftest.err
    3387        } && test -s conftest.$ac_objext; then
     3790if ac_fn_c_try_compile "$LINENO"; then :
    33883791  ac_cv_header_stdc=yes
    33893792else
    3390   $as_echo "$as_me: failed program was:" >&5
    3391 sed 's/^/| /' conftest.$ac_ext >&5
    3392 
    3393         ac_cv_header_stdc=no
    3394 fi
    3395 
     3793  ac_cv_header_stdc=no
     3794fi
    33963795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33973796
    33983797if test $ac_cv_header_stdc = yes; then
    33993798  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3400   cat >conftest.$ac_ext <<_ACEOF
    3401 /* confdefs.h.  */
    3402 _ACEOF
    3403 cat confdefs.h >>conftest.$ac_ext
    3404 cat >>conftest.$ac_ext <<_ACEOF
     3799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34053800/* end confdefs.h.  */
    34063801#include <string.h>
     
    34083803_ACEOF
    34093804if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3410   $EGREP "memchr" >/dev/null 2>&1; then
    3411   :
     3805  $EGREP "memchr" >/dev/null 2>&1; then :
     3806
    34123807else
    34133808  ac_cv_header_stdc=no
     
    34193814if test $ac_cv_header_stdc = yes; then
    34203815  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3421   cat >conftest.$ac_ext <<_ACEOF
    3422 /* confdefs.h.  */
    3423 _ACEOF
    3424 cat confdefs.h >>conftest.$ac_ext
    3425 cat >>conftest.$ac_ext <<_ACEOF
     3816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34263817/* end confdefs.h.  */
    34273818#include <stdlib.h>
     
    34293820_ACEOF
    34303821if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3431   $EGREP "free" >/dev/null 2>&1; then
    3432   :
     3822  $EGREP "free" >/dev/null 2>&1; then :
     3823
    34333824else
    34343825  ac_cv_header_stdc=no
     
    34403831if test $ac_cv_header_stdc = yes; then
    34413832  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3442   if test "$cross_compiling" = yes; then
     3833  if test "$cross_compiling" = yes; then :
    34433834  :
    34443835else
    3445   cat >conftest.$ac_ext <<_ACEOF
    3446 /* confdefs.h.  */
    3447 _ACEOF
    3448 cat confdefs.h >>conftest.$ac_ext
    3449 cat >>conftest.$ac_ext <<_ACEOF
     3836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34503837/* end confdefs.h.  */
    34513838#include <ctype.h>
     
    34743861}
    34753862_ACEOF
    3476 rm -f conftest$ac_exeext
    3477 if { (ac_try="$ac_link"
    3478 case "(($ac_try" in
    3479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3480   *) ac_try_echo=$ac_try;;
    3481 esac
    3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3483 $as_echo "$ac_try_echo") >&5
    3484   (eval "$ac_link") 2>&5
    3485   ac_status=$?
    3486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3487   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3488   { (case "(($ac_try" in
    3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3490   *) ac_try_echo=$ac_try;;
    3491 esac
    3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3493 $as_echo "$ac_try_echo") >&5
    3494   (eval "$ac_try") 2>&5
    3495   ac_status=$?
    3496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3497   (exit $ac_status); }; }; then
    3498   :
    3499 else
    3500   $as_echo "$as_me: program exited with status $ac_status" >&5
    3501 $as_echo "$as_me: failed program was:" >&5
    3502 sed 's/^/| /' conftest.$ac_ext >&5
    3503 
    3504 ( exit $ac_status )
    3505 ac_cv_header_stdc=no
    3506 fi
    3507 rm -rf conftest.dSYM
    3508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3509 fi
    3510 
    3511 
    3512 fi
    3513 fi
    3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3863if ac_fn_c_try_run "$LINENO"; then :
     3864
     3865else
     3866  ac_cv_header_stdc=no
     3867fi
     3868rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3869  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3870fi
     3871
     3872fi
     3873fi
     3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    35153875$as_echo "$ac_cv_header_stdc" >&6; }
    35163876if test $ac_cv_header_stdc = yes; then
    35173877
    3518 cat >>confdefs.h <<\_ACEOF
    3519 #define STDC_HEADERS 1
    3520 _ACEOF
     3878$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    35213879
    35223880fi
    35233881
    35243882# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3525 
    3526 
    3527 
    3528 
    3529 
    3530 
    3531 
    3532 
    3533 
    35343883for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    35353884                  inttypes.h stdint.h unistd.h
    3536 do
    3537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3539 $as_echo_n "checking for $ac_header... " >&6; }
    3540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3541   $as_echo_n "(cached) " >&6
    3542 else
    3543   cat >conftest.$ac_ext <<_ACEOF
    3544 /* confdefs.h.  */
    3545 _ACEOF
    3546 cat confdefs.h >>conftest.$ac_ext
    3547 cat >>conftest.$ac_ext <<_ACEOF
    3548 /* end confdefs.h.  */
    3549 $ac_includes_default
    3550 
    3551 #include <$ac_header>
    3552 _ACEOF
    3553 rm -f conftest.$ac_objext
    3554 if { (ac_try="$ac_compile"
    3555 case "(($ac_try" in
    3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3557   *) ac_try_echo=$ac_try;;
    3558 esac
    3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3560 $as_echo "$ac_try_echo") >&5
    3561   (eval "$ac_compile") 2>conftest.er1
    3562   ac_status=$?
    3563   grep -v '^ *+' conftest.er1 >conftest.err
    3564   rm -f conftest.er1
    3565   cat conftest.err >&5
    3566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3567   (exit $ac_status); } && {
    3568          test -z "$ac_c_werror_flag" ||
    3569          test ! -s conftest.err
    3570        } && test -s conftest.$ac_objext; then
    3571   eval "$as_ac_Header=yes"
    3572 else
    3573   $as_echo "$as_me: failed program was:" >&5
    3574 sed 's/^/| /' conftest.$ac_ext >&5
    3575 
    3576         eval "$as_ac_Header=no"
    3577 fi
    3578 
    3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3580 fi
    3581 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3582                  $as_echo "$as_val"'`
    3583                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3584 $as_echo "$ac_res" >&6; }
    3585 as_val=`eval 'as_val=${'$as_ac_Header'}
    3586                  $as_echo "$as_val"'`
    3587    if test "x$as_val" = x""yes; then
     3885do :
     3886  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3887ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3888"
     3889if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35883890  cat >>confdefs.h <<_ACEOF
    35893891#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35963898
    35973899
     3900PYTHON=""
     3901PYTHON_CFLAGS=""
     3902PYTHON_CPPFLAGS=""
     3903PYTHON_DISTUTILS=""
     3904PYTHON_INCLUDES=""
     3905PYTHON_LDFLAGS=""
     3906PYTHON_LIB=""
     3907PYTHON_LIBDIR=""
     3908PYTHON_SITE_DIR=""
     3909PYTHON_SITE_PACKAGES=""
     3910PYTHON_VERSION=""
     3911pythondir=""
     3912
     3913# Check whether --with-python was given.
     3914if test "${with_python+set}" = set; then :
     3915  withval=$with_python;
     3916else
     3917  with_python=yes
     3918fi
     3919
     3920
     3921if test "$with_python" != "no" ; then
     3922  if test "$with_python" = "yes" ; then
     3923    # 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.
     3924set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3926$as_echo_n "checking for $ac_word... " >&6; }
     3927if ${ac_cv_path_PYTHON+:} false; then :
     3928  $as_echo_n "(cached) " >&6
     3929else
     3930  case $PYTHON in
     3931  [\\/]* | ?:[\\/]*)
     3932  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
     3933  ;;
     3934  *)
     3935  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3936for as_dir in $PATH
     3937do
     3938  IFS=$as_save_IFS
     3939  test -z "$as_dir" && as_dir=.
     3940    for ac_exec_ext in '' $ac_executable_extensions; do
     3941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3942    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     3943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3944    break 2
     3945  fi
     3946done
     3947  done
     3948IFS=$as_save_IFS
     3949
     3950  ;;
     3951esac
     3952fi
     3953PYTHON=$ac_cv_path_PYTHON
     3954if test -n "$PYTHON"; then
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3956$as_echo "$PYTHON" >&6; }
     3957else
     3958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3959$as_echo "no" >&6; }
     3960fi
     3961
     3962
     3963  else
     3964    # Extract the first word of "python", so it can be a program name with args.
     3965set dummy python; ac_word=$2
     3966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3967$as_echo_n "checking for $ac_word... " >&6; }
     3968if ${ac_cv_path_PYTHON+:} false; then :
     3969  $as_echo_n "(cached) " >&6
     3970else
     3971  case $PYTHON in
     3972  [\\/]* | ?:[\\/]*)
     3973  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
     3974  ;;
     3975  *)
     3976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3977as_dummy="${with_python}/bin:${with_python}"
     3978for as_dir in $as_dummy
     3979do
     3980  IFS=$as_save_IFS
     3981  test -z "$as_dir" && as_dir=.
     3982    for ac_exec_ext in '' $ac_executable_extensions; do
     3983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3984    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     3985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3986    break 2
     3987  fi
     3988done
     3989  done
     3990IFS=$as_save_IFS
     3991
     3992  ;;
     3993esac
     3994fi
     3995PYTHON=$ac_cv_path_PYTHON
     3996if test -n "$PYTHON"; then
     3997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3998$as_echo "$PYTHON" >&6; }
     3999else
     4000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4001$as_echo "no" >&6; }
     4002fi
     4003
     4004
     4005  fi
     4006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     4007$as_echo_n "checking for Python version... " >&6; }
     4008  if test "x${PYTHON}" != "x"; then
     4009    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
     4010  fi
     4011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     4012$as_echo "$PYTHON_VERSION" >&6; }
     4013fi
     4014
     4015if test "x${PYTHON_VERSION}" != "x"; then
     4016  PYTHON_INCLUDES=$incdir
     4017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     4018$as_echo_n "checking for Python distutils... " >&6; }
     4019  PYTHON_DISTUTILS=""
     4020  ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \
     4021        build build_ext 2>&1 > /dev/null
     4022  if test $? = 0 ; then
     4023    PYTHON_DISTUTILS="yes"
     4024  fi
     4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     4026$as_echo "$PYTHON_DISTUTILS" >&6; }
     4027  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     4028    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
     4029    #
     4030    # Check for Python include path
     4031    #
     4032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     4033$as_echo_n "checking path to Python headers... " >&6; }
     4034    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
     4035     print distutils.sysconfig.get_python_inc();"`
     4036    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     4037$as_echo "$PYTHON_INCDIR" >&6; }
     4038    #
     4039    # Python distutils found, get settings from python directly
     4040    #
     4041    PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`"
     4042
     4043    PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`"
     4044    PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`"
     4045    PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`"
     4046    PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`"
     4047    save_CPPFLAGS=$CPPFLAGS
     4048    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
     4049    for ac_header in Python.h
     4050do :
     4051  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4052if test "x$ac_cv_header_Python_h" = xyes; then :
     4053  cat >>confdefs.h <<_ACEOF
     4054#define HAVE_PYTHON_H 1
     4055_ACEOF
     4056 found=yes
     4057else
     4058  found=no
     4059fi
     4060
     4061done
     4062
     4063    CPPFLAGS=$save_CPPFLAGS
     4064    if test "$found" = "no" ; then
     4065      PYTHON_DISTUTILS=""
     4066    fi
     4067  fi
     4068fi
     4069
     4070
     4071VERSION=0.0.1
     4072
     4073#------------------------------------------------------------------------
     4074# Handle the --prefix=... option
     4075#------------------------------------------------------------------------
     4076
     4077if test "${prefix}" = "NONE"; then
     4078    prefix=/usr/local
     4079fi
     4080if test "${exec_prefix}" = "NONE"; then
     4081    exec_prefix=$prefix
     4082fi
     4083
     4084if test "x${incdir}" == "x"; then
     4085  incdir=${exec_prefix}/include
     4086fi
     4087libdir=${exec_prefix}/lib
     4088
     4089if test "${libdir}" != "${prefix}/lib"; then
     4090    LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
     4091else
     4092    LIB_SEARCH_DIRS="-L ${libdir}"
     4093fi
     4094
     4095if test -n "$ac_tool_prefix"; then
     4096  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     4097set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4099$as_echo_n "checking for $ac_word... " >&6; }
     4100if ${ac_cv_prog_RANLIB+:} false; then :
     4101  $as_echo_n "(cached) " >&6
     4102else
     4103  if test -n "$RANLIB"; then
     4104  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4105else
     4106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4107for as_dir in $PATH
     4108do
     4109  IFS=$as_save_IFS
     4110  test -z "$as_dir" && as_dir=.
     4111    for ac_exec_ext in '' $ac_executable_extensions; do
     4112  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4113    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4115    break 2
     4116  fi
     4117done
     4118  done
     4119IFS=$as_save_IFS
     4120
     4121fi
     4122fi
     4123RANLIB=$ac_cv_prog_RANLIB
     4124if test -n "$RANLIB"; then
     4125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4126$as_echo "$RANLIB" >&6; }
     4127else
     4128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4129$as_echo "no" >&6; }
     4130fi
     4131
     4132
     4133fi
     4134if test -z "$ac_cv_prog_RANLIB"; then
     4135  ac_ct_RANLIB=$RANLIB
     4136  # Extract the first word of "ranlib", so it can be a program name with args.
     4137set dummy ranlib; ac_word=$2
     4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4139$as_echo_n "checking for $ac_word... " >&6; }
     4140if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4141  $as_echo_n "(cached) " >&6
     4142else
     4143  if test -n "$ac_ct_RANLIB"; then
     4144  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4145else
     4146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4147for as_dir in $PATH
     4148do
     4149  IFS=$as_save_IFS
     4150  test -z "$as_dir" && as_dir=.
     4151    for ac_exec_ext in '' $ac_executable_extensions; do
     4152  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4153    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4155    break 2
     4156  fi
     4157done
     4158  done
     4159IFS=$as_save_IFS
     4160
     4161fi
     4162fi
     4163ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4164if test -n "$ac_ct_RANLIB"; then
     4165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4166$as_echo "$ac_ct_RANLIB" >&6; }
     4167else
     4168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4169$as_echo "no" >&6; }
     4170fi
     4171
     4172  if test "x$ac_ct_RANLIB" = x; then
     4173    RANLIB=":"
     4174  else
     4175    case $cross_compiling:$ac_tool_warned in
     4176yes:)
     4177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4179ac_tool_warned=yes ;;
     4180esac
     4181    RANLIB=$ac_ct_RANLIB
     4182  fi
     4183else
     4184  RANLIB="$ac_cv_prog_RANLIB"
     4185fi
     4186
     4187
    35984188
    35994189    # Step 0.a: Enable 64 bit support?
    36004190
    3601     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    36024192$as_echo_n "checking if 64bit support is requested... " >&6; }
    36034193    # Check whether --enable-64bit was given.
    3604 if test "${enable_64bit+set}" = set; then
     4194if test "${enable_64bit+set}" = set; then :
    36054195  enableval=$enable_64bit; do64bit=$enableval
    36064196else
     
    36084198fi
    36094199
    3610     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    36114201$as_echo "$do64bit" >&6; }
    36124202
    36134203    # Step 0.b: Enable Solaris 64 bit VIS support?
    36144204
    3615     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4205    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    36164206$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    36174207    # Check whether --enable-64bit-vis was given.
    3618 if test "${enable_64bit_vis+set}" = set; then
     4208if test "${enable_64bit_vis+set}" = set; then :
    36194209  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    36204210else
     
    36224212fi
    36234213
    3624     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4214    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    36254215$as_echo "$do64bitVIS" >&6; }
    36264216
     
    36344224
    36354225
    3636     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4226    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    36374227$as_echo_n "checking system version... " >&6; }
    3638 if test "${tcl_cv_sys_version+set}" = set; then
     4228if ${tcl_cv_sys_version+:} false; then :
    36394229  $as_echo_n "(cached) " >&6
    36404230else
     
    36454235            tcl_cv_sys_version=`uname -s`-`uname -r`
    36464236            if test "$?" -ne 0 ; then
    3647                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4237                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    36484238$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    36494239                tcl_cv_sys_version=unknown
     
    36624252
    36634253fi
    3664 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    36654255$as_echo "$tcl_cv_sys_version" >&6; }
    36664256    system=$tcl_cv_sys_version
     
    36704260    # Linux can use either -ldl or -ldld for dynamic loading.
    36714261
    3672     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    36734263$as_echo_n "checking for dlopen in -ldl... " >&6; }
    3674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4264if ${ac_cv_lib_dl_dlopen+:} false; then :
    36754265  $as_echo_n "(cached) " >&6
    36764266else
    36774267  ac_check_lib_save_LIBS=$LIBS
    36784268LIBS="-ldl  $LIBS"
    3679 cat >conftest.$ac_ext <<_ACEOF
    3680 /* confdefs.h.  */
    3681 _ACEOF
    3682 cat confdefs.h >>conftest.$ac_ext
    3683 cat >>conftest.$ac_ext <<_ACEOF
     4269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36844270/* end confdefs.h.  */
    36854271
     
    36994285}
    37004286_ACEOF
    3701 rm -f conftest.$ac_objext conftest$ac_exeext
    3702 if { (ac_try="$ac_link"
    3703 case "(($ac_try" in
    3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3705   *) ac_try_echo=$ac_try;;
    3706 esac
    3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3708 $as_echo "$ac_try_echo") >&5
    3709   (eval "$ac_link") 2>conftest.er1
    3710   ac_status=$?
    3711   grep -v '^ *+' conftest.er1 >conftest.err
    3712   rm -f conftest.er1
    3713   cat conftest.err >&5
    3714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3715   (exit $ac_status); } && {
    3716          test -z "$ac_c_werror_flag" ||
    3717          test ! -s conftest.err
    3718        } && test -s conftest$ac_exeext && {
    3719          test "$cross_compiling" = yes ||
    3720          $as_test_x conftest$ac_exeext
    3721        }; then
     4287if ac_fn_c_try_link "$LINENO"; then :
    37224288  ac_cv_lib_dl_dlopen=yes
    37234289else
    3724   $as_echo "$as_me: failed program was:" >&5
    3725 sed 's/^/| /' conftest.$ac_ext >&5
    3726 
    3727         ac_cv_lib_dl_dlopen=no
    3728 fi
    3729 
    3730 rm -rf conftest.dSYM
    3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3732       conftest$ac_exeext conftest.$ac_ext
     4290  ac_cv_lib_dl_dlopen=no
     4291fi
     4292rm -f core conftest.err conftest.$ac_objext \
     4293    conftest$ac_exeext conftest.$ac_ext
    37334294LIBS=$ac_check_lib_save_LIBS
    37344295fi
    3735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    37364297$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3737 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4298if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    37384299  have_dl=yes
    37394300else
     
    37674328    # Extract the first word of "ar", so it can be a program name with args.
    37684329set dummy ar; ac_word=$2
    3769 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37704331$as_echo_n "checking for $ac_word... " >&6; }
    3771 if test "${ac_cv_prog_AR+set}" = set; then
     4332if ${ac_cv_prog_AR+:} false; then :
    37724333  $as_echo_n "(cached) " >&6
    37734334else
     
    37804341  IFS=$as_save_IFS
    37814342  test -z "$as_dir" && as_dir=.
    3782   for ac_exec_ext in '' $ac_executable_extensions; do
     4343    for ac_exec_ext in '' $ac_executable_extensions; do
    37834344  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37844345    ac_cv_prog_AR="ar"
    3785     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37864347    break 2
    37874348  fi
    37884349done
    3789 done
     4350  done
    37904351IFS=$as_save_IFS
    37914352
     
    37944355AR=$ac_cv_prog_AR
    37954356if test -n "$AR"; then
    3796   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    37974358$as_echo "$AR" >&6; }
    37984359else
    3799   { $as_echo "$as_me:$LINENO: result: no" >&5
     4360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38004361$as_echo "no" >&6; }
    38014362fi
     
    38034364
    38044365    if test "${AR}" = "" ; then
    3805         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    3806 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    3807    { (exit 1); exit 1; }; }
     4366        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    38084367    fi
    38094368    STLIB_LD='${AR} cr'
     
    38234382                        ;;
    38244383                esac
    3825                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4384                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    38264385$as_echo "Using $CC for compiling with threads" >&6; }
    38274386            fi
     
    38394398            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    38404399                if test "$GCC" = "yes" ; then
    3841                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4400                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    38424401$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    38434402                else
     
    38944453            # known GMT value.
    38954454
    3896             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4455            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    38974456$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    3898 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4457if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    38994458  $as_echo_n "(cached) " >&6
    39004459else
    39014460  ac_check_lib_save_LIBS=$LIBS
    39024461LIBS="-lbsd  $LIBS"
    3903 cat >conftest.$ac_ext <<_ACEOF
    3904 /* confdefs.h.  */
    3905 _ACEOF
    3906 cat confdefs.h >>conftest.$ac_ext
    3907 cat >>conftest.$ac_ext <<_ACEOF
     4462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39084463/* end confdefs.h.  */
    39094464
     
    39234478}
    39244479_ACEOF
    3925 rm -f conftest.$ac_objext conftest$ac_exeext
    3926 if { (ac_try="$ac_link"
    3927 case "(($ac_try" in
    3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3929   *) ac_try_echo=$ac_try;;
    3930 esac
    3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3932 $as_echo "$ac_try_echo") >&5
    3933   (eval "$ac_link") 2>conftest.er1
    3934   ac_status=$?
    3935   grep -v '^ *+' conftest.er1 >conftest.err
    3936   rm -f conftest.er1
    3937   cat conftest.err >&5
    3938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3939   (exit $ac_status); } && {
    3940          test -z "$ac_c_werror_flag" ||
    3941          test ! -s conftest.err
    3942        } && test -s conftest$ac_exeext && {
    3943          test "$cross_compiling" = yes ||
    3944          $as_test_x conftest$ac_exeext
    3945        }; then
     4480if ac_fn_c_try_link "$LINENO"; then :
    39464481  ac_cv_lib_bsd_gettimeofday=yes
    39474482else
    3948   $as_echo "$as_me: failed program was:" >&5
    3949 sed 's/^/| /' conftest.$ac_ext >&5
    3950 
    3951         ac_cv_lib_bsd_gettimeofday=no
    3952 fi
    3953 
    3954 rm -rf conftest.dSYM
    3955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3956       conftest$ac_exeext conftest.$ac_ext
     4483  ac_cv_lib_bsd_gettimeofday=no
     4484fi
     4485rm -f core conftest.err conftest.$ac_objext \
     4486    conftest$ac_exeext conftest.$ac_ext
    39574487LIBS=$ac_check_lib_save_LIBS
    39584488fi
    3959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    39604490$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4491if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    39624492  libbsd=yes
    39634493else
     
    39674497            if test $libbsd = yes; then
    39684498                MATH_LIBS="$MATH_LIBS -lbsd"
    3969                 cat >>confdefs.h <<\_ACEOF
    3970 #define USE_DELTA_FOR_TZ 1
    3971 _ACEOF
     4499                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    39724500
    39734501            fi
     
    39864514            # is always linked to, for compatibility.
    39874515            #-----------------------------------------------------------
    3988             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4516            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    39894517$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    3990 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4518if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    39914519  $as_echo_n "(cached) " >&6
    39924520else
    39934521  ac_check_lib_save_LIBS=$LIBS
    39944522LIBS="-lbind  $LIBS"
    3995 cat >conftest.$ac_ext <<_ACEOF
    3996 /* confdefs.h.  */
    3997 _ACEOF
    3998 cat confdefs.h >>conftest.$ac_ext
    3999 cat >>conftest.$ac_ext <<_ACEOF
     4523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40004524/* end confdefs.h.  */
    40014525
     
    40154539}
    40164540_ACEOF
    4017 rm -f conftest.$ac_objext conftest$ac_exeext
    4018 if { (ac_try="$ac_link"
    4019 case "(($ac_try" in
    4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4021   *) ac_try_echo=$ac_try;;
    4022 esac
    4023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4024 $as_echo "$ac_try_echo") >&5
    4025   (eval "$ac_link") 2>conftest.er1
    4026   ac_status=$?
    4027   grep -v '^ *+' conftest.er1 >conftest.err
    4028   rm -f conftest.er1
    4029   cat conftest.err >&5
    4030   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4031   (exit $ac_status); } && {
    4032          test -z "$ac_c_werror_flag" ||
    4033          test ! -s conftest.err
    4034        } && test -s conftest$ac_exeext && {
    4035          test "$cross_compiling" = yes ||
    4036          $as_test_x conftest$ac_exeext
    4037        }; then
     4541if ac_fn_c_try_link "$LINENO"; then :
    40384542  ac_cv_lib_bind_inet_ntoa=yes
    40394543else
    4040   $as_echo "$as_me: failed program was:" >&5
    4041 sed 's/^/| /' conftest.$ac_ext >&5
    4042 
    4043         ac_cv_lib_bind_inet_ntoa=no
    4044 fi
    4045 
    4046 rm -rf conftest.dSYM
    4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4048       conftest$ac_exeext conftest.$ac_ext
     4544  ac_cv_lib_bind_inet_ntoa=no
     4545fi
     4546rm -f core conftest.err conftest.$ac_objext \
     4547    conftest$ac_exeext conftest.$ac_ext
    40494548LIBS=$ac_check_lib_save_LIBS
    40504549fi
    4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    40524551$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4053 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4552if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    40544553  LIBS="$LIBS -lbind -lsocket"
    40554554fi
     
    40894588        HP-UX-*.11.*)
    40904589            # Use updated header definitions where possible
    4091             cat >>confdefs.h <<\_ACEOF
    4092 #define _XOPEN_SOURCE 1
    4093 _ACEOF
     4590            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    40944591          # Use the XOPEN network library
    4095             cat >>confdefs.h <<\_ACEOF
    4096 #define _XOPEN_SOURCE_EXTENDED 1
    4097 _ACEOF
     4592            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    40984593 # Use the XOPEN network library
    40994594            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    41044599                SHLIB_SUFFIX=".sl"
    41054600            fi
    4106             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4601            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    41074602$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4603if ${ac_cv_lib_dld_shl_load+:} false; then :
    41094604  $as_echo_n "(cached) " >&6
    41104605else
    41114606  ac_check_lib_save_LIBS=$LIBS
    41124607LIBS="-ldld  $LIBS"
    4113 cat >conftest.$ac_ext <<_ACEOF
    4114 /* confdefs.h.  */
    4115 _ACEOF
    4116 cat confdefs.h >>conftest.$ac_ext
    4117 cat >>conftest.$ac_ext <<_ACEOF
     4608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41184609/* end confdefs.h.  */
    41194610
     
    41334624}
    41344625_ACEOF
    4135 rm -f conftest.$ac_objext conftest$ac_exeext
    4136 if { (ac_try="$ac_link"
    4137 case "(($ac_try" in
    4138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4139   *) ac_try_echo=$ac_try;;
    4140 esac
    4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4142 $as_echo "$ac_try_echo") >&5
    4143   (eval "$ac_link") 2>conftest.er1
    4144   ac_status=$?
    4145   grep -v '^ *+' conftest.er1 >conftest.err
    4146   rm -f conftest.er1
    4147   cat conftest.err >&5
    4148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4149   (exit $ac_status); } && {
    4150          test -z "$ac_c_werror_flag" ||
    4151          test ! -s conftest.err
    4152        } && test -s conftest$ac_exeext && {
    4153          test "$cross_compiling" = yes ||
    4154          $as_test_x conftest$ac_exeext
    4155        }; then
     4626if ac_fn_c_try_link "$LINENO"; then :
    41564627  ac_cv_lib_dld_shl_load=yes
    41574628else
    4158   $as_echo "$as_me: failed program was:" >&5
    4159 sed 's/^/| /' conftest.$ac_ext >&5
    4160 
    4161         ac_cv_lib_dld_shl_load=no
    4162 fi
    4163 
    4164 rm -rf conftest.dSYM
    4165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4166       conftest$ac_exeext conftest.$ac_ext
     4629  ac_cv_lib_dld_shl_load=no
     4630fi
     4631rm -f core conftest.err conftest.$ac_objext \
     4632    conftest$ac_exeext conftest.$ac_ext
    41674633LIBS=$ac_check_lib_save_LIBS
    41684634fi
    4169 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    41704636$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4171 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4637if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    41724638  tcl_ok=yes
    41734639else
     
    42094675                            ;;
    42104676                        *)
    4211                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4677                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    42124678$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42134679                            ;;
     
    42224688        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    42234689            SHLIB_SUFFIX=".sl"
    4224             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4690            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    42254691$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4692if ${ac_cv_lib_dld_shl_load+:} false; then :
    42274693  $as_echo_n "(cached) " >&6
    42284694else
    42294695  ac_check_lib_save_LIBS=$LIBS
    42304696LIBS="-ldld  $LIBS"
    4231 cat >conftest.$ac_ext <<_ACEOF
    4232 /* confdefs.h.  */
    4233 _ACEOF
    4234 cat confdefs.h >>conftest.$ac_ext
    4235 cat >>conftest.$ac_ext <<_ACEOF
     4697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42364698/* end confdefs.h.  */
    42374699
     
    42514713}
    42524714_ACEOF
    4253 rm -f conftest.$ac_objext conftest$ac_exeext
    4254 if { (ac_try="$ac_link"
    4255 case "(($ac_try" in
    4256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4257   *) ac_try_echo=$ac_try;;
    4258 esac
    4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4260 $as_echo "$ac_try_echo") >&5
    4261   (eval "$ac_link") 2>conftest.er1
    4262   ac_status=$?
    4263   grep -v '^ *+' conftest.er1 >conftest.err
    4264   rm -f conftest.er1
    4265   cat conftest.err >&5
    4266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4267   (exit $ac_status); } && {
    4268          test -z "$ac_c_werror_flag" ||
    4269          test ! -s conftest.err
    4270        } && test -s conftest$ac_exeext && {
    4271          test "$cross_compiling" = yes ||
    4272          $as_test_x conftest$ac_exeext
    4273        }; then
     4715if ac_fn_c_try_link "$LINENO"; then :
    42744716  ac_cv_lib_dld_shl_load=yes
    42754717else
    4276   $as_echo "$as_me: failed program was:" >&5
    4277 sed 's/^/| /' conftest.$ac_ext >&5
    4278 
    4279         ac_cv_lib_dld_shl_load=no
    4280 fi
    4281 
    4282 rm -rf conftest.dSYM
    4283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4284       conftest$ac_exeext conftest.$ac_ext
     4718  ac_cv_lib_dld_shl_load=no
     4719fi
     4720rm -f core conftest.err conftest.$ac_objext \
     4721    conftest$ac_exeext conftest.$ac_ext
    42854722LIBS=$ac_check_lib_save_LIBS
    42864723fi
    4287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    42884725$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4289 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4726if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    42904727  tcl_ok=yes
    42914728else
     
    43664803            if test "$do64bit" = "yes" ; then
    43674804                if test "$GCC" = "yes" ; then
    4368                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4805                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    43694806$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    43704807                else
     
    43954832                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    43964833            else
    4397                 if test "${ac_cv_header_dld_h+set}" = set; then
    4398   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4399 $as_echo_n "checking for dld.h... " >&6; }
    4400 if test "${ac_cv_header_dld_h+set}" = set; then
    4401   $as_echo_n "(cached) " >&6
    4402 fi
    4403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4404 $as_echo "$ac_cv_header_dld_h" >&6; }
    4405 else
    4406   # Is the header compilable?
    4407 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4408 $as_echo_n "checking dld.h usability... " >&6; }
    4409 cat >conftest.$ac_ext <<_ACEOF
    4410 /* confdefs.h.  */
    4411 _ACEOF
    4412 cat confdefs.h >>conftest.$ac_ext
    4413 cat >>conftest.$ac_ext <<_ACEOF
    4414 /* end confdefs.h.  */
    4415 $ac_includes_default
    4416 #include <dld.h>
    4417 _ACEOF
    4418 rm -f conftest.$ac_objext
    4419 if { (ac_try="$ac_compile"
    4420 case "(($ac_try" in
    4421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4422   *) ac_try_echo=$ac_try;;
    4423 esac
    4424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4425 $as_echo "$ac_try_echo") >&5
    4426   (eval "$ac_compile") 2>conftest.er1
    4427   ac_status=$?
    4428   grep -v '^ *+' conftest.er1 >conftest.err
    4429   rm -f conftest.er1
    4430   cat conftest.err >&5
    4431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4432   (exit $ac_status); } && {
    4433          test -z "$ac_c_werror_flag" ||
    4434          test ! -s conftest.err
    4435        } && test -s conftest.$ac_objext; then
    4436   ac_header_compiler=yes
    4437 else
    4438   $as_echo "$as_me: failed program was:" >&5
    4439 sed 's/^/| /' conftest.$ac_ext >&5
    4440 
    4441         ac_header_compiler=no
    4442 fi
    4443 
    4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4445 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4446 $as_echo "$ac_header_compiler" >&6; }
    4447 
    4448 # Is the header present?
    4449 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4450 $as_echo_n "checking dld.h presence... " >&6; }
    4451 cat >conftest.$ac_ext <<_ACEOF
    4452 /* confdefs.h.  */
    4453 _ACEOF
    4454 cat confdefs.h >>conftest.$ac_ext
    4455 cat >>conftest.$ac_ext <<_ACEOF
    4456 /* end confdefs.h.  */
    4457 #include <dld.h>
    4458 _ACEOF
    4459 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4460 case "(($ac_try" in
    4461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4462   *) ac_try_echo=$ac_try;;
    4463 esac
    4464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4465 $as_echo "$ac_try_echo") >&5
    4466   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4467   ac_status=$?
    4468   grep -v '^ *+' conftest.er1 >conftest.err
    4469   rm -f conftest.er1
    4470   cat conftest.err >&5
    4471   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4472   (exit $ac_status); } >/dev/null && {
    4473          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4474          test ! -s conftest.err
    4475        }; then
    4476   ac_header_preproc=yes
    4477 else
    4478   $as_echo "$as_me: failed program was:" >&5
    4479 sed 's/^/| /' conftest.$ac_ext >&5
    4480 
    4481   ac_header_preproc=no
    4482 fi
    4483 
    4484 rm -f conftest.err conftest.$ac_ext
    4485 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4486 $as_echo "$ac_header_preproc" >&6; }
    4487 
    4488 # So?  What about this header?
    4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4490   yes:no: )
    4491     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4492 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4493     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4494 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4495     ac_header_preproc=yes
    4496     ;;
    4497   no:yes:* )
    4498     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4499 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4500     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4501 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4502     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4503 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4504     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4505 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4506     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4507 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4508     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4509 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4510     ( cat <<\_ASBOX
    4511 ## ----------------------------------- ##
    4512 ## Report this to rappture@nanohub.org ##
    4513 ## ----------------------------------- ##
    4514 _ASBOX
    4515      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4516     ;;
    4517 esac
    4518 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4519 $as_echo_n "checking for dld.h... " >&6; }
    4520 if test "${ac_cv_header_dld_h+set}" = set; then
    4521   $as_echo_n "(cached) " >&6
    4522 else
    4523   ac_cv_header_dld_h=$ac_header_preproc
    4524 fi
    4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4526 $as_echo "$ac_cv_header_dld_h" >&6; }
    4527 
    4528 fi
    4529 if test "x$ac_cv_header_dld_h" = x""yes; then
     4834                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4835if test "x$ac_cv_header_dld_h" = xyes; then :
    45304836
    45314837                    SHLIB_LD="ld -shared"
     
    45424848            fi
    45434849            if test $do64bit = yes; then
    4544                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4850                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    45454851$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4546 if test "${tcl_cv_cc_m64+set}" = set; then
     4852if ${tcl_cv_cc_m64+:} false; then :
    45474853  $as_echo_n "(cached) " >&6
    45484854else
     
    45504856                    hold_cflags=$CFLAGS
    45514857                    CFLAGS="$CFLAGS -m64"
    4552                     cat >conftest.$ac_ext <<_ACEOF
    4553 /* confdefs.h.  */
    4554 _ACEOF
    4555 cat confdefs.h >>conftest.$ac_ext
    4556 cat >>conftest.$ac_ext <<_ACEOF
     4858                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45574859/* end confdefs.h.  */
    45584860
     
    45654867}
    45664868_ACEOF
    4567 rm -f conftest.$ac_objext conftest$ac_exeext
    4568 if { (ac_try="$ac_link"
    4569 case "(($ac_try" in
    4570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4571   *) ac_try_echo=$ac_try;;
    4572 esac
    4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4574 $as_echo "$ac_try_echo") >&5
    4575   (eval "$ac_link") 2>conftest.er1
    4576   ac_status=$?
    4577   grep -v '^ *+' conftest.er1 >conftest.err
    4578   rm -f conftest.er1
    4579   cat conftest.err >&5
    4580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4581   (exit $ac_status); } && {
    4582          test -z "$ac_c_werror_flag" ||
    4583          test ! -s conftest.err
    4584        } && test -s conftest$ac_exeext && {
    4585          test "$cross_compiling" = yes ||
    4586          $as_test_x conftest$ac_exeext
    4587        }; then
     4869if ac_fn_c_try_link "$LINENO"; then :
    45884870  tcl_cv_cc_m64=yes
    45894871else
    4590   $as_echo "$as_me: failed program was:" >&5
    4591 sed 's/^/| /' conftest.$ac_ext >&5
    4592 
    4593         tcl_cv_cc_m64=no
    4594 fi
    4595 
    4596 rm -rf conftest.dSYM
    4597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4598       conftest$ac_exeext conftest.$ac_ext
     4872  tcl_cv_cc_m64=no
     4873fi
     4874rm -f core conftest.err conftest.$ac_objext \
     4875    conftest$ac_exeext conftest.$ac_ext
    45994876                    CFLAGS=$hold_cflags
    46004877fi
    4601 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    46024879$as_echo "$tcl_cv_cc_m64" >&6; }
    46034880                if test $tcl_cv_cc_m64 = yes; then
     
    46194896
    46204897            # XIM peeking works under XFree86.
    4621             cat >>confdefs.h <<\_ACEOF
    4622 #define PEEK_XCLOSEIM 1
    4623 _ACEOF
     4898            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    46244899
    46254900
     
    46384913                LD_SEARCH_FLAGS=""
    46394914            else
    4640                 if test "${ac_cv_header_dld_h+set}" = set; then
    4641   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4642 $as_echo_n "checking for dld.h... " >&6; }
    4643 if test "${ac_cv_header_dld_h+set}" = set; then
    4644   $as_echo_n "(cached) " >&6
    4645 fi
    4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4647 $as_echo "$ac_cv_header_dld_h" >&6; }
    4648 else
    4649   # Is the header compilable?
    4650 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4651 $as_echo_n "checking dld.h usability... " >&6; }
    4652 cat >conftest.$ac_ext <<_ACEOF
    4653 /* confdefs.h.  */
    4654 _ACEOF
    4655 cat confdefs.h >>conftest.$ac_ext
    4656 cat >>conftest.$ac_ext <<_ACEOF
    4657 /* end confdefs.h.  */
    4658 $ac_includes_default
    4659 #include <dld.h>
    4660 _ACEOF
    4661 rm -f conftest.$ac_objext
    4662 if { (ac_try="$ac_compile"
    4663 case "(($ac_try" in
    4664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4665   *) ac_try_echo=$ac_try;;
    4666 esac
    4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4668 $as_echo "$ac_try_echo") >&5
    4669   (eval "$ac_compile") 2>conftest.er1
    4670   ac_status=$?
    4671   grep -v '^ *+' conftest.er1 >conftest.err
    4672   rm -f conftest.er1
    4673   cat conftest.err >&5
    4674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4675   (exit $ac_status); } && {
    4676          test -z "$ac_c_werror_flag" ||
    4677          test ! -s conftest.err
    4678        } && test -s conftest.$ac_objext; then
    4679   ac_header_compiler=yes
    4680 else
    4681   $as_echo "$as_me: failed program was:" >&5
    4682 sed 's/^/| /' conftest.$ac_ext >&5
    4683 
    4684         ac_header_compiler=no
    4685 fi
    4686 
    4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4689 $as_echo "$ac_header_compiler" >&6; }
    4690 
    4691 # Is the header present?
    4692 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4693 $as_echo_n "checking dld.h presence... " >&6; }
    4694 cat >conftest.$ac_ext <<_ACEOF
    4695 /* confdefs.h.  */
    4696 _ACEOF
    4697 cat confdefs.h >>conftest.$ac_ext
    4698 cat >>conftest.$ac_ext <<_ACEOF
    4699 /* end confdefs.h.  */
    4700 #include <dld.h>
    4701 _ACEOF
    4702 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4703 case "(($ac_try" in
    4704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4705   *) ac_try_echo=$ac_try;;
    4706 esac
    4707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4708 $as_echo "$ac_try_echo") >&5
    4709   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4710   ac_status=$?
    4711   grep -v '^ *+' conftest.er1 >conftest.err
    4712   rm -f conftest.er1
    4713   cat conftest.err >&5
    4714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4715   (exit $ac_status); } >/dev/null && {
    4716          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4717          test ! -s conftest.err
    4718        }; then
    4719   ac_header_preproc=yes
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724   ac_header_preproc=no
    4725 fi
    4726 
    4727 rm -f conftest.err conftest.$ac_ext
    4728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4729 $as_echo "$ac_header_preproc" >&6; }
    4730 
    4731 # So?  What about this header?
    4732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4733   yes:no: )
    4734     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4735 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4736     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4737 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4738     ac_header_preproc=yes
    4739     ;;
    4740   no:yes:* )
    4741     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4742 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4743     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4744 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4745     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4746 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4747     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4748 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4749     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4750 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4751     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4752 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4753     ( cat <<\_ASBOX
    4754 ## ----------------------------------- ##
    4755 ## Report this to rappture@nanohub.org ##
    4756 ## ----------------------------------- ##
    4757 _ASBOX
    4758      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4759     ;;
    4760 esac
    4761 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4762 $as_echo_n "checking for dld.h... " >&6; }
    4763 if test "${ac_cv_header_dld_h+set}" = set; then
    4764   $as_echo_n "(cached) " >&6
    4765 else
    4766   ac_cv_header_dld_h=$ac_header_preproc
    4767 fi
    4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4769 $as_echo "$ac_cv_header_dld_h" >&6; }
    4770 
    4771 fi
    4772 if test "x$ac_cv_header_dld_h" = x""yes; then
     4915                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4916if test "x$ac_cv_header_dld_h" = xyes; then :
    47734917
    47744918                    SHLIB_LD="ld -shared"
     
    48204964        NetBSD-*|FreeBSD-[1-2].*)
    48214965            # Not available on all versions:  check for include file.
    4822             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4823   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4824 $as_echo_n "checking for dlfcn.h... " >&6; }
    4825 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4826   $as_echo_n "(cached) " >&6
    4827 fi
    4828 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4829 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4830 else
    4831   # Is the header compilable?
    4832 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    4833 $as_echo_n "checking dlfcn.h usability... " >&6; }
    4834 cat >conftest.$ac_ext <<_ACEOF
    4835 /* confdefs.h.  */
    4836 _ACEOF
    4837 cat confdefs.h >>conftest.$ac_ext
    4838 cat >>conftest.$ac_ext <<_ACEOF
    4839 /* end confdefs.h.  */
    4840 $ac_includes_default
    4841 #include <dlfcn.h>
    4842 _ACEOF
    4843 rm -f conftest.$ac_objext
    4844 if { (ac_try="$ac_compile"
    4845 case "(($ac_try" in
    4846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4847   *) ac_try_echo=$ac_try;;
    4848 esac
    4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4850 $as_echo "$ac_try_echo") >&5
    4851   (eval "$ac_compile") 2>conftest.er1
    4852   ac_status=$?
    4853   grep -v '^ *+' conftest.er1 >conftest.err
    4854   rm -f conftest.er1
    4855   cat conftest.err >&5
    4856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4857   (exit $ac_status); } && {
    4858          test -z "$ac_c_werror_flag" ||
    4859          test ! -s conftest.err
    4860        } && test -s conftest.$ac_objext; then
    4861   ac_header_compiler=yes
    4862 else
    4863   $as_echo "$as_me: failed program was:" >&5
    4864 sed 's/^/| /' conftest.$ac_ext >&5
    4865 
    4866         ac_header_compiler=no
    4867 fi
    4868 
    4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4871 $as_echo "$ac_header_compiler" >&6; }
    4872 
    4873 # Is the header present?
    4874 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    4875 $as_echo_n "checking dlfcn.h presence... " >&6; }
    4876 cat >conftest.$ac_ext <<_ACEOF
    4877 /* confdefs.h.  */
    4878 _ACEOF
    4879 cat confdefs.h >>conftest.$ac_ext
    4880 cat >>conftest.$ac_ext <<_ACEOF
    4881 /* end confdefs.h.  */
    4882 #include <dlfcn.h>
    4883 _ACEOF
    4884 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4885 case "(($ac_try" in
    4886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4887   *) ac_try_echo=$ac_try;;
    4888 esac
    4889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4890 $as_echo "$ac_try_echo") >&5
    4891   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4892   ac_status=$?
    4893   grep -v '^ *+' conftest.er1 >conftest.err
    4894   rm -f conftest.er1
    4895   cat conftest.err >&5
    4896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4897   (exit $ac_status); } >/dev/null && {
    4898          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4899          test ! -s conftest.err
    4900        }; then
    4901   ac_header_preproc=yes
    4902 else
    4903   $as_echo "$as_me: failed program was:" >&5
    4904 sed 's/^/| /' conftest.$ac_ext >&5
    4905 
    4906   ac_header_preproc=no
    4907 fi
    4908 
    4909 rm -f conftest.err conftest.$ac_ext
    4910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4911 $as_echo "$ac_header_preproc" >&6; }
    4912 
    4913 # So?  What about this header?
    4914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4915   yes:no: )
    4916     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4917 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4918     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    4919 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    4920     ac_header_preproc=yes
    4921     ;;
    4922   no:yes:* )
    4923     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    4924 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    4925     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    4926 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    4927     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    4928 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    4929     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    4930 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4931     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    4932 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    4933     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    4934 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    4935     ( cat <<\_ASBOX
    4936 ## ----------------------------------- ##
    4937 ## Report this to rappture@nanohub.org ##
    4938 ## ----------------------------------- ##
    4939 _ASBOX
    4940      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4941     ;;
    4942 esac
    4943 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4944 $as_echo_n "checking for dlfcn.h... " >&6; }
    4945 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4946   $as_echo_n "(cached) " >&6
    4947 else
    4948   ac_cv_header_dlfcn_h=$ac_header_preproc
    4949 fi
    4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4951 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4952 
    4953 fi
    4954 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4966            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4967if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    49554968
    49564969                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    49634976                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    49644977                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4965                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4978                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    49664979$as_echo_n "checking for ELF... " >&6; }
    4967 if test "${tcl_cv_ld_elf+set}" = set; then
     4980if ${tcl_cv_ld_elf+:} false; then :
    49684981  $as_echo_n "(cached) " >&6
    49694982else
    49704983
    4971                     cat >conftest.$ac_ext <<_ACEOF
    4972 /* confdefs.h.  */
    4973 _ACEOF
    4974 cat confdefs.h >>conftest.$ac_ext
    4975 cat >>conftest.$ac_ext <<_ACEOF
     4984                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49764985/* end confdefs.h.  */
    49774986
     
    49824991_ACEOF
    49834992if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4984   $EGREP "yes" >/dev/null 2>&1; then
     4993  $EGREP "yes" >/dev/null 2>&1; then :
    49854994  tcl_cv_ld_elf=yes
    49864995else
     
    49904999
    49915000fi
    4992 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    49935002$as_echo "$tcl_cv_ld_elf" >&6; }
    49945003                if test $tcl_cv_ld_elf = yes; then
     
    50495058                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    50505059                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5051                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5060                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    50525061$as_echo_n "checking for ELF... " >&6; }
    5053 if test "${tcl_cv_ld_elf+set}" = set; then
     5062if ${tcl_cv_ld_elf+:} false; then :
    50545063  $as_echo_n "(cached) " >&6
    50555064else
    50565065
    5057                     cat >conftest.$ac_ext <<_ACEOF
    5058 /* confdefs.h.  */
    5059 _ACEOF
    5060 cat confdefs.h >>conftest.$ac_ext
    5061 cat >>conftest.$ac_ext <<_ACEOF
     5066                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50625067/* end confdefs.h.  */
    50635068
     
    50685073_ACEOF
    50695074if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5070   $EGREP "yes" >/dev/null 2>&1; then
     5075  $EGREP "yes" >/dev/null 2>&1; then :
    50715076  tcl_cv_ld_elf=yes
    50725077else
     
    50765081
    50775082fi
    5078 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    50795084$as_echo "$tcl_cv_ld_elf" >&6; }
    50805085                if test $tcl_cv_ld_elf = yes; then
     
    51315136                case `arch` in
    51325137                    ppc)
    5133                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5138                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    51345139$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5135 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5140if ${tcl_cv_cc_arch_ppc64+:} false; then :
    51365141  $as_echo_n "(cached) " >&6
    51375142else
     
    51395144                            hold_cflags=$CFLAGS
    51405145                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5141                             cat >conftest.$ac_ext <<_ACEOF
    5142 /* confdefs.h.  */
    5143 _ACEOF
    5144 cat confdefs.h >>conftest.$ac_ext
    5145 cat >>conftest.$ac_ext <<_ACEOF
     5146                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51465147/* end confdefs.h.  */
    51475148
     
    51545155}
    51555156_ACEOF
    5156 rm -f conftest.$ac_objext conftest$ac_exeext
    5157 if { (ac_try="$ac_link"
    5158 case "(($ac_try" in
    5159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5160   *) ac_try_echo=$ac_try;;
    5161 esac
    5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5163 $as_echo "$ac_try_echo") >&5
    5164   (eval "$ac_link") 2>conftest.er1
    5165   ac_status=$?
    5166   grep -v '^ *+' conftest.er1 >conftest.err
    5167   rm -f conftest.er1
    5168   cat conftest.err >&5
    5169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5170   (exit $ac_status); } && {
    5171          test -z "$ac_c_werror_flag" ||
    5172          test ! -s conftest.err
    5173        } && test -s conftest$ac_exeext && {
    5174          test "$cross_compiling" = yes ||
    5175          $as_test_x conftest$ac_exeext
    5176        }; then
     5157if ac_fn_c_try_link "$LINENO"; then :
    51775158  tcl_cv_cc_arch_ppc64=yes
    51785159else
    5179   $as_echo "$as_me: failed program was:" >&5
    5180 sed 's/^/| /' conftest.$ac_ext >&5
    5181 
    5182         tcl_cv_cc_arch_ppc64=no
    5183 fi
    5184 
    5185 rm -rf conftest.dSYM
    5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5187       conftest$ac_exeext conftest.$ac_ext
     5160  tcl_cv_cc_arch_ppc64=no
     5161fi
     5162rm -f core conftest.err conftest.$ac_objext \
     5163    conftest$ac_exeext conftest.$ac_ext
    51885164                            CFLAGS=$hold_cflags
    51895165fi
    5190 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    51915167$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    51925168                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    51955171                        fi;;
    51965172                    i386)
    5197                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5173                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    51985174$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5199 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5175if ${tcl_cv_cc_arch_x86_64+:} false; then :
    52005176  $as_echo_n "(cached) " >&6
    52015177else
     
    52035179                            hold_cflags=$CFLAGS
    52045180                            CFLAGS="$CFLAGS -arch x86_64"
    5205                             cat >conftest.$ac_ext <<_ACEOF
    5206 /* confdefs.h.  */
    5207 _ACEOF
    5208 cat confdefs.h >>conftest.$ac_ext
    5209 cat >>conftest.$ac_ext <<_ACEOF
     5181                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52105182/* end confdefs.h.  */
    52115183
     
    52185190}
    52195191_ACEOF
    5220 rm -f conftest.$ac_objext conftest$ac_exeext
    5221 if { (ac_try="$ac_link"
    5222 case "(($ac_try" in
    5223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5224   *) ac_try_echo=$ac_try;;
    5225 esac
    5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5227 $as_echo "$ac_try_echo") >&5
    5228   (eval "$ac_link") 2>conftest.er1
    5229   ac_status=$?
    5230   grep -v '^ *+' conftest.er1 >conftest.err
    5231   rm -f conftest.er1
    5232   cat conftest.err >&5
    5233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } && {
    5235          test -z "$ac_c_werror_flag" ||
    5236          test ! -s conftest.err
    5237        } && test -s conftest$ac_exeext && {
    5238          test "$cross_compiling" = yes ||
    5239          $as_test_x conftest$ac_exeext
    5240        }; then
     5192if ac_fn_c_try_link "$LINENO"; then :
    52415193  tcl_cv_cc_arch_x86_64=yes
    52425194else
    5243   $as_echo "$as_me: failed program was:" >&5
    5244 sed 's/^/| /' conftest.$ac_ext >&5
    5245 
    5246         tcl_cv_cc_arch_x86_64=no
    5247 fi
    5248 
    5249 rm -rf conftest.dSYM
    5250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5251       conftest$ac_exeext conftest.$ac_ext
     5195  tcl_cv_cc_arch_x86_64=no
     5196fi
     5197rm -f core conftest.err conftest.$ac_objext \
     5198    conftest$ac_exeext conftest.$ac_ext
    52525199                            CFLAGS=$hold_cflags
    52535200fi
    5254 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    52555202$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    52565203                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    52595206                        fi;;
    52605207                    *)
    5261                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5208                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    52625209$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    52635210                esac
     
    52695216            fi
    52705217            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5271             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5218            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    52725219$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5273 if test "${tcl_cv_ld_single_module+set}" = set; then
     5220if ${tcl_cv_ld_single_module+:} false; then :
    52745221  $as_echo_n "(cached) " >&6
    52755222else
     
    52775224                hold_ldflags=$LDFLAGS
    52785225                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5279                 cat >conftest.$ac_ext <<_ACEOF
    5280 /* confdefs.h.  */
    5281 _ACEOF
    5282 cat confdefs.h >>conftest.$ac_ext
    5283 cat >>conftest.$ac_ext <<_ACEOF
     5226                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52845227/* end confdefs.h.  */
    52855228
     
    52925235}
    52935236_ACEOF
    5294 rm -f conftest.$ac_objext conftest$ac_exeext
    5295 if { (ac_try="$ac_link"
    5296 case "(($ac_try" in
    5297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5298   *) ac_try_echo=$ac_try;;
    5299 esac
    5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5301 $as_echo "$ac_try_echo") >&5
    5302   (eval "$ac_link") 2>conftest.er1
    5303   ac_status=$?
    5304   grep -v '^ *+' conftest.er1 >conftest.err
    5305   rm -f conftest.er1
    5306   cat conftest.err >&5
    5307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5308   (exit $ac_status); } && {
    5309          test -z "$ac_c_werror_flag" ||
    5310          test ! -s conftest.err
    5311        } && test -s conftest$ac_exeext && {
    5312          test "$cross_compiling" = yes ||
    5313          $as_test_x conftest$ac_exeext
    5314        }; then
     5237if ac_fn_c_try_link "$LINENO"; then :
    53155238  tcl_cv_ld_single_module=yes
    53165239else
    5317   $as_echo "$as_me: failed program was:" >&5
    5318 sed 's/^/| /' conftest.$ac_ext >&5
    5319 
    5320         tcl_cv_ld_single_module=no
    5321 fi
    5322 
    5323 rm -rf conftest.dSYM
    5324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5325       conftest$ac_exeext conftest.$ac_ext
     5240  tcl_cv_ld_single_module=no
     5241fi
     5242rm -f core conftest.err conftest.$ac_objext \
     5243    conftest$ac_exeext conftest.$ac_ext
    53265244                LDFLAGS=$hold_ldflags
    53275245fi
    5328 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    53295247$as_echo "$tcl_cv_ld_single_module" >&6; }
    53305248            if test $tcl_cv_ld_single_module = yes; then
     
    53405258                LDFLAGS="$LDFLAGS -prebind"
    53415259            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5342             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5260            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    53435261$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5344 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5262if ${tcl_cv_ld_search_paths_first+:} false; then :
    53455263  $as_echo_n "(cached) " >&6
    53465264else
     
    53485266                hold_ldflags=$LDFLAGS
    53495267                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5350                 cat >conftest.$ac_ext <<_ACEOF
    5351 /* confdefs.h.  */
    5352 _ACEOF
    5353 cat confdefs.h >>conftest.$ac_ext
    5354 cat >>conftest.$ac_ext <<_ACEOF
     5268                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53555269/* end confdefs.h.  */
    53565270
     
    53635277}
    53645278_ACEOF
    5365 rm -f conftest.$ac_objext conftest$ac_exeext
    5366 if { (ac_try="$ac_link"
    5367 case "(($ac_try" in
    5368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5369   *) ac_try_echo=$ac_try;;
    5370 esac
    5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5372 $as_echo "$ac_try_echo") >&5
    5373   (eval "$ac_link") 2>conftest.er1
    5374   ac_status=$?
    5375   grep -v '^ *+' conftest.er1 >conftest.err
    5376   rm -f conftest.er1
    5377   cat conftest.err >&5
    5378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5379   (exit $ac_status); } && {
    5380          test -z "$ac_c_werror_flag" ||
    5381          test ! -s conftest.err
    5382        } && test -s conftest$ac_exeext && {
    5383          test "$cross_compiling" = yes ||
    5384          $as_test_x conftest$ac_exeext
    5385        }; then
     5279if ac_fn_c_try_link "$LINENO"; then :
    53865280  tcl_cv_ld_search_paths_first=yes
    53875281else
    5388   $as_echo "$as_me: failed program was:" >&5
    5389 sed 's/^/| /' conftest.$ac_ext >&5
    5390 
    5391         tcl_cv_ld_search_paths_first=no
    5392 fi
    5393 
    5394 rm -rf conftest.dSYM
    5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5396       conftest$ac_exeext conftest.$ac_ext
     5282  tcl_cv_ld_search_paths_first=no
     5283fi
     5284rm -f core conftest.err conftest.$ac_objext \
     5285    conftest$ac_exeext conftest.$ac_ext
    53975286                LDFLAGS=$hold_ldflags
    53985287fi
    5399 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    54005289$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    54015290            if test $tcl_cv_ld_search_paths_first = yes; then
     
    54075296            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    54085297            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5409             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5298            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    54105299$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    54115300            # Check whether --enable-corefoundation was given.
    5412 if test "${enable_corefoundation+set}" = set; then
     5301if test "${enable_corefoundation+set}" = set; then :
    54135302  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    54145303else
     
    54165305fi
    54175306
    5418             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5307            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    54195308$as_echo "$tcl_corefoundation" >&6; }
    54205309            if test $tcl_corefoundation = yes; then
    5421                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5310                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    54225311$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5423 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5312if ${tcl_cv_lib_corefoundation+:} false; then :
    54245313  $as_echo_n "(cached) " >&6
    54255314else
     
    54335322                    done; fi
    54345323                    LIBS="$LIBS -framework CoreFoundation"
    5435                     cat >conftest.$ac_ext <<_ACEOF
    5436 /* confdefs.h.  */
    5437 _ACEOF
    5438 cat confdefs.h >>conftest.$ac_ext
    5439 cat >>conftest.$ac_ext <<_ACEOF
     5324                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54405325/* end confdefs.h.  */
    54415326#include <CoreFoundation/CoreFoundation.h>
     
    54485333}
    54495334_ACEOF
    5450 rm -f conftest.$ac_objext conftest$ac_exeext
    5451 if { (ac_try="$ac_link"
    5452 case "(($ac_try" in
    5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5454   *) ac_try_echo=$ac_try;;
    5455 esac
    5456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5457 $as_echo "$ac_try_echo") >&5
    5458   (eval "$ac_link") 2>conftest.er1
    5459   ac_status=$?
    5460   grep -v '^ *+' conftest.er1 >conftest.err
    5461   rm -f conftest.er1
    5462   cat conftest.err >&5
    5463   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5464   (exit $ac_status); } && {
    5465          test -z "$ac_c_werror_flag" ||
    5466          test ! -s conftest.err
    5467        } && test -s conftest$ac_exeext && {
    5468          test "$cross_compiling" = yes ||
    5469          $as_test_x conftest$ac_exeext
    5470        }; then
     5335if ac_fn_c_try_link "$LINENO"; then :
    54715336  tcl_cv_lib_corefoundation=yes
    54725337else
    5473   $as_echo "$as_me: failed program was:" >&5
    5474 sed 's/^/| /' conftest.$ac_ext >&5
    5475 
    5476         tcl_cv_lib_corefoundation=no
    5477 fi
    5478 
    5479 rm -rf conftest.dSYM
    5480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5481       conftest$ac_exeext conftest.$ac_ext
     5338  tcl_cv_lib_corefoundation=no
     5339fi
     5340rm -f core conftest.err conftest.$ac_objext \
     5341    conftest$ac_exeext conftest.$ac_ext
    54825342                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    54835343                        eval $v'="$hold_'$v'"'
    54845344                    done; fi; LIBS=$hold_libs
    54855345fi
    5486 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    54875347$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    54885348                if test $tcl_cv_lib_corefoundation = yes; then
    54895349                    LIBS="$LIBS -framework CoreFoundation"
    5490                     cat >>confdefs.h <<\_ACEOF
    5491 #define HAVE_COREFOUNDATION 1
    5492 _ACEOF
     5350                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    54935351
    54945352                else
     
    54965354                fi
    54975355                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5498                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5356                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    54995357$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5500 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5358if ${tcl_cv_lib_corefoundation_64+:} false; then :
    55015359  $as_echo_n "(cached) " >&6
    55025360else
     
    55055363                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    55065364                        done
    5507                         cat >conftest.$ac_ext <<_ACEOF
    5508 /* confdefs.h.  */
    5509 _ACEOF
    5510 cat confdefs.h >>conftest.$ac_ext
    5511 cat >>conftest.$ac_ext <<_ACEOF
     5365                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55125366/* end confdefs.h.  */
    55135367#include <CoreFoundation/CoreFoundation.h>
     
    55205374}
    55215375_ACEOF
    5522 rm -f conftest.$ac_objext conftest$ac_exeext
    5523 if { (ac_try="$ac_link"
    5524 case "(($ac_try" in
    5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5526   *) ac_try_echo=$ac_try;;
    5527 esac
    5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5529 $as_echo "$ac_try_echo") >&5
    5530   (eval "$ac_link") 2>conftest.er1
    5531   ac_status=$?
    5532   grep -v '^ *+' conftest.er1 >conftest.err
    5533   rm -f conftest.er1
    5534   cat conftest.err >&5
    5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5536   (exit $ac_status); } && {
    5537          test -z "$ac_c_werror_flag" ||
    5538          test ! -s conftest.err
    5539        } && test -s conftest$ac_exeext && {
    5540          test "$cross_compiling" = yes ||
    5541          $as_test_x conftest$ac_exeext
    5542        }; then
     5376if ac_fn_c_try_link "$LINENO"; then :
    55435377  tcl_cv_lib_corefoundation_64=yes
    55445378else
    5545   $as_echo "$as_me: failed program was:" >&5
    5546 sed 's/^/| /' conftest.$ac_ext >&5
    5547 
    5548         tcl_cv_lib_corefoundation_64=no
    5549 fi
    5550 
    5551 rm -rf conftest.dSYM
    5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5553       conftest$ac_exeext conftest.$ac_ext
     5379  tcl_cv_lib_corefoundation_64=no
     5380fi
     5381rm -f core conftest.err conftest.$ac_objext \
     5382    conftest$ac_exeext conftest.$ac_ext
    55545383                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    55555384                            eval $v'="$hold_'$v'"'
    55565385                        done
    55575386fi
    5558 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    55595388$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    55605389                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5561                         cat >>confdefs.h <<\_ACEOF
    5562 #define NO_COREFOUNDATION_64 1
    5563 _ACEOF
     5390                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    55645391
    55655392                    fi
    55665393                fi
    55675394            fi
    5568             cat >>confdefs.h <<\_ACEOF
    5569 #define MAC_OSX_TCL 1
    5570 _ACEOF
     5395            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    55715396
    55725397            ;;
     
    55835408        OS/390-*)
    55845409            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5585             cat >>confdefs.h <<\_ACEOF
    5586 #define _OE_SOCKETS 1
    5587 _ACEOF
     5410            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    55885411        # needed in sys/socket.h
    55895412            ;;
     
    57265549            # won't define thread-safe library routines.
    57275550
    5728             cat >>confdefs.h <<\_ACEOF
    5729 #define _REENTRANT 1
    5730 _ACEOF
    5731 
    5732             cat >>confdefs.h <<\_ACEOF
    5733 #define _POSIX_PTHREAD_SEMANTICS 1
    5734 _ACEOF
     5551            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5552
     5553            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    57355554
    57365555
     
    57585577            # won't define thread-safe library routines.
    57595578
    5760             cat >>confdefs.h <<\_ACEOF
    5761 #define _REENTRANT 1
    5762 _ACEOF
    5763 
    5764             cat >>confdefs.h <<\_ACEOF
    5765 #define _POSIX_PTHREAD_SEMANTICS 1
    5766 _ACEOF
     5579            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5580
     5581            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    57675582
    57685583
     
    57755590                        if test "$GCC" = "yes" ; then
    57765591                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5777                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5592                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    57785593$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    57795594                            else
     
    57975612                elif test "$arch" = "amd64 i386" ; then
    57985613                    if test "$GCC" = "yes" ; then
    5799                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5614                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    58005615$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    58015616                    else
     
    58055620                    fi
    58065621                else
    5807                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5622                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    58085623$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    58095624                fi
     
    58645679            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    58655680            # that don't grok the -Bexport option.  Test that it does.
    5866             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5681            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    58675682$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5868 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5683if ${tcl_cv_ld_Bexport+:} false; then :
    58695684  $as_echo_n "(cached) " >&6
    58705685else
     
    58725687                hold_ldflags=$LDFLAGS
    58735688                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5874                 cat >conftest.$ac_ext <<_ACEOF
    5875 /* confdefs.h.  */
    5876 _ACEOF
    5877 cat confdefs.h >>conftest.$ac_ext
    5878 cat >>conftest.$ac_ext <<_ACEOF
     5689                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58795690/* end confdefs.h.  */
    58805691
     
    58875698}
    58885699_ACEOF
    5889 rm -f conftest.$ac_objext conftest$ac_exeext
    5890 if { (ac_try="$ac_link"
    5891 case "(($ac_try" in
    5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5893   *) ac_try_echo=$ac_try;;
    5894 esac
    5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5896 $as_echo "$ac_try_echo") >&5
    5897   (eval "$ac_link") 2>conftest.er1
    5898   ac_status=$?
    5899   grep -v '^ *+' conftest.er1 >conftest.err
    5900   rm -f conftest.er1
    5901   cat conftest.err >&5
    5902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5903   (exit $ac_status); } && {
    5904          test -z "$ac_c_werror_flag" ||
    5905          test ! -s conftest.err
    5906        } && test -s conftest$ac_exeext && {
    5907          test "$cross_compiling" = yes ||
    5908          $as_test_x conftest$ac_exeext
    5909        }; then
     5700if ac_fn_c_try_link "$LINENO"; then :
    59105701  tcl_cv_ld_Bexport=yes
    59115702else
    5912   $as_echo "$as_me: failed program was:" >&5
    5913 sed 's/^/| /' conftest.$ac_ext >&5
    5914 
    5915         tcl_cv_ld_Bexport=no
    5916 fi
    5917 
    5918 rm -rf conftest.dSYM
    5919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5920       conftest$ac_exeext conftest.$ac_ext
     5703  tcl_cv_ld_Bexport=no
     5704fi
     5705rm -f core conftest.err conftest.$ac_objext \
     5706    conftest$ac_exeext conftest.$ac_ext
    59215707                LDFLAGS=$hold_ldflags
    59225708fi
    5923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    59245710$as_echo "$tcl_cv_ld_Bexport" >&6; }
    59255711            if test $tcl_cv_ld_Bexport = yes; then
     
    59325718
    59335719    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5934         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5720        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    59355721$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    59365722    fi
     
    59595745
    59605746    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5961         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5747        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    59625748$as_echo_n "checking sys/exec.h... " >&6; }
    5963 if test "${tcl_cv_sysexec_h+set}" = set; then
     5749if ${tcl_cv_sysexec_h+:} false; then :
    59645750  $as_echo_n "(cached) " >&6
    59655751else
    59665752
    5967         cat >conftest.$ac_ext <<_ACEOF
    5968 /* confdefs.h.  */
    5969 _ACEOF
    5970 cat confdefs.h >>conftest.$ac_ext
    5971 cat >>conftest.$ac_ext <<_ACEOF
     5753        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59725754/* end confdefs.h.  */
    59735755#include <sys/exec.h>
     
    59915773}
    59925774_ACEOF
    5993 rm -f conftest.$ac_objext
    5994 if { (ac_try="$ac_compile"
    5995 case "(($ac_try" in
    5996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5997   *) ac_try_echo=$ac_try;;
    5998 esac
    5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6000 $as_echo "$ac_try_echo") >&5
    6001   (eval "$ac_compile") 2>conftest.er1
    6002   ac_status=$?
    6003   grep -v '^ *+' conftest.er1 >conftest.err
    6004   rm -f conftest.er1
    6005   cat conftest.err >&5
    6006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6007   (exit $ac_status); } && {
    6008          test -z "$ac_c_werror_flag" ||
    6009          test ! -s conftest.err
    6010        } && test -s conftest.$ac_objext; then
     5775if ac_fn_c_try_compile "$LINENO"; then :
    60115776  tcl_cv_sysexec_h=usable
    60125777else
    6013   $as_echo "$as_me: failed program was:" >&5
    6014 sed 's/^/| /' conftest.$ac_ext >&5
    6015 
    6016         tcl_cv_sysexec_h=unusable
    6017 fi
    6018 
     5778  tcl_cv_sysexec_h=unusable
     5779fi
    60195780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60205781fi
    6021 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    60225783$as_echo "$tcl_cv_sysexec_h" >&6; }
    60235784        if test $tcl_cv_sysexec_h = usable; then
    6024             cat >>confdefs.h <<\_ACEOF
    6025 #define USE_SYS_EXEC_H 1
    6026 _ACEOF
     5785            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    60275786
    60285787        else
    6029             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5788            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    60305789$as_echo_n "checking a.out.h... " >&6; }
    6031 if test "${tcl_cv_aout_h+set}" = set; then
     5790if ${tcl_cv_aout_h+:} false; then :
    60325791  $as_echo_n "(cached) " >&6
    60335792else
    60345793
    6035             cat >conftest.$ac_ext <<_ACEOF
    6036 /* confdefs.h.  */
    6037 _ACEOF
    6038 cat confdefs.h >>conftest.$ac_ext
    6039 cat >>conftest.$ac_ext <<_ACEOF
     5794            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60405795/* end confdefs.h.  */
    60415796#include <a.out.h>
     
    60595814}
    60605815_ACEOF
    6061 rm -f conftest.$ac_objext
    6062 if { (ac_try="$ac_compile"
    6063 case "(($ac_try" in
    6064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6065   *) ac_try_echo=$ac_try;;
    6066 esac
    6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6068 $as_echo "$ac_try_echo") >&5
    6069   (eval "$ac_compile") 2>conftest.er1
    6070   ac_status=$?
    6071   grep -v '^ *+' conftest.er1 >conftest.err
    6072   rm -f conftest.er1
    6073   cat conftest.err >&5
    6074   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6075   (exit $ac_status); } && {
    6076          test -z "$ac_c_werror_flag" ||
    6077          test ! -s conftest.err
    6078        } && test -s conftest.$ac_objext; then
     5816if ac_fn_c_try_compile "$LINENO"; then :
    60795817  tcl_cv_aout_h=usable
    60805818else
    6081   $as_echo "$as_me: failed program was:" >&5
    6082 sed 's/^/| /' conftest.$ac_ext >&5
    6083 
    6084         tcl_cv_aout_h=unusable
    6085 fi
    6086 
     5819  tcl_cv_aout_h=unusable
     5820fi
    60875821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60885822fi
    6089 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    60905824$as_echo "$tcl_cv_aout_h" >&6; }
    60915825            if test $tcl_cv_aout_h = usable; then
    6092                 cat >>confdefs.h <<\_ACEOF
    6093 #define USE_A_OUT_H 1
    6094 _ACEOF
     5826                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    60955827
    60965828            else
    6097                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5829                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    60985830$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6099 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5831if ${tcl_cv_sysexecaout_h+:} false; then :
    61005832  $as_echo_n "(cached) " >&6
    61015833else
    61025834
    6103                 cat >conftest.$ac_ext <<_ACEOF
    6104 /* confdefs.h.  */
    6105 _ACEOF
    6106 cat confdefs.h >>conftest.$ac_ext
    6107 cat >>conftest.$ac_ext <<_ACEOF
     5835                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61085836/* end confdefs.h.  */
    61095837#include <sys/exec_aout.h>
     
    61275855}
    61285856_ACEOF
    6129 rm -f conftest.$ac_objext
    6130 if { (ac_try="$ac_compile"
    6131 case "(($ac_try" in
    6132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6133   *) ac_try_echo=$ac_try;;
    6134 esac
    6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6136 $as_echo "$ac_try_echo") >&5
    6137   (eval "$ac_compile") 2>conftest.er1
    6138   ac_status=$?
    6139   grep -v '^ *+' conftest.er1 >conftest.err
    6140   rm -f conftest.er1
    6141   cat conftest.err >&5
    6142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6143   (exit $ac_status); } && {
    6144          test -z "$ac_c_werror_flag" ||
    6145          test ! -s conftest.err
    6146        } && test -s conftest.$ac_objext; then
     5857if ac_fn_c_try_compile "$LINENO"; then :
    61475858  tcl_cv_sysexecaout_h=usable
    61485859else
    6149   $as_echo "$as_me: failed program was:" >&5
    6150 sed 's/^/| /' conftest.$ac_ext >&5
    6151 
    6152         tcl_cv_sysexecaout_h=unusable
    6153 fi
    6154 
     5860  tcl_cv_sysexecaout_h=unusable
     5861fi
    61555862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    61565863fi
    6157 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    61585865$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    61595866                if test $tcl_cv_sysexecaout_h = usable; then
    6160                     cat >>confdefs.h <<\_ACEOF
    6161 #define USE_SYS_EXEC_AOUT_H 1
    6162 _ACEOF
     5867                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    61635868
    61645869                else
     
    61725877
    61735878    # Check whether --enable-load was given.
    6174 if test "${enable_load+set}" = set; then
     5879if test "${enable_load+set}" = set; then :
    61755880  enableval=$enable_load; tcl_ok=$enableval
    61765881else
     
    62956000
    62966001
    6297 { $as_echo "$as_me:$LINENO: checking for X" >&5
     6002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    62986003$as_echo_n "checking for X... " >&6; }
    62996004
    63006005
    63016006# Check whether --with-x was given.
    6302 if test "${with_x+set}" = set; then
     6007if test "${with_x+set}" = set; then :
    63036008  withval=$with_x;
    63046009fi
     
    63106015else
    63116016  case $x_includes,$x_libraries in #(
    6312     *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
    6313 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
    6314    { (exit 1); exit 1; }; };; #(
    6315     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
     6017    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     6018    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
    63166019  $as_echo_n "(cached) " >&6
    63176020else
     
    63306033_ACEOF
    63316034  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6332     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     6035    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    63336036    for ac_var in incroot usrlibdir libdir; do
    63346037      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    63616064ac_x_header_dirs='
    63626065/usr/X11/include
     6066/usr/X11R7/include
    63636067/usr/X11R6/include
    63646068/usr/X11R5/include
     
    63666070
    63676071/usr/include/X11
     6072/usr/include/X11R7
    63686073/usr/include/X11R6
    63696074/usr/include/X11R5
     
    63716076
    63726077/usr/local/X11/include
     6078/usr/local/X11R7/include