Changeset 4010


Ignore:
Timestamp:
Oct 25, 2013, 1:36:54 AM (11 years ago)
Author:
ldelgass
Message:

Generate geovis Makefile from configure

Location:
trunk/packages/vizservers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r3563 r4010  
    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.
     
    735720prefix
    736721exec_prefix
     722PACKAGE_URL
    737723PACKAGE_BUGREPORT
    738724PACKAGE_STRING
     
    835821
    836822  case $ac_option in
    837   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    838   *)    ac_optarg=yes ;;
     823  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     824  *=)   ac_optarg= ;;
     825  *)    ac_optarg=yes ;;
    839826  esac
    840827
     
    881868    # Reject names that are not valid shell variable names.
    882869    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; }; }
     870      as_fn_error $? "invalid feature name: $ac_useropt"
    885871    ac_useropt_orig=$ac_useropt
    886872    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    908894    # Reject names that are not valid shell variable names.
    909895    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; }; }
     896      as_fn_error $? "invalid feature name: $ac_useropt"
    912897    ac_useropt_orig=$ac_useropt
    913898    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11131098    # Reject names that are not valid shell variable names.
    11141099    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; }; }
     1100      as_fn_error $? "invalid package name: $ac_useropt"
    11171101    ac_useropt_orig=$ac_useropt
    11181102    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11301114    # Reject names that are not valid shell variable names.
    11311115    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; }; }
     1116      as_fn_error $? "invalid package name: $ac_useropt"
    11341117    ac_useropt_orig=$ac_useropt
    11351118    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11611144    x_libraries=$ac_optarg ;;
    11621145
    1163   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1164 Try \`$0 --help' for more information." >&2
    1165    { (exit 1); exit 1; }; }
     1146  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1147Try \`$0 --help' for more information"
    11661148    ;;
    11671149
     
    11691151    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11701152    # 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; }; }
     1153    case $ac_envvar in #(
     1154      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1155      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1156    esac
    11741157    eval $ac_envvar=\$ac_optarg
    11751158    export $ac_envvar ;;
     
    11801163    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11811164      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1182     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1165    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11831166    ;;
    11841167
     
    11881171if test -n "$ac_prev"; then
    11891172  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; }; }
     1173  as_fn_error $? "missing argument to $ac_option"
    11921174fi
    11931175
     
    11951177  case $enable_option_checking in
    11961178    no) ;;
    1197     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1198    { (exit 1); exit 1; }; } ;;
     1179    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11991180    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12001181  esac
     
    12191200    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12201201  esac
    1221   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1222    { (exit 1); exit 1; }; }
     1202  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12231203done
    12241204
     
    12341214  if test "x$build_alias" = x; then
    12351215    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
    12381216  elif test "x$build_alias" != "x$host_alias"; then
    12391217    cross_compiling=yes
     
    12501228ac_ls_di=`ls -di .` &&
    12511229ac_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; }; }
     1230  as_fn_error $? "working directory cannot be determined"
    12541231test "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; }; }
     1232  as_fn_error $? "pwd does not report name of working directory"
    12571233
    12581234
     
    12931269if test ! -r "$srcdir/$ac_unique_file"; then
    12941270  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; }; }
     1271  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12971272fi
    12981273ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12991274ac_abs_confdir=`(
    1300         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1301    { (exit 1); exit 1; }; }
     1275        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13021276        pwd)`
    13031277# When building in place, set srcdir=.
     
    13391313      --help=recursive    display the short help of all the included packages
    13401314  -V, --version           display version information and exit
    1341   -q, --quiet, --silent   do not print \`checking...' messages
     1315  -q, --quiet, --silent   do not print \`checking ...' messages
    13421316      --cache-file=FILE   cache test results in FILE [disabled]
    13431317  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14241398              nonstandard directory <lib dir>
    14251399  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
     1400  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14271401              you have headers in a nonstandard directory <include dir>
    14281402  CPP         C preprocessor
     
    14991473  cat <<\_ACEOF
    15001474vizservers 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.
     1475generated by GNU Autoconf 2.69
     1476
     1477Copyright (C) 2012 Free Software Foundation, Inc.
    15051478This configure script is free software; the Free Software Foundation
    15061479gives unlimited permission to copy, distribute and modify it.
     
    15081481  exit
    15091482fi
     1483
     1484## ------------------------ ##
     1485## Autoconf initialization. ##
     1486## ------------------------ ##
     1487
     1488# ac_fn_c_try_compile LINENO
     1489# --------------------------
     1490# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1491ac_fn_c_try_compile ()
     1492{
     1493  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1494  rm -f conftest.$ac_objext
     1495  if { { ac_try="$ac_compile"
     1496case "(($ac_try" in
     1497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1498  *) ac_try_echo=$ac_try;;
     1499esac
     1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1501$as_echo "$ac_try_echo"; } >&5
     1502  (eval "$ac_compile") 2>conftest.err
     1503  ac_status=$?
     1504  if test -s conftest.err; then
     1505    grep -v '^ *+' conftest.err >conftest.er1
     1506    cat conftest.er1 >&5
     1507    mv -f conftest.er1 conftest.err
     1508  fi
     1509  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1510  test $ac_status = 0; } && {
     1511         test -z "$ac_c_werror_flag" ||
     1512         test ! -s conftest.err
     1513       } && test -s conftest.$ac_objext; then :
     1514  ac_retval=0
     1515else
     1516  $as_echo "$as_me: failed program was:" >&5
     1517sed 's/^/| /' conftest.$ac_ext >&5
     1518
     1519        ac_retval=1
     1520fi
     1521  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1522  as_fn_set_status $ac_retval
     1523
     1524} # ac_fn_c_try_compile
     1525
     1526# ac_fn_c_try_cpp LINENO
     1527# ----------------------
     1528# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1529ac_fn_c_try_cpp ()
     1530{
     1531  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1532  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1533case "(($ac_try" in
     1534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1535  *) ac_try_echo=$ac_try;;
     1536esac
     1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1538$as_echo "$ac_try_echo"; } >&5
     1539  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1540  ac_status=$?
     1541  if test -s conftest.err; then
     1542    grep -v '^ *+' conftest.err >conftest.er1
     1543    cat conftest.er1 >&5
     1544    mv -f conftest.er1 conftest.err
     1545  fi
     1546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1547  test $ac_status = 0; } > conftest.i && {
     1548         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1549         test ! -s conftest.err
     1550       }; then :
     1551  ac_retval=0
     1552else
     1553  $as_echo "$as_me: failed program was:" >&5
     1554sed 's/^/| /' conftest.$ac_ext >&5
     1555
     1556    ac_retval=1
     1557fi
     1558  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1559  as_fn_set_status $ac_retval
     1560
     1561} # ac_fn_c_try_cpp
     1562
     1563# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1564# -------------------------------------------------------
     1565# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1566# the include files in INCLUDES and setting the cache variable VAR
     1567# accordingly.
     1568ac_fn_c_check_header_mongrel ()
     1569{
     1570  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1571  if eval \${$3+:} false; then :
     1572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1573$as_echo_n "checking for $2... " >&6; }
     1574if eval \${$3+:} false; then :
     1575  $as_echo_n "(cached) " >&6
     1576fi
     1577eval ac_res=\$$3
     1578               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1579$as_echo "$ac_res" >&6; }
     1580else
     1581  # Is the header compilable?
     1582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1583$as_echo_n "checking $2 usability... " >&6; }
     1584cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1585/* end confdefs.h.  */
     1586$4
     1587#include <$2>
     1588_ACEOF
     1589if ac_fn_c_try_compile "$LINENO"; then :
     1590  ac_header_compiler=yes
     1591else
     1592  ac_header_compiler=no
     1593fi
     1594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1596$as_echo "$ac_header_compiler" >&6; }
     1597
     1598# Is the header present?
     1599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1600$as_echo_n "checking $2 presence... " >&6; }
     1601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1602/* end confdefs.h.  */
     1603#include <$2>
     1604_ACEOF
     1605if ac_fn_c_try_cpp "$LINENO"; then :
     1606  ac_header_preproc=yes
     1607else
     1608  ac_header_preproc=no
     1609fi
     1610rm -f conftest.err conftest.i conftest.$ac_ext
     1611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1612$as_echo "$ac_header_preproc" >&6; }
     1613
     1614# So?  What about this header?
     1615case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1616  yes:no: )
     1617    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1618$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1619    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1620$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1621    ;;
     1622  no:yes:* )
     1623    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1624$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1625    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1626$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1627    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1628$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1629    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1630$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1631    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1632$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1633( $as_echo "## ----------------------------------- ##
     1634## Report this to rappture@nanohub.org ##
     1635## ----------------------------------- ##"
     1636     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1637    ;;
     1638esac
     1639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1640$as_echo_n "checking for $2... " >&6; }
     1641if eval \${$3+:} false; then :
     1642  $as_echo_n "(cached) " >&6
     1643else
     1644  eval "$3=\$ac_header_compiler"
     1645fi
     1646eval ac_res=\$$3
     1647               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1648$as_echo "$ac_res" >&6; }
     1649fi
     1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1651
     1652} # ac_fn_c_check_header_mongrel
     1653
     1654# ac_fn_c_try_run LINENO
     1655# ----------------------
     1656# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1657# that executables *can* be run.
     1658ac_fn_c_try_run ()
     1659{
     1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1661  if { { ac_try="$ac_link"
     1662case "(($ac_try" in
     1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1664  *) ac_try_echo=$ac_try;;
     1665esac
     1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1667$as_echo "$ac_try_echo"; } >&5
     1668  (eval "$ac_link") 2>&5
     1669  ac_status=$?
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1671  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1672  { { case "(($ac_try" in
     1673  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1674  *) ac_try_echo=$ac_try;;
     1675esac
     1676eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1677$as_echo "$ac_try_echo"; } >&5
     1678  (eval "$ac_try") 2>&5
     1679  ac_status=$?
     1680  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1681  test $ac_status = 0; }; }; then :
     1682  ac_retval=0
     1683else
     1684  $as_echo "$as_me: program exited with status $ac_status" >&5
     1685       $as_echo "$as_me: failed program was:" >&5
     1686sed 's/^/| /' conftest.$ac_ext >&5
     1687
     1688       ac_retval=$ac_status
     1689fi
     1690  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1691  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1692  as_fn_set_status $ac_retval
     1693
     1694} # ac_fn_c_try_run
     1695
     1696# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1697# -------------------------------------------------------
     1698# Tests whether HEADER exists and can be compiled using the include files in
     1699# INCLUDES, setting the cache variable VAR accordingly.
     1700ac_fn_c_check_header_compile ()
     1701{
     1702  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1703  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1704$as_echo_n "checking for $2... " >&6; }
     1705if eval \${$3+:} false; then :
     1706  $as_echo_n "(cached) " >&6
     1707else
     1708  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1709/* end confdefs.h.  */
     1710$4
     1711#include <$2>
     1712_ACEOF
     1713if ac_fn_c_try_compile "$LINENO"; then :
     1714  eval "$3=yes"
     1715else
     1716  eval "$3=no"
     1717fi
     1718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1719fi
     1720eval ac_res=\$$3
     1721               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1722$as_echo "$ac_res" >&6; }
     1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1724
     1725} # ac_fn_c_check_header_compile
     1726
     1727# ac_fn_c_try_link LINENO
     1728# -----------------------
     1729# Try to link conftest.$ac_ext, and return whether this succeeded.
     1730ac_fn_c_try_link ()
     1731{
     1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1733  rm -f conftest.$ac_objext conftest$ac_exeext
     1734  if { { ac_try="$ac_link"
     1735case "(($ac_try" in
     1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1737  *) ac_try_echo=$ac_try;;
     1738esac
     1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1740$as_echo "$ac_try_echo"; } >&5
     1741  (eval "$ac_link") 2>conftest.err
     1742  ac_status=$?
     1743  if test -s conftest.err; then
     1744    grep -v '^ *+' conftest.err >conftest.er1
     1745    cat conftest.er1 >&5
     1746    mv -f conftest.er1 conftest.err
     1747  fi
     1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1749  test $ac_status = 0; } && {
     1750         test -z "$ac_c_werror_flag" ||
     1751         test ! -s conftest.err
     1752       } && test -s conftest$ac_exeext && {
     1753         test "$cross_compiling" = yes ||
     1754         test -x conftest$ac_exeext
     1755       }; then :
     1756  ac_retval=0
     1757else
     1758  $as_echo "$as_me: failed program was:" >&5
     1759sed 's/^/| /' conftest.$ac_ext >&5
     1760
     1761        ac_retval=1
     1762fi
     1763  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1764  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1765  # interfere with the next link command; also delete a directory that is
     1766  # left behind by Apple's compiler.  We do this before executing the actions.
     1767  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1768  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1769  as_fn_set_status $ac_retval
     1770
     1771} # ac_fn_c_try_link
     1772
     1773# ac_fn_cxx_try_compile LINENO
     1774# ----------------------------
     1775# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1776ac_fn_cxx_try_compile ()
     1777{
     1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1779  rm -f conftest.$ac_objext
     1780  if { { ac_try="$ac_compile"
     1781case "(($ac_try" in
     1782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1783  *) ac_try_echo=$ac_try;;
     1784esac
     1785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1786$as_echo "$ac_try_echo"; } >&5
     1787  (eval "$ac_compile") 2>conftest.err
     1788  ac_status=$?
     1789  if test -s conftest.err; then
     1790    grep -v '^ *+' conftest.err >conftest.er1
     1791    cat conftest.er1 >&5
     1792    mv -f conftest.er1 conftest.err
     1793  fi
     1794  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1795  test $ac_status = 0; } && {
     1796         test -z "$ac_cxx_werror_flag" ||
     1797         test ! -s conftest.err
     1798       } && test -s conftest.$ac_objext; then :
     1799  ac_retval=0
     1800else
     1801  $as_echo "$as_me: failed program was:" >&5
     1802sed 's/^/| /' conftest.$ac_ext >&5
     1803
     1804        ac_retval=1
     1805fi
     1806  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1807  as_fn_set_status $ac_retval
     1808
     1809} # ac_fn_cxx_try_compile
     1810
     1811# ac_fn_cxx_try_cpp LINENO
     1812# ------------------------
     1813# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1814ac_fn_cxx_try_cpp ()
     1815{
     1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1817  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1818case "(($ac_try" in
     1819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1820  *) ac_try_echo=$ac_try;;
     1821esac
     1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1823$as_echo "$ac_try_echo"; } >&5
     1824  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1825  ac_status=$?
     1826  if test -s conftest.err; then
     1827    grep -v '^ *+' conftest.err >conftest.er1
     1828    cat conftest.er1 >&5
     1829    mv -f conftest.er1 conftest.err
     1830  fi
     1831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1832  test $ac_status = 0; } > conftest.i && {
     1833         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1834         test ! -s conftest.err
     1835       }; then :
     1836  ac_retval=0
     1837else
     1838  $as_echo "$as_me: failed program was:" >&5
     1839sed 's/^/| /' conftest.$ac_ext >&5
     1840
     1841    ac_retval=1
     1842fi
     1843  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1844  as_fn_set_status $ac_retval
     1845
     1846} # ac_fn_cxx_try_cpp
     1847
     1848# ac_fn_cxx_try_run LINENO
     1849# ------------------------
     1850# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1851# that executables *can* be run.
     1852ac_fn_cxx_try_run ()
     1853{
     1854  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1855  if { { ac_try="$ac_link"
     1856case "(($ac_try" in
     1857  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1858  *) ac_try_echo=$ac_try;;
     1859esac
     1860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1861$as_echo "$ac_try_echo"; } >&5
     1862  (eval "$ac_link") 2>&5
     1863  ac_status=$?
     1864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1865  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1866  { { case "(($ac_try" in
     1867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1868  *) ac_try_echo=$ac_try;;
     1869esac
     1870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1871$as_echo "$ac_try_echo"; } >&5
     1872  (eval "$ac_try") 2>&5
     1873  ac_status=$?
     1874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1875  test $ac_status = 0; }; }; then :
     1876  ac_retval=0
     1877else
     1878  $as_echo "$as_me: program exited with status $ac_status" >&5
     1879       $as_echo "$as_me: failed program was:" >&5
     1880sed 's/^/| /' conftest.$ac_ext >&5
     1881
     1882       ac_retval=$ac_status
     1883fi
     1884  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1885  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1886  as_fn_set_status $ac_retval
     1887
     1888} # ac_fn_cxx_try_run
     1889
     1890# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1891# ----------------------------------------------
     1892# Tries to find the compile-time value of EXPR in a program that includes
     1893# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1894# computed
     1895ac_fn_cxx_compute_int ()
     1896{
     1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1898  if test "$cross_compiling" = yes; then
     1899    # Depending upon the size, compute the lo and hi bounds.
     1900cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1901/* end confdefs.h.  */
     1902$4
     1903int
     1904main ()
     1905{
     1906static int test_array [1 - 2 * !(($2) >= 0)];
     1907test_array [0] = 0;
     1908return test_array [0];
     1909
     1910  ;
     1911  return 0;
     1912}
     1913_ACEOF
     1914if ac_fn_cxx_try_compile "$LINENO"; then :
     1915  ac_lo=0 ac_mid=0
     1916  while :; do
     1917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1918/* end confdefs.h.  */
     1919$4
     1920int
     1921main ()
     1922{
     1923static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1924test_array [0] = 0;
     1925return test_array [0];
     1926
     1927  ;
     1928  return 0;
     1929}
     1930_ACEOF
     1931if ac_fn_cxx_try_compile "$LINENO"; then :
     1932  ac_hi=$ac_mid; break
     1933else
     1934  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1935                        if test $ac_lo -le $ac_mid; then
     1936                          ac_lo= ac_hi=
     1937                          break
     1938                        fi
     1939                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1940fi
     1941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1942  done
     1943else
     1944  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1945/* end confdefs.h.  */
     1946$4
     1947int
     1948main ()
     1949{
     1950static int test_array [1 - 2 * !(($2) < 0)];
     1951test_array [0] = 0;
     1952return test_array [0];
     1953
     1954  ;
     1955  return 0;
     1956}
     1957_ACEOF
     1958if ac_fn_cxx_try_compile "$LINENO"; then :
     1959  ac_hi=-1 ac_mid=-1
     1960  while :; do
     1961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1962/* end confdefs.h.  */
     1963$4
     1964int
     1965main ()
     1966{
     1967static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1968test_array [0] = 0;
     1969return test_array [0];
     1970
     1971  ;
     1972  return 0;
     1973}
     1974_ACEOF
     1975if ac_fn_cxx_try_compile "$LINENO"; then :
     1976  ac_lo=$ac_mid; break
     1977else
     1978  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1979                        if test $ac_mid -le $ac_hi; then
     1980                          ac_lo= ac_hi=
     1981                          break
     1982                        fi
     1983                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1984fi
     1985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1986  done
     1987else
     1988  ac_lo= ac_hi=
     1989fi
     1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1991fi
     1992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1993# Binary search between lo and hi bounds.
     1994while test "x$ac_lo" != "x$ac_hi"; do
     1995  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1996  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1997/* end confdefs.h.  */
     1998$4
     1999int
     2000main ()
     2001{
     2002static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2003test_array [0] = 0;
     2004return test_array [0];
     2005
     2006  ;
     2007  return 0;
     2008}
     2009_ACEOF
     2010if ac_fn_cxx_try_compile "$LINENO"; then :
     2011  ac_hi=$ac_mid
     2012else
     2013  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2014fi
     2015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2016done
     2017case $ac_lo in #((
     2018?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2019'') ac_retval=1 ;;
     2020esac
     2021  else
     2022    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2023/* end confdefs.h.  */
     2024$4
     2025static long int longval () { return $2; }
     2026static unsigned long int ulongval () { return $2; }
     2027#include <stdio.h>
     2028#include <stdlib.h>
     2029int
     2030main ()
     2031{
     2032
     2033  FILE *f = fopen ("conftest.val", "w");
     2034  if (! f)
     2035    return 1;
     2036  if (($2) < 0)
     2037    {
     2038      long int i = longval ();
     2039      if (i != ($2))
     2040        return 1;
     2041      fprintf (f, "%ld", i);
     2042    }
     2043  else
     2044    {
     2045      unsigned long int i = ulongval ();
     2046      if (i != ($2))
     2047        return 1;
     2048      fprintf (f, "%lu", i);
     2049    }
     2050  /* Do not output a trailing newline, as this causes \r\n confusion
     2051     on some platforms.  */
     2052  return ferror (f) || fclose (f) != 0;
     2053
     2054  ;
     2055  return 0;
     2056}
     2057_ACEOF
     2058if ac_fn_cxx_try_run "$LINENO"; then :
     2059  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2060else
     2061  ac_retval=1
     2062fi
     2063rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2064  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2065rm -f conftest.val
     2066
     2067  fi
     2068  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2069  as_fn_set_status $ac_retval
     2070
     2071} # ac_fn_cxx_compute_int
     2072
     2073# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2074# ---------------------------------------------------------
     2075# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2076# the include files in INCLUDES and setting the cache variable VAR
     2077# accordingly.
     2078ac_fn_cxx_check_header_mongrel ()
     2079{
     2080  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2081  if eval \${$3+:} false; then :
     2082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2083$as_echo_n "checking for $2... " >&6; }
     2084if eval \${$3+:} false; then :
     2085  $as_echo_n "(cached) " >&6
     2086fi
     2087eval ac_res=\$$3
     2088               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2089$as_echo "$ac_res" >&6; }
     2090else
     2091  # Is the header compilable?
     2092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2093$as_echo_n "checking $2 usability... " >&6; }
     2094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2095/* end confdefs.h.  */
     2096$4
     2097#include <$2>
     2098_ACEOF
     2099if ac_fn_cxx_try_compile "$LINENO"; then :
     2100  ac_header_compiler=yes
     2101else
     2102  ac_header_compiler=no
     2103fi
     2104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2106$as_echo "$ac_header_compiler" >&6; }
     2107
     2108# Is the header present?
     2109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2110$as_echo_n "checking $2 presence... " >&6; }
     2111cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2112/* end confdefs.h.  */
     2113#include <$2>
     2114_ACEOF
     2115if ac_fn_cxx_try_cpp "$LINENO"; then :
     2116  ac_header_preproc=yes
     2117else
     2118  ac_header_preproc=no
     2119fi
     2120rm -f conftest.err conftest.i conftest.$ac_ext
     2121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2122$as_echo "$ac_header_preproc" >&6; }
     2123
     2124# So?  What about this header?
     2125case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2126  yes:no: )
     2127    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2128$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2129    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2130$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2131    ;;
     2132  no:yes:* )
     2133    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2134$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2135    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2136$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2137    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2138$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2139    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2140$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2141    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2142$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2143( $as_echo "## ----------------------------------- ##
     2144## Report this to rappture@nanohub.org ##
     2145## ----------------------------------- ##"
     2146     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2147    ;;
     2148esac
     2149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2150$as_echo_n "checking for $2... " >&6; }
     2151if eval \${$3+:} false; then :
     2152  $as_echo_n "(cached) " >&6
     2153else
     2154  eval "$3=\$ac_header_compiler"
     2155fi
     2156eval ac_res=\$$3
     2157               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2158$as_echo "$ac_res" >&6; }
     2159fi
     2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2161
     2162} # ac_fn_cxx_check_header_mongrel
     2163
     2164# ac_fn_cxx_try_link LINENO
     2165# -------------------------
     2166# Try to link conftest.$ac_ext, and return whether this succeeded.
     2167ac_fn_cxx_try_link ()
     2168{
     2169  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2170  rm -f conftest.$ac_objext conftest$ac_exeext
     2171  if { { ac_try="$ac_link"
     2172case "(($ac_try" in
     2173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2174  *) ac_try_echo=$ac_try;;
     2175esac
     2176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2177$as_echo "$ac_try_echo"; } >&5
     2178  (eval "$ac_link") 2>conftest.err
     2179  ac_status=$?
     2180  if test -s conftest.err; then
     2181    grep -v '^ *+' conftest.err >conftest.er1
     2182    cat conftest.er1 >&5
     2183    mv -f conftest.er1 conftest.err
     2184  fi
     2185  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2186  test $ac_status = 0; } && {
     2187         test -z "$ac_cxx_werror_flag" ||
     2188         test ! -s conftest.err
     2189       } && test -s conftest$ac_exeext && {
     2190         test "$cross_compiling" = yes ||
     2191         test -x conftest$ac_exeext
     2192       }; then :
     2193  ac_retval=0
     2194else
     2195  $as_echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198        ac_retval=1
     2199fi
     2200  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2201  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2202  # interfere with the next link command; also delete a directory that is
     2203  # left behind by Apple's compiler.  We do this before executing the actions.
     2204  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2205  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2206  as_fn_set_status $ac_retval
     2207
     2208} # ac_fn_cxx_try_link
     2209
     2210# ac_fn_cxx_check_func LINENO FUNC VAR
     2211# ------------------------------------
     2212# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2213ac_fn_cxx_check_func ()
     2214{
     2215  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2217$as_echo_n "checking for $2... " >&6; }
     2218if eval \${$3+:} false; then :
     2219  $as_echo_n "(cached) " >&6
     2220else
     2221  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2222/* end confdefs.h.  */
     2223/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2224   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2225#define $2 innocuous_$2
     2226
     2227/* System header to define __stub macros and hopefully few prototypes,
     2228    which can conflict with char $2 (); below.
     2229    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2230    <limits.h> exists even on freestanding compilers.  */
     2231
     2232#ifdef __STDC__
     2233# include <limits.h>
     2234#else
     2235# include <assert.h>
     2236#endif
     2237
     2238#undef $2
     2239
     2240/* Override any GCC internal prototype to avoid an error.
     2241   Use char because int might match the return type of a GCC
     2242   builtin and then its argument prototype would still apply.  */
     2243#ifdef __cplusplus
     2244extern "C"
     2245#endif
     2246char $2 ();
     2247/* The GNU C library defines this for functions which it implements
     2248    to always fail with ENOSYS.  Some functions are actually named
     2249    something starting with __ and the normal name is an alias.  */
     2250#if defined __stub_$2 || defined __stub___$2
     2251choke me
     2252#endif
     2253
     2254int
     2255main ()
     2256{
     2257return $2 ();
     2258  ;
     2259  return 0;
     2260}
     2261_ACEOF
     2262if ac_fn_cxx_try_link "$LINENO"; then :
     2263  eval "$3=yes"
     2264else
     2265  eval "$3=no"
     2266fi
     2267rm -f core conftest.err conftest.$ac_objext \
     2268    conftest$ac_exeext conftest.$ac_ext
     2269fi
     2270eval ac_res=\$$3
     2271               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2272$as_echo "$ac_res" >&6; }
     2273  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2274
     2275} # ac_fn_cxx_check_func
    15102276cat >config.log <<_ACEOF
    15112277This file contains any messages produced by compilers while
     
    15132279
    15142280It was created by vizservers $as_me 0.1, which was
    1515 generated by GNU Autoconf 2.63.  Invocation command line was
     2281generated by GNU Autoconf 2.69.  Invocation command line was
    15162282
    15172283  $ $0 $@
     
    15492315  IFS=$as_save_IFS
    15502316  test -z "$as_dir" && as_dir=.
    1551   $as_echo "PATH: $as_dir"
    1552 done
     2317    $as_echo "PATH: $as_dir"
     2318  done
    15532319IFS=$as_save_IFS
    15542320
     
    15872353    esac
    15882354    case $ac_pass in
    1589     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2355    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15902356    2)
    1591       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2357      as_fn_append ac_configure_args1 " '$ac_arg'"
    15922358      if test $ac_must_keep_next = true; then
    15932359        ac_must_keep_next=false # Got value, back to normal.
     
    16052371        esac
    16062372      fi
    1607       ac_configure_args="$ac_configure_args '$ac_arg'"
     2373      as_fn_append ac_configure_args " '$ac_arg'"
    16082374      ;;
    16092375    esac
    16102376  done
    16112377done
    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; }
     2378{ ac_configure_args0=; unset ac_configure_args0;}
     2379{ ac_configure_args1=; unset ac_configure_args1;}
    16142380
    16152381# When interrupted or exit'd, cleanup temporary files, and complete
     
    16232389    echo
    16242390
    1625     cat <<\_ASBOX
    1626 ## ---------------- ##
     2391    $as_echo "## ---------------- ##
    16272392## Cache variables. ##
    1628 ## ---------------- ##
    1629 _ASBOX
     2393## ---------------- ##"
    16302394    echo
    16312395    # The following way of writing the cache mishandles newlines in values,
     
    16362400    *${as_nl}*)
    16372401      case $ac_var in #(
    1638       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2402      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16392403$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16402404      esac
     
    16422406      _ | IFS | as_nl) ;; #(
    16432407      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1644       *) $as_unset $ac_var ;;
     2408      *) { eval $ac_var=; unset $ac_var;} ;;
    16452409      esac ;;
    16462410    esac
     
    16612425    echo
    16622426
    1663     cat <<\_ASBOX
    1664 ## ----------------- ##
     2427    $as_echo "## ----------------- ##
    16652428## Output variables. ##
    1666 ## ----------------- ##
    1667 _ASBOX
     2429## ----------------- ##"
    16682430    echo
    16692431    for ac_var in $ac_subst_vars
     
    16782440
    16792441    if test -n "$ac_subst_files"; then
    1680       cat <<\_ASBOX
    1681 ## ------------------- ##
     2442      $as_echo "## ------------------- ##
    16822443## File substitutions. ##
    1683 ## ------------------- ##
    1684 _ASBOX
     2444## ------------------- ##"
    16852445      echo
    16862446      for ac_var in $ac_subst_files
     
    16962456
    16972457    if test -s confdefs.h; then
    1698       cat <<\_ASBOX
    1699 ## ----------- ##
     2458      $as_echo "## ----------- ##
    17002459## confdefs.h. ##
    1701 ## ----------- ##
    1702 _ASBOX
     2460## ----------- ##"
    17032461      echo
    17042462      cat confdefs.h
     
    17142472' 0
    17152473for ac_signal in 1 2 13 15; do
    1716   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2474  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17172475done
    17182476ac_signal=0
     
    17212479rm -f -r conftest* confdefs.h
    17222480
     2481$as_echo "/* confdefs.h */" > confdefs.h
     2482
    17232483# Predefined preprocessor variables.
    17242484
     
    17272487_ACEOF
    17282488
    1729 
    17302489cat >>confdefs.h <<_ACEOF
    17312490#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17322491_ACEOF
    17332492
    1734 
    17352493cat >>confdefs.h <<_ACEOF
    17362494#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17372495_ACEOF
    17382496
    1739 
    17402497cat >>confdefs.h <<_ACEOF
    17412498#define PACKAGE_STRING "$PACKAGE_STRING"
    17422499_ACEOF
    17432500
    1744 
    17452501cat >>confdefs.h <<_ACEOF
    17462502#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2503_ACEOF
     2504
     2505cat >>confdefs.h <<_ACEOF
     2506#define PACKAGE_URL "$PACKAGE_URL"
    17472507_ACEOF
    17482508
     
    17532513ac_site_file2=NONE
    17542514if test -n "$CONFIG_SITE"; then
    1755   ac_site_file1=$CONFIG_SITE
     2515  # We do not want a PATH search for config.site.
     2516  case $CONFIG_SITE in #((
     2517    -*)  ac_site_file1=./$CONFIG_SITE;;
     2518    */*) ac_site_file1=$CONFIG_SITE;;
     2519    *)   ac_site_file1=./$CONFIG_SITE;;
     2520  esac
    17562521elif test "x$prefix" != xNONE; then
    17572522  ac_site_file1=$prefix/share/config.site
     
    17642529do
    17652530  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
     2531  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2532    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17682533$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17692534    sed 's/^/| /' "$ac_site_file" >&5
    1770     . "$ac_site_file"
     2535    . "$ac_site_file" \
     2536      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2538as_fn_error $? "failed to load site script $ac_site_file
     2539See \`config.log' for more details" "$LINENO" 5; }
    17712540  fi
    17722541done
    17732542
    17742543if 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
     2544  # Some versions of bash will fail to source /dev/null (special files
     2545  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2546  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2547    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17792548$as_echo "$as_me: loading cache $cache_file" >&6;}
    17802549    case $cache_file in
     
    17842553  fi
    17852554else
    1786   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2555  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17872556$as_echo "$as_me: creating cache $cache_file" >&6;}
    17882557  >$cache_file
     
    17992568  case $ac_old_set,$ac_new_set in
    18002569    set,)
    1801       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2570      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18022571$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18032572      ac_cache_corrupted=: ;;
    18042573    ,set)
    1805       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2574      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18062575$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18072576      ac_cache_corrupted=: ;;
     
    18132582        ac_new_val_w=`echo x $ac_new_val`
    18142583        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
     2584          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18162585$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18172586          ac_cache_corrupted=:
    18182587        else
    1819           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2588          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18202589$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18212590          eval $ac_var=\$ac_old_val
    18222591        fi
    1823         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2592        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18242593$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1825         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2594        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18262595$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18272596      fi;;
     
    18352604    case " $ac_configure_args " in
    18362605      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1837       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2606      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18382607    esac
    18392608  fi
    18402609done
    18412610if $ac_cache_corrupted; then
    1842   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2611  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18432612$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
     2613  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18452614$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 
     2615  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2616fi
     2617## -------------------- ##
     2618## Main body of script. ##
     2619## -------------------- ##
    18742620
    18752621ac_ext=c
     
    18972643done
    18982644if 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; }; }
     2645  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19022646fi
    19032647
     
    19162660
    19172661# Check whether --with-tcllib was given.
    1918 if test "${with_tcllib+set}" = set; then
     2662if test "${with_tcllib+set}" = set; then :
    19192663  withval=$with_tcllib; with_tcllib=$withval
    19202664else
     
    19252669
    19262670# Check whether --with-rappture was given.
    1927 if test "${with_rappture+set}" = set; then
     2671if test "${with_rappture+set}" = set; then :
    19282672  withval=$with_rappture; with_rappture=$withval
    19292673else
     
    19342678
    19352679# Check whether --with-vtk-includes was given.
    1936 if test "${with_vtk_includes+set}" = set; then
     2680if test "${with_vtk_includes+set}" = set; then :
    19372681  withval=$with_vtk_includes; with_vtk_includes=$withval
    19382682else
     
    19432687
    19442688# Check whether --with-vtk-libs was given.
    1945 if test "${with_vtk_libs+set}" = set; then
     2689if test "${with_vtk_libs+set}" = set; then :
    19462690  withval=$with_vtk_libs; with_vtk_libs=$withval
    19472691else
     
    19522696
    19532697# Check whether --with-vtk was given.
    1954 if test "${with_vtk+set}" = set; then
     2698if test "${with_vtk+set}" = set; then :
    19552699  withval=$with_vtk; with_vtk=$withval
    19562700else
     
    19612705
    19622706# Check whether --with-ffmpeg was given.
    1963 if test "${with_ffmpeg+set}" = set; then
     2707if test "${with_ffmpeg+set}" = set; then :
    19642708  withval=$with_ffmpeg;
    19652709else
     
    19762720  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19772721set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1978 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19792723$as_echo_n "checking for $ac_word... " >&6; }
    1980 if test "${ac_cv_prog_CC+set}" = set; then
     2724if ${ac_cv_prog_CC+:} false; then :
    19812725  $as_echo_n "(cached) " >&6
    19822726else
     
    19892733  IFS=$as_save_IFS
    19902734  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
     2735    for ac_exec_ext in '' $ac_executable_extensions; do
     2736  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19932737    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1994     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2738    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19952739    break 2
    19962740  fi
    19972741done
    1998 done
     2742  done
    19992743IFS=$as_save_IFS
    20002744
     
    20032747CC=$ac_cv_prog_CC
    20042748if test -n "$CC"; then
    2005   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20062750$as_echo "$CC" >&6; }
    20072751else
    2008   { $as_echo "$as_me:$LINENO: result: no" >&5
     2752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20092753$as_echo "no" >&6; }
    20102754fi
     
    20162760  # Extract the first word of "gcc", so it can be a program name with args.
    20172761set dummy gcc; ac_word=$2
    2018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20192763$as_echo_n "checking for $ac_word... " >&6; }
    2020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2764if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20212765  $as_echo_n "(cached) " >&6
    20222766else
     
    20292773  IFS=$as_save_IFS
    20302774  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
     2775    for ac_exec_ext in '' $ac_executable_extensions; do
     2776  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20332777    ac_cv_prog_ac_ct_CC="gcc"
    2034     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2778    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20352779    break 2
    20362780  fi
    20372781done
    2038 done
     2782  done
    20392783IFS=$as_save_IFS
    20402784
     
    20432787ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20442788if test -n "$ac_ct_CC"; then
    2045   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20462790$as_echo "$ac_ct_CC" >&6; }
    20472791else
    2048   { $as_echo "$as_me:$LINENO: result: no" >&5
     2792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20492793$as_echo "no" >&6; }
    20502794fi
     
    20552799    case $cross_compiling:$ac_tool_warned in
    20562800yes:)
    2057 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20582802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20592803ac_tool_warned=yes ;;
     
    20692813    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20702814set dummy ${ac_tool_prefix}cc; ac_word=$2
    2071 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20722816$as_echo_n "checking for $ac_word... " >&6; }
    2073 if test "${ac_cv_prog_CC+set}" = set; then
     2817if ${ac_cv_prog_CC+:} false; then :
    20742818  $as_echo_n "(cached) " >&6
    20752819else
     
    20822826  IFS=$as_save_IFS
    20832827  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
     2828    for ac_exec_ext in '' $ac_executable_extensions; do
     2829  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20862830    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2087     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2831    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20882832    break 2
    20892833  fi
    20902834done
    2091 done
     2835  done
    20922836IFS=$as_save_IFS
    20932837
     
    20962840CC=$ac_cv_prog_CC
    20972841if test -n "$CC"; then
    2098   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20992843$as_echo "$CC" >&6; }
    21002844else
    2101   { $as_echo "$as_me:$LINENO: result: no" >&5
     2845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21022846$as_echo "no" >&6; }
    21032847fi
     
    21092853  # Extract the first word of "cc", so it can be a program name with args.
    21102854set dummy cc; ac_word=$2
    2111 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21122856$as_echo_n "checking for $ac_word... " >&6; }
    2113 if test "${ac_cv_prog_CC+set}" = set; then
     2857if ${ac_cv_prog_CC+:} false; then :
    21142858  $as_echo_n "(cached) " >&6
    21152859else
     
    21232867  IFS=$as_save_IFS
    21242868  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
     2869    for ac_exec_ext in '' $ac_executable_extensions; do
     2870  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21272871    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21282872       ac_prog_rejected=yes
     
    21302874     fi
    21312875    ac_cv_prog_CC="cc"
    2132     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2876    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21332877    break 2
    21342878  fi
    21352879done
    2136 done
     2880  done
    21372881IFS=$as_save_IFS
    21382882
     
    21532897CC=$ac_cv_prog_CC
    21542898if test -n "$CC"; then
    2155   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21562900$as_echo "$CC" >&6; }
    21572901else
    2158   { $as_echo "$as_me:$LINENO: result: no" >&5
     2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21592903$as_echo "no" >&6; }
    21602904fi
     
    21682912    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21692913set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21712915$as_echo_n "checking for $ac_word... " >&6; }
    2172 if test "${ac_cv_prog_CC+set}" = set; then
     2916if ${ac_cv_prog_CC+:} false; then :
    21732917  $as_echo_n "(cached) " >&6
    21742918else
     
    21812925  IFS=$as_save_IFS
    21822926  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
     2927    for ac_exec_ext in '' $ac_executable_extensions; do
     2928  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21852929    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2930    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21872931    break 2
    21882932  fi
    21892933done
    2190 done
     2934  done
    21912935IFS=$as_save_IFS
    21922936
     
    21952939CC=$ac_cv_prog_CC
    21962940if test -n "$CC"; then
    2197   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21982942$as_echo "$CC" >&6; }
    21992943else
    2200   { $as_echo "$as_me:$LINENO: result: no" >&5
     2944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22012945$as_echo "no" >&6; }
    22022946fi
     
    22122956  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22132957set dummy $ac_prog; ac_word=$2
    2214 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22152959$as_echo_n "checking for $ac_word... " >&6; }
    2216 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2960if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22172961  $as_echo_n "(cached) " >&6
    22182962else
     
    22252969  IFS=$as_save_IFS
    22262970  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
     2971    for ac_exec_ext in '' $ac_executable_extensions; do
     2972  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22292973    ac_cv_prog_ac_ct_CC="$ac_prog"
    2230     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2974    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22312975    break 2
    22322976  fi
    22332977done
    2234 done
     2978  done
    22352979IFS=$as_save_IFS
    22362980
     
    22392983ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22402984if test -n "$ac_ct_CC"; then
    2241   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22422986$as_echo "$ac_ct_CC" >&6; }
    22432987else
    2244   { $as_echo "$as_me:$LINENO: result: no" >&5
     2988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22452989$as_echo "no" >&6; }
    22462990fi
     
    22552999    case $cross_compiling:$ac_tool_warned in
    22563000yes:)
    2257 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22583002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22593003ac_tool_warned=yes ;;
     
    22663010
    22673011
    2268 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3012test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22693013$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; }; }; }
     3014as_fn_error $? "no acceptable C compiler found in \$PATH
     3015See \`config.log' for more details" "$LINENO" 5; }
    22753016
    22763017# Provide some information about the compiler.
    2277 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3018$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22783019set X $ac_compile
    22793020ac_compiler=$2
    2280 { (ac_try="$ac_compiler --version >&5"
     3021for ac_option in --version -v -V -qversion; do
     3022  { { ac_try="$ac_compiler $ac_option >&5"
    22813023case "(($ac_try" in
    22823024  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22833025  *) ac_try_echo=$ac_try;;
    22843026esac
    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
     3027eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3028$as_echo "$ac_try_echo"; } >&5
     3029  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22883030  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
     3031  if test -s conftest.err; then
     3032    sed '10a\
     3033... rest of stderr output deleted ...
     3034         10q' conftest.err >conftest.er1
     3035    cat conftest.er1 >&5
     3036  fi
     3037  rm -f conftest.er1 conftest.err
     3038  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3039  test $ac_status = 0; }
     3040done
     3041
     3042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23193043/* end confdefs.h.  */
    23203044
     
    23323056# It will help us diagnose broken compilers, and finding out an intuition
    23333057# 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; }
     3058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3059$as_echo_n "checking whether the C compiler works... " >&6; }
    23363060ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23373061
     
    23493073rm -f $ac_rmfiles
    23503074
    2351 if { (ac_try="$ac_link_default"
     3075if { { ac_try="$ac_link_default"
    23523076case "(($ac_try" in
    23533077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23543078  *) ac_try_echo=$ac_try;;
    23553079esac
    2356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2357 $as_echo "$ac_try_echo") >&5
     3080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3081$as_echo "$ac_try_echo"; } >&5
    23583082  (eval "$ac_link_default") 2>&5
    23593083  ac_status=$?
    2360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2361   (exit $ac_status); }; then
     3084  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3085  test $ac_status = 0; }; then :
    23623086  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23633087# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23763100        break;;
    23773101    *.* )
    2378         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3102        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23793103        then :; else
    23803104           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23953119  ac_file=''
    23963120fi
    2397 
    2398 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3121if test -z "$ac_file"; then :
     3122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3123$as_echo "no" >&6; }
     3124$as_echo "$as_me: failed program was:" >&5
     3125sed 's/^/| /' conftest.$ac_ext >&5
     3126
     3127{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3129as_fn_error 77 "C compiler cannot create executables
     3130See \`config.log' for more details" "$LINENO" 5; }
     3131else
     3132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3133$as_echo "yes" >&6; }
     3134fi
     3135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3136$as_echo_n "checking for C compiler default output file name... " >&6; }
     3137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23993138$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 
    24133139ac_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; }
    24523140
    24533141rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24543142ac_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
     3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24633144$as_echo_n "checking for suffix of executables... " >&6; }
    2464 if { (ac_try="$ac_link"
     3145if { { ac_try="$ac_link"
    24653146case "(($ac_try" in
    24663147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24673148  *) ac_try_echo=$ac_try;;
    24683149esac
    2469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2470 $as_echo "$ac_try_echo") >&5
     3150eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3151$as_echo "$ac_try_echo"; } >&5
    24713152  (eval "$ac_link") 2>&5
    24723153  ac_status=$?
    2473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2474   (exit $ac_status); }; then
     3154  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3155  test $ac_status = 0; }; then :
    24753156  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24763157# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24873168done
    24883169else
    2489   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3170  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24903171$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
     3172as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3173See \`config.log' for more details" "$LINENO" 5; }
     3174fi
     3175rm -f conftest conftest$ac_cv_exeext
     3176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    25003177$as_echo "$ac_cv_exeext" >&6; }
    25013178
     
    25033180EXEEXT=$ac_cv_exeext
    25043181ac_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
     3182cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25153183/* end confdefs.h.  */
    2516 
     3184#include <stdio.h>
    25173185int
    25183186main ()
    25193187{
     3188FILE *f = fopen ("conftest.out", "w");
     3189 return ferror (f) || fclose (f) != 0;
    25203190
    25213191  ;
     
    25233193}
    25243194_ACEOF
    2525 rm -f conftest.o conftest.obj
    2526 if { (ac_try="$ac_compile"
     3195ac_clean_files="$ac_clean_files conftest.out"
     3196# Check that the compiler produces executables we can run.  If not, either
     3197# the compiler is broken, or we cross compile.
     3198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3199$as_echo_n "checking whether we are cross compiling... " >&6; }
     3200if test "$cross_compiling" != yes; then
     3201  { { ac_try="$ac_link"
    25273202case "(($ac_try" in
    25283203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25293204  *) ac_try_echo=$ac_try;;
    25303205esac
    2531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2532 $as_echo "$ac_try_echo") >&5
     3206eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3207$as_echo "$ac_try_echo"; } >&5
     3208  (eval "$ac_link") 2>&5
     3209  ac_status=$?
     3210  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3211  test $ac_status = 0; }
     3212  if { ac_try='./conftest$ac_cv_exeext'
     3213  { { case "(($ac_try" in
     3214  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3215  *) ac_try_echo=$ac_try;;
     3216esac
     3217eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3218$as_echo "$ac_try_echo"; } >&5
     3219  (eval "$ac_try") 2>&5
     3220  ac_status=$?
     3221  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3222  test $ac_status = 0; }; }; then
     3223    cross_compiling=no
     3224  else
     3225    if test "$cross_compiling" = maybe; then
     3226        cross_compiling=yes
     3227    else
     3228        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3230as_fn_error $? "cannot run C compiled programs.
     3231If you meant to cross compile, use \`--host'.
     3232See \`config.log' for more details" "$LINENO" 5; }
     3233    fi
     3234  fi
     3235fi
     3236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3237$as_echo "$cross_compiling" >&6; }
     3238
     3239rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3240ac_clean_files=$ac_clean_files_save
     3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3242$as_echo_n "checking for suffix of object files... " >&6; }
     3243if ${ac_cv_objext+:} false; then :
     3244  $as_echo_n "(cached) " >&6
     3245else
     3246  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3247/* end confdefs.h.  */
     3248
     3249int
     3250main ()
     3251{
     3252
     3253  ;
     3254  return 0;
     3255}
     3256_ACEOF
     3257rm -f conftest.o conftest.obj
     3258if { { ac_try="$ac_compile"
     3259case "(($ac_try" in
     3260  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3261  *) ac_try_echo=$ac_try;;
     3262esac
     3263eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3264$as_echo "$ac_try_echo"; } >&5
    25333265  (eval "$ac_compile") 2>&5
    25343266  ac_status=$?
    2535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2536   (exit $ac_status); }; then
     3267  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3268  test $ac_status = 0; }; then :
    25373269  for ac_file in conftest.o conftest.obj conftest.*; do
    25383270  test -f "$ac_file" || continue;
     
    25473279sed 's/^/| /' conftest.$ac_ext >&5
    25483280
    2549 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3281{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25503282$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 
     3283as_fn_error $? "cannot compute suffix of object files: cannot compile
     3284See \`config.log' for more details" "$LINENO" 5; }
     3285fi
    25583286rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25593287fi
    2560 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25613289$as_echo "$ac_cv_objext" >&6; }
    25623290OBJEXT=$ac_cv_objext
    25633291ac_objext=$OBJEXT
    2564 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25653293$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2566 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3294if ${ac_cv_c_compiler_gnu+:} false; then :
    25673295  $as_echo_n "(cached) " >&6
    25683296else
    2569   cat >conftest.$ac_ext <<_ACEOF
    2570 /* confdefs.h.  */
    2571 _ACEOF
    2572 cat confdefs.h >>conftest.$ac_ext
    2573 cat >>conftest.$ac_ext <<_ACEOF
     3297  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25743298/* end confdefs.h.  */
    25753299
     
    25853309}
    25863310_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
     3311if ac_fn_c_try_compile "$LINENO"; then :
    26053312  ac_compiler_gnu=yes
    26063313else
    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 
     3314  ac_compiler_gnu=no
     3315fi
    26133316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26143317ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26153318
    26163319fi
    2617 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26183321$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26193322if test $ac_compiler_gnu = yes; then
     
    26243327ac_test_CFLAGS=${CFLAGS+set}
    26253328ac_save_CFLAGS=$CFLAGS
    2626 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26273330$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2628 if test "${ac_cv_prog_cc_g+set}" = set; then
     3331if ${ac_cv_prog_cc_g+:} false; then :
    26293332  $as_echo_n "(cached) " >&6
    26303333else
     
    26333336   ac_cv_prog_cc_g=no
    26343337   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
     3338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26403339/* end confdefs.h.  */
    26413340
     
    26483347}
    26493348_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
     3349if ac_fn_c_try_compile "$LINENO"; then :
    26683350  ac_cv_prog_cc_g=yes
    26693351else
    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
     3352  CFLAGS=""
     3353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26793354/* end confdefs.h.  */
    26803355
     
    26873362}
    26883363_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
     3364if ac_fn_c_try_compile "$LINENO"; then :
     3365
     3366else
     3367  ac_c_werror_flag=$ac_save_c_werror_flag
    27133368         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
     3369         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27193370/* end confdefs.h.  */
    27203371
     
    27273378}
    27283379_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
     3380if ac_fn_c_try_compile "$LINENO"; then :
    27473381  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 
     3382fi
    27553383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27563384fi
    2757 
    27583385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27593386fi
    2760 
    27613387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27623388   ac_c_werror_flag=$ac_save_c_werror_flag
    27633389fi
    2764 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27653391$as_echo "$ac_cv_prog_cc_g" >&6; }
    27663392if test "$ac_test_CFLAGS" = set; then
     
    27793405  fi
    27803406fi
    2781 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27823408$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2783 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3409if ${ac_cv_prog_cc_c89+:} false; then :
    27843410  $as_echo_n "(cached) " >&6
    27853411else
    27863412  ac_cv_prog_cc_c89=no
    27873413ac_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
     3414cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27933415/* end confdefs.h.  */
    27943416#include <stdarg.h>
    27953417#include <stdio.h>
    2796 #include <sys/types.h>
    2797 #include <sys/stat.h>
     3418struct stat;
    27983419/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27993420struct buf { int x; };
     
    28473468do
    28483469  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
     3470  if ac_fn_c_try_compile "$LINENO"; then :
    28673471  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 
     3472fi
    28753473rm -f core conftest.err conftest.$ac_objext
    28763474  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28833481case "x$ac_cv_prog_cc_c89" in
    28843482  x)
    2885     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28863484$as_echo "none needed" >&6; } ;;
    28873485  xno)
    2888     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3486    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28893487$as_echo "unsupported" >&6; } ;;
    28903488  *)
    28913489    CC="$CC $ac_cv_prog_cc_c89"
    2892     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3490    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28933491$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28943492esac
    2895 
     3493if test "x$ac_cv_prog_cc_c89" != xno; then :
     3494
     3495fi
    28963496
    28973497ac_ext=c
     
    29073507ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29083508ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2909 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29103510$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29113511# On Suns, sometimes $CPP names a directory.
     
    29143514fi
    29153515if test -z "$CPP"; then
    2916   if test "${ac_cv_prog_CPP+set}" = set; then
     3516  if ${ac_cv_prog_CPP+:} false; then :
    29173517  $as_echo_n "(cached) " >&6
    29183518else
     
    29293529  # On the NeXT, cc -E runs the code through the compiler's parser,
    29303530  # 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
     3531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29363532/* end confdefs.h.  */
    29373533#ifdef __STDC__
     
    29423538                     Syntax error
    29433539_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 
     3540if ac_fn_c_try_cpp "$LINENO"; then :
     3541
     3542else
    29663543  # Broken: fails on valid input.
    29673544continue
    29683545fi
    2969 
    2970 rm -f conftest.err conftest.$ac_ext
     3546rm -f conftest.err conftest.i conftest.$ac_ext
    29713547
    29723548  # OK, works on sane cases.  Now check whether nonexistent headers
    29733549  # 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
     3550  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29793551/* end confdefs.h.  */
    29803552#include <ac_nonexistent.h>
    29813553_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
     3554if ac_fn_c_try_cpp "$LINENO"; then :
    29993555  # Broken: success on invalid input.
    30003556continue
    30013557else
    3002   $as_echo "$as_me: failed program was:" >&5
    3003 sed 's/^/| /' conftest.$ac_ext >&5
    3004 
    30053558  # Passes both tests.
    30063559ac_preproc_ok=:
    30073560break
    30083561fi
    3009 
    3010 rm -f conftest.err conftest.$ac_ext
     3562rm -f conftest.err conftest.i conftest.$ac_ext
    30113563
    30123564done
    30133565# 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
     3566rm -f conftest.i conftest.err conftest.$ac_ext
     3567if $ac_preproc_ok; then :
    30163568  break
    30173569fi
     
    30253577  ac_cv_prog_CPP=$CPP
    30263578fi
    3027 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30283580$as_echo "$CPP" >&6; }
    30293581ac_preproc_ok=false
     
    30363588  # On the NeXT, cc -E runs the code through the compiler's parser,
    30373589  # 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
     3590  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30433591/* end confdefs.h.  */
    30443592#ifdef __STDC__
     
    30493597                     Syntax error
    30503598_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 
     3599if ac_fn_c_try_cpp "$LINENO"; then :
     3600
     3601else
    30733602  # Broken: fails on valid input.
    30743603continue
    30753604fi
    3076 
    3077 rm -f conftest.err conftest.$ac_ext
     3605rm -f conftest.err conftest.i conftest.$ac_ext
    30783606
    30793607  # OK, works on sane cases.  Now check whether nonexistent headers
    30803608  # 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
     3609  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30863610/* end confdefs.h.  */
    30873611#include <ac_nonexistent.h>
    30883612_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
     3613if ac_fn_c_try_cpp "$LINENO"; then :
    31063614  # Broken: success on invalid input.
    31073615continue
    31083616else
    3109   $as_echo "$as_me: failed program was:" >&5
    3110 sed 's/^/| /' conftest.$ac_ext >&5
    3111 
    31123617  # Passes both tests.
    31133618ac_preproc_ok=:
    31143619break
    31153620fi
    3116 
    3117 rm -f conftest.err conftest.$ac_ext
     3621rm -f conftest.err conftest.i conftest.$ac_ext
    31183622
    31193623done
    31203624# 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
     3625rm -f conftest.i conftest.err conftest.$ac_ext
     3626if $ac_preproc_ok; then :
     3627
     3628else
     3629  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31263630$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; }; }; }
     3631as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3632See \`config.log' for more details" "$LINENO" 5; }
    31323633fi
    31333634
     
    31393640
    31403641
    3141 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31423643$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3143 if test "${ac_cv_path_GREP+set}" = set; then
     3644if ${ac_cv_path_GREP+:} false; then :
    31443645  $as_echo_n "(cached) " >&6
    31453646else
     
    31523653  IFS=$as_save_IFS
    31533654  test -z "$as_dir" && as_dir=.
    3154   for ac_prog in grep ggrep; do
     3655    for ac_prog in grep ggrep; do
    31553656    for ac_exec_ext in '' $ac_executable_extensions; do
    31563657      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3157       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3658      as_fn_executable_p "$ac_path_GREP" || continue
    31583659# Check for GNU ac_path_GREP and select it if it is found.
    31593660  # Check for GNU $ac_path_GREP
     
    31723673    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31733674    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3174     ac_count=`expr $ac_count + 1`
     3675    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31753676    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31763677      # Best one so far, save it but keep looking for a better one
     
    31873688    done
    31883689  done
    3189 done
     3690  done
    31903691IFS=$as_save_IFS
    31913692  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; }; }
     3693    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31953694  fi
    31963695else
     
    31993698
    32003699fi
    3201 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    32023701$as_echo "$ac_cv_path_GREP" >&6; }
    32033702 GREP="$ac_cv_path_GREP"
    32043703
    32053704
    3206 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32073706$as_echo_n "checking for egrep... " >&6; }
    3208 if test "${ac_cv_path_EGREP+set}" = set; then
     3707if ${ac_cv_path_EGREP+:} false; then :
    32093708  $as_echo_n "(cached) " >&6
    32103709else
     
    32203719  IFS=$as_save_IFS
    32213720  test -z "$as_dir" && as_dir=.
    3222   for ac_prog in egrep; do
     3721    for ac_prog in egrep; do
    32233722    for ac_exec_ext in '' $ac_executable_extensions; do
    32243723      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3225       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3724      as_fn_executable_p "$ac_path_EGREP" || continue
    32263725# Check for GNU ac_path_EGREP and select it if it is found.
    32273726  # Check for GNU $ac_path_EGREP
     
    32403739    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32413740    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3242     ac_count=`expr $ac_count + 1`
     3741    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32433742    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32443743      # Best one so far, save it but keep looking for a better one
     
    32553754    done
    32563755  done
    3257 done
     3756  done
    32583757IFS=$as_save_IFS
    32593758  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; }; }
     3759    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32633760  fi
    32643761else
     
    32683765   fi
    32693766fi
    3270 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32713768$as_echo "$ac_cv_path_EGREP" >&6; }
    32723769 EGREP="$ac_cv_path_EGREP"
    32733770
    32743771
    3275 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32763773$as_echo_n "checking for ANSI C header files... " >&6; }
    3277 if test "${ac_cv_header_stdc+set}" = set; then
     3774if ${ac_cv_header_stdc+:} false; then :
    32783775  $as_echo_n "(cached) " >&6
    32793776else
    3280   cat >conftest.$ac_ext <<_ACEOF
    3281 /* confdefs.h.  */
    3282 _ACEOF
    3283 cat confdefs.h >>conftest.$ac_ext
    3284 cat >>conftest.$ac_ext <<_ACEOF
     3777  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32853778/* end confdefs.h.  */
    32863779#include <stdlib.h>
     
    32973790}
    32983791_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
     3792if ac_fn_c_try_compile "$LINENO"; then :
    33173793  ac_cv_header_stdc=yes
    33183794else
    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 
     3795  ac_cv_header_stdc=no
     3796fi
    33253797rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33263798
    33273799if test $ac_cv_header_stdc = yes; then
    33283800  # 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
     3801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33343802/* end confdefs.h.  */
    33353803#include <string.h>
     
    33373805_ACEOF
    33383806if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3339   $EGREP "memchr" >/dev/null 2>&1; then
    3340   :
     3807  $EGREP "memchr" >/dev/null 2>&1; then :
     3808
    33413809else
    33423810  ac_cv_header_stdc=no
     
    33483816if test $ac_cv_header_stdc = yes; then
    33493817  # 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
     3818  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33553819/* end confdefs.h.  */
    33563820#include <stdlib.h>
     
    33583822_ACEOF
    33593823if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3360   $EGREP "free" >/dev/null 2>&1; then
    3361   :
     3824  $EGREP "free" >/dev/null 2>&1; then :
     3825
    33623826else
    33633827  ac_cv_header_stdc=no
     
    33693833if test $ac_cv_header_stdc = yes; then
    33703834  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3371   if test "$cross_compiling" = yes; then
     3835  if test "$cross_compiling" = yes; then :
    33723836  :
    33733837else
    3374   cat >conftest.$ac_ext <<_ACEOF
    3375 /* confdefs.h.  */
    3376 _ACEOF
    3377 cat confdefs.h >>conftest.$ac_ext
    3378 cat >>conftest.$ac_ext <<_ACEOF
     3838  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33793839/* end confdefs.h.  */
    33803840#include <ctype.h>
     
    34033863}
    34043864_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
     3865if ac_fn_c_try_run "$LINENO"; then :
     3866
     3867else
     3868  ac_cv_header_stdc=no
     3869fi
     3870rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3871  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3872fi
     3873
     3874fi
     3875fi
     3876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34443877$as_echo "$ac_cv_header_stdc" >&6; }
    34453878if test $ac_cv_header_stdc = yes; then
    34463879
    3447 cat >>confdefs.h <<\_ACEOF
    3448 #define STDC_HEADERS 1
    3449 _ACEOF
     3880$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34503881
    34513882fi
    34523883
    34533884# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3454 
    3455 
    3456 
    3457 
    3458 
    3459 
    3460 
    3461 
    3462 
    34633885for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34643886                  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
     3887do :
     3888  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3889ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3890"
     3891if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35173892  cat >>confdefs.h <<_ACEOF
    35183893#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35393914
    35403915# Check whether --with-python was given.
    3541 if test "${with_python+set}" = set; then
     3916if test "${with_python+set}" = set; then :
    35423917  withval=$with_python;
    35433918else
     
    35503925    # 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.
    35513926set 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
     3927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35533928$as_echo_n "checking for $ac_word... " >&6; }
    3554 if test "${ac_cv_path_PYTHON+set}" = set; then
     3929if ${ac_cv_path_PYTHON+:} false; then :
    35553930  $as_echo_n "(cached) " >&6
    35563931else
     
    35653940  IFS=$as_save_IFS
    35663941  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
     3942    for ac_exec_ext in '' $ac_executable_extensions; do
     3943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35693944    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
     3945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35713946    break 2
    35723947  fi
    35733948done
    3574 done
     3949  done
    35753950IFS=$as_save_IFS
    35763951
     
    35803955PYTHON=$ac_cv_path_PYTHON
    35813956if test -n "$PYTHON"; then
    3582   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35833958$as_echo "$PYTHON" >&6; }
    35843959else
    3585   { $as_echo "$as_me:$LINENO: result: no" >&5
     3960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35863961$as_echo "no" >&6; }
    35873962fi
     
    35913966    # Extract the first word of "python", so it can be a program name with args.
    35923967set dummy python; ac_word=$2
    3593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35943969$as_echo_n "checking for $ac_word... " >&6; }
    3595 if test "${ac_cv_path_PYTHON+set}" = set; then
     3970if ${ac_cv_path_PYTHON+:} false; then :
    35963971  $as_echo_n "(cached) " >&6
    35973972else
     
    36073982  IFS=$as_save_IFS
    36083983  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
     3984    for ac_exec_ext in '' $ac_executable_extensions; do
     3985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36113986    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
     3987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36133988    break 2
    36143989  fi
    36153990done
    3616 done
     3991  done
    36173992IFS=$as_save_IFS
    36183993
     
    36223997PYTHON=$ac_cv_path_PYTHON
    36233998if test -n "$PYTHON"; then
    3624   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36254000$as_echo "$PYTHON" >&6; }
    36264001else
    3627   { $as_echo "$as_me:$LINENO: result: no" >&5
     4002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36284003$as_echo "no" >&6; }
    36294004fi
     
    36314006
    36324007  fi
    3633   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     4008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36344009$as_echo_n "checking for Python version... " >&6; }
    36354010  if test "x${PYTHON}" != "x"; then
    36364011    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36374012  fi
    3638   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     4013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36394014$as_echo "$PYTHON_VERSION" >&6; }
    36404015fi
     
    36424017if test "x${PYTHON_VERSION}" != "x"; then
    36434018  PYTHON_INCLUDES=$incdir
    3644   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4019  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36454020$as_echo_n "checking for Python distutils... " >&6; }
    36464021  PYTHON_DISTUTILS=""
     
    36504025    PYTHON_DISTUTILS="yes"
    36514026  fi
    3652   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36534028$as_echo "$PYTHON_DISTUTILS" >&6; }
    36544029  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36574032    # Check for Python include path
    36584033    #
    3659     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36604035$as_echo_n "checking path to Python headers... " >&6; }
    36614036    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36624037     print distutils.sysconfig.get_python_inc();"`
    3663     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4038    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36644039$as_echo "$PYTHON_INCDIR" >&6; }
    36654040    #
     
    36744049    save_CPPFLAGS=$CPPFLAGS
    36754050    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
     4051    for ac_header in Python.h
     4052do :
     4053  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4054if test "x$ac_cv_header_Python_h" = xyes; then :
    38194055  cat >>confdefs.h <<_ACEOF
    3820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4056#define HAVE_PYTHON_H 1
    38214057_ACEOF
    38224058 found=yes
     
    38374073
    38384074# Check whether --with-statsdir was given.
    3839 if test "${with_statsdir+set}" = set; then
     4075if test "${with_statsdir+set}" = set; then :
    38404076  withval=$with_statsdir; STATSDIR=$withval
    38414077else
     
    38714107  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38724108set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3873 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38744110$as_echo_n "checking for $ac_word... " >&6; }
    3875 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4111if ${ac_cv_prog_RANLIB+:} false; then :
    38764112  $as_echo_n "(cached) " >&6
    38774113else
     
    38844120  IFS=$as_save_IFS
    38854121  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
     4122    for ac_exec_ext in '' $ac_executable_extensions; do
     4123  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38884124    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3889     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4125    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38904126    break 2
    38914127  fi
    38924128done
    3893 done
     4129  done
    38944130IFS=$as_save_IFS
    38954131
     
    38984134RANLIB=$ac_cv_prog_RANLIB
    38994135if test -n "$RANLIB"; then
    3900   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    39014137$as_echo "$RANLIB" >&6; }
    39024138else
    3903   { $as_echo "$as_me:$LINENO: result: no" >&5
     4139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39044140$as_echo "no" >&6; }
    39054141fi
     
    39114147  # Extract the first word of "ranlib", so it can be a program name with args.
    39124148set dummy ranlib; ac_word=$2
    3913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39144150$as_echo_n "checking for $ac_word... " >&6; }
    3915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4151if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    39164152  $as_echo_n "(cached) " >&6
    39174153else
     
    39244160  IFS=$as_save_IFS
    39254161  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
     4162    for ac_exec_ext in '' $ac_executable_extensions; do
     4163  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39284164    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3929     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4165    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39304166    break 2
    39314167  fi
    39324168done
    3933 done
     4169  done
    39344170IFS=$as_save_IFS
    39354171
     
    39384174ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39394175if test -n "$ac_ct_RANLIB"; then
    3940   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39414177$as_echo "$ac_ct_RANLIB" >&6; }
    39424178else
    3943   { $as_echo "$as_me:$LINENO: result: no" >&5
     4179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39444180$as_echo "no" >&6; }
    39454181fi
     
    39504186    case $cross_compiling:$ac_tool_warned in
    39514187yes:)
    3952 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39534189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39544190ac_tool_warned=yes ;;
     
    39644200    # Step 0.a: Enable 64 bit support?
    39654201
    3966     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4202    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39674203$as_echo_n "checking if 64bit support is requested... " >&6; }
    39684204    # Check whether --enable-64bit was given.
    3969 if test "${enable_64bit+set}" = set; then
     4205if test "${enable_64bit+set}" = set; then :
    39704206  enableval=$enable_64bit; do64bit=$enableval
    39714207else
     
    39734209fi
    39744210
    3975     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4211    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39764212$as_echo "$do64bit" >&6; }
    39774213
    39784214    # Step 0.b: Enable Solaris 64 bit VIS support?
    39794215
    3980     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39814217$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39824218    # Check whether --enable-64bit-vis was given.
    3983 if test "${enable_64bit_vis+set}" = set; then
     4219if test "${enable_64bit_vis+set}" = set; then :
    39844220  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39854221else
     
    39874223fi
    39884224
    3989     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4225    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39904226$as_echo "$do64bitVIS" >&6; }
    39914227
     
    39994235
    40004236
    4001     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4237    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    40024238$as_echo_n "checking system version... " >&6; }
    4003 if test "${tcl_cv_sys_version+set}" = set; then
     4239if ${tcl_cv_sys_version+:} false; then :
    40044240  $as_echo_n "(cached) " >&6
    40054241else
     
    40104246            tcl_cv_sys_version=`uname -s`-`uname -r`
    40114247            if test "$?" -ne 0 ; then
    4012                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4248                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    40134249$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40144250                tcl_cv_sys_version=unknown
     
    40274263
    40284264fi
    4029 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40304266$as_echo "$tcl_cv_sys_version" >&6; }
    40314267    system=$tcl_cv_sys_version
     
    40354271    # Linux can use either -ldl or -ldld for dynamic loading.
    40364272
    4037     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4273    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40384274$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4039 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4275if ${ac_cv_lib_dl_dlopen+:} false; then :
    40404276  $as_echo_n "(cached) " >&6
    40414277else
    40424278  ac_check_lib_save_LIBS=$LIBS
    40434279LIBS="-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
     4280cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40494281/* end confdefs.h.  */
    40504282
     
    40644296}
    40654297_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
     4298if ac_fn_c_try_link "$LINENO"; then :
    40874299  ac_cv_lib_dl_dlopen=yes
    40884300else
    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
     4301  ac_cv_lib_dl_dlopen=no
     4302fi
     4303rm -f core conftest.err conftest.$ac_objext \
     4304    conftest$ac_exeext conftest.$ac_ext
    40984305LIBS=$ac_check_lib_save_LIBS
    40994306fi
    4100 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    41014308$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4102 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4309if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    41034310  have_dl=yes
    41044311else
     
    41324339    # Extract the first word of "ar", so it can be a program name with args.
    41334340set dummy ar; ac_word=$2
    4134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41354342$as_echo_n "checking for $ac_word... " >&6; }
    4136 if test "${ac_cv_prog_AR+set}" = set; then
     4343if ${ac_cv_prog_AR+:} false; then :
    41374344  $as_echo_n "(cached) " >&6
    41384345else
     
    41454352  IFS=$as_save_IFS
    41464353  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
     4354    for ac_exec_ext in '' $ac_executable_extensions; do
     4355  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41494356    ac_cv_prog_AR="ar"
    4150     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4357    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41514358    break 2
    41524359  fi
    41534360done
    4154 done
     4361  done
    41554362IFS=$as_save_IFS
    41564363
     
    41594366AR=$ac_cv_prog_AR
    41604367if test -n "$AR"; then
    4161   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41624369$as_echo "$AR" >&6; }
    41634370else
    4164   { $as_echo "$as_me:$LINENO: result: no" >&5
     4371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41654372$as_echo "no" >&6; }
    41664373fi
     
    41684375
    41694376    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; }; }
     4377        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41734378    fi
    41744379    STLIB_LD='${AR} cr'
     
    41884393                        ;;
    41894394                esac
    4190                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4395                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41914396$as_echo "Using $CC for compiling with threads" >&6; }
    41924397            fi
     
    42044409            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    42054410                if test "$GCC" = "yes" ; then
    4206                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4411                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    42074412$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42084413                else
     
    42594464            # known GMT value.
    42604465
    4261             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4466            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42624467$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4263 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4468if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42644469  $as_echo_n "(cached) " >&6
    42654470else
    42664471  ac_check_lib_save_LIBS=$LIBS
    42674472LIBS="-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
     4473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42734474/* end confdefs.h.  */
    42744475
     
    42884489}
    42894490_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
     4491if ac_fn_c_try_link "$LINENO"; then :
    43114492  ac_cv_lib_bsd_gettimeofday=yes
    43124493else
    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
     4494  ac_cv_lib_bsd_gettimeofday=no
     4495fi
     4496rm -f core conftest.err conftest.$ac_objext \
     4497    conftest$ac_exeext conftest.$ac_ext
    43224498LIBS=$ac_check_lib_save_LIBS
    43234499fi
    4324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43254501$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4326 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4502if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43274503  libbsd=yes
    43284504else
     
    43324508            if test $libbsd = yes; then
    43334509                MATH_LIBS="$MATH_LIBS -lbsd"
    4334                 cat >>confdefs.h <<\_ACEOF
    4335 #define USE_DELTA_FOR_TZ 1
    4336 _ACEOF
     4510                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43374511
    43384512            fi
     
    43514525            # is always linked to, for compatibility.
    43524526            #-----------------------------------------------------------
    4353             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4527            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43544528$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4355 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4529if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43564530  $as_echo_n "(cached) " >&6
    43574531else
    43584532  ac_check_lib_save_LIBS=$LIBS
    43594533LIBS="-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
     4534cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43654535/* end confdefs.h.  */
    43664536
     
    43804550}
    43814551_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
     4552if ac_fn_c_try_link "$LINENO"; then :
    44034553  ac_cv_lib_bind_inet_ntoa=yes
    44044554else
    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
     4555  ac_cv_lib_bind_inet_ntoa=no
     4556fi
     4557rm -f core conftest.err conftest.$ac_objext \
     4558    conftest$ac_exeext conftest.$ac_ext
    44144559LIBS=$ac_check_lib_save_LIBS
    44154560fi
    4416 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    44174562$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4418 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4563if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    44194564  LIBS="$LIBS -lbind -lsocket"
    44204565fi
     
    44544599        HP-UX-*.11.*)
    44554600            # Use updated header definitions where possible
    4456             cat >>confdefs.h <<\_ACEOF
    4457 #define _XOPEN_SOURCE 1
    4458 _ACEOF
     4601            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44594602          # Use the XOPEN network library
    4460             cat >>confdefs.h <<\_ACEOF
    4461 #define _XOPEN_SOURCE_EXTENDED 1
    4462 _ACEOF
     4603            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44634604 # Use the XOPEN network library
    44644605            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44694610                SHLIB_SUFFIX=".sl"
    44704611            fi
    4471             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4612            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44724613$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4473 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4614if ${ac_cv_lib_dld_shl_load+:} false; then :
    44744615  $as_echo_n "(cached) " >&6
    44754616else
    44764617  ac_check_lib_save_LIBS=$LIBS
    44774618LIBS="-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
     4619cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44834620/* end confdefs.h.  */
    44844621
     
    44984635}
    44994636_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
     4637if ac_fn_c_try_link "$LINENO"; then :
    45214638  ac_cv_lib_dld_shl_load=yes
    45224639else
    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
     4640  ac_cv_lib_dld_shl_load=no
     4641fi
     4642rm -f core conftest.err conftest.$ac_objext \
     4643    conftest$ac_exeext conftest.$ac_ext
    45324644LIBS=$ac_check_lib_save_LIBS
    45334645fi
    4534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45354647$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4536 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4648if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45374649  tcl_ok=yes
    45384650else
     
    45744686                            ;;
    45754687                        *)
    4576                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4688                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45774689$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45784690                            ;;
     
    45874699        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45884700            SHLIB_SUFFIX=".sl"
    4589             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4701            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45904702$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4591 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4703if ${ac_cv_lib_dld_shl_load+:} false; then :
    45924704  $as_echo_n "(cached) " >&6
    45934705else
    45944706  ac_check_lib_save_LIBS=$LIBS
    45954707LIBS="-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
     4708cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46014709/* end confdefs.h.  */
    46024710
     
    46164724}
    46174725_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
     4726if ac_fn_c_try_link "$LINENO"; then :
    46394727  ac_cv_lib_dld_shl_load=yes
    46404728else
    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
     4729  ac_cv_lib_dld_shl_load=no
     4730fi
     4731rm -f core conftest.err conftest.$ac_objext \
     4732    conftest$ac_exeext conftest.$ac_ext
    46504733LIBS=$ac_check_lib_save_LIBS
    46514734fi
    4652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46534736$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4654 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4737if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46554738  tcl_ok=yes
    46564739else
     
    47314814            if test "$do64bit" = "yes" ; then
    47324815                if test "$GCC" = "yes" ; then
    4733                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4816                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47344817$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47354818                else
     
    47604843                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47614844            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
     4845                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4846if test "x$ac_cv_header_dld_h" = xyes; then :
    48954847
    48964848                    SHLIB_LD="ld -shared"
     
    49074859            fi
    49084860            if test $do64bit = yes; then
    4909                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4861                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    49104862$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4911 if test "${tcl_cv_cc_m64+set}" = set; then
     4863if ${tcl_cv_cc_m64+:} false; then :
    49124864  $as_echo_n "(cached) " >&6
    49134865else
     
    49154867                    hold_cflags=$CFLAGS
    49164868                    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
     4869                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49224870/* end confdefs.h.  */
    49234871
     
    49304878}
    49314879_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
     4880if ac_fn_c_try_link "$LINENO"; then :
    49534881  tcl_cv_cc_m64=yes
    49544882else
    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
     4883  tcl_cv_cc_m64=no
     4884fi
     4885rm -f core conftest.err conftest.$ac_objext \
     4886    conftest$ac_exeext conftest.$ac_ext
    49644887                    CFLAGS=$hold_cflags
    49654888fi
    4966 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49674890$as_echo "$tcl_cv_cc_m64" >&6; }
    49684891                if test $tcl_cv_cc_m64 = yes; then
     
    49844907
    49854908            # XIM peeking works under XFree86.
    4986             cat >>confdefs.h <<\_ACEOF
    4987 #define PEEK_XCLOSEIM 1
    4988 _ACEOF
     4909            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49894910
    49904911
     
    50034924                LD_SEARCH_FLAGS=""
    50044925            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
     4926                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4927if test "x$ac_cv_header_dld_h" = xyes; then :
    51384928
    51394929                    SHLIB_LD="ld -shared"
     
    51854975        NetBSD-*|FreeBSD-[1-2].*)
    51864976            # 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
     4977            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4978if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    53204979
    53214980                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53284987                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53294988                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5330                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4989                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53314990$as_echo_n "checking for ELF... " >&6; }
    5332 if test "${tcl_cv_ld_elf+set}" = set; then
     4991if ${tcl_cv_ld_elf+:} false; then :
    53334992  $as_echo_n "(cached) " >&6
    53344993else
    53354994
    5336                     cat >conftest.$ac_ext <<_ACEOF
    5337 /* confdefs.h.  */
    5338 _ACEOF
    5339 cat confdefs.h >>conftest.$ac_ext
    5340 cat >>conftest.$ac_ext <<_ACEOF
     4995                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53414996/* end confdefs.h.  */
    53424997
     
    53475002_ACEOF
    53485003if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5349   $EGREP "yes" >/dev/null 2>&1; then
     5004  $EGREP "yes" >/dev/null 2>&1; then :
    53505005  tcl_cv_ld_elf=yes
    53515006else
     
    53555010
    53565011fi
    5357 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53585013$as_echo "$tcl_cv_ld_elf" >&6; }
    53595014                if test $tcl_cv_ld_elf = yes; then
     
    54145069                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    54155070                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5416                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5071                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    54175072$as_echo_n "checking for ELF... " >&6; }
    5418 if test "${tcl_cv_ld_elf+set}" = set; then
     5073if ${tcl_cv_ld_elf+:} false; then :
    54195074  $as_echo_n "(cached) " >&6
    54205075else
    54215076
    5422                     cat >conftest.$ac_ext <<_ACEOF
    5423 /* confdefs.h.  */
    5424 _ACEOF
    5425 cat confdefs.h >>conftest.$ac_ext
    5426 cat >>conftest.$ac_ext <<_ACEOF
     5077                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54275078/* end confdefs.h.  */
    54285079
     
    54335084_ACEOF
    54345085if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5435   $EGREP "yes" >/dev/null 2>&1; then
     5086  $EGREP "yes" >/dev/null 2>&1; then :
    54365087  tcl_cv_ld_elf=yes
    54375088else
     
    54415092
    54425093fi
    5443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54445095$as_echo "$tcl_cv_ld_elf" >&6; }
    54455096                if test $tcl_cv_ld_elf = yes; then
     
    54965147                case `arch` in
    54975148                    ppc)
    5498                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5149                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54995150$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5500 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5151if ${tcl_cv_cc_arch_ppc64+:} false; then :
    55015152  $as_echo_n "(cached) " >&6
    55025153else
     
    55045155                            hold_cflags=$CFLAGS
    55055156                            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
     5157                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55115158/* end confdefs.h.  */
    55125159
     
    55195166}
    55205167_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
     5168if ac_fn_c_try_link "$LINENO"; then :
    55425169  tcl_cv_cc_arch_ppc64=yes
    55435170else
    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
     5171  tcl_cv_cc_arch_ppc64=no
     5172fi
     5173rm -f core conftest.err conftest.$ac_objext \
     5174    conftest$ac_exeext conftest.$ac_ext
    55535175                            CFLAGS=$hold_cflags
    55545176fi
    5555 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55565178$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55575179                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55605182                        fi;;
    55615183                    i386)
    5562                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5184                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55635185$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5564 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5186if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55655187  $as_echo_n "(cached) " >&6
    55665188else
     
    55685190                            hold_cflags=$CFLAGS
    55695191                            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
     5192                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55755193/* end confdefs.h.  */
    55765194
     
    55835201}
    55845202_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
     5203if ac_fn_c_try_link "$LINENO"; then :
    56065204  tcl_cv_cc_arch_x86_64=yes
    56075205else
    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
     5206  tcl_cv_cc_arch_x86_64=no
     5207fi
     5208rm -f core conftest.err conftest.$ac_objext \
     5209    conftest$ac_exeext conftest.$ac_ext
    56175210                            CFLAGS=$hold_cflags
    56185211fi
    5619 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    56205213$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56215214                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56245217                        fi;;
    56255218                    *)
    5626                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5219                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56275220$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56285221                esac
     
    56345227            fi
    56355228            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5636             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5229            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56375230$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5638 if test "${tcl_cv_ld_single_module+set}" = set; then
     5231if ${tcl_cv_ld_single_module+:} false; then :
    56395232  $as_echo_n "(cached) " >&6
    56405233else
     
    56425235                hold_ldflags=$LDFLAGS
    56435236                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
     5237                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56495238/* end confdefs.h.  */
    56505239
     
    56575246}
    56585247_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
     5248if ac_fn_c_try_link "$LINENO"; then :
    56805249  tcl_cv_ld_single_module=yes
    56815250else
    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
     5251  tcl_cv_ld_single_module=no
     5252fi
     5253rm -f core conftest.err conftest.$ac_objext \
     5254    conftest$ac_exeext conftest.$ac_ext
    56915255                LDFLAGS=$hold_ldflags
    56925256fi
    5693 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56945258$as_echo "$tcl_cv_ld_single_module" >&6; }
    56955259            if test $tcl_cv_ld_single_module = yes; then
     
    57055269                LDFLAGS="$LDFLAGS -prebind"
    57065270            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5707             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5271            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    57085272$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5709 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5273if ${tcl_cv_ld_search_paths_first+:} false; then :
    57105274  $as_echo_n "(cached) " >&6
    57115275else
     
    57135277                hold_ldflags=$LDFLAGS
    57145278                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
     5279                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57205280/* end confdefs.h.  */
    57215281
     
    57285288}
    57295289_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
     5290if ac_fn_c_try_link "$LINENO"; then :
    57515291  tcl_cv_ld_search_paths_first=yes
    57525292else
    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
     5293  tcl_cv_ld_search_paths_first=no
     5294fi
     5295rm -f core conftest.err conftest.$ac_objext \
     5296    conftest$ac_exeext conftest.$ac_ext
    57625297                LDFLAGS=$hold_ldflags
    57635298fi
    5764 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57655300$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57665301            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57725307            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57735308            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5774             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5309            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57755310$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57765311            # Check whether --enable-corefoundation was given.
    5777 if test "${enable_corefoundation+set}" = set; then
     5312if test "${enable_corefoundation+set}" = set; then :
    57785313  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57795314else
     
    57815316fi
    57825317
    5783             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5318            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57845319$as_echo "$tcl_corefoundation" >&6; }
    57855320            if test $tcl_corefoundation = yes; then
    5786                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5321                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57875322$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5788 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5323if ${tcl_cv_lib_corefoundation+:} false; then :
    57895324  $as_echo_n "(cached) " >&6
    57905325else
     
    57985333                    done; fi
    57995334                    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
     5335                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58055336/* end confdefs.h.  */
    58065337#include <CoreFoundation/CoreFoundation.h>
     
    58135344}
    58145345_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
     5346if ac_fn_c_try_link "$LINENO"; then :
    58365347  tcl_cv_lib_corefoundation=yes
    58375348else
    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
     5349  tcl_cv_lib_corefoundation=no
     5350fi
     5351rm -f core conftest.err conftest.$ac_objext \
     5352    conftest$ac_exeext conftest.$ac_ext
    58475353                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58485354                        eval $v'="$hold_'$v'"'
    58495355                    done; fi; LIBS=$hold_libs
    58505356fi
    5851 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58525358$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58535359                if test $tcl_cv_lib_corefoundation = yes; then
    58545360                    LIBS="$LIBS -framework CoreFoundation"
    5855                     cat >>confdefs.h <<\_ACEOF
    5856 #define HAVE_COREFOUNDATION 1
    5857 _ACEOF
     5361                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58585362
    58595363                else
     
    58615365                fi
    58625366                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5863                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5367                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58645368$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5865 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5369if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58665370  $as_echo_n "(cached) " >&6
    58675371else
     
    58705374                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58715375                        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
     5376                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58775377/* end confdefs.h.  */
    58785378#include <CoreFoundation/CoreFoundation.h>
     
    58855385}
    58865386_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
     5387if ac_fn_c_try_link "$LINENO"; then :
    59085388  tcl_cv_lib_corefoundation_64=yes
    59095389else
    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
     5390  tcl_cv_lib_corefoundation_64=no
     5391fi
     5392rm -f core conftest.err conftest.$ac_objext \
     5393    conftest$ac_exeext conftest.$ac_ext
    59195394                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    59205395                            eval $v'="$hold_'$v'"'
    59215396                        done
    59225397fi
    5923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59245399$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59255400                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5926                         cat >>confdefs.h <<\_ACEOF
    5927 #define NO_COREFOUNDATION_64 1
    5928 _ACEOF
     5401                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59295402
    59305403                    fi
    59315404                fi
    59325405            fi
    5933             cat >>confdefs.h <<\_ACEOF
    5934 #define MAC_OSX_TCL 1
    5935 _ACEOF
     5406            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59365407
    59375408            ;;
     
    59485419        OS/390-*)
    59495420            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5950             cat >>confdefs.h <<\_ACEOF
    5951 #define _OE_SOCKETS 1
    5952 _ACEOF
     5421            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59535422        # needed in sys/socket.h
    59545423            ;;
     
    60915560            # won't define thread-safe library routines.
    60925561
    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
     5562            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5563
     5564            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61005565
    61015566
     
    61235588            # won't define thread-safe library routines.
    61245589
    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
     5590            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5591
     5592            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61325593
    61335594
     
    61405601                        if test "$GCC" = "yes" ; then
    61415602                            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
     5603                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61435604$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61445605                            else
     
    61625623                elif test "$arch" = "amd64 i386" ; then
    61635624                    if test "$GCC" = "yes" ; then
    6164                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5625                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61655626$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61665627                    else
     
    61705631                    fi
    61715632                else
    6172                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5633                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61735634$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61745635                fi
     
    62295690            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62305691            # that don't grok the -Bexport option.  Test that it does.
    6231             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5692            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62325693$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6233 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5694if ${tcl_cv_ld_Bexport+:} false; then :
    62345695  $as_echo_n "(cached) " >&6
    62355696else
     
    62375698                hold_ldflags=$LDFLAGS
    62385699                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
     5700                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62445701/* end confdefs.h.  */
    62455702
     
    62525709}
    62535710_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
     5711if ac_fn_c_try_link "$LINENO"; then :
    62755712  tcl_cv_ld_Bexport=yes
    62765713else
    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
     5714  tcl_cv_ld_Bexport=no
     5715fi
     5716rm -f core conftest.err conftest.$ac_objext \
     5717    conftest$ac_exeext conftest.$ac_ext
    62865718                LDFLAGS=$hold_ldflags
    62875719fi
    6288 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62895721$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62905722            if test $tcl_cv_ld_Bexport = yes; then
     
    62975729
    62985730    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
     5731        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    63005732$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    63015733    fi
     
    63245756
    63255757    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6326         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5758        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63275759$as_echo_n "checking sys/exec.h... " >&6; }
    6328 if test "${tcl_cv_sysexec_h+set}" = set; then
     5760if ${tcl_cv_sysexec_h+:} false; then :
    63295761  $as_echo_n "(cached) " >&6
    63305762else
    63315763
    6332         cat >conftest.$ac_ext <<_ACEOF
    6333 /* confdefs.h.  */
    6334 _ACEOF
    6335 cat confdefs.h >>conftest.$ac_ext
    6336 cat >>conftest.$ac_ext <<_ACEOF
     5764        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63375765/* end confdefs.h.  */
    63385766#include <sys/exec.h>
     
    63565784}
    63575785_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
     5786if ac_fn_c_try_compile "$LINENO"; then :
    63765787  tcl_cv_sysexec_h=usable
    63775788else
    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 
     5789  tcl_cv_sysexec_h=unusable
     5790fi
    63845791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63855792fi
    6386 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63875794$as_echo "$tcl_cv_sysexec_h" >&6; }
    63885795        if test $tcl_cv_sysexec_h = usable; then
    6389             cat >>confdefs.h <<\_ACEOF
    6390 #define USE_SYS_EXEC_H 1
    6391 _ACEOF
     5796            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63925797
    63935798        else
    6394             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5799            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63955800$as_echo_n "checking a.out.h... " >&6; }
    6396 if test "${tcl_cv_aout_h+set}" = set; then
     5801if ${tcl_cv_aout_h+:} false; then :
    63975802  $as_echo_n "(cached) " >&6
    63985803else
    63995804
    6400             cat >conftest.$ac_ext <<_ACEOF
    6401 /* confdefs.h.  */
    6402 _ACEOF
    6403 cat confdefs.h >>conftest.$ac_ext
    6404 cat >>conftest.$ac_ext <<_ACEOF
     5805            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64055806/* end confdefs.h.  */
    64065807#include <a.out.h>
     
    64245825}
    64255826_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
     5827if ac_fn_c_try_compile "$LINENO"; then :
    64445828  tcl_cv_aout_h=usable
    64455829else
    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 
     5830  tcl_cv_aout_h=unusable
     5831fi
    64525832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64535833fi
    6454 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64555835$as_echo "$tcl_cv_aout_h" >&6; }
    64565836            if test $tcl_cv_aout_h = usable; then
    6457                 cat >>confdefs.h <<\_ACEOF
    6458 #define USE_A_OUT_H 1
    6459 _ACEOF
     5837                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64605838
    64615839            else
    6462                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5840                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64635841$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6464 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5842if ${tcl_cv_sysexecaout_h+:} false; then :
    64655843  $as_echo_n "(cached) " >&6
    64665844else
    64675845
    6468                 cat >conftest.$ac_ext <<_ACEOF
    6469 /* confdefs.h.  */
    6470 _ACEOF
    6471 cat confdefs.h >>conftest.$ac_ext
    6472 cat >>conftest.$ac_ext <<_ACEOF
     5846                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64735847/* end confdefs.h.  */
    64745848#include <sys/exec_aout.h>
     
    64925866}
    64935867_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
     5868if ac_fn_c_try_compile "$LINENO"; then :
    65125869  tcl_cv_sysexecaout_h=usable
    65135870else
    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 
     5871  tcl_cv_sysexecaout_h=unusable
     5872fi
    65205873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65215874fi
    6522 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    65235876$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    65245877                if test $tcl_cv_sysexecaout_h = usable; then
    6525                     cat >>confdefs.h <<\_ACEOF
    6526 #define USE_SYS_EXEC_AOUT_H 1
    6527 _ACEOF
     5878                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    65285879
    65295880                else
     
    65375888
    65385889    # Check whether --enable-load was given.
    6539 if test "${enable_load+set}" = set; then
     5890if test "${enable_load+set}" = set; then :
    65405891  enableval=$enable_load; tcl_ok=$enableval
    65415892else
     
    66606011
    66616012
    6662 { $as_echo "$as_me:$LINENO: checking for X" >&5
     6013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    66636014$as_echo_n "checking for X... " >&6; }
    66646015
    66656016
    66666017# Check whether --with-x was given.
    6667 if test "${with_x+set}" = set; then
     6018if test "${with_x+set}" = set; then :
    66686019  withval=$with_x;
    66696020fi
     
    66756026else
    66766027  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
     6028    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     6029    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
    66816030  $as_echo_n "(cached) " >&6
    66826031else
     
    66956044_ACEOF
    66966045  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.
     6046    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    66986047    for ac_var in incroot usrlibdir libdir; do
    66996048      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    67266075ac_x_header_dirs='
    67276076/usr/X11/include
     6077/usr/X11R7/include
    67286078/usr/X11R6/include
    67296079/usr/X11R5/include
     
    67316081
    67326082/usr/include/X11
     6083/usr/include/X11R7
    67336084/usr/include/X11R6
    67346085/usr/include/X11R5
     
    67366087
    67376088/usr/local/X11/include
     6089/usr/local/X11R7/include
    67386090/usr/local/X11R6/include
    67396091/usr/local/X11R5/include
     
    67416093
    67426094/usr/local/include/X11
     6095/usr/local/include/X11R7
    67436096/usr/local/include/X11R6
    67446097/usr/local/include/X11R5
     
    67626115  # Guess where to find include files, by looking for Xlib.h.
    67636116  # 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
     6117  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67696118/* end confdefs.h.  */
    67706119#include <X11/Xlib.h>
    67716120_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
     6121if ac_fn_c_try_cpp "$LINENO"; then :
    67896122  # We can compile using X headers with no special include directory.
    67906123ac_x_includes=
    67916124else
    6792   $as_echo "$as_me: failed program was:" >&5
    6793 sed 's/^/| /' conftest.$ac_ext >&5
    6794 
    67956125  for ac_dir in $ac_x_header_dirs; do
    67966126  if test -r "$ac_dir/X11/Xlib.h"; then
     
    68006130done
    68016131fi
    6802 
    6803 rm -f conftest.err conftest.$ac_ext
     6132rm -f conftest.err conftest.i conftest.$ac_ext
    68046133fi # $ac_x_includes = no
    68056134
     
    68106139  ac_save_LIBS=$LIBS
    68116140  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
     6141  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68176142/* end confdefs.h.  */
    68186143#include <X11/Xlib.h>
     
    68256150}
    68266151_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
     6152if ac_fn_c_try_link "$LINENO"; then :
    68486153  LIBS=$ac_save_LIBS
    68496154# We can link X programs with no special library path.
    68506155ac_x_libraries=
    68516156else
    6852   $as_echo "$as_me: failed program was:" >&5
    6853 sed 's/^/| /' conftest.$ac_ext >&5
    6854 
    6855         LIBS=$ac_save_LIBS
     6157  LIBS=$ac_save_LIBS
    68566158for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    68576159do
     
    68656167done
    68666168fi
    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
     6169rm -f core conftest.err conftest.$ac_objext \
     6170    conftest$ac_exeext conftest.$ac_ext
    68716171fi # $ac_x_libraries = no
    68726172
     
    68896189
    68906190if test "$have_x" != yes; then
    6891   { $as_echo "$as_me:$LINENO: result: $have_x" >&5
     6191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
    68926192$as_echo "$have_x" >&6; }
    68936193  no_x=yes
     
    69006200        ac_x_includes='$x_includes'\
    69016201        ac_x_libraries='$x_libraries'"
    6902   { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
     6202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
    69036203$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    69046204fi
     
    69196219# ./install, which can be erroneously created by make from ./install.sh.
    69206220# Reject install programs that cannot install multiple files.
    6921 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    69226222$as_echo_n "checking for a BSD-compatible install... " >&6; }
    69236223if test -z "$INSTALL"; then
    6924 if test "${ac_cv_path_install+set}" = set; then
     6224if ${ac_cv_path_install+:} false; then :
    69256225  $as_echo_n "(cached) " >&6
    69266226else
     
    69306230  IFS=$as_save_IFS
    69316231  test -z "$as_dir" && as_dir=.
    6932   # Account for people who put trailing slashes in PATH elements.
    6933 case $as_dir/ in
    6934   ./ | .// | /cC/* | \
     6232    # Account for people who put trailing slashes in PATH elements.
     6233case $as_dir/ in #((
     6234  ./ | .// | /[cC]/* | \
    69356235  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6936   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     6236  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    69376237  /usr/ucb/* ) ;;
    69386238  *)
     
    69426242    for ac_prog in ginstall scoinst install; do
    69436243      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
     6244        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    69456245          if test $ac_prog = install &&
    69466246            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    69716271esac
    69726272
    6973 done
     6273  done
    69746274IFS=$as_save_IFS
    69756275
     
    69876287  fi
    69886288fi
    6989 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     6289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    69906290$as_echo "$INSTALL" >&6; }
    69916291
     
    70016301  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    70026302set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    7003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70046304$as_echo_n "checking for $ac_word... " >&6; }
    7005 if test "${ac_cv_prog_RANLIB+set}" = set; then
     6305if ${ac_cv_prog_RANLIB+:} false; then :
    70066306  $as_echo_n "(cached) " >&6
    70076307else
     
    70146314  IFS=$as_save_IFS
    70156315  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
     6316    for ac_exec_ext in '' $ac_executable_extensions; do
     6317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70186318    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    7019     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70206320    break 2
    70216321  fi
    70226322done
    7023 done
     6323  done
    70246324IFS=$as_save_IFS
    70256325
     
    70286328RANLIB=$ac_cv_prog_RANLIB
    70296329if test -n "$RANLIB"; then
    7030   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     6330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    70316331$as_echo "$RANLIB" >&6; }
    70326332else
    7033   { $as_echo "$as_me:$LINENO: result: no" >&5
     6333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70346334$as_echo "no" >&6; }
    70356335fi
     
    70416341  # Extract the first word of "ranlib", so it can be a program name with args.
    70426342set dummy ranlib; ac_word=$2
    7043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70446344$as_echo_n "checking for $ac_word... " >&6; }
    7045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     6345if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    70466346  $as_echo_n "(cached) " >&6
    70476347else
     
    70546354  IFS=$as_save_IFS
    70556355  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
     6356    for ac_exec_ext in '' $ac_executable_extensions; do
     6357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70586358    ac_cv_prog_ac_ct_RANLIB="ranlib"
    7059     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70606360    break 2
    70616361  fi
    70626362done
    7063 done
     6363  done
    70646364IFS=$as_save_IFS
    70656365
     
    70686368ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    70696369if test -n "$ac_ct_RANLIB"; then
    7070   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     6370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    70716371$as_echo "$ac_ct_RANLIB" >&6; }
    70726372else
    7073   { $as_echo "$as_me:$LINENO: result: no" >&5
     6373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70746374$as_echo "no" >&6; }
    70756375fi
     
    70806380    case $cross_compiling:$ac_tool_warned in
    70816381yes:)
    7082 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6382{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    70836383$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    70846384ac_tool_warned=yes ;;
     
    70906390fi
    70916391
    7092 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    70936393$as_echo_n "checking whether ln -s works... " >&6; }
    70946394LN_S=$as_ln_s
    70956395if test "$LN_S" = "ln -s"; then
    7096   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    70976397$as_echo "yes" >&6; }
    70986398else
    7099   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    71006400$as_echo "no, using $LN_S" >&6; }
    71016401fi
    71026402
    7103 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     6403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    71046404$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    71056405if test -z "$MKDIR_P"; then
    7106   if test "${ac_cv_path_mkdir+set}" = set; then
     6406  if ${ac_cv_path_mkdir+:} false; then :
    71076407  $as_echo_n "(cached) " >&6
    71086408else
     
    71126412  IFS=$as_save_IFS
    71136413  test -z "$as_dir" && as_dir=.
    7114   for ac_prog in mkdir gmkdir; do
     6414    for ac_prog in mkdir gmkdir; do
    71156415         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
     6416           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    71176417           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    71186418             'mkdir (GNU coreutils) '* | \
     
    71246424         done
    71256425       done
    7126 done
     6426  done
    71276427IFS=$as_save_IFS
    71286428
    71296429fi
    71306430
     6431  test -d ./--version && rmdir ./--version
    71316432  if test "${ac_cv_path_mkdir+set}" = set; then
    71326433    MKDIR_P="$ac_cv_path_mkdir -p"
     
    71366437    # break other packages using the cache if that directory is
    71376438    # removed, or if the value is a relative name.
    7138     test -d ./--version && rmdir ./--version
    71396439    MKDIR_P="$ac_install_sh -d"
    71406440  fi
    71416441fi
    7142 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     6442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    71436443$as_echo "$MKDIR_P" >&6; }
    71446444
     
    71526452  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    71536453set dummy ${ac_tool_prefix}gcc; ac_word=$2
    7154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71556455$as_echo_n "checking for $ac_word... " >&6; }
    7156 if test "${ac_cv_prog_CC+set}" = set; then
     6456if ${ac_cv_prog_CC+:} false; then :
    71576457  $as_echo_n "(cached) " >&6
    71586458else
     
    71656465  IFS=$as_save_IFS
    71666466  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
     6467    for ac_exec_ext in '' $ac_executable_extensions; do
     6468  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71696469    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    7170     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6470    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    71716471    break 2
    71726472  fi
    71736473done
    7174 done
     6474  done
    71756475IFS=$as_save_IFS
    71766476
     
    71796479CC=$ac_cv_prog_CC
    71806480if test -n "$CC"; then
    7181   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    71826482$as_echo "$CC" >&6; }
    71836483else
    7184   { $as_echo "$as_me:$LINENO: result: no" >&5
     6484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    71856485$as_echo "no" >&6; }
    71866486fi
     
    71926492  # Extract the first word of "gcc", so it can be a program name with args.
    71936493set dummy gcc; ac_word=$2
    7194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71956495$as_echo_n "checking for $ac_word... " >&6; }
    7196 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6496if ${ac_cv_prog_ac_ct_CC+:} false; then :
    71976497  $as_echo_n "(cached) " >&6
    71986498else
     
    72056505  IFS=$as_save_IFS
    72066506  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
     6507    for ac_exec_ext in '' $ac_executable_extensions; do
     6508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72096509    ac_cv_prog_ac_ct_CC="gcc"
    7210     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72116511    break 2
    72126512  fi
    72136513done
    7214 done
     6514  done
    72156515IFS=$as_save_IFS
    72166516
     
    72196519ac_ct_CC=$ac_cv_prog_ac_ct_CC
    72206520if test -n "$ac_ct_CC"; then
    7221   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    72226522$as_echo "$ac_ct_CC" >&6; }
    72236523else
    7224   { $as_echo "$as_me:$LINENO: result: no" >&5
     6524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72256525$as_echo "no" >&6; }
    72266526fi
     
    72316531    case $cross_compiling:$ac_tool_warned in
    72326532yes:)
    7233 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    72346534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    72356535ac_tool_warned=yes ;;
     
    72456545    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    72466546set dummy ${ac_tool_prefix}cc; ac_word=$2
    7247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72486548$as_echo_n "checking for $ac_word... " >&6; }
    7249 if test "${ac_cv_prog_CC+set}" = set; then
     6549if ${ac_cv_prog_CC+:} false; then :
    72506550  $as_echo_n "(cached) " >&6
    72516551else
     
    72586558  IFS=$as_save_IFS
    72596559  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
     6560    for ac_exec_ext in '' $ac_executable_extensions; do
     6561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72626562    ac_cv_prog_CC="${ac_tool_prefix}cc"
    7263     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72646564    break 2
    72656565  fi
    72666566done
    7267 done
     6567  done
    72686568IFS=$as_save_IFS
    72696569
     
    72726572CC=$ac_cv_prog_CC
    72736573if test -n "$CC"; then
    7274   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    72756575$as_echo "$CC" >&6; }
    72766576else
    7277   { $as_echo "$as_me:$LINENO: result: no" >&5
     6577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72786578$as_echo "no" >&6; }
    72796579fi
     
    72856585  # Extract the first word of "cc", so it can be a program name with args.
    72866586set dummy cc; ac_word=$2
    7287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72886588$as_echo_n "checking for $ac_word... " >&6; }
    7289 if test "${ac_cv_prog_CC+set}" = set; then
     6589if ${ac_cv_prog_CC+:} false; then :
    72906590  $as_echo_n "(cached) " >&6
    72916591else
     
    72996599  IFS=$as_save_IFS
    73006600  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
     6601    for ac_exec_ext in '' $ac_executable_extensions; do
     6602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73036603    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    73046604       ac_prog_rejected=yes
     
    73066606     fi
    73076607    ac_cv_prog_CC="cc"
    7308     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73096609    break 2
    73106610  fi
    73116611done
    7312 done
     6612  done
    73136613IFS=$as_save_IFS
    73146614
     
    73296629CC=$ac_cv_prog_CC
    73306630if test -n "$CC"; then
    7331   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73326632$as_echo "$CC" >&6; }
    73336633else
    7334   { $as_echo "$as_me:$LINENO: result: no" >&5
     6634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73356635$as_echo "no" >&6; }
    73366636fi
     
    73446644    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    73456645set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73476647$as_echo_n "checking for $ac_word... " >&6; }
    7348 if test "${ac_cv_prog_CC+set}" = set; then
     6648if ${ac_cv_prog_CC+:} false; then :
    73496649  $as_echo_n "(cached) " >&6
    73506650else
     
    73576657  IFS=$as_save_IFS
    73586658  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
     6659    for ac_exec_ext in '' $ac_executable_extensions; do
     6660  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73616661    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    7362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6662    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73636663    break 2
    73646664  fi
    73656665done
    7366 done
     6666  done
    73676667IFS=$as_save_IFS
    73686668
     
    73716671CC=$ac_cv_prog_CC
    73726672if test -n "$CC"; then
    7373   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73746674$as_echo "$CC" >&6; }
    73756675else
    7376   { $as_echo "$as_me:$LINENO: result: no" >&5
     6676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73776677$as_echo "no" >&6; }
    73786678fi
     
    73886688  # Extract the first word of "$ac_prog", so it can be a program name with args.
    73896689set dummy $ac_prog; ac_word=$2
    7390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73916691$as_echo_n "checking for $ac_word... " >&6; }
    7392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6692if ${ac_cv_prog_ac_ct_CC+:} false; then :
    73936693  $as_echo_n "(cached) " >&6
    73946694else
     
    74016701  IFS=$as_save_IFS
    74026702  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
     6703    for ac_exec_ext in '' $ac_executable_extensions; do
     6704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    74056705    ac_cv_prog_ac_ct_CC="$ac_prog"
    7406     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    74076707    break 2
    74086708  fi
    74096709done
    7410 done
     6710  done
    74116711IFS=$as_save_IFS
    74126712
     
    74156715ac_ct_CC=$ac_cv_prog_ac_ct_CC
    74166716if test -n "$ac_ct_CC"; then
    7417   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    74186718$as_echo "$ac_ct_CC" >&6; }
    74196719else
    7420   { $as_echo "$as_me:$LINENO: result: no" >&5
     6720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    74216721$as_echo "no" >&6; }
    74226722fi
     
    74316731    case $cross_compiling:$ac_tool_warned in
    74326732yes:)
    7433 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6733{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    74346734$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    74356735ac_tool_warned=yes ;;
     
    74426742
    74436743
    7444 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6744test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    74456745$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; }; }; }
     6746as_fn_error $? "no acceptable C compiler found in \$PATH
     6747See \`config.log' for more details" "$LINENO" 5; }
    74516748
    74526749# Provide some information about the compiler.
    7453 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     6750$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    74546751set X $ac_compile
    74556752ac_compiler=$2
    7456 { (ac_try="$ac_compiler --version >&5"
     6753for ac_option in --version -v -V -qversion; do
     6754  { { ac_try="$ac_compiler $ac_option >&5"
    74576755case "(($ac_try" in
    74586756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    74596757  *) ac_try_echo=$ac_try;;
    74606758esac
    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
     6759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6760$as_echo "$ac_try_echo"; } >&5
     6761  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    74646762  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
     6763  if test -s conftest.err; then
     6764    sed '10a\
     6765... rest of stderr output deleted ...
     6766         10q' conftest.err >conftest.er1
     6767    cat conftest.er1 >&5
     6768  fi
     6769  rm -f conftest.er1 conftest.err
     6770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6771  test $ac_status = 0; }
     6772done
     6773
     6774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    74916775$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    7492 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     6776if ${ac_cv_c_compiler_gnu+:} false; then :
    74936777  $as_echo_n "(cached) " >&6
    74946778else
    7495   cat >conftest.$ac_ext <<_ACEOF
    7496 /* confdefs.h.  */
    7497 _ACEOF
    7498 cat confdefs.h >>conftest.$ac_ext
    7499 cat >>conftest.$ac_ext <<_ACEOF
     6779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75006780/* end confdefs.h.  */
    75016781
     
    75116791}
    75126792_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
     6793if ac_fn_c_try_compile "$LINENO"; then :
    75316794  ac_compiler_gnu=yes
    75326795else
    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 
     6796  ac_compiler_gnu=no
     6797fi
    75396798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75406799ac_cv_c_compiler_gnu=$ac_compiler_gnu
    75416800
    75426801fi
    7543 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    75446803$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    75456804if test $ac_compiler_gnu = yes; then
     
    75506809ac_test_CFLAGS=${CFLAGS+set}
    75516810ac_save_CFLAGS=$CFLAGS
    7552 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    75536812$as_echo_n "checking whether $CC accepts -g... " >&6; }
    7554 if test "${ac_cv_prog_cc_g+set}" = set; then
     6813if ${ac_cv_prog_cc_g+:} false; then :
    75556814  $as_echo_n "(cached) " >&6
    75566815else
     
    75596818   ac_cv_prog_cc_g=no
    75606819   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
     6820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75666821/* end confdefs.h.  */
    75676822
     
    75746829}
    75756830_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
     6831if ac_fn_c_try_compile "$LINENO"; then :
    75946832  ac_cv_prog_cc_g=yes
    75956833else
    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
     6834  CFLAGS=""
     6835      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76056836/* end confdefs.h.  */
    76066837
     
    76136844}
    76146845_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
     6846if ac_fn_c_try_compile "$LINENO"; then :
     6847
     6848else
     6849  ac_c_werror_flag=$ac_save_c_werror_flag
    76396850         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
     6851         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76456852/* end confdefs.h.  */
    76466853
     
    76536860}
    76546861_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
     6862if ac_fn_c_try_compile "$LINENO"; then :
    76736863  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 
     6864fi
    76816865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76826866fi
    7683 
    76846867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76856868fi
    7686 
    76876869rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76886870   ac_c_werror_flag=$ac_save_c_werror_flag
    76896871fi
    7690 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    76916873$as_echo "$ac_cv_prog_cc_g" >&6; }
    76926874if test "$ac_test_CFLAGS" = set; then
     
    77056887  fi
    77066888fi
    7707 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    77086890$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    7709 if test "${ac_cv_prog_cc_c89+set}" = set; then
     6891if ${ac_cv_prog_cc_c89+:} false; then :
    77106892  $as_echo_n "(cached) " >&6
    77116893else
    77126894  ac_cv_prog_cc_c89=no
    77136895ac_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
     6896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    77196897/* end confdefs.h.  */
    77206898#include <stdarg.h>
    77216899#include <stdio.h>
    7722 #include <sys/types.h>
    7723 #include <sys/stat.h>
     6900struct stat;
    77246901/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    77256902struct buf { int x; };
     
    77736950do
    77746951  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
     6952  if ac_fn_c_try_compile "$LINENO"; then :
    77936953  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 
     6954fi
    78016955rm -f core conftest.err conftest.$ac_objext
    78026956  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    78096963case "x$ac_cv_prog_cc_c89" in
    78106964  x)
    7811     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     6965    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    78126966$as_echo "none needed" >&6; } ;;
    78136967  xno)
    7814     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     6968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    78156969$as_echo "unsupported" >&6; } ;;
    78166970  *)
    78176971    CC="$CC $ac_cv_prog_cc_c89"
    7818     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6972    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    78196973$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    78206974esac
    7821 
     6975if test "x$ac_cv_prog_cc_c89" != xno; then :
     6976
     6977fi
    78226978
    78236979ac_ext=c
     
    78326988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    78336989ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7834 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     6990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    78356991$as_echo_n "checking how to run the C preprocessor... " >&6; }
    78366992# On Suns, sometimes $CPP names a directory.
     
    78396995fi
    78406996if test -z "$CPP"; then
    7841   if test "${ac_cv_prog_CPP+set}" = set; then
     6997  if ${ac_cv_prog_CPP+:} false; then :
    78426998  $as_echo_n "(cached) " >&6
    78436999else
     
    78547010  # On the NeXT, cc -E runs the code through the compiler's parser,
    78557011  # 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
     7012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78617013/* end confdefs.h.  */
    78627014#ifdef __STDC__
     
    78677019                     Syntax error
    78687020_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 
     7021if ac_fn_c_try_cpp "$LINENO"; then :
     7022
     7023else
    78917024  # Broken: fails on valid input.
    78927025continue
    78937026fi
    7894 
    7895 rm -f conftest.err conftest.$ac_ext
     7027rm -f conftest.err conftest.i conftest.$ac_ext
    78967028
    78977029  # OK, works on sane cases.  Now check whether nonexistent headers
    78987030  # 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
     7031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79047032/* end confdefs.h.  */
    79057033#include <ac_nonexistent.h>
    79067034_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
     7035if ac_fn_c_try_cpp "$LINENO"; then :
    79247036  # Broken: success on invalid input.
    79257037continue
    79267038else
    7927   $as_echo "$as_me: failed program was:" >&5
    7928 sed 's/^/| /' conftest.$ac_ext >&5
    7929 
    79307039  # Passes both tests.
    79317040ac_preproc_ok=:
    79327041break
    79337042fi
    7934 
    7935 rm -f conftest.err conftest.$ac_ext
     7043rm -f conftest.err conftest.i conftest.$ac_ext
    79367044
    79377045done
    79387046# 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
     7047rm -f conftest.i conftest.err conftest.$ac_ext
     7048if $ac_preproc_ok; then :
    79417049  break
    79427050fi
     
    79507058  ac_cv_prog_CPP=$CPP
    79517059fi
    7952 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     7060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    79537061$as_echo "$CPP" >&6; }
    79547062ac_preproc_ok=false
     
    79617069  # On the NeXT, cc -E runs the code through the compiler's parser,
    79627070  # 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
     7071  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79687072/* end confdefs.h.  */
    79697073#ifdef __STDC__
     
    79747078                     Syntax error
    79757079_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 
     7080if ac_fn_c_try_cpp "$LINENO"; then :
     7081
     7082else
    79987083  # Broken: fails on valid input.
    79997084continue
    80007085fi
    8001 
    8002 rm -f conftest.err conftest.$ac_ext
     7086rm -f conftest.err conftest.i conftest.$ac_ext
    80037087
    80047088  # OK, works on sane cases.  Now check whether nonexistent headers
    80057089  # 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
     7090  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80117091/* end confdefs.h.  */
    80127092#include <ac_nonexistent.h>
    80137093_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
     7094if ac_fn_c_try_cpp "$LINENO"; then :
    80317095  # Broken: success on invalid input.
    80327096continue
    80337097else
    8034   $as_echo "$as_me: failed program was:" >&5
    8035 sed 's/^/| /' conftest.$ac_ext >&5
    8036 
    80377098  # Passes both tests.
    80387099ac_preproc_ok=:
    80397100break
    80407101fi
    8041 
    8042 rm -f conftest.err conftest.$ac_ext
     7102rm -f conftest.err conftest.i conftest.$ac_ext
    80437103
    80447104done
    80457105# 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
     7106rm -f conftest.i conftest.err conftest.$ac_ext
     7107if $ac_preproc_ok; then :
     7108
     7109else
     7110  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    80517111$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; }; }; }
     7112as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7113See \`config.log' for more details" "$LINENO" 5; }
    80577114fi
    80587115
     
    80777134    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    80787135set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    80807137$as_echo_n "checking for $ac_word... " >&6; }
    8081 if test "${ac_cv_prog_CXX+set}" = set; then
     7138if ${ac_cv_prog_CXX+:} false; then :
    80827139  $as_echo_n "(cached) " >&6
    80837140else
     
    80907147  IFS=$as_save_IFS
    80917148  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
     7149    for ac_exec_ext in '' $ac_executable_extensions; do
     7150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    80947151    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    80967153    break 2
    80977154  fi
    80987155done
    8099 done
     7156  done
    81007157IFS=$as_save_IFS
    81017158
     
    81047161CXX=$ac_cv_prog_CXX
    81057162if test -n "$CXX"; then
    8106   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    81077164$as_echo "$CXX" >&6; }
    81087165else
    8109   { $as_echo "$as_me:$LINENO: result: no" >&5
     7166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81107167$as_echo "no" >&6; }
    81117168fi
     
    81217178  # Extract the first word of "$ac_prog", so it can be a program name with args.
    81227179set dummy $ac_prog; ac_word=$2
    8123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    81247181$as_echo_n "checking for $ac_word... " >&6; }
    8125 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7182if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    81267183  $as_echo_n "(cached) " >&6
    81277184else
     
    81347191  IFS=$as_save_IFS
    81357192  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
     7193    for ac_exec_ext in '' $ac_executable_extensions; do
     7194  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    81387195    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7196    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    81407197    break 2
    81417198  fi
    81427199done
    8143 done
     7200  done
    81447201IFS=$as_save_IFS
    81457202
     
    81487205ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    81497206if test -n "$ac_ct_CXX"; then
    8150   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    81517208$as_echo "$ac_ct_CXX" >&6; }
    81527209else
    8153   { $as_echo "$as_me:$LINENO: result: no" >&5
     7210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81547211$as_echo "no" >&6; }
    81557212fi
     
    81647221    case $cross_compiling:$ac_tool_warned in
    81657222yes:)
    8166 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    81677224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    81687225ac_tool_warned=yes ;;
     
    81757232fi
    81767233# Provide some information about the compiler.
    8177 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7234$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    81787235set X $ac_compile
    81797236ac_compiler=$2
    8180 { (ac_try="$ac_compiler --version >&5"
     7237for ac_option in --version -v -V -qversion; do
     7238  { { ac_try="$ac_compiler $ac_option >&5"
    81817239case "(($ac_try" in
    81827240  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    81837241  *) ac_try_echo=$ac_try;;
    81847242esac
    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
     7243eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7244$as_echo "$ac_try_echo"; } >&5
     7245  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    81887246  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
     7247  if test -s conftest.err; then
     7248    sed '10a\
     7249... rest of stderr output deleted ...
     7250         10q' conftest.err >conftest.er1
     7251    cat conftest.er1 >&5
     7252  fi
     7253  rm -f conftest.er1 conftest.err
     7254  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7255  test $ac_status = 0; }
     7256done
     7257
     7258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    82157259$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8216 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7260if ${ac_cv_cxx_compiler_gnu+:} false; then :
    82177261  $as_echo_n "(cached) " >&6
    82187262else
    8219   cat >conftest.$ac_ext <<_ACEOF
    8220 /* confdefs.h.  */
    8221 _ACEOF
    8222 cat confdefs.h >>conftest.$ac_ext
    8223 cat >>conftest.$ac_ext <<_ACEOF
     7263  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82247264/* end confdefs.h.  */
    82257265
     
    82357275}
    82367276_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
     7277if ac_fn_cxx_try_compile "$LINENO"; then :
    82557278  ac_compiler_gnu=yes
    82567279else
    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 
     7280  ac_compiler_gnu=no
     7281fi
    82637282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    82647283ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    82657284
    82667285fi
    8267 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    82687287$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    82697288if test $ac_compiler_gnu = yes; then
     
    82747293ac_test_CXXFLAGS=${CXXFLAGS+set}
    82757294ac_save_CXXFLAGS=$CXXFLAGS
    8276 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    82777296$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8278 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7297if ${ac_cv_prog_cxx_g+:} false; then :
    82797298  $as_echo_n "(cached) " >&6
    82807299else
     
    82837302   ac_cv_prog_cxx_g=no
    82847303   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
     7304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82907305/* end confdefs.h.  */
    82917306
     
    82987313}
    82997314_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
     7315if ac_fn_cxx_try_compile "$LINENO"; then :
    83187316  ac_cv_prog_cxx_g=yes
    83197317else
    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
     7318  CXXFLAGS=""
     7319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83297320/* end confdefs.h.  */
    83307321
     
    83377328}
    83387329_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
     7330if ac_fn_cxx_try_compile "$LINENO"; then :
     7331
     7332else
     7333  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83637334         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
     7335         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83697336/* end confdefs.h.  */
    83707337
     
    83777344}
    83787345_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
     7346if ac_fn_cxx_try_compile "$LINENO"; then :
    83977347  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 
     7348fi
    84057349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84067350fi
    8407 
    84087351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84097352fi
    8410 
    84117353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84127354   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    84137355fi
    8414 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    84157357$as_echo "$ac_cv_prog_cxx_g" >&6; }
    84167358if test "$ac_test_CXXFLAGS" = set; then
     
    84407382ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    84417383ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    8442 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     7384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    84437385$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    84447386if test -z "$CXXCPP"; then
    8445   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     7387  if ${ac_cv_prog_CXXCPP+:} false; then :
    84467388  $as_echo_n "(cached) " >&6
    84477389else
     
    84587400  # On the NeXT, cc -E runs the code through the compiler's parser,
    84597401  # 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
     7402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84657403/* end confdefs.h.  */
    84667404#ifdef __STDC__
     
    84717409                     Syntax error
    84727410_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 
     7411if ac_fn_cxx_try_cpp "$LINENO"; then :
     7412
     7413else
    84957414  # Broken: fails on valid input.
    84967415continue
    84977416fi
    8498 
    8499 rm -f conftest.err conftest.$ac_ext
     7417rm -f conftest.err conftest.i conftest.$ac_ext
    85007418
    85017419  # OK, works on sane cases.  Now check whether nonexistent headers
    85027420  # 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
     7421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85087422/* end confdefs.h.  */
    85097423#include <ac_nonexistent.h>
    85107424_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
     7425if ac_fn_cxx_try_cpp "$LINENO"; then :
    85287426  # Broken: success on invalid input.
    85297427continue
    85307428else
    8531   $as_echo "$as_me: failed program was:" >&5
    8532 sed 's/^/| /' conftest.$ac_ext >&5
    8533 
    85347429  # Passes both tests.
    85357430ac_preproc_ok=:
    85367431break
    85377432fi
    8538 
    8539 rm -f conftest.err conftest.$ac_ext
     7433rm -f conftest.err conftest.i conftest.$ac_ext
    85407434
    85417435done
    85427436# 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
     7437rm -f conftest.i conftest.err conftest.$ac_ext
     7438if $ac_preproc_ok; then :
    85457439  break
    85467440fi
     
    85547448  ac_cv_prog_CXXCPP=$CXXCPP
    85557449fi
    8556 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     7450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    85577451$as_echo "$CXXCPP" >&6; }
    85587452ac_preproc_ok=false
     
    85657459  # On the NeXT, cc -E runs the code through the compiler's parser,
    85667460  # 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
     7461  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85727462/* end confdefs.h.  */
    85737463#ifdef __STDC__
     
    85787468                     Syntax error
    85797469_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 
     7470if ac_fn_cxx_try_cpp "$LINENO"; then :
     7471
     7472else
    86027473  # Broken: fails on valid input.
    86037474continue
    86047475fi
    8605 
    8606 rm -f conftest.err conftest.$ac_ext
     7476rm -f conftest.err conftest.i conftest.$ac_ext
    86077477
    86087478  # OK, works on sane cases.  Now check whether nonexistent headers
    86097479  # 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
     7480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86157481/* end confdefs.h.  */
    86167482#include <ac_nonexistent.h>
    86177483_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
     7484if ac_fn_cxx_try_cpp "$LINENO"; then :
    86357485  # Broken: success on invalid input.
    86367486continue
    86377487else
    8638   $as_echo "$as_me: failed program was:" >&5
    8639 sed 's/^/| /' conftest.$ac_ext >&5
    8640 
    86417488  # Passes both tests.
    86427489ac_preproc_ok=:
    86437490break
    86447491fi
    8645 
    8646 rm -f conftest.err conftest.$ac_ext
     7492rm -f conftest.err conftest.i conftest.$ac_ext
    86477493
    86487494done
    86497495# 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
     7496rm -f conftest.i conftest.err conftest.$ac_ext
     7497if $ac_preproc_ok; then :
     7498
     7499else
     7500  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    86557501$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; }; }; }
     7502as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     7503See \`config.log' for more details" "$LINENO" 5; }
    86617504fi
    86627505
     
    86817524    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    86827525set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    86847527$as_echo_n "checking for $ac_word... " >&6; }
    8685 if test "${ac_cv_prog_CXX+set}" = set; then
     7528if ${ac_cv_prog_CXX+:} false; then :
    86867529  $as_echo_n "(cached) " >&6
    86877530else
     
    86947537  IFS=$as_save_IFS
    86957538  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
     7539    for ac_exec_ext in '' $ac_executable_extensions; do
     7540  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    86987541    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8699     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7542    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    87007543    break 2
    87017544  fi
    87027545done
    8703 done
     7546  done
    87047547IFS=$as_save_IFS
    87057548
     
    87087551CXX=$ac_cv_prog_CXX
    87097552if test -n "$CXX"; then
    8710   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    87117554$as_echo "$CXX" >&6; }
    87127555else
    8713   { $as_echo "$as_me:$LINENO: result: no" >&5
     7556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87147557$as_echo "no" >&6; }
    87157558fi
     
    87257568  # Extract the first word of "$ac_prog", so it can be a program name with args.
    87267569set dummy $ac_prog; ac_word=$2
    8727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    87287571$as_echo_n "checking for $ac_word... " >&6; }
    8729 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7572if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    87307573  $as_echo_n "(cached) " >&6
    87317574else
     
    87387581  IFS=$as_save_IFS
    87397582  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
     7583    for ac_exec_ext in '' $ac_executable_extensions; do
     7584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    87427585    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    87447587    break 2
    87457588  fi
    87467589done
    8747 done
     7590  done
    87487591IFS=$as_save_IFS
    87497592
     
    87527595ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    87537596if test -n "$ac_ct_CXX"; then
    8754   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    87557598$as_echo "$ac_ct_CXX" >&6; }
    87567599else
    8757   { $as_echo "$as_me:$LINENO: result: no" >&5
     7600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87587601$as_echo "no" >&6; }
    87597602fi
     
    87687611    case $cross_compiling:$ac_tool_warned in
    87697612yes:)
    8770 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7613{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    87717614$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    87727615ac_tool_warned=yes ;;
     
    87797622fi
    87807623# Provide some information about the compiler.
    8781 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7624$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    87827625set X $ac_compile
    87837626ac_compiler=$2
    8784 { (ac_try="$ac_compiler --version >&5"
     7627for ac_option in --version -v -V -qversion; do
     7628  { { ac_try="$ac_compiler $ac_option >&5"
    87857629case "(($ac_try" in
    87867630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    87877631  *) ac_try_echo=$ac_try;;
    87887632esac
    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
     7633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7634$as_echo "$ac_try_echo"; } >&5
     7635  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    87927636  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
     7637  if test -s conftest.err; then
     7638    sed '10a\
     7639... rest of stderr output deleted ...
     7640         10q' conftest.err >conftest.er1
     7641    cat conftest.er1 >&5
     7642  fi
     7643  rm -f conftest.er1 conftest.err
     7644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7645  test $ac_status = 0; }
     7646done
     7647
     7648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    88197649$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8820 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7650if ${ac_cv_cxx_compiler_gnu+:} false; then :
    88217651  $as_echo_n "(cached) " >&6
    88227652else
    8823   cat >conftest.$ac_ext <<_ACEOF
    8824 /* confdefs.h.  */
    8825 _ACEOF
    8826 cat confdefs.h >>conftest.$ac_ext
    8827 cat >>conftest.$ac_ext <<_ACEOF
     7653  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88287654/* end confdefs.h.  */
    88297655
     
    88397665}
    88407666_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
     7667if ac_fn_cxx_try_compile "$LINENO"; then :
    88597668  ac_compiler_gnu=yes
    88607669else
    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 
     7670  ac_compiler_gnu=no
     7671fi
    88677672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    88687673ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    88697674
    88707675fi
    8871 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    88727677$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    88737678if test $ac_compiler_gnu = yes; then
     
    88787683ac_test_CXXFLAGS=${CXXFLAGS+set}
    88797684ac_save_CXXFLAGS=$CXXFLAGS
    8880 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    88817686$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8882 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7687if ${ac_cv_prog_cxx_g+:} false; then :
    88837688  $as_echo_n "(cached) " >&6
    88847689else
     
    88877692   ac_cv_prog_cxx_g=no
    88887693   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
     7694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88947695/* end confdefs.h.  */
    88957696
     
    89027703}
    89037704_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
     7705if ac_fn_cxx_try_compile "$LINENO"; then :
    89227706  ac_cv_prog_cxx_g=yes
    89237707else
    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
     7708  CXXFLAGS=""
     7709      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89337710/* end confdefs.h.  */
    89347711
     
    89417718}
    89427719_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
     7720if ac_fn_cxx_try_compile "$LINENO"; then :
     7721
     7722else
     7723  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    89677724         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
     7725         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89737726/* end confdefs.h.  */
    89747727
     
    89817734}
    89827735_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
     7736if ac_fn_cxx_try_compile "$LINENO"; then :
    90017737  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 
     7738fi
    90097739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90107740fi
    9011 
    90127741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90137742fi
    9014 
    90157743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90167744   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    90177745fi
    9018 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    90197747$as_echo "$ac_cv_prog_cxx_g" >&6; }
    90207748if test "$ac_test_CXXFLAGS" = set; then
     
    90477775
    90487776
    9049 
    9050  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    90517778$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    9052 if test "${ac_cv_c_bigendian+set}" = set; then
     7779if ${ac_cv_c_bigendian+:} false; then :
    90537780  $as_echo_n "(cached) " >&6
    90547781else
    90557782  ac_cv_c_bigendian=unknown
    90567783    # 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
     7784    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    90627785/* end confdefs.h.  */
    90637786#ifndef __APPLE_CC__
     
    90677790
    90687791_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
     7792if ac_fn_cxx_try_compile "$LINENO"; then :
    90877793
    90887794        # 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 
     7795        # there are at least two -arch flags with different values.
     7796        ac_arch=
     7797        ac_prev=
     7798        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     7799         if test -n "$ac_prev"; then
     7800           case $ac_word in
     7801             i?86 | x86_64 | ppc | ppc64)
     7802               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     7803                 ac_arch=$ac_word
     7804               else
     7805                 ac_cv_c_bigendian=universal
     7806                 break
     7807               fi
     7808               ;;
     7809           esac
     7810           ac_prev=
     7811         elif test "x$ac_word" = "x-arch"; then
     7812           ac_prev=arch
     7813         fi
     7814       done
     7815fi
    91017816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    91027817    if test $ac_cv_c_bigendian = unknown; then
    91037818      # 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
     7819      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91097820/* end confdefs.h.  */
    91107821#include <sys/types.h>
     
    91247835}
    91257836_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
     7837if ac_fn_cxx_try_compile "$LINENO"; then :
    91447838  # 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
     7839         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91507840/* end confdefs.h.  */
    91517841#include <sys/types.h>
     
    91637853}
    91647854_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
     7855if ac_fn_cxx_try_compile "$LINENO"; then :
    91837856  ac_cv_c_bigendian=yes
    91847857else
    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 
     7858  ac_cv_c_bigendian=no
     7859fi
    91917860rm -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 
     7861fi
    91997862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    92007863    fi
    92017864    if test $ac_cv_c_bigendian = unknown; then
    92027865      # 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
     7866      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92087867/* end confdefs.h.  */
    92097868#include <limits.h>
     
    92207879}
    92217880_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
     7881if ac_fn_cxx_try_compile "$LINENO"; then :
    92407882  # 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
     7883         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92467884/* end confdefs.h.  */
    92477885#include <limits.h>
     
    92587896}
    92597897_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
     7898if ac_fn_cxx_try_compile "$LINENO"; then :
    92787899  ac_cv_c_bigendian=yes
    92797900else
    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 
     7901  ac_cv_c_bigendian=no
     7902fi
    92867903rm -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 
     7904fi
    92947905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    92957906    fi
    92967907    if test $ac_cv_c_bigendian = unknown; then
    92977908      # Compile a test program.
    9298       if test "$cross_compiling" = yes; then
     7909      if test "$cross_compiling" = yes; then :
    92997910  # 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
     7911         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93057912/* end confdefs.h.  */
    93067913short int ascii_mm[] =
     
    93287935}
    93297936_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
     7937if ac_fn_cxx_try_compile "$LINENO"; then :
    93487938  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    93497939              ac_cv_c_bigendian=yes
     
    93577947              fi
    93587948            fi
    9359 else
    9360   $as_echo "$as_me: failed program was:" >&5
    9361 sed 's/^/| /' conftest.$ac_ext >&5
    9362 
    9363 
    9364 fi
    9365 
     7949fi
    93667950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    93677951else
    9368   cat >conftest.$ac_ext <<_ACEOF
    9369 /* confdefs.h.  */
    9370 _ACEOF
    9371 cat confdefs.h >>conftest.$ac_ext
    9372 cat >>conftest.$ac_ext <<_ACEOF
     7952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93737953/* end confdefs.h.  */
    93747954$ac_includes_default
     
    93907970}
    93917971_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
     7972if ac_fn_cxx_try_run "$LINENO"; then :
    94147973  ac_cv_c_bigendian=no
    94157974else
    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 
     7975  ac_cv_c_bigendian=yes
     7976fi
     7977rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7978  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7979fi
    94277980
    94287981    fi
    94297982fi
    9430 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    94317984$as_echo "$ac_cv_c_bigendian" >&6; }
    94327985 case $ac_cv_c_bigendian in #(
    94337986   yes)
    9434      cat >>confdefs.h <<\_ACEOF
    9435 #define WORDS_BIGENDIAN 1
    9436 _ACEOF
     7987     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    94377988;; #(
    94387989   no)
     
    94407991   universal)
    94417992
    9442 cat >>confdefs.h <<\_ACEOF
    9443 #define AC_APPLE_UNIVERSAL_BUILD 1
    9444 _ACEOF
     7993$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    94457994
    94467995     ;; #(
    94477996   *)
    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; }; } ;;
     7997     as_fn_error $? "unknown endianness
     7998 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    94537999 esac
    94548000
     
    94578003# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    94588004# This bug is HP SR number 8606223364.
    9459 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     8005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    94608006$as_echo_n "checking size of int... " >&6; }
    9461 if test "${ac_cv_sizeof_int+set}" = set; then
     8007if ${ac_cv_sizeof_int+:} false; then :
    94628008  $as_echo_n "(cached) " >&6
    94638009else
    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
     8010  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     8011
     8012else
     8013  if test "$ac_cv_type_int" = yes; then
     8014     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    97078015$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; }; }; }
     8016as_fn_error 77 "cannot compute sizeof (int)
     8017See \`config.log' for more details" "$LINENO" 5; }
    97958018   else
    97968019     ac_cv_sizeof_int=0
    97978020   fi
    97988021fi
    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
     8022
     8023fi
     8024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    98058025$as_echo "$ac_cv_sizeof_int" >&6; }
    98068026
     
    98168036# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    98178037# This bug is HP SR number 8606223364.
    9818 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     8038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    98198039$as_echo_n "checking size of long... " >&6; }
    9820 if test "${ac_cv_sizeof_long+set}" = set; then
     8040if ${ac_cv_sizeof_long+:} false; then :
    98218041  $as_echo_n "(cached) " >&6
    98228042else
    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
     8043  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     8044
     8045else
     8046  if test "$ac_cv_type_long" = yes; then
     8047     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    100668048$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; }; }; }
     8049as_fn_error 77 "cannot compute sizeof (long)
     8050See \`config.log' for more details" "$LINENO" 5; }
    101548051   else
    101558052     ac_cv_sizeof_long=0
    101568053   fi
    101578054fi
    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
     8055
     8056fi
     8057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    101648058$as_echo "$ac_cv_sizeof_long" >&6; }
    101658059
     
    101758069# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    101768070# This bug is HP SR number 8606223364.
    10177 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     8071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    101788072$as_echo_n "checking size of long long... " >&6; }
    10179 if test "${ac_cv_sizeof_long_long+set}" = set; then
     8073if ${ac_cv_sizeof_long_long+:} false; then :
    101808074  $as_echo_n "(cached) " >&6
    101818075else
    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
     8076  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     8077
     8078else
     8079  if test "$ac_cv_type_long_long" = yes; then
     8080     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    104258081$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; }; }; }
     8082as_fn_error 77 "cannot compute sizeof (long long)
     8083See \`config.log' for more details" "$LINENO" 5; }
    105138084   else
    105148085     ac_cv_sizeof_long_long=0
    105158086   fi
    105168087fi
    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
     8088
     8089fi
     8090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    105238091$as_echo "$ac_cv_sizeof_long_long" >&6; }
    105248092
     
    105348102# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    105358103# This bug is HP SR number 8606223364.
    10536 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     8104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    105378105$as_echo_n "checking size of void *... " >&6; }
    10538 if test "${ac_cv_sizeof_void_p+set}" = set; then
     8106if ${ac_cv_sizeof_void_p+:} false; then :
    105398107  $as_echo_n "(cached) " >&6
    105408108else
    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
     8109  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     8110
     8111else
     8112  if test "$ac_cv_type_void_p" = yes; then
     8113     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    107848114$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; }; }; }
     8115as_fn_error 77 "cannot compute sizeof (void *)
     8116See \`config.log' for more details" "$LINENO" 5; }
    108728117   else
    108738118     ac_cv_sizeof_void_p=0
    108748119   fi
    108758120fi
    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
     8121
     8122fi
     8123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    108828124$as_echo "$ac_cv_sizeof_void_p" >&6; }
    108838125
     
    108938135# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    108948136# This bug is HP SR number 8606223364.
    10895 { $as_echo "$as_me:$LINENO: checking size of float" >&5
     8137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
    108968138$as_echo_n "checking size of float... " >&6; }
    10897 if test "${ac_cv_sizeof_float+set}" = set; then
     8139if ${ac_cv_sizeof_float+:} false; then :
    108988140  $as_echo_n "(cached) " >&6
    108998141else
    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
     8142  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
     8143
     8144else
     8145  if test "$ac_cv_type_float" = yes; then
     8146     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    111438147$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; }; }; }
     8148as_fn_error 77 "cannot compute sizeof (float)
     8149See \`config.log' for more details" "$LINENO" 5; }
    112318150   else
    112328151     ac_cv_sizeof_float=0
    112338152   fi
    112348153fi
    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
     8154
     8155fi
     8156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
    112418157$as_echo "$ac_cv_sizeof_float" >&6; }
    112428158
     
    112948210
    112958211RP_DIR=""
    11296 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
     8212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
    112978213$as_echo_n "checking for rappture... " >&6; }
    112988214if test "$with_rappture" == "yes" ; then
     
    113038219      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    113048220      RP_LIB_DIR="$dir/lib"
    11305       { $as_echo "$as_me:$LINENO: result: $dir" >&5
     8221      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
    113068222$as_echo "$dir" >&6; }
    113078223      break
     
    113108226else
    113118227  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; }; }
     8228    as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
    113158229  fi
    113168230  RP_DIR=$with_rappture
     
    113198233fi
    113208234if 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
     8235  as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
     8236else
     8237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
    113268238$as_echo "$with_rappture" >&6; }
    113278239fi
     
    113548266CPPFLAGS=$VTK_INC_SPEC
    113558267
    11356 
    113578268for 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
     8269do :
     8270  ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
     8271if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
     8272  cat >>confdefs.h <<_ACEOF
     8273#define HAVE_VTKSMARTPOINTER_H 1
     8274_ACEOF
     8275
     8276else
     8277  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5
     8278$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
     8279fi
     8280
     8281done
     8282
     8283CPPFLAGS=$save_CPPFLAGS
     8284
     8285ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
     8286if test "x$ac_cv_header_GL_glut_h" = xyes; then :
     8287
     8288fi
     8289
     8290
     8291ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
     8292if test "x$ac_cv_header_GL_glew_h" = xyes; then :
     8293
     8294fi
     8295
     8296
     8297
     8298for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     8299do :
     8300  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8301ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8302if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    114998303  cat >>confdefs.h <<_ACEOF
    115008304#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    115018305_ACEOF
    115028306
    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;}
    115068307fi
    115078308
    115088309done
    115098310
    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
     8311for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     8312do :
     8313  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8314ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8315if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    119288316  cat >>confdefs.h <<_ACEOF
    119298317#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    119358323
    119368324
    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
     8325for ac_func in accept4
     8326do :
     8327  ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
     8328if test "x$ac_cv_func_accept4" = xyes; then :
    120838329  cat >>confdefs.h <<_ACEOF
    12084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12085 _ACEOF
    12086 
    12087 fi
    12088 
    12089 done
    12090 
    12091 
    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
     8330#define HAVE_ACCEPT4 1
    121888331_ACEOF
    121898332
     
    122028345    # Extract the first word of "ffmpeg", so it can be a program name with args.
    122038346set dummy ffmpeg; ac_word=$2
    12204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    122058348$as_echo_n "checking for $ac_word... " >&6; }
    12206 if test "${ac_cv_path_FFMPEG+set}" = set; then
     8349if ${ac_cv_path_FFMPEG+:} false; then :
    122078350  $as_echo_n "(cached) " >&6
    122088351else
     
    122178360  IFS=$as_save_IFS
    122188361  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
     8362    for ac_exec_ext in '' $ac_executable_extensions; do
     8363  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    122218364    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
     8365    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    122238366    break 2
    122248367  fi
    122258368done
    12226 done
     8369  done
    122278370IFS=$as_save_IFS
    122288371
     
    122328375FFMPEG=$ac_cv_path_FFMPEG
    122338376if test -n "$FFMPEG"; then
    12234   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     8377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    122358378$as_echo "$FFMPEG" >&6; }
    122368379else
    12237   { $as_echo "$as_me:$LINENO: result: no" >&5
     8380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    122388381$as_echo "no" >&6; }
    122398382fi
     
    122438386    # Extract the first word of "ffmpeg", so it can be a program name with args.
    122448387set dummy ffmpeg; ac_word=$2
    12245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    122468389$as_echo_n "checking for $ac_word... " >&6; }
    12247 if test "${ac_cv_path_FFMPEG+set}" = set; then
     8390if ${ac_cv_path_FFMPEG+:} false; then :
    122488391  $as_echo_n "(cached) " >&6
    122498392else
     
    122598402  IFS=$as_save_IFS
    122608403  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
     8404    for ac_exec_ext in '' $ac_executable_extensions; do
     8405  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    122638406    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
     8407    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    122658408    break 2
    122668409  fi
    122678410done
    12268 done
     8411  done
    122698412IFS=$as_save_IFS
    122708413
     
    122748417FFMPEG=$ac_cv_path_FFMPEG
    122758418if test -n "$FFMPEG"; then
    12276   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     8419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    122778420$as_echo "$FFMPEG" >&6; }
    122788421else
    12279   { $as_echo "$as_me:$LINENO: result: no" >&5
     8422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    122808423$as_echo "no" >&6; }
    122818424fi
     
    122858428  if test "${FFMPEG}x" != "x" ; then
    122868429
    12287 cat >>confdefs.h <<\_ACEOF
    12288 #define HAVE_FFMPEG 1
    12289 _ACEOF
     8430$as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
    122908431
    122918432  fi
    122928433fi
    122938434
    12294 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     8435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
    122958436$as_echo_n "checking for nVidia Cg installation... " >&6; }
    122968437CG_DIR=""
     
    123058446  fi
    123068447done
    12307 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     8448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
    123088449$as_echo "${CG_DIR}" >&6; }
    123098450
     
    123128453save_CPPFLAGS=$CPPFLAGS
    123138454CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
    12314 
    123158455for 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
     8456do :
     8457  ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
     8458if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
    124578459  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
     8460#define HAVE_CG_CGGL_H 1
     8461_ACEOF
     8462
     8463else
     8464  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5
    124638465$as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    124648466fi
     
    125238525
    125248526
    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"
     8527ac_config_files="$ac_config_files Makefile geovis/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"
    125268528
    125278529cat >confcache <<\_ACEOF
     
    125528554    *${as_nl}*)
    125538555      case $ac_var in #(
    12554       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     8556      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    125558557$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    125568558      esac
     
    125588560      _ | IFS | as_nl) ;; #(
    125598561      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    12560       *) $as_unset $ac_var ;;
     8562      *) { eval $ac_var=; unset $ac_var;} ;;
    125618563      esac ;;
    125628564    esac
     
    125668568    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    125678569    *${as_nl}ac_space=\ *)
    12568       # `set' does not quote correctly, so add quotes (double-quote
    12569       # substitution turns \\\\ into \\, and sed turns \\ into \).
     8570      # `set' does not quote correctly, so add quotes: double-quote
     8571      # substitution turns \\\\ into \\, and sed turns \\ into \.
    125708572      sed -n \
    125718573        "s/'/'\\\\''/g;
     
    125898591if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    125908592  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
     8593    if test "x$cache_file" != "x/dev/null"; then
     8594      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    125938595$as_echo "$as_me: updating cache $cache_file" >&6;}
    12594     cat confcache >$cache_file
     8596      if test ! -f "$cache_file" || test -h "$cache_file"; then
     8597        cat confcache >"$cache_file"
     8598      else
     8599        case $cache_file in #(
     8600        */* | ?:*)
     8601          mv -f confcache "$cache_file"$$ &&
     8602          mv -f "$cache_file"$$ "$cache_file" ;; #(
     8603        *)
     8604          mv -f confcache "$cache_file" ;;
     8605        esac
     8606      fi
     8607    fi
    125958608  else
    12596     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8609    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    125978610$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    125988611  fi
     
    126088621ac_libobjs=
    126098622ac_ltlibobjs=
     8623U=
    126108624for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    126118625  # 1. Remove the extension, and $U if already installed.
     
    126148628  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    126158629  #    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'
     8630  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8631  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    126188632done
    126198633LIBOBJS=$ac_libobjs
     
    126248638
    126258639
    12626 : ${CONFIG_STATUS=./config.status}
     8640: "${CONFIG_STATUS=./config.status}"
    126278641ac_write_fail=0
    126288642ac_clean_files_save=$ac_clean_files
    126298643ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    12630 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     8644{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    126318645$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    12632 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8646as_write_fail=0
     8647cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    126338648#! $SHELL
    126348649# Generated by $as_me.
     
    126408655ac_cs_recheck=false
    126418656ac_cs_silent=false
     8657
    126428658SHELL=\${CONFIG_SHELL-$SHELL}
    12643 _ACEOF
    12644 
    12645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    12646 ## --------------------- ##
    12647 ## M4sh Initialization.  ##
    12648 ## --------------------- ##
     8659export SHELL
     8660_ASEOF
     8661cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     8662## -------------------- ##
     8663## M4sh Initialization. ##
     8664## -------------------- ##
    126498665
    126508666# Be more Bourne compatible
    126518667DUALCASE=1; export DUALCASE # for MKS sh
    12652 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     8668if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    126538669  emulate sh
    126548670  NULLCMD=:
     
    126588674  setopt NO_GLOB_SUBST
    126598675else
    12660   case `(set -o) 2>/dev/null` in
    12661   *posix*) set -o posix ;;
     8676  case `(set -o) 2>/dev/null` in #(
     8677  *posix*) :
     8678    set -o posix ;; #(
     8679  *) :
     8680     ;;
    126628681esac
    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
     8682fi
     8683
    126768684
    126778685as_nl='
     
    126828690as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    126838691as_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
     8692# Prefer a ksh shell builtin over an external printf program on Solaris,
     8693# but without wasting forks for bash or zsh.
     8694if test -z "$BASH_VERSION$ZSH_VERSION" \
     8695    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     8696  as_echo='print -r --'
     8697  as_echo_n='print -rn --'
     8698elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    126858699  as_echo='printf %s\n'
    126868700  as_echo_n='printf %s'
     
    126938707    as_echo_n_body='eval
    126948708      arg=$1;
    12695       case $arg in
     8709      case $arg in #(
    126968710      *"$as_nl"*)
    126978711        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    127168730fi
    127178731
    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 
    127258732
    127268733# IFS
     
    127328739
    127338740# Find who we are.  Look in the path if we contain no directory separator.
    12734 case $0 in
     8741as_myself=
     8742case $0 in #((
    127358743  *[\\/]* ) as_myself=$0 ;;
    127368744  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    127398747  IFS=$as_save_IFS
    127408748  test -z "$as_dir" && as_dir=.
    12741   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    12742 done
     8749    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     8750  done
    127438751IFS=$as_save_IFS
    127448752
     
    127528760if test ! -f "$as_myself"; then
    127538761  $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
     8762  exit 1
     8763fi
     8764
     8765# Unset variables that we do not need and which cause bugs (e.g. in
     8766# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     8767# suppresses any "Segmentation fault" message there.  '((' could
     8768# trigger a bug in pdksh 5.2.14.
     8769for as_var in BASH_ENV ENV MAIL MAILPATH
     8770do eval test x\${$as_var+set} = xset \
     8771  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    127608772done
    127618773PS1='$ '
     
    127698781export LANGUAGE
    127708782
    12771 # Required to use basename.
     8783# CDPATH.
     8784(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     8785
     8786
     8787# as_fn_error STATUS ERROR [LINENO LOG_FD]
     8788# ----------------------------------------
     8789# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     8790# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     8791# script with STATUS, using 1 if that was 0.
     8792as_fn_error ()
     8793{
     8794  as_status=$1; test $as_status -eq 0 && as_status=1
     8795  if test "$4"; then
     8796    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     8797    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     8798  fi
     8799  $as_echo "$as_me: error: $2" >&2
     8800  as_fn_exit $as_status
     8801} # as_fn_error
     8802
     8803
     8804# as_fn_set_status STATUS
     8805# -----------------------
     8806# Set $? to STATUS, without forking.
     8807as_fn_set_status ()
     8808{
     8809  return $1
     8810} # as_fn_set_status
     8811
     8812# as_fn_exit STATUS
     8813# -----------------
     8814# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     8815as_fn_exit ()
     8816{
     8817  set +e
     8818  as_fn_set_status $1
     8819  exit $1
     8820} # as_fn_exit
     8821
     8822# as_fn_unset VAR
     8823# ---------------
     8824# Portably unset VAR.
     8825as_fn_unset ()
     8826{
     8827  { eval $1=; unset $1;}
     8828}
     8829as_unset=as_fn_unset
     8830# as_fn_append VAR VALUE
     8831# ----------------------
     8832# Append the text in VALUE to the end of the definition contained in VAR. Take
     8833# advantage of any shell optimizations that allow amortized linear growth over
     8834# repeated appends, instead of the typical quadratic growth present in naive
     8835# implementations.
     8836if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     8837  eval 'as_fn_append ()
     8838  {
     8839    eval $1+=\$2
     8840  }'
     8841else
     8842  as_fn_append ()
     8843  {
     8844    eval $1=\$$1\$2
     8845  }
     8846fi # as_fn_append
     8847
     8848# as_fn_arith ARG...
     8849# ------------------
     8850# Perform arithmetic evaluation on the ARGs, and store the result in the
     8851# global $as_val. Take advantage of shells that can avoid forks. The arguments
     8852# must be portable across $(()) and expr.
     8853if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     8854  eval 'as_fn_arith ()
     8855  {
     8856    as_val=$(( $* ))
     8857  }'
     8858else
     8859  as_fn_arith ()
     8860  {
     8861    as_val=`expr "$@" || test $? -eq 1`
     8862  }
     8863fi # as_fn_arith
     8864
     8865
    127728866if expr a : '\(a\)' >/dev/null 2>&1 &&
    127738867   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    127838877fi
    127848878
    12785 
    12786 # Name of the executable.
     8879if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8880  as_dirname=dirname
     8881else
     8882  as_dirname=false
     8883fi
     8884
    127878885as_me=`$as_basename -- "$0" ||
    127888886$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    128048902          s/.*/./; q'`
    128058903
    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
     8904# Avoid depending upon Character Ranges.
     8905as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     8906as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     8907as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     8908as_cr_digits='0123456789'
     8909as_cr_alnum=$as_cr_Letters$as_cr_digits
    128598910
    128608911ECHO_C= ECHO_N= ECHO_T=
    12861 case `echo -n x` in
     8912case `echo -n x` in #(((((
    128628913-n*)
    12863   case `echo 'x\c'` in
     8914  case `echo 'xy\c'` in
    128648915  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    12865   *)   ECHO_C='\c';;
     8916  xy)  ECHO_C='\c';;
     8917  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     8918       ECHO_T=' ';;
    128668919  esac;;
    128678920*)
    128688921  ECHO_N='-n';;
    128698922esac
    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
    128768923
    128778924rm -f conf$$ conf$$.exe conf$$.file
     
    128888935    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    128898936    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    12890     # In both cases, we have to default to `cp -p'.
     8937    # In both cases, we have to default to `cp -pR'.
    128918938    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    12892       as_ln_s='cp -p'
     8939      as_ln_s='cp -pR'
    128938940  elif ln conf$$.file conf$$ 2>/dev/null; then
    128948941    as_ln_s=ln
    128958942  else
    12896     as_ln_s='cp -p'
     8943    as_ln_s='cp -pR'
    128978944  fi
    128988945else
    12899   as_ln_s='cp -p'
     8946  as_ln_s='cp -pR'
    129008947fi
    129018948rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    129028949rmdir conf$$.dir 2>/dev/null
    129038950
     8951
     8952# as_fn_mkdir_p
     8953# -------------
     8954# Create "$as_dir" as a directory, including parents if necessary.
     8955as_fn_mkdir_p ()
     8956{
     8957
     8958  case $as_dir in #(
     8959  -*) as_dir=./$as_dir;;
     8960  esac
     8961  test -d "$as_dir" || eval $as_mkdir_p || {
     8962    as_dirs=
     8963    while :; do
     8964      case $as_dir in #(
     8965      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     8966      *) as_qdir=$as_dir;;
     8967      esac
     8968      as_dirs="'$as_qdir' $as_dirs"
     8969      as_dir=`$as_dirname -- "$as_dir" ||
     8970$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8971         X"$as_dir" : 'X\(//\)[^/]' \| \
     8972         X"$as_dir" : 'X\(//\)$' \| \
     8973         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8974$as_echo X"$as_dir" |
     8975    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8976            s//\1/
     8977            q
     8978          }
     8979          /^X\(\/\/\)[^/].*/{
     8980            s//\1/
     8981            q
     8982          }
     8983          /^X\(\/\/\)$/{
     8984            s//\1/
     8985            q
     8986          }
     8987          /^X\(\/\).*/{
     8988            s//\1/
     8989            q
     8990          }
     8991          s/.*/./; q'`
     8992      test -d "$as_dir" && break
     8993    done
     8994    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8995  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     8996
     8997
     8998} # as_fn_mkdir_p
    129048999if mkdir -p . 2>/dev/null; then
    12905   as_mkdir_p=:
     9000  as_mkdir_p='mkdir -p "$as_dir"'
    129069001else
    129079002  test -d ./-p && rmdir ./-p
     
    129099004fi
    129109005
    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
     9006
     9007# as_fn_executable_p FILE
     9008# -----------------------
     9009# Test if FILE is an executable regular file.
     9010as_fn_executable_p ()
     9011{
     9012  test -f "$1" && test -x "$1"
     9013} # as_fn_executable_p
     9014as_test_x='test -x'
     9015as_executable_p=as_fn_executable_p
    129339016
    129349017# Sed expression to map a string onto a valid CPP name.
     
    129409023
    129419024exec 6>&1
    12942 
    12943 # Save the log message, to keep $[0] and so on meaningful, and to
     9025## ----------------------------------- ##
     9026## Main body of $CONFIG_STATUS script. ##
     9027## ----------------------------------- ##
     9028_ASEOF
     9029test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     9030
     9031cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9032# Save the log message, to keep $0 and so on meaningful, and to
    129449033# report actual input values of CONFIG_FILES etc. instead of their
    129459034# values after options handling.
    129469035ac_log="
    129479036This file was extended by vizservers $as_me 0.1, which was
    12948 generated by GNU Autoconf 2.63.  Invocation command line was
     9037generated by GNU Autoconf 2.69.  Invocation command line was
    129499038
    129509039  CONFIG_FILES    = $CONFIG_FILES
     
    129779066cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    129789067ac_cs_usage="\
    12979 \`$as_me' instantiates files from templates according to the
    12980 current configuration.
    12981 
    12982 Usage: $0 [OPTION]... [FILE]...
     9068\`$as_me' instantiates files and other configuration actions
     9069from templates according to the current configuration.  Unless the files
     9070and actions are specified as TAGs, all are instantiated by default.
     9071
     9072Usage: $0 [OPTION]... [TAG]...
    129839073
    129849074  -h, --help       print this help, then exit
    129859075  -V, --version    print version number and configuration settings, then exit
     9076      --config     print configuration, then exit
    129869077  -q, --quiet, --silent
    129879078                   do not print progress messages
     
    129999090$config_headers
    130009091
    13001 Report bugs to <bug-autoconf@gnu.org>."
     9092Report bugs to <rappture@nanohub.org>."
    130029093
    130039094_ACEOF
    130049095cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9096ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    130059097ac_cs_version="\\
    130069098vizservers 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.
     9099configured by $0, generated by GNU Autoconf 2.69,
     9100  with options \\"\$ac_cs_config\\"
     9101
     9102Copyright (C) 2012 Free Software Foundation, Inc.
    130119103This config.status script is free software; the Free Software Foundation
    130129104gives unlimited permission to copy, distribute and modify it."
     
    130259117do
    130269118  case $1 in
    13027   --*=*)
     9119  --*=?*)
    130289120    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    130299121    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9122    ac_shift=:
     9123    ;;
     9124  --*=)
     9125    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9126    ac_optarg=
    130309127    ac_shift=:
    130319128    ;;
     
    130439140  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    130449141    $as_echo "$ac_cs_version"; exit ;;
     9142  --config | --confi | --conf | --con | --co | --c )
     9143    $as_echo "$ac_cs_config"; exit ;;
    130459144  --debug | --debu | --deb | --de | --d | -d )
    130469145    debug=: ;;
     
    130499148    case $ac_optarg in
    130509149    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9150    '') as_fn_error $? "missing file argument" ;;
    130519151    esac
    13052     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9152    as_fn_append CONFIG_FILES " '$ac_optarg'"
    130539153    ac_need_defaults=false;;
    130549154  --header | --heade | --head | --hea )
     
    130579157    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    130589158    esac
    13059     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9159    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    130609160    ac_need_defaults=false;;
    130619161  --he | --h)
    130629162    # 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; }; };;
     9163    as_fn_error $? "ambiguous option: \`$1'
     9164Try \`$0 --help' for more information.";;
    130669165  --help | --hel | -h )
    130679166    $as_echo "$ac_cs_usage"; exit ;;
     
    130719170
    130729171  # 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"
     9172  -*) as_fn_error $? "unrecognized option: \`$1'
     9173Try \`$0 --help' for more information." ;;
     9174
     9175  *) as_fn_append ac_config_targets " $1"
    130789176     ac_need_defaults=false ;;
    130799177
     
    130929190cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    130939191if \$ac_cs_recheck; then
    13094   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9192  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    130959193  shift
    130969194  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    131249222    "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;;
    131259223    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     9224    "geovis/Makefile") CONFIG_FILES="$CONFIG_FILES geovis/Makefile" ;;
    131269225    "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;;
    131279226    "nanoscale/renderservers.tcl") CONFIG_FILES="$CONFIG_FILES nanoscale/renderservers.tcl" ;;
     
    131399238    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    131409239
    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; }; };;
     9240  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    131449241  esac
    131459242done
     
    131639260$debug ||
    131649261{
    13165   tmp=
     9262  tmp= ac_tmp=
    131669263  trap 'exit_status=$?
    13167   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9264  : "${ac_tmp:=$tmp}"
     9265  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    131689266' 0
    13169   trap '{ (exit 1); exit 1; }' 1 2 13 15
     9267  trap 'as_fn_exit 1' 1 2 13 15
    131709268}
    131719269# Create a (secure) tmp directory for tmp files.
     
    131739271{
    131749272  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    13175   test -n "$tmp" && test -d "$tmp"
     9273  test -d "$tmp"
    131769274}  ||
    131779275{
    131789276  tmp=./conf$$-$RANDOM
    131799277  (umask 077 && mkdir "$tmp")
    13180 } ||
    13181 {
    13182    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    13183    { (exit 1); exit 1; }
    13184 }
     9278} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     9279ac_tmp=$tmp
    131859280
    131869281# Set up the scripts for CONFIG_FILES section.
     
    131909285
    131919286
    13192 ac_cr='
    13193 '
     9287ac_cr=`echo X | tr X '\015'`
     9288# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9289# But we know of no other shell where ac_cr would be empty at this
     9290# point, so we can use a bashism as a fallback.
     9291if test "x$ac_cr" = x; then
     9292  eval ac_cr=\$\'\\r\'
     9293fi
    131949294ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    131959295if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    131999299fi
    132009300
    13201 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9301echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    132029302_ACEOF
    132039303
     
    132089308  echo "_ACEOF"
    132099309} >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 '$'`
     9310  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9311ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    132149312ac_delim='%!_!# '
    132159313for ac_last_try in false false false false false :; do
    132169314  . ./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; }; }
     9315    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    132209316
    132219317  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    132239319    break
    132249320  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; }; }
     9321    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    132289322  else
    132299323    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    132339327
    132349328cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    13235 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9329cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    132369330_ACEOF
    132379331sed -n '
     
    132479341:nl
    132489342h
    13249 s/\(.\{148\}\).*/\1/
     9343s/\(.\{148\}\)..*/\1/
    132509344t more1
    132519345s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    132619355:delim
    132629356h
    13263 s/\(.\{148\}\).*/\1/
     9357s/\(.\{148\}\)..*/\1/
    132649358t more2
    132659359s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    132819375cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    132829376_ACAWK
    13283 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9377cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    132849378  for (key in S) S_is_set[key] = 1
    132859379  FS = ""
     
    133139407else
    133149408  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
     9409fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     9410  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     9411_ACEOF
     9412
     9413# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     9414# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    133239415# trailing colons and then remove the whole line if VPATH becomes empty
    133249416# (actually we leave an empty line to preserve line numbers).
    133259417if test "x$srcdir" = x.; then
    13326   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    13327 s/:*\$(srcdir):*/:/
    13328 s/:*\${srcdir}:*/:/
    13329 s/:*@srcdir@:*/:/
    13330 s/^\([^=]*=[     ]*\):*/\1/
     9418  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     9419h
     9420s///
     9421s/^/:/
     9422s/[      ]*$/:/
     9423s/:\$(srcdir):/:/g
     9424s/:\${srcdir}:/:/g
     9425s/:@srcdir@:/:/g
     9426s/^:*//
    133319427s/:*$//
     9428x
     9429s/\(=[   ]*\).*/\1/
     9430G
     9431s/\n//
    133329432s/^[^=]*=[       ]*$//
    133339433}'
     
    133419441# This happens for instance with `./config.status Makefile'.
    133429442if test -n "$CONFIG_HEADERS"; then
    13343 cat >"$tmp/defines.awk" <<\_ACAWK ||
     9443cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    133449444BEGIN {
    133459445_ACEOF
     
    133539453ac_delim='%!_!# '
    133549454for ac_last_try in false false :; do
    13355   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    13356   if test -z "$ac_t"; then
     9455  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     9456  if test -z "$ac_tt"; then
    133579457    break
    133589458  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; }; }
     9459    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    133629460  else
    133639461    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    134449542_ACEOF
    134459543cat >>$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; }; }
     9544  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    134499545fi # test -n "$CONFIG_HEADERS"
    134509546
     
    134599555  case $ac_mode$ac_tag in
    134609556  :[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; }; };;
     9557  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    134649558  :[FH]-) ac_tag=-:-;;
    134659559  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    134809574    do
    134819575      case $ac_f in
    13482       -) ac_f="$tmp/stdin";;
     9576      -) ac_f="$ac_tmp/stdin";;
    134839577      *) # Look for the file first in the build tree, then in the source tree
    134849578         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    134899583           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    134909584           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; }; };;
     9585           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    134949586      esac
    134959587      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    13496       ac_file_inputs="$ac_file_inputs '$ac_f'"
     9588      as_fn_append ac_file_inputs " '$ac_f'"
    134979589    done
    134989590
     
    135059597    if test x"$ac_file" != x-; then
    135069598      configure_input="$ac_file.  $configure_input"
    13507       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     9599      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    135089600$as_echo "$as_me: creating $ac_file" >&6;}
    135099601    fi
     
    135179609
    135189610    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; }; } ;;
     9611    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     9612      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    135239613    esac
    135249614    ;;
     
    135489638          }
    135499639          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; }; }; }
     9640  as_dir="$ac_dir"; as_fn_mkdir_p
    135919641  ac_builddir=.
    135929642
     
    136459695# FIXME: This hack should be removed a few years after 2.60.
    136469696ac_datarootdir_hack=; ac_datarootdir_seen=
    13647 
    136489697ac_sed_dataroot='
    136499698/datarootdir/ {
     
    136559704/@infodir@/p
    136569705/@localedir@/p
    13657 /@mandir@/p
    13658 '
     9706/@mandir@/p'
    136599707case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    136609708*datarootdir*) ac_datarootdir_seen=yes;;
    136619709*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    13662   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     9710  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    136639711$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    136649712_ACEOF
     
    136709718  s&@localedir@&$localedir&g
    136719719  s&@mandir@&$mandir&g
    13672     s&\\\${datarootdir}&$datarootdir&g' ;;
     9720  s&\\\${datarootdir}&$datarootdir&g' ;;
    136739721esac
    136749722_ACEOF
     
    136989746$ac_datarootdir_hack
    136999747"
    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; }; }
     9748eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     9749  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137049750
    137059751test -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
     9752  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     9753  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     9754      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     9755  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9756which seems to be undefined.  Please make sure it is defined" >&5
    137109757$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"
     9758which seems to be undefined.  Please make sure it is defined" >&2;}
     9759
     9760  rm -f "$ac_tmp/stdin"
    137149761  case $ac_file in
    13715   -) cat "$tmp/out" && rm -f "$tmp/out";;
    13716   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     9762  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     9763  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    137179764  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; }; }
     9765  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137219766 ;;
    137229767  :H)
     
    137279772    {
    137289773      $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
     9774      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     9775    } >"$ac_tmp/config.h" \
     9776      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     9777    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     9778      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    137369779$as_echo "$as_me: $ac_file is unchanged" >&6;}
    137379780    else
    137389781      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; }; }
     9782      mv "$ac_tmp/config.h" "$ac_file" \
     9783        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    137439784    fi
    137449785  else
    137459786    $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; }; }
     9787      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     9788      || as_fn_error $? "could not create -" "$LINENO" 5
    137509789  fi
    137519790 ;;
     
    137579796
    137589797
    13759 { (exit 0); exit 0; }
    13760 _ACEOF
    13761 chmod +x $CONFIG_STATUS
     9798as_fn_exit 0
     9799_ACEOF
    137629800ac_clean_files=$ac_clean_files_save
    137639801
    137649802test $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; }; }
     9803  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    137689804
    137699805
     
    137869822  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    137879823  # would make configure fail if this is the last instruction.
    13788   $ac_cs_success || { (exit 1); exit 1; }
     9824  $ac_cs_success || as_fn_exit 1
    137899825fi
    137909826if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    13791   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     9827  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    137929828$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    137939829fi
  • trunk/packages/vizservers/configure.in

    r3563 r4010  
    307307AC_OUTPUT([
    308308   Makefile \
     309   geovis/Makefile \
    309310   nanoscale/Makefile \
    310311   nanoscale/renderservers.tcl \
Note: See TracChangeset for help on using the changeset viewer.