Changeset 4467 for branches/1.3


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

Separate configure for nanovis

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

Legend:

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

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

    r3563 r4467  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.69 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     213do
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218         /*)
     219           for as_base in sh bash ksh sh5; do
     220             # Try only shells that exist, to save several forks.
     221             as_shell=$as_dir/$as_base
     222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229           done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     268  else
     269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     270$0: rappture@nanohub.org about your system, including any
     271$0: error possibly output before this message. Then install
     272$0: a modern shell, or manually run the script under such a
     273$0: shell if you do have one."
     274  fi
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334         X"$as_dir" : 'X\(//\)[^/]' \| \
     335         X"$as_dir" : 'X\(//\)$' \| \
     336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339            s//\1/
     340            q
     341          }
     342          /^X\(\/\/\)[^/].*/{
     343            s//\1/
     344            q
     345          }
     346          /^X\(\/\/\)$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\).*/{
     351            s//\1/
     352            q
     353          }
     354          s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
    137422if expr a : '\(a\)' >/dev/null 2>&1 &&
    138423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148433fi
    149434
    150 
    151 # Name of the executable.
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
    152441as_me=`$as_basename -- "$0" ||
    153442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169458          s/.*/./; q'`
    170459
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     460# Avoid depending upon Character Ranges.
     461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     464as_cr_digits='0123456789'
     465as_cr_alnum=$as_cr_Letters$as_cr_digits
     466
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460473  sed -n '
    461474    p
     
    474487    ' >$as_me.lineno &&
    475488  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    479495  # Don't try to exec as it changes $[0], causing all sort of problems
    480496  # (the dirname of $[0] is not the place where we might find the
     
    485501}
    486502
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494503ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     504case `echo -n x` in #(((((
    496505-n*)
    497   case `echo 'x\c'` in
     506  case `echo 'xy\c'` in
    498507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
    500511  esac;;
    501512*)
    502513  ECHO_N='-n';;
    503514esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510515
    511516rm -f conf$$ conf$$.exe conf$$.file
     
    522527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    525530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    527532  elif ln conf$$.file conf$$ 2>/dev/null; then
    528533    as_ln_s=ln
    529534  else
    530     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    531536  fi
    532537else
    533   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    534539fi
    535540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537542
    538543if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    540545else
    541546  test -d ./-p && rmdir ./-p
     
    543548fi
    544549
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    567552
    568553# Sed expression to map a string onto a valid CPP name.
     
    573558
    574559
    575 
    576 exec 7<&0 </dev/null 6>&1
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    577562
    578563# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580565# so uname gets run too.
    581566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592577MFLAGS=
    593578MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595579
    596580# Identity of this package.
     
    600584PACKAGE_STRING='vizservers 0.1'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    657642RP_DIR
    658643LD_RPATH
    659 CG_LIB_SPEC
    660 CG_INC_SPEC
    661 FFMPEG
    662644CXXCPP
    663645ac_ct_CXX
     
    735717prefix
    736718exec_prefix
     719PACKAGE_URL
    737720PACKAGE_BUGREPORT
    738721PACKAGE_STRING
     
    750733with_vtk_libs
    751734with_vtk
    752 with_ffmpeg
    753735with_python
    754736with_statsdir
     
    835817
    836818  case $ac_option in
    837   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    838   *)    ac_optarg=yes ;;
     819  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     820  *=)   ac_optarg= ;;
     821  *)    ac_optarg=yes ;;
    839822  esac
    840823
     
    881864    # Reject names that are not valid shell variable names.
    882865    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    883       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    884    { (exit 1); exit 1; }; }
     866      as_fn_error $? "invalid feature name: $ac_useropt"
    885867    ac_useropt_orig=$ac_useropt
    886868    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    908890    # Reject names that are not valid shell variable names.
    909891    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    910       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    911    { (exit 1); exit 1; }; }
     892      as_fn_error $? "invalid feature name: $ac_useropt"
    912893    ac_useropt_orig=$ac_useropt
    913894    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11131094    # Reject names that are not valid shell variable names.
    11141095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1115       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1116    { (exit 1); exit 1; }; }
     1096      as_fn_error $? "invalid package name: $ac_useropt"
    11171097    ac_useropt_orig=$ac_useropt
    11181098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11301110    # Reject names that are not valid shell variable names.
    11311111    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1132       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1133    { (exit 1); exit 1; }; }
     1112      as_fn_error $? "invalid package name: $ac_useropt"
    11341113    ac_useropt_orig=$ac_useropt
    11351114    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11611140    x_libraries=$ac_optarg ;;
    11621141
    1163   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1164 Try \`$0 --help' for more information." >&2
    1165    { (exit 1); exit 1; }; }
     1142  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1143Try \`$0 --help' for more information"
    11661144    ;;
    11671145
     
    11691147    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11701148    # Reject names that are not valid shell variable names.
    1171     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1172       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1173    { (exit 1); exit 1; }; }
     1149    case $ac_envvar in #(
     1150      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1151      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1152    esac
    11741153    eval $ac_envvar=\$ac_optarg
    11751154    export $ac_envvar ;;
     
    11801159    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11811160      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1182     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1161    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11831162    ;;
    11841163
     
    11881167if test -n "$ac_prev"; then
    11891168  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1190   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1191    { (exit 1); exit 1; }; }
     1169  as_fn_error $? "missing argument to $ac_option"
    11921170fi
    11931171
     
    11951173  case $enable_option_checking in
    11961174    no) ;;
    1197     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1198    { (exit 1); exit 1; }; } ;;
     1175    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11991176    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12001177  esac
     
    12191196    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12201197  esac
    1221   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1222    { (exit 1); exit 1; }; }
     1198  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12231199done
    12241200
     
    12341210  if test "x$build_alias" = x; then
    12351211    cross_compiling=maybe
    1236     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1237     If a cross compiler is detected then cross compile mode will be used." >&2
    12381212  elif test "x$build_alias" != "x$host_alias"; then
    12391213    cross_compiling=yes
     
    12501224ac_ls_di=`ls -di .` &&
    12511225ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1252   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1253    { (exit 1); exit 1; }; }
     1226  as_fn_error $? "working directory cannot be determined"
    12541227test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1255   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1256    { (exit 1); exit 1; }; }
     1228  as_fn_error $? "pwd does not report name of working directory"
    12571229
    12581230
     
    12931265if test ! -r "$srcdir/$ac_unique_file"; then
    12941266  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1295   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1296    { (exit 1); exit 1; }; }
     1267  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12971268fi
    12981269ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12991270ac_abs_confdir=`(
    1300         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1301    { (exit 1); exit 1; }; }
     1271        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13021272        pwd)`
    13031273# When building in place, set srcdir=.
     
    13391309      --help=recursive    display the short help of all the included packages
    13401310  -V, --version           display version information and exit
    1341   -q, --quiet, --silent   do not print \`checking...' messages
     1311  -q, --quiet, --silent   do not print \`checking ...' messages
    13421312      --cache-file=FILE   cache test results in FILE [disabled]
    13431313  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14131383  --with-vtk-libs=DIR     VTK libraries are in DIR
    14141384  --with-vtk=VERSION      Version of VTK required
    1415   --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    14161385  --with-python=DIR       location of python [default=yes]
    14171386  --with-statsdir=DIR     Write statics in DIR
     
    14241393              nonstandard directory <lib dir>
    14251394  LIBS        libraries to pass to the linker, e.g. -l<library>
    1426   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1395  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14271396              you have headers in a nonstandard directory <include dir>
    14281397  CPP         C preprocessor
     
    14991468  cat <<\_ACEOF
    15001469vizservers configure 0.1
    1501 generated by GNU Autoconf 2.63
    1502 
    1503 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1504 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1470generated by GNU Autoconf 2.69
     1471
     1472Copyright (C) 2012 Free Software Foundation, Inc.
    15051473This configure script is free software; the Free Software Foundation
    15061474gives unlimited permission to copy, distribute and modify it.
     
    15081476  exit
    15091477fi
     1478
     1479## ------------------------ ##
     1480## Autoconf initialization. ##
     1481## ------------------------ ##
     1482
     1483# ac_fn_c_try_compile LINENO
     1484# --------------------------
     1485# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1486ac_fn_c_try_compile ()
     1487{
     1488  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1489  rm -f conftest.$ac_objext
     1490  if { { ac_try="$ac_compile"
     1491case "(($ac_try" in
     1492  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1493  *) ac_try_echo=$ac_try;;
     1494esac
     1495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1496$as_echo "$ac_try_echo"; } >&5
     1497  (eval "$ac_compile") 2>conftest.err
     1498  ac_status=$?
     1499  if test -s conftest.err; then
     1500    grep -v '^ *+' conftest.err >conftest.er1
     1501    cat conftest.er1 >&5
     1502    mv -f conftest.er1 conftest.err
     1503  fi
     1504  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1505  test $ac_status = 0; } && {
     1506         test -z "$ac_c_werror_flag" ||
     1507         test ! -s conftest.err
     1508       } && test -s conftest.$ac_objext; then :
     1509  ac_retval=0
     1510else
     1511  $as_echo "$as_me: failed program was:" >&5
     1512sed 's/^/| /' conftest.$ac_ext >&5
     1513
     1514        ac_retval=1
     1515fi
     1516  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1517  as_fn_set_status $ac_retval
     1518
     1519} # ac_fn_c_try_compile
     1520
     1521# ac_fn_c_try_cpp LINENO
     1522# ----------------------
     1523# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1524ac_fn_c_try_cpp ()
     1525{
     1526  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1527  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1528case "(($ac_try" in
     1529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1530  *) ac_try_echo=$ac_try;;
     1531esac
     1532eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1533$as_echo "$ac_try_echo"; } >&5
     1534  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1535  ac_status=$?
     1536  if test -s conftest.err; then
     1537    grep -v '^ *+' conftest.err >conftest.er1
     1538    cat conftest.er1 >&5
     1539    mv -f conftest.er1 conftest.err
     1540  fi
     1541  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1542  test $ac_status = 0; } > conftest.i && {
     1543         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1544         test ! -s conftest.err
     1545       }; then :
     1546  ac_retval=0
     1547else
     1548  $as_echo "$as_me: failed program was:" >&5
     1549sed 's/^/| /' conftest.$ac_ext >&5
     1550
     1551    ac_retval=1
     1552fi
     1553  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1554  as_fn_set_status $ac_retval
     1555
     1556} # ac_fn_c_try_cpp
     1557
     1558# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1559# -------------------------------------------------------
     1560# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1561# the include files in INCLUDES and setting the cache variable VAR
     1562# accordingly.
     1563ac_fn_c_check_header_mongrel ()
     1564{
     1565  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1566  if eval \${$3+:} false; then :
     1567  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1568$as_echo_n "checking for $2... " >&6; }
     1569if eval \${$3+:} false; then :
     1570  $as_echo_n "(cached) " >&6
     1571fi
     1572eval ac_res=\$$3
     1573               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1574$as_echo "$ac_res" >&6; }
     1575else
     1576  # Is the header compilable?
     1577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1578$as_echo_n "checking $2 usability... " >&6; }
     1579cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1580/* end confdefs.h.  */
     1581$4
     1582#include <$2>
     1583_ACEOF
     1584if ac_fn_c_try_compile "$LINENO"; then :
     1585  ac_header_compiler=yes
     1586else
     1587  ac_header_compiler=no
     1588fi
     1589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1591$as_echo "$ac_header_compiler" >&6; }
     1592
     1593# Is the header present?
     1594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1595$as_echo_n "checking $2 presence... " >&6; }
     1596cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1597/* end confdefs.h.  */
     1598#include <$2>
     1599_ACEOF
     1600if ac_fn_c_try_cpp "$LINENO"; then :
     1601  ac_header_preproc=yes
     1602else
     1603  ac_header_preproc=no
     1604fi
     1605rm -f conftest.err conftest.i conftest.$ac_ext
     1606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1607$as_echo "$ac_header_preproc" >&6; }
     1608
     1609# So?  What about this header?
     1610case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1611  yes:no: )
     1612    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1613$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1614    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1615$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1616    ;;
     1617  no:yes:* )
     1618    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1619$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1621$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1622    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1623$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1625$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1627$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1628( $as_echo "## ----------------------------------- ##
     1629## Report this to rappture@nanohub.org ##
     1630## ----------------------------------- ##"
     1631     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1632    ;;
     1633esac
     1634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1635$as_echo_n "checking for $2... " >&6; }
     1636if eval \${$3+:} false; then :
     1637  $as_echo_n "(cached) " >&6
     1638else
     1639  eval "$3=\$ac_header_compiler"
     1640fi
     1641eval ac_res=\$$3
     1642               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1643$as_echo "$ac_res" >&6; }
     1644fi
     1645  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1646
     1647} # ac_fn_c_check_header_mongrel
     1648
     1649# ac_fn_c_try_run LINENO
     1650# ----------------------
     1651# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1652# that executables *can* be run.
     1653ac_fn_c_try_run ()
     1654{
     1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1656  if { { ac_try="$ac_link"
     1657case "(($ac_try" in
     1658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1659  *) ac_try_echo=$ac_try;;
     1660esac
     1661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1662$as_echo "$ac_try_echo"; } >&5
     1663  (eval "$ac_link") 2>&5
     1664  ac_status=$?
     1665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1666  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1667  { { case "(($ac_try" in
     1668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1669  *) ac_try_echo=$ac_try;;
     1670esac
     1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1672$as_echo "$ac_try_echo"; } >&5
     1673  (eval "$ac_try") 2>&5
     1674  ac_status=$?
     1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1676  test $ac_status = 0; }; }; then :
     1677  ac_retval=0
     1678else
     1679  $as_echo "$as_me: program exited with status $ac_status" >&5
     1680       $as_echo "$as_me: failed program was:" >&5
     1681sed 's/^/| /' conftest.$ac_ext >&5
     1682
     1683       ac_retval=$ac_status
     1684fi
     1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1687  as_fn_set_status $ac_retval
     1688
     1689} # ac_fn_c_try_run
     1690
     1691# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1692# -------------------------------------------------------
     1693# Tests whether HEADER exists and can be compiled using the include files in
     1694# INCLUDES, setting the cache variable VAR accordingly.
     1695ac_fn_c_check_header_compile ()
     1696{
     1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1699$as_echo_n "checking for $2... " >&6; }
     1700if eval \${$3+:} false; then :
     1701  $as_echo_n "(cached) " >&6
     1702else
     1703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1704/* end confdefs.h.  */
     1705$4
     1706#include <$2>
     1707_ACEOF
     1708if ac_fn_c_try_compile "$LINENO"; then :
     1709  eval "$3=yes"
     1710else
     1711  eval "$3=no"
     1712fi
     1713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1714fi
     1715eval ac_res=\$$3
     1716               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1717$as_echo "$ac_res" >&6; }
     1718  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1719
     1720} # ac_fn_c_check_header_compile
     1721
     1722# ac_fn_c_try_link LINENO
     1723# -----------------------
     1724# Try to link conftest.$ac_ext, and return whether this succeeded.
     1725ac_fn_c_try_link ()
     1726{
     1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1728  rm -f conftest.$ac_objext conftest$ac_exeext
     1729  if { { ac_try="$ac_link"
     1730case "(($ac_try" in
     1731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1732  *) ac_try_echo=$ac_try;;
     1733esac
     1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1735$as_echo "$ac_try_echo"; } >&5
     1736  (eval "$ac_link") 2>conftest.err
     1737  ac_status=$?
     1738  if test -s conftest.err; then
     1739    grep -v '^ *+' conftest.err >conftest.er1
     1740    cat conftest.er1 >&5
     1741    mv -f conftest.er1 conftest.err
     1742  fi
     1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1744  test $ac_status = 0; } && {
     1745         test -z "$ac_c_werror_flag" ||
     1746         test ! -s conftest.err
     1747       } && test -s conftest$ac_exeext && {
     1748         test "$cross_compiling" = yes ||
     1749         test -x conftest$ac_exeext
     1750       }; then :
     1751  ac_retval=0
     1752else
     1753  $as_echo "$as_me: failed program was:" >&5
     1754sed 's/^/| /' conftest.$ac_ext >&5
     1755
     1756        ac_retval=1
     1757fi
     1758  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1759  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1760  # interfere with the next link command; also delete a directory that is
     1761  # left behind by Apple's compiler.  We do this before executing the actions.
     1762  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1763  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1764  as_fn_set_status $ac_retval
     1765
     1766} # ac_fn_c_try_link
     1767
     1768# ac_fn_cxx_try_compile LINENO
     1769# ----------------------------
     1770# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1771ac_fn_cxx_try_compile ()
     1772{
     1773  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1774  rm -f conftest.$ac_objext
     1775  if { { ac_try="$ac_compile"
     1776case "(($ac_try" in
     1777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1778  *) ac_try_echo=$ac_try;;
     1779esac
     1780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1781$as_echo "$ac_try_echo"; } >&5
     1782  (eval "$ac_compile") 2>conftest.err
     1783  ac_status=$?
     1784  if test -s conftest.err; then
     1785    grep -v '^ *+' conftest.err >conftest.er1
     1786    cat conftest.er1 >&5
     1787    mv -f conftest.er1 conftest.err
     1788  fi
     1789  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1790  test $ac_status = 0; } && {
     1791         test -z "$ac_cxx_werror_flag" ||
     1792         test ! -s conftest.err
     1793       } && test -s conftest.$ac_objext; then :
     1794  ac_retval=0
     1795else
     1796  $as_echo "$as_me: failed program was:" >&5
     1797sed 's/^/| /' conftest.$ac_ext >&5
     1798
     1799        ac_retval=1
     1800fi
     1801  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1802  as_fn_set_status $ac_retval
     1803
     1804} # ac_fn_cxx_try_compile
     1805
     1806# ac_fn_cxx_try_cpp LINENO
     1807# ------------------------
     1808# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1809ac_fn_cxx_try_cpp ()
     1810{
     1811  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1812  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1813case "(($ac_try" in
     1814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1815  *) ac_try_echo=$ac_try;;
     1816esac
     1817eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1818$as_echo "$ac_try_echo"; } >&5
     1819  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1820  ac_status=$?
     1821  if test -s conftest.err; then
     1822    grep -v '^ *+' conftest.err >conftest.er1
     1823    cat conftest.er1 >&5
     1824    mv -f conftest.er1 conftest.err
     1825  fi
     1826  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1827  test $ac_status = 0; } > conftest.i && {
     1828         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1829         test ! -s conftest.err
     1830       }; then :
     1831  ac_retval=0
     1832else
     1833  $as_echo "$as_me: failed program was:" >&5
     1834sed 's/^/| /' conftest.$ac_ext >&5
     1835
     1836    ac_retval=1
     1837fi
     1838  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1839  as_fn_set_status $ac_retval
     1840
     1841} # ac_fn_cxx_try_cpp
     1842
     1843# ac_fn_cxx_try_run LINENO
     1844# ------------------------
     1845# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1846# that executables *can* be run.
     1847ac_fn_cxx_try_run ()
     1848{
     1849  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1850  if { { ac_try="$ac_link"
     1851case "(($ac_try" in
     1852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1853  *) ac_try_echo=$ac_try;;
     1854esac
     1855eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1856$as_echo "$ac_try_echo"; } >&5
     1857  (eval "$ac_link") 2>&5
     1858  ac_status=$?
     1859  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1860  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1861  { { case "(($ac_try" in
     1862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1863  *) ac_try_echo=$ac_try;;
     1864esac
     1865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1866$as_echo "$ac_try_echo"; } >&5
     1867  (eval "$ac_try") 2>&5
     1868  ac_status=$?
     1869  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1870  test $ac_status = 0; }; }; then :
     1871  ac_retval=0
     1872else
     1873  $as_echo "$as_me: program exited with status $ac_status" >&5
     1874       $as_echo "$as_me: failed program was:" >&5
     1875sed 's/^/| /' conftest.$ac_ext >&5
     1876
     1877       ac_retval=$ac_status
     1878fi
     1879  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1880  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1881  as_fn_set_status $ac_retval
     1882
     1883} # ac_fn_cxx_try_run
     1884
     1885# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1886# ----------------------------------------------
     1887# Tries to find the compile-time value of EXPR in a program that includes
     1888# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1889# computed
     1890ac_fn_cxx_compute_int ()
     1891{
     1892  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1893  if test "$cross_compiling" = yes; then
     1894    # Depending upon the size, compute the lo and hi bounds.
     1895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1896/* end confdefs.h.  */
     1897$4
     1898int
     1899main ()
     1900{
     1901static int test_array [1 - 2 * !(($2) >= 0)];
     1902test_array [0] = 0;
     1903return test_array [0];
     1904
     1905  ;
     1906  return 0;
     1907}
     1908_ACEOF
     1909if ac_fn_cxx_try_compile "$LINENO"; then :
     1910  ac_lo=0 ac_mid=0
     1911  while :; do
     1912    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1913/* end confdefs.h.  */
     1914$4
     1915int
     1916main ()
     1917{
     1918static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1919test_array [0] = 0;
     1920return test_array [0];
     1921
     1922  ;
     1923  return 0;
     1924}
     1925_ACEOF
     1926if ac_fn_cxx_try_compile "$LINENO"; then :
     1927  ac_hi=$ac_mid; break
     1928else
     1929  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1930                        if test $ac_lo -le $ac_mid; then
     1931                          ac_lo= ac_hi=
     1932                          break
     1933                        fi
     1934                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1935fi
     1936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1937  done
     1938else
     1939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1940/* end confdefs.h.  */
     1941$4
     1942int
     1943main ()
     1944{
     1945static int test_array [1 - 2 * !(($2) < 0)];
     1946test_array [0] = 0;
     1947return test_array [0];
     1948
     1949  ;
     1950  return 0;
     1951}
     1952_ACEOF
     1953if ac_fn_cxx_try_compile "$LINENO"; then :
     1954  ac_hi=-1 ac_mid=-1
     1955  while :; do
     1956    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1957/* end confdefs.h.  */
     1958$4
     1959int
     1960main ()
     1961{
     1962static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1963test_array [0] = 0;
     1964return test_array [0];
     1965
     1966  ;
     1967  return 0;
     1968}
     1969_ACEOF
     1970if ac_fn_cxx_try_compile "$LINENO"; then :
     1971  ac_lo=$ac_mid; break
     1972else
     1973  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1974                        if test $ac_mid -le $ac_hi; then
     1975                          ac_lo= ac_hi=
     1976                          break
     1977                        fi
     1978                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1979fi
     1980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1981  done
     1982else
     1983  ac_lo= ac_hi=
     1984fi
     1985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1986fi
     1987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1988# Binary search between lo and hi bounds.
     1989while test "x$ac_lo" != "x$ac_hi"; do
     1990  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1992/* end confdefs.h.  */
     1993$4
     1994int
     1995main ()
     1996{
     1997static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1998test_array [0] = 0;
     1999return test_array [0];
     2000
     2001  ;
     2002  return 0;
     2003}
     2004_ACEOF
     2005if ac_fn_cxx_try_compile "$LINENO"; then :
     2006  ac_hi=$ac_mid
     2007else
     2008  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2009fi
     2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2011done
     2012case $ac_lo in #((
     2013?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2014'') ac_retval=1 ;;
     2015esac
     2016  else
     2017    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2018/* end confdefs.h.  */
     2019$4
     2020static long int longval () { return $2; }
     2021static unsigned long int ulongval () { return $2; }
     2022#include <stdio.h>
     2023#include <stdlib.h>
     2024int
     2025main ()
     2026{
     2027
     2028  FILE *f = fopen ("conftest.val", "w");
     2029  if (! f)
     2030    return 1;
     2031  if (($2) < 0)
     2032    {
     2033      long int i = longval ();
     2034      if (i != ($2))
     2035        return 1;
     2036      fprintf (f, "%ld", i);
     2037    }
     2038  else
     2039    {
     2040      unsigned long int i = ulongval ();
     2041      if (i != ($2))
     2042        return 1;
     2043      fprintf (f, "%lu", i);
     2044    }
     2045  /* Do not output a trailing newline, as this causes \r\n confusion
     2046     on some platforms.  */
     2047  return ferror (f) || fclose (f) != 0;
     2048
     2049  ;
     2050  return 0;
     2051}
     2052_ACEOF
     2053if ac_fn_cxx_try_run "$LINENO"; then :
     2054  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2055else
     2056  ac_retval=1
     2057fi
     2058rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2059  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2060rm -f conftest.val
     2061
     2062  fi
     2063  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2064  as_fn_set_status $ac_retval
     2065
     2066} # ac_fn_cxx_compute_int
     2067
     2068# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2069# ---------------------------------------------------------
     2070# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2071# the include files in INCLUDES and setting the cache variable VAR
     2072# accordingly.
     2073ac_fn_cxx_check_header_mongrel ()
     2074{
     2075  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2076  if eval \${$3+:} false; then :
     2077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2078$as_echo_n "checking for $2... " >&6; }
     2079if eval \${$3+:} false; then :
     2080  $as_echo_n "(cached) " >&6
     2081fi
     2082eval ac_res=\$$3
     2083               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2084$as_echo "$ac_res" >&6; }
     2085else
     2086  # Is the header compilable?
     2087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2088$as_echo_n "checking $2 usability... " >&6; }
     2089cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2090/* end confdefs.h.  */
     2091$4
     2092#include <$2>
     2093_ACEOF
     2094if ac_fn_cxx_try_compile "$LINENO"; then :
     2095  ac_header_compiler=yes
     2096else
     2097  ac_header_compiler=no
     2098fi
     2099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2101$as_echo "$ac_header_compiler" >&6; }
     2102
     2103# Is the header present?
     2104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2105$as_echo_n "checking $2 presence... " >&6; }
     2106cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2107/* end confdefs.h.  */
     2108#include <$2>
     2109_ACEOF
     2110if ac_fn_cxx_try_cpp "$LINENO"; then :
     2111  ac_header_preproc=yes
     2112else
     2113  ac_header_preproc=no
     2114fi
     2115rm -f conftest.err conftest.i conftest.$ac_ext
     2116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2117$as_echo "$ac_header_preproc" >&6; }
     2118
     2119# So?  What about this header?
     2120case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2121  yes:no: )
     2122    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2123$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2124    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2125$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2126    ;;
     2127  no:yes:* )
     2128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2129$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2131$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2132    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2133$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2134    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2135$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2137$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2138( $as_echo "## ----------------------------------- ##
     2139## Report this to rappture@nanohub.org ##
     2140## ----------------------------------- ##"
     2141     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2142    ;;
     2143esac
     2144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2145$as_echo_n "checking for $2... " >&6; }
     2146if eval \${$3+:} false; then :
     2147  $as_echo_n "(cached) " >&6
     2148else
     2149  eval "$3=\$ac_header_compiler"
     2150fi
     2151eval ac_res=\$$3
     2152               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2153$as_echo "$ac_res" >&6; }
     2154fi
     2155  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2156
     2157} # ac_fn_cxx_check_header_mongrel
     2158
     2159# ac_fn_cxx_try_link LINENO
     2160# -------------------------
     2161# Try to link conftest.$ac_ext, and return whether this succeeded.
     2162ac_fn_cxx_try_link ()
     2163{
     2164  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2165  rm -f conftest.$ac_objext conftest$ac_exeext
     2166  if { { ac_try="$ac_link"
     2167case "(($ac_try" in
     2168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2169  *) ac_try_echo=$ac_try;;
     2170esac
     2171eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2172$as_echo "$ac_try_echo"; } >&5
     2173  (eval "$ac_link") 2>conftest.err
     2174  ac_status=$?
     2175  if test -s conftest.err; then
     2176    grep -v '^ *+' conftest.err >conftest.er1
     2177    cat conftest.er1 >&5
     2178    mv -f conftest.er1 conftest.err
     2179  fi
     2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2181  test $ac_status = 0; } && {
     2182         test -z "$ac_cxx_werror_flag" ||
     2183         test ! -s conftest.err
     2184       } && test -s conftest$ac_exeext && {
     2185         test "$cross_compiling" = yes ||
     2186         test -x conftest$ac_exeext
     2187       }; then :
     2188  ac_retval=0
     2189else
     2190  $as_echo "$as_me: failed program was:" >&5
     2191sed 's/^/| /' conftest.$ac_ext >&5
     2192
     2193        ac_retval=1
     2194fi
     2195  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2196  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2197  # interfere with the next link command; also delete a directory that is
     2198  # left behind by Apple's compiler.  We do this before executing the actions.
     2199  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2200  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2201  as_fn_set_status $ac_retval
     2202
     2203} # ac_fn_cxx_try_link
     2204
     2205# ac_fn_cxx_check_func LINENO FUNC VAR
     2206# ------------------------------------
     2207# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2208ac_fn_cxx_check_func ()
     2209{
     2210  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2211  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2212$as_echo_n "checking for $2... " >&6; }
     2213if eval \${$3+:} false; then :
     2214  $as_echo_n "(cached) " >&6
     2215else
     2216  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2217/* end confdefs.h.  */
     2218/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2219   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2220#define $2 innocuous_$2
     2221
     2222/* System header to define __stub macros and hopefully few prototypes,
     2223    which can conflict with char $2 (); below.
     2224    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2225    <limits.h> exists even on freestanding compilers.  */
     2226
     2227#ifdef __STDC__
     2228# include <limits.h>
     2229#else
     2230# include <assert.h>
     2231#endif
     2232
     2233#undef $2
     2234
     2235/* Override any GCC internal prototype to avoid an error.
     2236   Use char because int might match the return type of a GCC
     2237   builtin and then its argument prototype would still apply.  */
     2238#ifdef __cplusplus
     2239extern "C"
     2240#endif
     2241char $2 ();
     2242/* The GNU C library defines this for functions which it implements
     2243    to always fail with ENOSYS.  Some functions are actually named
     2244    something starting with __ and the normal name is an alias.  */
     2245#if defined __stub_$2 || defined __stub___$2
     2246choke me
     2247#endif
     2248
     2249int
     2250main ()
     2251{
     2252return $2 ();
     2253  ;
     2254  return 0;
     2255}
     2256_ACEOF
     2257if ac_fn_cxx_try_link "$LINENO"; then :
     2258  eval "$3=yes"
     2259else
     2260  eval "$3=no"
     2261fi
     2262rm -f core conftest.err conftest.$ac_objext \
     2263    conftest$ac_exeext conftest.$ac_ext
     2264fi
     2265eval ac_res=\$$3
     2266               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2267$as_echo "$ac_res" >&6; }
     2268  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2269
     2270} # ac_fn_cxx_check_func
    15102271cat >config.log <<_ACEOF
    15112272This file contains any messages produced by compilers while
     
    15132274
    15142275It was created by vizservers $as_me 0.1, which was
    1515 generated by GNU Autoconf 2.63.  Invocation command line was
     2276generated by GNU Autoconf 2.69.  Invocation command line was
    15162277
    15172278  $ $0 $@
     
    15492310  IFS=$as_save_IFS
    15502311  test -z "$as_dir" && as_dir=.
    1551   $as_echo "PATH: $as_dir"
    1552 done
     2312    $as_echo "PATH: $as_dir"
     2313  done
    15532314IFS=$as_save_IFS
    15542315
     
    15872348    esac
    15882349    case $ac_pass in
    1589     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2350    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15902351    2)
    1591       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2352      as_fn_append ac_configure_args1 " '$ac_arg'"
    15922353      if test $ac_must_keep_next = true; then
    15932354        ac_must_keep_next=false # Got value, back to normal.
     
    16052366        esac
    16062367      fi
    1607       ac_configure_args="$ac_configure_args '$ac_arg'"
     2368      as_fn_append ac_configure_args " '$ac_arg'"
    16082369      ;;
    16092370    esac
    16102371  done
    16112372done
    1612 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1613 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2373{ ac_configure_args0=; unset ac_configure_args0;}
     2374{ ac_configure_args1=; unset ac_configure_args1;}
    16142375
    16152376# When interrupted or exit'd, cleanup temporary files, and complete
     
    16232384    echo
    16242385
    1625     cat <<\_ASBOX
    1626 ## ---------------- ##
     2386    $as_echo "## ---------------- ##
    16272387## Cache variables. ##
    1628 ## ---------------- ##
    1629 _ASBOX
     2388## ---------------- ##"
    16302389    echo
    16312390    # The following way of writing the cache mishandles newlines in values,
     
    16362395    *${as_nl}*)
    16372396      case $ac_var in #(
    1638       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2397      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16392398$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16402399      esac
     
    16422401      _ | IFS | as_nl) ;; #(
    16432402      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1644       *) $as_unset $ac_var ;;
     2403      *) { eval $ac_var=; unset $ac_var;} ;;
    16452404      esac ;;
    16462405    esac
     
    16612420    echo
    16622421
    1663     cat <<\_ASBOX
    1664 ## ----------------- ##
     2422    $as_echo "## ----------------- ##
    16652423## Output variables. ##
    1666 ## ----------------- ##
    1667 _ASBOX
     2424## ----------------- ##"
    16682425    echo
    16692426    for ac_var in $ac_subst_vars
     
    16782435
    16792436    if test -n "$ac_subst_files"; then
    1680       cat <<\_ASBOX
    1681 ## ------------------- ##
     2437      $as_echo "## ------------------- ##
    16822438## File substitutions. ##
    1683 ## ------------------- ##
    1684 _ASBOX
     2439## ------------------- ##"
    16852440      echo
    16862441      for ac_var in $ac_subst_files
     
    16962451
    16972452    if test -s confdefs.h; then
    1698       cat <<\_ASBOX
    1699 ## ----------- ##
     2453      $as_echo "## ----------- ##
    17002454## confdefs.h. ##
    1701 ## ----------- ##
    1702 _ASBOX
     2455## ----------- ##"
    17032456      echo
    17042457      cat confdefs.h
     
    17142467' 0
    17152468for ac_signal in 1 2 13 15; do
    1716   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2469  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17172470done
    17182471ac_signal=0
     
    17212474rm -f -r conftest* confdefs.h
    17222475
     2476$as_echo "/* confdefs.h */" > confdefs.h
     2477
    17232478# Predefined preprocessor variables.
    17242479
     
    17272482_ACEOF
    17282483
    1729 
    17302484cat >>confdefs.h <<_ACEOF
    17312485#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17322486_ACEOF
    17332487
    1734 
    17352488cat >>confdefs.h <<_ACEOF
    17362489#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17372490_ACEOF
    17382491
    1739 
    17402492cat >>confdefs.h <<_ACEOF
    17412493#define PACKAGE_STRING "$PACKAGE_STRING"
    17422494_ACEOF
    17432495
    1744 
    17452496cat >>confdefs.h <<_ACEOF
    17462497#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2498_ACEOF
     2499
     2500cat >>confdefs.h <<_ACEOF
     2501#define PACKAGE_URL "$PACKAGE_URL"
    17472502_ACEOF
    17482503
     
    17532508ac_site_file2=NONE
    17542509if test -n "$CONFIG_SITE"; then
    1755   ac_site_file1=$CONFIG_SITE
     2510  # We do not want a PATH search for config.site.
     2511  case $CONFIG_SITE in #((
     2512    -*)  ac_site_file1=./$CONFIG_SITE;;
     2513    */*) ac_site_file1=$CONFIG_SITE;;
     2514    *)   ac_site_file1=./$CONFIG_SITE;;
     2515  esac
    17562516elif test "x$prefix" != xNONE; then
    17572517  ac_site_file1=$prefix/share/config.site
     
    17642524do
    17652525  test "x$ac_site_file" = xNONE && continue
    1766   if test -r "$ac_site_file"; then
    1767     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2526  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2527    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17682528$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17692529    sed 's/^/| /' "$ac_site_file" >&5
    1770     . "$ac_site_file"
     2530    . "$ac_site_file" \
     2531      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2532$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2533as_fn_error $? "failed to load site script $ac_site_file
     2534See \`config.log' for more details" "$LINENO" 5; }
    17712535  fi
    17722536done
    17732537
    17742538if test -r "$cache_file"; then
    1775   # Some versions of bash will fail to source /dev/null (special
    1776   # files actually), so we avoid doing that.
    1777   if test -f "$cache_file"; then
    1778     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2539  # Some versions of bash will fail to source /dev/null (special files
     2540  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2541  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2542    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17792543$as_echo "$as_me: loading cache $cache_file" >&6;}
    17802544    case $cache_file in
     
    17842548  fi
    17852549else
    1786   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2550  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17872551$as_echo "$as_me: creating cache $cache_file" >&6;}
    17882552  >$cache_file
     
    17992563  case $ac_old_set,$ac_new_set in
    18002564    set,)
    1801       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2565      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18022566$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18032567      ac_cache_corrupted=: ;;
    18042568    ,set)
    1805       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2569      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18062570$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18072571      ac_cache_corrupted=: ;;
     
    18132577        ac_new_val_w=`echo x $ac_new_val`
    18142578        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1815           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2579          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18162580$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18172581          ac_cache_corrupted=:
    18182582        else
    1819           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2583          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18202584$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18212585          eval $ac_var=\$ac_old_val
    18222586        fi
    1823         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2587        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18242588$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1825         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2589        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18262590$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18272591      fi;;
     
    18352599    case " $ac_configure_args " in
    18362600      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1837       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2601      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18382602    esac
    18392603  fi
    18402604done
    18412605if $ac_cache_corrupted; then
    1842   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2606  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18432607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1844   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2608  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18452609$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1846   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1847 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1848    { (exit 1); exit 1; }; }
    1849 fi
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
    1871 
    1872 
    1873 
     2610  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2611fi
     2612## -------------------- ##
     2613## Main body of script. ##
     2614## -------------------- ##
    18742615
    18752616ac_ext=c
     
    18972638done
    18982639if test -z "$ac_aux_dir"; then
    1899   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1900 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1901    { (exit 1); exit 1; }; }
     2640  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19022641fi
    19032642
     
    19162655
    19172656# Check whether --with-tcllib was given.
    1918 if test "${with_tcllib+set}" = set; then
     2657if test "${with_tcllib+set}" = set; then :
    19192658  withval=$with_tcllib; with_tcllib=$withval
    19202659else
     
    19252664
    19262665# Check whether --with-rappture was given.
    1927 if test "${with_rappture+set}" = set; then
     2666if test "${with_rappture+set}" = set; then :
    19282667  withval=$with_rappture; with_rappture=$withval
    19292668else
     
    19342673
    19352674# Check whether --with-vtk-includes was given.
    1936 if test "${with_vtk_includes+set}" = set; then
     2675if test "${with_vtk_includes+set}" = set; then :
    19372676  withval=$with_vtk_includes; with_vtk_includes=$withval
    19382677else
     
    19432682
    19442683# Check whether --with-vtk-libs was given.
    1945 if test "${with_vtk_libs+set}" = set; then
     2684if test "${with_vtk_libs+set}" = set; then :
    19462685  withval=$with_vtk_libs; with_vtk_libs=$withval
    19472686else
     
    19522691
    19532692# Check whether --with-vtk was given.
    1954 if test "${with_vtk+set}" = set; then
     2693if test "${with_vtk+set}" = set; then :
    19552694  withval=$with_vtk; with_vtk=$withval
    19562695else
    19572696  with_vtk=yes
    1958 fi
    1959 
    1960 
    1961 
    1962 # Check whether --with-ffmpeg was given.
    1963 if test "${with_ffmpeg+set}" = set; then
    1964   withval=$with_ffmpeg;
    1965 else
    1966   with_ffmpeg=yes
    19672697fi
    19682698
     
    19762706  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19772707set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19792709$as_echo_n "checking for $ac_word... " >&6; }
    1980 if test "${ac_cv_prog_CC+set}" = set; then
     2710if ${ac_cv_prog_CC+:} false; then :
    19812711  $as_echo_n "(cached) " >&6
    19822712else
     
    19892719  IFS=$as_save_IFS
    19902720  test -z "$as_dir" && as_dir=.
    1991   for ac_exec_ext in '' $ac_executable_extensions; do
    1992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2721    for ac_exec_ext in '' $ac_executable_extensions; do
     2722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19932723    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19952725    break 2
    19962726  fi
    19972727done
    1998 done
     2728  done
    19992729IFS=$as_save_IFS
    20002730
     
    20032733CC=$ac_cv_prog_CC
    20042734if test -n "$CC"; then
    2005   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20062736$as_echo "$CC" >&6; }
    20072737else
    2008   { $as_echo "$as_me:$LINENO: result: no" >&5
     2738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20092739$as_echo "no" >&6; }
    20102740fi
     
    20162746  # Extract the first word of "gcc", so it can be a program name with args.
    20172747set dummy gcc; ac_word=$2
    2018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20192749$as_echo_n "checking for $ac_word... " >&6; }
    2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2750if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20212751  $as_echo_n "(cached) " >&6
    20222752else
     
    20292759  IFS=$as_save_IFS
    20302760  test -z "$as_dir" && as_dir=.
    2031   for ac_exec_ext in '' $ac_executable_extensions; do
    2032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2761    for ac_exec_ext in '' $ac_executable_extensions; do
     2762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20332763    ac_cv_prog_ac_ct_CC="gcc"
    2034     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20352765    break 2
    20362766  fi
    20372767done
    2038 done
     2768  done
    20392769IFS=$as_save_IFS
    20402770
     
    20432773ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20442774if test -n "$ac_ct_CC"; then
    2045   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20462776$as_echo "$ac_ct_CC" >&6; }
    20472777else
    2048   { $as_echo "$as_me:$LINENO: result: no" >&5
     2778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20492779$as_echo "no" >&6; }
    20502780fi
     
    20552785    case $cross_compiling:$ac_tool_warned in
    20562786yes:)
    2057 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2787{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20582788$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20592789ac_tool_warned=yes ;;
     
    20692799    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20702800set dummy ${ac_tool_prefix}cc; ac_word=$2
    2071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20722802$as_echo_n "checking for $ac_word... " >&6; }
    2073 if test "${ac_cv_prog_CC+set}" = set; then
     2803if ${ac_cv_prog_CC+:} false; then :
    20742804  $as_echo_n "(cached) " >&6
    20752805else
     
    20822812  IFS=$as_save_IFS
    20832813  test -z "$as_dir" && as_dir=.
    2084   for ac_exec_ext in '' $ac_executable_extensions; do
    2085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2814    for ac_exec_ext in '' $ac_executable_extensions; do
     2815  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20862816    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2817    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20882818    break 2
    20892819  fi
    20902820done
    2091 done
     2821  done
    20922822IFS=$as_save_IFS
    20932823
     
    20962826CC=$ac_cv_prog_CC
    20972827if test -n "$CC"; then
    2098   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20992829$as_echo "$CC" >&6; }
    21002830else
    2101   { $as_echo "$as_me:$LINENO: result: no" >&5
     2831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21022832$as_echo "no" >&6; }
    21032833fi
     
    21092839  # Extract the first word of "cc", so it can be a program name with args.
    21102840set dummy cc; ac_word=$2
    2111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21122842$as_echo_n "checking for $ac_word... " >&6; }
    2113 if test "${ac_cv_prog_CC+set}" = set; then
     2843if ${ac_cv_prog_CC+:} false; then :
    21142844  $as_echo_n "(cached) " >&6
    21152845else
     
    21232853  IFS=$as_save_IFS
    21242854  test -z "$as_dir" && as_dir=.
    2125   for ac_exec_ext in '' $ac_executable_extensions; do
    2126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2855    for ac_exec_ext in '' $ac_executable_extensions; do
     2856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21272857    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21282858       ac_prog_rejected=yes
     
    21302860     fi
    21312861    ac_cv_prog_CC="cc"
    2132     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21332863    break 2
    21342864  fi
    21352865done
    2136 done
     2866  done
    21372867IFS=$as_save_IFS
    21382868
     
    21532883CC=$ac_cv_prog_CC
    21542884if test -n "$CC"; then
    2155   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21562886$as_echo "$CC" >&6; }
    21572887else
    2158   { $as_echo "$as_me:$LINENO: result: no" >&5
     2888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21592889$as_echo "no" >&6; }
    21602890fi
     
    21682898    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21692899set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21712901$as_echo_n "checking for $ac_word... " >&6; }
    2172 if test "${ac_cv_prog_CC+set}" = set; then
     2902if ${ac_cv_prog_CC+:} false; then :
    21732903  $as_echo_n "(cached) " >&6
    21742904else
     
    21812911  IFS=$as_save_IFS
    21822912  test -z "$as_dir" && as_dir=.
    2183   for ac_exec_ext in '' $ac_executable_extensions; do
    2184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2913    for ac_exec_ext in '' $ac_executable_extensions; do
     2914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21852915    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21872917    break 2
    21882918  fi
    21892919done
    2190 done
     2920  done
    21912921IFS=$as_save_IFS
    21922922
     
    21952925CC=$ac_cv_prog_CC
    21962926if test -n "$CC"; then
    2197   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21982928$as_echo "$CC" >&6; }
    21992929else
    2200   { $as_echo "$as_me:$LINENO: result: no" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22012931$as_echo "no" >&6; }
    22022932fi
     
    22122942  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22132943set dummy $ac_prog; ac_word=$2
    2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22152945$as_echo_n "checking for $ac_word... " >&6; }
    2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2946if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22172947  $as_echo_n "(cached) " >&6
    22182948else
     
    22252955  IFS=$as_save_IFS
    22262956  test -z "$as_dir" && as_dir=.
    2227   for ac_exec_ext in '' $ac_executable_extensions; do
    2228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2957    for ac_exec_ext in '' $ac_executable_extensions; do
     2958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22292959    ac_cv_prog_ac_ct_CC="$ac_prog"
    2230     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22312961    break 2
    22322962  fi
    22332963done
    2234 done
     2964  done
    22352965IFS=$as_save_IFS
    22362966
     
    22392969ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22402970if test -n "$ac_ct_CC"; then
    2241   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22422972$as_echo "$ac_ct_CC" >&6; }
    22432973else
    2244   { $as_echo "$as_me:$LINENO: result: no" >&5
     2974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22452975$as_echo "no" >&6; }
    22462976fi
     
    22552985    case $cross_compiling:$ac_tool_warned in
    22562986yes:)
    2257 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2987{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22582988$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22592989ac_tool_warned=yes ;;
     
    22662996
    22672997
    2268 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2998test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22692999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2270 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2271 See \`config.log' for more details." >&5
    2272 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2273 See \`config.log' for more details." >&2;}
    2274    { (exit 1); exit 1; }; }; }
     3000as_fn_error $? "no acceptable C compiler found in \$PATH
     3001See \`config.log' for more details" "$LINENO" 5; }
    22753002
    22763003# Provide some information about the compiler.
    2277 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3004$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22783005set X $ac_compile
    22793006ac_compiler=$2
    2280 { (ac_try="$ac_compiler --version >&5"
     3007for ac_option in --version -v -V -qversion; do
     3008  { { ac_try="$ac_compiler $ac_option >&5"
    22813009case "(($ac_try" in
    22823010  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22833011  *) ac_try_echo=$ac_try;;
    22843012esac
    2285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2286 $as_echo "$ac_try_echo") >&5
    2287   (eval "$ac_compiler --version >&5") 2>&5
     3013eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3014$as_echo "$ac_try_echo"; } >&5
     3015  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22883016  ac_status=$?
    2289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2290   (exit $ac_status); }
    2291 { (ac_try="$ac_compiler -v >&5"
    2292 case "(($ac_try" in
    2293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2294   *) ac_try_echo=$ac_try;;
    2295 esac
    2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2297 $as_echo "$ac_try_echo") >&5
    2298   (eval "$ac_compiler -v >&5") 2>&5
    2299   ac_status=$?
    2300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2301   (exit $ac_status); }
    2302 { (ac_try="$ac_compiler -V >&5"
    2303 case "(($ac_try" in
    2304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2305   *) ac_try_echo=$ac_try;;
    2306 esac
    2307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2308 $as_echo "$ac_try_echo") >&5
    2309   (eval "$ac_compiler -V >&5") 2>&5
    2310   ac_status=$?
    2311   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2312   (exit $ac_status); }
    2313 
    2314 cat >conftest.$ac_ext <<_ACEOF
    2315 /* confdefs.h.  */
    2316 _ACEOF
    2317 cat confdefs.h >>conftest.$ac_ext
    2318 cat >>conftest.$ac_ext <<_ACEOF
     3017  if test -s conftest.err; then
     3018    sed '10a\
     3019... rest of stderr output deleted ...
     3020         10q' conftest.err >conftest.er1
     3021    cat conftest.er1 >&5
     3022  fi
     3023  rm -f conftest.er1 conftest.err
     3024  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3025  test $ac_status = 0; }
     3026done
     3027
     3028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23193029/* end confdefs.h.  */
    23203030
     
    23323042# It will help us diagnose broken compilers, and finding out an intuition
    23333043# of exeext.
    2334 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2335 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3045$as_echo_n "checking whether the C compiler works... " >&6; }
    23363046ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23373047
     
    23493059rm -f $ac_rmfiles
    23503060
    2351 if { (ac_try="$ac_link_default"
     3061if { { ac_try="$ac_link_default"
    23523062case "(($ac_try" in
    23533063  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23543064  *) ac_try_echo=$ac_try;;
    23553065esac
    2356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2357 $as_echo "$ac_try_echo") >&5
     3066eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3067$as_echo "$ac_try_echo"; } >&5
    23583068  (eval "$ac_link_default") 2>&5
    23593069  ac_status=$?
    2360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2361   (exit $ac_status); }; then
     3070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3071  test $ac_status = 0; }; then :
    23623072  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23633073# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23763086        break;;
    23773087    *.* )
    2378         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3088        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23793089        then :; else
    23803090           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23953105  ac_file=''
    23963106fi
    2397 
    2398 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3107if test -z "$ac_file"; then :
     3108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3109$as_echo "no" >&6; }
     3110$as_echo "$as_me: failed program was:" >&5
     3111sed 's/^/| /' conftest.$ac_ext >&5
     3112
     3113{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3115as_fn_error 77 "C compiler cannot create executables
     3116See \`config.log' for more details" "$LINENO" 5; }
     3117else
     3118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3119$as_echo "yes" >&6; }
     3120fi
     3121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3122$as_echo_n "checking for C compiler default output file name... " >&6; }
     3123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23993124$as_echo "$ac_file" >&6; }
    2400 if test -z "$ac_file"; then
    2401   $as_echo "$as_me: failed program was:" >&5
    2402 sed 's/^/| /' conftest.$ac_ext >&5
    2403 
    2404 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2406 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2407 See \`config.log' for more details." >&5
    2408 $as_echo "$as_me: error: C compiler cannot create executables
    2409 See \`config.log' for more details." >&2;}
    2410    { (exit 77); exit 77; }; }; }
    2411 fi
    2412 
    24133125ac_exeext=$ac_cv_exeext
    2414 
    2415 # Check that the compiler produces executables we can run.  If not, either
    2416 # the compiler is broken, or we cross compile.
    2417 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2418 $as_echo_n "checking whether the C compiler works... " >&6; }
    2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2420 # If not cross compiling, check that we can run a simple program.
    2421 if test "$cross_compiling" != yes; then
    2422   if { ac_try='./$ac_file'
    2423   { (case "(($ac_try" in
    2424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2425   *) ac_try_echo=$ac_try;;
    2426 esac
    2427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2428 $as_echo "$ac_try_echo") >&5
    2429   (eval "$ac_try") 2>&5
    2430   ac_status=$?
    2431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2432   (exit $ac_status); }; }; then
    2433     cross_compiling=no
    2434   else
    2435     if test "$cross_compiling" = maybe; then
    2436         cross_compiling=yes
    2437     else
    2438         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2440 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2441 If you meant to cross compile, use \`--host'.
    2442 See \`config.log' for more details." >&5
    2443 $as_echo "$as_me: error: cannot run C compiled programs.
    2444 If you meant to cross compile, use \`--host'.
    2445 See \`config.log' for more details." >&2;}
    2446    { (exit 1); exit 1; }; }; }
    2447     fi
    2448   fi
    2449 fi
    2450 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2451 $as_echo "yes" >&6; }
    24523126
    24533127rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24543128ac_clean_files=$ac_clean_files_save
    2455 # Check that the compiler produces executables we can run.  If not, either
    2456 # the compiler is broken, or we cross compile.
    2457 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2458 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2459 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2460 $as_echo "$cross_compiling" >&6; }
    2461 
    2462 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24633130$as_echo_n "checking for suffix of executables... " >&6; }
    2464 if { (ac_try="$ac_link"
     3131if { { ac_try="$ac_link"
    24653132case "(($ac_try" in
    24663133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24673134  *) ac_try_echo=$ac_try;;
    24683135esac
    2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2470 $as_echo "$ac_try_echo") >&5
     3136eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3137$as_echo "$ac_try_echo"; } >&5
    24713138  (eval "$ac_link") 2>&5
    24723139  ac_status=$?
    2473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2474   (exit $ac_status); }; then
     3140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3141  test $ac_status = 0; }; then :
    24753142  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24763143# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24873154done
    24883155else
    2489   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3156  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24903157$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2491 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2492 See \`config.log' for more details." >&5
    2493 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2494 See \`config.log' for more details." >&2;}
    2495    { (exit 1); exit 1; }; }; }
    2496 fi
    2497 
    2498 rm -f conftest$ac_cv_exeext
    2499 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3158as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3159See \`config.log' for more details" "$LINENO" 5; }
     3160fi
     3161rm -f conftest conftest$ac_cv_exeext
     3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    25003163$as_echo "$ac_cv_exeext" >&6; }
    25013164
     
    25033166EXEEXT=$ac_cv_exeext
    25043167ac_exeext=$EXEEXT
    2505 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2506 $as_echo_n "checking for suffix of object files... " >&6; }
    2507 if test "${ac_cv_objext+set}" = set; then
    2508   $as_echo_n "(cached) " >&6
    2509 else
    2510   cat >conftest.$ac_ext <<_ACEOF
    2511 /* confdefs.h.  */
    2512 _ACEOF
    2513 cat confdefs.h >>conftest.$ac_ext
    2514 cat >>conftest.$ac_ext <<_ACEOF
     3168cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25153169/* end confdefs.h.  */
    2516 
     3170#include <stdio.h>
    25173171int
    25183172main ()
    25193173{
     3174FILE *f = fopen ("conftest.out", "w");
     3175 return ferror (f) || fclose (f) != 0;
    25203176
    25213177  ;
     
    25233179}
    25243180_ACEOF
    2525 rm -f conftest.o conftest.obj
    2526 if { (ac_try="$ac_compile"
     3181ac_clean_files="$ac_clean_files conftest.out"
     3182# Check that the compiler produces executables we can run.  If not, either
     3183# the compiler is broken, or we cross compile.
     3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3185$as_echo_n "checking whether we are cross compiling... " >&6; }
     3186if test "$cross_compiling" != yes; then
     3187  { { ac_try="$ac_link"
    25273188case "(($ac_try" in
    25283189  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25293190  *) ac_try_echo=$ac_try;;
    25303191esac
    2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2532 $as_echo "$ac_try_echo") >&5
     3192eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3193$as_echo "$ac_try_echo"; } >&5
     3194  (eval "$ac_link") 2>&5
     3195  ac_status=$?
     3196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3197  test $ac_status = 0; }
     3198  if { ac_try='./conftest$ac_cv_exeext'
     3199  { { case "(($ac_try" in
     3200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3201  *) ac_try_echo=$ac_try;;
     3202esac
     3203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3204$as_echo "$ac_try_echo"; } >&5
     3205  (eval "$ac_try") 2>&5
     3206  ac_status=$?
     3207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3208  test $ac_status = 0; }; }; then
     3209    cross_compiling=no
     3210  else
     3211    if test "$cross_compiling" = maybe; then
     3212        cross_compiling=yes
     3213    else
     3214        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3216as_fn_error $? "cannot run C compiled programs.
     3217If you meant to cross compile, use \`--host'.
     3218See \`config.log' for more details" "$LINENO" 5; }
     3219    fi
     3220  fi
     3221fi
     3222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3223$as_echo "$cross_compiling" >&6; }
     3224
     3225rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3226ac_clean_files=$ac_clean_files_save
     3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3228$as_echo_n "checking for suffix of object files... " >&6; }
     3229if ${ac_cv_objext+:} false; then :
     3230  $as_echo_n "(cached) " >&6
     3231else
     3232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3233/* end confdefs.h.  */
     3234
     3235int
     3236main ()
     3237{
     3238
     3239  ;
     3240  return 0;
     3241}
     3242_ACEOF
     3243rm -f conftest.o conftest.obj
     3244if { { ac_try="$ac_compile"
     3245case "(($ac_try" in
     3246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3247  *) ac_try_echo=$ac_try;;
     3248esac
     3249eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3250$as_echo "$ac_try_echo"; } >&5
    25333251  (eval "$ac_compile") 2>&5
    25343252  ac_status=$?
    2535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2536   (exit $ac_status); }; then
     3253  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3254  test $ac_status = 0; }; then :
    25373255  for ac_file in conftest.o conftest.obj conftest.*; do
    25383256  test -f "$ac_file" || continue;
     
    25473265sed 's/^/| /' conftest.$ac_ext >&5
    25483266
    2549 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3267{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25503268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2551 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2552 See \`config.log' for more details." >&5
    2553 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2554 See \`config.log' for more details." >&2;}
    2555    { (exit 1); exit 1; }; }; }
    2556 fi
    2557 
     3269as_fn_error $? "cannot compute suffix of object files: cannot compile
     3270See \`config.log' for more details" "$LINENO" 5; }
     3271fi
    25583272rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25593273fi
    2560 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25613275$as_echo "$ac_cv_objext" >&6; }
    25623276OBJEXT=$ac_cv_objext
    25633277ac_objext=$OBJEXT
    2564 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25653279$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2566 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3280if ${ac_cv_c_compiler_gnu+:} false; then :
    25673281  $as_echo_n "(cached) " >&6
    25683282else
    2569   cat >conftest.$ac_ext <<_ACEOF
    2570 /* confdefs.h.  */
    2571 _ACEOF
    2572 cat confdefs.h >>conftest.$ac_ext
    2573 cat >>conftest.$ac_ext <<_ACEOF
     3283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25743284/* end confdefs.h.  */
    25753285
     
    25853295}
    25863296_ACEOF
    2587 rm -f conftest.$ac_objext
    2588 if { (ac_try="$ac_compile"
    2589 case "(($ac_try" in
    2590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2591   *) ac_try_echo=$ac_try;;
    2592 esac
    2593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2594 $as_echo "$ac_try_echo") >&5
    2595   (eval "$ac_compile") 2>conftest.er1
    2596   ac_status=$?
    2597   grep -v '^ *+' conftest.er1 >conftest.err
    2598   rm -f conftest.er1
    2599   cat conftest.err >&5
    2600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2601   (exit $ac_status); } && {
    2602          test -z "$ac_c_werror_flag" ||
    2603          test ! -s conftest.err
    2604        } && test -s conftest.$ac_objext; then
     3297if ac_fn_c_try_compile "$LINENO"; then :
    26053298  ac_compiler_gnu=yes
    26063299else
    2607   $as_echo "$as_me: failed program was:" >&5
    2608 sed 's/^/| /' conftest.$ac_ext >&5
    2609 
    2610         ac_compiler_gnu=no
    2611 fi
    2612 
     3300  ac_compiler_gnu=no
     3301fi
    26133302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26143303ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26153304
    26163305fi
    2617 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26183307$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26193308if test $ac_compiler_gnu = yes; then
     
    26243313ac_test_CFLAGS=${CFLAGS+set}
    26253314ac_save_CFLAGS=$CFLAGS
    2626 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26273316$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2628 if test "${ac_cv_prog_cc_g+set}" = set; then
     3317if ${ac_cv_prog_cc_g+:} false; then :
    26293318  $as_echo_n "(cached) " >&6
    26303319else
     
    26333322   ac_cv_prog_cc_g=no
    26343323   CFLAGS="-g"
    2635    cat >conftest.$ac_ext <<_ACEOF
    2636 /* confdefs.h.  */
    2637 _ACEOF
    2638 cat confdefs.h >>conftest.$ac_ext
    2639 cat >>conftest.$ac_ext <<_ACEOF
     3324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26403325/* end confdefs.h.  */
    26413326
     
    26483333}
    26493334_ACEOF
    2650 rm -f conftest.$ac_objext
    2651 if { (ac_try="$ac_compile"
    2652 case "(($ac_try" in
    2653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2654   *) ac_try_echo=$ac_try;;
    2655 esac
    2656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2657 $as_echo "$ac_try_echo") >&5
    2658   (eval "$ac_compile") 2>conftest.er1
    2659   ac_status=$?
    2660   grep -v '^ *+' conftest.er1 >conftest.err
    2661   rm -f conftest.er1
    2662   cat conftest.err >&5
    2663   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2664   (exit $ac_status); } && {
    2665          test -z "$ac_c_werror_flag" ||
    2666          test ! -s conftest.err
    2667        } && test -s conftest.$ac_objext; then
     3335if ac_fn_c_try_compile "$LINENO"; then :
    26683336  ac_cv_prog_cc_g=yes
    26693337else
    2670   $as_echo "$as_me: failed program was:" >&5
    2671 sed 's/^/| /' conftest.$ac_ext >&5
    2672 
    2673         CFLAGS=""
    2674       cat >conftest.$ac_ext <<_ACEOF
    2675 /* confdefs.h.  */
    2676 _ACEOF
    2677 cat confdefs.h >>conftest.$ac_ext
    2678 cat >>conftest.$ac_ext <<_ACEOF
     3338  CFLAGS=""
     3339      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26793340/* end confdefs.h.  */
    26803341
     
    26873348}
    26883349_ACEOF
    2689 rm -f conftest.$ac_objext
    2690 if { (ac_try="$ac_compile"
    2691 case "(($ac_try" in
    2692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2693   *) ac_try_echo=$ac_try;;
    2694 esac
    2695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2696 $as_echo "$ac_try_echo") >&5
    2697   (eval "$ac_compile") 2>conftest.er1
    2698   ac_status=$?
    2699   grep -v '^ *+' conftest.er1 >conftest.err
    2700   rm -f conftest.er1
    2701   cat conftest.err >&5
    2702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2703   (exit $ac_status); } && {
    2704          test -z "$ac_c_werror_flag" ||
    2705          test ! -s conftest.err
    2706        } && test -s conftest.$ac_objext; then
    2707   :
    2708 else
    2709   $as_echo "$as_me: failed program was:" >&5
    2710 sed 's/^/| /' conftest.$ac_ext >&5
    2711 
    2712         ac_c_werror_flag=$ac_save_c_werror_flag
     3350if ac_fn_c_try_compile "$LINENO"; then :
     3351
     3352else
     3353  ac_c_werror_flag=$ac_save_c_werror_flag
    27133354         CFLAGS="-g"
    2714          cat >conftest.$ac_ext <<_ACEOF
    2715 /* confdefs.h.  */
    2716 _ACEOF
    2717 cat confdefs.h >>conftest.$ac_ext
    2718 cat >>conftest.$ac_ext <<_ACEOF
     3355         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27193356/* end confdefs.h.  */
    27203357
     
    27273364}
    27283365_ACEOF
    2729 rm -f conftest.$ac_objext
    2730 if { (ac_try="$ac_compile"
    2731 case "(($ac_try" in
    2732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2733   *) ac_try_echo=$ac_try;;
    2734 esac
    2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2736 $as_echo "$ac_try_echo") >&5
    2737   (eval "$ac_compile") 2>conftest.er1
    2738   ac_status=$?
    2739   grep -v '^ *+' conftest.er1 >conftest.err
    2740   rm -f conftest.er1
    2741   cat conftest.err >&5
    2742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2743   (exit $ac_status); } && {
    2744          test -z "$ac_c_werror_flag" ||
    2745          test ! -s conftest.err
    2746        } && test -s conftest.$ac_objext; then
     3366if ac_fn_c_try_compile "$LINENO"; then :
    27473367  ac_cv_prog_cc_g=yes
    2748 else
    2749   $as_echo "$as_me: failed program was:" >&5
    2750 sed 's/^/| /' conftest.$ac_ext >&5
    2751 
    2752 
    2753 fi
    2754 
     3368fi
    27553369rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27563370fi
    2757 
    27583371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27593372fi
    2760 
    27613373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27623374   ac_c_werror_flag=$ac_save_c_werror_flag
    27633375fi
    2764 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27653377$as_echo "$ac_cv_prog_cc_g" >&6; }
    27663378if test "$ac_test_CFLAGS" = set; then
     
    27793391  fi
    27803392fi
    2781 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27823394$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2783 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3395if ${ac_cv_prog_cc_c89+:} false; then :
    27843396  $as_echo_n "(cached) " >&6
    27853397else
    27863398  ac_cv_prog_cc_c89=no
    27873399ac_save_CC=$CC
    2788 cat >conftest.$ac_ext <<_ACEOF
    2789 /* confdefs.h.  */
    2790 _ACEOF
    2791 cat confdefs.h >>conftest.$ac_ext
    2792 cat >>conftest.$ac_ext <<_ACEOF
     3400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27933401/* end confdefs.h.  */
    27943402#include <stdarg.h>
    27953403#include <stdio.h>
    2796 #include <sys/types.h>
    2797 #include <sys/stat.h>
     3404struct stat;
    27983405/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27993406struct buf { int x; };
     
    28473454do
    28483455  CC="$ac_save_CC $ac_arg"
    2849   rm -f conftest.$ac_objext
    2850 if { (ac_try="$ac_compile"
    2851 case "(($ac_try" in
    2852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2853   *) ac_try_echo=$ac_try;;
    2854 esac
    2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2856 $as_echo "$ac_try_echo") >&5
    2857   (eval "$ac_compile") 2>conftest.er1
    2858   ac_status=$?
    2859   grep -v '^ *+' conftest.er1 >conftest.err
    2860   rm -f conftest.er1
    2861   cat conftest.err >&5
    2862   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2863   (exit $ac_status); } && {
    2864          test -z "$ac_c_werror_flag" ||
    2865          test ! -s conftest.err
    2866        } && test -s conftest.$ac_objext; then
     3456  if ac_fn_c_try_compile "$LINENO"; then :
    28673457  ac_cv_prog_cc_c89=$ac_arg
    2868 else
    2869   $as_echo "$as_me: failed program was:" >&5
    2870 sed 's/^/| /' conftest.$ac_ext >&5
    2871 
    2872 
    2873 fi
    2874 
     3458fi
    28753459rm -f core conftest.err conftest.$ac_objext
    28763460  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28833467case "x$ac_cv_prog_cc_c89" in
    28843468  x)
    2885     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3469    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28863470$as_echo "none needed" >&6; } ;;
    28873471  xno)
    2888     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3472    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28893473$as_echo "unsupported" >&6; } ;;
    28903474  *)
    28913475    CC="$CC $ac_cv_prog_cc_c89"
    2892     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3476    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28933477$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28943478esac
    2895 
     3479if test "x$ac_cv_prog_cc_c89" != xno; then :
     3480
     3481fi
    28963482
    28973483ac_ext=c
     
    29073493ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29083494ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2909 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29103496$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29113497# On Suns, sometimes $CPP names a directory.
     
    29143500fi
    29153501if test -z "$CPP"; then
    2916   if test "${ac_cv_prog_CPP+set}" = set; then
     3502  if ${ac_cv_prog_CPP+:} false; then :
    29173503  $as_echo_n "(cached) " >&6
    29183504else
     
    29293515  # On the NeXT, cc -E runs the code through the compiler's parser,
    29303516  # not just through cpp. "Syntax error" is here to catch this case.
    2931   cat >conftest.$ac_ext <<_ACEOF
    2932 /* confdefs.h.  */
    2933 _ACEOF
    2934 cat confdefs.h >>conftest.$ac_ext
    2935 cat >>conftest.$ac_ext <<_ACEOF
     3517  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29363518/* end confdefs.h.  */
    29373519#ifdef __STDC__
     
    29423524                     Syntax error
    29433525_ACEOF
    2944 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2945 case "(($ac_try" in
    2946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2947   *) ac_try_echo=$ac_try;;
    2948 esac
    2949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2950 $as_echo "$ac_try_echo") >&5
    2951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2952   ac_status=$?
    2953   grep -v '^ *+' conftest.er1 >conftest.err
    2954   rm -f conftest.er1
    2955   cat conftest.err >&5
    2956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2957   (exit $ac_status); } >/dev/null && {
    2958          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2959          test ! -s conftest.err
    2960        }; then
    2961   :
    2962 else
    2963   $as_echo "$as_me: failed program was:" >&5
    2964 sed 's/^/| /' conftest.$ac_ext >&5
    2965 
     3526if ac_fn_c_try_cpp "$LINENO"; then :
     3527
     3528else
    29663529  # Broken: fails on valid input.
    29673530continue
    29683531fi
    2969 
    2970 rm -f conftest.err conftest.$ac_ext
     3532rm -f conftest.err conftest.i conftest.$ac_ext
    29713533
    29723534  # OK, works on sane cases.  Now check whether nonexistent headers
    29733535  # can be detected and how.
    2974   cat >conftest.$ac_ext <<_ACEOF
    2975 /* confdefs.h.  */
    2976 _ACEOF
    2977 cat confdefs.h >>conftest.$ac_ext
    2978 cat >>conftest.$ac_ext <<_ACEOF
     3536  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29793537/* end confdefs.h.  */
    29803538#include <ac_nonexistent.h>
    29813539_ACEOF
    2982 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2983 case "(($ac_try" in
    2984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2985   *) ac_try_echo=$ac_try;;
    2986 esac
    2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2988 $as_echo "$ac_try_echo") >&5
    2989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2990   ac_status=$?
    2991   grep -v '^ *+' conftest.er1 >conftest.err
    2992   rm -f conftest.er1
    2993   cat conftest.err >&5
    2994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2995   (exit $ac_status); } >/dev/null && {
    2996          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2997          test ! -s conftest.err
    2998        }; then
     3540if ac_fn_c_try_cpp "$LINENO"; then :
    29993541  # Broken: success on invalid input.
    30003542continue
    30013543else
    3002   $as_echo "$as_me: failed program was:" >&5
    3003 sed 's/^/| /' conftest.$ac_ext >&5
    3004 
    30053544  # Passes both tests.
    30063545ac_preproc_ok=:
    30073546break
    30083547fi
    3009 
    3010 rm -f conftest.err conftest.$ac_ext
     3548rm -f conftest.err conftest.i conftest.$ac_ext
    30113549
    30123550done
    30133551# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3014 rm -f conftest.err conftest.$ac_ext
    3015 if $ac_preproc_ok; then
     3552rm -f conftest.i conftest.err conftest.$ac_ext
     3553if $ac_preproc_ok; then :
    30163554  break
    30173555fi
     
    30253563  ac_cv_prog_CPP=$CPP
    30263564fi
    3027 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30283566$as_echo "$CPP" >&6; }
    30293567ac_preproc_ok=false
     
    30363574  # On the NeXT, cc -E runs the code through the compiler's parser,
    30373575  # not just through cpp. "Syntax error" is here to catch this case.
    3038   cat >conftest.$ac_ext <<_ACEOF
    3039 /* confdefs.h.  */
    3040 _ACEOF
    3041 cat confdefs.h >>conftest.$ac_ext
    3042 cat >>conftest.$ac_ext <<_ACEOF
     3576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30433577/* end confdefs.h.  */
    30443578#ifdef __STDC__
     
    30493583                     Syntax error
    30503584_ACEOF
    3051 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3052 case "(($ac_try" in
    3053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3054   *) ac_try_echo=$ac_try;;
    3055 esac
    3056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3057 $as_echo "$ac_try_echo") >&5
    3058   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3059   ac_status=$?
    3060   grep -v '^ *+' conftest.er1 >conftest.err
    3061   rm -f conftest.er1
    3062   cat conftest.err >&5
    3063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3064   (exit $ac_status); } >/dev/null && {
    3065          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3066          test ! -s conftest.err
    3067        }; then
    3068   :
    3069 else
    3070   $as_echo "$as_me: failed program was:" >&5
    3071 sed 's/^/| /' conftest.$ac_ext >&5
    3072 
     3585if ac_fn_c_try_cpp "$LINENO"; then :
     3586
     3587else
    30733588  # Broken: fails on valid input.
    30743589continue
    30753590fi
    3076 
    3077 rm -f conftest.err conftest.$ac_ext
     3591rm -f conftest.err conftest.i conftest.$ac_ext
    30783592
    30793593  # OK, works on sane cases.  Now check whether nonexistent headers
    30803594  # can be detected and how.
    3081   cat >conftest.$ac_ext <<_ACEOF
    3082 /* confdefs.h.  */
    3083 _ACEOF
    3084 cat confdefs.h >>conftest.$ac_ext
    3085 cat >>conftest.$ac_ext <<_ACEOF
     3595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30863596/* end confdefs.h.  */
    30873597#include <ac_nonexistent.h>
    30883598_ACEOF
    3089 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3090 case "(($ac_try" in
    3091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3092   *) ac_try_echo=$ac_try;;
    3093 esac
    3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3095 $as_echo "$ac_try_echo") >&5
    3096   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3097   ac_status=$?
    3098   grep -v '^ *+' conftest.er1 >conftest.err
    3099   rm -f conftest.er1
    3100   cat conftest.err >&5
    3101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3102   (exit $ac_status); } >/dev/null && {
    3103          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3104          test ! -s conftest.err
    3105        }; then
     3599if ac_fn_c_try_cpp "$LINENO"; then :
    31063600  # Broken: success on invalid input.
    31073601continue
    31083602else
    3109   $as_echo "$as_me: failed program was:" >&5
    3110 sed 's/^/| /' conftest.$ac_ext >&5
    3111 
    31123603  # Passes both tests.
    31133604ac_preproc_ok=:
    31143605break
    31153606fi
    3116 
    3117 rm -f conftest.err conftest.$ac_ext
     3607rm -f conftest.err conftest.i conftest.$ac_ext
    31183608
    31193609done
    31203610# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3121 rm -f conftest.err conftest.$ac_ext
    3122 if $ac_preproc_ok; then
    3123   :
    3124 else
    3125   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3611rm -f conftest.i conftest.err conftest.$ac_ext
     3612if $ac_preproc_ok; then :
     3613
     3614else
     3615  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31263616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3127 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3128 See \`config.log' for more details." >&5
    3129 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3130 See \`config.log' for more details." >&2;}
    3131    { (exit 1); exit 1; }; }; }
     3617as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3618See \`config.log' for more details" "$LINENO" 5; }
    31323619fi
    31333620
     
    31393626
    31403627
    3141 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31423629$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3143 if test "${ac_cv_path_GREP+set}" = set; then
     3630if ${ac_cv_path_GREP+:} false; then :
    31443631  $as_echo_n "(cached) " >&6
    31453632else
     
    31523639  IFS=$as_save_IFS
    31533640  test -z "$as_dir" && as_dir=.
    3154   for ac_prog in grep ggrep; do
     3641    for ac_prog in grep ggrep; do
    31553642    for ac_exec_ext in '' $ac_executable_extensions; do
    31563643      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3157       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3644      as_fn_executable_p "$ac_path_GREP" || continue
    31583645# Check for GNU ac_path_GREP and select it if it is found.
    31593646  # Check for GNU $ac_path_GREP
     
    31723659    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31733660    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3174     ac_count=`expr $ac_count + 1`
     3661    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31753662    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31763663      # Best one so far, save it but keep looking for a better one
     
    31873674    done
    31883675  done
    3189 done
     3676  done
    31903677IFS=$as_save_IFS
    31913678  if test -z "$ac_cv_path_GREP"; then
    3192     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3193 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3194    { (exit 1); exit 1; }; }
     3679    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31953680  fi
    31963681else
     
    31993684
    32003685fi
    3201 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    32023687$as_echo "$ac_cv_path_GREP" >&6; }
    32033688 GREP="$ac_cv_path_GREP"
    32043689
    32053690
    3206 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32073692$as_echo_n "checking for egrep... " >&6; }
    3208 if test "${ac_cv_path_EGREP+set}" = set; then
     3693if ${ac_cv_path_EGREP+:} false; then :
    32093694  $as_echo_n "(cached) " >&6
    32103695else
     
    32203705  IFS=$as_save_IFS
    32213706  test -z "$as_dir" && as_dir=.
    3222   for ac_prog in egrep; do
     3707    for ac_prog in egrep; do
    32233708    for ac_exec_ext in '' $ac_executable_extensions; do
    32243709      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3225       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3710      as_fn_executable_p "$ac_path_EGREP" || continue
    32263711# Check for GNU ac_path_EGREP and select it if it is found.
    32273712  # Check for GNU $ac_path_EGREP
     
    32403725    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32413726    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3242     ac_count=`expr $ac_count + 1`
     3727    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32433728    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32443729      # Best one so far, save it but keep looking for a better one
     
    32553740    done
    32563741  done
    3257 done
     3742  done
    32583743IFS=$as_save_IFS
    32593744  if test -z "$ac_cv_path_EGREP"; then
    3260     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3261 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3262    { (exit 1); exit 1; }; }
     3745    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32633746  fi
    32643747else
     
    32683751   fi
    32693752fi
    3270 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32713754$as_echo "$ac_cv_path_EGREP" >&6; }
    32723755 EGREP="$ac_cv_path_EGREP"
    32733756
    32743757
    3275 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32763759$as_echo_n "checking for ANSI C header files... " >&6; }
    3277 if test "${ac_cv_header_stdc+set}" = set; then
     3760if ${ac_cv_header_stdc+:} false; then :
    32783761  $as_echo_n "(cached) " >&6
    32793762else
    3280   cat >conftest.$ac_ext <<_ACEOF
    3281 /* confdefs.h.  */
    3282 _ACEOF
    3283 cat confdefs.h >>conftest.$ac_ext
    3284 cat >>conftest.$ac_ext <<_ACEOF
     3763  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32853764/* end confdefs.h.  */
    32863765#include <stdlib.h>
     
    32973776}
    32983777_ACEOF
    3299 rm -f conftest.$ac_objext
    3300 if { (ac_try="$ac_compile"
    3301 case "(($ac_try" in
    3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3303   *) ac_try_echo=$ac_try;;
    3304 esac
    3305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3306 $as_echo "$ac_try_echo") >&5
    3307   (eval "$ac_compile") 2>conftest.er1
    3308   ac_status=$?
    3309   grep -v '^ *+' conftest.er1 >conftest.err
    3310   rm -f conftest.er1
    3311   cat conftest.err >&5
    3312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3313   (exit $ac_status); } && {
    3314          test -z "$ac_c_werror_flag" ||
    3315          test ! -s conftest.err
    3316        } && test -s conftest.$ac_objext; then
     3778if ac_fn_c_try_compile "$LINENO"; then :
    33173779  ac_cv_header_stdc=yes
    33183780else
    3319   $as_echo "$as_me: failed program was:" >&5
    3320 sed 's/^/| /' conftest.$ac_ext >&5
    3321 
    3322         ac_cv_header_stdc=no
    3323 fi
    3324 
     3781  ac_cv_header_stdc=no
     3782fi
    33253783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33263784
    33273785if test $ac_cv_header_stdc = yes; then
    33283786  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3329   cat >conftest.$ac_ext <<_ACEOF
    3330 /* confdefs.h.  */
    3331 _ACEOF
    3332 cat confdefs.h >>conftest.$ac_ext
    3333 cat >>conftest.$ac_ext <<_ACEOF
     3787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33343788/* end confdefs.h.  */
    33353789#include <string.h>
     
    33373791_ACEOF
    33383792if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3339   $EGREP "memchr" >/dev/null 2>&1; then
    3340   :
     3793  $EGREP "memchr" >/dev/null 2>&1; then :
     3794
    33413795else
    33423796  ac_cv_header_stdc=no
     
    33483802if test $ac_cv_header_stdc = yes; then
    33493803  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3350   cat >conftest.$ac_ext <<_ACEOF
    3351 /* confdefs.h.  */
    3352 _ACEOF
    3353 cat confdefs.h >>conftest.$ac_ext
    3354 cat >>conftest.$ac_ext <<_ACEOF
     3804  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33553805/* end confdefs.h.  */
    33563806#include <stdlib.h>
     
    33583808_ACEOF
    33593809if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3360   $EGREP "free" >/dev/null 2>&1; then
    3361   :
     3810  $EGREP "free" >/dev/null 2>&1; then :
     3811
    33623812else
    33633813  ac_cv_header_stdc=no
     
    33693819if test $ac_cv_header_stdc = yes; then
    33703820  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3371   if test "$cross_compiling" = yes; then
     3821  if test "$cross_compiling" = yes; then :
    33723822  :
    33733823else
    3374   cat >conftest.$ac_ext <<_ACEOF
    3375 /* confdefs.h.  */
    3376 _ACEOF
    3377 cat confdefs.h >>conftest.$ac_ext
    3378 cat >>conftest.$ac_ext <<_ACEOF
     3824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33793825/* end confdefs.h.  */
    33803826#include <ctype.h>
     
    34033849}
    34043850_ACEOF
    3405 rm -f conftest$ac_exeext
    3406 if { (ac_try="$ac_link"
    3407 case "(($ac_try" in
    3408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3409   *) ac_try_echo=$ac_try;;
    3410 esac
    3411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3412 $as_echo "$ac_try_echo") >&5
    3413   (eval "$ac_link") 2>&5
    3414   ac_status=$?
    3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3416   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3417   { (case "(($ac_try" in
    3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3419   *) ac_try_echo=$ac_try;;
    3420 esac
    3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3422 $as_echo "$ac_try_echo") >&5
    3423   (eval "$ac_try") 2>&5
    3424   ac_status=$?
    3425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3426   (exit $ac_status); }; }; then
    3427   :
    3428 else
    3429   $as_echo "$as_me: program exited with status $ac_status" >&5
    3430 $as_echo "$as_me: failed program was:" >&5
    3431 sed 's/^/| /' conftest.$ac_ext >&5
    3432 
    3433 ( exit $ac_status )
    3434 ac_cv_header_stdc=no
    3435 fi
    3436 rm -rf conftest.dSYM
    3437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3438 fi
    3439 
    3440 
    3441 fi
    3442 fi
    3443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3851if ac_fn_c_try_run "$LINENO"; then :
     3852
     3853else
     3854  ac_cv_header_stdc=no
     3855fi
     3856rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3857  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3858fi
     3859
     3860fi
     3861fi
     3862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34443863$as_echo "$ac_cv_header_stdc" >&6; }
    34453864if test $ac_cv_header_stdc = yes; then
    34463865
    3447 cat >>confdefs.h <<\_ACEOF
    3448 #define STDC_HEADERS 1
    3449 _ACEOF
     3866$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34503867
    34513868fi
    34523869
    34533870# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3454 
    3455 
    3456 
    3457 
    3458 
    3459 
    3460 
    3461 
    3462 
    34633871for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34643872                  inttypes.h stdint.h unistd.h
    3465 do
    3466 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3468 $as_echo_n "checking for $ac_header... " >&6; }
    3469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3470   $as_echo_n "(cached) " >&6
    3471 else
    3472   cat >conftest.$ac_ext <<_ACEOF
    3473 /* confdefs.h.  */
    3474 _ACEOF
    3475 cat confdefs.h >>conftest.$ac_ext
    3476 cat >>conftest.$ac_ext <<_ACEOF
    3477 /* end confdefs.h.  */
    3478 $ac_includes_default
    3479 
    3480 #include <$ac_header>
    3481 _ACEOF
    3482 rm -f conftest.$ac_objext
    3483 if { (ac_try="$ac_compile"
    3484 case "(($ac_try" in
    3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3486   *) ac_try_echo=$ac_try;;
    3487 esac
    3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3489 $as_echo "$ac_try_echo") >&5
    3490   (eval "$ac_compile") 2>conftest.er1
    3491   ac_status=$?
    3492   grep -v '^ *+' conftest.er1 >conftest.err
    3493   rm -f conftest.er1
    3494   cat conftest.err >&5
    3495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3496   (exit $ac_status); } && {
    3497          test -z "$ac_c_werror_flag" ||
    3498          test ! -s conftest.err
    3499        } && test -s conftest.$ac_objext; then
    3500   eval "$as_ac_Header=yes"
    3501 else
    3502   $as_echo "$as_me: failed program was:" >&5
    3503 sed 's/^/| /' conftest.$ac_ext >&5
    3504 
    3505         eval "$as_ac_Header=no"
    3506 fi
    3507 
    3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3509 fi
    3510 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3511                  $as_echo "$as_val"'`
    3512                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3513 $as_echo "$ac_res" >&6; }
    3514 as_val=`eval 'as_val=${'$as_ac_Header'}
    3515                  $as_echo "$as_val"'`
    3516    if test "x$as_val" = x""yes; then
     3873do :
     3874  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3875ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3876"
     3877if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35173878  cat >>confdefs.h <<_ACEOF
    35183879#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35393900
    35403901# Check whether --with-python was given.
    3541 if test "${with_python+set}" = set; then
     3902if test "${with_python+set}" = set; then :
    35423903  withval=$with_python;
    35433904else
     
    35503911    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    35513912set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35533914$as_echo_n "checking for $ac_word... " >&6; }
    3554 if test "${ac_cv_path_PYTHON+set}" = set; then
     3915if ${ac_cv_path_PYTHON+:} false; then :
    35553916  $as_echo_n "(cached) " >&6
    35563917else
     
    35653926  IFS=$as_save_IFS
    35663927  test -z "$as_dir" && as_dir=.
    3567   for ac_exec_ext in '' $ac_executable_extensions; do
    3568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3928    for ac_exec_ext in '' $ac_executable_extensions; do
     3929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35693930    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35713932    break 2
    35723933  fi
    35733934done
    3574 done
     3935  done
    35753936IFS=$as_save_IFS
    35763937
     
    35803941PYTHON=$ac_cv_path_PYTHON
    35813942if test -n "$PYTHON"; then
    3582   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35833944$as_echo "$PYTHON" >&6; }
    35843945else
    3585   { $as_echo "$as_me:$LINENO: result: no" >&5
     3946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35863947$as_echo "no" >&6; }
    35873948fi
     
    35913952    # Extract the first word of "python", so it can be a program name with args.
    35923953set dummy python; ac_word=$2
    3593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35943955$as_echo_n "checking for $ac_word... " >&6; }
    3595 if test "${ac_cv_path_PYTHON+set}" = set; then
     3956if ${ac_cv_path_PYTHON+:} false; then :
    35963957  $as_echo_n "(cached) " >&6
    35973958else
     
    36073968  IFS=$as_save_IFS
    36083969  test -z "$as_dir" && as_dir=.
    3609   for ac_exec_ext in '' $ac_executable_extensions; do
    3610   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3970    for ac_exec_ext in '' $ac_executable_extensions; do
     3971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36113972    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3612     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36133974    break 2
    36143975  fi
    36153976done
    3616 done
     3977  done
    36173978IFS=$as_save_IFS
    36183979
     
    36223983PYTHON=$ac_cv_path_PYTHON
    36233984if test -n "$PYTHON"; then
    3624   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36253986$as_echo "$PYTHON" >&6; }
    36263987else
    3627   { $as_echo "$as_me:$LINENO: result: no" >&5
     3988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36283989$as_echo "no" >&6; }
    36293990fi
     
    36313992
    36323993  fi
    3633   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     3994  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36343995$as_echo_n "checking for Python version... " >&6; }
    36353996  if test "x${PYTHON}" != "x"; then
    36363997    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36373998  fi
    3638   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     3999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36394000$as_echo "$PYTHON_VERSION" >&6; }
    36404001fi
     
    36424003if test "x${PYTHON_VERSION}" != "x"; then
    36434004  PYTHON_INCLUDES=$incdir
    3644   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36454006$as_echo_n "checking for Python distutils... " >&6; }
    36464007  PYTHON_DISTUTILS=""
     
    36504011    PYTHON_DISTUTILS="yes"
    36514012  fi
    3652   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36534014$as_echo "$PYTHON_DISTUTILS" >&6; }
    36544015  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36574018    # Check for Python include path
    36584019    #
    3659     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4020    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36604021$as_echo_n "checking path to Python headers... " >&6; }
    36614022    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36624023     print distutils.sysconfig.get_python_inc();"`
    3663     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4024    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36644025$as_echo "$PYTHON_INCDIR" >&6; }
    36654026    #
     
    36744035    save_CPPFLAGS=$CPPFLAGS
    36754036    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    3676 
    3677 for ac_header in Python.h
    3678 do
    3679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3681   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3682 $as_echo_n "checking for $ac_header... " >&6; }
    3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3684   $as_echo_n "(cached) " >&6
    3685 fi
    3686 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3687                  $as_echo "$as_val"'`
    3688                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3689 $as_echo "$ac_res" >&6; }
    3690 else
    3691   # Is the header compilable?
    3692 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3693 $as_echo_n "checking $ac_header usability... " >&6; }
    3694 cat >conftest.$ac_ext <<_ACEOF
    3695 /* confdefs.h.  */
    3696 _ACEOF
    3697 cat confdefs.h >>conftest.$ac_ext
    3698 cat >>conftest.$ac_ext <<_ACEOF
    3699 /* end confdefs.h.  */
    3700 $ac_includes_default
    3701 #include <$ac_header>
    3702 _ACEOF
    3703 rm -f conftest.$ac_objext
    3704 if { (ac_try="$ac_compile"
    3705 case "(($ac_try" in
    3706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3707   *) ac_try_echo=$ac_try;;
    3708 esac
    3709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3710 $as_echo "$ac_try_echo") >&5
    3711   (eval "$ac_compile") 2>conftest.er1
    3712   ac_status=$?
    3713   grep -v '^ *+' conftest.er1 >conftest.err
    3714   rm -f conftest.er1
    3715   cat conftest.err >&5
    3716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3717   (exit $ac_status); } && {
    3718          test -z "$ac_c_werror_flag" ||
    3719          test ! -s conftest.err
    3720        } && test -s conftest.$ac_objext; then
    3721   ac_header_compiler=yes
    3722 else
    3723   $as_echo "$as_me: failed program was:" >&5
    3724 sed 's/^/| /' conftest.$ac_ext >&5
    3725 
    3726         ac_header_compiler=no
    3727 fi
    3728 
    3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3730 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3731 $as_echo "$ac_header_compiler" >&6; }
    3732 
    3733 # Is the header present?
    3734 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3735 $as_echo_n "checking $ac_header presence... " >&6; }
    3736 cat >conftest.$ac_ext <<_ACEOF
    3737 /* confdefs.h.  */
    3738 _ACEOF
    3739 cat confdefs.h >>conftest.$ac_ext
    3740 cat >>conftest.$ac_ext <<_ACEOF
    3741 /* end confdefs.h.  */
    3742 #include <$ac_header>
    3743 _ACEOF
    3744 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3745 case "(($ac_try" in
    3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3747   *) ac_try_echo=$ac_try;;
    3748 esac
    3749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3750 $as_echo "$ac_try_echo") >&5
    3751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3752   ac_status=$?
    3753   grep -v '^ *+' conftest.er1 >conftest.err
    3754   rm -f conftest.er1
    3755   cat conftest.err >&5
    3756   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3757   (exit $ac_status); } >/dev/null && {
    3758          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3759          test ! -s conftest.err
    3760        }; then
    3761   ac_header_preproc=yes
    3762 else
    3763   $as_echo "$as_me: failed program was:" >&5
    3764 sed 's/^/| /' conftest.$ac_ext >&5
    3765 
    3766   ac_header_preproc=no
    3767 fi
    3768 
    3769 rm -f conftest.err conftest.$ac_ext
    3770 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3771 $as_echo "$ac_header_preproc" >&6; }
    3772 
    3773 # So?  What about this header?
    3774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    3775   yes:no: )
    3776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3777 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    3779 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    3780     ac_header_preproc=yes
    3781     ;;
    3782   no:yes:* )
    3783     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3784 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3785     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    3786 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    3787     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    3788 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    3789     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    3790 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    3791     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3793     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    3794 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3795     ( cat <<\_ASBOX
    3796 ## ----------------------------------- ##
    3797 ## Report this to rappture@nanohub.org ##
    3798 ## ----------------------------------- ##
    3799 _ASBOX
    3800      ) | sed "s/^/$as_me: WARNING:     /" >&2
    3801     ;;
    3802 esac
    3803 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3804 $as_echo_n "checking for $ac_header... " >&6; }
    3805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3806   $as_echo_n "(cached) " >&6
    3807 else
    3808   eval "$as_ac_Header=\$ac_header_preproc"
    3809 fi
    3810 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3811                  $as_echo "$as_val"'`
    3812                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3813 $as_echo "$ac_res" >&6; }
    3814 
    3815 fi
    3816 as_val=`eval 'as_val=${'$as_ac_Header'}
    3817                  $as_echo "$as_val"'`
    3818    if test "x$as_val" = x""yes; then
     4037    for ac_header in Python.h
     4038do :
     4039  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4040if test "x$ac_cv_header_Python_h" = xyes; then :
    38194041  cat >>confdefs.h <<_ACEOF
    3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4042#define HAVE_PYTHON_H 1
    38214043_ACEOF
    38224044 found=yes
     
    38374059
    38384060# Check whether --with-statsdir was given.
    3839 if test "${with_statsdir+set}" = set; then
     4061if test "${with_statsdir+set}" = set; then :
    38404062  withval=$with_statsdir; STATSDIR=$withval
    38414063else
     
    38714093  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38724094set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3873 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38744096$as_echo_n "checking for $ac_word... " >&6; }
    3875 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4097if ${ac_cv_prog_RANLIB+:} false; then :
    38764098  $as_echo_n "(cached) " >&6
    38774099else
     
    38844106  IFS=$as_save_IFS
    38854107  test -z "$as_dir" && as_dir=.
    3886   for ac_exec_ext in '' $ac_executable_extensions; do
    3887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4108    for ac_exec_ext in '' $ac_executable_extensions; do
     4109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38884110    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3889     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38904112    break 2
    38914113  fi
    38924114done
    3893 done
     4115  done
    38944116IFS=$as_save_IFS
    38954117
     
    38984120RANLIB=$ac_cv_prog_RANLIB
    38994121if test -n "$RANLIB"; then
    3900   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    39014123$as_echo "$RANLIB" >&6; }
    39024124else
    3903   { $as_echo "$as_me:$LINENO: result: no" >&5
     4125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39044126$as_echo "no" >&6; }
    39054127fi
     
    39114133  # Extract the first word of "ranlib", so it can be a program name with args.
    39124134set dummy ranlib; ac_word=$2
    3913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39144136$as_echo_n "checking for $ac_word... " >&6; }
    3915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4137if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    39164138  $as_echo_n "(cached) " >&6
    39174139else
     
    39244146  IFS=$as_save_IFS
    39254147  test -z "$as_dir" && as_dir=.
    3926   for ac_exec_ext in '' $ac_executable_extensions; do
    3927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4148    for ac_exec_ext in '' $ac_executable_extensions; do
     4149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39284150    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3929     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39304152    break 2
    39314153  fi
    39324154done
    3933 done
     4155  done
    39344156IFS=$as_save_IFS
    39354157
     
    39384160ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39394161if test -n "$ac_ct_RANLIB"; then
    3940   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39414163$as_echo "$ac_ct_RANLIB" >&6; }
    39424164else
    3943   { $as_echo "$as_me:$LINENO: result: no" >&5
     4165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39444166$as_echo "no" >&6; }
    39454167fi
     
    39504172    case $cross_compiling:$ac_tool_warned in
    39514173yes:)
    3952 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4174{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39534175$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39544176ac_tool_warned=yes ;;
     
    39644186    # Step 0.a: Enable 64 bit support?
    39654187
    3966     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39674189$as_echo_n "checking if 64bit support is requested... " >&6; }
    39684190    # Check whether --enable-64bit was given.
    3969 if test "${enable_64bit+set}" = set; then
     4191if test "${enable_64bit+set}" = set; then :
    39704192  enableval=$enable_64bit; do64bit=$enableval
    39714193else
     
    39734195fi
    39744196
    3975     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4197    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39764198$as_echo "$do64bit" >&6; }
    39774199
    39784200    # Step 0.b: Enable Solaris 64 bit VIS support?
    39794201
    3980     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4202    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39814203$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39824204    # Check whether --enable-64bit-vis was given.
    3983 if test "${enable_64bit_vis+set}" = set; then
     4205if test "${enable_64bit_vis+set}" = set; then :
    39844206  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39854207else
     
    39874209fi
    39884210
    3989     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4211    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39904212$as_echo "$do64bitVIS" >&6; }
    39914213
     
    39994221
    40004222
    4001     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4223    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    40024224$as_echo_n "checking system version... " >&6; }
    4003 if test "${tcl_cv_sys_version+set}" = set; then
     4225if ${tcl_cv_sys_version+:} false; then :
    40044226  $as_echo_n "(cached) " >&6
    40054227else
     
    40104232            tcl_cv_sys_version=`uname -s`-`uname -r`
    40114233            if test "$?" -ne 0 ; then
    4012                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4234                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    40134235$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40144236                tcl_cv_sys_version=unknown
     
    40274249
    40284250fi
    4029 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40304252$as_echo "$tcl_cv_sys_version" >&6; }
    40314253    system=$tcl_cv_sys_version
     
    40354257    # Linux can use either -ldl or -ldld for dynamic loading.
    40364258
    4037     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40384260$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4261if ${ac_cv_lib_dl_dlopen+:} false; then :
    40404262  $as_echo_n "(cached) " >&6
    40414263else
    40424264  ac_check_lib_save_LIBS=$LIBS
    40434265LIBS="-ldl  $LIBS"
    4044 cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
     4266cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40494267/* end confdefs.h.  */
    40504268
     
    40644282}
    40654283_ACEOF
    4066 rm -f conftest.$ac_objext conftest$ac_exeext
    4067 if { (ac_try="$ac_link"
    4068 case "(($ac_try" in
    4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4070   *) ac_try_echo=$ac_try;;
    4071 esac
    4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4073 $as_echo "$ac_try_echo") >&5
    4074   (eval "$ac_link") 2>conftest.er1
    4075   ac_status=$?
    4076   grep -v '^ *+' conftest.er1 >conftest.err
    4077   rm -f conftest.er1
    4078   cat conftest.err >&5
    4079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4080   (exit $ac_status); } && {
    4081          test -z "$ac_c_werror_flag" ||
    4082          test ! -s conftest.err
    4083        } && test -s conftest$ac_exeext && {
    4084          test "$cross_compiling" = yes ||
    4085          $as_test_x conftest$ac_exeext
    4086        }; then
     4284if ac_fn_c_try_link "$LINENO"; then :
    40874285  ac_cv_lib_dl_dlopen=yes
    40884286else
    4089   $as_echo "$as_me: failed program was:" >&5
    4090 sed 's/^/| /' conftest.$ac_ext >&5
    4091 
    4092         ac_cv_lib_dl_dlopen=no
    4093 fi
    4094 
    4095 rm -rf conftest.dSYM
    4096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4097       conftest$ac_exeext conftest.$ac_ext
     4287  ac_cv_lib_dl_dlopen=no
     4288fi
     4289rm -f core conftest.err conftest.$ac_objext \
     4290    conftest$ac_exeext conftest.$ac_ext
    40984291LIBS=$ac_check_lib_save_LIBS
    40994292fi
    4100 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    41014294$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4102 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4295if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    41034296  have_dl=yes
    41044297else
     
    41324325    # Extract the first word of "ar", so it can be a program name with args.
    41334326set dummy ar; ac_word=$2
    4134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41354328$as_echo_n "checking for $ac_word... " >&6; }
    4136 if test "${ac_cv_prog_AR+set}" = set; then
     4329if ${ac_cv_prog_AR+:} false; then :
    41374330  $as_echo_n "(cached) " >&6
    41384331else
     
    41454338  IFS=$as_save_IFS
    41464339  test -z "$as_dir" && as_dir=.
    4147   for ac_exec_ext in '' $ac_executable_extensions; do
    4148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4340    for ac_exec_ext in '' $ac_executable_extensions; do
     4341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41494342    ac_cv_prog_AR="ar"
    4150     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41514344    break 2
    41524345  fi
    41534346done
    4154 done
     4347  done
    41554348IFS=$as_save_IFS
    41564349
     
    41594352AR=$ac_cv_prog_AR
    41604353if test -n "$AR"; then
    4161   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41624355$as_echo "$AR" >&6; }
    41634356else
    4164   { $as_echo "$as_me:$LINENO: result: no" >&5
     4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41654358$as_echo "no" >&6; }
    41664359fi
     
    41684361
    41694362    if test "${AR}" = "" ; then
    4170         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    4171 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    4172    { (exit 1); exit 1; }; }
     4363        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41734364    fi
    41744365    STLIB_LD='${AR} cr'
     
    41884379                        ;;
    41894380                esac
    4190                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4381                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41914382$as_echo "Using $CC for compiling with threads" >&6; }
    41924383            fi
     
    42044395            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    42054396                if test "$GCC" = "yes" ; then
    4206                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4397                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    42074398$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42084399                else
     
    42594450            # known GMT value.
    42604451
    4261             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4452            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42624453$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4263 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4454if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42644455  $as_echo_n "(cached) " >&6
    42654456else
    42664457  ac_check_lib_save_LIBS=$LIBS
    42674458LIBS="-lbsd  $LIBS"
    4268 cat >conftest.$ac_ext <<_ACEOF
    4269 /* confdefs.h.  */
    4270 _ACEOF
    4271 cat confdefs.h >>conftest.$ac_ext
    4272 cat >>conftest.$ac_ext <<_ACEOF
     4459cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42734460/* end confdefs.h.  */
    42744461
     
    42884475}
    42894476_ACEOF
    4290 rm -f conftest.$ac_objext conftest$ac_exeext
    4291 if { (ac_try="$ac_link"
    4292 case "(($ac_try" in
    4293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4294   *) ac_try_echo=$ac_try;;
    4295 esac
    4296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4297 $as_echo "$ac_try_echo") >&5
    4298   (eval "$ac_link") 2>conftest.er1
    4299   ac_status=$?
    4300   grep -v '^ *+' conftest.er1 >conftest.err
    4301   rm -f conftest.er1
    4302   cat conftest.err >&5
    4303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4304   (exit $ac_status); } && {
    4305          test -z "$ac_c_werror_flag" ||
    4306          test ! -s conftest.err
    4307        } && test -s conftest$ac_exeext && {
    4308          test "$cross_compiling" = yes ||
    4309          $as_test_x conftest$ac_exeext
    4310        }; then
     4477if ac_fn_c_try_link "$LINENO"; then :
    43114478  ac_cv_lib_bsd_gettimeofday=yes
    43124479else
    4313   $as_echo "$as_me: failed program was:" >&5
    4314 sed 's/^/| /' conftest.$ac_ext >&5
    4315 
    4316         ac_cv_lib_bsd_gettimeofday=no
    4317 fi
    4318 
    4319 rm -rf conftest.dSYM
    4320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4321       conftest$ac_exeext conftest.$ac_ext
     4480  ac_cv_lib_bsd_gettimeofday=no
     4481fi
     4482rm -f core conftest.err conftest.$ac_objext \
     4483    conftest$ac_exeext conftest.$ac_ext
    43224484LIBS=$ac_check_lib_save_LIBS
    43234485fi
    4324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43254487$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4326 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4488if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43274489  libbsd=yes
    43284490else
     
    43324494            if test $libbsd = yes; then
    43334495                MATH_LIBS="$MATH_LIBS -lbsd"
    4334                 cat >>confdefs.h <<\_ACEOF
    4335 #define USE_DELTA_FOR_TZ 1
    4336 _ACEOF
     4496                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43374497
    43384498            fi
     
    43514511            # is always linked to, for compatibility.
    43524512            #-----------------------------------------------------------
    4353             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4513            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43544514$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4355 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4515if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43564516  $as_echo_n "(cached) " >&6
    43574517else
    43584518  ac_check_lib_save_LIBS=$LIBS
    43594519LIBS="-lbind  $LIBS"
    4360 cat >conftest.$ac_ext <<_ACEOF
    4361 /* confdefs.h.  */
    4362 _ACEOF
    4363 cat confdefs.h >>conftest.$ac_ext
    4364 cat >>conftest.$ac_ext <<_ACEOF
     4520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43654521/* end confdefs.h.  */
    43664522
     
    43804536}
    43814537_ACEOF
    4382 rm -f conftest.$ac_objext conftest$ac_exeext
    4383 if { (ac_try="$ac_link"
    4384 case "(($ac_try" in
    4385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4386   *) ac_try_echo=$ac_try;;
    4387 esac
    4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4389 $as_echo "$ac_try_echo") >&5
    4390   (eval "$ac_link") 2>conftest.er1
    4391   ac_status=$?
    4392   grep -v '^ *+' conftest.er1 >conftest.err
    4393   rm -f conftest.er1
    4394   cat conftest.err >&5
    4395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4396   (exit $ac_status); } && {
    4397          test -z "$ac_c_werror_flag" ||
    4398          test ! -s conftest.err
    4399        } && test -s conftest$ac_exeext && {
    4400          test "$cross_compiling" = yes ||
    4401          $as_test_x conftest$ac_exeext
    4402        }; then
     4538if ac_fn_c_try_link "$LINENO"; then :
    44034539  ac_cv_lib_bind_inet_ntoa=yes
    44044540else
    4405   $as_echo "$as_me: failed program was:" >&5
    4406 sed 's/^/| /' conftest.$ac_ext >&5
    4407 
    4408         ac_cv_lib_bind_inet_ntoa=no
    4409 fi
    4410 
    4411 rm -rf conftest.dSYM
    4412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4413       conftest$ac_exeext conftest.$ac_ext
     4541  ac_cv_lib_bind_inet_ntoa=no
     4542fi
     4543rm -f core conftest.err conftest.$ac_objext \
     4544    conftest$ac_exeext conftest.$ac_ext
    44144545LIBS=$ac_check_lib_save_LIBS
    44154546fi
    4416 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    44174548$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4418 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4549if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    44194550  LIBS="$LIBS -lbind -lsocket"
    44204551fi
     
    44544585        HP-UX-*.11.*)
    44554586            # Use updated header definitions where possible
    4456             cat >>confdefs.h <<\_ACEOF
    4457 #define _XOPEN_SOURCE 1
    4458 _ACEOF
     4587            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44594588          # Use the XOPEN network library
    4460             cat >>confdefs.h <<\_ACEOF
    4461 #define _XOPEN_SOURCE_EXTENDED 1
    4462 _ACEOF
     4589            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44634590 # Use the XOPEN network library
    44644591            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44694596                SHLIB_SUFFIX=".sl"
    44704597            fi
    4471             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4598            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44724599$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4473 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4600if ${ac_cv_lib_dld_shl_load+:} false; then :
    44744601  $as_echo_n "(cached) " >&6
    44754602else
    44764603  ac_check_lib_save_LIBS=$LIBS
    44774604LIBS="-ldld  $LIBS"
    4478 cat >conftest.$ac_ext <<_ACEOF
    4479 /* confdefs.h.  */
    4480 _ACEOF
    4481 cat confdefs.h >>conftest.$ac_ext
    4482 cat >>conftest.$ac_ext <<_ACEOF
     4605cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44834606/* end confdefs.h.  */
    44844607
     
    44984621}
    44994622_ACEOF
    4500 rm -f conftest.$ac_objext conftest$ac_exeext
    4501 if { (ac_try="$ac_link"
    4502 case "(($ac_try" in
    4503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4504   *) ac_try_echo=$ac_try;;
    4505 esac
    4506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4507 $as_echo "$ac_try_echo") >&5
    4508   (eval "$ac_link") 2>conftest.er1
    4509   ac_status=$?
    4510   grep -v '^ *+' conftest.er1 >conftest.err
    4511   rm -f conftest.er1
    4512   cat conftest.err >&5
    4513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4514   (exit $ac_status); } && {
    4515          test -z "$ac_c_werror_flag" ||
    4516          test ! -s conftest.err
    4517        } && test -s conftest$ac_exeext && {
    4518          test "$cross_compiling" = yes ||
    4519          $as_test_x conftest$ac_exeext
    4520        }; then
     4623if ac_fn_c_try_link "$LINENO"; then :
    45214624  ac_cv_lib_dld_shl_load=yes
    45224625else
    4523   $as_echo "$as_me: failed program was:" >&5
    4524 sed 's/^/| /' conftest.$ac_ext >&5
    4525 
    4526         ac_cv_lib_dld_shl_load=no
    4527 fi
    4528 
    4529 rm -rf conftest.dSYM
    4530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4531       conftest$ac_exeext conftest.$ac_ext
     4626  ac_cv_lib_dld_shl_load=no
     4627fi
     4628rm -f core conftest.err conftest.$ac_objext \
     4629    conftest$ac_exeext conftest.$ac_ext
    45324630LIBS=$ac_check_lib_save_LIBS
    45334631fi
    4534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45354633$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4536 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4634if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45374635  tcl_ok=yes
    45384636else
     
    45744672                            ;;
    45754673                        *)
    4576                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4674                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45774675$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45784676                            ;;
     
    45874685        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45884686            SHLIB_SUFFIX=".sl"
    4589             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4687            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45904688$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4591 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4689if ${ac_cv_lib_dld_shl_load+:} false; then :
    45924690  $as_echo_n "(cached) " >&6
    45934691else
    45944692  ac_check_lib_save_LIBS=$LIBS
    45954693LIBS="-ldld  $LIBS"
    4596 cat >conftest.$ac_ext <<_ACEOF
    4597 /* confdefs.h.  */
    4598 _ACEOF
    4599 cat confdefs.h >>conftest.$ac_ext
    4600 cat >>conftest.$ac_ext <<_ACEOF
     4694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46014695/* end confdefs.h.  */
    46024696
     
    46164710}
    46174711_ACEOF
    4618 rm -f conftest.$ac_objext conftest$ac_exeext
    4619 if { (ac_try="$ac_link"
    4620 case "(($ac_try" in
    4621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4622   *) ac_try_echo=$ac_try;;
    4623 esac
    4624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4625 $as_echo "$ac_try_echo") >&5
    4626   (eval "$ac_link") 2>conftest.er1
    4627   ac_status=$?
    4628   grep -v '^ *+' conftest.er1 >conftest.err
    4629   rm -f conftest.er1
    4630   cat conftest.err >&5
    4631   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4632   (exit $ac_status); } && {
    4633          test -z "$ac_c_werror_flag" ||
    4634          test ! -s conftest.err
    4635        } && test -s conftest$ac_exeext && {
    4636          test "$cross_compiling" = yes ||
    4637          $as_test_x conftest$ac_exeext
    4638        }; then
     4712if ac_fn_c_try_link "$LINENO"; then :
    46394713  ac_cv_lib_dld_shl_load=yes
    46404714else
    4641   $as_echo "$as_me: failed program was:" >&5
    4642 sed 's/^/| /' conftest.$ac_ext >&5
    4643 
    4644         ac_cv_lib_dld_shl_load=no
    4645 fi
    4646 
    4647 rm -rf conftest.dSYM
    4648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4649       conftest$ac_exeext conftest.$ac_ext
     4715  ac_cv_lib_dld_shl_load=no
     4716fi
     4717rm -f core conftest.err conftest.$ac_objext \
     4718    conftest$ac_exeext conftest.$ac_ext
    46504719LIBS=$ac_check_lib_save_LIBS
    46514720fi
    4652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46534722$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4654 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4723if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46554724  tcl_ok=yes
    46564725else
     
    47314800            if test "$do64bit" = "yes" ; then
    47324801                if test "$GCC" = "yes" ; then
    4733                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4802                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47344803$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47354804                else
     
    47604829                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47614830            else
    4762                 if test "${ac_cv_header_dld_h+set}" = set; then
    4763   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4764 $as_echo_n "checking for dld.h... " >&6; }
    4765 if test "${ac_cv_header_dld_h+set}" = set; then
    4766   $as_echo_n "(cached) " >&6
    4767 fi
    4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4769 $as_echo "$ac_cv_header_dld_h" >&6; }
    4770 else
    4771   # Is the header compilable?
    4772 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4773 $as_echo_n "checking dld.h usability... " >&6; }
    4774 cat >conftest.$ac_ext <<_ACEOF
    4775 /* confdefs.h.  */
    4776 _ACEOF
    4777 cat confdefs.h >>conftest.$ac_ext
    4778 cat >>conftest.$ac_ext <<_ACEOF
    4779 /* end confdefs.h.  */
    4780 $ac_includes_default
    4781 #include <dld.h>
    4782 _ACEOF
    4783 rm -f conftest.$ac_objext
    4784 if { (ac_try="$ac_compile"
    4785 case "(($ac_try" in
    4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4787   *) ac_try_echo=$ac_try;;
    4788 esac
    4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4790 $as_echo "$ac_try_echo") >&5
    4791   (eval "$ac_compile") 2>conftest.er1
    4792   ac_status=$?
    4793   grep -v '^ *+' conftest.er1 >conftest.err
    4794   rm -f conftest.er1
    4795   cat conftest.err >&5
    4796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4797   (exit $ac_status); } && {
    4798          test -z "$ac_c_werror_flag" ||
    4799          test ! -s conftest.err
    4800        } && test -s conftest.$ac_objext; then
    4801   ac_header_compiler=yes
    4802 else
    4803   $as_echo "$as_me: failed program was:" >&5
    4804 sed 's/^/| /' conftest.$ac_ext >&5
    4805 
    4806         ac_header_compiler=no
    4807 fi
    4808 
    4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4810 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4811 $as_echo "$ac_header_compiler" >&6; }
    4812 
    4813 # Is the header present?
    4814 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4815 $as_echo_n "checking dld.h presence... " >&6; }
    4816 cat >conftest.$ac_ext <<_ACEOF
    4817 /* confdefs.h.  */
    4818 _ACEOF
    4819 cat confdefs.h >>conftest.$ac_ext
    4820 cat >>conftest.$ac_ext <<_ACEOF
    4821 /* end confdefs.h.  */
    4822 #include <dld.h>
    4823 _ACEOF
    4824 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4825 case "(($ac_try" in
    4826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4827   *) ac_try_echo=$ac_try;;
    4828 esac
    4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4830 $as_echo "$ac_try_echo") >&5
    4831   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4832   ac_status=$?
    4833   grep -v '^ *+' conftest.er1 >conftest.err
    4834   rm -f conftest.er1
    4835   cat conftest.err >&5
    4836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4837   (exit $ac_status); } >/dev/null && {
    4838          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4839          test ! -s conftest.err
    4840        }; then
    4841   ac_header_preproc=yes
    4842 else
    4843   $as_echo "$as_me: failed program was:" >&5
    4844 sed 's/^/| /' conftest.$ac_ext >&5
    4845 
    4846   ac_header_preproc=no
    4847 fi
    4848 
    4849 rm -f conftest.err conftest.$ac_ext
    4850 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4851 $as_echo "$ac_header_preproc" >&6; }
    4852 
    4853 # So?  What about this header?
    4854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4855   yes:no: )
    4856     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4857 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4858     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4859 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4860     ac_header_preproc=yes
    4861     ;;
    4862   no:yes:* )
    4863     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4864 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4865     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4866 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4867     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4868 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4869     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4870 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4871     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4872 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4873     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4874 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4875     ( cat <<\_ASBOX
    4876 ## ----------------------------------- ##
    4877 ## Report this to rappture@nanohub.org ##
    4878 ## ----------------------------------- ##
    4879 _ASBOX
    4880      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4881     ;;
    4882 esac
    4883 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4884 $as_echo_n "checking for dld.h... " >&6; }
    4885 if test "${ac_cv_header_dld_h+set}" = set; then
    4886   $as_echo_n "(cached) " >&6
    4887 else
    4888   ac_cv_header_dld_h=$ac_header_preproc
    4889 fi
    4890 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4891 $as_echo "$ac_cv_header_dld_h" >&6; }
    4892 
    4893 fi
    4894 if test "x$ac_cv_header_dld_h" = x""yes; then
     4831                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4832if test "x$ac_cv_header_dld_h" = xyes; then :
    48954833
    48964834                    SHLIB_LD="ld -shared"
     
    49074845            fi
    49084846            if test $do64bit = yes; then
    4909                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4847                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    49104848$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4911 if test "${tcl_cv_cc_m64+set}" = set; then
     4849if ${tcl_cv_cc_m64+:} false; then :
    49124850  $as_echo_n "(cached) " >&6
    49134851else
     
    49154853                    hold_cflags=$CFLAGS
    49164854                    CFLAGS="$CFLAGS -m64"
    4917                     cat >conftest.$ac_ext <<_ACEOF
    4918 /* confdefs.h.  */
    4919 _ACEOF
    4920 cat confdefs.h >>conftest.$ac_ext
    4921 cat >>conftest.$ac_ext <<_ACEOF
     4855                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49224856/* end confdefs.h.  */
    49234857
     
    49304864}
    49314865_ACEOF
    4932 rm -f conftest.$ac_objext conftest$ac_exeext
    4933 if { (ac_try="$ac_link"
    4934 case "(($ac_try" in
    4935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4936   *) ac_try_echo=$ac_try;;
    4937 esac
    4938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4939 $as_echo "$ac_try_echo") >&5
    4940   (eval "$ac_link") 2>conftest.er1
    4941   ac_status=$?
    4942   grep -v '^ *+' conftest.er1 >conftest.err
    4943   rm -f conftest.er1
    4944   cat conftest.err >&5
    4945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4946   (exit $ac_status); } && {
    4947          test -z "$ac_c_werror_flag" ||
    4948          test ! -s conftest.err
    4949        } && test -s conftest$ac_exeext && {
    4950          test "$cross_compiling" = yes ||
    4951          $as_test_x conftest$ac_exeext
    4952        }; then
     4866if ac_fn_c_try_link "$LINENO"; then :
    49534867  tcl_cv_cc_m64=yes
    49544868else
    4955   $as_echo "$as_me: failed program was:" >&5
    4956 sed 's/^/| /' conftest.$ac_ext >&5
    4957 
    4958         tcl_cv_cc_m64=no
    4959 fi
    4960 
    4961 rm -rf conftest.dSYM
    4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4963       conftest$ac_exeext conftest.$ac_ext
     4869  tcl_cv_cc_m64=no
     4870fi
     4871rm -f core conftest.err conftest.$ac_objext \
     4872    conftest$ac_exeext conftest.$ac_ext
    49644873                    CFLAGS=$hold_cflags
    49654874fi
    4966 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49674876$as_echo "$tcl_cv_cc_m64" >&6; }
    49684877                if test $tcl_cv_cc_m64 = yes; then
     
    49844893
    49854894            # XIM peeking works under XFree86.
    4986             cat >>confdefs.h <<\_ACEOF
    4987 #define PEEK_XCLOSEIM 1
    4988 _ACEOF
     4895            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49894896
    49904897
     
    50034910                LD_SEARCH_FLAGS=""
    50044911            else
    5005                 if test "${ac_cv_header_dld_h+set}" = set; then
    5006   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5007 $as_echo_n "checking for dld.h... " >&6; }
    5008 if test "${ac_cv_header_dld_h+set}" = set; then
    5009   $as_echo_n "(cached) " >&6
    5010 fi
    5011 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5012 $as_echo "$ac_cv_header_dld_h" >&6; }
    5013 else
    5014   # Is the header compilable?
    5015 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    5016 $as_echo_n "checking dld.h usability... " >&6; }
    5017 cat >conftest.$ac_ext <<_ACEOF
    5018 /* confdefs.h.  */
    5019 _ACEOF
    5020 cat confdefs.h >>conftest.$ac_ext
    5021 cat >>conftest.$ac_ext <<_ACEOF
    5022 /* end confdefs.h.  */
    5023 $ac_includes_default
    5024 #include <dld.h>
    5025 _ACEOF
    5026 rm -f conftest.$ac_objext
    5027 if { (ac_try="$ac_compile"
    5028 case "(($ac_try" in
    5029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5030   *) ac_try_echo=$ac_try;;
    5031 esac
    5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5033 $as_echo "$ac_try_echo") >&5
    5034   (eval "$ac_compile") 2>conftest.er1
    5035   ac_status=$?
    5036   grep -v '^ *+' conftest.er1 >conftest.err
    5037   rm -f conftest.er1
    5038   cat conftest.err >&5
    5039   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5040   (exit $ac_status); } && {
    5041          test -z "$ac_c_werror_flag" ||
    5042          test ! -s conftest.err
    5043        } && test -s conftest.$ac_objext; then
    5044   ac_header_compiler=yes
    5045 else
    5046   $as_echo "$as_me: failed program was:" >&5
    5047 sed 's/^/| /' conftest.$ac_ext >&5
    5048 
    5049         ac_header_compiler=no
    5050 fi
    5051 
    5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5054 $as_echo "$ac_header_compiler" >&6; }
    5055 
    5056 # Is the header present?
    5057 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    5058 $as_echo_n "checking dld.h presence... " >&6; }
    5059 cat >conftest.$ac_ext <<_ACEOF
    5060 /* confdefs.h.  */
    5061 _ACEOF
    5062 cat confdefs.h >>conftest.$ac_ext
    5063 cat >>conftest.$ac_ext <<_ACEOF
    5064 /* end confdefs.h.  */
    5065 #include <dld.h>
    5066 _ACEOF
    5067 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5068 case "(($ac_try" in
    5069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5070   *) ac_try_echo=$ac_try;;
    5071 esac
    5072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5073 $as_echo "$ac_try_echo") >&5
    5074   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5075   ac_status=$?
    5076   grep -v '^ *+' conftest.er1 >conftest.err
    5077   rm -f conftest.er1
    5078   cat conftest.err >&5
    5079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5080   (exit $ac_status); } >/dev/null && {
    5081          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5082          test ! -s conftest.err
    5083        }; then
    5084   ac_header_preproc=yes
    5085 else
    5086   $as_echo "$as_me: failed program was:" >&5
    5087 sed 's/^/| /' conftest.$ac_ext >&5
    5088 
    5089   ac_header_preproc=no
    5090 fi
    5091 
    5092 rm -f conftest.err conftest.$ac_ext
    5093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5094 $as_echo "$ac_header_preproc" >&6; }
    5095 
    5096 # So?  What about this header?
    5097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5098   yes:no: )
    5099     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5100 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5101     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    5102 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    5103     ac_header_preproc=yes
    5104     ;;
    5105   no:yes:* )
    5106     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    5107 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    5108     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    5109 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    5110     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    5111 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    5112     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    5113 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5114     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    5115 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    5116     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    5117 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    5118     ( cat <<\_ASBOX
    5119 ## ----------------------------------- ##
    5120 ## Report this to rappture@nanohub.org ##
    5121 ## ----------------------------------- ##
    5122 _ASBOX
    5123      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5124     ;;
    5125 esac
    5126 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5127 $as_echo_n "checking for dld.h... " >&6; }
    5128 if test "${ac_cv_header_dld_h+set}" = set; then
    5129   $as_echo_n "(cached) " >&6
    5130 else
    5131   ac_cv_header_dld_h=$ac_header_preproc
    5132 fi
    5133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5134 $as_echo "$ac_cv_header_dld_h" >&6; }
    5135 
    5136 fi
    5137 if test "x$ac_cv_header_dld_h" = x""yes; then
     4912                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4913if test "x$ac_cv_header_dld_h" = xyes; then :
    51384914
    51394915                    SHLIB_LD="ld -shared"
     
    51854961        NetBSD-*|FreeBSD-[1-2].*)
    51864962            # Not available on all versions:  check for include file.
    5187             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5188   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5189 $as_echo_n "checking for dlfcn.h... " >&6; }
    5190 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5191   $as_echo_n "(cached) " >&6
    5192 fi
    5193 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5194 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5195 else
    5196   # Is the header compilable?
    5197 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    5198 $as_echo_n "checking dlfcn.h usability... " >&6; }
    5199 cat >conftest.$ac_ext <<_ACEOF
    5200 /* confdefs.h.  */
    5201 _ACEOF
    5202 cat confdefs.h >>conftest.$ac_ext
    5203 cat >>conftest.$ac_ext <<_ACEOF
    5204 /* end confdefs.h.  */
    5205 $ac_includes_default
    5206 #include <dlfcn.h>
    5207 _ACEOF
    5208 rm -f conftest.$ac_objext
    5209 if { (ac_try="$ac_compile"
    5210 case "(($ac_try" in
    5211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5212   *) ac_try_echo=$ac_try;;
    5213 esac
    5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5215 $as_echo "$ac_try_echo") >&5
    5216   (eval "$ac_compile") 2>conftest.er1
    5217   ac_status=$?
    5218   grep -v '^ *+' conftest.er1 >conftest.err
    5219   rm -f conftest.er1
    5220   cat conftest.err >&5
    5221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5222   (exit $ac_status); } && {
    5223          test -z "$ac_c_werror_flag" ||
    5224          test ! -s conftest.err
    5225        } && test -s conftest.$ac_objext; then
    5226   ac_header_compiler=yes
    5227 else
    5228   $as_echo "$as_me: failed program was:" >&5
    5229 sed 's/^/| /' conftest.$ac_ext >&5
    5230 
    5231         ac_header_compiler=no
    5232 fi
    5233 
    5234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5236 $as_echo "$ac_header_compiler" >&6; }
    5237 
    5238 # Is the header present?
    5239 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    5240 $as_echo_n "checking dlfcn.h presence... " >&6; }
    5241 cat >conftest.$ac_ext <<_ACEOF
    5242 /* confdefs.h.  */
    5243 _ACEOF
    5244 cat confdefs.h >>conftest.$ac_ext
    5245 cat >>conftest.$ac_ext <<_ACEOF
    5246 /* end confdefs.h.  */
    5247 #include <dlfcn.h>
    5248 _ACEOF
    5249 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5250 case "(($ac_try" in
    5251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5252   *) ac_try_echo=$ac_try;;
    5253 esac
    5254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5255 $as_echo "$ac_try_echo") >&5
    5256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5257   ac_status=$?
    5258   grep -v '^ *+' conftest.er1 >conftest.err
    5259   rm -f conftest.er1
    5260   cat conftest.err >&5
    5261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5262   (exit $ac_status); } >/dev/null && {
    5263          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5264          test ! -s conftest.err
    5265        }; then
    5266   ac_header_preproc=yes
    5267 else
    5268   $as_echo "$as_me: failed program was:" >&5
    5269 sed 's/^/| /' conftest.$ac_ext >&5
    5270 
    5271   ac_header_preproc=no
    5272 fi
    5273 
    5274 rm -f conftest.err conftest.$ac_ext
    5275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5276 $as_echo "$ac_header_preproc" >&6; }
    5277 
    5278 # So?  What about this header?
    5279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5280   yes:no: )
    5281     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5282 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5283     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    5284 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    5285     ac_header_preproc=yes
    5286     ;;
    5287   no:yes:* )
    5288     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    5289 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    5290     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    5291 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    5292     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    5293 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    5294     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    5295 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5296     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    5297 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    5298     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    5299 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    5300     ( cat <<\_ASBOX
    5301 ## ----------------------------------- ##
    5302 ## Report this to rappture@nanohub.org ##
    5303 ## ----------------------------------- ##
    5304 _ASBOX
    5305      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5306     ;;
    5307 esac
    5308 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5309 $as_echo_n "checking for dlfcn.h... " >&6; }
    5310 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5311   $as_echo_n "(cached) " >&6
    5312 else
    5313   ac_cv_header_dlfcn_h=$ac_header_preproc
    5314 fi
    5315 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5316 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5317 
    5318 fi
    5319 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4963            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4964if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    53204965
    53214966                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53284973                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53294974                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5330                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4975                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53314976$as_echo_n "checking for ELF... " >&6; }
    5332 if test "${tcl_cv_ld_elf+set}" = set; then
     4977if ${tcl_cv_ld_elf+:} false; then :
    53334978  $as_echo_n "(cached) " >&6
    53344979else
    53354980
    5336                     cat >conftest.$ac_ext <<_ACEOF
    5337 /* confdefs.h.  */
    5338 _ACEOF
    5339 cat confdefs.h >>conftest.$ac_ext
    5340 cat >>conftest.$ac_ext <<_ACEOF
     4981                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53414982/* end confdefs.h.  */
    53424983
     
    53474988_ACEOF
    53484989if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5349   $EGREP "yes" >/dev/null 2>&1; then
     4990  $EGREP "yes" >/dev/null 2>&1; then :
    53504991  tcl_cv_ld_elf=yes
    53514992else
     
    53554996
    53564997fi
    5357 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53584999$as_echo "$tcl_cv_ld_elf" >&6; }
    53595000                if test $tcl_cv_ld_elf = yes; then
     
    54145055                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    54155056                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5416                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5057                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    54175058$as_echo_n "checking for ELF... " >&6; }
    5418 if test "${tcl_cv_ld_elf+set}" = set; then
     5059if ${tcl_cv_ld_elf+:} false; then :
    54195060  $as_echo_n "(cached) " >&6
    54205061else
    54215062
    5422                     cat >conftest.$ac_ext <<_ACEOF
    5423 /* confdefs.h.  */
    5424 _ACEOF
    5425 cat confdefs.h >>conftest.$ac_ext
    5426 cat >>conftest.$ac_ext <<_ACEOF
     5063                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54275064/* end confdefs.h.  */
    54285065
     
    54335070_ACEOF
    54345071if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5435   $EGREP "yes" >/dev/null 2>&1; then
     5072  $EGREP "yes" >/dev/null 2>&1; then :
    54365073  tcl_cv_ld_elf=yes
    54375074else
     
    54415078
    54425079fi
    5443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54445081$as_echo "$tcl_cv_ld_elf" >&6; }
    54455082                if test $tcl_cv_ld_elf = yes; then
     
    54965133                case `arch` in
    54975134                    ppc)
    5498                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5135                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54995136$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5500 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5137if ${tcl_cv_cc_arch_ppc64+:} false; then :
    55015138  $as_echo_n "(cached) " >&6
    55025139else
     
    55045141                            hold_cflags=$CFLAGS
    55055142                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5506                             cat >conftest.$ac_ext <<_ACEOF
    5507 /* confdefs.h.  */
    5508 _ACEOF
    5509 cat confdefs.h >>conftest.$ac_ext
    5510 cat >>conftest.$ac_ext <<_ACEOF
     5143                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55115144/* end confdefs.h.  */
    55125145
     
    55195152}
    55205153_ACEOF
    5521 rm -f conftest.$ac_objext conftest$ac_exeext
    5522 if { (ac_try="$ac_link"
    5523 case "(($ac_try" in
    5524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5525   *) ac_try_echo=$ac_try;;
    5526 esac
    5527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5528 $as_echo "$ac_try_echo") >&5
    5529   (eval "$ac_link") 2>conftest.er1
    5530   ac_status=$?
    5531   grep -v '^ *+' conftest.er1 >conftest.err
    5532   rm -f conftest.er1
    5533   cat conftest.err >&5
    5534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5535   (exit $ac_status); } && {
    5536          test -z "$ac_c_werror_flag" ||
    5537          test ! -s conftest.err
    5538        } && test -s conftest$ac_exeext && {
    5539          test "$cross_compiling" = yes ||
    5540          $as_test_x conftest$ac_exeext
    5541        }; then
     5154if ac_fn_c_try_link "$LINENO"; then :
    55425155  tcl_cv_cc_arch_ppc64=yes
    55435156else
    5544   $as_echo "$as_me: failed program was:" >&5
    5545 sed 's/^/| /' conftest.$ac_ext >&5
    5546 
    5547         tcl_cv_cc_arch_ppc64=no
    5548 fi
    5549 
    5550 rm -rf conftest.dSYM
    5551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5552       conftest$ac_exeext conftest.$ac_ext
     5157  tcl_cv_cc_arch_ppc64=no
     5158fi
     5159rm -f core conftest.err conftest.$ac_objext \
     5160    conftest$ac_exeext conftest.$ac_ext
    55535161                            CFLAGS=$hold_cflags
    55545162fi
    5555 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55565164$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55575165                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55605168                        fi;;
    55615169                    i386)
    5562                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5170                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55635171$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5564 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5172if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55655173  $as_echo_n "(cached) " >&6
    55665174else
     
    55685176                            hold_cflags=$CFLAGS
    55695177                            CFLAGS="$CFLAGS -arch x86_64"
    5570                             cat >conftest.$ac_ext <<_ACEOF
    5571 /* confdefs.h.  */
    5572 _ACEOF
    5573 cat confdefs.h >>conftest.$ac_ext
    5574 cat >>conftest.$ac_ext <<_ACEOF
     5178                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55755179/* end confdefs.h.  */
    55765180
     
    55835187}
    55845188_ACEOF
    5585 rm -f conftest.$ac_objext conftest$ac_exeext
    5586 if { (ac_try="$ac_link"
    5587 case "(($ac_try" in
    5588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5589   *) ac_try_echo=$ac_try;;
    5590 esac
    5591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5592 $as_echo "$ac_try_echo") >&5
    5593   (eval "$ac_link") 2>conftest.er1
    5594   ac_status=$?
    5595   grep -v '^ *+' conftest.er1 >conftest.err
    5596   rm -f conftest.er1
    5597   cat conftest.err >&5
    5598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5599   (exit $ac_status); } && {
    5600          test -z "$ac_c_werror_flag" ||
    5601          test ! -s conftest.err
    5602        } && test -s conftest$ac_exeext && {
    5603          test "$cross_compiling" = yes ||
    5604          $as_test_x conftest$ac_exeext
    5605        }; then
     5189if ac_fn_c_try_link "$LINENO"; then :
    56065190  tcl_cv_cc_arch_x86_64=yes
    56075191else
    5608   $as_echo "$as_me: failed program was:" >&5
    5609 sed 's/^/| /' conftest.$ac_ext >&5
    5610 
    5611         tcl_cv_cc_arch_x86_64=no
    5612 fi
    5613 
    5614 rm -rf conftest.dSYM
    5615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5616       conftest$ac_exeext conftest.$ac_ext
     5192  tcl_cv_cc_arch_x86_64=no
     5193fi
     5194rm -f core conftest.err conftest.$ac_objext \
     5195    conftest$ac_exeext conftest.$ac_ext
    56175196                            CFLAGS=$hold_cflags
    56185197fi
    5619 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    56205199$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56215200                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56245203                        fi;;
    56255204                    *)
    5626                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5205                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56275206$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56285207                esac
     
    56345213            fi
    56355214            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5636             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5215            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56375216$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5638 if test "${tcl_cv_ld_single_module+set}" = set; then
     5217if ${tcl_cv_ld_single_module+:} false; then :
    56395218  $as_echo_n "(cached) " >&6
    56405219else
     
    56425221                hold_ldflags=$LDFLAGS
    56435222                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5644                 cat >conftest.$ac_ext <<_ACEOF
    5645 /* confdefs.h.  */
    5646 _ACEOF
    5647 cat confdefs.h >>conftest.$ac_ext
    5648 cat >>conftest.$ac_ext <<_ACEOF
     5223                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56495224/* end confdefs.h.  */
    56505225
     
    56575232}
    56585233_ACEOF
    5659 rm -f conftest.$ac_objext conftest$ac_exeext
    5660 if { (ac_try="$ac_link"
    5661 case "(($ac_try" in
    5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5663   *) ac_try_echo=$ac_try;;
    5664 esac
    5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5666 $as_echo "$ac_try_echo") >&5
    5667   (eval "$ac_link") 2>conftest.er1
    5668   ac_status=$?
    5669   grep -v '^ *+' conftest.er1 >conftest.err
    5670   rm -f conftest.er1
    5671   cat conftest.err >&5
    5672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5673   (exit $ac_status); } && {
    5674          test -z "$ac_c_werror_flag" ||
    5675          test ! -s conftest.err
    5676        } && test -s conftest$ac_exeext && {
    5677          test "$cross_compiling" = yes ||
    5678          $as_test_x conftest$ac_exeext
    5679        }; then
     5234if ac_fn_c_try_link "$LINENO"; then :
    56805235  tcl_cv_ld_single_module=yes
    56815236else
    5682   $as_echo "$as_me: failed program was:" >&5
    5683 sed 's/^/| /' conftest.$ac_ext >&5
    5684 
    5685         tcl_cv_ld_single_module=no
    5686 fi
    5687 
    5688 rm -rf conftest.dSYM
    5689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5690       conftest$ac_exeext conftest.$ac_ext
     5237  tcl_cv_ld_single_module=no
     5238fi
     5239rm -f core conftest.err conftest.$ac_objext \
     5240    conftest$ac_exeext conftest.$ac_ext
    56915241                LDFLAGS=$hold_ldflags
    56925242fi
    5693 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56945244$as_echo "$tcl_cv_ld_single_module" >&6; }
    56955245            if test $tcl_cv_ld_single_module = yes; then
     
    57055255                LDFLAGS="$LDFLAGS -prebind"
    57065256            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5707             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5257            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    57085258$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5709 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5259if ${tcl_cv_ld_search_paths_first+:} false; then :
    57105260  $as_echo_n "(cached) " >&6
    57115261else
     
    57135263                hold_ldflags=$LDFLAGS
    57145264                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5715                 cat >conftest.$ac_ext <<_ACEOF
    5716 /* confdefs.h.  */
    5717 _ACEOF
    5718 cat confdefs.h >>conftest.$ac_ext
    5719 cat >>conftest.$ac_ext <<_ACEOF
     5265                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57205266/* end confdefs.h.  */
    57215267
     
    57285274}
    57295275_ACEOF
    5730 rm -f conftest.$ac_objext conftest$ac_exeext
    5731 if { (ac_try="$ac_link"
    5732 case "(($ac_try" in
    5733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5734   *) ac_try_echo=$ac_try;;
    5735 esac
    5736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5737 $as_echo "$ac_try_echo") >&5
    5738   (eval "$ac_link") 2>conftest.er1
    5739   ac_status=$?
    5740   grep -v '^ *+' conftest.er1 >conftest.err
    5741   rm -f conftest.er1
    5742   cat conftest.err >&5
    5743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5744   (exit $ac_status); } && {
    5745          test -z "$ac_c_werror_flag" ||
    5746          test ! -s conftest.err
    5747        } && test -s conftest$ac_exeext && {
    5748          test "$cross_compiling" = yes ||
    5749          $as_test_x conftest$ac_exeext
    5750        }; then
     5276if ac_fn_c_try_link "$LINENO"; then :
    57515277  tcl_cv_ld_search_paths_first=yes
    57525278else
    5753   $as_echo "$as_me: failed program was:" >&5
    5754 sed 's/^/| /' conftest.$ac_ext >&5
    5755 
    5756         tcl_cv_ld_search_paths_first=no
    5757 fi
    5758 
    5759 rm -rf conftest.dSYM
    5760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5761       conftest$ac_exeext conftest.$ac_ext
     5279  tcl_cv_ld_search_paths_first=no
     5280fi
     5281rm -f core conftest.err conftest.$ac_objext \
     5282    conftest$ac_exeext conftest.$ac_ext
    57625283                LDFLAGS=$hold_ldflags
    57635284fi
    5764 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57655286$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57665287            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57725293            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57735294            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5774             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5295            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57755296$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57765297            # Check whether --enable-corefoundation was given.
    5777 if test "${enable_corefoundation+set}" = set; then
     5298if test "${enable_corefoundation+set}" = set; then :
    57785299  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57795300else
     
    57815302fi
    57825303
    5783             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5304            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57845305$as_echo "$tcl_corefoundation" >&6; }
    57855306            if test $tcl_corefoundation = yes; then
    5786                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5307                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57875308$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5788 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5309if ${tcl_cv_lib_corefoundation+:} false; then :
    57895310  $as_echo_n "(cached) " >&6
    57905311else
     
    57985319                    done; fi
    57995320                    LIBS="$LIBS -framework CoreFoundation"
    5800                     cat >conftest.$ac_ext <<_ACEOF
    5801 /* confdefs.h.  */
    5802 _ACEOF
    5803 cat confdefs.h >>conftest.$ac_ext
    5804 cat >>conftest.$ac_ext <<_ACEOF
     5321                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58055322/* end confdefs.h.  */
    58065323#include <CoreFoundation/CoreFoundation.h>
     
    58135330}
    58145331_ACEOF
    5815 rm -f conftest.$ac_objext conftest$ac_exeext
    5816 if { (ac_try="$ac_link"
    5817 case "(($ac_try" in
    5818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5819   *) ac_try_echo=$ac_try;;
    5820 esac
    5821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5822 $as_echo "$ac_try_echo") >&5
    5823   (eval "$ac_link") 2>conftest.er1
    5824   ac_status=$?
    5825   grep -v '^ *+' conftest.er1 >conftest.err
    5826   rm -f conftest.er1
    5827   cat conftest.err >&5
    5828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5829   (exit $ac_status); } && {
    5830          test -z "$ac_c_werror_flag" ||
    5831          test ! -s conftest.err
    5832        } && test -s conftest$ac_exeext && {
    5833          test "$cross_compiling" = yes ||
    5834          $as_test_x conftest$ac_exeext
    5835        }; then
     5332if ac_fn_c_try_link "$LINENO"; then :
    58365333  tcl_cv_lib_corefoundation=yes
    58375334else
    5838   $as_echo "$as_me: failed program was:" >&5
    5839 sed 's/^/| /' conftest.$ac_ext >&5
    5840 
    5841         tcl_cv_lib_corefoundation=no
    5842 fi
    5843 
    5844 rm -rf conftest.dSYM
    5845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5846       conftest$ac_exeext conftest.$ac_ext
     5335  tcl_cv_lib_corefoundation=no
     5336fi
     5337rm -f core conftest.err conftest.$ac_objext \
     5338    conftest$ac_exeext conftest.$ac_ext
    58475339                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58485340                        eval $v'="$hold_'$v'"'
    58495341                    done; fi; LIBS=$hold_libs
    58505342fi
    5851 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58525344$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58535345                if test $tcl_cv_lib_corefoundation = yes; then
    58545346                    LIBS="$LIBS -framework CoreFoundation"
    5855                     cat >>confdefs.h <<\_ACEOF
    5856 #define HAVE_COREFOUNDATION 1
    5857 _ACEOF
     5347                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58585348
    58595349                else
     
    58615351                fi
    58625352                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5863                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5353                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58645354$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5865 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5355if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58665356  $as_echo_n "(cached) " >&6
    58675357else
     
    58705360                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58715361                        done
    5872                         cat >conftest.$ac_ext <<_ACEOF
    5873 /* confdefs.h.  */
    5874 _ACEOF
    5875 cat confdefs.h >>conftest.$ac_ext
    5876 cat >>conftest.$ac_ext <<_ACEOF
     5362                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58775363/* end confdefs.h.  */
    58785364#include <CoreFoundation/CoreFoundation.h>
     
    58855371}
    58865372_ACEOF
    5887 rm -f conftest.$ac_objext conftest$ac_exeext
    5888 if { (ac_try="$ac_link"
    5889 case "(($ac_try" in
    5890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5891   *) ac_try_echo=$ac_try;;
    5892 esac
    5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5894 $as_echo "$ac_try_echo") >&5
    5895   (eval "$ac_link") 2>conftest.er1
    5896   ac_status=$?
    5897   grep -v '^ *+' conftest.er1 >conftest.err
    5898   rm -f conftest.er1
    5899   cat conftest.err >&5
    5900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5901   (exit $ac_status); } && {
    5902          test -z "$ac_c_werror_flag" ||
    5903          test ! -s conftest.err
    5904        } && test -s conftest$ac_exeext && {
    5905          test "$cross_compiling" = yes ||
    5906          $as_test_x conftest$ac_exeext
    5907        }; then
     5373if ac_fn_c_try_link "$LINENO"; then :
    59085374  tcl_cv_lib_corefoundation_64=yes
    59095375else
    5910   $as_echo "$as_me: failed program was:" >&5
    5911 sed 's/^/| /' conftest.$ac_ext >&5
    5912 
    5913         tcl_cv_lib_corefoundation_64=no
    5914 fi
    5915 
    5916 rm -rf conftest.dSYM
    5917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5918       conftest$ac_exeext conftest.$ac_ext
     5376  tcl_cv_lib_corefoundation_64=no
     5377fi
     5378rm -f core conftest.err conftest.$ac_objext \
     5379    conftest$ac_exeext conftest.$ac_ext
    59195380                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    59205381                            eval $v'="$hold_'$v'"'
    59215382                        done
    59225383fi
    5923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59245385$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59255386                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5926                         cat >>confdefs.h <<\_ACEOF
    5927 #define NO_COREFOUNDATION_64 1
    5928 _ACEOF
     5387                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59295388
    59305389                    fi
    59315390                fi
    59325391            fi
    5933             cat >>confdefs.h <<\_ACEOF
    5934 #define MAC_OSX_TCL 1
    5935 _ACEOF
     5392            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59365393
    59375394            ;;
     
    59485405        OS/390-*)
    59495406            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5950             cat >>confdefs.h <<\_ACEOF
    5951 #define _OE_SOCKETS 1
    5952 _ACEOF
     5407            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59535408        # needed in sys/socket.h
    59545409            ;;
     
    60915546            # won't define thread-safe library routines.
    60925547
    6093             cat >>confdefs.h <<\_ACEOF
    6094 #define _REENTRANT 1
    6095 _ACEOF
    6096 
    6097             cat >>confdefs.h <<\_ACEOF
    6098 #define _POSIX_PTHREAD_SEMANTICS 1
    6099 _ACEOF
     5548            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5549
     5550            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61005551
    61015552
     
    61235574            # won't define thread-safe library routines.
    61245575
    6125             cat >>confdefs.h <<\_ACEOF
    6126 #define _REENTRANT 1
    6127 _ACEOF
    6128 
    6129             cat >>confdefs.h <<\_ACEOF
    6130 #define _POSIX_PTHREAD_SEMANTICS 1
    6131 _ACEOF
     5576            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5577
     5578            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61325579
    61335580
     
    61405587                        if test "$GCC" = "yes" ; then
    61415588                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6142                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5589                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61435590$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61445591                            else
     
    61625609                elif test "$arch" = "amd64 i386" ; then
    61635610                    if test "$GCC" = "yes" ; then
    6164                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5611                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61655612$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61665613                    else
     
    61705617                    fi
    61715618                else
    6172                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5619                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61735620$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61745621                fi
     
    62295676            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62305677            # that don't grok the -Bexport option.  Test that it does.
    6231             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5678            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62325679$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6233 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5680if ${tcl_cv_ld_Bexport+:} false; then :
    62345681  $as_echo_n "(cached) " >&6
    62355682else
     
    62375684                hold_ldflags=$LDFLAGS
    62385685                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6239                 cat >conftest.$ac_ext <<_ACEOF
    6240 /* confdefs.h.  */
    6241 _ACEOF
    6242 cat confdefs.h >>conftest.$ac_ext
    6243 cat >>conftest.$ac_ext <<_ACEOF
     5686                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62445687/* end confdefs.h.  */
    62455688
     
    62525695}
    62535696_ACEOF
    6254 rm -f conftest.$ac_objext conftest$ac_exeext
    6255 if { (ac_try="$ac_link"
    6256 case "(($ac_try" in
    6257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6258   *) ac_try_echo=$ac_try;;
    6259 esac
    6260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6261 $as_echo "$ac_try_echo") >&5
    6262   (eval "$ac_link") 2>conftest.er1
    6263   ac_status=$?
    6264   grep -v '^ *+' conftest.er1 >conftest.err
    6265   rm -f conftest.er1
    6266   cat conftest.err >&5
    6267   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6268   (exit $ac_status); } && {
    6269          test -z "$ac_c_werror_flag" ||
    6270          test ! -s conftest.err
    6271        } && test -s conftest$ac_exeext && {
    6272          test "$cross_compiling" = yes ||
    6273          $as_test_x conftest$ac_exeext
    6274        }; then
     5697if ac_fn_c_try_link "$LINENO"; then :
    62755698  tcl_cv_ld_Bexport=yes
    62765699else
    6277   $as_echo "$as_me: failed program was:" >&5
    6278 sed 's/^/| /' conftest.$ac_ext >&5
    6279 
    6280         tcl_cv_ld_Bexport=no
    6281 fi
    6282 
    6283 rm -rf conftest.dSYM
    6284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6285       conftest$ac_exeext conftest.$ac_ext
     5700  tcl_cv_ld_Bexport=no
     5701fi
     5702rm -f core conftest.err conftest.$ac_objext \
     5703    conftest$ac_exeext conftest.$ac_ext
    62865704                LDFLAGS=$hold_ldflags
    62875705fi
    6288 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62895707$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62905708            if test $tcl_cv_ld_Bexport = yes; then
     
    62975715
    62985716    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    6299         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5717        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    63005718$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    63015719    fi
     
    63245742
    63255743    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6326         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5744        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63275745$as_echo_n "checking sys/exec.h... " >&6; }
    6328 if test "${tcl_cv_sysexec_h+set}" = set; then
     5746if ${tcl_cv_sysexec_h+:} false; then :
    63295747  $as_echo_n "(cached) " >&6
    63305748else
    63315749
    6332         cat >conftest.$ac_ext <<_ACEOF
    6333 /* confdefs.h.  */
    6334 _ACEOF
    6335 cat confdefs.h >>conftest.$ac_ext
    6336 cat >>conftest.$ac_ext <<_ACEOF
     5750        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63375751/* end confdefs.h.  */
    63385752#include <sys/exec.h>
     
    63565770}
    63575771_ACEOF
    6358 rm -f conftest.$ac_objext
    6359 if { (ac_try="$ac_compile"
    6360 case "(($ac_try" in
    6361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6362   *) ac_try_echo=$ac_try;;
    6363 esac
    6364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6365 $as_echo "$ac_try_echo") >&5
    6366   (eval "$ac_compile") 2>conftest.er1
    6367   ac_status=$?
    6368   grep -v '^ *+' conftest.er1 >conftest.err
    6369   rm -f conftest.er1
    6370   cat conftest.err >&5
    6371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6372   (exit $ac_status); } && {
    6373          test -z "$ac_c_werror_flag" ||
    6374          test ! -s conftest.err
    6375        } && test -s conftest.$ac_objext; then
     5772if ac_fn_c_try_compile "$LINENO"; then :
    63765773  tcl_cv_sysexec_h=usable
    63775774else
    6378   $as_echo "$as_me: failed program was:" >&5
    6379 sed 's/^/| /' conftest.$ac_ext >&5
    6380 
    6381         tcl_cv_sysexec_h=unusable
    6382 fi
    6383 
     5775  tcl_cv_sysexec_h=unusable
     5776fi
    63845777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63855778fi
    6386 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63875780$as_echo "$tcl_cv_sysexec_h" >&6; }
    63885781        if test $tcl_cv_sysexec_h = usable; then
    6389             cat >>confdefs.h <<\_ACEOF
    6390 #define USE_SYS_EXEC_H 1
    6391 _ACEOF
     5782            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63925783
    63935784        else
    6394             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5785            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63955786$as_echo_n "checking a.out.h... " >&6; }
    6396 if test "${tcl_cv_aout_h+set}" = set; then
     5787if ${tcl_cv_aout_h+:} false; then :
    63975788  $as_echo_n "(cached) " >&6
    63985789else
    63995790
    6400             cat >conftest.$ac_ext <<_ACEOF
    6401 /* confdefs.h.  */
    6402 _ACEOF
    6403 cat confdefs.h >>conftest.$ac_ext
    6404 cat >>conftest.$ac_ext <<_ACEOF
     5791            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64055792/* end confdefs.h.  */
    64065793#include <a.out.h>
     
    64245811}
    64255812_ACEOF
    6426 rm -f conftest.$ac_objext
    6427 if { (ac_try="$ac_compile"
    6428 case "(($ac_try" in
    6429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6430   *) ac_try_echo=$ac_try;;
    6431 esac
    6432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6433 $as_echo "$ac_try_echo") >&5
    6434   (eval "$ac_compile") 2>conftest.er1
    6435   ac_status=$?
    6436   grep -v '^ *+' conftest.er1 >conftest.err
    6437   rm -f conftest.er1
    6438   cat conftest.err >&5
    6439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6440   (exit $ac_status); } && {
    6441          test -z "$ac_c_werror_flag" ||
    6442          test ! -s conftest.err
    6443        } && test -s conftest.$ac_objext; then
     5813if ac_fn_c_try_compile "$LINENO"; then :
    64445814  tcl_cv_aout_h=usable
    64455815else
    6446   $as_echo "$as_me: failed program was:" >&5
    6447 sed 's/^/| /' conftest.$ac_ext >&5
    6448 
    6449         tcl_cv_aout_h=unusable
    6450 fi
    6451 
     5816  tcl_cv_aout_h=unusable
     5817fi
    64525818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64535819fi
    6454 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64555821$as_echo "$tcl_cv_aout_h" >&6; }
    64565822            if test $tcl_cv_aout_h = usable; then
    6457                 cat >>confdefs.h <<\_ACEOF
    6458 #define USE_A_OUT_H 1
    6459 _ACEOF
     5823                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64605824
    64615825            else
    6462                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5826                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64635827$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6464 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5828if ${tcl_cv_sysexecaout_h+:} false; then :
    64655829  $as_echo_n "(cached) " >&6
    64665830else
    64675831
    6468                 cat >conftest.$ac_ext <<_ACEOF
    6469 /* confdefs.h.  */
    6470 _ACEOF
    6471 cat confdefs.h >>conftest.$ac_ext
    6472 cat >>conftest.$ac_ext <<_ACEOF
     5832                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64735833/* end confdefs.h.  */
    64745834#include <sys/exec_aout.h>
     
    64925852}
    64935853_ACEOF
    6494 rm -f conftest.$ac_objext
    6495 if { (ac_try="$ac_compile"
    6496 case "(($ac_try" in
    6497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6498   *) ac_try_echo=$ac_try;;
    6499 esac
    6500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6501 $as_echo "$ac_try_echo") >&5
    6502   (eval "$ac_compile") 2>conftest.er1
    6503   ac_status=$?
    6504   grep -v '^ *+' conftest.er1 >conftest.err
    6505   rm -f conftest.er1
    6506   cat conftest.err >&5
    6507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6508   (exit $ac_status); } && {
    6509          test -z "$ac_c_werror_flag" ||
    6510          test ! -s conftest.err
    6511        } && test -s conftest.$ac_objext; then
     5854if ac_fn_c_try_compile "$LINENO"; then :
    65125855  tcl_cv_sysexecaout_h=usable
    65135856else
    6514   $as_echo "$as_me: failed program was:" >&5
    6515 sed 's/^/| /' conftest.$ac_ext >&5
    6516 
    6517         tcl_cv_sysexecaout_h=unusable
    6518 fi
    6519 
     5857  tcl_cv_sysexecaout_h=unusable
     5858fi
    65205859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65215860fi
    6522 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    65235862$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    65245863                if test $tcl_cv_sysexecaout_h = usable; then
    6525                     cat >>confdefs.h <<\_ACEOF
    6526 #define USE_SYS_EXEC_AOUT_H 1
    6527 _ACEOF
     5864                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    65285865
    65295866                else
     
    65375874
    65385875    # Check whether --enable-load was given.
    6539 if test "${enable_load+set}" = set; then
     5876if test "${enable_load+set}" = set; then :
    65405877  enableval=$enable_load; tcl_ok=$enableval
    65415878else
     
    66605997
    66615998
    6662 { $as_echo "$as_me:$LINENO: checking for X" >&5
     5999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    66636000$as_echo_n "checking for X... " >&6; }
    66646001
    66656002
    66666003# Check whether --with-x was given.
    6667 if test "${with_x+set}" = set; then
     6004if test "${with_x+set}" = set; then :
    66686005  withval=$with_x;
    66696006fi
     
    66756012else
    66766013  case $x_includes,$x_libraries in #(
    6677     *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
    6678 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
    6679    { (exit 1); exit 1; }; };; #(
    6680     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
     6014    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     6015    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
    66816016  $as_echo_n "(cached) " >&6
    66826017else
     
    66956030_ACEOF
    66966031  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6697     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     6032    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    66986033    for ac_var in incroot usrlibdir libdir; do
    66996034      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    67266061ac_x_header_dirs='
    67276062/usr/X11/include
     6063/usr/X11R7/include
    67286064/usr/X11R6/include
    67296065/usr/X11R5/include
     
    67316067
    67326068/usr/include/X11
     6069/usr/include/X11R7
    67336070/usr/include/X11R6
    67346071/usr/include/X11R5
     
    67366073
    67376074/usr/local/X11/include
     6075/usr/local/X11R7/include
    67386076/usr/local/X11R6/include
    67396077/usr/local/X11R5/include
     
    67416079
    67426080/usr/local/include/X11
     6081/usr/local/include/X11R7
    67436082/usr/local/include/X11R6
    67446083/usr/local/include/X11R5
     
    67626101  # Guess where to find include files, by looking for Xlib.h.
    67636102  # First, try using that file with no special directory specified.
    6764   cat >conftest.$ac_ext <<_ACEOF
    6765 /* confdefs.h.  */
    6766 _ACEOF
    6767 cat confdefs.h >>conftest.$ac_ext
    6768 cat >>conftest.$ac_ext <<_ACEOF
     6103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67696104/* end confdefs.h.  */
    67706105#include <X11/Xlib.h>
    67716106_ACEOF
    6772 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6773 case "(($ac_try" in
    6774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6775   *) ac_try_echo=$ac_try;;
    6776 esac
    6777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6778 $as_echo "$ac_try_echo") >&5
    6779   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6780   ac_status=$?
    6781   grep -v '^ *+' conftest.er1 >conftest.err
    6782   rm -f conftest.er1
    6783   cat conftest.err >&5
    6784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6785   (exit $ac_status); } >/dev/null && {
    6786          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6787          test ! -s conftest.err
    6788        }; then
     6107if ac_fn_c_try_cpp "$LINENO"; then :
    67896108  # We can compile using X headers with no special include directory.
    67906109ac_x_includes=
    67916110else
    6792   $as_echo "$as_me: failed program was:" >&5
    6793 sed 's/^/| /' conftest.$ac_ext >&5
    6794 
    67956111  for ac_dir in $ac_x_header_dirs; do
    67966112  if test -r "$ac_dir/X11/Xlib.h"; then
     
    68006116done
    68016117fi
    6802 
    6803 rm -f conftest.err conftest.$ac_ext
     6118rm -f conftest.err conftest.i conftest.$ac_ext
    68046119fi # $ac_x_includes = no
    68056120
     
    68106125  ac_save_LIBS=$LIBS
    68116126  LIBS="-lX11 $LIBS"
    6812   cat >conftest.$ac_ext <<_ACEOF
    6813 /* confdefs.h.  */
    6814 _ACEOF
    6815 cat confdefs.h >>conftest.$ac_ext
    6816 cat >>conftest.$ac_ext <<_ACEOF
     6127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68176128/* end confdefs.h.  */
    68186129#include <X11/Xlib.h>
     
    68256136}
    68266137_ACEOF
    6827 rm -f conftest.$ac_objext conftest$ac_exeext
    6828 if { (ac_try="$ac_link"
    6829 case "(($ac_try" in
    6830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6831   *) ac_try_echo=$ac_try;;
    6832 esac
    6833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6834 $as_echo "$ac_try_echo") >&5
    6835   (eval "$ac_link") 2>conftest.er1
    6836   ac_status=$?
    6837   grep -v '^ *+' conftest.er1 >conftest.err
    6838   rm -f conftest.er1
    6839   cat conftest.err >&5
    6840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6841   (exit $ac_status); } && {
    6842          test -z "$ac_c_werror_flag" ||
    6843          test ! -s conftest.err
    6844        } && test -s conftest$ac_exeext && {
    6845          test "$cross_compiling" = yes ||
    6846          $as_test_x conftest$ac_exeext
    6847        }; then
     6138if ac_fn_c_try_link "$LINENO"; then :
    68486139  LIBS=$ac_save_LIBS
    68496140# We can link X programs with no special library path.
    68506141ac_x_libraries=
    68516142else
    6852   $as_echo "$as_me: failed program was:" >&5
    6853 sed 's/^/| /' conftest.$ac_ext >&5
    6854 
    6855         LIBS=$ac_save_LIBS
     6143  LIBS=$ac_save_LIBS
    68566144for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    68576145do
     
    68656153done
    68666154fi
    6867 
    6868 rm -rf conftest.dSYM
    6869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6870       conftest$ac_exeext conftest.$ac_ext
     6155rm -f core conftest.err conftest.$ac_objext \
     6156    conftest$ac_exeext conftest.$ac_ext
    68716157fi # $ac_x_libraries = no
    68726158
     
    68896175
    68906176if test "$have_x" != yes; then
    6891   { $as_echo "$as_me:$LINENO: result: $have_x" >&5
     6177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
    68926178$as_echo "$have_x" >&6; }
    68936179  no_x=yes
     
    69006186        ac_x_includes='$x_includes'\
    69016187        ac_x_libraries='$x_libraries'"
    6902   { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
     6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
    69036189$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    69046190fi
     
    69196205# ./install, which can be erroneously created by make from ./install.sh.
    69206206# Reject install programs that cannot install multiple files.
    6921 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    69226208$as_echo_n "checking for a BSD-compatible install... " >&6; }
    69236209if test -z "$INSTALL"; then
    6924 if test "${ac_cv_path_install+set}" = set; then
     6210if ${ac_cv_path_install+:} false; then :
    69256211  $as_echo_n "(cached) " >&6
    69266212else
     
    69306216  IFS=$as_save_IFS
    69316217  test -z "$as_dir" && as_dir=.
    6932   # Account for people who put trailing slashes in PATH elements.
    6933 case $as_dir/ in
    6934   ./ | .// | /cC/* | \
     6218    # Account for people who put trailing slashes in PATH elements.
     6219case $as_dir/ in #((
     6220  ./ | .// | /[cC]/* | \
    69356221  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6936   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     6222  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    69376223  /usr/ucb/* ) ;;
    69386224  *)
     
    69426228    for ac_prog in ginstall scoinst install; do
    69436229      for ac_exec_ext in '' $ac_executable_extensions; do
    6944         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     6230        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    69456231          if test $ac_prog = install &&
    69466232            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    69716257esac
    69726258
    6973 done
     6259  done
    69746260IFS=$as_save_IFS
    69756261
     
    69876273  fi
    69886274fi
    6989 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     6275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    69906276$as_echo "$INSTALL" >&6; }
    69916277
     
    70016287  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    70026288set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    7003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70046290$as_echo_n "checking for $ac_word... " >&6; }
    7005 if test "${ac_cv_prog_RANLIB+set}" = set; then
     6291if ${ac_cv_prog_RANLIB+:} false; then :
    70066292  $as_echo_n "(cached) " >&6
    70076293else
     
    70146300  IFS=$as_save_IFS
    70156301  test -z "$as_dir" && as_dir=.
    7016   for ac_exec_ext in '' $ac_executable_extensions; do
    7017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6302    for ac_exec_ext in '' $ac_executable_extensions; do
     6303  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70186304    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    7019     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6305    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70206306    break 2
    70216307  fi
    70226308done
    7023 done
     6309  done
    70246310IFS=$as_save_IFS
    70256311
     
    70286314RANLIB=$ac_cv_prog_RANLIB
    70296315if test -n "$RANLIB"; then
    7030   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     6316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    70316317$as_echo "$RANLIB" >&6; }
    70326318else
    7033   { $as_echo "$as_me:$LINENO: result: no" >&5
     6319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70346320$as_echo "no" >&6; }
    70356321fi
     
    70416327  # Extract the first word of "ranlib", so it can be a program name with args.
    70426328set dummy ranlib; ac_word=$2
    7043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70446330$as_echo_n "checking for $ac_word... " >&6; }
    7045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     6331if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    70466332  $as_echo_n "(cached) " >&6
    70476333else
     
    70546340  IFS=$as_save_IFS
    70556341  test -z "$as_dir" && as_dir=.
    7056   for ac_exec_ext in '' $ac_executable_extensions; do
    7057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6342    for ac_exec_ext in '' $ac_executable_extensions; do
     6343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70586344    ac_cv_prog_ac_ct_RANLIB="ranlib"
    7059     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70606346    break 2
    70616347  fi
    70626348done
    7063 done
     6349  done
    70646350IFS=$as_save_IFS
    70656351
     
    70686354ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    70696355if test -n "$ac_ct_RANLIB"; then
    7070   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     6356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    70716357$as_echo "$ac_ct_RANLIB" >&6; }
    70726358else
    7073   { $as_echo "$as_me:$LINENO: result: no" >&5
     6359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70746360$as_echo "no" >&6; }
    70756361fi
     
    70806366    case $cross_compiling:$ac_tool_warned in
    70816367yes:)
    7082 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    70836369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    70846370ac_tool_warned=yes ;;
     
    70906376fi
    70916377
    7092 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    70936379$as_echo_n "checking whether ln -s works... " >&6; }
    70946380LN_S=$as_ln_s
    70956381if test "$LN_S" = "ln -s"; then
    7096   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    70976383$as_echo "yes" >&6; }
    70986384else
    7099   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    71006386$as_echo "no, using $LN_S" >&6; }
    71016387fi
    71026388
    7103 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     6389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    71046390$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    71056391if test -z "$MKDIR_P"; then
    7106   if test "${ac_cv_path_mkdir+set}" = set; then
     6392  if ${ac_cv_path_mkdir+:} false; then :
    71076393  $as_echo_n "(cached) " >&6
    71086394else
     
    71126398  IFS=$as_save_IFS
    71136399  test -z "$as_dir" && as_dir=.
    7114   for ac_prog in mkdir gmkdir; do
     6400    for ac_prog in mkdir gmkdir; do
    71156401         for ac_exec_ext in '' $ac_executable_extensions; do
    7116            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     6402           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    71176403           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    71186404             'mkdir (GNU coreutils) '* | \
     
    71246410         done
    71256411       done
    7126 done
     6412  done
    71276413IFS=$as_save_IFS
    71286414
    71296415fi
    71306416
     6417  test -d ./--version && rmdir ./--version
    71316418  if test "${ac_cv_path_mkdir+set}" = set; then
    71326419    MKDIR_P="$ac_cv_path_mkdir -p"
     
    71366423    # break other packages using the cache if that directory is
    71376424    # removed, or if the value is a relative name.
    7138     test -d ./--version && rmdir ./--version
    71396425    MKDIR_P="$ac_install_sh -d"
    71406426  fi
    71416427fi
    7142 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     6428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    71436429$as_echo "$MKDIR_P" >&6; }
    71446430
     
    71526438  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    71536439set dummy ${ac_tool_prefix}gcc; ac_word=$2
    7154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71556441$as_echo_n "checking for $ac_word... " >&6; }
    7156 if test "${ac_cv_prog_CC+set}" = set; then
     6442if ${ac_cv_prog_CC+:} false; then :
    71576443  $as_echo_n "(cached) " >&6
    71586444else
     
    71656451  IFS=$as_save_IFS
    71666452  test -z "$as_dir" && as_dir=.
    7167   for ac_exec_ext in '' $ac_executable_extensions; do
    7168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6453    for ac_exec_ext in '' $ac_executable_extensions; do
     6454  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71696455    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    7170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    71716457    break 2
    71726458  fi
    71736459done
    7174 done
     6460  done
    71756461IFS=$as_save_IFS
    71766462
     
    71796465CC=$ac_cv_prog_CC
    71806466if test -n "$CC"; then
    7181   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    71826468$as_echo "$CC" >&6; }
    71836469else
    7184   { $as_echo "$as_me:$LINENO: result: no" >&5
     6470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    71856471$as_echo "no" >&6; }
    71866472fi
     
    71926478  # Extract the first word of "gcc", so it can be a program name with args.
    71936479set dummy gcc; ac_word=$2
    7194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71956481$as_echo_n "checking for $ac_word... " >&6; }
    7196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6482if ${ac_cv_prog_ac_ct_CC+:} false; then :
    71976483  $as_echo_n "(cached) " >&6
    71986484else
     
    72056491  IFS=$as_save_IFS
    72066492  test -z "$as_dir" && as_dir=.
    7207   for ac_exec_ext in '' $ac_executable_extensions; do
    7208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6493    for ac_exec_ext in '' $ac_executable_extensions; do
     6494  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72096495    ac_cv_prog_ac_ct_CC="gcc"
    7210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72116497    break 2
    72126498  fi
    72136499done
    7214 done
     6500  done
    72156501IFS=$as_save_IFS
    72166502
     
    72196505ac_ct_CC=$ac_cv_prog_ac_ct_CC
    72206506if test -n "$ac_ct_CC"; then
    7221   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    72226508$as_echo "$ac_ct_CC" >&6; }
    72236509else
    7224   { $as_echo "$as_me:$LINENO: result: no" >&5
     6510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72256511$as_echo "no" >&6; }
    72266512fi
     
    72316517    case $cross_compiling:$ac_tool_warned in
    72326518yes:)
    7233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6519{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    72346520$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    72356521ac_tool_warned=yes ;;
     
    72456531    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    72466532set dummy ${ac_tool_prefix}cc; ac_word=$2
    7247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72486534$as_echo_n "checking for $ac_word... " >&6; }
    7249 if test "${ac_cv_prog_CC+set}" = set; then
     6535if ${ac_cv_prog_CC+:} false; then :
    72506536  $as_echo_n "(cached) " >&6
    72516537else
     
    72586544  IFS=$as_save_IFS
    72596545  test -z "$as_dir" && as_dir=.
    7260   for ac_exec_ext in '' $ac_executable_extensions; do
    7261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6546    for ac_exec_ext in '' $ac_executable_extensions; do
     6547  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72626548    ac_cv_prog_CC="${ac_tool_prefix}cc"
    7263     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6549    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72646550    break 2
    72656551  fi
    72666552done
    7267 done
     6553  done
    72686554IFS=$as_save_IFS
    72696555
     
    72726558CC=$ac_cv_prog_CC
    72736559if test -n "$CC"; then
    7274   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    72756561$as_echo "$CC" >&6; }
    72766562else
    7277   { $as_echo "$as_me:$LINENO: result: no" >&5
     6563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72786564$as_echo "no" >&6; }
    72796565fi
     
    72856571  # Extract the first word of "cc", so it can be a program name with args.
    72866572set dummy cc; ac_word=$2
    7287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72886574$as_echo_n "checking for $ac_word... " >&6; }
    7289 if test "${ac_cv_prog_CC+set}" = set; then
     6575if ${ac_cv_prog_CC+:} false; then :
    72906576  $as_echo_n "(cached) " >&6
    72916577else
     
    72996585  IFS=$as_save_IFS
    73006586  test -z "$as_dir" && as_dir=.
    7301   for ac_exec_ext in '' $ac_executable_extensions; do
    7302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6587    for ac_exec_ext in '' $ac_executable_extensions; do
     6588  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73036589    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    73046590       ac_prog_rejected=yes
     
    73066592     fi
    73076593    ac_cv_prog_CC="cc"
    7308     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73096595    break 2
    73106596  fi
    73116597done
    7312 done
     6598  done
    73136599IFS=$as_save_IFS
    73146600
     
    73296615CC=$ac_cv_prog_CC
    73306616if test -n "$CC"; then
    7331   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73326618$as_echo "$CC" >&6; }
    73336619else
    7334   { $as_echo "$as_me:$LINENO: result: no" >&5
     6620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73356621$as_echo "no" >&6; }
    73366622fi
     
    73446630    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    73456631set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73476633$as_echo_n "checking for $ac_word... " >&6; }
    7348 if test "${ac_cv_prog_CC+set}" = set; then
     6634if ${ac_cv_prog_CC+:} false; then :
    73496635  $as_echo_n "(cached) " >&6
    73506636else
     
    73576643  IFS=$as_save_IFS
    73586644  test -z "$as_dir" && as_dir=.
    7359   for ac_exec_ext in '' $ac_executable_extensions; do
    7360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6645    for ac_exec_ext in '' $ac_executable_extensions; do
     6646  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73616647    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    7362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6648    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73636649    break 2
    73646650  fi
    73656651done
    7366 done
     6652  done
    73676653IFS=$as_save_IFS
    73686654
     
    73716657CC=$ac_cv_prog_CC
    73726658if test -n "$CC"; then
    7373   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73746660$as_echo "$CC" >&6; }
    73756661else
    7376   { $as_echo "$as_me:$LINENO: result: no" >&5
     6662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73776663$as_echo "no" >&6; }
    73786664fi
     
    73886674  # Extract the first word of "$ac_prog", so it can be a program name with args.
    73896675set dummy $ac_prog; ac_word=$2
    7390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73916677$as_echo_n "checking for $ac_word... " >&6; }
    7392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6678if ${ac_cv_prog_ac_ct_CC+:} false; then :
    73936679  $as_echo_n "(cached) " >&6
    73946680else
     
    74016687  IFS=$as_save_IFS
    74026688  test -z "$as_dir" && as_dir=.
    7403   for ac_exec_ext in '' $ac_executable_extensions; do
    7404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6689    for ac_exec_ext in '' $ac_executable_extensions; do
     6690  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    74056691    ac_cv_prog_ac_ct_CC="$ac_prog"
    7406     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    74076693    break 2
    74086694  fi
    74096695done
    7410 done
     6696  done
    74116697IFS=$as_save_IFS
    74126698
     
    74156701ac_ct_CC=$ac_cv_prog_ac_ct_CC
    74166702if test -n "$ac_ct_CC"; then
    7417   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    74186704$as_echo "$ac_ct_CC" >&6; }
    74196705else
    7420   { $as_echo "$as_me:$LINENO: result: no" >&5
     6706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    74216707$as_echo "no" >&6; }
    74226708fi
     
    74316717    case $cross_compiling:$ac_tool_warned in
    74326718yes:)
    7433 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    74346720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    74356721ac_tool_warned=yes ;;
     
    74426728
    74436729
    7444 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6730test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    74456731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7446 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    7447 See \`config.log' for more details." >&5
    7448 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    7449 See \`config.log' for more details." >&2;}
    7450    { (exit 1); exit 1; }; }; }
     6732as_fn_error $? "no acceptable C compiler found in \$PATH
     6733See \`config.log' for more details" "$LINENO" 5; }
    74516734
    74526735# Provide some information about the compiler.
    7453 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     6736$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    74546737set X $ac_compile
    74556738ac_compiler=$2
    7456 { (ac_try="$ac_compiler --version >&5"
     6739for ac_option in --version -v -V -qversion; do
     6740  { { ac_try="$ac_compiler $ac_option >&5"
    74576741case "(($ac_try" in
    74586742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    74596743  *) ac_try_echo=$ac_try;;
    74606744esac
    7461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7462 $as_echo "$ac_try_echo") >&5
    7463   (eval "$ac_compiler --version >&5") 2>&5
     6745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6746$as_echo "$ac_try_echo"; } >&5
     6747  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    74646748  ac_status=$?
    7465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7466   (exit $ac_status); }
    7467 { (ac_try="$ac_compiler -v >&5"
    7468 case "(($ac_try" in
    7469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7470   *) ac_try_echo=$ac_try;;
    7471 esac
    7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7473 $as_echo "$ac_try_echo") >&5
    7474   (eval "$ac_compiler -v >&5") 2>&5
    7475   ac_status=$?
    7476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7477   (exit $ac_status); }
    7478 { (ac_try="$ac_compiler -V >&5"
    7479 case "(($ac_try" in
    7480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7481   *) ac_try_echo=$ac_try;;
    7482 esac
    7483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7484 $as_echo "$ac_try_echo") >&5
    7485   (eval "$ac_compiler -V >&5") 2>&5
    7486   ac_status=$?
    7487   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7488   (exit $ac_status); }
    7489 
    7490 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     6749  if test -s conftest.err; then
     6750    sed '10a\
     6751... rest of stderr output deleted ...
     6752         10q' conftest.err >conftest.er1
     6753    cat conftest.er1 >&5
     6754  fi
     6755  rm -f conftest.er1 conftest.err
     6756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6757  test $ac_status = 0; }
     6758done
     6759
     6760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    74916761$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    7492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     6762if ${ac_cv_c_compiler_gnu+:} false; then :
    74936763  $as_echo_n "(cached) " >&6
    74946764else
    7495   cat >conftest.$ac_ext <<_ACEOF
    7496 /* confdefs.h.  */
    7497 _ACEOF
    7498 cat confdefs.h >>conftest.$ac_ext
    7499 cat >>conftest.$ac_ext <<_ACEOF
     6765  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75006766/* end confdefs.h.  */
    75016767
     
    75116777}
    75126778_ACEOF
    7513 rm -f conftest.$ac_objext
    7514 if { (ac_try="$ac_compile"
    7515 case "(($ac_try" in
    7516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7517   *) ac_try_echo=$ac_try;;
    7518 esac
    7519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7520 $as_echo "$ac_try_echo") >&5
    7521   (eval "$ac_compile") 2>conftest.er1
    7522   ac_status=$?
    7523   grep -v '^ *+' conftest.er1 >conftest.err
    7524   rm -f conftest.er1
    7525   cat conftest.err >&5
    7526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7527   (exit $ac_status); } && {
    7528          test -z "$ac_c_werror_flag" ||
    7529          test ! -s conftest.err
    7530        } && test -s conftest.$ac_objext; then
     6779if ac_fn_c_try_compile "$LINENO"; then :
    75316780  ac_compiler_gnu=yes
    75326781else
    7533   $as_echo "$as_me: failed program was:" >&5
    7534 sed 's/^/| /' conftest.$ac_ext >&5
    7535 
    7536         ac_compiler_gnu=no
    7537 fi
    7538 
     6782  ac_compiler_gnu=no
     6783fi
    75396784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75406785ac_cv_c_compiler_gnu=$ac_compiler_gnu
    75416786
    75426787fi
    7543 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    75446789$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    75456790if test $ac_compiler_gnu = yes; then
     
    75506795ac_test_CFLAGS=${CFLAGS+set}
    75516796ac_save_CFLAGS=$CFLAGS
    7552 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    75536798$as_echo_n "checking whether $CC accepts -g... " >&6; }
    7554 if test "${ac_cv_prog_cc_g+set}" = set; then
     6799if ${ac_cv_prog_cc_g+:} false; then :
    75556800  $as_echo_n "(cached) " >&6
    75566801else
     
    75596804   ac_cv_prog_cc_g=no
    75606805   CFLAGS="-g"
    7561    cat >conftest.$ac_ext <<_ACEOF
    7562 /* confdefs.h.  */
    7563 _ACEOF
    7564 cat confdefs.h >>conftest.$ac_ext
    7565 cat >>conftest.$ac_ext <<_ACEOF
     6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75666807/* end confdefs.h.  */
    75676808
     
    75746815}
    75756816_ACEOF
    7576 rm -f conftest.$ac_objext
    7577 if { (ac_try="$ac_compile"
    7578 case "(($ac_try" in
    7579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7580   *) ac_try_echo=$ac_try;;
    7581 esac
    7582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7583 $as_echo "$ac_try_echo") >&5
    7584   (eval "$ac_compile") 2>conftest.er1
    7585   ac_status=$?
    7586   grep -v '^ *+' conftest.er1 >conftest.err
    7587   rm -f conftest.er1
    7588   cat conftest.err >&5
    7589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7590   (exit $ac_status); } && {
    7591          test -z "$ac_c_werror_flag" ||
    7592          test ! -s conftest.err
    7593        } && test -s conftest.$ac_objext; then
     6817if ac_fn_c_try_compile "$LINENO"; then :
    75946818  ac_cv_prog_cc_g=yes
    75956819else
    7596   $as_echo "$as_me: failed program was:" >&5
    7597 sed 's/^/| /' conftest.$ac_ext >&5
    7598 
    7599         CFLAGS=""
    7600       cat >conftest.$ac_ext <<_ACEOF
    7601 /* confdefs.h.  */
    7602 _ACEOF
    7603 cat confdefs.h >>conftest.$ac_ext
    7604 cat >>conftest.$ac_ext <<_ACEOF
     6820  CFLAGS=""
     6821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76056822/* end confdefs.h.  */
    76066823
     
    76136830}
    76146831_ACEOF
    7615 rm -f conftest.$ac_objext
    7616 if { (ac_try="$ac_compile"
    7617 case "(($ac_try" in
    7618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7619   *) ac_try_echo=$ac_try;;
    7620 esac
    7621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7622 $as_echo "$ac_try_echo") >&5
    7623   (eval "$ac_compile") 2>conftest.er1
    7624   ac_status=$?
    7625   grep -v '^ *+' conftest.er1 >conftest.err
    7626   rm -f conftest.er1
    7627   cat conftest.err >&5
    7628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7629   (exit $ac_status); } && {
    7630          test -z "$ac_c_werror_flag" ||
    7631          test ! -s conftest.err
    7632        } && test -s conftest.$ac_objext; then
    7633   :
    7634 else
    7635   $as_echo "$as_me: failed program was:" >&5
    7636 sed 's/^/| /' conftest.$ac_ext >&5
    7637 
    7638         ac_c_werror_flag=$ac_save_c_werror_flag
     6832if ac_fn_c_try_compile "$LINENO"; then :
     6833
     6834else
     6835  ac_c_werror_flag=$ac_save_c_werror_flag
    76396836         CFLAGS="-g"
    7640          cat >conftest.$ac_ext <<_ACEOF
    7641 /* confdefs.h.  */
    7642 _ACEOF
    7643 cat confdefs.h >>conftest.$ac_ext
    7644 cat >>conftest.$ac_ext <<_ACEOF
     6837         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76456838/* end confdefs.h.  */
    76466839
     
    76536846}
    76546847_ACEOF
    7655 rm -f conftest.$ac_objext
    7656 if { (ac_try="$ac_compile"
    7657 case "(($ac_try" in
    7658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7659   *) ac_try_echo=$ac_try;;
    7660 esac
    7661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7662 $as_echo "$ac_try_echo") >&5
    7663   (eval "$ac_compile") 2>conftest.er1
    7664   ac_status=$?
    7665   grep -v '^ *+' conftest.er1 >conftest.err
    7666   rm -f conftest.er1
    7667   cat conftest.err >&5
    7668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7669   (exit $ac_status); } && {
    7670          test -z "$ac_c_werror_flag" ||
    7671          test ! -s conftest.err
    7672        } && test -s conftest.$ac_objext; then
     6848if ac_fn_c_try_compile "$LINENO"; then :
    76736849  ac_cv_prog_cc_g=yes
    7674 else
    7675   $as_echo "$as_me: failed program was:" >&5
    7676 sed 's/^/| /' conftest.$ac_ext >&5
    7677 
    7678 
    7679 fi
    7680 
     6850fi
    76816851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76826852fi
    7683 
    76846853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76856854fi
    7686 
    76876855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76886856   ac_c_werror_flag=$ac_save_c_werror_flag
    76896857fi
    7690 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    76916859$as_echo "$ac_cv_prog_cc_g" >&6; }
    76926860if test "$ac_test_CFLAGS" = set; then
     
    77056873  fi
    77066874fi
    7707 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    77086876$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    7709 if test "${ac_cv_prog_cc_c89+set}" = set; then
     6877if ${ac_cv_prog_cc_c89+:} false; then :
    77106878  $as_echo_n "(cached) " >&6
    77116879else
    77126880  ac_cv_prog_cc_c89=no
    77136881ac_save_CC=$CC
    7714 cat >conftest.$ac_ext <<_ACEOF
    7715 /* confdefs.h.  */
    7716 _ACEOF
    7717 cat confdefs.h >>conftest.$ac_ext
    7718 cat >>conftest.$ac_ext <<_ACEOF
     6882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    77196883/* end confdefs.h.  */
    77206884#include <stdarg.h>
    77216885#include <stdio.h>
    7722 #include <sys/types.h>
    7723 #include <sys/stat.h>
     6886struct stat;
    77246887/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    77256888struct buf { int x; };
     
    77736936do
    77746937  CC="$ac_save_CC $ac_arg"
    7775   rm -f conftest.$ac_objext
    7776 if { (ac_try="$ac_compile"
    7777 case "(($ac_try" in
    7778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7779   *) ac_try_echo=$ac_try;;
    7780 esac
    7781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7782 $as_echo "$ac_try_echo") >&5
    7783   (eval "$ac_compile") 2>conftest.er1
    7784   ac_status=$?
    7785   grep -v '^ *+' conftest.er1 >conftest.err
    7786   rm -f conftest.er1
    7787   cat conftest.err >&5
    7788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7789   (exit $ac_status); } && {
    7790          test -z "$ac_c_werror_flag" ||
    7791          test ! -s conftest.err
    7792        } && test -s conftest.$ac_objext; then
     6938  if ac_fn_c_try_compile "$LINENO"; then :
    77936939  ac_cv_prog_cc_c89=$ac_arg
    7794 else
    7795   $as_echo "$as_me: failed program was:" >&5
    7796 sed 's/^/| /' conftest.$ac_ext >&5
    7797 
    7798 
    7799 fi
    7800 
     6940fi
    78016941rm -f core conftest.err conftest.$ac_objext
    78026942  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    78096949case "x$ac_cv_prog_cc_c89" in
    78106950  x)
    7811     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     6951    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    78126952$as_echo "none needed" >&6; } ;;
    78136953  xno)
    7814     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     6954    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    78156955$as_echo "unsupported" >&6; } ;;
    78166956  *)
    78176957    CC="$CC $ac_cv_prog_cc_c89"
    7818     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6958    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    78196959$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    78206960esac
    7821 
     6961if test "x$ac_cv_prog_cc_c89" != xno; then :
     6962
     6963fi
    78226964
    78236965ac_ext=c
     
    78326974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    78336975ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7834 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     6976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    78356977$as_echo_n "checking how to run the C preprocessor... " >&6; }
    78366978# On Suns, sometimes $CPP names a directory.
     
    78396981fi
    78406982if test -z "$CPP"; then
    7841   if test "${ac_cv_prog_CPP+set}" = set; then
     6983  if ${ac_cv_prog_CPP+:} false; then :
    78426984  $as_echo_n "(cached) " >&6
    78436985else
     
    78546996  # On the NeXT, cc -E runs the code through the compiler's parser,
    78556997  # not just through cpp. "Syntax error" is here to catch this case.
    7856   cat >conftest.$ac_ext <<_ACEOF
    7857 /* confdefs.h.  */
    7858 _ACEOF
    7859 cat confdefs.h >>conftest.$ac_ext
    7860 cat >>conftest.$ac_ext <<_ACEOF
     6998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78616999/* end confdefs.h.  */
    78627000#ifdef __STDC__
     
    78677005                     Syntax error
    78687006_ACEOF
    7869 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7870 case "(($ac_try" in
    7871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7872   *) ac_try_echo=$ac_try;;
    7873 esac
    7874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7875 $as_echo "$ac_try_echo") >&5
    7876   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7877   ac_status=$?
    7878   grep -v '^ *+' conftest.er1 >conftest.err
    7879   rm -f conftest.er1
    7880   cat conftest.err >&5
    7881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7882   (exit $ac_status); } >/dev/null && {
    7883          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7884          test ! -s conftest.err
    7885        }; then
    7886   :
    7887 else
    7888   $as_echo "$as_me: failed program was:" >&5
    7889 sed 's/^/| /' conftest.$ac_ext >&5
    7890 
     7007if ac_fn_c_try_cpp "$LINENO"; then :
     7008
     7009else
    78917010  # Broken: fails on valid input.
    78927011continue
    78937012fi
    7894 
    7895 rm -f conftest.err conftest.$ac_ext
     7013rm -f conftest.err conftest.i conftest.$ac_ext
    78967014
    78977015  # OK, works on sane cases.  Now check whether nonexistent headers
    78987016  # can be detected and how.
    7899   cat >conftest.$ac_ext <<_ACEOF
    7900 /* confdefs.h.  */
    7901 _ACEOF
    7902 cat confdefs.h >>conftest.$ac_ext
    7903 cat >>conftest.$ac_ext <<_ACEOF
     7017  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79047018/* end confdefs.h.  */
    79057019#include <ac_nonexistent.h>
    79067020_ACEOF
    7907 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7908 case "(($ac_try" in
    7909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7910   *) ac_try_echo=$ac_try;;
    7911 esac
    7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7913 $as_echo "$ac_try_echo") >&5
    7914   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7915   ac_status=$?
    7916   grep -v '^ *+' conftest.er1 >conftest.err
    7917   rm -f conftest.er1
    7918   cat conftest.err >&5
    7919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7920   (exit $ac_status); } >/dev/null && {
    7921          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7922          test ! -s conftest.err
    7923        }; then
     7021if ac_fn_c_try_cpp "$LINENO"; then :
    79247022  # Broken: success on invalid input.
    79257023continue
    79267024else
    7927   $as_echo "$as_me: failed program was:" >&5
    7928 sed 's/^/| /' conftest.$ac_ext >&5
    7929 
    79307025  # Passes both tests.
    79317026ac_preproc_ok=:
    79327027break
    79337028fi
    7934 
    7935 rm -f conftest.err conftest.$ac_ext
     7029rm -f conftest.err conftest.i conftest.$ac_ext
    79367030
    79377031done
    79387032# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7939 rm -f conftest.err conftest.$ac_ext
    7940 if $ac_preproc_ok; then
     7033rm -f conftest.i conftest.err conftest.$ac_ext
     7034if $ac_preproc_ok; then :
    79417035  break
    79427036fi
     
    79507044  ac_cv_prog_CPP=$CPP
    79517045fi
    7952 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     7046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    79537047$as_echo "$CPP" >&6; }
    79547048ac_preproc_ok=false
     
    79617055  # On the NeXT, cc -E runs the code through the compiler's parser,
    79627056  # not just through cpp. "Syntax error" is here to catch this case.
    7963   cat >conftest.$ac_ext <<_ACEOF
    7964 /* confdefs.h.  */
    7965 _ACEOF
    7966 cat confdefs.h >>conftest.$ac_ext
    7967 cat >>conftest.$ac_ext <<_ACEOF
     7057  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79687058/* end confdefs.h.  */
    79697059#ifdef __STDC__
     
    79747064                     Syntax error
    79757065_ACEOF
    7976 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7977 case "(($ac_try" in
    7978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7979   *) ac_try_echo=$ac_try;;
    7980 esac
    7981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7982 $as_echo "$ac_try_echo") >&5
    7983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7984   ac_status=$?
    7985   grep -v '^ *+' conftest.er1 >conftest.err
    7986   rm -f conftest.er1
    7987   cat conftest.err >&5
    7988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7989   (exit $ac_status); } >/dev/null && {
    7990          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7991          test ! -s conftest.err
    7992        }; then
    7993   :
    7994 else
    7995   $as_echo "$as_me: failed program was:" >&5
    7996 sed 's/^/| /' conftest.$ac_ext >&5
    7997 
     7066if ac_fn_c_try_cpp "$LINENO"; then :
     7067
     7068else
    79987069  # Broken: fails on valid input.
    79997070continue
    80007071fi
    8001 
    8002 rm -f conftest.err conftest.$ac_ext
     7072rm -f conftest.err conftest.i conftest.$ac_ext
    80037073
    80047074  # OK, works on sane cases.  Now check whether nonexistent headers
    80057075  # can be detected and how.
    8006   cat >conftest.$ac_ext <<_ACEOF
    8007 /* confdefs.h.  */
    8008 _ACEOF
    8009 cat confdefs.h >>conftest.$ac_ext
    8010 cat >>conftest.$ac_ext <<_ACEOF
     7076  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80117077/* end confdefs.h.  */
    80127078#include <ac_nonexistent.h>
    80137079_ACEOF
    8014 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8015 case "(($ac_try" in
    8016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8017   *) ac_try_echo=$ac_try;;
    8018 esac
    8019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8020 $as_echo "$ac_try_echo") >&5
    8021   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8022   ac_status=$?
    8023   grep -v '^ *+' conftest.er1 >conftest.err
    8024   rm -f conftest.er1
    8025   cat conftest.err >&5
    8026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8027   (exit $ac_status); } >/dev/null && {
    8028          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8029          test ! -s conftest.err
    8030        }; then
     7080if ac_fn_c_try_cpp "$LINENO"; then :
    80317081  # Broken: success on invalid input.
    80327082continue
    80337083else
    8034   $as_echo "$as_me: failed program was:" >&5
    8035 sed 's/^/| /' conftest.$ac_ext >&5
    8036 
    80377084  # Passes both tests.
    80387085ac_preproc_ok=:
    80397086break
    80407087fi
    8041 
    8042 rm -f conftest.err conftest.$ac_ext
     7088rm -f conftest.err conftest.i conftest.$ac_ext
    80437089
    80447090done
    80457091# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8046 rm -f conftest.err conftest.$ac_ext
    8047 if $ac_preproc_ok; then
    8048   :
    8049 else
    8050   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7092rm -f conftest.i conftest.err conftest.$ac_ext
     7093if $ac_preproc_ok; then :
     7094
     7095else
     7096  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    80517097$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8052 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    8053 See \`config.log' for more details." >&5
    8054 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    8055 See \`config.log' for more details." >&2;}
    8056    { (exit 1); exit 1; }; }; }
     7098as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7099See \`config.log' for more details" "$LINENO" 5; }
    80577100fi
    80587101
     
    80777120    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    80787121set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    80807123$as_echo_n "checking for $ac_word... " >&6; }
    8081 if test "${ac_cv_prog_CXX+set}" = set; then
     7124if ${ac_cv_prog_CXX+:} false; then :
    80827125  $as_echo_n "(cached) " >&6
    80837126else
     
    80907133  IFS=$as_save_IFS
    80917134  test -z "$as_dir" && as_dir=.
    8092   for ac_exec_ext in '' $ac_executable_extensions; do
    8093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7135    for ac_exec_ext in '' $ac_executable_extensions; do
     7136  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    80947137    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    80967139    break 2
    80977140  fi
    80987141done
    8099 done
     7142  done
    81007143IFS=$as_save_IFS
    81017144
     
    81047147CXX=$ac_cv_prog_CXX
    81057148if test -n "$CXX"; then
    8106   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    81077150$as_echo "$CXX" >&6; }
    81087151else
    8109   { $as_echo "$as_me:$LINENO: result: no" >&5
     7152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81107153$as_echo "no" >&6; }
    81117154fi
     
    81217164  # Extract the first word of "$ac_prog", so it can be a program name with args.
    81227165set dummy $ac_prog; ac_word=$2
    8123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    81247167$as_echo_n "checking for $ac_word... " >&6; }
    8125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7168if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    81267169  $as_echo_n "(cached) " >&6
    81277170else
     
    81347177  IFS=$as_save_IFS
    81357178  test -z "$as_dir" && as_dir=.
    8136   for ac_exec_ext in '' $ac_executable_extensions; do
    8137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7179    for ac_exec_ext in '' $ac_executable_extensions; do
     7180  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    81387181    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7182    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    81407183    break 2
    81417184  fi
    81427185done
    8143 done
     7186  done
    81447187IFS=$as_save_IFS
    81457188
     
    81487191ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    81497192if test -n "$ac_ct_CXX"; then
    8150   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    81517194$as_echo "$ac_ct_CXX" >&6; }
    81527195else
    8153   { $as_echo "$as_me:$LINENO: result: no" >&5
     7196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81547197$as_echo "no" >&6; }
    81557198fi
     
    81647207    case $cross_compiling:$ac_tool_warned in
    81657208yes:)
    8166 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    81677210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    81687211ac_tool_warned=yes ;;
     
    81757218fi
    81767219# Provide some information about the compiler.
    8177 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7220$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    81787221set X $ac_compile
    81797222ac_compiler=$2
    8180 { (ac_try="$ac_compiler --version >&5"
     7223for ac_option in --version -v -V -qversion; do
     7224  { { ac_try="$ac_compiler $ac_option >&5"
    81817225case "(($ac_try" in
    81827226  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    81837227  *) ac_try_echo=$ac_try;;
    81847228esac
    8185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8186 $as_echo "$ac_try_echo") >&5
    8187   (eval "$ac_compiler --version >&5") 2>&5
     7229eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7230$as_echo "$ac_try_echo"; } >&5
     7231  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    81887232  ac_status=$?
    8189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8190   (exit $ac_status); }
    8191 { (ac_try="$ac_compiler -v >&5"
    8192 case "(($ac_try" in
    8193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8194   *) ac_try_echo=$ac_try;;
    8195 esac
    8196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8197 $as_echo "$ac_try_echo") >&5
    8198   (eval "$ac_compiler -v >&5") 2>&5
    8199   ac_status=$?
    8200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8201   (exit $ac_status); }
    8202 { (ac_try="$ac_compiler -V >&5"
    8203 case "(($ac_try" in
    8204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8205   *) ac_try_echo=$ac_try;;
    8206 esac
    8207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8208 $as_echo "$ac_try_echo") >&5
    8209   (eval "$ac_compiler -V >&5") 2>&5
    8210   ac_status=$?
    8211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8212   (exit $ac_status); }
    8213 
    8214 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7233  if test -s conftest.err; then
     7234    sed '10a\
     7235... rest of stderr output deleted ...
     7236         10q' conftest.err >conftest.er1
     7237    cat conftest.er1 >&5
     7238  fi
     7239  rm -f conftest.er1 conftest.err
     7240  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7241  test $ac_status = 0; }
     7242done
     7243
     7244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    82157245$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8216 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7246if ${ac_cv_cxx_compiler_gnu+:} false; then :
    82177247  $as_echo_n "(cached) " >&6
    82187248else
    8219   cat >conftest.$ac_ext <<_ACEOF
    8220 /* confdefs.h.  */
    8221 _ACEOF
    8222 cat confdefs.h >>conftest.$ac_ext
    8223 cat >>conftest.$ac_ext <<_ACEOF
     7249  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82247250/* end confdefs.h.  */
    82257251
     
    82357261}
    82367262_ACEOF
    8237 rm -f conftest.$ac_objext
    8238 if { (ac_try="$ac_compile"
    8239 case "(($ac_try" in
    8240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8241   *) ac_try_echo=$ac_try;;
    8242 esac
    8243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8244 $as_echo "$ac_try_echo") >&5
    8245   (eval "$ac_compile") 2>conftest.er1
    8246   ac_status=$?
    8247   grep -v '^ *+' conftest.er1 >conftest.err
    8248   rm -f conftest.er1
    8249   cat conftest.err >&5
    8250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8251   (exit $ac_status); } && {
    8252          test -z "$ac_cxx_werror_flag" ||
    8253          test ! -s conftest.err
    8254        } && test -s conftest.$ac_objext; then
     7263if ac_fn_cxx_try_compile "$LINENO"; then :
    82557264  ac_compiler_gnu=yes
    82567265else
    8257   $as_echo "$as_me: failed program was:" >&5
    8258 sed 's/^/| /' conftest.$ac_ext >&5
    8259 
    8260         ac_compiler_gnu=no
    8261 fi
    8262 
     7266  ac_compiler_gnu=no
     7267fi
    82637268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    82647269ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    82657270
    82667271fi
    8267 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    82687273$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    82697274if test $ac_compiler_gnu = yes; then
     
    82747279ac_test_CXXFLAGS=${CXXFLAGS+set}
    82757280ac_save_CXXFLAGS=$CXXFLAGS
    8276 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    82777282$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8278 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7283if ${ac_cv_prog_cxx_g+:} false; then :
    82797284  $as_echo_n "(cached) " >&6
    82807285else
     
    82837288   ac_cv_prog_cxx_g=no
    82847289   CXXFLAGS="-g"
    8285    cat >conftest.$ac_ext <<_ACEOF
    8286 /* confdefs.h.  */
    8287 _ACEOF
    8288 cat confdefs.h >>conftest.$ac_ext
    8289 cat >>conftest.$ac_ext <<_ACEOF
     7290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82907291/* end confdefs.h.  */
    82917292
     
    82987299}
    82997300_ACEOF
    8300 rm -f conftest.$ac_objext
    8301 if { (ac_try="$ac_compile"
    8302 case "(($ac_try" in
    8303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8304   *) ac_try_echo=$ac_try;;
    8305 esac
    8306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8307 $as_echo "$ac_try_echo") >&5
    8308   (eval "$ac_compile") 2>conftest.er1
    8309   ac_status=$?
    8310   grep -v '^ *+' conftest.er1 >conftest.err
    8311   rm -f conftest.er1
    8312   cat conftest.err >&5
    8313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8314   (exit $ac_status); } && {
    8315          test -z "$ac_cxx_werror_flag" ||
    8316          test ! -s conftest.err
    8317        } && test -s conftest.$ac_objext; then
     7301if ac_fn_cxx_try_compile "$LINENO"; then :
    83187302  ac_cv_prog_cxx_g=yes
    83197303else
    8320   $as_echo "$as_me: failed program was:" >&5
    8321 sed 's/^/| /' conftest.$ac_ext >&5
    8322 
    8323         CXXFLAGS=""
    8324       cat >conftest.$ac_ext <<_ACEOF
    8325 /* confdefs.h.  */
    8326 _ACEOF
    8327 cat confdefs.h >>conftest.$ac_ext
    8328 cat >>conftest.$ac_ext <<_ACEOF
     7304  CXXFLAGS=""
     7305      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83297306/* end confdefs.h.  */
    83307307
     
    83377314}
    83387315_ACEOF
    8339 rm -f conftest.$ac_objext
    8340 if { (ac_try="$ac_compile"
    8341 case "(($ac_try" in
    8342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8343   *) ac_try_echo=$ac_try;;
    8344 esac
    8345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8346 $as_echo "$ac_try_echo") >&5
    8347   (eval "$ac_compile") 2>conftest.er1
    8348   ac_status=$?
    8349   grep -v '^ *+' conftest.er1 >conftest.err
    8350   rm -f conftest.er1
    8351   cat conftest.err >&5
    8352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8353   (exit $ac_status); } && {
    8354          test -z "$ac_cxx_werror_flag" ||
    8355          test ! -s conftest.err
    8356        } && test -s conftest.$ac_objext; then
    8357   :
    8358 else
    8359   $as_echo "$as_me: failed program was:" >&5
    8360 sed 's/^/| /' conftest.$ac_ext >&5
    8361 
    8362         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7316if ac_fn_cxx_try_compile "$LINENO"; then :
     7317
     7318else
     7319  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83637320         CXXFLAGS="-g"
    8364          cat >conftest.$ac_ext <<_ACEOF
    8365 /* confdefs.h.  */
    8366 _ACEOF
    8367 cat confdefs.h >>conftest.$ac_ext
    8368 cat >>conftest.$ac_ext <<_ACEOF
     7321         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83697322/* end confdefs.h.  */
    83707323
     
    83777330}
    83787331_ACEOF
    8379 rm -f conftest.$ac_objext
    8380 if { (ac_try="$ac_compile"
    8381 case "(($ac_try" in
    8382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8383   *) ac_try_echo=$ac_try;;
    8384 esac
    8385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8386 $as_echo "$ac_try_echo") >&5
    8387   (eval "$ac_compile") 2>conftest.er1
    8388   ac_status=$?
    8389   grep -v '^ *+' conftest.er1 >conftest.err
    8390   rm -f conftest.er1
    8391   cat conftest.err >&5
    8392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8393   (exit $ac_status); } && {
    8394          test -z "$ac_cxx_werror_flag" ||
    8395          test ! -s conftest.err
    8396        } && test -s conftest.$ac_objext; then
     7332if ac_fn_cxx_try_compile "$LINENO"; then :
    83977333  ac_cv_prog_cxx_g=yes
    8398 else
    8399   $as_echo "$as_me: failed program was:" >&5
    8400 sed 's/^/| /' conftest.$ac_ext >&5
    8401 
    8402 
    8403 fi
    8404 
     7334fi
    84057335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84067336fi
    8407 
    84087337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84097338fi
    8410 
    84117339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84127340   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    84137341fi
    8414 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    84157343$as_echo "$ac_cv_prog_cxx_g" >&6; }
    84167344if test "$ac_test_CXXFLAGS" = set; then
     
    84407368ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    84417369ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    8442 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     7370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    84437371$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    84447372if test -z "$CXXCPP"; then
    8445   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     7373  if ${ac_cv_prog_CXXCPP+:} false; then :
    84467374  $as_echo_n "(cached) " >&6
    84477375else
     
    84587386  # On the NeXT, cc -E runs the code through the compiler's parser,
    84597387  # not just through cpp. "Syntax error" is here to catch this case.
    8460   cat >conftest.$ac_ext <<_ACEOF
    8461 /* confdefs.h.  */
    8462 _ACEOF
    8463 cat confdefs.h >>conftest.$ac_ext
    8464 cat >>conftest.$ac_ext <<_ACEOF
     7388  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84657389/* end confdefs.h.  */
    84667390#ifdef __STDC__
     
    84717395                     Syntax error
    84727396_ACEOF
    8473 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8474 case "(($ac_try" in
    8475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8476   *) ac_try_echo=$ac_try;;
    8477 esac
    8478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8479 $as_echo "$ac_try_echo") >&5
    8480   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8481   ac_status=$?
    8482   grep -v '^ *+' conftest.er1 >conftest.err
    8483   rm -f conftest.er1
    8484   cat conftest.err >&5
    8485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8486   (exit $ac_status); } >/dev/null && {
    8487          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8488          test ! -s conftest.err
    8489        }; then
    8490   :
    8491 else
    8492   $as_echo "$as_me: failed program was:" >&5
    8493 sed 's/^/| /' conftest.$ac_ext >&5
    8494 
     7397if ac_fn_cxx_try_cpp "$LINENO"; then :
     7398
     7399else
    84957400  # Broken: fails on valid input.
    84967401continue
    84977402fi
    8498 
    8499 rm -f conftest.err conftest.$ac_ext
     7403rm -f conftest.err conftest.i conftest.$ac_ext
    85007404
    85017405  # OK, works on sane cases.  Now check whether nonexistent headers
    85027406  # can be detected and how.
    8503   cat >conftest.$ac_ext <<_ACEOF
    8504 /* confdefs.h.  */
    8505 _ACEOF
    8506 cat confdefs.h >>conftest.$ac_ext
    8507 cat >>conftest.$ac_ext <<_ACEOF
     7407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85087408/* end confdefs.h.  */
    85097409#include <ac_nonexistent.h>
    85107410_ACEOF
    8511 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8512 case "(($ac_try" in
    8513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8514   *) ac_try_echo=$ac_try;;
    8515 esac
    8516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8517 $as_echo "$ac_try_echo") >&5
    8518   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8519   ac_status=$?
    8520   grep -v '^ *+' conftest.er1 >conftest.err
    8521   rm -f conftest.er1
    8522   cat conftest.err >&5
    8523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8524   (exit $ac_status); } >/dev/null && {
    8525          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8526          test ! -s conftest.err
    8527        }; then
     7411if ac_fn_cxx_try_cpp "$LINENO"; then :
    85287412  # Broken: success on invalid input.
    85297413continue
    85307414else
    8531   $as_echo "$as_me: failed program was:" >&5
    8532 sed 's/^/| /' conftest.$ac_ext >&5
    8533 
    85347415  # Passes both tests.
    85357416ac_preproc_ok=:
    85367417break
    85377418fi
    8538 
    8539 rm -f conftest.err conftest.$ac_ext
     7419rm -f conftest.err conftest.i conftest.$ac_ext
    85407420
    85417421done
    85427422# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8543 rm -f conftest.err conftest.$ac_ext
    8544 if $ac_preproc_ok; then
     7423rm -f conftest.i conftest.err conftest.$ac_ext
     7424if $ac_preproc_ok; then :
    85457425  break
    85467426fi
     
    85547434  ac_cv_prog_CXXCPP=$CXXCPP
    85557435fi
    8556 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    85577437$as_echo "$CXXCPP" >&6; }
    85587438ac_preproc_ok=false
     
    85657445  # On the NeXT, cc -E runs the code through the compiler's parser,
    85667446  # not just through cpp. "Syntax error" is here to catch this case.
    8567   cat >conftest.$ac_ext <<_ACEOF
    8568 /* confdefs.h.  */
    8569 _ACEOF
    8570 cat confdefs.h >>conftest.$ac_ext
    8571 cat >>conftest.$ac_ext <<_ACEOF
     7447  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85727448/* end confdefs.h.  */
    85737449#ifdef __STDC__
     
    85787454                     Syntax error
    85797455_ACEOF
    8580 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8581 case "(($ac_try" in
    8582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8583   *) ac_try_echo=$ac_try;;
    8584 esac
    8585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8586 $as_echo "$ac_try_echo") >&5
    8587   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8588   ac_status=$?
    8589   grep -v '^ *+' conftest.er1 >conftest.err
    8590   rm -f conftest.er1
    8591   cat conftest.err >&5
    8592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8593   (exit $ac_status); } >/dev/null && {
    8594          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8595          test ! -s conftest.err
    8596        }; then
    8597   :
    8598 else
    8599   $as_echo "$as_me: failed program was:" >&5
    8600 sed 's/^/| /' conftest.$ac_ext >&5
    8601 
     7456if ac_fn_cxx_try_cpp "$LINENO"; then :
     7457
     7458else
    86027459  # Broken: fails on valid input.
    86037460continue
    86047461fi
    8605 
    8606 rm -f conftest.err conftest.$ac_ext
     7462rm -f conftest.err conftest.i conftest.$ac_ext
    86077463
    86087464  # OK, works on sane cases.  Now check whether nonexistent headers
    86097465  # can be detected and how.
    8610   cat >conftest.$ac_ext <<_ACEOF
    8611 /* confdefs.h.  */
    8612 _ACEOF
    8613 cat confdefs.h >>conftest.$ac_ext
    8614 cat >>conftest.$ac_ext <<_ACEOF
     7466  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86157467/* end confdefs.h.  */
    86167468#include <ac_nonexistent.h>
    86177469_ACEOF
    8618 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8619 case "(($ac_try" in
    8620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8621   *) ac_try_echo=$ac_try;;
    8622 esac
    8623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8624 $as_echo "$ac_try_echo") >&5
    8625   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8626   ac_status=$?
    8627   grep -v '^ *+' conftest.er1 >conftest.err
    8628   rm -f conftest.er1
    8629   cat conftest.err >&5
    8630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8631   (exit $ac_status); } >/dev/null && {
    8632          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8633          test ! -s conftest.err
    8634        }; then
     7470if ac_fn_cxx_try_cpp "$LINENO"; then :
    86357471  # Broken: success on invalid input.
    86367472continue
    86377473else
    8638   $as_echo "$as_me: failed program was:" >&5
    8639 sed 's/^/| /' conftest.$ac_ext >&5
    8640 
    86417474  # Passes both tests.
    86427475ac_preproc_ok=:
    86437476break
    86447477fi
    8645 
    8646 rm -f conftest.err conftest.$ac_ext
     7478rm -f conftest.err conftest.i conftest.$ac_ext
    86477479
    86487480done
    86497481# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8650 rm -f conftest.err conftest.$ac_ext
    8651 if $ac_preproc_ok; then
    8652   :
    8653 else
    8654   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7482rm -f conftest.i conftest.err conftest.$ac_ext
     7483if $ac_preproc_ok; then :
     7484
     7485else
     7486  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    86557487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8656 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8657 See \`config.log' for more details." >&5
    8658 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8659 See \`config.log' for more details." >&2;}
    8660    { (exit 1); exit 1; }; }; }
     7488as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     7489See \`config.log' for more details" "$LINENO" 5; }
    86617490fi
    86627491
     
    86817510    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    86827511set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    86847513$as_echo_n "checking for $ac_word... " >&6; }
    8685 if test "${ac_cv_prog_CXX+set}" = set; then
     7514if ${ac_cv_prog_CXX+:} false; then :
    86867515  $as_echo_n "(cached) " >&6
    86877516else
     
    86947523  IFS=$as_save_IFS
    86957524  test -z "$as_dir" && as_dir=.
    8696   for ac_exec_ext in '' $ac_executable_extensions; do
    8697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7525    for ac_exec_ext in '' $ac_executable_extensions; do
     7526  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    86987527    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8699     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    87007529    break 2
    87017530  fi
    87027531done
    8703 done
     7532  done
    87047533IFS=$as_save_IFS
    87057534
     
    87087537CXX=$ac_cv_prog_CXX
    87097538if test -n "$CXX"; then
    8710   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7539  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    87117540$as_echo "$CXX" >&6; }
    87127541else
    8713   { $as_echo "$as_me:$LINENO: result: no" >&5
     7542  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87147543$as_echo "no" >&6; }
    87157544fi
     
    87257554  # Extract the first word of "$ac_prog", so it can be a program name with args.
    87267555set dummy $ac_prog; ac_word=$2
    8727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    87287557$as_echo_n "checking for $ac_word... " >&6; }
    8729 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7558if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    87307559  $as_echo_n "(cached) " >&6
    87317560else
     
    87387567  IFS=$as_save_IFS
    87397568  test -z "$as_dir" && as_dir=.
    8740   for ac_exec_ext in '' $ac_executable_extensions; do
    8741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7569    for ac_exec_ext in '' $ac_executable_extensions; do
     7570  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    87427571    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7572    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    87447573    break 2
    87457574  fi
    87467575done
    8747 done
     7576  done
    87487577IFS=$as_save_IFS
    87497578
     
    87527581ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    87537582if test -n "$ac_ct_CXX"; then
    8754   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    87557584$as_echo "$ac_ct_CXX" >&6; }
    87567585else
    8757   { $as_echo "$as_me:$LINENO: result: no" >&5
     7586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87587587$as_echo "no" >&6; }
    87597588fi
     
    87687597    case $cross_compiling:$ac_tool_warned in
    87697598yes:)
    8770 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    87717600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    87727601ac_tool_warned=yes ;;
     
    87797608fi
    87807609# Provide some information about the compiler.
    8781 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7610$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    87827611set X $ac_compile
    87837612ac_compiler=$2
    8784 { (ac_try="$ac_compiler --version >&5"
     7613for ac_option in --version -v -V -qversion; do
     7614  { { ac_try="$ac_compiler $ac_option >&5"
    87857615case "(($ac_try" in
    87867616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    87877617  *) ac_try_echo=$ac_try;;
    87887618esac
    8789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8790 $as_echo "$ac_try_echo") >&5
    8791   (eval "$ac_compiler --version >&5") 2>&5
     7619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7620$as_echo "$ac_try_echo"; } >&5
     7621  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    87927622  ac_status=$?
    8793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8794   (exit $ac_status); }
    8795 { (ac_try="$ac_compiler -v >&5"
    8796 case "(($ac_try" in
    8797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8798   *) ac_try_echo=$ac_try;;
    8799 esac
    8800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8801 $as_echo "$ac_try_echo") >&5
    8802   (eval "$ac_compiler -v >&5") 2>&5
    8803   ac_status=$?
    8804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8805   (exit $ac_status); }
    8806 { (ac_try="$ac_compiler -V >&5"
    8807 case "(($ac_try" in
    8808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8809   *) ac_try_echo=$ac_try;;
    8810 esac
    8811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8812 $as_echo "$ac_try_echo") >&5
    8813   (eval "$ac_compiler -V >&5") 2>&5
    8814   ac_status=$?
    8815   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8816   (exit $ac_status); }
    8817 
    8818 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7623  if test -s conftest.err; then
     7624    sed '10a\
     7625... rest of stderr output deleted ...
     7626         10q' conftest.err >conftest.er1
     7627    cat conftest.er1 >&5
     7628  fi
     7629  rm -f conftest.er1 conftest.err
     7630  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7631  test $ac_status = 0; }
     7632done
     7633
     7634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    88197635$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8820 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7636if ${ac_cv_cxx_compiler_gnu+:} false; then :
    88217637  $as_echo_n "(cached) " >&6
    88227638else
    8823   cat >conftest.$ac_ext <<_ACEOF
    8824 /* confdefs.h.  */
    8825 _ACEOF
    8826 cat confdefs.h >>conftest.$ac_ext
    8827 cat >>conftest.$ac_ext <<_ACEOF
     7639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88287640/* end confdefs.h.  */
    88297641
     
    88397651}
    88407652_ACEOF
    8841 rm -f conftest.$ac_objext
    8842 if { (ac_try="$ac_compile"
    8843 case "(($ac_try" in
    8844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8845   *) ac_try_echo=$ac_try;;
    8846 esac
    8847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8848 $as_echo "$ac_try_echo") >&5
    8849   (eval "$ac_compile") 2>conftest.er1
    8850   ac_status=$?
    8851   grep -v '^ *+' conftest.er1 >conftest.err
    8852   rm -f conftest.er1
    8853   cat conftest.err >&5
    8854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8855   (exit $ac_status); } && {
    8856          test -z "$ac_cxx_werror_flag" ||
    8857          test ! -s conftest.err
    8858        } && test -s conftest.$ac_objext; then
     7653if ac_fn_cxx_try_compile "$LINENO"; then :
    88597654  ac_compiler_gnu=yes
    88607655else
    8861   $as_echo "$as_me: failed program was:" >&5
    8862 sed 's/^/| /' conftest.$ac_ext >&5
    8863 
    8864         ac_compiler_gnu=no
    8865 fi
    8866 
     7656  ac_compiler_gnu=no
     7657fi
    88677658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    88687659ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    88697660
    88707661fi
    8871 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    88727663$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    88737664if test $ac_compiler_gnu = yes; then
     
    88787669ac_test_CXXFLAGS=${CXXFLAGS+set}
    88797670ac_save_CXXFLAGS=$CXXFLAGS
    8880 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    88817672$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8882 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7673if ${ac_cv_prog_cxx_g+:} false; then :
    88837674  $as_echo_n "(cached) " >&6
    88847675else
     
    88877678   ac_cv_prog_cxx_g=no
    88887679   CXXFLAGS="-g"
    8889    cat >conftest.$ac_ext <<_ACEOF
    8890 /* confdefs.h.  */
    8891 _ACEOF
    8892 cat confdefs.h >>conftest.$ac_ext
    8893 cat >>conftest.$ac_ext <<_ACEOF
     7680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88947681/* end confdefs.h.  */
    88957682
     
    89027689}
    89037690_ACEOF
    8904 rm -f conftest.$ac_objext
    8905 if { (ac_try="$ac_compile"
    8906 case "(($ac_try" in
    8907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8908   *) ac_try_echo=$ac_try;;
    8909 esac
    8910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8911 $as_echo "$ac_try_echo") >&5
    8912   (eval "$ac_compile") 2>conftest.er1
    8913   ac_status=$?
    8914   grep -v '^ *+' conftest.er1 >conftest.err
    8915   rm -f conftest.er1
    8916   cat conftest.err >&5
    8917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8918   (exit $ac_status); } && {
    8919          test -z "$ac_cxx_werror_flag" ||
    8920          test ! -s conftest.err
    8921        } && test -s conftest.$ac_objext; then
     7691if ac_fn_cxx_try_compile "$LINENO"; then :
    89227692  ac_cv_prog_cxx_g=yes
    89237693else
    8924   $as_echo "$as_me: failed program was:" >&5
    8925 sed 's/^/| /' conftest.$ac_ext >&5
    8926 
    8927         CXXFLAGS=""
    8928       cat >conftest.$ac_ext <<_ACEOF
    8929 /* confdefs.h.  */
    8930 _ACEOF
    8931 cat confdefs.h >>conftest.$ac_ext
    8932 cat >>conftest.$ac_ext <<_ACEOF
     7694  CXXFLAGS=""
     7695      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89337696/* end confdefs.h.  */
    89347697
     
    89417704}
    89427705_ACEOF
    8943 rm -f conftest.$ac_objext
    8944 if { (ac_try="$ac_compile"
    8945 case "(($ac_try" in
    8946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8947   *) ac_try_echo=$ac_try;;
    8948 esac
    8949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8950 $as_echo "$ac_try_echo") >&5
    8951   (eval "$ac_compile") 2>conftest.er1
    8952   ac_status=$?
    8953   grep -v '^ *+' conftest.er1 >conftest.err
    8954   rm -f conftest.er1
    8955   cat conftest.err >&5
    8956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8957   (exit $ac_status); } && {
    8958          test -z "$ac_cxx_werror_flag" ||
    8959          test ! -s conftest.err
    8960        } && test -s conftest.$ac_objext; then
    8961   :
    8962 else
    8963   $as_echo "$as_me: failed program was:" >&5
    8964 sed 's/^/| /' conftest.$ac_ext >&5
    8965 
    8966         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7706if ac_fn_cxx_try_compile "$LINENO"; then :
     7707
     7708else
     7709  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    89677710         CXXFLAGS="-g"
    8968          cat >conftest.$ac_ext <<_ACEOF
    8969 /* confdefs.h.  */
    8970 _ACEOF
    8971 cat confdefs.h >>conftest.$ac_ext
    8972 cat >>conftest.$ac_ext <<_ACEOF
     7711         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89737712/* end confdefs.h.  */
    89747713
     
    89817720}
    89827721_ACEOF
    8983 rm -f conftest.$ac_objext
    8984 if { (ac_try="$ac_compile"
    8985 case "(($ac_try" in
    8986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8987   *) ac_try_echo=$ac_try;;
    8988 esac
    8989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8990 $as_echo "$ac_try_echo") >&5
    8991   (eval "$ac_compile") 2>conftest.er1
    8992   ac_status=$?
    8993   grep -v '^ *+' conftest.er1 >conftest.err
    8994   rm -f conftest.er1
    8995   cat conftest.err >&5
    8996   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8997   (exit $ac_status); } && {
    8998          test -z "$ac_cxx_werror_flag" ||
    8999          test ! -s conftest.err
    9000        } && test -s conftest.$ac_objext; then
     7722if ac_fn_cxx_try_compile "$LINENO"; then :
    90017723  ac_cv_prog_cxx_g=yes
    9002 else
    9003   $as_echo "$as_me: failed program was:" >&5
    9004 sed 's/^/| /' conftest.$ac_ext >&5
    9005 
    9006 
    9007 fi
    9008 
     7724fi
    90097725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90107726fi
    9011 
    90127727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90137728fi
    9014 
    90157729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90167730   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    90177731fi
    9018 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    90197733$as_echo "$ac_cv_prog_cxx_g" >&6; }
    90207734if test "$ac_test_CXXFLAGS" = set; then
     
    90477761
    90487762
    9049 
    9050  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    90517764$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    9052 if test "${ac_cv_c_bigendian+set}" = set; then
     7765if ${ac_cv_c_bigendian+:} false; then :
    90537766  $as_echo_n "(cached) " >&6
    90547767else
    90557768  ac_cv_c_bigendian=unknown
    90567769    # See if we're dealing with a universal compiler.
    9057     cat >conftest.$ac_ext <<_ACEOF
    9058 /* confdefs.h.  */
    9059 _ACEOF
    9060 cat confdefs.h >>conftest.$ac_ext
    9061 cat >>conftest.$ac_ext <<_ACEOF
     7770    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    90627771/* end confdefs.h.  */
    90637772#ifndef __APPLE_CC__
     
    90677776
    90687777_ACEOF
    9069 rm -f conftest.$ac_objext
    9070 if { (ac_try="$ac_compile"
    9071 case "(($ac_try" in
    9072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9073   *) ac_try_echo=$ac_try;;
    9074 esac
    9075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9076 $as_echo "$ac_try_echo") >&5
    9077   (eval "$ac_compile") 2>conftest.er1
    9078   ac_status=$?
    9079   grep -v '^ *+' conftest.er1 >conftest.err
    9080   rm -f conftest.er1
    9081   cat conftest.err >&5
    9082   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9083   (exit $ac_status); } && {
    9084          test -z "$ac_cxx_werror_flag" ||
    9085          test ! -s conftest.err
    9086        } && test -s conftest.$ac_objext; then
     7778if ac_fn_cxx_try_compile "$LINENO"; then :
    90877779
    90887780        # Check for potential -arch flags.  It is not universal unless
    9089         # there are some -arch flags.  Note that *ppc* also matches
    9090         # ppc64.  This check is also rather less than ideal.
    9091         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    9092           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    9093         esac
    9094 else
    9095   $as_echo "$as_me: failed program was:" >&5
    9096 sed 's/^/| /' conftest.$ac_ext >&5
    9097 
    9098 
    9099 fi
    9100 
     7781        # there are at least two -arch flags with different values.
     7782        ac_arch=
     7783        ac_prev=
     7784        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     7785         if test -n "$ac_prev"; then
     7786           case $ac_word in
     7787             i?86 | x86_64 | ppc | ppc64)
     7788               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     7789                 ac_arch=$ac_word
     7790               else
     7791                 ac_cv_c_bigendian=universal
     7792                 break
     7793               fi
     7794               ;;
     7795           esac
     7796           ac_prev=
     7797         elif test "x$ac_word" = "x-arch"; then
     7798           ac_prev=arch
     7799         fi
     7800       done
     7801fi
    91017802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    91027803    if test $ac_cv_c_bigendian = unknown; then
    91037804      # See if sys/param.h defines the BYTE_ORDER macro.
    9104       cat >conftest.$ac_ext <<_ACEOF
    9105 /* confdefs.h.  */
    9106 _ACEOF
    9107 cat confdefs.h >>conftest.$ac_ext
    9108 cat >>conftest.$ac_ext <<_ACEOF
     7805      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91097806/* end confdefs.h.  */
    91107807#include <sys/types.h>
     
    91247821}
    91257822_ACEOF
    9126 rm -f conftest.$ac_objext
    9127 if { (ac_try="$ac_compile"
    9128 case "(($ac_try" in
    9129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9130   *) ac_try_echo=$ac_try;;
    9131 esac
    9132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9133 $as_echo "$ac_try_echo") >&5
    9134   (eval "$ac_compile") 2>conftest.er1
    9135   ac_status=$?
    9136   grep -v '^ *+' conftest.er1 >conftest.err
    9137   rm -f conftest.er1
    9138   cat conftest.err >&5
    9139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9140   (exit $ac_status); } && {
    9141          test -z "$ac_cxx_werror_flag" ||
    9142          test ! -s conftest.err
    9143        } && test -s conftest.$ac_objext; then
     7823if ac_fn_cxx_try_compile "$LINENO"; then :
    91447824  # It does; now see whether it defined to BIG_ENDIAN or not.
    9145          cat >conftest.$ac_ext <<_ACEOF
    9146 /* confdefs.h.  */
    9147 _ACEOF
    9148 cat confdefs.h >>conftest.$ac_ext
    9149 cat >>conftest.$ac_ext <<_ACEOF
     7825         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91507826/* end confdefs.h.  */
    91517827#include <sys/types.h>
     
    91637839}
    91647840_ACEOF
    9165 rm -f conftest.$ac_objext
    9166 if { (ac_try="$ac_compile"
    9167 case "(($ac_try" in
    9168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9169   *) ac_try_echo=$ac_try;;
    9170 esac
    9171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9172 $as_echo "$ac_try_echo") >&5
    9173   (eval "$ac_compile") 2>conftest.er1
    9174   ac_status=$?
    9175   grep -v '^ *+' conftest.er1 >conftest.err
    9176   rm -f conftest.er1
    9177   cat conftest.err >&5
    9178   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9179   (exit $ac_status); } && {
    9180          test -z "$ac_cxx_werror_flag" ||
    9181          test ! -s conftest.err
    9182        } && test -s conftest.$ac_objext; then
     7841if ac_fn_cxx_try_compile "$LINENO"; then :
    91837842  ac_cv_c_bigendian=yes
    91847843else
    9185   $as_echo "$as_me: failed program was:" >&5
    9186 sed 's/^/| /' conftest.$ac_ext >&5
    9187 
    9188         ac_cv_c_bigendian=no
    9189 fi
    9190 
     7844  ac_cv_c_bigendian=no
     7845fi
    91917846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9192 else
    9193   $as_echo "$as_me: failed program was:" >&5
    9194 sed 's/^/| /' conftest.$ac_ext >&5
    9195 
    9196 
    9197 fi
    9198 
     7847fi
    91997848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    92007849    fi
    92017850    if test $ac_cv_c_bigendian = unknown; then
    92027851      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    9203       cat >conftest.$ac_ext <<_ACEOF
    9204 /* confdefs.h.  */
    9205 _ACEOF
    9206 cat confdefs.h >>conftest.$ac_ext
    9207 cat >>conftest.$ac_ext <<_ACEOF
     7852      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92087853/* end confdefs.h.  */
    92097854#include <limits.h>
     
    92207865}
    92217866_ACEOF
    9222 rm -f conftest.$ac_objext
    9223 if { (ac_try="$ac_compile"
    9224 case "(($ac_try" in
    9225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9226   *) ac_try_echo=$ac_try;;
    9227 esac
    9228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9229 $as_echo "$ac_try_echo") >&5
    9230   (eval "$ac_compile") 2>conftest.er1
    9231   ac_status=$?
    9232   grep -v '^ *+' conftest.er1 >conftest.err
    9233   rm -f conftest.er1
    9234   cat conftest.err >&5
    9235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9236   (exit $ac_status); } && {
    9237          test -z "$ac_cxx_werror_flag" ||
    9238          test ! -s conftest.err
    9239        } && test -s conftest.$ac_objext; then
     7867if ac_fn_cxx_try_compile "$LINENO"; then :
    92407868  # It does; now see whether it defined to _BIG_ENDIAN or not.
    9241          cat >conftest.$ac_ext <<_ACEOF
    9242 /* confdefs.h.  */
    9243 _ACEOF
    9244 cat confdefs.h >>conftest.$ac_ext
    9245 cat >>conftest.$ac_ext <<_ACEOF
     7869         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92467870/* end confdefs.h.  */
    92477871#include <limits.h>
     
    92587882}
    92597883_ACEOF
    9260 rm -f conftest.$ac_objext
    9261 if { (ac_try="$ac_compile"
    9262 case "(($ac_try" in
    9263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9264   *) ac_try_echo=$ac_try;;
    9265 esac
    9266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9267 $as_echo "$ac_try_echo") >&5
    9268   (eval "$ac_compile") 2>conftest.er1
    9269   ac_status=$?
    9270   grep -v '^ *+' conftest.er1 >conftest.err
    9271   rm -f conftest.er1
    9272   cat conftest.err >&5
    9273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9274   (exit $ac_status); } && {
    9275          test -z "$ac_cxx_werror_flag" ||
    9276          test ! -s conftest.err
    9277        } && test -s conftest.$ac_objext; then
     7884if ac_fn_cxx_try_compile "$LINENO"; then :
    92787885  ac_cv_c_bigendian=yes
    92797886else
    9280   $as_echo "$as_me: failed program was:" >&5
    9281 sed 's/^/| /' conftest.$ac_ext >&5
    9282 
    9283         ac_cv_c_bigendian=no
    9284 fi
    9285 
     7887  ac_cv_c_bigendian=no
     7888fi
    92867889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9287 else
    9288   $as_echo "$as_me: failed program was:" >&5
    9289 sed 's/^/| /' conftest.$ac_ext >&5
    9290 
    9291 
    9292 fi
    9293 
     7890fi
    92947891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    92957892    fi
    92967893    if test $ac_cv_c_bigendian = unknown; then
    92977894      # Compile a test program.
    9298       if test "$cross_compiling" = yes; then
     7895      if test "$cross_compiling" = yes; then :
    92997896  # Try to guess by grepping values from an object file.
    9300          cat >conftest.$ac_ext <<_ACEOF
    9301 /* confdefs.h.  */
    9302 _ACEOF
    9303 cat confdefs.h >>conftest.$ac_ext
    9304 cat >>conftest.$ac_ext <<_ACEOF
     7897         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93057898/* end confdefs.h.  */
    93067899short int ascii_mm[] =
     
    93287921}
    93297922_ACEOF
    9330 rm -f conftest.$ac_objext
    9331 if { (ac_try="$ac_compile"
    9332 case "(($ac_try" in
    9333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9334   *) ac_try_echo=$ac_try;;
    9335 esac
    9336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9337 $as_echo "$ac_try_echo") >&5
    9338   (eval "$ac_compile") 2>conftest.er1
    9339   ac_status=$?
    9340   grep -v '^ *+' conftest.er1 >conftest.err
    9341   rm -f conftest.er1
    9342   cat conftest.err >&5
    9343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9344   (exit $ac_status); } && {
    9345          test -z "$ac_cxx_werror_flag" ||
    9346          test ! -s conftest.err
    9347        } && test -s conftest.$ac_objext; then
     7923if ac_fn_cxx_try_compile "$LINENO"; then :
    93487924  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    93497925              ac_cv_c_bigendian=yes
     
    93577933              fi
    93587934            fi
    9359 else
    9360   $as_echo "$as_me: failed program was:" >&5
    9361 sed 's/^/| /' conftest.$ac_ext >&5
    9362 
    9363 
    9364 fi
    9365 
     7935fi
    93667936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    93677937else
    9368   cat >conftest.$ac_ext <<_ACEOF
    9369 /* confdefs.h.  */
    9370 _ACEOF
    9371 cat confdefs.h >>conftest.$ac_ext
    9372 cat >>conftest.$ac_ext <<_ACEOF
     7938  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93737939/* end confdefs.h.  */
    93747940$ac_includes_default
     
    93907956}
    93917957_ACEOF
    9392 rm -f conftest$ac_exeext
    9393 if { (ac_try="$ac_link"
    9394 case "(($ac_try" in
    9395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9396   *) ac_try_echo=$ac_try;;
    9397 esac
    9398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9399 $as_echo "$ac_try_echo") >&5
    9400   (eval "$ac_link") 2>&5
    9401   ac_status=$?
    9402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9403   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9404   { (case "(($ac_try" in
    9405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9406   *) ac_try_echo=$ac_try;;
    9407 esac
    9408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9409 $as_echo "$ac_try_echo") >&5
    9410   (eval "$ac_try") 2>&5
    9411   ac_status=$?
    9412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9413   (exit $ac_status); }; }; then
     7958if ac_fn_cxx_try_run "$LINENO"; then :
    94147959  ac_cv_c_bigendian=no
    94157960else
    9416   $as_echo "$as_me: program exited with status $ac_status" >&5
    9417 $as_echo "$as_me: failed program was:" >&5
    9418 sed 's/^/| /' conftest.$ac_ext >&5
    9419 
    9420 ( exit $ac_status )
    9421 ac_cv_c_bigendian=yes
    9422 fi
    9423 rm -rf conftest.dSYM
    9424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9425 fi
    9426 
     7961  ac_cv_c_bigendian=yes
     7962fi
     7963rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7964  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7965fi
    94277966
    94287967    fi
    94297968fi
    9430 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    94317970$as_echo "$ac_cv_c_bigendian" >&6; }
    94327971 case $ac_cv_c_bigendian in #(
    94337972   yes)
    9434      cat >>confdefs.h <<\_ACEOF
    9435 #define WORDS_BIGENDIAN 1
    9436 _ACEOF
     7973     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    94377974;; #(
    94387975   no)
     
    94407977   universal)
    94417978
    9442 cat >>confdefs.h <<\_ACEOF
    9443 #define AC_APPLE_UNIVERSAL_BUILD 1
    9444 _ACEOF
     7979$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    94457980
    94467981     ;; #(
    94477982   *)
    9448      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    9449  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    9450 $as_echo "$as_me: error: unknown endianness
    9451  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    9452    { (exit 1); exit 1; }; } ;;
     7983     as_fn_error $? "unknown endianness
     7984 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    94537985 esac
    94547986
     
    94577989# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    94587990# This bug is HP SR number 8606223364.
    9459 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     7991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    94607992$as_echo_n "checking size of int... " >&6; }
    9461 if test "${ac_cv_sizeof_int+set}" = set; then
     7993if ${ac_cv_sizeof_int+:} false; then :
    94627994  $as_echo_n "(cached) " >&6
    94637995else
    9464   if test "$cross_compiling" = yes; then
    9465   # Depending upon the size, compute the lo and hi bounds.
    9466 cat >conftest.$ac_ext <<_ACEOF
    9467 /* confdefs.h.  */
    9468 _ACEOF
    9469 cat confdefs.h >>conftest.$ac_ext
    9470 cat >>conftest.$ac_ext <<_ACEOF
    9471 /* end confdefs.h.  */
    9472 $ac_includes_default
    9473 int
    9474 main ()
    9475 {
    9476 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
    9477 test_array [0] = 0
    9478 
    9479   ;
    9480   return 0;
    9481 }
    9482 _ACEOF
    9483 rm -f conftest.$ac_objext
    9484 if { (ac_try="$ac_compile"
    9485 case "(($ac_try" in
    9486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9487   *) ac_try_echo=$ac_try;;
    9488 esac
    9489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9490 $as_echo "$ac_try_echo") >&5
    9491   (eval "$ac_compile") 2>conftest.er1
    9492   ac_status=$?
    9493   grep -v '^ *+' conftest.er1 >conftest.err
    9494   rm -f conftest.er1
    9495   cat conftest.err >&5
    9496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9497   (exit $ac_status); } && {
    9498          test -z "$ac_cxx_werror_flag" ||
    9499          test ! -s conftest.err
    9500        } && test -s conftest.$ac_objext; then
    9501   ac_lo=0 ac_mid=0
    9502   while :; do
    9503     cat >conftest.$ac_ext <<_ACEOF
    9504 /* confdefs.h.  */
    9505 _ACEOF
    9506 cat confdefs.h >>conftest.$ac_ext
    9507 cat >>conftest.$ac_ext <<_ACEOF
    9508 /* end confdefs.h.  */
    9509 $ac_includes_default
    9510 int
    9511 main ()
    9512 {
    9513 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9514 test_array [0] = 0
    9515 
    9516   ;
    9517   return 0;
    9518 }
    9519 _ACEOF
    9520 rm -f conftest.$ac_objext
    9521 if { (ac_try="$ac_compile"
    9522 case "(($ac_try" in
    9523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9524   *) ac_try_echo=$ac_try;;
    9525 esac
    9526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9527 $as_echo "$ac_try_echo") >&5
    9528   (eval "$ac_compile") 2>conftest.er1
    9529   ac_status=$?
    9530   grep -v '^ *+' conftest.er1 >conftest.err
    9531   rm -f conftest.er1
    9532   cat conftest.err >&5
    9533   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9534   (exit $ac_status); } && {
    9535          test -z "$ac_cxx_werror_flag" ||
    9536          test ! -s conftest.err
    9537        } && test -s conftest.$ac_objext; then
    9538   ac_hi=$ac_mid; break
    9539 else
    9540   $as_echo "$as_me: failed program was:" >&5
    9541 sed 's/^/| /' conftest.$ac_ext >&5
    9542 
    9543         ac_lo=`expr $ac_mid + 1`
    9544                         if test $ac_lo -le $ac_mid; then
    9545                           ac_lo= ac_hi=
    9546                           break
    9547                         fi
    9548                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9549 fi
    9550 
    9551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9552   done
    9553 else
    9554   $as_echo "$as_me: failed program was:" >&5
    9555 sed 's/^/| /' conftest.$ac_ext >&5
    9556 
    9557         cat >conftest.$ac_ext <<_ACEOF
    9558 /* confdefs.h.  */
    9559 _ACEOF
    9560 cat confdefs.h >>conftest.$ac_ext
    9561 cat >>conftest.$ac_ext <<_ACEOF
    9562 /* end confdefs.h.  */
    9563 $ac_includes_default
    9564 int
    9565 main ()
    9566 {
    9567 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
    9568 test_array [0] = 0
    9569 
    9570   ;
    9571   return 0;
    9572 }
    9573 _ACEOF
    9574 rm -f conftest.$ac_objext
    9575 if { (ac_try="$ac_compile"
    9576 case "(($ac_try" in
    9577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9578   *) ac_try_echo=$ac_try;;
    9579 esac
    9580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9581 $as_echo "$ac_try_echo") >&5
    9582   (eval "$ac_compile") 2>conftest.er1
    9583   ac_status=$?
    9584   grep -v '^ *+' conftest.er1 >conftest.err
    9585   rm -f conftest.er1
    9586   cat conftest.err >&5
    9587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9588   (exit $ac_status); } && {
    9589          test -z "$ac_cxx_werror_flag" ||
    9590          test ! -s conftest.err
    9591        } && test -s conftest.$ac_objext; then
    9592   ac_hi=-1 ac_mid=-1
    9593   while :; do
    9594     cat >conftest.$ac_ext <<_ACEOF
    9595 /* confdefs.h.  */
    9596 _ACEOF
    9597 cat confdefs.h >>conftest.$ac_ext
    9598 cat >>conftest.$ac_ext <<_ACEOF
    9599 /* end confdefs.h.  */
    9600 $ac_includes_default
    9601 int
    9602 main ()
    9603 {
    9604 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
    9605 test_array [0] = 0
    9606 
    9607   ;
    9608   return 0;
    9609 }
    9610 _ACEOF
    9611 rm -f conftest.$ac_objext
    9612 if { (ac_try="$ac_compile"
    9613 case "(($ac_try" in
    9614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9615   *) ac_try_echo=$ac_try;;
    9616 esac
    9617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9618 $as_echo "$ac_try_echo") >&5
    9619   (eval "$ac_compile") 2>conftest.er1
    9620   ac_status=$?
    9621   grep -v '^ *+' conftest.er1 >conftest.err
    9622   rm -f conftest.er1
    9623   cat conftest.err >&5
    9624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9625   (exit $ac_status); } && {
    9626          test -z "$ac_cxx_werror_flag" ||
    9627          test ! -s conftest.err
    9628        } && test -s conftest.$ac_objext; then
    9629   ac_lo=$ac_mid; break
    9630 else
    9631   $as_echo "$as_me: failed program was:" >&5
    9632 sed 's/^/| /' conftest.$ac_ext >&5
    9633 
    9634         ac_hi=`expr '(' $ac_mid ')' - 1`
    9635                         if test $ac_mid -le $ac_hi; then
    9636                           ac_lo= ac_hi=
    9637                           break
    9638                         fi
    9639                         ac_mid=`expr 2 '*' $ac_mid`
    9640 fi
    9641 
    9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9643   done
    9644 else
    9645   $as_echo "$as_me: failed program was:" >&5
    9646 sed 's/^/| /' conftest.$ac_ext >&5
    9647 
    9648         ac_lo= ac_hi=
    9649 fi
    9650 
    9651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9652 fi
    9653 
    9654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9655 # Binary search between lo and hi bounds.
    9656 while test "x$ac_lo" != "x$ac_hi"; do
    9657   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    9658   cat >conftest.$ac_ext <<_ACEOF
    9659 /* confdefs.h.  */
    9660 _ACEOF
    9661 cat confdefs.h >>conftest.$ac_ext
    9662 cat >>conftest.$ac_ext <<_ACEOF
    9663 /* end confdefs.h.  */
    9664 $ac_includes_default
    9665 int
    9666 main ()
    9667 {
    9668 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9669 test_array [0] = 0
    9670 
    9671   ;
    9672   return 0;
    9673 }
    9674 _ACEOF
    9675 rm -f conftest.$ac_objext
    9676 if { (ac_try="$ac_compile"
    9677 case "(($ac_try" in
    9678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9679   *) ac_try_echo=$ac_try;;
    9680 esac
    9681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9682 $as_echo "$ac_try_echo") >&5
    9683   (eval "$ac_compile") 2>conftest.er1
    9684   ac_status=$?
    9685   grep -v '^ *+' conftest.er1 >conftest.err
    9686   rm -f conftest.er1
    9687   cat conftest.err >&5
    9688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9689   (exit $ac_status); } && {
    9690          test -z "$ac_cxx_werror_flag" ||
    9691          test ! -s conftest.err
    9692        } && test -s conftest.$ac_objext; then
    9693   ac_hi=$ac_mid
    9694 else
    9695   $as_echo "$as_me: failed program was:" >&5
    9696 sed 's/^/| /' conftest.$ac_ext >&5
    9697 
    9698         ac_lo=`expr '(' $ac_mid ')' + 1`
    9699 fi
    9700 
    9701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9702 done
    9703 case $ac_lo in
    9704 ?*) ac_cv_sizeof_int=$ac_lo;;
    9705 '') if test "$ac_cv_type_int" = yes; then
    9706      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7996  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     7997
     7998else
     7999  if test "$ac_cv_type_int" = yes; then
     8000     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    97078001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9708 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9709 See \`config.log' for more details." >&5
    9710 $as_echo "$as_me: error: cannot compute sizeof (int)
    9711 See \`config.log' for more details." >&2;}
    9712    { (exit 77); exit 77; }; }; }
    9713    else
    9714      ac_cv_sizeof_int=0
    9715    fi ;;
    9716 esac
    9717 else
    9718   cat >conftest.$ac_ext <<_ACEOF
    9719 /* confdefs.h.  */
    9720 _ACEOF
    9721 cat confdefs.h >>conftest.$ac_ext
    9722 cat >>conftest.$ac_ext <<_ACEOF
    9723 /* end confdefs.h.  */
    9724 $ac_includes_default
    9725 static long int longval () { return (long int) (sizeof (int)); }
    9726 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
    9727 #include <stdio.h>
    9728 #include <stdlib.h>
    9729 int
    9730 main ()
    9731 {
    9732 
    9733   FILE *f = fopen ("conftest.val", "w");
    9734   if (! f)
    9735     return 1;
    9736   if (((long int) (sizeof (int))) < 0)
    9737     {
    9738       long int i = longval ();
    9739       if (i != ((long int) (sizeof (int))))
    9740         return 1;
    9741       fprintf (f, "%ld", i);
    9742     }
    9743   else
    9744     {
    9745       unsigned long int i = ulongval ();
    9746       if (i != ((long int) (sizeof (int))))
    9747         return 1;
    9748       fprintf (f, "%lu", i);
    9749     }
    9750   /* Do not output a trailing newline, as this causes \r\n confusion
    9751      on some platforms.  */
    9752   return ferror (f) || fclose (f) != 0;
    9753 
    9754   ;
    9755   return 0;
    9756 }
    9757 _ACEOF
    9758 rm -f conftest$ac_exeext
    9759 if { (ac_try="$ac_link"
    9760 case "(($ac_try" in
    9761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9762   *) ac_try_echo=$ac_try;;
    9763 esac
    9764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9765 $as_echo "$ac_try_echo") >&5
    9766   (eval "$ac_link") 2>&5
    9767   ac_status=$?
    9768   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9769   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9770   { (case "(($ac_try" in
    9771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9772   *) ac_try_echo=$ac_try;;
    9773 esac
    9774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9775 $as_echo "$ac_try_echo") >&5
    9776   (eval "$ac_try") 2>&5
    9777   ac_status=$?
    9778   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9779   (exit $ac_status); }; }; then
    9780   ac_cv_sizeof_int=`cat conftest.val`
    9781 else
    9782   $as_echo "$as_me: program exited with status $ac_status" >&5
    9783 $as_echo "$as_me: failed program was:" >&5
    9784 sed 's/^/| /' conftest.$ac_ext >&5
    9785 
    9786 ( exit $ac_status )
    9787 if test "$ac_cv_type_int" = yes; then
    9788      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    9789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9790 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9791 See \`config.log' for more details." >&5
    9792 $as_echo "$as_me: error: cannot compute sizeof (int)
    9793 See \`config.log' for more details." >&2;}
    9794    { (exit 77); exit 77; }; }; }
     8002as_fn_error 77 "cannot compute sizeof (int)
     8003See \`config.log' for more details" "$LINENO" 5; }
    97958004   else
    97968005     ac_cv_sizeof_int=0
    97978006   fi
    97988007fi
    9799 rm -rf conftest.dSYM
    9800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9801 fi
    9802 rm -f conftest.val
    9803 fi
    9804 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
     8008
     8009fi
     8010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    98058011$as_echo "$ac_cv_sizeof_int" >&6; }
    98068012
     
    98168022# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    98178023# This bug is HP SR number 8606223364.
    9818 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     8024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    98198025$as_echo_n "checking size of long... " >&6; }
    9820 if test "${ac_cv_sizeof_long+set}" = set; then
     8026if ${ac_cv_sizeof_long+:} false; then :
    98218027  $as_echo_n "(cached) " >&6
    98228028else
    9823   if test "$cross_compiling" = yes; then
    9824   # Depending upon the size, compute the lo and hi bounds.
    9825 cat >conftest.$ac_ext <<_ACEOF
    9826 /* confdefs.h.  */
    9827 _ACEOF
    9828 cat confdefs.h >>conftest.$ac_ext
    9829 cat >>conftest.$ac_ext <<_ACEOF
    9830 /* end confdefs.h.  */
    9831 $ac_includes_default
    9832 int
    9833 main ()
    9834 {
    9835 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
    9836 test_array [0] = 0
    9837 
    9838   ;
    9839   return 0;
    9840 }
    9841 _ACEOF
    9842 rm -f conftest.$ac_objext
    9843 if { (ac_try="$ac_compile"
    9844 case "(($ac_try" in
    9845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9846   *) ac_try_echo=$ac_try;;
    9847 esac
    9848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9849 $as_echo "$ac_try_echo") >&5
    9850   (eval "$ac_compile") 2>conftest.er1
    9851   ac_status=$?
    9852   grep -v '^ *+' conftest.er1 >conftest.err
    9853   rm -f conftest.er1
    9854   cat conftest.err >&5
    9855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9856   (exit $ac_status); } && {
    9857          test -z "$ac_cxx_werror_flag" ||
    9858          test ! -s conftest.err
    9859        } && test -s conftest.$ac_objext; then
    9860   ac_lo=0 ac_mid=0
    9861   while :; do
    9862     cat >conftest.$ac_ext <<_ACEOF
    9863 /* confdefs.h.  */
    9864 _ACEOF
    9865 cat confdefs.h >>conftest.$ac_ext
    9866 cat >>conftest.$ac_ext <<_ACEOF
    9867 /* end confdefs.h.  */
    9868 $ac_includes_default
    9869 int
    9870 main ()
    9871 {
    9872 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    9873 test_array [0] = 0
    9874 
    9875   ;
    9876   return 0;
    9877 }
    9878 _ACEOF
    9879 rm -f conftest.$ac_objext
    9880 if { (ac_try="$ac_compile"
    9881 case "(($ac_try" in
    9882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9883   *) ac_try_echo=$ac_try;;
    9884 esac
    9885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9886 $as_echo "$ac_try_echo") >&5
    9887   (eval "$ac_compile") 2>conftest.er1
    9888   ac_status=$?
    9889   grep -v '^ *+' conftest.er1 >conftest.err
    9890   rm -f conftest.er1
    9891   cat conftest.err >&5
    9892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9893   (exit $ac_status); } && {
    9894          test -z "$ac_cxx_werror_flag" ||
    9895          test ! -s conftest.err
    9896        } && test -s conftest.$ac_objext; then
    9897   ac_hi=$ac_mid; break
    9898 else
    9899   $as_echo "$as_me: failed program was:" >&5
    9900 sed 's/^/| /' conftest.$ac_ext >&5
    9901 
    9902         ac_lo=`expr $ac_mid + 1`
    9903                         if test $ac_lo -le $ac_mid; then
    9904                           ac_lo= ac_hi=
    9905                           break
    9906                         fi
    9907                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9908 fi
    9909 
    9910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9911   done
    9912 else
    9913   $as_echo "$as_me: failed program was:" >&5
    9914 sed 's/^/| /' conftest.$ac_ext >&5
    9915 
    9916         cat >conftest.$ac_ext <<_ACEOF
    9917 /* confdefs.h.  */
    9918 _ACEOF
    9919 cat confdefs.h >>conftest.$ac_ext
    9920 cat >>conftest.$ac_ext <<_ACEOF
    9921 /* end confdefs.h.  */
    9922 $ac_includes_default
    9923 int
    9924 main ()
    9925 {
    9926 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
    9927 test_array [0] = 0
    9928 
    9929   ;
    9930   return 0;
    9931 }
    9932 _ACEOF
    9933 rm -f conftest.$ac_objext
    9934 if { (ac_try="$ac_compile"
    9935 case "(($ac_try" in
    9936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9937   *) ac_try_echo=$ac_try;;
    9938 esac
    9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9940 $as_echo "$ac_try_echo") >&5
    9941   (eval "$ac_compile") 2>conftest.er1
    9942   ac_status=$?
    9943   grep -v '^ *+' conftest.er1 >conftest.err
    9944   rm -f conftest.er1
    9945   cat conftest.err >&5
    9946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9947   (exit $ac_status); } && {
    9948          test -z "$ac_cxx_werror_flag" ||
    9949          test ! -s conftest.err
    9950        } && test -s conftest.$ac_objext; then
    9951   ac_hi=-1 ac_mid=-1
    9952   while :; do
    9953     cat >conftest.$ac_ext <<_ACEOF
    9954 /* confdefs.h.  */
    9955 _ACEOF
    9956 cat confdefs.h >>conftest.$ac_ext
    9957 cat >>conftest.$ac_ext <<_ACEOF
    9958 /* end confdefs.h.  */
    9959 $ac_includes_default
    9960 int
    9961 main ()
    9962 {
    9963 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
    9964 test_array [0] = 0
    9965 
    9966   ;
    9967   return 0;
    9968 }
    9969 _ACEOF
    9970 rm -f conftest.$ac_objext
    9971 if { (ac_try="$ac_compile"
    9972 case "(($ac_try" in
    9973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9974   *) ac_try_echo=$ac_try;;
    9975 esac
    9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9977 $as_echo "$ac_try_echo") >&5
    9978   (eval "$ac_compile") 2>conftest.er1
    9979   ac_status=$?
    9980   grep -v '^ *+' conftest.er1 >conftest.err
    9981   rm -f conftest.er1
    9982   cat conftest.err >&5
    9983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9984   (exit $ac_status); } && {
    9985          test -z "$ac_cxx_werror_flag" ||
    9986          test ! -s conftest.err
    9987        } && test -s conftest.$ac_objext; then
    9988   ac_lo=$ac_mid; break
    9989 else
    9990   $as_echo "$as_me: failed program was:" >&5
    9991 sed 's/^/| /' conftest.$ac_ext >&5
    9992 
    9993         ac_hi=`expr '(' $ac_mid ')' - 1`
    9994                         if test $ac_mid -le $ac_hi; then
    9995                           ac_lo= ac_hi=
    9996                           break
    9997                         fi
    9998                         ac_mid=`expr 2 '*' $ac_mid`
    9999 fi
    10000 
    10001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10002   done
    10003 else
    10004   $as_echo "$as_me: failed program was:" >&5
    10005 sed 's/^/| /' conftest.$ac_ext >&5
    10006 
    10007         ac_lo= ac_hi=
    10008 fi
    10009 
    10010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10011 fi
    10012 
    10013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10014 # Binary search between lo and hi bounds.
    10015 while test "x$ac_lo" != "x$ac_hi"; do
    10016   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10017   cat >conftest.$ac_ext <<_ACEOF
    10018 /* confdefs.h.  */
    10019 _ACEOF
    10020 cat confdefs.h >>conftest.$ac_ext
    10021 cat >>conftest.$ac_ext <<_ACEOF
    10022 /* end confdefs.h.  */
    10023 $ac_includes_default
    10024 int
    10025 main ()
    10026 {
    10027 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    10028 test_array [0] = 0
    10029 
    10030   ;
    10031   return 0;
    10032 }
    10033 _ACEOF
    10034 rm -f conftest.$ac_objext
    10035 if { (ac_try="$ac_compile"
    10036 case "(($ac_try" in
    10037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10038   *) ac_try_echo=$ac_try;;
    10039 esac
    10040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10041 $as_echo "$ac_try_echo") >&5
    10042   (eval "$ac_compile") 2>conftest.er1
    10043   ac_status=$?
    10044   grep -v '^ *+' conftest.er1 >conftest.err
    10045   rm -f conftest.er1
    10046   cat conftest.err >&5
    10047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10048   (exit $ac_status); } && {
    10049          test -z "$ac_cxx_werror_flag" ||
    10050          test ! -s conftest.err
    10051        } && test -s conftest.$ac_objext; then
    10052   ac_hi=$ac_mid
    10053 else
    10054   $as_echo "$as_me: failed program was:" >&5
    10055 sed 's/^/| /' conftest.$ac_ext >&5
    10056 
    10057         ac_lo=`expr '(' $ac_mid ')' + 1`
    10058 fi
    10059 
    10060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10061 done
    10062 case $ac_lo in
    10063 ?*) ac_cv_sizeof_long=$ac_lo;;
    10064 '') if test "$ac_cv_type_long" = yes; then
    10065      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8029  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     8030
     8031else
     8032  if test "$ac_cv_type_long" = yes; then
     8033     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    100668034$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10067 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    10068 See \`config.log' for more details." >&5
    10069 $as_echo "$as_me: error: cannot compute sizeof (long)
    10070 See \`config.log' for more details." >&2;}
    10071    { (exit 77); exit 77; }; }; }
    10072    else
    10073      ac_cv_sizeof_long=0
    10074    fi ;;
    10075 esac
    10076 else
    10077   cat >conftest.$ac_ext <<_ACEOF
    10078 /* confdefs.h.  */
    10079 _ACEOF
    10080 cat confdefs.h >>conftest.$ac_ext
    10081 cat >>conftest.$ac_ext <<_ACEOF
    10082 /* end confdefs.h.  */
    10083 $ac_includes_default
    10084 static long int longval () { return (long int) (sizeof (long)); }
    10085 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
    10086 #include <stdio.h>
    10087 #include <stdlib.h>
    10088 int
    10089 main ()
    10090 {
    10091 
    10092   FILE *f = fopen ("conftest.val", "w");
    10093   if (! f)
    10094     return 1;
    10095   if (((long int) (sizeof (long))) < 0)
    10096     {
    10097       long int i = longval ();
    10098       if (i != ((long int) (sizeof (long))))
    10099         return 1;
    10100       fprintf (f, "%ld", i);
    10101     }
    10102   else
    10103     {
    10104       unsigned long int i = ulongval ();
    10105       if (i != ((long int) (sizeof (long))))
    10106         return 1;
    10107       fprintf (f, "%lu", i);
    10108     }
    10109   /* Do not output a trailing newline, as this causes \r\n confusion
    10110      on some platforms.  */
    10111   return ferror (f) || fclose (f) != 0;
    10112 
    10113   ;
    10114   return 0;
    10115 }
    10116 _ACEOF
    10117 rm -f conftest$ac_exeext
    10118 if { (ac_try="$ac_link"
    10119 case "(($ac_try" in
    10120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10121   *) ac_try_echo=$ac_try;;
    10122 esac
    10123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10124 $as_echo "$ac_try_echo") >&5
    10125   (eval "$ac_link") 2>&5
    10126   ac_status=$?
    10127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10128   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10129   { (case "(($ac_try" in
    10130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10131   *) ac_try_echo=$ac_try;;
    10132 esac
    10133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10134 $as_echo "$ac_try_echo") >&5
    10135   (eval "$ac_try") 2>&5
    10136   ac_status=$?
    10137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10138   (exit $ac_status); }; }; then
    10139   ac_cv_sizeof_long=`cat conftest.val`
    10140 else
    10141   $as_echo "$as_me: program exited with status $ac_status" >&5
    10142 $as_echo "$as_me: failed program was:" >&5
    10143 sed 's/^/| /' conftest.$ac_ext >&5
    10144 
    10145 ( exit $ac_status )
    10146 if test "$ac_cv_type_long" = yes; then
    10147      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10149 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    10150 See \`config.log' for more details." >&5
    10151 $as_echo "$as_me: error: cannot compute sizeof (long)
    10152 See \`config.log' for more details." >&2;}
    10153    { (exit 77); exit 77; }; }; }
     8035as_fn_error 77 "cannot compute sizeof (long)
     8036See \`config.log' for more details" "$LINENO" 5; }
    101548037   else
    101558038     ac_cv_sizeof_long=0
    101568039   fi
    101578040fi
    10158 rm -rf conftest.dSYM
    10159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10160 fi
    10161 rm -f conftest.val
    10162 fi
    10163 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
     8041
     8042fi
     8043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    101648044$as_echo "$ac_cv_sizeof_long" >&6; }
    101658045
     
    101758055# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    101768056# This bug is HP SR number 8606223364.
    10177 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    101788058$as_echo_n "checking size of long long... " >&6; }
    10179 if test "${ac_cv_sizeof_long_long+set}" = set; then
     8059if ${ac_cv_sizeof_long_long+:} false; then :
    101808060  $as_echo_n "(cached) " >&6
    101818061else
    10182   if test "$cross_compiling" = yes; then
    10183   # Depending upon the size, compute the lo and hi bounds.
    10184 cat >conftest.$ac_ext <<_ACEOF
    10185 /* confdefs.h.  */
    10186 _ACEOF
    10187 cat confdefs.h >>conftest.$ac_ext
    10188 cat >>conftest.$ac_ext <<_ACEOF
    10189 /* end confdefs.h.  */
    10190 $ac_includes_default
    10191 int
    10192 main ()
    10193 {
    10194 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
    10195 test_array [0] = 0
    10196 
    10197   ;
    10198   return 0;
    10199 }
    10200 _ACEOF
    10201 rm -f conftest.$ac_objext
    10202 if { (ac_try="$ac_compile"
    10203 case "(($ac_try" in
    10204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10205   *) ac_try_echo=$ac_try;;
    10206 esac
    10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10208 $as_echo "$ac_try_echo") >&5
    10209   (eval "$ac_compile") 2>conftest.er1
    10210   ac_status=$?
    10211   grep -v '^ *+' conftest.er1 >conftest.err
    10212   rm -f conftest.er1
    10213   cat conftest.err >&5
    10214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10215   (exit $ac_status); } && {
    10216          test -z "$ac_cxx_werror_flag" ||
    10217          test ! -s conftest.err
    10218        } && test -s conftest.$ac_objext; then
    10219   ac_lo=0 ac_mid=0
    10220   while :; do
    10221     cat >conftest.$ac_ext <<_ACEOF
    10222 /* confdefs.h.  */
    10223 _ACEOF
    10224 cat confdefs.h >>conftest.$ac_ext
    10225 cat >>conftest.$ac_ext <<_ACEOF
    10226 /* end confdefs.h.  */
    10227 $ac_includes_default
    10228 int
    10229 main ()
    10230 {
    10231 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    10232 test_array [0] = 0
    10233 
    10234   ;
    10235   return 0;
    10236 }
    10237 _ACEOF
    10238 rm -f conftest.$ac_objext
    10239 if { (ac_try="$ac_compile"
    10240 case "(($ac_try" in
    10241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10242   *) ac_try_echo=$ac_try;;
    10243 esac
    10244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10245 $as_echo "$ac_try_echo") >&5
    10246   (eval "$ac_compile") 2>conftest.er1
    10247   ac_status=$?
    10248   grep -v '^ *+' conftest.er1 >conftest.err
    10249   rm -f conftest.er1
    10250   cat conftest.err >&5
    10251   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10252   (exit $ac_status); } && {
    10253          test -z "$ac_cxx_werror_flag" ||
    10254          test ! -s conftest.err
    10255        } && test -s conftest.$ac_objext; then
    10256   ac_hi=$ac_mid; break
    10257 else
    10258   $as_echo "$as_me: failed program was:" >&5
    10259 sed 's/^/| /' conftest.$ac_ext >&5
    10260 
    10261         ac_lo=`expr $ac_mid + 1`
    10262                         if test $ac_lo -le $ac_mid; then
    10263                           ac_lo= ac_hi=
    10264                           break
    10265                         fi
    10266                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10267 fi
    10268 
    10269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10270   done
    10271 else
    10272   $as_echo "$as_me: failed program was:" >&5
    10273 sed 's/^/| /' conftest.$ac_ext >&5
    10274 
    10275         cat >conftest.$ac_ext <<_ACEOF
    10276 /* confdefs.h.  */
    10277 _ACEOF
    10278 cat confdefs.h >>conftest.$ac_ext
    10279 cat >>conftest.$ac_ext <<_ACEOF
    10280 /* end confdefs.h.  */
    10281 $ac_includes_default
    10282 int
    10283 main ()
    10284 {
    10285 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
    10286 test_array [0] = 0
    10287 
    10288   ;
    10289   return 0;
    10290 }
    10291 _ACEOF
    10292 rm -f conftest.$ac_objext
    10293 if { (ac_try="$ac_compile"
    10294 case "(($ac_try" in
    10295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10296   *) ac_try_echo=$ac_try;;
    10297 esac
    10298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10299 $as_echo "$ac_try_echo") >&5
    10300   (eval "$ac_compile") 2>conftest.er1
    10301   ac_status=$?
    10302   grep -v '^ *+' conftest.er1 >conftest.err
    10303   rm -f conftest.er1
    10304   cat conftest.err >&5
    10305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10306   (exit $ac_status); } && {
    10307          test -z "$ac_cxx_werror_flag" ||
    10308          test ! -s conftest.err
    10309        } && test -s conftest.$ac_objext; then
    10310   ac_hi=-1 ac_mid=-1
    10311   while :; do
    10312     cat >conftest.$ac_ext <<_ACEOF
    10313 /* confdefs.h.  */
    10314 _ACEOF
    10315 cat confdefs.h >>conftest.$ac_ext
    10316 cat >>conftest.$ac_ext <<_ACEOF
    10317 /* end confdefs.h.  */
    10318 $ac_includes_default
    10319 int
    10320 main ()
    10321 {
    10322 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
    10323 test_array [0] = 0
    10324 
    10325   ;
    10326   return 0;
    10327 }
    10328 _ACEOF
    10329 rm -f conftest.$ac_objext
    10330 if { (ac_try="$ac_compile"
    10331 case "(($ac_try" in
    10332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10333   *) ac_try_echo=$ac_try;;
    10334 esac
    10335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10336 $as_echo "$ac_try_echo") >&5
    10337   (eval "$ac_compile") 2>conftest.er1
    10338   ac_status=$?
    10339   grep -v '^ *+' conftest.er1 >conftest.err
    10340   rm -f conftest.er1
    10341   cat conftest.err >&5
    10342   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10343   (exit $ac_status); } && {
    10344          test -z "$ac_cxx_werror_flag" ||
    10345          test ! -s conftest.err
    10346        } && test -s conftest.$ac_objext; then
    10347   ac_lo=$ac_mid; break
    10348 else
    10349   $as_echo "$as_me: failed program was:" >&5
    10350 sed 's/^/| /' conftest.$ac_ext >&5
    10351 
    10352         ac_hi=`expr '(' $ac_mid ')' - 1`
    10353                         if test $ac_mid -le $ac_hi; then
    10354                           ac_lo= ac_hi=
    10355                           break
    10356                         fi
    10357                         ac_mid=`expr 2 '*' $ac_mid`
    10358 fi
    10359 
    10360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10361   done
    10362 else
    10363   $as_echo "$as_me: failed program was:" >&5
    10364 sed 's/^/| /' conftest.$ac_ext >&5
    10365 
    10366         ac_lo= ac_hi=
    10367 fi
    10368 
    10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10370 fi
    10371 
    10372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10373 # Binary search between lo and hi bounds.
    10374 while test "x$ac_lo" != "x$ac_hi"; do
    10375   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10376   cat >conftest.$ac_ext <<_ACEOF
    10377 /* confdefs.h.  */
    10378 _ACEOF
    10379 cat confdefs.h >>conftest.$ac_ext
    10380 cat >>conftest.$ac_ext <<_ACEOF
    10381 /* end confdefs.h.  */
    10382 $ac_includes_default
    10383 int
    10384 main ()
    10385 {
    10386 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    10387 test_array [0] = 0
    10388 
    10389   ;
    10390   return 0;
    10391 }
    10392 _ACEOF
    10393 rm -f conftest.$ac_objext
    10394 if { (ac_try="$ac_compile"
    10395 case "(($ac_try" in
    10396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10397   *) ac_try_echo=$ac_try;;
    10398 esac
    10399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10400 $as_echo "$ac_try_echo") >&5
    10401   (eval "$ac_compile") 2>conftest.er1
    10402   ac_status=$?
    10403   grep -v '^ *+' conftest.er1 >conftest.err
    10404   rm -f conftest.er1
    10405   cat conftest.err >&5
    10406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10407   (exit $ac_status); } && {
    10408          test -z "$ac_cxx_werror_flag" ||
    10409          test ! -s conftest.err
    10410        } && test -s conftest.$ac_objext; then
    10411   ac_hi=$ac_mid
    10412 else
    10413   $as_echo "$as_me: failed program was:" >&5
    10414 sed 's/^/| /' conftest.$ac_ext >&5
    10415 
    10416         ac_lo=`expr '(' $ac_mid ')' + 1`
    10417 fi
    10418 
    10419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10420 done
    10421 case $ac_lo in
    10422 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    10423 '') if test "$ac_cv_type_long_long" = yes; then
    10424      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8062  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     8063
     8064else
     8065  if test "$ac_cv_type_long_long" = yes; then
     8066     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    104258067$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10426 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10427 See \`config.log' for more details." >&5
    10428 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10429 See \`config.log' for more details." >&2;}
    10430    { (exit 77); exit 77; }; }; }
    10431    else
    10432      ac_cv_sizeof_long_long=0
    10433    fi ;;
    10434 esac
    10435 else
    10436   cat >conftest.$ac_ext <<_ACEOF
    10437 /* confdefs.h.  */
    10438 _ACEOF
    10439 cat confdefs.h >>conftest.$ac_ext
    10440 cat >>conftest.$ac_ext <<_ACEOF
    10441 /* end confdefs.h.  */
    10442 $ac_includes_default
    10443 static long int longval () { return (long int) (sizeof (long long)); }
    10444 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
    10445 #include <stdio.h>
    10446 #include <stdlib.h>
    10447 int
    10448 main ()
    10449 {
    10450 
    10451   FILE *f = fopen ("conftest.val", "w");
    10452   if (! f)
    10453     return 1;
    10454   if (((long int) (sizeof (long long))) < 0)
    10455     {
    10456       long int i = longval ();
    10457       if (i != ((long int) (sizeof (long long))))
    10458         return 1;
    10459       fprintf (f, "%ld", i);
    10460     }
    10461   else
    10462     {
    10463       unsigned long int i = ulongval ();
    10464       if (i != ((long int) (sizeof (long long))))
    10465         return 1;
    10466       fprintf (f, "%lu", i);
    10467     }
    10468   /* Do not output a trailing newline, as this causes \r\n confusion
    10469      on some platforms.  */
    10470   return ferror (f) || fclose (f) != 0;
    10471 
    10472   ;
    10473   return 0;
    10474 }
    10475 _ACEOF
    10476 rm -f conftest$ac_exeext
    10477 if { (ac_try="$ac_link"
    10478 case "(($ac_try" in
    10479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10480   *) ac_try_echo=$ac_try;;
    10481 esac
    10482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10483 $as_echo "$ac_try_echo") >&5
    10484   (eval "$ac_link") 2>&5
    10485   ac_status=$?
    10486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10487   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10488   { (case "(($ac_try" in
    10489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10490   *) ac_try_echo=$ac_try;;
    10491 esac
    10492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10493 $as_echo "$ac_try_echo") >&5
    10494   (eval "$ac_try") 2>&5
    10495   ac_status=$?
    10496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10497   (exit $ac_status); }; }; then
    10498   ac_cv_sizeof_long_long=`cat conftest.val`
    10499 else
    10500   $as_echo "$as_me: program exited with status $ac_status" >&5
    10501 $as_echo "$as_me: failed program was:" >&5
    10502 sed 's/^/| /' conftest.$ac_ext >&5
    10503 
    10504 ( exit $ac_status )
    10505 if test "$ac_cv_type_long_long" = yes; then
    10506      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10508 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10509 See \`config.log' for more details." >&5
    10510 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10511 See \`config.log' for more details." >&2;}
    10512    { (exit 77); exit 77; }; }; }
     8068as_fn_error 77 "cannot compute sizeof (long long)
     8069See \`config.log' for more details" "$LINENO" 5; }
    105138070   else
    105148071     ac_cv_sizeof_long_long=0
    105158072   fi
    105168073fi
    10517 rm -rf conftest.dSYM
    10518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10519 fi
    10520 rm -f conftest.val
    10521 fi
    10522 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
     8074
     8075fi
     8076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    105238077$as_echo "$ac_cv_sizeof_long_long" >&6; }
    105248078
     
    105348088# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    105358089# This bug is HP SR number 8606223364.
    10536 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     8090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    105378091$as_echo_n "checking size of void *... " >&6; }
    10538 if test "${ac_cv_sizeof_void_p+set}" = set; then
     8092if ${ac_cv_sizeof_void_p+:} false; then :
    105398093  $as_echo_n "(cached) " >&6
    105408094else
    10541   if test "$cross_compiling" = yes; then
    10542   # Depending upon the size, compute the lo and hi bounds.
    10543 cat >conftest.$ac_ext <<_ACEOF
    10544 /* confdefs.h.  */
    10545 _ACEOF
    10546 cat confdefs.h >>conftest.$ac_ext
    10547 cat >>conftest.$ac_ext <<_ACEOF
    10548 /* end confdefs.h.  */
    10549 $ac_includes_default
    10550 int
    10551 main ()
    10552 {
    10553 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
    10554 test_array [0] = 0
    10555 
    10556   ;
    10557   return 0;
    10558 }
    10559 _ACEOF
    10560 rm -f conftest.$ac_objext
    10561 if { (ac_try="$ac_compile"
    10562 case "(($ac_try" in
    10563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10564   *) ac_try_echo=$ac_try;;
    10565 esac
    10566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10567 $as_echo "$ac_try_echo") >&5
    10568   (eval "$ac_compile") 2>conftest.er1
    10569   ac_status=$?
    10570   grep -v '^ *+' conftest.er1 >conftest.err
    10571   rm -f conftest.er1
    10572   cat conftest.err >&5
    10573   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10574   (exit $ac_status); } && {
    10575          test -z "$ac_cxx_werror_flag" ||
    10576          test ! -s conftest.err
    10577        } && test -s conftest.$ac_objext; then
    10578   ac_lo=0 ac_mid=0
    10579   while :; do
    10580     cat >conftest.$ac_ext <<_ACEOF
    10581 /* confdefs.h.  */
    10582 _ACEOF
    10583 cat confdefs.h >>conftest.$ac_ext
    10584 cat >>conftest.$ac_ext <<_ACEOF
    10585 /* end confdefs.h.  */
    10586 $ac_includes_default
    10587 int
    10588 main ()
    10589 {
    10590 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10591 test_array [0] = 0
    10592 
    10593   ;
    10594   return 0;
    10595 }
    10596 _ACEOF
    10597 rm -f conftest.$ac_objext
    10598 if { (ac_try="$ac_compile"
    10599 case "(($ac_try" in
    10600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10601   *) ac_try_echo=$ac_try;;
    10602 esac
    10603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10604 $as_echo "$ac_try_echo") >&5
    10605   (eval "$ac_compile") 2>conftest.er1
    10606   ac_status=$?
    10607   grep -v '^ *+' conftest.er1 >conftest.err
    10608   rm -f conftest.er1
    10609   cat conftest.err >&5
    10610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10611   (exit $ac_status); } && {
    10612          test -z "$ac_cxx_werror_flag" ||
    10613          test ! -s conftest.err
    10614        } && test -s conftest.$ac_objext; then
    10615   ac_hi=$ac_mid; break
    10616 else
    10617   $as_echo "$as_me: failed program was:" >&5
    10618 sed 's/^/| /' conftest.$ac_ext >&5
    10619 
    10620         ac_lo=`expr $ac_mid + 1`
    10621                         if test $ac_lo -le $ac_mid; then
    10622                           ac_lo= ac_hi=
    10623                           break
    10624                         fi
    10625                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10626 fi
    10627 
    10628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10629   done
    10630 else
    10631   $as_echo "$as_me: failed program was:" >&5
    10632 sed 's/^/| /' conftest.$ac_ext >&5
    10633 
    10634         cat >conftest.$ac_ext <<_ACEOF
    10635 /* confdefs.h.  */
    10636 _ACEOF
    10637 cat confdefs.h >>conftest.$ac_ext
    10638 cat >>conftest.$ac_ext <<_ACEOF
    10639 /* end confdefs.h.  */
    10640 $ac_includes_default
    10641 int
    10642 main ()
    10643 {
    10644 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
    10645 test_array [0] = 0
    10646 
    10647   ;
    10648   return 0;
    10649 }
    10650 _ACEOF
    10651 rm -f conftest.$ac_objext
    10652 if { (ac_try="$ac_compile"
    10653 case "(($ac_try" in
    10654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10655   *) ac_try_echo=$ac_try;;
    10656 esac
    10657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10658 $as_echo "$ac_try_echo") >&5
    10659   (eval "$ac_compile") 2>conftest.er1
    10660   ac_status=$?
    10661   grep -v '^ *+' conftest.er1 >conftest.err
    10662   rm -f conftest.er1
    10663   cat conftest.err >&5
    10664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10665   (exit $ac_status); } && {
    10666          test -z "$ac_cxx_werror_flag" ||
    10667          test ! -s conftest.err
    10668        } && test -s conftest.$ac_objext; then
    10669   ac_hi=-1 ac_mid=-1
    10670   while :; do
    10671     cat >conftest.$ac_ext <<_ACEOF
    10672 /* confdefs.h.  */
    10673 _ACEOF
    10674 cat confdefs.h >>conftest.$ac_ext
    10675 cat >>conftest.$ac_ext <<_ACEOF
    10676 /* end confdefs.h.  */
    10677 $ac_includes_default
    10678 int
    10679 main ()
    10680 {
    10681 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
    10682 test_array [0] = 0
    10683 
    10684   ;
    10685   return 0;
    10686 }
    10687 _ACEOF
    10688 rm -f conftest.$ac_objext
    10689 if { (ac_try="$ac_compile"
    10690 case "(($ac_try" in
    10691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10692   *) ac_try_echo=$ac_try;;
    10693 esac
    10694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10695 $as_echo "$ac_try_echo") >&5
    10696   (eval "$ac_compile") 2>conftest.er1
    10697   ac_status=$?
    10698   grep -v '^ *+' conftest.er1 >conftest.err
    10699   rm -f conftest.er1
    10700   cat conftest.err >&5
    10701   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10702   (exit $ac_status); } && {
    10703          test -z "$ac_cxx_werror_flag" ||
    10704          test ! -s conftest.err
    10705        } && test -s conftest.$ac_objext; then
    10706   ac_lo=$ac_mid; break
    10707 else
    10708   $as_echo "$as_me: failed program was:" >&5
    10709 sed 's/^/| /' conftest.$ac_ext >&5
    10710 
    10711         ac_hi=`expr '(' $ac_mid ')' - 1`
    10712                         if test $ac_mid -le $ac_hi; then
    10713                           ac_lo= ac_hi=
    10714                           break
    10715                         fi
    10716                         ac_mid=`expr 2 '*' $ac_mid`
    10717 fi
    10718 
    10719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10720   done
    10721 else
    10722   $as_echo "$as_me: failed program was:" >&5
    10723 sed 's/^/| /' conftest.$ac_ext >&5
    10724 
    10725         ac_lo= ac_hi=
    10726 fi
    10727 
    10728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10729 fi
    10730 
    10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10732 # Binary search between lo and hi bounds.
    10733 while test "x$ac_lo" != "x$ac_hi"; do
    10734   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10735   cat >conftest.$ac_ext <<_ACEOF
    10736 /* confdefs.h.  */
    10737 _ACEOF
    10738 cat confdefs.h >>conftest.$ac_ext
    10739 cat >>conftest.$ac_ext <<_ACEOF
    10740 /* end confdefs.h.  */
    10741 $ac_includes_default
    10742 int
    10743 main ()
    10744 {
    10745 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10746 test_array [0] = 0
    10747 
    10748   ;
    10749   return 0;
    10750 }
    10751 _ACEOF
    10752 rm -f conftest.$ac_objext
    10753 if { (ac_try="$ac_compile"
    10754 case "(($ac_try" in
    10755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10756   *) ac_try_echo=$ac_try;;
    10757 esac
    10758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10759 $as_echo "$ac_try_echo") >&5
    10760   (eval "$ac_compile") 2>conftest.er1
    10761   ac_status=$?
    10762   grep -v '^ *+' conftest.er1 >conftest.err
    10763   rm -f conftest.er1
    10764   cat conftest.err >&5
    10765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10766   (exit $ac_status); } && {
    10767          test -z "$ac_cxx_werror_flag" ||
    10768          test ! -s conftest.err
    10769        } && test -s conftest.$ac_objext; then
    10770   ac_hi=$ac_mid
    10771 else
    10772   $as_echo "$as_me: failed program was:" >&5
    10773 sed 's/^/| /' conftest.$ac_ext >&5
    10774 
    10775         ac_lo=`expr '(' $ac_mid ')' + 1`
    10776 fi
    10777 
    10778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10779 done
    10780 case $ac_lo in
    10781 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    10782 '') if test "$ac_cv_type_void_p" = yes; then
    10783      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8095  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     8096
     8097else
     8098  if test "$ac_cv_type_void_p" = yes; then
     8099     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    107848100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10785 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10786 See \`config.log' for more details." >&5
    10787 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10788 See \`config.log' for more details." >&2;}
    10789    { (exit 77); exit 77; }; }; }
    10790    else
    10791      ac_cv_sizeof_void_p=0
    10792    fi ;;
    10793 esac
    10794 else
    10795   cat >conftest.$ac_ext <<_ACEOF
    10796 /* confdefs.h.  */
    10797 _ACEOF
    10798 cat confdefs.h >>conftest.$ac_ext
    10799 cat >>conftest.$ac_ext <<_ACEOF
    10800 /* end confdefs.h.  */
    10801 $ac_includes_default
    10802 static long int longval () { return (long int) (sizeof (void *)); }
    10803 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
    10804 #include <stdio.h>
    10805 #include <stdlib.h>
    10806 int
    10807 main ()
    10808 {
    10809 
    10810   FILE *f = fopen ("conftest.val", "w");
    10811   if (! f)
    10812     return 1;
    10813   if (((long int) (sizeof (void *))) < 0)
    10814     {
    10815       long int i = longval ();
    10816       if (i != ((long int) (sizeof (void *))))
    10817         return 1;
    10818       fprintf (f, "%ld", i);
    10819     }
    10820   else
    10821     {
    10822       unsigned long int i = ulongval ();
    10823       if (i != ((long int) (sizeof (void *))))
    10824         return 1;
    10825       fprintf (f, "%lu", i);
    10826     }
    10827   /* Do not output a trailing newline, as this causes \r\n confusion
    10828      on some platforms.  */
    10829   return ferror (f) || fclose (f) != 0;
    10830 
    10831   ;
    10832   return 0;
    10833 }
    10834 _ACEOF
    10835 rm -f conftest$ac_exeext
    10836 if { (ac_try="$ac_link"
    10837 case "(($ac_try" in
    10838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10839   *) ac_try_echo=$ac_try;;
    10840 esac
    10841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10842 $as_echo "$ac_try_echo") >&5
    10843   (eval "$ac_link") 2>&5
    10844   ac_status=$?
    10845   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10846   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10847   { (case "(($ac_try" in
    10848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10849   *) ac_try_echo=$ac_try;;
    10850 esac
    10851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10852 $as_echo "$ac_try_echo") >&5
    10853   (eval "$ac_try") 2>&5
    10854   ac_status=$?
    10855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10856   (exit $ac_status); }; }; then
    10857   ac_cv_sizeof_void_p=`cat conftest.val`
    10858 else
    10859   $as_echo "$as_me: program exited with status $ac_status" >&5
    10860 $as_echo "$as_me: failed program was:" >&5
    10861 sed 's/^/| /' conftest.$ac_ext >&5
    10862 
    10863 ( exit $ac_status )
    10864 if test "$ac_cv_type_void_p" = yes; then
    10865      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10867 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10868 See \`config.log' for more details." >&5
    10869 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10870 See \`config.log' for more details." >&2;}
    10871    { (exit 77); exit 77; }; }; }
     8101as_fn_error 77 "cannot compute sizeof (void *)
     8102See \`config.log' for more details" "$LINENO" 5; }
    108728103   else
    108738104     ac_cv_sizeof_void_p=0
    108748105   fi
    108758106fi
    10876 rm -rf conftest.dSYM
    10877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10878 fi
    10879 rm -f conftest.val
    10880 fi
    10881 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
     8107
     8108fi
     8109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    108828110$as_echo "$ac_cv_sizeof_void_p" >&6; }
    108838111
     
    108938121# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    108948122# This bug is HP SR number 8606223364.
    10895 { $as_echo "$as_me:$LINENO: checking size of float" >&5
     8123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
    108968124$as_echo_n "checking size of float... " >&6; }
    10897 if test "${ac_cv_sizeof_float+set}" = set; then
     8125if ${ac_cv_sizeof_float+:} false; then :
    108988126  $as_echo_n "(cached) " >&6
    108998127else
    10900   if test "$cross_compiling" = yes; then
    10901   # Depending upon the size, compute the lo and hi bounds.
    10902 cat >conftest.$ac_ext <<_ACEOF
    10903 /* confdefs.h.  */
    10904 _ACEOF
    10905 cat confdefs.h >>conftest.$ac_ext
    10906 cat >>conftest.$ac_ext <<_ACEOF
    10907 /* end confdefs.h.  */
    10908 $ac_includes_default
    10909 int
    10910 main ()
    10911 {
    10912 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
    10913 test_array [0] = 0
    10914 
    10915   ;
    10916   return 0;
    10917 }
    10918 _ACEOF
    10919 rm -f conftest.$ac_objext
    10920 if { (ac_try="$ac_compile"
    10921 case "(($ac_try" in
    10922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10923   *) ac_try_echo=$ac_try;;
    10924 esac
    10925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10926 $as_echo "$ac_try_echo") >&5
    10927   (eval "$ac_compile") 2>conftest.er1
    10928   ac_status=$?
    10929   grep -v '^ *+' conftest.er1 >conftest.err
    10930   rm -f conftest.er1
    10931   cat conftest.err >&5
    10932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10933   (exit $ac_status); } && {
    10934          test -z "$ac_cxx_werror_flag" ||
    10935          test ! -s conftest.err
    10936        } && test -s conftest.$ac_objext; then
    10937   ac_lo=0 ac_mid=0
    10938   while :; do
    10939     cat >conftest.$ac_ext <<_ACEOF
    10940 /* confdefs.h.  */
    10941 _ACEOF
    10942 cat confdefs.h >>conftest.$ac_ext
    10943 cat >>conftest.$ac_ext <<_ACEOF
    10944 /* end confdefs.h.  */
    10945 $ac_includes_default
    10946 int
    10947 main ()
    10948 {
    10949 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    10950 test_array [0] = 0
    10951 
    10952   ;
    10953   return 0;
    10954 }
    10955 _ACEOF
    10956 rm -f conftest.$ac_objext
    10957 if { (ac_try="$ac_compile"
    10958 case "(($ac_try" in
    10959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10960   *) ac_try_echo=$ac_try;;
    10961 esac
    10962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10963 $as_echo "$ac_try_echo") >&5
    10964   (eval "$ac_compile") 2>conftest.er1
    10965   ac_status=$?
    10966   grep -v '^ *+' conftest.er1 >conftest.err
    10967   rm -f conftest.er1
    10968   cat conftest.err >&5
    10969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10970   (exit $ac_status); } && {
    10971          test -z "$ac_cxx_werror_flag" ||
    10972          test ! -s conftest.err
    10973        } && test -s conftest.$ac_objext; then
    10974   ac_hi=$ac_mid; break
    10975 else
    10976   $as_echo "$as_me: failed program was:" >&5
    10977 sed 's/^/| /' conftest.$ac_ext >&5
    10978 
    10979         ac_lo=`expr $ac_mid + 1`
    10980                         if test $ac_lo -le $ac_mid; then
    10981                           ac_lo= ac_hi=
    10982                           break
    10983                         fi
    10984                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10985 fi
    10986 
    10987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10988   done
    10989 else
    10990   $as_echo "$as_me: failed program was:" >&5
    10991 sed 's/^/| /' conftest.$ac_ext >&5
    10992 
    10993         cat >conftest.$ac_ext <<_ACEOF
    10994 /* confdefs.h.  */
    10995 _ACEOF
    10996 cat confdefs.h >>conftest.$ac_ext
    10997 cat >>conftest.$ac_ext <<_ACEOF
    10998 /* end confdefs.h.  */
    10999 $ac_includes_default
    11000 int
    11001 main ()
    11002 {
    11003 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
    11004 test_array [0] = 0
    11005 
    11006   ;
    11007   return 0;
    11008 }
    11009 _ACEOF
    11010 rm -f conftest.$ac_objext
    11011 if { (ac_try="$ac_compile"
    11012 case "(($ac_try" in
    11013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11014   *) ac_try_echo=$ac_try;;
    11015 esac
    11016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11017 $as_echo "$ac_try_echo") >&5
    11018   (eval "$ac_compile") 2>conftest.er1
    11019   ac_status=$?
    11020   grep -v '^ *+' conftest.er1 >conftest.err
    11021   rm -f conftest.er1
    11022   cat conftest.err >&5
    11023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11024   (exit $ac_status); } && {
    11025          test -z "$ac_cxx_werror_flag" ||
    11026          test ! -s conftest.err
    11027        } && test -s conftest.$ac_objext; then
    11028   ac_hi=-1 ac_mid=-1
    11029   while :; do
    11030     cat >conftest.$ac_ext <<_ACEOF
    11031 /* confdefs.h.  */
    11032 _ACEOF
    11033 cat confdefs.h >>conftest.$ac_ext
    11034 cat >>conftest.$ac_ext <<_ACEOF
    11035 /* end confdefs.h.  */
    11036 $ac_includes_default
    11037 int
    11038 main ()
    11039 {
    11040 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
    11041 test_array [0] = 0
    11042 
    11043   ;
    11044   return 0;
    11045 }
    11046 _ACEOF
    11047 rm -f conftest.$ac_objext
    11048 if { (ac_try="$ac_compile"
    11049 case "(($ac_try" in
    11050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11051   *) ac_try_echo=$ac_try;;
    11052 esac
    11053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11054 $as_echo "$ac_try_echo") >&5
    11055   (eval "$ac_compile") 2>conftest.er1
    11056   ac_status=$?
    11057   grep -v '^ *+' conftest.er1 >conftest.err
    11058   rm -f conftest.er1
    11059   cat conftest.err >&5
    11060   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11061   (exit $ac_status); } && {
    11062          test -z "$ac_cxx_werror_flag" ||
    11063          test ! -s conftest.err
    11064        } && test -s conftest.$ac_objext; then
    11065   ac_lo=$ac_mid; break
    11066 else
    11067   $as_echo "$as_me: failed program was:" >&5
    11068 sed 's/^/| /' conftest.$ac_ext >&5
    11069 
    11070         ac_hi=`expr '(' $ac_mid ')' - 1`
    11071                         if test $ac_mid -le $ac_hi; then
    11072                           ac_lo= ac_hi=
    11073                           break
    11074                         fi
    11075                         ac_mid=`expr 2 '*' $ac_mid`
    11076 fi
    11077 
    11078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11079   done
    11080 else
    11081   $as_echo "$as_me: failed program was:" >&5
    11082 sed 's/^/| /' conftest.$ac_ext >&5
    11083 
    11084         ac_lo= ac_hi=
    11085 fi
    11086 
    11087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11088 fi
    11089 
    11090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11091 # Binary search between lo and hi bounds.
    11092 while test "x$ac_lo" != "x$ac_hi"; do
    11093   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    11094   cat >conftest.$ac_ext <<_ACEOF
    11095 /* confdefs.h.  */
    11096 _ACEOF
    11097 cat confdefs.h >>conftest.$ac_ext
    11098 cat >>conftest.$ac_ext <<_ACEOF
    11099 /* end confdefs.h.  */
    11100 $ac_includes_default
    11101 int
    11102 main ()
    11103 {
    11104 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    11105 test_array [0] = 0
    11106 
    11107   ;
    11108   return 0;
    11109 }
    11110 _ACEOF
    11111 rm -f conftest.$ac_objext
    11112 if { (ac_try="$ac_compile"
    11113 case "(($ac_try" in
    11114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11115   *) ac_try_echo=$ac_try;;
    11116 esac
    11117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11118 $as_echo "$ac_try_echo") >&5
    11119   (eval "$ac_compile") 2>conftest.er1
    11120   ac_status=$?
    11121   grep -v '^ *+' conftest.er1 >conftest.err
    11122   rm -f conftest.er1
    11123   cat conftest.err >&5
    11124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11125   (exit $ac_status); } && {
    11126          test -z "$ac_cxx_werror_flag" ||
    11127          test ! -s conftest.err
    11128        } && test -s conftest.$ac_objext; then
    11129   ac_hi=$ac_mid
    11130 else
    11131   $as_echo "$as_me: failed program was:" >&5
    11132 sed 's/^/| /' conftest.$ac_ext >&5
    11133 
    11134         ac_lo=`expr '(' $ac_mid ')' + 1`
    11135 fi
    11136 
    11137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11138 done
    11139 case $ac_lo in
    11140 ?*) ac_cv_sizeof_float=$ac_lo;;
    11141 '') if test "$ac_cv_type_float" = yes; then
    11142      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8128  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
     8129
     8130else
     8131  if test "$ac_cv_type_float" = yes; then
     8132     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    111438133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    11144 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    11145 See \`config.log' for more details." >&5
    11146 $as_echo "$as_me: error: cannot compute sizeof (float)
    11147 See \`config.log' for more details." >&2;}
    11148    { (exit 77); exit 77; }; }; }
    11149    else
    11150      ac_cv_sizeof_float=0
    11151    fi ;;
    11152 esac
    11153 else
    11154   cat >conftest.$ac_ext <<_ACEOF
    11155 /* confdefs.h.  */
    11156 _ACEOF
    11157 cat confdefs.h >>conftest.$ac_ext
    11158 cat >>conftest.$ac_ext <<_ACEOF
    11159 /* end confdefs.h.  */
    11160 $ac_includes_default
    11161 static long int longval () { return (long int) (sizeof (float)); }
    11162 static unsigned long int ulongval () { return (long int) (sizeof (float)); }
    11163 #include <stdio.h>
    11164 #include <stdlib.h>
    11165 int
    11166 main ()
    11167 {
    11168 
    11169   FILE *f = fopen ("conftest.val", "w");
    11170   if (! f)
    11171     return 1;
    11172   if (((long int) (sizeof (float))) < 0)
    11173     {
    11174       long int i = longval ();
    11175       if (i != ((long int) (sizeof (float))))
    11176         return 1;
    11177       fprintf (f, "%ld", i);
    11178     }
    11179   else
    11180     {
    11181       unsigned long int i = ulongval ();
    11182       if (i != ((long int) (sizeof (float))))
    11183         return 1;
    11184       fprintf (f, "%lu", i);
    11185     }
    11186   /* Do not output a trailing newline, as this causes \r\n confusion
    11187      on some platforms.  */
    11188   return ferror (f) || fclose (f) != 0;
    11189 
    11190   ;
    11191   return 0;
    11192 }
    11193 _ACEOF
    11194 rm -f conftest$ac_exeext
    11195 if { (ac_try="$ac_link"
    11196 case "(($ac_try" in
    11197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11198   *) ac_try_echo=$ac_try;;
    11199 esac
    11200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11201 $as_echo "$ac_try_echo") >&5
    11202   (eval "$ac_link") 2>&5
    11203   ac_status=$?
    11204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11205   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    11206   { (case "(($ac_try" in
    11207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11208   *) ac_try_echo=$ac_try;;
    11209 esac
    11210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11211 $as_echo "$ac_try_echo") >&5
    11212   (eval "$ac_try") 2>&5
    11213   ac_status=$?
    11214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11215   (exit $ac_status); }; }; then
    11216   ac_cv_sizeof_float=`cat conftest.val`
    11217 else
    11218   $as_echo "$as_me: program exited with status $ac_status" >&5
    11219 $as_echo "$as_me: failed program was:" >&5
    11220 sed 's/^/| /' conftest.$ac_ext >&5
    11221 
    11222 ( exit $ac_status )
    11223 if test "$ac_cv_type_float" = yes; then
    11224      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    11225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    11226 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    11227 See \`config.log' for more details." >&5
    11228 $as_echo "$as_me: error: cannot compute sizeof (float)
    11229 See \`config.log' for more details." >&2;}
    11230    { (exit 77); exit 77; }; }; }
     8134as_fn_error 77 "cannot compute sizeof (float)
     8135See \`config.log' for more details" "$LINENO" 5; }
    112318136   else
    112328137     ac_cv_sizeof_float=0
    112338138   fi
    112348139fi
    11235 rm -rf conftest.dSYM
    11236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    11237 fi
    11238 rm -f conftest.val
    11239 fi
    11240 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
     8140
     8141fi
     8142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
    112418143$as_echo "$ac_cv_sizeof_float" >&6; }
    112428144
     
    112608162#       Tcl headers and library (done)
    112618163#       GL headers and library
    11262 #       GLuT headers and library
    112638164#       GLEW header and library
    11264 #       Cg headers and library
    11265 #       CgGL headers and library
    112668165#       pthread library
    112678166#       ffmpeg headers and library (started)
     
    112948193
    112958194RP_DIR=""
    11296 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
     8195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
    112978196$as_echo_n "checking for rappture... " >&6; }
    112988197if test "$with_rappture" == "yes" ; then
     
    113038202      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    113048203      RP_LIB_DIR="$dir/lib"
    11305       { $as_echo "$as_me:$LINENO: result: $dir" >&5
     8204      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
    113068205$as_echo "$dir" >&6; }
    113078206      break
     
    113108209else
    113118210  if test ! -d "$with_rappture" ; then
    11312     { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5
    11313 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;}
    11314    { (exit 1); exit 1; }; }
     8211    as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
    113158212  fi
    113168213  RP_DIR=$with_rappture
     
    113198216fi
    113208217if test "x${RP_DIR}" = "x" ; then
    11321   { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5
    11322 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;}
    11323    { (exit 1); exit 1; }; }
    11324 else
    11325   { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5
     8218  as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
     8219else
     8220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
    113268221$as_echo "$with_rappture" >&6; }
    113278222fi
     
    113548249CPPFLAGS=$VTK_INC_SPEC
    113558250
    11356 
    113578251for ac_header in vtkSmartPointer.h
    11358 do
    11359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11361   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11362 $as_echo_n "checking for $ac_header... " >&6; }
    11363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11364   $as_echo_n "(cached) " >&6
    11365 fi
    11366 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11367                  $as_echo "$as_val"'`
    11368                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11369 $as_echo "$ac_res" >&6; }
    11370 else
    11371   # Is the header compilable?
    11372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11373 $as_echo_n "checking $ac_header usability... " >&6; }
    11374 cat >conftest.$ac_ext <<_ACEOF
    11375 /* confdefs.h.  */
    11376 _ACEOF
    11377 cat confdefs.h >>conftest.$ac_ext
    11378 cat >>conftest.$ac_ext <<_ACEOF
    11379 /* end confdefs.h.  */
    11380 $ac_includes_default
    11381 #include <$ac_header>
    11382 _ACEOF
    11383 rm -f conftest.$ac_objext
    11384 if { (ac_try="$ac_compile"
    11385 case "(($ac_try" in
    11386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11387   *) ac_try_echo=$ac_try;;
    11388 esac
    11389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11390 $as_echo "$ac_try_echo") >&5
    11391   (eval "$ac_compile") 2>conftest.er1
    11392   ac_status=$?
    11393   grep -v '^ *+' conftest.er1 >conftest.err
    11394   rm -f conftest.er1
    11395   cat conftest.err >&5
    11396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11397   (exit $ac_status); } && {
    11398          test -z "$ac_cxx_werror_flag" ||
    11399          test ! -s conftest.err
    11400        } && test -s conftest.$ac_objext; then
    11401   ac_header_compiler=yes
    11402 else
    11403   $as_echo "$as_me: failed program was:" >&5
    11404 sed 's/^/| /' conftest.$ac_ext >&5
    11405 
    11406         ac_header_compiler=no
    11407 fi
    11408 
    11409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11411 $as_echo "$ac_header_compiler" >&6; }
    11412 
    11413 # Is the header present?
    11414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11415 $as_echo_n "checking $ac_header presence... " >&6; }
    11416 cat >conftest.$ac_ext <<_ACEOF
    11417 /* confdefs.h.  */
    11418 _ACEOF
    11419 cat confdefs.h >>conftest.$ac_ext
    11420 cat >>conftest.$ac_ext <<_ACEOF
    11421 /* end confdefs.h.  */
    11422 #include <$ac_header>
    11423 _ACEOF
    11424 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11425 case "(($ac_try" in
    11426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11427   *) ac_try_echo=$ac_try;;
    11428 esac
    11429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11430 $as_echo "$ac_try_echo") >&5
    11431   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11432   ac_status=$?
    11433   grep -v '^ *+' conftest.er1 >conftest.err
    11434   rm -f conftest.er1
    11435   cat conftest.err >&5
    11436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11437   (exit $ac_status); } >/dev/null && {
    11438          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11439          test ! -s conftest.err
    11440        }; then
    11441   ac_header_preproc=yes
    11442 else
    11443   $as_echo "$as_me: failed program was:" >&5
    11444 sed 's/^/| /' conftest.$ac_ext >&5
    11445 
    11446   ac_header_preproc=no
    11447 fi
    11448 
    11449 rm -f conftest.err conftest.$ac_ext
    11450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11451 $as_echo "$ac_header_preproc" >&6; }
    11452 
    11453 # So?  What about this header?
    11454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11455   yes:no: )
    11456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11460     ac_header_preproc=yes
    11461     ;;
    11462   no:yes:* )
    11463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11466 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11467     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11469     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11470 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11471     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11473     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11475     ( cat <<\_ASBOX
    11476 ## ----------------------------------- ##
    11477 ## Report this to rappture@nanohub.org ##
    11478 ## ----------------------------------- ##
    11479 _ASBOX
    11480      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11481     ;;
    11482 esac
    11483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11484 $as_echo_n "checking for $ac_header... " >&6; }
    11485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11486   $as_echo_n "(cached) " >&6
    11487 else
    11488   eval "$as_ac_Header=\$ac_header_preproc"
    11489 fi
    11490 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11491                  $as_echo "$as_val"'`
    11492                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11493 $as_echo "$ac_res" >&6; }
    11494 
    11495 fi
    11496 as_val=`eval 'as_val=${'$as_ac_Header'}
    11497                  $as_echo "$as_val"'`
    11498    if test "x$as_val" = x""yes; then
     8252do :
     8253  ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
     8254if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
     8255  cat >>confdefs.h <<_ACEOF
     8256#define HAVE_VTKSMARTPOINTER_H 1
     8257_ACEOF
     8258
     8259else
     8260  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5
     8261$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
     8262fi
     8263
     8264done
     8265
     8266CPPFLAGS=$save_CPPFLAGS
     8267
     8268ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
     8269if test "x$ac_cv_header_GL_glew_h" = xyes; then :
     8270
     8271fi
     8272
     8273
     8274
     8275for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     8276do :
     8277  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8278ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8279if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    114998280  cat >>confdefs.h <<_ACEOF
    115008281#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    115018282_ACEOF
    115028283
    11503 else
    11504   { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5
    11505 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    115068284fi
    115078285
    115088286done
    115098287
    11510 CPPFLAGS=$save_CPPFLAGS
    11511 
    11512 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11513   { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11514 $as_echo_n "checking for GL/glut.h... " >&6; }
    11515 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11516   $as_echo_n "(cached) " >&6
    11517 fi
    11518 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11519 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11520 else
    11521   # Is the header compilable?
    11522 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    11523 $as_echo_n "checking GL/glut.h usability... " >&6; }
    11524 cat >conftest.$ac_ext <<_ACEOF
    11525 /* confdefs.h.  */
    11526 _ACEOF
    11527 cat confdefs.h >>conftest.$ac_ext
    11528 cat >>conftest.$ac_ext <<_ACEOF
    11529 /* end confdefs.h.  */
    11530 $ac_includes_default
    11531 #include <GL/glut.h>
    11532 _ACEOF
    11533 rm -f conftest.$ac_objext
    11534 if { (ac_try="$ac_compile"
    11535 case "(($ac_try" in
    11536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11537   *) ac_try_echo=$ac_try;;
    11538 esac
    11539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11540 $as_echo "$ac_try_echo") >&5
    11541   (eval "$ac_compile") 2>conftest.er1
    11542   ac_status=$?
    11543   grep -v '^ *+' conftest.er1 >conftest.err
    11544   rm -f conftest.er1
    11545   cat conftest.err >&5
    11546   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11547   (exit $ac_status); } && {
    11548          test -z "$ac_cxx_werror_flag" ||
    11549          test ! -s conftest.err
    11550        } && test -s conftest.$ac_objext; then
    11551   ac_header_compiler=yes
    11552 else
    11553   $as_echo "$as_me: failed program was:" >&5
    11554 sed 's/^/| /' conftest.$ac_ext >&5
    11555 
    11556         ac_header_compiler=no
    11557 fi
    11558 
    11559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11560 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11561 $as_echo "$ac_header_compiler" >&6; }
    11562 
    11563 # Is the header present?
    11564 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    11565 $as_echo_n "checking GL/glut.h presence... " >&6; }
    11566 cat >conftest.$ac_ext <<_ACEOF
    11567 /* confdefs.h.  */
    11568 _ACEOF
    11569 cat confdefs.h >>conftest.$ac_ext
    11570 cat >>conftest.$ac_ext <<_ACEOF
    11571 /* end confdefs.h.  */
    11572 #include <GL/glut.h>
    11573 _ACEOF
    11574 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11575 case "(($ac_try" in
    11576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11577   *) ac_try_echo=$ac_try;;
    11578 esac
    11579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11580 $as_echo "$ac_try_echo") >&5
    11581   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11582   ac_status=$?
    11583   grep -v '^ *+' conftest.er1 >conftest.err
    11584   rm -f conftest.er1
    11585   cat conftest.err >&5
    11586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11587   (exit $ac_status); } >/dev/null && {
    11588          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11589          test ! -s conftest.err
    11590        }; then
    11591   ac_header_preproc=yes
    11592 else
    11593   $as_echo "$as_me: failed program was:" >&5
    11594 sed 's/^/| /' conftest.$ac_ext >&5
    11595 
    11596   ac_header_preproc=no
    11597 fi
    11598 
    11599 rm -f conftest.err conftest.$ac_ext
    11600 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11601 $as_echo "$ac_header_preproc" >&6; }
    11602 
    11603 # So?  What about this header?
    11604 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11605   yes:no: )
    11606     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11607 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11608     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
    11609 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    11610     ac_header_preproc=yes
    11611     ;;
    11612   no:yes:* )
    11613     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    11614 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
    11615     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
    11616 $as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
    11617     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
    11618 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
    11619     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
    11620 $as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11621     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
    11622 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
    11623     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
    11624 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    11625     ( cat <<\_ASBOX
    11626 ## ----------------------------------- ##
    11627 ## Report this to rappture@nanohub.org ##
    11628 ## ----------------------------------- ##
    11629 _ASBOX
    11630      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11631     ;;
    11632 esac
    11633 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11634 $as_echo_n "checking for GL/glut.h... " >&6; }
    11635 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11636   $as_echo_n "(cached) " >&6
    11637 else
    11638   ac_cv_header_GL_glut_h=$ac_header_preproc
    11639 fi
    11640 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11641 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11642 
    11643 fi
    11644 
    11645 
    11646 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11647   { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11648 $as_echo_n "checking for GL/glew.h... " >&6; }
    11649 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11650   $as_echo_n "(cached) " >&6
    11651 fi
    11652 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11653 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11654 else
    11655   # Is the header compilable?
    11656 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    11657 $as_echo_n "checking GL/glew.h usability... " >&6; }
    11658 cat >conftest.$ac_ext <<_ACEOF
    11659 /* confdefs.h.  */
    11660 _ACEOF
    11661 cat confdefs.h >>conftest.$ac_ext
    11662 cat >>conftest.$ac_ext <<_ACEOF
    11663 /* end confdefs.h.  */
    11664 $ac_includes_default
    11665 #include <GL/glew.h>
    11666 _ACEOF
    11667 rm -f conftest.$ac_objext
    11668 if { (ac_try="$ac_compile"
    11669 case "(($ac_try" in
    11670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11671   *) ac_try_echo=$ac_try;;
    11672 esac
    11673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11674 $as_echo "$ac_try_echo") >&5
    11675   (eval "$ac_compile") 2>conftest.er1
    11676   ac_status=$?
    11677   grep -v '^ *+' conftest.er1 >conftest.err
    11678   rm -f conftest.er1
    11679   cat conftest.err >&5
    11680   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11681   (exit $ac_status); } && {
    11682          test -z "$ac_cxx_werror_flag" ||
    11683          test ! -s conftest.err
    11684        } && test -s conftest.$ac_objext; then
    11685   ac_header_compiler=yes
    11686 else
    11687   $as_echo "$as_me: failed program was:" >&5
    11688 sed 's/^/| /' conftest.$ac_ext >&5
    11689 
    11690         ac_header_compiler=no
    11691 fi
    11692 
    11693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11694 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11695 $as_echo "$ac_header_compiler" >&6; }
    11696 
    11697 # Is the header present?
    11698 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    11699 $as_echo_n "checking GL/glew.h presence... " >&6; }
    11700 cat >conftest.$ac_ext <<_ACEOF
    11701 /* confdefs.h.  */
    11702 _ACEOF
    11703 cat confdefs.h >>conftest.$ac_ext
    11704 cat >>conftest.$ac_ext <<_ACEOF
    11705 /* end confdefs.h.  */
    11706 #include <GL/glew.h>
    11707 _ACEOF
    11708 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11709 case "(($ac_try" in
    11710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11711   *) ac_try_echo=$ac_try;;
    11712 esac
    11713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11714 $as_echo "$ac_try_echo") >&5
    11715   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11716   ac_status=$?
    11717   grep -v '^ *+' conftest.er1 >conftest.err
    11718   rm -f conftest.er1
    11719   cat conftest.err >&5
    11720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11721   (exit $ac_status); } >/dev/null && {
    11722          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11723          test ! -s conftest.err
    11724        }; then
    11725   ac_header_preproc=yes
    11726 else
    11727   $as_echo "$as_me: failed program was:" >&5
    11728 sed 's/^/| /' conftest.$ac_ext >&5
    11729 
    11730   ac_header_preproc=no
    11731 fi
    11732 
    11733 rm -f conftest.err conftest.$ac_ext
    11734 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11735 $as_echo "$ac_header_preproc" >&6; }
    11736 
    11737 # So?  What about this header?
    11738 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11739   yes:no: )
    11740     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11741 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11742     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
    11743 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    11744     ac_header_preproc=yes
    11745     ;;
    11746   no:yes:* )
    11747     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    11748 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
    11749     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
    11750 $as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
    11751     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
    11752 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
    11753     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
    11754 $as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11755     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
    11756 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
    11757     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
    11758 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    11759     ( cat <<\_ASBOX
    11760 ## ----------------------------------- ##
    11761 ## Report this to rappture@nanohub.org ##
    11762 ## ----------------------------------- ##
    11763 _ASBOX
    11764      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11765     ;;
    11766 esac
    11767 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11768 $as_echo_n "checking for GL/glew.h... " >&6; }
    11769 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11770   $as_echo_n "(cached) " >&6
    11771 else
    11772   ac_cv_header_GL_glew_h=$ac_header_preproc
    11773 fi
    11774 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11775 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11776 
    11777 fi
    11778 
    11779 
    11780 
    11781 
    11782 
    11783 
    11784 
    11785 
    11786 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    11787 do
    11788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11790   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11791 $as_echo_n "checking for $ac_header... " >&6; }
    11792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11793   $as_echo_n "(cached) " >&6
    11794 fi
    11795 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11796                  $as_echo "$as_val"'`
    11797                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11798 $as_echo "$ac_res" >&6; }
    11799 else
    11800   # Is the header compilable?
    11801 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11802 $as_echo_n "checking $ac_header usability... " >&6; }
    11803 cat >conftest.$ac_ext <<_ACEOF
    11804 /* confdefs.h.  */
    11805 _ACEOF
    11806 cat confdefs.h >>conftest.$ac_ext
    11807 cat >>conftest.$ac_ext <<_ACEOF
    11808 /* end confdefs.h.  */
    11809 $ac_includes_default
    11810 #include <$ac_header>
    11811 _ACEOF
    11812 rm -f conftest.$ac_objext
    11813 if { (ac_try="$ac_compile"
    11814 case "(($ac_try" in
    11815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11816   *) ac_try_echo=$ac_try;;
    11817 esac
    11818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11819 $as_echo "$ac_try_echo") >&5
    11820   (eval "$ac_compile") 2>conftest.er1
    11821   ac_status=$?
    11822   grep -v '^ *+' conftest.er1 >conftest.err
    11823   rm -f conftest.er1
    11824   cat conftest.err >&5
    11825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11826   (exit $ac_status); } && {
    11827          test -z "$ac_cxx_werror_flag" ||
    11828          test ! -s conftest.err
    11829        } && test -s conftest.$ac_objext; then
    11830   ac_header_compiler=yes
    11831 else
    11832   $as_echo "$as_me: failed program was:" >&5
    11833 sed 's/^/| /' conftest.$ac_ext >&5
    11834 
    11835         ac_header_compiler=no
    11836 fi
    11837 
    11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11839 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11840 $as_echo "$ac_header_compiler" >&6; }
    11841 
    11842 # Is the header present?
    11843 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11844 $as_echo_n "checking $ac_header presence... " >&6; }
    11845 cat >conftest.$ac_ext <<_ACEOF
    11846 /* confdefs.h.  */
    11847 _ACEOF
    11848 cat confdefs.h >>conftest.$ac_ext
    11849 cat >>conftest.$ac_ext <<_ACEOF
    11850 /* end confdefs.h.  */
    11851 #include <$ac_header>
    11852 _ACEOF
    11853 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11854 case "(($ac_try" in
    11855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11856   *) ac_try_echo=$ac_try;;
    11857 esac
    11858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11859 $as_echo "$ac_try_echo") >&5
    11860   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11861   ac_status=$?
    11862   grep -v '^ *+' conftest.er1 >conftest.err
    11863   rm -f conftest.er1
    11864   cat conftest.err >&5
    11865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11866   (exit $ac_status); } >/dev/null && {
    11867          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11868          test ! -s conftest.err
    11869        }; then
    11870   ac_header_preproc=yes
    11871 else
    11872   $as_echo "$as_me: failed program was:" >&5
    11873 sed 's/^/| /' conftest.$ac_ext >&5
    11874 
    11875   ac_header_preproc=no
    11876 fi
    11877 
    11878 rm -f conftest.err conftest.$ac_ext
    11879 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11880 $as_echo "$ac_header_preproc" >&6; }
    11881 
    11882 # So?  What about this header?
    11883 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11884   yes:no: )
    11885     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11886 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11887     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11888 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11889     ac_header_preproc=yes
    11890     ;;
    11891   no:yes:* )
    11892     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11893 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11894     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11895 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11896     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11897 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11898     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11899 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11900     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11901 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11902     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11903 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11904     ( cat <<\_ASBOX
    11905 ## ----------------------------------- ##
    11906 ## Report this to rappture@nanohub.org ##
    11907 ## ----------------------------------- ##
    11908 _ASBOX
    11909      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11910     ;;
    11911 esac
    11912 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11913 $as_echo_n "checking for $ac_header... " >&6; }
    11914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11915   $as_echo_n "(cached) " >&6
    11916 else
    11917   eval "$as_ac_Header=\$ac_header_preproc"
    11918 fi
    11919 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11920                  $as_echo "$as_val"'`
    11921                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11922 $as_echo "$ac_res" >&6; }
    11923 
    11924 fi
    11925 as_val=`eval 'as_val=${'$as_ac_Header'}
    11926                  $as_echo "$as_val"'`
    11927    if test "x$as_val" = x""yes; then
     8288for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     8289do :
     8290  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8291ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8292if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    119288293  cat >>confdefs.h <<_ACEOF
    119298294#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    119358300
    119368301
    11937 
    11938 
    11939 
    11940 
    11941 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    11942 do
    11943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11944 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11945   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11946 $as_echo_n "checking for $ac_header... " >&6; }
    11947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11948   $as_echo_n "(cached) " >&6
    11949 fi
    11950 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11951                  $as_echo "$as_val"'`
    11952                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11953 $as_echo "$ac_res" >&6; }
    11954 else
    11955   # Is the header compilable?
    11956 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11957 $as_echo_n "checking $ac_header usability... " >&6; }
    11958 cat >conftest.$ac_ext <<_ACEOF
    11959 /* confdefs.h.  */
    11960 _ACEOF
    11961 cat confdefs.h >>conftest.$ac_ext
    11962 cat >>conftest.$ac_ext <<_ACEOF
    11963 /* end confdefs.h.  */
    11964 $ac_includes_default
    11965 #include <$ac_header>
    11966 _ACEOF
    11967 rm -f conftest.$ac_objext
    11968 if { (ac_try="$ac_compile"
    11969 case "(($ac_try" in
    11970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11971   *) ac_try_echo=$ac_try;;
    11972 esac
    11973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11974 $as_echo "$ac_try_echo") >&5
    11975   (eval "$ac_compile") 2>conftest.er1
    11976   ac_status=$?
    11977   grep -v '^ *+' conftest.er1 >conftest.err
    11978   rm -f conftest.er1
    11979   cat conftest.err >&5
    11980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11981   (exit $ac_status); } && {
    11982          test -z "$ac_cxx_werror_flag" ||
    11983          test ! -s conftest.err
    11984        } && test -s conftest.$ac_objext; then
    11985   ac_header_compiler=yes
    11986 else
    11987   $as_echo "$as_me: failed program was:" >&5
    11988 sed 's/^/| /' conftest.$ac_ext >&5
    11989 
    11990         ac_header_compiler=no
    11991 fi
    11992 
    11993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11994 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11995 $as_echo "$ac_header_compiler" >&6; }
    11996 
    11997 # Is the header present?
    11998 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11999 $as_echo_n "checking $ac_header presence... " >&6; }
    12000 cat >conftest.$ac_ext <<_ACEOF
    12001 /* confdefs.h.  */
    12002 _ACEOF
    12003 cat confdefs.h >>conftest.$ac_ext
    12004 cat >>conftest.$ac_ext <<_ACEOF
    12005 /* end confdefs.h.  */
    12006 #include <$ac_header>
    12007 _ACEOF
    12008 if { (ac_try="$ac_cpp conftest.$ac_ext"
    12009 case "(($ac_try" in
    12010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12011   *) ac_try_echo=$ac_try;;
    12012 esac
    12013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12014 $as_echo "$ac_try_echo") >&5
    12015   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    12016   ac_status=$?
    12017   grep -v '^ *+' conftest.er1 >conftest.err
    12018   rm -f conftest.er1
    12019   cat conftest.err >&5
    12020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12021   (exit $ac_status); } >/dev/null && {
    12022          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    12023          test ! -s conftest.err
    12024        }; then
    12025   ac_header_preproc=yes
    12026 else
    12027   $as_echo "$as_me: failed program was:" >&5
    12028 sed 's/^/| /' conftest.$ac_ext >&5
    12029 
    12030   ac_header_preproc=no
    12031 fi
    12032 
    12033 rm -f conftest.err conftest.$ac_ext
    12034 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    12035 $as_echo "$ac_header_preproc" >&6; }
    12036 
    12037 # So?  What about this header?
    12038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    12039   yes:no: )
    12040     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    12041 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    12042     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    12043 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    12044     ac_header_preproc=yes
    12045     ;;
    12046   no:yes:* )
    12047     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    12048 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    12049     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    12050 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    12051     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    12052 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    12053     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    12054 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    12055     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    12056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    12057     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    12058 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    12059     ( cat <<\_ASBOX
    12060 ## ----------------------------------- ##
    12061 ## Report this to rappture@nanohub.org ##
    12062 ## ----------------------------------- ##
    12063 _ASBOX
    12064      ) | sed "s/^/$as_me: WARNING:     /" >&2
    12065     ;;
    12066 esac
    12067 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12068 $as_echo_n "checking for $ac_header... " >&6; }
    12069 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12070   $as_echo_n "(cached) " >&6
    12071 else
    12072   eval "$as_ac_Header=\$ac_header_preproc"
    12073 fi
    12074 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12075                  $as_echo "$as_val"'`
    12076                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12077 $as_echo "$ac_res" >&6; }
    12078 
    12079 fi
    12080 as_val=`eval 'as_val=${'$as_ac_Header'}
    12081                  $as_echo "$as_val"'`
    12082    if test "x$as_val" = x""yes; then
     8302for ac_func in accept4
     8303do :
     8304  ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
     8305if test "x$ac_cv_func_accept4" = xyes; then :
    120838306  cat >>confdefs.h <<_ACEOF
    12084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12085 _ACEOF
    12086 
    12087 fi
    12088 
     8307#define HAVE_ACCEPT4 1
     8308_ACEOF
     8309
     8310fi
    120898311done
    120908312
    120918313
    12092 
    12093 for ac_func in accept4
    12094 do
    12095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12097 $as_echo_n "checking for $ac_func... " >&6; }
    12098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12099   $as_echo_n "(cached) " >&6
    12100 else
    12101   cat >conftest.$ac_ext <<_ACEOF
    12102 /* confdefs.h.  */
    12103 _ACEOF
    12104 cat confdefs.h >>conftest.$ac_ext
    12105 cat >>conftest.$ac_ext <<_ACEOF
    12106 /* end confdefs.h.  */
    12107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12109 #define $ac_func innocuous_$ac_func
    12110 
    12111 /* System header to define __stub macros and hopefully few prototypes,
    12112     which can conflict with char $ac_func (); below.
    12113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12114     <limits.h> exists even on freestanding compilers.  */
    12115 
    12116 #ifdef __STDC__
    12117 # include <limits.h>
    12118 #else
    12119 # include <assert.h>
    12120 #endif
    12121 
    12122 #undef $ac_func
    12123 
    12124 /* Override any GCC internal prototype to avoid an error.
    12125    Use char because int might match the return type of a GCC
    12126    builtin and then its argument prototype would still apply.  */
    12127 #ifdef __cplusplus
    12128 extern "C"
    12129 #endif
    12130 char $ac_func ();
    12131 /* The GNU C library defines this for functions which it implements
    12132     to always fail with ENOSYS.  Some functions are actually named
    12133     something starting with __ and the normal name is an alias.  */
    12134 #if defined __stub_$ac_func || defined __stub___$ac_func
    12135 choke me
    12136 #endif
    12137 
    12138 int
    12139 main ()
    12140 {
    12141 return $ac_func ();
    12142   ;
    12143   return 0;
    12144 }
    12145 _ACEOF
    12146 rm -f conftest.$ac_objext conftest$ac_exeext
    12147 if { (ac_try="$ac_link"
    12148 case "(($ac_try" in
    12149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12150   *) ac_try_echo=$ac_try;;
    12151 esac
    12152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12153 $as_echo "$ac_try_echo") >&5
    12154   (eval "$ac_link") 2>conftest.er1
    12155   ac_status=$?
    12156   grep -v '^ *+' conftest.er1 >conftest.err
    12157   rm -f conftest.er1
    12158   cat conftest.err >&5
    12159   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12160   (exit $ac_status); } && {
    12161          test -z "$ac_cxx_werror_flag" ||
    12162          test ! -s conftest.err
    12163        } && test -s conftest$ac_exeext && {
    12164          test "$cross_compiling" = yes ||
    12165          $as_test_x conftest$ac_exeext
    12166        }; then
    12167   eval "$as_ac_var=yes"
    12168 else
    12169   $as_echo "$as_me: failed program was:" >&5
    12170 sed 's/^/| /' conftest.$ac_ext >&5
    12171 
    12172         eval "$as_ac_var=no"
    12173 fi
    12174 
    12175 rm -rf conftest.dSYM
    12176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12177       conftest$ac_exeext conftest.$ac_ext
    12178 fi
    12179 ac_res=`eval 'as_val=${'$as_ac_var'}
    12180                  $as_echo "$as_val"'`
    12181                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12182 $as_echo "$ac_res" >&6; }
    12183 as_val=`eval 'as_val=${'$as_ac_var'}
    12184                  $as_echo "$as_val"'`
    12185    if test "x$as_val" = x""yes; then
    12186   cat >>confdefs.h <<_ACEOF
    12187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12188 _ACEOF
    12189 
    12190 fi
    12191 done
    12192 
    12193 
    121948314save_CPPFLAGS=$CPPFLAGS
    121958315
    12196 
    12197 #--------------------------------------------------------------------
    12198 # search for ffmpeg executable
    12199 #--------------------------------------------------------------------
    12200 if test "${with_ffmpeg}" != "no" ; then
    12201   if test "${with_ffmpeg}" = "yes" ; then
    12202     # Extract the first word of "ffmpeg", so it can be a program name with args.
    12203 set dummy ffmpeg; ac_word=$2
    12204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    12205 $as_echo_n "checking for $ac_word... " >&6; }
    12206 if test "${ac_cv_path_FFMPEG+set}" = set; then
    12207   $as_echo_n "(cached) " >&6
    12208 else
    12209   case $FFMPEG in
    12210   [\\/]* | ?:[\\/]*)
    12211   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    12212   ;;
    12213   *)
    12214   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12215 for as_dir in $PATH
    12216 do
    12217   IFS=$as_save_IFS
    12218   test -z "$as_dir" && as_dir=.
    12219   for ac_exec_ext in '' $ac_executable_extensions; do
    12220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    12221     ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    12222     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    12223     break 2
    12224   fi
    12225 done
    12226 done
    12227 IFS=$as_save_IFS
    12228 
    12229   ;;
    12230 esac
    12231 fi
    12232 FFMPEG=$ac_cv_path_FFMPEG
    12233 if test -n "$FFMPEG"; then
    12234   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
    12235 $as_echo "$FFMPEG" >&6; }
    12236 else
    12237   { $as_echo "$as_me:$LINENO: result: no" >&5
    12238 $as_echo "no" >&6; }
    12239 fi
    12240 
    12241 
    12242   else
    12243     # Extract the first word of "ffmpeg", so it can be a program name with args.
    12244 set dummy ffmpeg; ac_word=$2
    12245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    12246 $as_echo_n "checking for $ac_word... " >&6; }
    12247 if test "${ac_cv_path_FFMPEG+set}" = set; then
    12248   $as_echo_n "(cached) " >&6
    12249 else
    12250   case $FFMPEG in
    12251   [\\/]* | ?:[\\/]*)
    12252   ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
    12253   ;;
    12254   *)
    12255   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12256 as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
    12257 for as_dir in $as_dummy
    12258 do
    12259   IFS=$as_save_IFS
    12260   test -z "$as_dir" && as_dir=.
    12261   for ac_exec_ext in '' $ac_executable_extensions; do
    12262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    12263     ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    12264     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    12265     break 2
    12266   fi
    12267 done
    12268 done
    12269 IFS=$as_save_IFS
    12270 
    12271   ;;
    12272 esac
    12273 fi
    12274 FFMPEG=$ac_cv_path_FFMPEG
    12275 if test -n "$FFMPEG"; then
    12276   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
    12277 $as_echo "$FFMPEG" >&6; }
    12278 else
    12279   { $as_echo "$as_me:$LINENO: result: no" >&5
    12280 $as_echo "no" >&6; }
    12281 fi
    12282 
    12283 
    12284   fi
    12285   if test "${FFMPEG}x" != "x" ; then
    12286 
    12287 cat >>confdefs.h <<\_ACEOF
    12288 #define HAVE_FFMPEG 1
    12289 _ACEOF
    12290 
    12291   fi
    12292 fi
    12293 
    12294 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    12295 $as_echo_n "checking for nVidia Cg installation... " >&6; }
    12296 CG_DIR=""
    12297 for dir in \
    12298  /opt/nvidia-cg-toolkit \
    12299  /usr/cg \
    12300  /usr
    12301 do
    12302   if test -r "$dir/include" ; then
    12303     CG_DIR=$dir
    12304     break
    12305   fi
    12306 done
    12307 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    12308 $as_echo "${CG_DIR}" >&6; }
    12309 
    12310 CG_INC_SPEC="-I${CG_DIR}/include"
    12311 
    12312 save_CPPFLAGS=$CPPFLAGS
    12313 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
    12314 
    12315 for ac_header in Cg/cgGL.h
    12316 do
    12317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    12318 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12319   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12320 $as_echo_n "checking for $ac_header... " >&6; }
    12321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12322   $as_echo_n "(cached) " >&6
    12323 fi
    12324 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12325                  $as_echo "$as_val"'`
    12326                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12327 $as_echo "$ac_res" >&6; }
    12328 else
    12329   # Is the header compilable?
    12330 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    12331 $as_echo_n "checking $ac_header usability... " >&6; }
    12332 cat >conftest.$ac_ext <<_ACEOF
    12333 /* confdefs.h.  */
    12334 _ACEOF
    12335 cat confdefs.h >>conftest.$ac_ext
    12336 cat >>conftest.$ac_ext <<_ACEOF
    12337 /* end confdefs.h.  */
    12338 $ac_includes_default
    12339 #include <$ac_header>
    12340 _ACEOF
    12341 rm -f conftest.$ac_objext
    12342 if { (ac_try="$ac_compile"
    12343 case "(($ac_try" in
    12344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12345   *) ac_try_echo=$ac_try;;
    12346 esac
    12347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12348 $as_echo "$ac_try_echo") >&5
    12349   (eval "$ac_compile") 2>conftest.er1
    12350   ac_status=$?
    12351   grep -v '^ *+' conftest.er1 >conftest.err
    12352   rm -f conftest.er1
    12353   cat conftest.err >&5
    12354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12355   (exit $ac_status); } && {
    12356          test -z "$ac_cxx_werror_flag" ||
    12357          test ! -s conftest.err
    12358        } && test -s conftest.$ac_objext; then
    12359   ac_header_compiler=yes
    12360 else
    12361   $as_echo "$as_me: failed program was:" >&5
    12362 sed 's/^/| /' conftest.$ac_ext >&5
    12363 
    12364         ac_header_compiler=no
    12365 fi
    12366 
    12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12368 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    12369 $as_echo "$ac_header_compiler" >&6; }
    12370 
    12371 # Is the header present?
    12372 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    12373 $as_echo_n "checking $ac_header presence... " >&6; }
    12374 cat >conftest.$ac_ext <<_ACEOF
    12375 /* confdefs.h.  */
    12376 _ACEOF
    12377 cat confdefs.h >>conftest.$ac_ext
    12378 cat >>conftest.$ac_ext <<_ACEOF
    12379 /* end confdefs.h.  */
    12380 #include <$ac_header>
    12381 _ACEOF
    12382 if { (ac_try="$ac_cpp conftest.$ac_ext"
    12383 case "(($ac_try" in
    12384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12385   *) ac_try_echo=$ac_try;;
    12386 esac
    12387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12388 $as_echo "$ac_try_echo") >&5
    12389   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    12390   ac_status=$?
    12391   grep -v '^ *+' conftest.er1 >conftest.err
    12392   rm -f conftest.er1
    12393   cat conftest.err >&5
    12394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12395   (exit $ac_status); } >/dev/null && {
    12396          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    12397          test ! -s conftest.err
    12398        }; then
    12399   ac_header_preproc=yes
    12400 else
    12401   $as_echo "$as_me: failed program was:" >&5
    12402 sed 's/^/| /' conftest.$ac_ext >&5
    12403 
    12404   ac_header_preproc=no
    12405 fi
    12406 
    12407 rm -f conftest.err conftest.$ac_ext
    12408 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    12409 $as_echo "$ac_header_preproc" >&6; }
    12410 
    12411 # So?  What about this header?
    12412 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    12413   yes:no: )
    12414     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    12415 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    12416     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    12417 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    12418     ac_header_preproc=yes
    12419     ;;
    12420   no:yes:* )
    12421     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    12422 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    12423     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    12424 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    12425     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    12426 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    12427     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    12428 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    12429     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    12430 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    12431     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    12432 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    12433     ( cat <<\_ASBOX
    12434 ## ----------------------------------- ##
    12435 ## Report this to rappture@nanohub.org ##
    12436 ## ----------------------------------- ##
    12437 _ASBOX
    12438      ) | sed "s/^/$as_me: WARNING:     /" >&2
    12439     ;;
    12440 esac
    12441 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12442 $as_echo_n "checking for $ac_header... " >&6; }
    12443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12444   $as_echo_n "(cached) " >&6
    12445 else
    12446   eval "$as_ac_Header=\$ac_header_preproc"
    12447 fi
    12448 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12449                  $as_echo "$as_val"'`
    12450                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12451 $as_echo "$ac_res" >&6; }
    12452 
    12453 fi
    12454 as_val=`eval 'as_val=${'$as_ac_Header'}
    12455                  $as_echo "$as_val"'`
    12456    if test "x$as_val" = x""yes; then
    12457   cat >>confdefs.h <<_ACEOF
    12458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12459 _ACEOF
    12460 
    12461 else
    12462   { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5
    12463 $as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    12464 fi
    12465 
    12466 done
    12467 
    12468 CPPFLAGS=$save_CPPFLAGS
    12469 
    12470 CG_LIB_DIR=""
    12471 for dir in \
    12472  /opt/nvidia-cg-toolkit \
    12473  /usr/cg \
    12474  /usr
    12475 do
    12476   if test -r "$dir/lib" ; then
    12477     CG_LIB_DIR=$dir/lib
    12478     break
    12479   fi
    12480   if test -r "$dir/lib64" ; then
    12481     CG_LIB_DIR=$dir/lib64
    12482     break
    12483   fi
    12484 done
    12485 
    12486 if test "${CG_LIB_DIR}" = "/usr/lib" ; then
    12487   CG_INC_SPEC=""
    12488   CG_LIB_SPEC="-lCg -lCgGL"
    12489 else
    12490   CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL"
    12491   LD_RPATH="$loader_run_path:${CG_LIB_DIR}"
    12492 fi
    12493 
    12494 SUBDIRS="nanoscale nanovis pymolproxy vtkvis"
    12495 
    12496 
    12497 
    12498 
    12499 
    12500 
    12501 
    12502 
    12503 
    12504 
    12505 
    12506 
    12507 
    12508 
    12509 
    12510 
    12511 
    12512 
    12513 
    12514 
    12515 
    12516 
    12517 
    12518 
    12519 
    12520 
    12521 
    12522 
    12523 
    12524 
    12525 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"
     8316SUBDIRS="nanoscale pymolproxy vtkvis"
     8317
     8318
     8319
     8320
     8321
     8322
     8323
     8324
     8325
     8326
     8327
     8328
     8329
     8330
     8331
     8332
     8333
     8334
     8335
     8336
     8337
     8338
     8339
     8340
     8341
     8342
     8343
     8344ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"
    125268345
    125278346cat >confcache <<\_ACEOF
     
    125528371    *${as_nl}*)
    125538372      case $ac_var in #(
    12554       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     8373      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    125558374$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    125568375      esac
     
    125588377      _ | IFS | as_nl) ;; #(
    125598378      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    12560       *) $as_unset $ac_var ;;
     8379      *) { eval $ac_var=; unset $ac_var;} ;;
    125618380      esac ;;
    125628381    esac
     
    125668385    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    125678386    *${as_nl}ac_space=\ *)
    12568       # `set' does not quote correctly, so add quotes (double-quote
    12569       # substitution turns \\\\ into \\, and sed turns \\ into \).
     8387      # `set' does not quote correctly, so add quotes: double-quote
     8388      # substitution turns \\\\ into \\, and sed turns \\ into \.
    125708389      sed -n \
    125718390        "s/'/'\\\\''/g;
     
    125898408if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    125908409  if test -w "$cache_file"; then
    12591     test "x$cache_file" != "x/dev/null" &&
    12592       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     8410    if test "x$cache_file" != "x/dev/null"; then
     8411      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    125938412$as_echo "$as_me: updating cache $cache_file" >&6;}
    12594     cat confcache >$cache_file
     8413      if test ! -f "$cache_file" || test -h "$cache_file"; then
     8414        cat confcache >"$cache_file"
     8415      else
     8416        case $cache_file in #(
     8417        */* | ?:*)
     8418          mv -f confcache "$cache_file"$$ &&
     8419          mv -f "$cache_file"$$ "$cache_file" ;; #(
     8420        *)
     8421          mv -f confcache "$cache_file" ;;
     8422        esac
     8423      fi
     8424    fi
    125958425  else
    12596     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8426    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    125978427$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    125988428  fi
     
    126088438ac_libobjs=
    126098439ac_ltlibobjs=
     8440U=
    126108441for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    126118442  # 1. Remove the extension, and $U if already installed.
     
    126148445  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    126158446  #    will be set to the directory where LIBOBJS objects are built.
    12616   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    12617   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     8447  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8448  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    126188449done
    126198450LIBOBJS=$ac_libobjs
     
    126248455
    126258456
    12626 : ${CONFIG_STATUS=./config.status}
     8457: "${CONFIG_STATUS=./config.status}"
    126278458ac_write_fail=0
    126288459ac_clean_files_save=$ac_clean_files
    126298460ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    12630 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     8461{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    126318462$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    12632 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8463as_write_fail=0
     8464cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    126338465#! $SHELL
    126348466# Generated by $as_me.
     
    126408472ac_cs_recheck=false
    126418473ac_cs_silent=false
     8474
    126428475SHELL=\${CONFIG_SHELL-$SHELL}
    12643 _ACEOF
    12644 
    12645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12646 ## --------------------- ##
    12647 ## M4sh Initialization.  ##
    12648 ## --------------------- ##
     8476export SHELL
     8477_ASEOF
     8478cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     8479## -------------------- ##
     8480## M4sh Initialization. ##
     8481## -------------------- ##
    126498482
    126508483# Be more Bourne compatible
    126518484DUALCASE=1; export DUALCASE # for MKS sh
    12652 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     8485if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    126538486  emulate sh
    126548487  NULLCMD=:
     
    126588491  setopt NO_GLOB_SUBST
    126598492else
    12660   case `(set -o) 2>/dev/null` in
    12661   *posix*) set -o posix ;;
     8493  case `(set -o) 2>/dev/null` in #(
     8494  *posix*) :
     8495    set -o posix ;; #(
     8496  *) :
     8497     ;;
    126628498esac
    12663 
    12664 fi
    12665 
    12666 
    12667 
    12668 
    12669 # PATH needs CR
    12670 # Avoid depending upon Character Ranges.
    12671 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    12672 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    12673 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    12674 as_cr_digits='0123456789'
    12675 as_cr_alnum=$as_cr_Letters$as_cr_digits
     8499fi
     8500
    126768501
    126778502as_nl='
     
    126828507as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    126838508as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    12684 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     8509# Prefer a ksh shell builtin over an external printf program on Solaris,
     8510# but without wasting forks for bash or zsh.
     8511if test -z "$BASH_VERSION$ZSH_VERSION" \
     8512    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     8513  as_echo='print -r --'
     8514  as_echo_n='print -rn --'
     8515elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    126858516  as_echo='printf %s\n'
    126868517  as_echo_n='printf %s'
     
    126938524    as_echo_n_body='eval
    126948525      arg=$1;
    12695       case $arg in
     8526      case $arg in #(
    126968527      *"$as_nl"*)
    126978528        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    127168547fi
    127178548
    12718 # Support unset when possible.
    12719 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    12720   as_unset=unset
    12721 else
    12722   as_unset=false
    12723 fi
    12724 
    127258549
    127268550# IFS
     
    127328556
    127338557# Find who we are.  Look in the path if we contain no directory separator.
    12734 case $0 in
     8558as_myself=
     8559case $0 in #((
    127358560  *[\\/]* ) as_myself=$0 ;;
    127368561  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    127398564  IFS=$as_save_IFS
    127408565  test -z "$as_dir" && as_dir=.
    12741   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    12742 done
     8566    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     8567  done
    127438568IFS=$as_save_IFS
    127448569
     
    127528577if test ! -f "$as_myself"; then
    127538578  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    12754   { (exit 1); exit 1; }
    12755 fi
    12756 
    12757 # Work around bugs in pre-3.0 UWIN ksh.
    12758 for as_var in ENV MAIL MAILPATH
    12759 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     8579  exit 1
     8580fi
     8581
     8582# Unset variables that we do not need and which cause bugs (e.g. in
     8583# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     8584# suppresses any "Segmentation fault" message there.  '((' could
     8585# trigger a bug in pdksh 5.2.14.
     8586for as_var in BASH_ENV ENV MAIL MAILPATH
     8587do eval test x\${$as_var+set} = xset \
     8588  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    127608589done
    127618590PS1='$ '
     
    127698598export LANGUAGE
    127708599
    12771 # Required to use basename.
     8600# CDPATH.
     8601(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     8602
     8603
     8604# as_fn_error STATUS ERROR [LINENO LOG_FD]
     8605# ----------------------------------------
     8606# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     8607# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     8608# script with STATUS, using 1 if that was 0.
     8609as_fn_error ()
     8610{
     8611  as_status=$1; test $as_status -eq 0 && as_status=1
     8612  if test "$4"; then
     8613    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     8614    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     8615  fi
     8616  $as_echo "$as_me: error: $2" >&2
     8617  as_fn_exit $as_status
     8618} # as_fn_error
     8619
     8620
     8621# as_fn_set_status STATUS
     8622# -----------------------
     8623# Set $? to STATUS, without forking.
     8624as_fn_set_status ()
     8625{
     8626  return $1
     8627} # as_fn_set_status
     8628
     8629# as_fn_exit STATUS
     8630# -----------------
     8631# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     8632as_fn_exit ()
     8633{
     8634  set +e
     8635  as_fn_set_status $1
     8636  exit $1
     8637} # as_fn_exit
     8638
     8639# as_fn_unset VAR
     8640# ---------------
     8641# Portably unset VAR.
     8642as_fn_unset ()
     8643{
     8644  { eval $1=; unset $1;}
     8645}
     8646as_unset=as_fn_unset
     8647# as_fn_append VAR VALUE
     8648# ----------------------
     8649# Append the text in VALUE to the end of the definition contained in VAR. Take
     8650# advantage of any shell optimizations that allow amortized linear growth over
     8651# repeated appends, instead of the typical quadratic growth present in naive
     8652# implementations.
     8653if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     8654  eval 'as_fn_append ()
     8655  {
     8656    eval $1+=\$2
     8657  }'
     8658else
     8659  as_fn_append ()
     8660  {
     8661    eval $1=\$$1\$2
     8662  }
     8663fi # as_fn_append
     8664
     8665# as_fn_arith ARG...
     8666# ------------------
     8667# Perform arithmetic evaluation on the ARGs, and store the result in the
     8668# global $as_val. Take advantage of shells that can avoid forks. The arguments
     8669# must be portable across $(()) and expr.
     8670if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     8671  eval 'as_fn_arith ()
     8672  {
     8673    as_val=$(( $* ))
     8674  }'
     8675else
     8676  as_fn_arith ()
     8677  {
     8678    as_val=`expr "$@" || test $? -eq 1`
     8679  }
     8680fi # as_fn_arith
     8681
     8682
    127728683if expr a : '\(a\)' >/dev/null 2>&1 &&
    127738684   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    127838694fi
    127848695
    12785 
    12786 # Name of the executable.
     8696if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8697  as_dirname=dirname
     8698else
     8699  as_dirname=false
     8700fi
     8701
    127878702as_me=`$as_basename -- "$0" ||
    127888703$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    128048719          s/.*/./; q'`
    128058720
    12806 # CDPATH.
    12807 $as_unset CDPATH
    12808 
    12809 
    12810 
    12811   as_lineno_1=$LINENO
    12812   as_lineno_2=$LINENO
    12813   test "x$as_lineno_1" != "x$as_lineno_2" &&
    12814   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    12815 
    12816   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    12817   # uniformly replaced by the line number.  The first 'sed' inserts a
    12818   # line-number line after each line using $LINENO; the second 'sed'
    12819   # does the real work.  The second script uses 'N' to pair each
    12820   # line-number line with the line containing $LINENO, and appends
    12821   # trailing '-' during substitution so that $LINENO is not a special
    12822   # case at line end.
    12823   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    12824   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    12825   # E. McMahon (1931-1989) for sed's syntax.  :-)
    12826   sed -n '
    12827     p
    12828     /[$]LINENO/=
    12829   ' <$as_myself |
    12830     sed '
    12831       s/[$]LINENO.*/&-/
    12832       t lineno
    12833       b
    12834       :lineno
    12835       N
    12836       :loop
    12837       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    12838       t loop
    12839       s/-\n.*//
    12840     ' >$as_me.lineno &&
    12841   chmod +x "$as_me.lineno" ||
    12842     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    12843    { (exit 1); exit 1; }; }
    12844 
    12845   # Don't try to exec as it changes $[0], causing all sort of problems
    12846   # (the dirname of $[0] is not the place where we might find the
    12847   # original and so on.  Autoconf is especially sensitive to this).
    12848   . "./$as_me.lineno"
    12849   # Exit status is that of the last command.
    12850   exit
    12851 }
    12852 
    12853 
    12854 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    12855   as_dirname=dirname
    12856 else
    12857   as_dirname=false
    12858 fi
     8721# Avoid depending upon Character Ranges.
     8722as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     8723as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     8724as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     8725as_cr_digits='0123456789'
     8726as_cr_alnum=$as_cr_Letters$as_cr_digits
    128598727
    128608728ECHO_C= ECHO_N= ECHO_T=
    12861 case `echo -n x` in
     8729case `echo -n x` in #(((((
    128628730-n*)
    12863   case `echo 'x\c'` in
     8731  case `echo 'xy\c'` in
    128648732  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    12865   *)   ECHO_C='\c';;
     8733  xy)  ECHO_C='\c';;
     8734  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     8735       ECHO_T=' ';;
    128668736  esac;;
    128678737*)
    128688738  ECHO_N='-n';;
    128698739esac
    12870 if expr a : '\(a\)' >/dev/null 2>&1 &&
    12871    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    12872   as_expr=expr
    12873 else
    12874   as_expr=false
    12875 fi
    128768740
    128778741rm -f conf$$ conf$$.exe conf$$.file
     
    128888752    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    128898753    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    12890     # In both cases, we have to default to `cp -p'.
     8754    # In both cases, we have to default to `cp -pR'.
    128918755    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    12892       as_ln_s='cp -p'
     8756      as_ln_s='cp -pR'
    128938757  elif ln conf$$.file conf$$ 2>/dev/null; then
    128948758    as_ln_s=ln
    128958759  else
    12896     as_ln_s='cp -p'
     8760    as_ln_s='cp -pR'
    128978761  fi
    128988762else
    12899   as_ln_s='cp -p'
     8763  as_ln_s='cp -pR'
    129008764fi
    129018765rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    129028766rmdir conf$$.dir 2>/dev/null
    129038767
     8768
     8769# as_fn_mkdir_p
     8770# -------------
     8771# Create "$as_dir" as a directory, including parents if necessary.
     8772as_fn_mkdir_p ()
     8773{
     8774
     8775  case $as_dir in #(
     8776  -*) as_dir=./$as_dir;;
     8777  esac
     8778  test -d "$as_dir" || eval $as_mkdir_p || {
     8779    as_dirs=
     8780    while :; do
     8781      case $as_dir in #(
     8782      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     8783      *) as_qdir=$as_dir;;
     8784      esac
     8785      as_dirs="'$as_qdir' $as_dirs"
     8786      as_dir=`$as_dirname -- "$as_dir" ||
     8787$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8788         X"$as_dir" : 'X\(//\)[^/]' \| \
     8789         X"$as_dir" : 'X\(//\)$' \| \
     8790         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8791$as_echo X"$as_dir" |
     8792    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8793            s//\1/
     8794            q
     8795          }
     8796          /^X\(\/\/\)[^/].*/{
     8797            s//\1/
     8798            q
     8799          }
     8800          /^X\(\/\/\)$/{
     8801            s//\1/
     8802            q
     8803          }
     8804          /^X\(\/\).*/{
     8805            s//\1/
     8806            q
     8807          }
     8808          s/.*/./; q'`
     8809      test -d "$as_dir" && break
     8810    done
     8811    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8812  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     8813
     8814
     8815} # as_fn_mkdir_p
    129048816if mkdir -p . 2>/dev/null; then
    12905   as_mkdir_p=:
     8817  as_mkdir_p='mkdir -p "$as_dir"'
    129068818else
    129078819  test -d ./-p && rmdir ./-p
     
    129098821fi
    129108822
    12911 if test -x / >/dev/null 2>&1; then
    12912   as_test_x='test -x'
    12913 else
    12914   if ls -dL / >/dev/null 2>&1; then
    12915     as_ls_L_option=L
    12916   else
    12917     as_ls_L_option=
    12918   fi
    12919   as_test_x='
    12920     eval sh -c '\''
    12921       if test -d "$1"; then
    12922         test -d "$1/.";
    12923       else
    12924         case $1 in
    12925         -*)set "./$1";;
    12926         esac;
    12927         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    12928         ???[sx]*):;;*)false;;esac;fi
    12929     '\'' sh
    12930   '
    12931 fi
    12932 as_executable_p=$as_test_x
     8823
     8824# as_fn_executable_p FILE
     8825# -----------------------
     8826# Test if FILE is an executable regular file.
     8827as_fn_executable_p ()
     8828{
     8829  test -f "$1" && test -x "$1"
     8830} # as_fn_executable_p
     8831as_test_x='test -x'
     8832as_executable_p=as_fn_executable_p
    129338833
    129348834# Sed expression to map a string onto a valid CPP name.
     
    129408840
    129418841exec 6>&1
    12942 
    12943 # Save the log message, to keep $[0] and so on meaningful, and to
     8842## ----------------------------------- ##
     8843## Main body of $CONFIG_STATUS script. ##
     8844## ----------------------------------- ##
     8845_ASEOF
     8846test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     8847
     8848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8849# Save the log message, to keep $0 and so on meaningful, and to
    129448850# report actual input values of CONFIG_FILES etc. instead of their
    129458851# values after options handling.
    129468852ac_log="
    129478853This file was extended by vizservers $as_me 0.1, which was
    12948 generated by GNU Autoconf 2.63.  Invocation command line was
     8854generated by GNU Autoconf 2.69.  Invocation command line was
    129498855
    129508856  CONFIG_FILES    = $CONFIG_FILES
     
    129778883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    129788884ac_cs_usage="\
    12979 \`$as_me' instantiates files from templates according to the
    12980 current configuration.
    12981 
    12982 Usage: $0 [OPTION]... [FILE]...
     8885\`$as_me' instantiates files and other configuration actions
     8886from templates according to the current configuration.  Unless the files
     8887and actions are specified as TAGs, all are instantiated by default.
     8888
     8889Usage: $0 [OPTION]... [TAG]...
    129838890
    129848891  -h, --help       print this help, then exit
    129858892  -V, --version    print version number and configuration settings, then exit
     8893      --config     print configuration, then exit
    129868894  -q, --quiet, --silent
    129878895                   do not print progress messages
     
    129998907$config_headers
    130008908
    13001 Report bugs to <bug-autoconf@gnu.org>."
     8909Report bugs to <rappture@nanohub.org>."
    130028910
    130038911_ACEOF
    130048912cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8913ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    130058914ac_cs_version="\\
    130068915vizservers config.status 0.1
    13007 configured by $0, generated by GNU Autoconf 2.63,
    13008   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    13009 
    13010 Copyright (C) 2008 Free Software Foundation, Inc.
     8916configured by $0, generated by GNU Autoconf 2.69,
     8917  with options \\"\$ac_cs_config\\"
     8918
     8919Copyright (C) 2012 Free Software Foundation, Inc.
    130118920This config.status script is free software; the Free Software Foundation
    130128921gives unlimited permission to copy, distribute and modify it."
     
    130258934do
    130268935  case $1 in
    13027   --*=*)
     8936  --*=?*)
    130288937    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    130298938    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     8939    ac_shift=:
     8940    ;;
     8941  --*=)
     8942    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     8943    ac_optarg=
    130308944    ac_shift=:
    130318945    ;;
     
    130438957  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    130448958    $as_echo "$ac_cs_version"; exit ;;
     8959  --config | --confi | --conf | --con | --co | --c )
     8960    $as_echo "$ac_cs_config"; exit ;;
    130458961  --debug | --debu | --deb | --de | --d | -d )
    130468962    debug=: ;;
     
    130498965    case $ac_optarg in
    130508966    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     8967    '') as_fn_error $? "missing file argument" ;;
    130518968    esac
    13052     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     8969    as_fn_append CONFIG_FILES " '$ac_optarg'"
    130538970    ac_need_defaults=false;;
    130548971  --header | --heade | --head | --hea )
     
    130578974    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    130588975    esac
    13059     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     8976    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    130608977    ac_need_defaults=false;;
    130618978  --he | --h)
    130628979    # Conflict between --help and --header
    13063     { $as_echo "$as_me: error: ambiguous option: $1
    13064 Try \`$0 --help' for more information." >&2
    13065    { (exit 1); exit 1; }; };;
     8980    as_fn_error $? "ambiguous option: \`$1'
     8981Try \`$0 --help' for more information.";;
    130668982  --help | --hel | -h )
    130678983    $as_echo "$ac_cs_usage"; exit ;;
     
    130718987
    130728988  # This is an error.
    13073   -*) { $as_echo "$as_me: error: unrecognized option: $1
    13074 Try \`$0 --help' for more information." >&2
    13075    { (exit 1); exit 1; }; } ;;
    13076 
    13077   *) ac_config_targets="$ac_config_targets $1"
     8989  -*) as_fn_error $? "unrecognized option: \`$1'
     8990Try \`$0 --help' for more information." ;;
     8991
     8992  *) as_fn_append ac_config_targets " $1"
    130788993     ac_need_defaults=false ;;
    130798994
     
    130929007cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    130939008if \$ac_cs_recheck; then
    13094   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9009  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    130959010  shift
    130969011  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    131269041    "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;;
    131279042    "nanoscale/renderservers.tcl") CONFIG_FILES="$CONFIG_FILES nanoscale/renderservers.tcl" ;;
    13128     "nanovis/Doxyfile") CONFIG_FILES="$CONFIG_FILES nanovis/Doxyfile" ;;
    13129     "nanovis/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/Makefile" ;;
    13130     "nanovis/graphics/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/graphics/Makefile" ;;
    13131     "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;;
    13132     "nanovis/newmat11/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/newmat11/Makefile" ;;
    13133     "nanovis/util/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/util/Makefile" ;;
    13134     "nanovis/vrmath/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrmath/Makefile" ;;
    131359043    "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;;
    131369044    "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;;
     
    131399047    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    131409048
    13141   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    13142 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    13143    { (exit 1); exit 1; }; };;
     9049  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    131449050  esac
    131459051done
     
    131639069$debug ||
    131649070{
    13165   tmp=
     9071  tmp= ac_tmp=
    131669072  trap 'exit_status=$?
    13167   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9073  : "${ac_tmp:=$tmp}"
     9074  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    131689075' 0
    13169   trap '{ (exit 1); exit 1; }' 1 2 13 15
     9076  trap 'as_fn_exit 1' 1 2 13 15
    131709077}
    131719078# Create a (secure) tmp directory for tmp files.
     
    131739080{
    131749081  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    13175   test -n "$tmp" && test -d "$tmp"
     9082  test -d "$tmp"
    131769083}  ||
    131779084{
    131789085  tmp=./conf$$-$RANDOM
    131799086  (umask 077 && mkdir "$tmp")
    13180 } ||
    13181 {
    13182    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    13183    { (exit 1); exit 1; }
    13184 }
     9087} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     9088ac_tmp=$tmp
    131859089
    131869090# Set up the scripts for CONFIG_FILES section.
     
    131909094
    131919095
    13192 ac_cr='
    13193 '
     9096ac_cr=`echo X | tr X '\015'`
     9097# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9098# But we know of no other shell where ac_cr would be empty at this
     9099# point, so we can use a bashism as a fallback.
     9100if test "x$ac_cr" = x; then
     9101  eval ac_cr=\$\'\\r\'
     9102fi
    131949103ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    131959104if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    131999108fi
    132009109
    13201 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9110echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    132029111_ACEOF
    132039112
     
    132089117  echo "_ACEOF"
    132099118} >conf$$subs.sh ||
    13210   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13211 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13212    { (exit 1); exit 1; }; }
    13213 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9119  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9120ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    132149121ac_delim='%!_!# '
    132159122for ac_last_try in false false false false false :; do
    132169123  . ./conf$$subs.sh ||
    13217     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13218 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13219    { (exit 1); exit 1; }; }
     9124    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    132209125
    132219126  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    132239128    break
    132249129  elif $ac_last_try; then
    13225     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13226 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13227    { (exit 1); exit 1; }; }
     9130    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    132289131  else
    132299132    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    132339136
    132349137cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    13235 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9138cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    132369139_ACEOF
    132379140sed -n '
     
    132479150:nl
    132489151h
    13249 s/\(.\{148\}\).*/\1/
     9152s/\(.\{148\}\)..*/\1/
    132509153t more1
    132519154s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    132619164:delim
    132629165h
    13263 s/\(.\{148\}\).*/\1/
     9166s/\(.\{148\}\)..*/\1/
    132649167t more2
    132659168s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    132819184cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    132829185_ACAWK
    13283 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9186cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    132849187  for (key in S) S_is_set[key] = 1
    132859188  FS = ""
     
    133139216else
    133149217  cat
    13315 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    13316   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    13317 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    13318    { (exit 1); exit 1; }; }
    13319 _ACEOF
    13320 
    13321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    13322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9218fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     9219  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     9220_ACEOF
     9221
     9222# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     9223# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    133239224# trailing colons and then remove the whole line if VPATH becomes empty
    133249225# (actually we leave an empty line to preserve line numbers).
    133259226if test "x$srcdir" = x.; then
    13326   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    13327 s/:*\$(srcdir):*/:/
    13328 s/:*\${srcdir}:*/:/
    13329 s/:*@srcdir@:*/:/
    13330 s/^\([^=]*=[     ]*\):*/\1/
     9227  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     9228h
     9229s///
     9230s/^/:/
     9231s/[      ]*$/:/
     9232s/:\$(srcdir):/:/g
     9233s/:\${srcdir}:/:/g
     9234s/:@srcdir@:/:/g
     9235s/^:*//
    133319236s/:*$//
     9237x
     9238s/\(=[   ]*\).*/\1/
     9239G
     9240s/\n//
    133329241s/^[^=]*=[       ]*$//
    133339242}'
     
    133419250# This happens for instance with `./config.status Makefile'.
    133429251if test -n "$CONFIG_HEADERS"; then
    13343 cat >"$tmp/defines.awk" <<\_ACAWK ||
     9252cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    133449253BEGIN {
    133459254_ACEOF
     
    133539262ac_delim='%!_!# '
    133549263for ac_last_try in false false :; do
    13355   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    13356   if test -z "$ac_t"; then
     9264  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     9265  if test -z "$ac_tt"; then
    133579266    break
    133589267  elif $ac_last_try; then
    13359     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    13360 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    13361    { (exit 1); exit 1; }; }
     9268    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    133629269  else
    133639270    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    134449351_ACEOF
    134459352cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    13446   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    13447 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    13448    { (exit 1); exit 1; }; }
     9353  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    134499354fi # test -n "$CONFIG_HEADERS"
    134509355
     
    134599364  case $ac_mode$ac_tag in
    134609365  :[FHL]*:*);;
    13461   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    13462 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    13463    { (exit 1); exit 1; }; };;
     9366  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    134649367  :[FH]-) ac_tag=-:-;;
    134659368  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    134809383    do
    134819384      case $ac_f in
    13482       -) ac_f="$tmp/stdin";;
     9385      -) ac_f="$ac_tmp/stdin";;
    134839386      *) # Look for the file first in the build tree, then in the source tree
    134849387         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    134899392           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    134909393           esac ||
    13491            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    13492 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    13493    { (exit 1); exit 1; }; };;
     9394           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    134949395      esac
    134959396      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    13496       ac_file_inputs="$ac_file_inputs '$ac_f'"
     9397      as_fn_append ac_file_inputs " '$ac_f'"
    134979398    done
    134989399
     
    135059406    if test x"$ac_file" != x-; then
    135069407      configure_input="$ac_file.  $configure_input"
    13507       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     9408      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    135089409$as_echo "$as_me: creating $ac_file" >&6;}
    135099410    fi
     
    135179418
    135189419    case $ac_tag in
    13519     *:-:* | *:-) cat >"$tmp/stdin" \
    13520       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13521 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13522    { (exit 1); exit 1; }; } ;;
     9420    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     9421      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    135239422    esac
    135249423    ;;
     
    135489447          }
    135499448          s/.*/./; q'`
    13550   { as_dir="$ac_dir"
    13551   case $as_dir in #(
    13552   -*) as_dir=./$as_dir;;
    13553   esac
    13554   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    13555     as_dirs=
    13556     while :; do
    13557       case $as_dir in #(
    13558       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    13559       *) as_qdir=$as_dir;;
    13560       esac
    13561       as_dirs="'$as_qdir' $as_dirs"
    13562       as_dir=`$as_dirname -- "$as_dir" ||
    13563 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    13564          X"$as_dir" : 'X\(//\)[^/]' \| \
    13565          X"$as_dir" : 'X\(//\)$' \| \
    13566          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    13567 $as_echo X"$as_dir" |
    13568     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    13569             s//\1/
    13570             q
    13571           }
    13572           /^X\(\/\/\)[^/].*/{
    13573             s//\1/
    13574             q
    13575           }
    13576           /^X\(\/\/\)$/{
    13577             s//\1/
    13578             q
    13579           }
    13580           /^X\(\/\).*/{
    13581             s//\1/
    13582             q
    13583           }
    13584           s/.*/./; q'`
    13585       test -d "$as_dir" && break
    13586     done
    13587     test -z "$as_dirs" || eval "mkdir $as_dirs"
    13588   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    13589 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    13590    { (exit 1); exit 1; }; }; }
     9449  as_dir="$ac_dir"; as_fn_mkdir_p
    135919450  ac_builddir=.
    135929451
     
    136459504# FIXME: This hack should be removed a few years after 2.60.
    136469505ac_datarootdir_hack=; ac_datarootdir_seen=
    13647 
    136489506ac_sed_dataroot='
    136499507/datarootdir/ {
     
    136559513/@infodir@/p
    136569514/@localedir@/p
    13657 /@mandir@/p
    13658 '
     9515/@mandir@/p'
    136599516case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    136609517*datarootdir*) ac_datarootdir_seen=yes;;
    136619518*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    13662   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     9519  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    136639520$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    136649521_ACEOF
     
    136709527  s&@localedir@&$localedir&g
    136719528  s&@mandir@&$mandir&g
    13672     s&\\\${datarootdir}&$datarootdir&g' ;;
     9529  s&\\\${datarootdir}&$datarootdir&g' ;;
    136739530esac
    136749531_ACEOF
     
    136989555$ac_datarootdir_hack
    136999556"
    13700 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    13701   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13702 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13703    { (exit 1); exit 1; }; }
     9557eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     9558  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137049559
    137059560test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    13706   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    13707   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    13708   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    13709 which seems to be undefined.  Please make sure it is defined." >&5
     9561  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     9562  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     9563      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     9564  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9565which seems to be undefined.  Please make sure it is defined" >&5
    137109566$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    13711 which seems to be undefined.  Please make sure it is defined." >&2;}
    13712 
    13713   rm -f "$tmp/stdin"
     9567which seems to be undefined.  Please make sure it is defined" >&2;}
     9568
     9569  rm -f "$ac_tmp/stdin"
    137149570  case $ac_file in
    13715   -) cat "$tmp/out" && rm -f "$tmp/out";;
    13716   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     9571  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     9572  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    137179573  esac \
    13718   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13719 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13720    { (exit 1); exit 1; }; }
     9574  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137219575 ;;
    137229576  :H)
     
    137279581    {
    137289582      $as_echo "/* $configure_input  */" \
    13729       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    13730     } >"$tmp/config.h" \
    13731       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13732 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13733    { (exit 1); exit 1; }; }
    13734     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    13735       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     9583      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     9584    } >"$ac_tmp/config.h" \
     9585      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     9586    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     9587      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    137369588$as_echo "$as_me: $ac_file is unchanged" >&6;}
    137379589    else
    137389590      rm -f "$ac_file"
    13739       mv "$tmp/config.h" "$ac_file" \
    13740         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    13741 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    13742    { (exit 1); exit 1; }; }
     9591      mv "$ac_tmp/config.h" "$ac_file" \
     9592        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137439593    fi
    137449594  else
    137459595    $as_echo "/* $configure_input  */" \
    13746       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    13747       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    13748 $as_echo "$as_me: error: could not create -" >&2;}
    13749    { (exit 1); exit 1; }; }
     9596      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     9597      || as_fn_error $? "could not create -" "$LINENO" 5
    137509598  fi
    137519599 ;;
     
    137579605
    137589606
    13759 { (exit 0); exit 0; }
    13760 _ACEOF
    13761 chmod +x $CONFIG_STATUS
     9607as_fn_exit 0
     9608_ACEOF
    137629609ac_clean_files=$ac_clean_files_save
    137639610
    137649611test $ac_write_fail = 0 ||
    13765   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    13766 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    13767    { (exit 1); exit 1; }; }
     9612  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    137689613
    137699614
     
    137869631  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    137879632  # would make configure fail if this is the last instruction.
    13788   $ac_cs_success || { (exit 1); exit 1; }
     9633  $ac_cs_success || as_fn_exit 1
    137899634fi
    137909635if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    13791   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     9636  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    137929637$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    137939638fi
  • branches/1.3/packages/vizservers/configure.in

    r3563 r4467  
    3838    [with_vtk=$withval],
    3939    [with_vtk=yes])
    40 
    41 AC_ARG_WITH(
    42     [ffmpeg],
    43     [AS_HELP_STRING([--with-ffmpeg[=DIR]],
    44       [location of ffmpeg @<:@default=yes@:>@])],
    45     [],
    46     [with_ffmpeg=yes])
    4740
    4841RP_LANG_PYTHON
     
    114107#       Tcl headers and library (done)
    115108#       GL headers and library
    116 #       GLuT headers and library
    117109#       GLEW header and library
    118 #       Cg headers and library
    119 #       CgGL headers and library
    120110#       pthread library
    121111#       ffmpeg headers and library (started)
     
    204194CPPFLAGS=$save_CPPFLAGS
    205195
    206 AC_CHECK_HEADER([GL/glut.h])
    207196AC_CHECK_HEADER([GL/glew.h])
    208197
     
    214203save_CPPFLAGS=$CPPFLAGS
    215204
    216 
    217 #--------------------------------------------------------------------
    218 # search for ffmpeg executable
    219 #--------------------------------------------------------------------
    220 if test "${with_ffmpeg}" != "no" ; then
    221   if test "${with_ffmpeg}" = "yes" ; then
    222     AC_PATH_PROG(FFMPEG, ffmpeg)
    223   else
    224     AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}])
    225   fi
    226   if test "${FFMPEG}x" != "x" ; then
    227     AC_DEFINE(HAVE_FFMPEG, 1, [nanovis can use ffmpeg to create videos.])
    228   fi
    229 fi
    230 
    231 AC_MSG_CHECKING([for nVidia Cg installation])
    232 CG_DIR=""
    233 for dir in \
    234  /opt/nvidia-cg-toolkit \
    235  /usr/cg \
    236  /usr
    237 do
    238   if test -r "$dir/include" ; then
    239     CG_DIR=$dir
    240     break
    241   fi
    242 done
    243 AC_MSG_RESULT([${CG_DIR}])
    244 
    245 CG_INC_SPEC="-I${CG_DIR}/include"
    246 
    247 save_CPPFLAGS=$CPPFLAGS
    248 CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
    249 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers]))
    250 CPPFLAGS=$save_CPPFLAGS
    251 
    252 CG_LIB_DIR=""
    253 for dir in \
    254  /opt/nvidia-cg-toolkit \
    255  /usr/cg \
    256  /usr
    257 do
    258   if test -r "$dir/lib" ; then
    259     CG_LIB_DIR=$dir/lib
    260     break
    261   fi
    262   if test -r "$dir/lib64" ; then
    263     CG_LIB_DIR=$dir/lib64
    264     break
    265   fi
    266 done
    267 
    268 if test "${CG_LIB_DIR}" = "/usr/lib" ; then
    269   CG_INC_SPEC=""
    270   CG_LIB_SPEC="-lCg -lCgGL"
    271 else
    272   CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL"
    273   LD_RPATH="$loader_run_path:${CG_LIB_DIR}"
    274 fi
    275 
    276 SUBDIRS="nanoscale nanovis pymolproxy vtkvis"
     205SUBDIRS="nanoscale pymolproxy vtkvis"
    277206
    278207AC_SUBST(CFLAGS_DEBUG)
    279208AC_SUBST(CFLAGS_OPTIMIZE)
    280 AC_SUBST(CG_INC_SPEC)
    281 AC_SUBST(CG_LIB_SPEC)
    282 AC_SUBST(FFMPEG)
    283209AC_SUBST(LD_RPATH)
    284210AC_SUBST(RP_DIR)
     
    309235   nanoscale/Makefile \
    310236   nanoscale/renderservers.tcl \
    311    nanovis/Doxyfile \
    312    nanovis/Makefile \
    313    nanovis/graphics/Makefile \
    314    nanovis/imgLoaders/Makefile \
    315    nanovis/newmat11/Makefile \
    316    nanovis/util/Makefile \
    317    nanovis/vrmath/Makefile \
    318237   pymolproxy/Makefile \
    319238   vtkvis/Doxyfile \
  • branches/1.3/packages/vizservers/nanovis/Makefile.in

    r3877 r4467  
    5454VRMATH_LIB_SPEC = $(VRMATH_LIB)
    5555
     56VTK_VERSION     = @VTK_VERSION@
    5657VTK_LIB_DIR     = @VTK_LIB_DIR@
    57 VTK_INC_SPEC    = @VTK_INC_SPEC@
    58 VTK_LIB_SPEC    = \
    59                 -lvtkIOCore-6.0 \
    60                 -lvtkIOLegacy-6.0 \
    61                 -lvtkFiltersCore-6.0 \
    62                 -lvtkImagingHybrid-6.0 \
    63                 -lvtkImagingCore-6.0 \
    64                 -lvtkCommonCore-6.0 \
    65                 -lvtkCommonDataModel-6.0 \
    66                 -lvtkCommonExecutionModel-6.0  \
    67                 -lvtkCommonMisc-6.0  \
    68                 -lvtkCommonSystem-6.0 \
    69                 -lvtkCommonTransforms-6.0 \
    70                 -lvtkCommonMath-6.0
     58VTK_INC_DIR     = @VTK_INC_DIR@
     59ifdef USE_VTK
     60VTK_INC_SPEC    = -I$(VTK_INC_DIR)/vtk-$(VTK_VERSION)
     61VTK_LIB_SPEC    = -L$(VTK_LIB_DIR) \
     62                -lvtkIOCore-$(VTK_VERSION) \
     63                -lvtkIOLegacy-$(VTK_VERSION) \
     64                -lvtkFiltersCore-$(VTK_VERSION) \
     65                -lvtkImagingHybrid-$(VTK_VERSION) \
     66                -lvtkImagingCore-$(VTK_VERSION) \
     67                -lvtkCommonCore-$(VTK_VERSION) \
     68                -lvtkCommonDataModel-$(VTK_VERSION) \
     69                -lvtkCommonExecutionModel-$(VTK_VERSION) \
     70                -lvtkCommonMisc-$(VTK_VERSION) \
     71                -lvtkCommonSystem-$(VTK_VERSION) \
     72                -lvtkCommonTransforms-$(VTK_VERSION) \
     73                -lvtkCommonMath-$(VTK_VERSION)
     74else
     75VTK_INC_SPEC    =
     76VTK_LIB_SPEC    =
     77endif
    7178
    7279EXTRA_LIBS      = -lm -lpthread
     
    7885TCL_INC_SPEC    = @TCL_INC_SPEC@
    7986
    80 LD_RUN_PATH     = $(libdir):@LD_RPATH@
    81 
    82 SVN_VERSION     = $(shell svnversion $(srcdir))
     87LD_RUN_PATH     = $(VTK_LIB_DIR):$(libdir):@LD_RPATH@
     88
     89SVN_VERSION     = $(shell svnversion $(srcdir) | sed 's/Unversioned directory/unknown/')
    8390STATSDIR        = @STATSDIR@
    8491
     
    172179                VolumeRenderer.o \
    173180                VolumeShader.o \
    174                 VtkReader.o \
    175181                ZincBlendeReconstructor.o \
    176182                ZincBlendeVolume.o \
     
    229235OBJS +=         DataSetResample.o \
    230236                VtkDataSetReader.o
     237else
     238OBJS +=         VtkReader.o
    231239endif
    232240
Note: See TracChangeset for help on using the changeset viewer.