Changeset 3717


Ignore:
Timestamp:
Jun 27, 2013, 1:26:46 PM (11 years ago)
Author:
gah
Message:

fixes for R build, can now make clean, make

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r3471 r3717  
    2222pkg_path        := $(shell dirname $(prefix))
    2323pkg_name        := $(shell basename $(prefix))
     24SVN_VERSION     := $(shell svnversion $(srcdir))
    2425
    2526rappture_binary_tarfile = rappture-$(os)-$(machine)-$(build_date).tar.gz
  • trunk/configure

    r3716 r3717  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.3.
     3# Generated by GNU Autoconf 2.69 for Rappture 1.3.
    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='Rappture 1.3'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    814799prefix
    815800exec_prefix
     801PACKAGE_URL
    816802PACKAGE_BUGREPORT
    817803PACKAGE_STRING
     
    923909
    924910  case $ac_option in
    925   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    926   *)    ac_optarg=yes ;;
     911  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     912  *=)   ac_optarg= ;;
     913  *)    ac_optarg=yes ;;
    927914  esac
    928915
     
    969956    # Reject names that are not valid shell variable names.
    970957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    971       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    972    { (exit 1); exit 1; }; }
     958      as_fn_error $? "invalid feature name: $ac_useropt"
    973959    ac_useropt_orig=$ac_useropt
    974960    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    996982    # Reject names that are not valid shell variable names.
    997983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    998       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    999    { (exit 1); exit 1; }; }
     984      as_fn_error $? "invalid feature name: $ac_useropt"
    1000985    ac_useropt_orig=$ac_useropt
    1001986    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12011186    # Reject names that are not valid shell variable names.
    12021187    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1203       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1204    { (exit 1); exit 1; }; }
     1188      as_fn_error $? "invalid package name: $ac_useropt"
    12051189    ac_useropt_orig=$ac_useropt
    12061190    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12181202    # Reject names that are not valid shell variable names.
    12191203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1220       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1221    { (exit 1); exit 1; }; }
     1204      as_fn_error $? "invalid package name: $ac_useropt"
    12221205    ac_useropt_orig=$ac_useropt
    12231206    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12491232    x_libraries=$ac_optarg ;;
    12501233
    1251   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1252 Try \`$0 --help' for more information." >&2
    1253    { (exit 1); exit 1; }; }
     1234  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1235Try \`$0 --help' for more information"
    12541236    ;;
    12551237
     
    12571239    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12581240    # Reject names that are not valid shell variable names.
    1259     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1260       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1261    { (exit 1); exit 1; }; }
     1241    case $ac_envvar in #(
     1242      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1243      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1244    esac
    12621245    eval $ac_envvar=\$ac_optarg
    12631246    export $ac_envvar ;;
     
    12681251    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12691252      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1270     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1253    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    12711254    ;;
    12721255
     
    12761259if test -n "$ac_prev"; then
    12771260  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1278   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1279    { (exit 1); exit 1; }; }
     1261  as_fn_error $? "missing argument to $ac_option"
    12801262fi
    12811263
     
    12831265  case $enable_option_checking in
    12841266    no) ;;
    1285     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1286    { (exit 1); exit 1; }; } ;;
     1267    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    12871268    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12881269  esac
     
    13071288    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    13081289  esac
    1309   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1310    { (exit 1); exit 1; }; }
     1290  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    13111291done
    13121292
     
    13221302  if test "x$build_alias" = x; then
    13231303    cross_compiling=maybe
    1324     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1325     If a cross compiler is detected then cross compile mode will be used." >&2
    13261304  elif test "x$build_alias" != "x$host_alias"; then
    13271305    cross_compiling=yes
     
    13381316ac_ls_di=`ls -di .` &&
    13391317ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1340   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1341    { (exit 1); exit 1; }; }
     1318  as_fn_error $? "working directory cannot be determined"
    13421319test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1343   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1344    { (exit 1); exit 1; }; }
     1320  as_fn_error $? "pwd does not report name of working directory"
    13451321
    13461322
     
    13811357if test ! -r "$srcdir/$ac_unique_file"; then
    13821358  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1383   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1384    { (exit 1); exit 1; }; }
     1359  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13851360fi
    13861361ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13871362ac_abs_confdir=`(
    1388         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1389    { (exit 1); exit 1; }; }
     1363        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13901364        pwd)`
    13911365# When building in place, set srcdir=.
     
    14271401      --help=recursive    display the short help of all the included packages
    14281402  -V, --version           display version information and exit
    1429   -q, --quiet, --silent   do not print \`checking...' messages
     1403  -q, --quiet, --silent   do not print \`checking ...' messages
    14301404      --cache-file=FILE   cache test results in FILE [disabled]
    14311405  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    15111485  --with-java=DIR         location of java [default=yes]
    15121486  --with-R=DIR            location of R interpreter [default=yes]
    1513   --with-ruby=PATH        path to the ruby interpreter [ruby]
     1487  --with-ruby=PATH        path to the ruby interpreter [[ruby]]
    15141488  --with-ruby-sitelibdir=PATH
    1515                           path to install ruby scripts [auto-detect]
     1489                          path to install ruby scripts [[auto-detect]]
    15161490
    15171491Some influential environment variables:
     
    15211495              nonstandard directory <lib dir>
    15221496  LIBS        libraries to pass to the linker, e.g. -l<library>
    1523   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1497  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15241498              you have headers in a nonstandard directory <include dir>
    15251499  CXX         C++ compiler command
     
    15971571  cat <<\_ACEOF
    15981572Rappture configure 1.3
    1599 generated by GNU Autoconf 2.63
    1600 
    1601 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1573generated by GNU Autoconf 2.69
     1574
     1575Copyright (C) 2012 Free Software Foundation, Inc.
    16031576This configure script is free software; the Free Software Foundation
    16041577gives unlimited permission to copy, distribute and modify it.
     
    16061579  exit
    16071580fi
     1581
     1582## ------------------------ ##
     1583## Autoconf initialization. ##
     1584## ------------------------ ##
     1585
     1586# ac_fn_c_try_compile LINENO
     1587# --------------------------
     1588# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1589ac_fn_c_try_compile ()
     1590{
     1591  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1592  rm -f conftest.$ac_objext
     1593  if { { ac_try="$ac_compile"
     1594case "(($ac_try" in
     1595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1596  *) ac_try_echo=$ac_try;;
     1597esac
     1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1599$as_echo "$ac_try_echo"; } >&5
     1600  (eval "$ac_compile") 2>conftest.err
     1601  ac_status=$?
     1602  if test -s conftest.err; then
     1603    grep -v '^ *+' conftest.err >conftest.er1
     1604    cat conftest.er1 >&5
     1605    mv -f conftest.er1 conftest.err
     1606  fi
     1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1608  test $ac_status = 0; } && {
     1609         test -z "$ac_c_werror_flag" ||
     1610         test ! -s conftest.err
     1611       } && test -s conftest.$ac_objext; then :
     1612  ac_retval=0
     1613else
     1614  $as_echo "$as_me: failed program was:" >&5
     1615sed 's/^/| /' conftest.$ac_ext >&5
     1616
     1617        ac_retval=1
     1618fi
     1619  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1620  as_fn_set_status $ac_retval
     1621
     1622} # ac_fn_c_try_compile
     1623
     1624# ac_fn_cxx_try_compile LINENO
     1625# ----------------------------
     1626# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1627ac_fn_cxx_try_compile ()
     1628{
     1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1630  rm -f conftest.$ac_objext
     1631  if { { ac_try="$ac_compile"
     1632case "(($ac_try" in
     1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1634  *) ac_try_echo=$ac_try;;
     1635esac
     1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1637$as_echo "$ac_try_echo"; } >&5
     1638  (eval "$ac_compile") 2>conftest.err
     1639  ac_status=$?
     1640  if test -s conftest.err; then
     1641    grep -v '^ *+' conftest.err >conftest.er1
     1642    cat conftest.er1 >&5
     1643    mv -f conftest.er1 conftest.err
     1644  fi
     1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1646  test $ac_status = 0; } && {
     1647         test -z "$ac_cxx_werror_flag" ||
     1648         test ! -s conftest.err
     1649       } && test -s conftest.$ac_objext; then :
     1650  ac_retval=0
     1651else
     1652  $as_echo "$as_me: failed program was:" >&5
     1653sed 's/^/| /' conftest.$ac_ext >&5
     1654
     1655        ac_retval=1
     1656fi
     1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1658  as_fn_set_status $ac_retval
     1659
     1660} # ac_fn_cxx_try_compile
     1661
     1662# ac_fn_f77_try_compile LINENO
     1663# ----------------------------
     1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1665ac_fn_f77_try_compile ()
     1666{
     1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1668  rm -f conftest.$ac_objext
     1669  if { { ac_try="$ac_compile"
     1670case "(($ac_try" in
     1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1672  *) ac_try_echo=$ac_try;;
     1673esac
     1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1675$as_echo "$ac_try_echo"; } >&5
     1676  (eval "$ac_compile") 2>conftest.err
     1677  ac_status=$?
     1678  if test -s conftest.err; then
     1679    grep -v '^ *+' conftest.err >conftest.er1
     1680    cat conftest.er1 >&5
     1681    mv -f conftest.er1 conftest.err
     1682  fi
     1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1684  test $ac_status = 0; } && {
     1685         test -z "$ac_f77_werror_flag" ||
     1686         test ! -s conftest.err
     1687       } && test -s conftest.$ac_objext; then :
     1688  ac_retval=0
     1689else
     1690  $as_echo "$as_me: failed program was:" >&5
     1691sed 's/^/| /' conftest.$ac_ext >&5
     1692
     1693        ac_retval=1
     1694fi
     1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1696  as_fn_set_status $ac_retval
     1697
     1698} # ac_fn_f77_try_compile
     1699
     1700# ac_fn_c_try_cpp LINENO
     1701# ----------------------
     1702# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1703ac_fn_c_try_cpp ()
     1704{
     1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1706  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1707case "(($ac_try" in
     1708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1709  *) ac_try_echo=$ac_try;;
     1710esac
     1711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1712$as_echo "$ac_try_echo"; } >&5
     1713  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1714  ac_status=$?
     1715  if test -s conftest.err; then
     1716    grep -v '^ *+' conftest.err >conftest.er1
     1717    cat conftest.er1 >&5
     1718    mv -f conftest.er1 conftest.err
     1719  fi
     1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1721  test $ac_status = 0; } > conftest.i && {
     1722         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1723         test ! -s conftest.err
     1724       }; then :
     1725  ac_retval=0
     1726else
     1727  $as_echo "$as_me: failed program was:" >&5
     1728sed 's/^/| /' conftest.$ac_ext >&5
     1729
     1730    ac_retval=1
     1731fi
     1732  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1733  as_fn_set_status $ac_retval
     1734
     1735} # ac_fn_c_try_cpp
     1736
     1737# ac_fn_c_try_run LINENO
     1738# ----------------------
     1739# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1740# that executables *can* be run.
     1741ac_fn_c_try_run ()
     1742{
     1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1744  if { { ac_try="$ac_link"
     1745case "(($ac_try" in
     1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1747  *) ac_try_echo=$ac_try;;
     1748esac
     1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1750$as_echo "$ac_try_echo"; } >&5
     1751  (eval "$ac_link") 2>&5
     1752  ac_status=$?
     1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1754  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1755  { { case "(($ac_try" in
     1756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1757  *) ac_try_echo=$ac_try;;
     1758esac
     1759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1760$as_echo "$ac_try_echo"; } >&5
     1761  (eval "$ac_try") 2>&5
     1762  ac_status=$?
     1763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1764  test $ac_status = 0; }; }; then :
     1765  ac_retval=0
     1766else
     1767  $as_echo "$as_me: program exited with status $ac_status" >&5
     1768       $as_echo "$as_me: failed program was:" >&5
     1769sed 's/^/| /' conftest.$ac_ext >&5
     1770
     1771       ac_retval=$ac_status
     1772fi
     1773  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1775  as_fn_set_status $ac_retval
     1776
     1777} # ac_fn_c_try_run
     1778
     1779# ac_fn_c_try_link LINENO
     1780# -----------------------
     1781# Try to link conftest.$ac_ext, and return whether this succeeded.
     1782ac_fn_c_try_link ()
     1783{
     1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1785  rm -f conftest.$ac_objext conftest$ac_exeext
     1786  if { { ac_try="$ac_link"
     1787case "(($ac_try" in
     1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1789  *) ac_try_echo=$ac_try;;
     1790esac
     1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1792$as_echo "$ac_try_echo"; } >&5
     1793  (eval "$ac_link") 2>conftest.err
     1794  ac_status=$?
     1795  if test -s conftest.err; then
     1796    grep -v '^ *+' conftest.err >conftest.er1
     1797    cat conftest.er1 >&5
     1798    mv -f conftest.er1 conftest.err
     1799  fi
     1800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1801  test $ac_status = 0; } && {
     1802         test -z "$ac_c_werror_flag" ||
     1803         test ! -s conftest.err
     1804       } && test -s conftest$ac_exeext && {
     1805         test "$cross_compiling" = yes ||
     1806         test -x conftest$ac_exeext
     1807       }; then :
     1808  ac_retval=0
     1809else
     1810  $as_echo "$as_me: failed program was:" >&5
     1811sed 's/^/| /' conftest.$ac_ext >&5
     1812
     1813        ac_retval=1
     1814fi
     1815  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1816  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1817  # interfere with the next link command; also delete a directory that is
     1818  # left behind by Apple's compiler.  We do this before executing the actions.
     1819  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1820  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1821  as_fn_set_status $ac_retval
     1822
     1823} # ac_fn_c_try_link
     1824
     1825# ac_fn_c_check_func LINENO FUNC VAR
     1826# ----------------------------------
     1827# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1828ac_fn_c_check_func ()
     1829{
     1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1832$as_echo_n "checking for $2... " >&6; }
     1833if eval \${$3+:} false; then :
     1834  $as_echo_n "(cached) " >&6
     1835else
     1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1837/* end confdefs.h.  */
     1838/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1839   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1840#define $2 innocuous_$2
     1841
     1842/* System header to define __stub macros and hopefully few prototypes,
     1843    which can conflict with char $2 (); below.
     1844    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1845    <limits.h> exists even on freestanding compilers.  */
     1846
     1847#ifdef __STDC__
     1848# include <limits.h>
     1849#else
     1850# include <assert.h>
     1851#endif
     1852
     1853#undef $2
     1854
     1855/* Override any GCC internal prototype to avoid an error.
     1856   Use char because int might match the return type of a GCC
     1857   builtin and then its argument prototype would still apply.  */
     1858#ifdef __cplusplus
     1859extern "C"
     1860#endif
     1861char $2 ();
     1862/* The GNU C library defines this for functions which it implements
     1863    to always fail with ENOSYS.  Some functions are actually named
     1864    something starting with __ and the normal name is an alias.  */
     1865#if defined __stub_$2 || defined __stub___$2
     1866choke me
     1867#endif
     1868
     1869int
     1870main ()
     1871{
     1872return $2 ();
     1873  ;
     1874  return 0;
     1875}
     1876_ACEOF
     1877if ac_fn_c_try_link "$LINENO"; then :
     1878  eval "$3=yes"
     1879else
     1880  eval "$3=no"
     1881fi
     1882rm -f core conftest.err conftest.$ac_objext \
     1883    conftest$ac_exeext conftest.$ac_ext
     1884fi
     1885eval ac_res=\$$3
     1886               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1887$as_echo "$ac_res" >&6; }
     1888  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1889
     1890} # ac_fn_c_check_func
     1891
     1892# ac_fn_cxx_try_link LINENO
     1893# -------------------------
     1894# Try to link conftest.$ac_ext, and return whether this succeeded.
     1895ac_fn_cxx_try_link ()
     1896{
     1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1898  rm -f conftest.$ac_objext conftest$ac_exeext
     1899  if { { ac_try="$ac_link"
     1900case "(($ac_try" in
     1901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1902  *) ac_try_echo=$ac_try;;
     1903esac
     1904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1905$as_echo "$ac_try_echo"; } >&5
     1906  (eval "$ac_link") 2>conftest.err
     1907  ac_status=$?
     1908  if test -s conftest.err; then
     1909    grep -v '^ *+' conftest.err >conftest.er1
     1910    cat conftest.er1 >&5
     1911    mv -f conftest.er1 conftest.err
     1912  fi
     1913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1914  test $ac_status = 0; } && {
     1915         test -z "$ac_cxx_werror_flag" ||
     1916         test ! -s conftest.err
     1917       } && test -s conftest$ac_exeext && {
     1918         test "$cross_compiling" = yes ||
     1919         test -x conftest$ac_exeext
     1920       }; then :
     1921  ac_retval=0
     1922else
     1923  $as_echo "$as_me: failed program was:" >&5
     1924sed 's/^/| /' conftest.$ac_ext >&5
     1925
     1926        ac_retval=1
     1927fi
     1928  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1929  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1930  # interfere with the next link command; also delete a directory that is
     1931  # left behind by Apple's compiler.  We do this before executing the actions.
     1932  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1933  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1934  as_fn_set_status $ac_retval
     1935
     1936} # ac_fn_cxx_try_link
     1937
     1938# ac_fn_cxx_check_func LINENO FUNC VAR
     1939# ------------------------------------
     1940# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1941ac_fn_cxx_check_func ()
     1942{
     1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1945$as_echo_n "checking for $2... " >&6; }
     1946if eval \${$3+:} false; then :
     1947  $as_echo_n "(cached) " >&6
     1948else
     1949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1950/* end confdefs.h.  */
     1951/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1952   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1953#define $2 innocuous_$2
     1954
     1955/* System header to define __stub macros and hopefully few prototypes,
     1956    which can conflict with char $2 (); below.
     1957    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1958    <limits.h> exists even on freestanding compilers.  */
     1959
     1960#ifdef __STDC__
     1961# include <limits.h>
     1962#else
     1963# include <assert.h>
     1964#endif
     1965
     1966#undef $2
     1967
     1968/* Override any GCC internal prototype to avoid an error.
     1969   Use char because int might match the return type of a GCC
     1970   builtin and then its argument prototype would still apply.  */
     1971#ifdef __cplusplus
     1972extern "C"
     1973#endif
     1974char $2 ();
     1975/* The GNU C library defines this for functions which it implements
     1976    to always fail with ENOSYS.  Some functions are actually named
     1977    something starting with __ and the normal name is an alias.  */
     1978#if defined __stub_$2 || defined __stub___$2
     1979choke me
     1980#endif
     1981
     1982int
     1983main ()
     1984{
     1985return $2 ();
     1986  ;
     1987  return 0;
     1988}
     1989_ACEOF
     1990if ac_fn_cxx_try_link "$LINENO"; then :
     1991  eval "$3=yes"
     1992else
     1993  eval "$3=no"
     1994fi
     1995rm -f core conftest.err conftest.$ac_objext \
     1996    conftest$ac_exeext conftest.$ac_ext
     1997fi
     1998eval ac_res=\$$3
     1999               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2000$as_echo "$ac_res" >&6; }
     2001  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2002
     2003} # ac_fn_cxx_check_func
     2004
     2005# ac_fn_cxx_try_cpp LINENO
     2006# ------------------------
     2007# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     2008ac_fn_cxx_try_cpp ()
     2009{
     2010  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2011  if { { ac_try="$ac_cpp conftest.$ac_ext"
     2012case "(($ac_try" in
     2013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2014  *) ac_try_echo=$ac_try;;
     2015esac
     2016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2017$as_echo "$ac_try_echo"; } >&5
     2018  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     2019  ac_status=$?
     2020  if test -s conftest.err; then
     2021    grep -v '^ *+' conftest.err >conftest.er1
     2022    cat conftest.er1 >&5
     2023    mv -f conftest.er1 conftest.err
     2024  fi
     2025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2026  test $ac_status = 0; } > conftest.i && {
     2027         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     2028         test ! -s conftest.err
     2029       }; then :
     2030  ac_retval=0
     2031else
     2032  $as_echo "$as_me: failed program was:" >&5
     2033sed 's/^/| /' conftest.$ac_ext >&5
     2034
     2035    ac_retval=1
     2036fi
     2037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2038  as_fn_set_status $ac_retval
     2039
     2040} # ac_fn_cxx_try_cpp
     2041
     2042# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2043# ---------------------------------------------------------
     2044# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2045# the include files in INCLUDES and setting the cache variable VAR
     2046# accordingly.
     2047ac_fn_cxx_check_header_mongrel ()
     2048{
     2049  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2050  if eval \${$3+:} false; then :
     2051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2052$as_echo_n "checking for $2... " >&6; }
     2053if eval \${$3+:} false; then :
     2054  $as_echo_n "(cached) " >&6
     2055fi
     2056eval ac_res=\$$3
     2057               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2058$as_echo "$ac_res" >&6; }
     2059else
     2060  # Is the header compilable?
     2061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2062$as_echo_n "checking $2 usability... " >&6; }
     2063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2064/* end confdefs.h.  */
     2065$4
     2066#include <$2>
     2067_ACEOF
     2068if ac_fn_cxx_try_compile "$LINENO"; then :
     2069  ac_header_compiler=yes
     2070else
     2071  ac_header_compiler=no
     2072fi
     2073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2075$as_echo "$ac_header_compiler" >&6; }
     2076
     2077# Is the header present?
     2078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2079$as_echo_n "checking $2 presence... " >&6; }
     2080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2081/* end confdefs.h.  */
     2082#include <$2>
     2083_ACEOF
     2084if ac_fn_cxx_try_cpp "$LINENO"; then :
     2085  ac_header_preproc=yes
     2086else
     2087  ac_header_preproc=no
     2088fi
     2089rm -f conftest.err conftest.i conftest.$ac_ext
     2090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2091$as_echo "$ac_header_preproc" >&6; }
     2092
     2093# So?  What about this header?
     2094case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2095  yes:no: )
     2096    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2097$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2098    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2099$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2100    ;;
     2101  no:yes:* )
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2103$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2105$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2107$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2109$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2111$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2112( $as_echo "## ----------------------------------- ##
     2113## Report this to rappture@nanohub.org ##
     2114## ----------------------------------- ##"
     2115     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2116    ;;
     2117esac
     2118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2119$as_echo_n "checking for $2... " >&6; }
     2120if eval \${$3+:} false; then :
     2121  $as_echo_n "(cached) " >&6
     2122else
     2123  eval "$3=\$ac_header_compiler"
     2124fi
     2125eval ac_res=\$$3
     2126               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2127$as_echo "$ac_res" >&6; }
     2128fi
     2129  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2130
     2131} # ac_fn_cxx_check_header_mongrel
     2132
     2133# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2134# ---------------------------------------------------------
     2135# Tests whether HEADER exists and can be compiled using the include files in
     2136# INCLUDES, setting the cache variable VAR accordingly.
     2137ac_fn_cxx_check_header_compile ()
     2138{
     2139  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2141$as_echo_n "checking for $2... " >&6; }
     2142if eval \${$3+:} false; then :
     2143  $as_echo_n "(cached) " >&6
     2144else
     2145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2146/* end confdefs.h.  */
     2147$4
     2148#include <$2>
     2149_ACEOF
     2150if ac_fn_cxx_try_compile "$LINENO"; then :
     2151  eval "$3=yes"
     2152else
     2153  eval "$3=no"
     2154fi
     2155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2156fi
     2157eval ac_res=\$$3
     2158               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2159$as_echo "$ac_res" >&6; }
     2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2161
     2162} # ac_fn_cxx_check_header_compile
     2163
     2164# ac_fn_cxx_try_run LINENO
     2165# ------------------------
     2166# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2167# that executables *can* be run.
     2168ac_fn_cxx_try_run ()
     2169{
     2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     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>&5
     2179  ac_status=$?
     2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2181  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2182  { { case "(($ac_try" in
     2183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2184  *) ac_try_echo=$ac_try;;
     2185esac
     2186eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2187$as_echo "$ac_try_echo"; } >&5
     2188  (eval "$ac_try") 2>&5
     2189  ac_status=$?
     2190  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2191  test $ac_status = 0; }; }; then :
     2192  ac_retval=0
     2193else
     2194  $as_echo "$as_me: program exited with status $ac_status" >&5
     2195       $as_echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198       ac_retval=$ac_status
     2199fi
     2200  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2201  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2202  as_fn_set_status $ac_retval
     2203
     2204} # ac_fn_cxx_try_run
     2205
     2206# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2207# ----------------------------------------------
     2208# Tries to find the compile-time value of EXPR in a program that includes
     2209# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2210# computed
     2211ac_fn_cxx_compute_int ()
     2212{
     2213  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2214  if test "$cross_compiling" = yes; then
     2215    # Depending upon the size, compute the lo and hi bounds.
     2216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2217/* end confdefs.h.  */
     2218$4
     2219int
     2220main ()
     2221{
     2222static int test_array [1 - 2 * !(($2) >= 0)];
     2223test_array [0] = 0;
     2224return test_array [0];
     2225
     2226  ;
     2227  return 0;
     2228}
     2229_ACEOF
     2230if ac_fn_cxx_try_compile "$LINENO"; then :
     2231  ac_lo=0 ac_mid=0
     2232  while :; do
     2233    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2234/* end confdefs.h.  */
     2235$4
     2236int
     2237main ()
     2238{
     2239static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2240test_array [0] = 0;
     2241return test_array [0];
     2242
     2243  ;
     2244  return 0;
     2245}
     2246_ACEOF
     2247if ac_fn_cxx_try_compile "$LINENO"; then :
     2248  ac_hi=$ac_mid; break
     2249else
     2250  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2251                        if test $ac_lo -le $ac_mid; then
     2252                          ac_lo= ac_hi=
     2253                          break
     2254                        fi
     2255                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2256fi
     2257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2258  done
     2259else
     2260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2261/* end confdefs.h.  */
     2262$4
     2263int
     2264main ()
     2265{
     2266static int test_array [1 - 2 * !(($2) < 0)];
     2267test_array [0] = 0;
     2268return test_array [0];
     2269
     2270  ;
     2271  return 0;
     2272}
     2273_ACEOF
     2274if ac_fn_cxx_try_compile "$LINENO"; then :
     2275  ac_hi=-1 ac_mid=-1
     2276  while :; do
     2277    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2278/* end confdefs.h.  */
     2279$4
     2280int
     2281main ()
     2282{
     2283static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2284test_array [0] = 0;
     2285return test_array [0];
     2286
     2287  ;
     2288  return 0;
     2289}
     2290_ACEOF
     2291if ac_fn_cxx_try_compile "$LINENO"; then :
     2292  ac_lo=$ac_mid; break
     2293else
     2294  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2295                        if test $ac_mid -le $ac_hi; then
     2296                          ac_lo= ac_hi=
     2297                          break
     2298                        fi
     2299                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2300fi
     2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2302  done
     2303else
     2304  ac_lo= ac_hi=
     2305fi
     2306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2307fi
     2308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2309# Binary search between lo and hi bounds.
     2310while test "x$ac_lo" != "x$ac_hi"; do
     2311  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2313/* end confdefs.h.  */
     2314$4
     2315int
     2316main ()
     2317{
     2318static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2319test_array [0] = 0;
     2320return test_array [0];
     2321
     2322  ;
     2323  return 0;
     2324}
     2325_ACEOF
     2326if ac_fn_cxx_try_compile "$LINENO"; then :
     2327  ac_hi=$ac_mid
     2328else
     2329  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2330fi
     2331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2332done
     2333case $ac_lo in #((
     2334?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2335'') ac_retval=1 ;;
     2336esac
     2337  else
     2338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2339/* end confdefs.h.  */
     2340$4
     2341static long int longval () { return $2; }
     2342static unsigned long int ulongval () { return $2; }
     2343#include <stdio.h>
     2344#include <stdlib.h>
     2345int
     2346main ()
     2347{
     2348
     2349  FILE *f = fopen ("conftest.val", "w");
     2350  if (! f)
     2351    return 1;
     2352  if (($2) < 0)
     2353    {
     2354      long int i = longval ();
     2355      if (i != ($2))
     2356        return 1;
     2357      fprintf (f, "%ld", i);
     2358    }
     2359  else
     2360    {
     2361      unsigned long int i = ulongval ();
     2362      if (i != ($2))
     2363        return 1;
     2364      fprintf (f, "%lu", i);
     2365    }
     2366  /* Do not output a trailing newline, as this causes \r\n confusion
     2367     on some platforms.  */
     2368  return ferror (f) || fclose (f) != 0;
     2369
     2370  ;
     2371  return 0;
     2372}
     2373_ACEOF
     2374if ac_fn_cxx_try_run "$LINENO"; then :
     2375  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2376else
     2377  ac_retval=1
     2378fi
     2379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2380  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2381rm -f conftest.val
     2382
     2383  fi
     2384  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2385  as_fn_set_status $ac_retval
     2386
     2387} # ac_fn_cxx_compute_int
    16082388cat >config.log <<_ACEOF
    16092389This file contains any messages produced by compilers while
     
    16112391
    16122392It was created by Rappture $as_me 1.3, which was
    1613 generated by GNU Autoconf 2.63.  Invocation command line was
     2393generated by GNU Autoconf 2.69.  Invocation command line was
    16142394
    16152395  $ $0 $@
     
    16472427  IFS=$as_save_IFS
    16482428  test -z "$as_dir" && as_dir=.
    1649   $as_echo "PATH: $as_dir"
    1650 done
     2429    $as_echo "PATH: $as_dir"
     2430  done
    16512431IFS=$as_save_IFS
    16522432
     
    16852465    esac
    16862466    case $ac_pass in
    1687     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2467    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    16882468    2)
    1689       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2469      as_fn_append ac_configure_args1 " '$ac_arg'"
    16902470      if test $ac_must_keep_next = true; then
    16912471        ac_must_keep_next=false # Got value, back to normal.
     
    17032483        esac
    17042484      fi
    1705       ac_configure_args="$ac_configure_args '$ac_arg'"
     2485      as_fn_append ac_configure_args " '$ac_arg'"
    17062486      ;;
    17072487    esac
    17082488  done
    17092489done
    1710 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1711 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2490{ ac_configure_args0=; unset ac_configure_args0;}
     2491{ ac_configure_args1=; unset ac_configure_args1;}
    17122492
    17132493# When interrupted or exit'd, cleanup temporary files, and complete
     
    17212501    echo
    17222502
    1723     cat <<\_ASBOX
    1724 ## ---------------- ##
     2503    $as_echo "## ---------------- ##
    17252504## Cache variables. ##
    1726 ## ---------------- ##
    1727 _ASBOX
     2505## ---------------- ##"
    17282506    echo
    17292507    # The following way of writing the cache mishandles newlines in values,
     
    17342512    *${as_nl}*)
    17352513      case $ac_var in #(
    1736       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2514      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    17372515$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    17382516      esac
     
    17402518      _ | IFS | as_nl) ;; #(
    17412519      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1742       *) $as_unset $ac_var ;;
     2520      *) { eval $ac_var=; unset $ac_var;} ;;
    17432521      esac ;;
    17442522    esac
     
    17592537    echo
    17602538
    1761     cat <<\_ASBOX
    1762 ## ----------------- ##
     2539    $as_echo "## ----------------- ##
    17632540## Output variables. ##
    1764 ## ----------------- ##
    1765 _ASBOX
     2541## ----------------- ##"
    17662542    echo
    17672543    for ac_var in $ac_subst_vars
     
    17762552
    17772553    if test -n "$ac_subst_files"; then
    1778       cat <<\_ASBOX
    1779 ## ------------------- ##
     2554      $as_echo "## ------------------- ##
    17802555## File substitutions. ##
    1781 ## ------------------- ##
    1782 _ASBOX
     2556## ------------------- ##"
    17832557      echo
    17842558      for ac_var in $ac_subst_files
     
    17942568
    17952569    if test -s confdefs.h; then
    1796       cat <<\_ASBOX
    1797 ## ----------- ##
     2570      $as_echo "## ----------- ##
    17982571## confdefs.h. ##
    1799 ## ----------- ##
    1800 _ASBOX
     2572## ----------- ##"
    18012573      echo
    18022574      cat confdefs.h
     
    18122584' 0
    18132585for ac_signal in 1 2 13 15; do
    1814   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2586  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    18152587done
    18162588ac_signal=0
     
    18192591rm -f -r conftest* confdefs.h
    18202592
     2593$as_echo "/* confdefs.h */" > confdefs.h
     2594
    18212595# Predefined preprocessor variables.
    18222596
     
    18252599_ACEOF
    18262600
    1827 
    18282601cat >>confdefs.h <<_ACEOF
    18292602#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18302603_ACEOF
    18312604
    1832 
    18332605cat >>confdefs.h <<_ACEOF
    18342606#define PACKAGE_VERSION "$PACKAGE_VERSION"
    18352607_ACEOF
    18362608
    1837 
    18382609cat >>confdefs.h <<_ACEOF
    18392610#define PACKAGE_STRING "$PACKAGE_STRING"
    18402611_ACEOF
    18412612
    1842 
    18432613cat >>confdefs.h <<_ACEOF
    18442614#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2615_ACEOF
     2616
     2617cat >>confdefs.h <<_ACEOF
     2618#define PACKAGE_URL "$PACKAGE_URL"
    18452619_ACEOF
    18462620
     
    18512625ac_site_file2=NONE
    18522626if test -n "$CONFIG_SITE"; then
    1853   ac_site_file1=$CONFIG_SITE
     2627  # We do not want a PATH search for config.site.
     2628  case $CONFIG_SITE in #((
     2629    -*)  ac_site_file1=./$CONFIG_SITE;;
     2630    */*) ac_site_file1=$CONFIG_SITE;;
     2631    *)   ac_site_file1=./$CONFIG_SITE;;
     2632  esac
    18542633elif test "x$prefix" != xNONE; then
    18552634  ac_site_file1=$prefix/share/config.site
     
    18622641do
    18632642  test "x$ac_site_file" = xNONE && continue
    1864   if test -r "$ac_site_file"; then
    1865     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2643  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2644    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    18662645$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    18672646    sed 's/^/| /' "$ac_site_file" >&5
    1868     . "$ac_site_file"
     2647    . "$ac_site_file" \
     2648      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2650as_fn_error $? "failed to load site script $ac_site_file
     2651See \`config.log' for more details" "$LINENO" 5; }
    18692652  fi
    18702653done
    18712654
    18722655if test -r "$cache_file"; then
    1873   # Some versions of bash will fail to source /dev/null (special
    1874   # files actually), so we avoid doing that.
    1875   if test -f "$cache_file"; then
    1876     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2656  # Some versions of bash will fail to source /dev/null (special files
     2657  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2658  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2659    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    18772660$as_echo "$as_me: loading cache $cache_file" >&6;}
    18782661    case $cache_file in
     
    18822665  fi
    18832666else
    1884   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2667  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    18852668$as_echo "$as_me: creating cache $cache_file" >&6;}
    18862669  >$cache_file
     
    18972680  case $ac_old_set,$ac_new_set in
    18982681    set,)
    1899       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2682      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    19002683$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    19012684      ac_cache_corrupted=: ;;
    19022685    ,set)
    1903       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2686      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    19042687$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    19052688      ac_cache_corrupted=: ;;
     
    19112694        ac_new_val_w=`echo x $ac_new_val`
    19122695        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1913           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2696          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    19142697$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    19152698          ac_cache_corrupted=:
    19162699        else
    1917           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2700          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    19182701$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19192702          eval $ac_var=\$ac_old_val
    19202703        fi
    1921         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2704        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    19222705$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1923         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2706        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    19242707$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19252708      fi;;
     
    19332716    case " $ac_configure_args " in
    19342717      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1935       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2718      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    19362719    esac
    19372720  fi
    19382721done
    19392722if $ac_cache_corrupted; then
    1940   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2723  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    19412724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1942   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2725  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    19432726$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1944   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1946    { (exit 1); exit 1; }; }
    1947 fi
    1948 
    1949 
    1950 
    1951 
    1952 
    1953 
    1954 
    1955 
    1956 
    1957 
    1958 
    1959 
    1960 
    1961 
    1962 
    1963 
    1964 
    1965 
    1966 
    1967 
    1968 
    1969 
    1970 
    1971 
     2727  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2728fi
     2729## -------------------- ##
     2730## Main body of script. ##
     2731## -------------------- ##
    19722732
    19732733ac_ext=c
     
    19952755done
    19962756if test -z "$ac_aux_dir"; then
    1997   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1998 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1999    { (exit 1); exit 1; }; }
     2757  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    20002758fi
    20012759
     
    20252783
    20262784# Check whether --with-install was given.
    2027 if test "${with_install+set}" = set; then
     2785if test "${with_install+set}" = set; then :
    20282786  withval=$with_install;
    20292787else
     
    20602818# ./install, which can be erroneously created by make from ./install.sh.
    20612819# Reject install programs that cannot install multiple files.
    2062 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    20632821$as_echo_n "checking for a BSD-compatible install... " >&6; }
    20642822if test -z "$INSTALL"; then
    2065 if test "${ac_cv_path_install+set}" = set; then
     2823if ${ac_cv_path_install+:} false; then :
    20662824  $as_echo_n "(cached) " >&6
    20672825else
     
    20712829  IFS=$as_save_IFS
    20722830  test -z "$as_dir" && as_dir=.
    2073   # Account for people who put trailing slashes in PATH elements.
    2074 case $as_dir/ in
    2075   ./ | .// | /cC/* | \
     2831    # Account for people who put trailing slashes in PATH elements.
     2832case $as_dir/ in #((
     2833  ./ | .// | /[cC]/* | \
    20762834  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2077   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2835  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    20782836  /usr/ucb/* ) ;;
    20792837  *)
     
    20832841    for ac_prog in ginstall scoinst install; do
    20842842      for ac_exec_ext in '' $ac_executable_extensions; do
    2085         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2843        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    20862844          if test $ac_prog = install &&
    20872845            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    21122870esac
    21132871
    2114 done
     2872  done
    21152873IFS=$as_save_IFS
    21162874
     
    21282886  fi
    21292887fi
    2130 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    21312889$as_echo "$INSTALL" >&6; }
    21322890
     
    21392897test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21402898
    2141 # Find a good install program.  We prefer a C program (faster),
    2142 # so one script is as good as another.  But avoid the broken or
    2143 # incompatible versions:
    2144 # SysV /etc/install, /usr/sbin/install
    2145 # SunOS /usr/etc/install
    2146 # IRIX /sbin/install
    2147 # AIX /bin/install
    2148 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2152 # OS/2's system install, which has a completely different semantic
    2153 # ./install, which can be erroneously created by make from ./install.sh.
    2154 # Reject install programs that cannot install multiple files.
    2155 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2156 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    2157 if test -z "$INSTALL"; then
    2158 if test "${ac_cv_path_install+set}" = set; then
    2159   $as_echo_n "(cached) " >&6
    2160 else
    2161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2162 for as_dir in $PATH
    2163 do
    2164   IFS=$as_save_IFS
    2165   test -z "$as_dir" && as_dir=.
    2166   # Account for people who put trailing slashes in PATH elements.
    2167 case $as_dir/ in
    2168   ./ | .// | /cC/* | \
    2169   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2170   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2171   /usr/ucb/* ) ;;
    2172   *)
    2173     # OSF1 and SCO ODT 3.0 have their own names for install.
    2174     # Don't use installbsd from OSF since it installs stuff as root
    2175     # by default.
    2176     for ac_prog in ginstall scoinst install; do
    2177       for ac_exec_ext in '' $ac_executable_extensions; do
    2178         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2179           if test $ac_prog = install &&
    2180             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2181             # AIX install.  It has an incompatible calling convention.
    2182             :
    2183           elif test $ac_prog = install &&
    2184             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2185             # program-specific install script used by HP pwplus--don't use.
    2186             :
    2187           else
    2188             rm -rf conftest.one conftest.two conftest.dir
    2189             echo one > conftest.one
    2190             echo two > conftest.two
    2191             mkdir conftest.dir
    2192             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    2193               test -s conftest.one && test -s conftest.two &&
    2194               test -s conftest.dir/conftest.one &&
    2195               test -s conftest.dir/conftest.two
    2196             then
    2197               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2198               break 3
    2199             fi
    2200           fi
    2201         fi
    2202       done
    2203     done
    2204     ;;
    2205 esac
    2206 
    2207 done
    2208 IFS=$as_save_IFS
    2209 
    2210 rm -rf conftest.one conftest.two conftest.dir
    2211 
    2212 fi
    2213   if test "${ac_cv_path_install+set}" = set; then
    2214     INSTALL=$ac_cv_path_install
    2215   else
    2216     # As a last resort, use the slow shell script.  Don't cache a
    2217     # value for INSTALL within a source directory, because that will
    2218     # break other packages using the cache if that directory is
    2219     # removed, or if the value is a relative name.
    2220     INSTALL=$ac_install_sh
    2221   fi
    2222 fi
    2223 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    2224 $as_echo "$INSTALL" >&6; }
    2225 
    2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2227 # It thinks the first close brace ends the variable substitution.
    2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2229 
    2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2231 
    2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    22332899
    22342900if test -n "$ac_tool_prefix"; then
    22352901  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    22362902set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22382904$as_echo_n "checking for $ac_word... " >&6; }
    2239 if test "${ac_cv_prog_RANLIB+set}" = set; then
     2905if ${ac_cv_prog_RANLIB+:} false; then :
    22402906  $as_echo_n "(cached) " >&6
    22412907else
     
    22482914  IFS=$as_save_IFS
    22492915  test -z "$as_dir" && as_dir=.
    2250   for ac_exec_ext in '' $ac_executable_extensions; do
    2251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2916    for ac_exec_ext in '' $ac_executable_extensions; do
     2917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22522918    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2253     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22542920    break 2
    22552921  fi
    22562922done
    2257 done
     2923  done
    22582924IFS=$as_save_IFS
    22592925
     
    22622928RANLIB=$ac_cv_prog_RANLIB
    22632929if test -n "$RANLIB"; then
    2264   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    22652931$as_echo "$RANLIB" >&6; }
    22662932else
    2267   { $as_echo "$as_me:$LINENO: result: no" >&5
     2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22682934$as_echo "no" >&6; }
    22692935fi
     
    22752941  # Extract the first word of "ranlib", so it can be a program name with args.
    22762942set dummy ranlib; ac_word=$2
    2277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22782944$as_echo_n "checking for $ac_word... " >&6; }
    2279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2945if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    22802946  $as_echo_n "(cached) " >&6
    22812947else
     
    22882954  IFS=$as_save_IFS
    22892955  test -z "$as_dir" && as_dir=.
    2290   for ac_exec_ext in '' $ac_executable_extensions; do
    2291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2956    for ac_exec_ext in '' $ac_executable_extensions; do
     2957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22922958    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2293     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22942960    break 2
    22952961  fi
    22962962done
    2297 done
     2963  done
    22982964IFS=$as_save_IFS
    22992965
     
    23022968ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    23032969if test -n "$ac_ct_RANLIB"; then
    2304   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    23052971$as_echo "$ac_ct_RANLIB" >&6; }
    23062972else
    2307   { $as_echo "$as_me:$LINENO: result: no" >&5
     2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23082974$as_echo "no" >&6; }
    23092975fi
     
    23142980    case $cross_compiling:$ac_tool_warned in
    23152981yes:)
    2316 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2982{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    23172983$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23182984ac_tool_warned=yes ;;
     
    23242990fi
    23252991
    2326 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    23272993$as_echo_n "checking whether ln -s works... " >&6; }
    23282994LN_S=$as_ln_s
    23292995if test "$LN_S" = "ln -s"; then
    2330   { $as_echo "$as_me:$LINENO: result: yes" >&5
     2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23312997$as_echo "yes" >&6; }
    23322998else
    2333   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    23343000$as_echo "no, using $LN_S" >&6; }
    23353001fi
    23363002
    2337 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    23383004$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    23393005if test -z "$MKDIR_P"; then
    2340   if test "${ac_cv_path_mkdir+set}" = set; then
     3006  if ${ac_cv_path_mkdir+:} false; then :
    23413007  $as_echo_n "(cached) " >&6
    23423008else
     
    23463012  IFS=$as_save_IFS
    23473013  test -z "$as_dir" && as_dir=.
    2348   for ac_prog in mkdir gmkdir; do
     3014    for ac_prog in mkdir gmkdir; do
    23493015         for ac_exec_ext in '' $ac_executable_extensions; do
    2350            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     3016           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    23513017           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    23523018             'mkdir (GNU coreutils) '* | \
     
    23583024         done
    23593025       done
    2360 done
     3026  done
    23613027IFS=$as_save_IFS
    23623028
    23633029fi
    23643030
     3031  test -d ./--version && rmdir ./--version
    23653032  if test "${ac_cv_path_mkdir+set}" = set; then
    23663033    MKDIR_P="$ac_cv_path_mkdir -p"
     
    23703037    # break other packages using the cache if that directory is
    23713038    # removed, or if the value is a relative name.
    2372     test -d ./--version && rmdir ./--version
    23733039    MKDIR_P="$ac_install_sh -d"
    23743040  fi
    23753041fi
    2376 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    23773043$as_echo "$MKDIR_P" >&6; }
    23783044
    2379 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    23803046$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    23813047set x ${MAKE-make}
    23823048ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2383 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3049if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    23843050  $as_echo_n "(cached) " >&6
    23853051else
     
    23893055        @echo '@@@%%%=$(MAKE)=@@@%%%'
    23903056_ACEOF
    2391 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3057# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    23923058case `${MAKE-make} -f conftest.make 2>/dev/null` in
    23933059  *@@@%%%=?*=@@@%%%*)
     
    23993065fi
    24003066if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2401   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    24023068$as_echo "yes" >&6; }
    24033069  SET_MAKE=
    24043070else
    2405   { $as_echo "$as_me:$LINENO: result: no" >&5
     3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24063072$as_echo "no" >&6; }
    24073073  SET_MAKE="MAKE=${MAKE-make}"
     
    24183084  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24193085set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24213087$as_echo_n "checking for $ac_word... " >&6; }
    2422 if test "${ac_cv_prog_CC+set}" = set; then
     3088if ${ac_cv_prog_CC+:} false; then :
    24233089  $as_echo_n "(cached) " >&6
    24243090else
     
    24313097  IFS=$as_save_IFS
    24323098  test -z "$as_dir" && as_dir=.
    2433   for ac_exec_ext in '' $ac_executable_extensions; do
    2434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3099    for ac_exec_ext in '' $ac_executable_extensions; do
     3100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24353101    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2436     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24373103    break 2
    24383104  fi
    24393105done
    2440 done
     3106  done
    24413107IFS=$as_save_IFS
    24423108
     
    24453111CC=$ac_cv_prog_CC
    24463112if test -n "$CC"; then
    2447   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    24483114$as_echo "$CC" >&6; }
    24493115else
    2450   { $as_echo "$as_me:$LINENO: result: no" >&5
     3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24513117$as_echo "no" >&6; }
    24523118fi
     
    24583124  # Extract the first word of "gcc", so it can be a program name with args.
    24593125set dummy gcc; ac_word=$2
    2460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24613127$as_echo_n "checking for $ac_word... " >&6; }
    2462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3128if ${ac_cv_prog_ac_ct_CC+:} false; then :
    24633129  $as_echo_n "(cached) " >&6
    24643130else
     
    24713137  IFS=$as_save_IFS
    24723138  test -z "$as_dir" && as_dir=.
    2473   for ac_exec_ext in '' $ac_executable_extensions; do
    2474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3139    for ac_exec_ext in '' $ac_executable_extensions; do
     3140  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24753141    ac_cv_prog_ac_ct_CC="gcc"
    2476     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24773143    break 2
    24783144  fi
    24793145done
    2480 done
     3146  done
    24813147IFS=$as_save_IFS
    24823148
     
    24853151ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24863152if test -n "$ac_ct_CC"; then
    2487   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    24883154$as_echo "$ac_ct_CC" >&6; }
    24893155else
    2490   { $as_echo "$as_me:$LINENO: result: no" >&5
     3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24913157$as_echo "no" >&6; }
    24923158fi
     
    24973163    case $cross_compiling:$ac_tool_warned in
    24983164yes:)
    2499 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    25003166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    25013167ac_tool_warned=yes ;;
     
    25113177    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    25123178set dummy ${ac_tool_prefix}cc; ac_word=$2
    2513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25143180$as_echo_n "checking for $ac_word... " >&6; }
    2515 if test "${ac_cv_prog_CC+set}" = set; then
     3181if ${ac_cv_prog_CC+:} false; then :
    25163182  $as_echo_n "(cached) " >&6
    25173183else
     
    25243190  IFS=$as_save_IFS
    25253191  test -z "$as_dir" && as_dir=.
    2526   for ac_exec_ext in '' $ac_executable_extensions; do
    2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3192    for ac_exec_ext in '' $ac_executable_extensions; do
     3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25283194    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2529     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25303196    break 2
    25313197  fi
    25323198done
    2533 done
     3199  done
    25343200IFS=$as_save_IFS
    25353201
     
    25383204CC=$ac_cv_prog_CC
    25393205if test -n "$CC"; then
    2540   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25413207$as_echo "$CC" >&6; }
    25423208else
    2543   { $as_echo "$as_me:$LINENO: result: no" >&5
     3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25443210$as_echo "no" >&6; }
    25453211fi
     
    25513217  # Extract the first word of "cc", so it can be a program name with args.
    25523218set dummy cc; ac_word=$2
    2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25543220$as_echo_n "checking for $ac_word... " >&6; }
    2555 if test "${ac_cv_prog_CC+set}" = set; then
     3221if ${ac_cv_prog_CC+:} false; then :
    25563222  $as_echo_n "(cached) " >&6
    25573223else
     
    25653231  IFS=$as_save_IFS
    25663232  test -z "$as_dir" && as_dir=.
    2567   for ac_exec_ext in '' $ac_executable_extensions; do
    2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3233    for ac_exec_ext in '' $ac_executable_extensions; do
     3234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25693235    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    25703236       ac_prog_rejected=yes
     
    25723238     fi
    25733239    ac_cv_prog_CC="cc"
    2574     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25753241    break 2
    25763242  fi
    25773243done
    2578 done
     3244  done
    25793245IFS=$as_save_IFS
    25803246
     
    25953261CC=$ac_cv_prog_CC
    25963262if test -n "$CC"; then
    2597   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25983264$as_echo "$CC" >&6; }
    25993265else
    2600   { $as_echo "$as_me:$LINENO: result: no" >&5
     3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26013267$as_echo "no" >&6; }
    26023268fi
     
    26103276    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    26113277set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26133279$as_echo_n "checking for $ac_word... " >&6; }
    2614 if test "${ac_cv_prog_CC+set}" = set; then
     3280if ${ac_cv_prog_CC+:} false; then :
    26153281  $as_echo_n "(cached) " >&6
    26163282else
     
    26233289  IFS=$as_save_IFS
    26243290  test -z "$as_dir" && as_dir=.
    2625   for ac_exec_ext in '' $ac_executable_extensions; do
    2626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3291    for ac_exec_ext in '' $ac_executable_extensions; do
     3292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26273293    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2628     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26293295    break 2
    26303296  fi
    26313297done
    2632 done
     3298  done
    26333299IFS=$as_save_IFS
    26343300
     
    26373303CC=$ac_cv_prog_CC
    26383304if test -n "$CC"; then
    2639   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    26403306$as_echo "$CC" >&6; }
    26413307else
    2642   { $as_echo "$as_me:$LINENO: result: no" >&5
     3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26433309$as_echo "no" >&6; }
    26443310fi
     
    26543320  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26553321set dummy $ac_prog; ac_word=$2
    2656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26573323$as_echo_n "checking for $ac_word... " >&6; }
    2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3324if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26593325  $as_echo_n "(cached) " >&6
    26603326else
     
    26673333  IFS=$as_save_IFS
    26683334  test -z "$as_dir" && as_dir=.
    2669   for ac_exec_ext in '' $ac_executable_extensions; do
    2670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3335    for ac_exec_ext in '' $ac_executable_extensions; do
     3336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26713337    ac_cv_prog_ac_ct_CC="$ac_prog"
    2672     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26733339    break 2
    26743340  fi
    26753341done
    2676 done
     3342  done
    26773343IFS=$as_save_IFS
    26783344
     
    26813347ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26823348if test -n "$ac_ct_CC"; then
    2683   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    26843350$as_echo "$ac_ct_CC" >&6; }
    26853351else
    2686   { $as_echo "$as_me:$LINENO: result: no" >&5
     3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26873353$as_echo "no" >&6; }
    26883354fi
     
    26973363    case $cross_compiling:$ac_tool_warned in
    26983364yes:)
    2699 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    27003366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    27013367ac_tool_warned=yes ;;
     
    27083374
    27093375
    2710 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3376test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    27113377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2712 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2713 See \`config.log' for more details." >&5
    2714 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2715 See \`config.log' for more details." >&2;}
    2716    { (exit 1); exit 1; }; }; }
     3378as_fn_error $? "no acceptable C compiler found in \$PATH
     3379See \`config.log' for more details" "$LINENO" 5; }
    27173380
    27183381# Provide some information about the compiler.
    2719 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3382$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27203383set X $ac_compile
    27213384ac_compiler=$2
    2722 { (ac_try="$ac_compiler --version >&5"
     3385for ac_option in --version -v -V -qversion; do
     3386  { { ac_try="$ac_compiler $ac_option >&5"
    27233387case "(($ac_try" in
    27243388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27253389  *) ac_try_echo=$ac_try;;
    27263390esac
    2727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2728 $as_echo "$ac_try_echo") >&5
    2729   (eval "$ac_compiler --version >&5") 2>&5
     3391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3392$as_echo "$ac_try_echo"; } >&5
     3393  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    27303394  ac_status=$?
    2731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2732   (exit $ac_status); }
    2733 { (ac_try="$ac_compiler -v >&5"
    2734 case "(($ac_try" in
    2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2736   *) ac_try_echo=$ac_try;;
    2737 esac
    2738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2739 $as_echo "$ac_try_echo") >&5
    2740   (eval "$ac_compiler -v >&5") 2>&5
    2741   ac_status=$?
    2742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2743   (exit $ac_status); }
    2744 { (ac_try="$ac_compiler -V >&5"
    2745 case "(($ac_try" in
    2746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2747   *) ac_try_echo=$ac_try;;
    2748 esac
    2749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2750 $as_echo "$ac_try_echo") >&5
    2751   (eval "$ac_compiler -V >&5") 2>&5
    2752   ac_status=$?
    2753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2754   (exit $ac_status); }
    2755 
    2756 cat >conftest.$ac_ext <<_ACEOF
    2757 /* confdefs.h.  */
    2758 _ACEOF
    2759 cat confdefs.h >>conftest.$ac_ext
    2760 cat >>conftest.$ac_ext <<_ACEOF
     3395  if test -s conftest.err; then
     3396    sed '10a\
     3397... rest of stderr output deleted ...
     3398         10q' conftest.err >conftest.er1
     3399    cat conftest.er1 >&5
     3400  fi
     3401  rm -f conftest.er1 conftest.err
     3402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3403  test $ac_status = 0; }
     3404done
     3405
     3406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27613407/* end confdefs.h.  */
    27623408
     
    27743420# It will help us diagnose broken compilers, and finding out an intuition
    27753421# of exeext.
    2776 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3423$as_echo_n "checking whether the C compiler works... " >&6; }
    27783424ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27793425
     
    27913437rm -f $ac_rmfiles
    27923438
    2793 if { (ac_try="$ac_link_default"
     3439if { { ac_try="$ac_link_default"
    27943440case "(($ac_try" in
    27953441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27963442  *) ac_try_echo=$ac_try;;
    27973443esac
    2798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2799 $as_echo "$ac_try_echo") >&5
     3444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3445$as_echo "$ac_try_echo"; } >&5
    28003446  (eval "$ac_link_default") 2>&5
    28013447  ac_status=$?
    2802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2803   (exit $ac_status); }; then
     3448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3449  test $ac_status = 0; }; then :
    28043450  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    28053451# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    28183464        break;;
    28193465    *.* )
    2820         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3466        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    28213467        then :; else
    28223468           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    28373483  ac_file=''
    28383484fi
    2839 
    2840 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3485if test -z "$ac_file"; then :
     3486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3487$as_echo "no" >&6; }
     3488$as_echo "$as_me: failed program was:" >&5
     3489sed 's/^/| /' conftest.$ac_ext >&5
     3490
     3491{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3493as_fn_error 77 "C compiler cannot create executables
     3494See \`config.log' for more details" "$LINENO" 5; }
     3495else
     3496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3497$as_echo "yes" >&6; }
     3498fi
     3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3500$as_echo_n "checking for C compiler default output file name... " >&6; }
     3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28413502$as_echo "$ac_file" >&6; }
    2842 if test -z "$ac_file"; then
    2843   $as_echo "$as_me: failed program was:" >&5
    2844 sed 's/^/| /' conftest.$ac_ext >&5
    2845 
    2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2848 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2849 See \`config.log' for more details." >&5
    2850 $as_echo "$as_me: error: C compiler cannot create executables
    2851 See \`config.log' for more details." >&2;}
    2852    { (exit 77); exit 77; }; }; }
    2853 fi
    2854 
    28553503ac_exeext=$ac_cv_exeext
    2856 
    2857 # Check that the compiler produces executables we can run.  If not, either
    2858 # the compiler is broken, or we cross compile.
    2859 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2860 $as_echo_n "checking whether the C compiler works... " >&6; }
    2861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2862 # If not cross compiling, check that we can run a simple program.
    2863 if test "$cross_compiling" != yes; then
    2864   if { ac_try='./$ac_file'
    2865   { (case "(($ac_try" in
    2866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2867   *) ac_try_echo=$ac_try;;
    2868 esac
    2869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2870 $as_echo "$ac_try_echo") >&5
    2871   (eval "$ac_try") 2>&5
    2872   ac_status=$?
    2873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2874   (exit $ac_status); }; }; then
    2875     cross_compiling=no
    2876   else
    2877     if test "$cross_compiling" = maybe; then
    2878         cross_compiling=yes
    2879     else
    2880         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2882 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2883 If you meant to cross compile, use \`--host'.
    2884 See \`config.log' for more details." >&5
    2885 $as_echo "$as_me: error: cannot run C compiled programs.
    2886 If you meant to cross compile, use \`--host'.
    2887 See \`config.log' for more details." >&2;}
    2888    { (exit 1); exit 1; }; }; }
    2889     fi
    2890   fi
    2891 fi
    2892 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2893 $as_echo "yes" >&6; }
    28943504
    28953505rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    28963506ac_clean_files=$ac_clean_files_save
    2897 # Check that the compiler produces executables we can run.  If not, either
    2898 # the compiler is broken, or we cross compile.
    2899 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2900 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2901 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2902 $as_echo "$cross_compiling" >&6; }
    2903 
    2904 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    29053508$as_echo_n "checking for suffix of executables... " >&6; }
    2906 if { (ac_try="$ac_link"
     3509if { { ac_try="$ac_link"
    29073510case "(($ac_try" in
    29083511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29093512  *) ac_try_echo=$ac_try;;
    29103513esac
    2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2912 $as_echo "$ac_try_echo") >&5
     3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3515$as_echo "$ac_try_echo"; } >&5
    29133516  (eval "$ac_link") 2>&5
    29143517  ac_status=$?
    2915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2916   (exit $ac_status); }; then
     3518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3519  test $ac_status = 0; }; then :
    29173520  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29183521# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29293532done
    29303533else
    2931   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3534  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29323535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2933 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2934 See \`config.log' for more details." >&5
    2935 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2936 See \`config.log' for more details." >&2;}
    2937    { (exit 1); exit 1; }; }; }
    2938 fi
    2939 
    2940 rm -f conftest$ac_cv_exeext
    2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3536as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3537See \`config.log' for more details" "$LINENO" 5; }
     3538fi
     3539rm -f conftest conftest$ac_cv_exeext
     3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    29423541$as_echo "$ac_cv_exeext" >&6; }
    29433542
     
    29453544EXEEXT=$ac_cv_exeext
    29463545ac_exeext=$EXEEXT
    2947 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2948 $as_echo_n "checking for suffix of object files... " >&6; }
    2949 if test "${ac_cv_objext+set}" = set; then
    2950   $as_echo_n "(cached) " >&6
    2951 else
    2952   cat >conftest.$ac_ext <<_ACEOF
    2953 /* confdefs.h.  */
    2954 _ACEOF
    2955 cat confdefs.h >>conftest.$ac_ext
    2956 cat >>conftest.$ac_ext <<_ACEOF
     3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29573547/* end confdefs.h.  */
    2958 
     3548#include <stdio.h>
    29593549int
    29603550main ()
    29613551{
     3552FILE *f = fopen ("conftest.out", "w");
     3553 return ferror (f) || fclose (f) != 0;
    29623554
    29633555  ;
     
    29653557}
    29663558_ACEOF
    2967 rm -f conftest.o conftest.obj
    2968 if { (ac_try="$ac_compile"
     3559ac_clean_files="$ac_clean_files conftest.out"
     3560# Check that the compiler produces executables we can run.  If not, either
     3561# the compiler is broken, or we cross compile.
     3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3563$as_echo_n "checking whether we are cross compiling... " >&6; }
     3564if test "$cross_compiling" != yes; then
     3565  { { ac_try="$ac_link"
    29693566case "(($ac_try" in
    29703567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29713568  *) ac_try_echo=$ac_try;;
    29723569esac
    2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2974 $as_echo "$ac_try_echo") >&5
     3570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3571$as_echo "$ac_try_echo"; } >&5
     3572  (eval "$ac_link") 2>&5
     3573  ac_status=$?
     3574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3575  test $ac_status = 0; }
     3576  if { ac_try='./conftest$ac_cv_exeext'
     3577  { { case "(($ac_try" in
     3578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3579  *) ac_try_echo=$ac_try;;
     3580esac
     3581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3582$as_echo "$ac_try_echo"; } >&5
     3583  (eval "$ac_try") 2>&5
     3584  ac_status=$?
     3585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3586  test $ac_status = 0; }; }; then
     3587    cross_compiling=no
     3588  else
     3589    if test "$cross_compiling" = maybe; then
     3590        cross_compiling=yes
     3591    else
     3592        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3594as_fn_error $? "cannot run C compiled programs.
     3595If you meant to cross compile, use \`--host'.
     3596See \`config.log' for more details" "$LINENO" 5; }
     3597    fi
     3598  fi
     3599fi
     3600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3601$as_echo "$cross_compiling" >&6; }
     3602
     3603rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3604ac_clean_files=$ac_clean_files_save
     3605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3606$as_echo_n "checking for suffix of object files... " >&6; }
     3607if ${ac_cv_objext+:} false; then :
     3608  $as_echo_n "(cached) " >&6
     3609else
     3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3611/* end confdefs.h.  */
     3612
     3613int
     3614main ()
     3615{
     3616
     3617  ;
     3618  return 0;
     3619}
     3620_ACEOF
     3621rm -f conftest.o conftest.obj
     3622if { { ac_try="$ac_compile"
     3623case "(($ac_try" in
     3624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3625  *) ac_try_echo=$ac_try;;
     3626esac
     3627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3628$as_echo "$ac_try_echo"; } >&5
    29753629  (eval "$ac_compile") 2>&5
    29763630  ac_status=$?
    2977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2978   (exit $ac_status); }; then
     3631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3632  test $ac_status = 0; }; then :
    29793633  for ac_file in conftest.o conftest.obj conftest.*; do
    29803634  test -f "$ac_file" || continue;
     
    29893643sed 's/^/| /' conftest.$ac_ext >&5
    29903644
    2991 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3645{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29923646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2993 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2994 See \`config.log' for more details." >&5
    2995 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2996 See \`config.log' for more details." >&2;}
    2997    { (exit 1); exit 1; }; }; }
    2998 fi
    2999 
     3647as_fn_error $? "cannot compute suffix of object files: cannot compile
     3648See \`config.log' for more details" "$LINENO" 5; }
     3649fi
    30003650rm -f conftest.$ac_cv_objext conftest.$ac_ext
    30013651fi
    3002 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    30033653$as_echo "$ac_cv_objext" >&6; }
    30043654OBJEXT=$ac_cv_objext
    30053655ac_objext=$OBJEXT
    3006 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    30073657$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3658if ${ac_cv_c_compiler_gnu+:} false; then :
    30093659  $as_echo_n "(cached) " >&6
    30103660else
    3011   cat >conftest.$ac_ext <<_ACEOF
    3012 /* confdefs.h.  */
    3013 _ACEOF
    3014 cat confdefs.h >>conftest.$ac_ext
    3015 cat >>conftest.$ac_ext <<_ACEOF
     3661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30163662/* end confdefs.h.  */
    30173663
     
    30273673}
    30283674_ACEOF
    3029 rm -f conftest.$ac_objext
    3030 if { (ac_try="$ac_compile"
    3031 case "(($ac_try" in
    3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3033   *) ac_try_echo=$ac_try;;
    3034 esac
    3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3036 $as_echo "$ac_try_echo") >&5
    3037   (eval "$ac_compile") 2>conftest.er1
    3038   ac_status=$?
    3039   grep -v '^ *+' conftest.er1 >conftest.err
    3040   rm -f conftest.er1
    3041   cat conftest.err >&5
    3042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3043   (exit $ac_status); } && {
    3044          test -z "$ac_c_werror_flag" ||
    3045          test ! -s conftest.err
    3046        } && test -s conftest.$ac_objext; then
     3675if ac_fn_c_try_compile "$LINENO"; then :
    30473676  ac_compiler_gnu=yes
    30483677else
    3049   $as_echo "$as_me: failed program was:" >&5
    3050 sed 's/^/| /' conftest.$ac_ext >&5
    3051 
    3052         ac_compiler_gnu=no
    3053 fi
    3054 
     3678  ac_compiler_gnu=no
     3679fi
    30553680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30563681ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30573682
    30583683fi
    3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    30603685$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    30613686if test $ac_compiler_gnu = yes; then
     
    30663691ac_test_CFLAGS=${CFLAGS+set}
    30673692ac_save_CFLAGS=$CFLAGS
    3068 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    30693694$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3070 if test "${ac_cv_prog_cc_g+set}" = set; then
     3695if ${ac_cv_prog_cc_g+:} false; then :
    30713696  $as_echo_n "(cached) " >&6
    30723697else
     
    30753700   ac_cv_prog_cc_g=no
    30763701   CFLAGS="-g"
    3077    cat >conftest.$ac_ext <<_ACEOF
    3078 /* confdefs.h.  */
    3079 _ACEOF
    3080 cat confdefs.h >>conftest.$ac_ext
    3081 cat >>conftest.$ac_ext <<_ACEOF
     3702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30823703/* end confdefs.h.  */
    30833704
     
    30903711}
    30913712_ACEOF
    3092 rm -f conftest.$ac_objext
    3093 if { (ac_try="$ac_compile"
    3094 case "(($ac_try" in
    3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3096   *) ac_try_echo=$ac_try;;
    3097 esac
    3098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3099 $as_echo "$ac_try_echo") >&5
    3100   (eval "$ac_compile") 2>conftest.er1
    3101   ac_status=$?
    3102   grep -v '^ *+' conftest.er1 >conftest.err
    3103   rm -f conftest.er1
    3104   cat conftest.err >&5
    3105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3106   (exit $ac_status); } && {
    3107          test -z "$ac_c_werror_flag" ||
    3108          test ! -s conftest.err
    3109        } && test -s conftest.$ac_objext; then
     3713if ac_fn_c_try_compile "$LINENO"; then :
    31103714  ac_cv_prog_cc_g=yes
    31113715else
    3112   $as_echo "$as_me: failed program was:" >&5
    3113 sed 's/^/| /' conftest.$ac_ext >&5
    3114 
    3115         CFLAGS=""
    3116       cat >conftest.$ac_ext <<_ACEOF
    3117 /* confdefs.h.  */
    3118 _ACEOF
    3119 cat confdefs.h >>conftest.$ac_ext
    3120 cat >>conftest.$ac_ext <<_ACEOF
     3716  CFLAGS=""
     3717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31213718/* end confdefs.h.  */
    31223719
     
    31293726}
    31303727_ACEOF
    3131 rm -f conftest.$ac_objext
    3132 if { (ac_try="$ac_compile"
    3133 case "(($ac_try" in
    3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3135   *) ac_try_echo=$ac_try;;
    3136 esac
    3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3138 $as_echo "$ac_try_echo") >&5
    3139   (eval "$ac_compile") 2>conftest.er1
    3140   ac_status=$?
    3141   grep -v '^ *+' conftest.er1 >conftest.err
    3142   rm -f conftest.er1
    3143   cat conftest.err >&5
    3144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3145   (exit $ac_status); } && {
    3146          test -z "$ac_c_werror_flag" ||
    3147          test ! -s conftest.err
    3148        } && test -s conftest.$ac_objext; then
    3149   :
    3150 else
    3151   $as_echo "$as_me: failed program was:" >&5
    3152 sed 's/^/| /' conftest.$ac_ext >&5
    3153 
    3154         ac_c_werror_flag=$ac_save_c_werror_flag
     3728if ac_fn_c_try_compile "$LINENO"; then :
     3729
     3730else
     3731  ac_c_werror_flag=$ac_save_c_werror_flag
    31553732         CFLAGS="-g"
    3156          cat >conftest.$ac_ext <<_ACEOF
    3157 /* confdefs.h.  */
    3158 _ACEOF
    3159 cat confdefs.h >>conftest.$ac_ext
    3160 cat >>conftest.$ac_ext <<_ACEOF
     3733         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31613734/* end confdefs.h.  */
    31623735
     
    31693742}
    31703743_ACEOF
    3171 rm -f conftest.$ac_objext
    3172 if { (ac_try="$ac_compile"
    3173 case "(($ac_try" in
    3174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3175   *) ac_try_echo=$ac_try;;
    3176 esac
    3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3178 $as_echo "$ac_try_echo") >&5
    3179   (eval "$ac_compile") 2>conftest.er1
    3180   ac_status=$?
    3181   grep -v '^ *+' conftest.er1 >conftest.err
    3182   rm -f conftest.er1
    3183   cat conftest.err >&5
    3184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3185   (exit $ac_status); } && {
    3186          test -z "$ac_c_werror_flag" ||
    3187          test ! -s conftest.err
    3188        } && test -s conftest.$ac_objext; then
     3744if ac_fn_c_try_compile "$LINENO"; then :
    31893745  ac_cv_prog_cc_g=yes
    3190 else
    3191   $as_echo "$as_me: failed program was:" >&5
    3192 sed 's/^/| /' conftest.$ac_ext >&5
    3193 
    3194 
    3195 fi
    3196 
     3746fi
    31973747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31983748fi
    3199 
    32003749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32013750fi
    3202 
    32033751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32043752   ac_c_werror_flag=$ac_save_c_werror_flag
    32053753fi
    3206 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    32073755$as_echo "$ac_cv_prog_cc_g" >&6; }
    32083756if test "$ac_test_CFLAGS" = set; then
     
    32213769  fi
    32223770fi
    3223 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    32243772$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3225 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3773if ${ac_cv_prog_cc_c89+:} false; then :
    32263774  $as_echo_n "(cached) " >&6
    32273775else
    32283776  ac_cv_prog_cc_c89=no
    32293777ac_save_CC=$CC
    3230 cat >conftest.$ac_ext <<_ACEOF
    3231 /* confdefs.h.  */
    3232 _ACEOF
    3233 cat confdefs.h >>conftest.$ac_ext
    3234 cat >>conftest.$ac_ext <<_ACEOF
     3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32353779/* end confdefs.h.  */
    32363780#include <stdarg.h>
    32373781#include <stdio.h>
    3238 #include <sys/types.h>
    3239 #include <sys/stat.h>
     3782struct stat;
    32403783/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32413784struct buf { int x; };
     
    32893832do
    32903833  CC="$ac_save_CC $ac_arg"
    3291   rm -f conftest.$ac_objext
    3292 if { (ac_try="$ac_compile"
    3293 case "(($ac_try" in
    3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3295   *) ac_try_echo=$ac_try;;
    3296 esac
    3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3298 $as_echo "$ac_try_echo") >&5
    3299   (eval "$ac_compile") 2>conftest.er1
    3300   ac_status=$?
    3301   grep -v '^ *+' conftest.er1 >conftest.err
    3302   rm -f conftest.er1
    3303   cat conftest.err >&5
    3304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3305   (exit $ac_status); } && {
    3306          test -z "$ac_c_werror_flag" ||
    3307          test ! -s conftest.err
    3308        } && test -s conftest.$ac_objext; then
     3834  if ac_fn_c_try_compile "$LINENO"; then :
    33093835  ac_cv_prog_cc_c89=$ac_arg
    3310 else
    3311   $as_echo "$as_me: failed program was:" >&5
    3312 sed 's/^/| /' conftest.$ac_ext >&5
    3313 
    3314 
    3315 fi
    3316 
     3836fi
    33173837rm -f core conftest.err conftest.$ac_objext
    33183838  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    33253845case "x$ac_cv_prog_cc_c89" in
    33263846  x)
    3327     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    33283848$as_echo "none needed" >&6; } ;;
    33293849  xno)
    3330     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3850    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    33313851$as_echo "unsupported" >&6; } ;;
    33323852  *)
    33333853    CC="$CC $ac_cv_prog_cc_c89"
    3334     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    33353855$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33363856esac
    3337 
     3857if test "x$ac_cv_prog_cc_c89" != xno; then :
     3858
     3859fi
    33383860
    33393861ac_ext=c
     
    33573879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33583880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33603882$as_echo_n "checking for $ac_word... " >&6; }
    3361 if test "${ac_cv_prog_CXX+set}" = set; then
     3883if ${ac_cv_prog_CXX+:} false; then :
    33623884  $as_echo_n "(cached) " >&6
    33633885else
     
    33703892  IFS=$as_save_IFS
    33713893  test -z "$as_dir" && as_dir=.
    3372   for ac_exec_ext in '' $ac_executable_extensions; do
    3373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3894    for ac_exec_ext in '' $ac_executable_extensions; do
     3895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33743896    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3375     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33763898    break 2
    33773899  fi
    33783900done
    3379 done
     3901  done
    33803902IFS=$as_save_IFS
    33813903
     
    33843906CXX=$ac_cv_prog_CXX
    33853907if test -n "$CXX"; then
    3386   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    33873909$as_echo "$CXX" >&6; }
    33883910else
    3389   { $as_echo "$as_me:$LINENO: result: no" >&5
     3911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    33903912$as_echo "no" >&6; }
    33913913fi
     
    34013923  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34023924set dummy $ac_prog; ac_word=$2
    3403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    34043926$as_echo_n "checking for $ac_word... " >&6; }
    3405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3927if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    34063928  $as_echo_n "(cached) " >&6
    34073929else
     
    34143936  IFS=$as_save_IFS
    34153937  test -z "$as_dir" && as_dir=.
    3416   for ac_exec_ext in '' $ac_executable_extensions; do
    3417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3938    for ac_exec_ext in '' $ac_executable_extensions; do
     3939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34183940    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34203942    break 2
    34213943  fi
    34223944done
    3423 done
     3945  done
    34243946IFS=$as_save_IFS
    34253947
     
    34283950ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34293951if test -n "$ac_ct_CXX"; then
    3430   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    34313953$as_echo "$ac_ct_CXX" >&6; }
    34323954else
    3433   { $as_echo "$as_me:$LINENO: result: no" >&5
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34343956$as_echo "no" >&6; }
    34353957fi
     
    34443966    case $cross_compiling:$ac_tool_warned in
    34453967yes:)
    3446 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    34473969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34483970ac_tool_warned=yes ;;
     
    34553977fi
    34563978# Provide some information about the compiler.
    3457 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3979$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    34583980set X $ac_compile
    34593981ac_compiler=$2
    3460 { (ac_try="$ac_compiler --version >&5"
     3982for ac_option in --version -v -V -qversion; do
     3983  { { ac_try="$ac_compiler $ac_option >&5"
    34613984case "(($ac_try" in
    34623985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34633986  *) ac_try_echo=$ac_try;;
    34643987esac
    3465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3466 $as_echo "$ac_try_echo") >&5
    3467   (eval "$ac_compiler --version >&5") 2>&5
     3988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3989$as_echo "$ac_try_echo"; } >&5
     3990  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    34683991  ac_status=$?
    3469   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3470   (exit $ac_status); }
    3471 { (ac_try="$ac_compiler -v >&5"
    3472 case "(($ac_try" in
    3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3474   *) ac_try_echo=$ac_try;;
    3475 esac
    3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3477 $as_echo "$ac_try_echo") >&5
    3478   (eval "$ac_compiler -v >&5") 2>&5
    3479   ac_status=$?
    3480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3481   (exit $ac_status); }
    3482 { (ac_try="$ac_compiler -V >&5"
    3483 case "(($ac_try" in
    3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3485   *) ac_try_echo=$ac_try;;
    3486 esac
    3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3488 $as_echo "$ac_try_echo") >&5
    3489   (eval "$ac_compiler -V >&5") 2>&5
    3490   ac_status=$?
    3491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3492   (exit $ac_status); }
    3493 
    3494 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3992  if test -s conftest.err; then
     3993    sed '10a\
     3994... rest of stderr output deleted ...
     3995         10q' conftest.err >conftest.er1
     3996    cat conftest.er1 >&5
     3997  fi
     3998  rm -f conftest.er1 conftest.err
     3999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4000  test $ac_status = 0; }
     4001done
     4002
     4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    34954004$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3496 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4005if ${ac_cv_cxx_compiler_gnu+:} false; then :
    34974006  $as_echo_n "(cached) " >&6
    34984007else
    3499   cat >conftest.$ac_ext <<_ACEOF
    3500 /* confdefs.h.  */
    3501 _ACEOF
    3502 cat confdefs.h >>conftest.$ac_ext
    3503 cat >>conftest.$ac_ext <<_ACEOF
     4008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35044009/* end confdefs.h.  */
    35054010
     
    35154020}
    35164021_ACEOF
    3517 rm -f conftest.$ac_objext
    3518 if { (ac_try="$ac_compile"
    3519 case "(($ac_try" in
    3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3521   *) ac_try_echo=$ac_try;;
    3522 esac
    3523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3524 $as_echo "$ac_try_echo") >&5
    3525   (eval "$ac_compile") 2>conftest.er1
    3526   ac_status=$?
    3527   grep -v '^ *+' conftest.er1 >conftest.err
    3528   rm -f conftest.er1
    3529   cat conftest.err >&5
    3530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3531   (exit $ac_status); } && {
    3532          test -z "$ac_cxx_werror_flag" ||
    3533          test ! -s conftest.err
    3534        } && test -s conftest.$ac_objext; then
     4022if ac_fn_cxx_try_compile "$LINENO"; then :
    35354023  ac_compiler_gnu=yes
    35364024else
    3537   $as_echo "$as_me: failed program was:" >&5
    3538 sed 's/^/| /' conftest.$ac_ext >&5
    3539 
    3540         ac_compiler_gnu=no
    3541 fi
    3542 
     4025  ac_compiler_gnu=no
     4026fi
    35434027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35444028ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35454029
    35464030fi
    3547 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    35484032$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    35494033if test $ac_compiler_gnu = yes; then
     
    35544038ac_test_CXXFLAGS=${CXXFLAGS+set}
    35554039ac_save_CXXFLAGS=$CXXFLAGS
    3556 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    35574041$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3558 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4042if ${ac_cv_prog_cxx_g+:} false; then :
    35594043  $as_echo_n "(cached) " >&6
    35604044else
     
    35634047   ac_cv_prog_cxx_g=no
    35644048   CXXFLAGS="-g"
    3565    cat >conftest.$ac_ext <<_ACEOF
    3566 /* confdefs.h.  */
    3567 _ACEOF
    3568 cat confdefs.h >>conftest.$ac_ext
    3569 cat >>conftest.$ac_ext <<_ACEOF
     4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35704050/* end confdefs.h.  */
    35714051
     
    35784058}
    35794059_ACEOF
    3580 rm -f conftest.$ac_objext
    3581 if { (ac_try="$ac_compile"
    3582 case "(($ac_try" in
    3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3584   *) ac_try_echo=$ac_try;;
    3585 esac
    3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3587 $as_echo "$ac_try_echo") >&5
    3588   (eval "$ac_compile") 2>conftest.er1
    3589   ac_status=$?
    3590   grep -v '^ *+' conftest.er1 >conftest.err
    3591   rm -f conftest.er1
    3592   cat conftest.err >&5
    3593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3594   (exit $ac_status); } && {
    3595          test -z "$ac_cxx_werror_flag" ||
    3596          test ! -s conftest.err
    3597        } && test -s conftest.$ac_objext; then
     4060if ac_fn_cxx_try_compile "$LINENO"; then :
    35984061  ac_cv_prog_cxx_g=yes
    35994062else
    3600   $as_echo "$as_me: failed program was:" >&5
    3601 sed 's/^/| /' conftest.$ac_ext >&5
    3602 
    3603         CXXFLAGS=""
    3604       cat >conftest.$ac_ext <<_ACEOF
    3605 /* confdefs.h.  */
    3606 _ACEOF
    3607 cat confdefs.h >>conftest.$ac_ext
    3608 cat >>conftest.$ac_ext <<_ACEOF
     4063  CXXFLAGS=""
     4064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36094065/* end confdefs.h.  */
    36104066
     
    36174073}
    36184074_ACEOF
    3619 rm -f conftest.$ac_objext
    3620 if { (ac_try="$ac_compile"
    3621 case "(($ac_try" in
    3622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3623   *) ac_try_echo=$ac_try;;
    3624 esac
    3625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3626 $as_echo "$ac_try_echo") >&5
    3627   (eval "$ac_compile") 2>conftest.er1
    3628   ac_status=$?
    3629   grep -v '^ *+' conftest.er1 >conftest.err
    3630   rm -f conftest.er1
    3631   cat conftest.err >&5
    3632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3633   (exit $ac_status); } && {
    3634          test -z "$ac_cxx_werror_flag" ||
    3635          test ! -s conftest.err
    3636        } && test -s conftest.$ac_objext; then
    3637   :
    3638 else
    3639   $as_echo "$as_me: failed program was:" >&5
    3640 sed 's/^/| /' conftest.$ac_ext >&5
    3641 
    3642         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4075if ac_fn_cxx_try_compile "$LINENO"; then :
     4076
     4077else
     4078  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36434079         CXXFLAGS="-g"
    3644          cat >conftest.$ac_ext <<_ACEOF
    3645 /* confdefs.h.  */
    3646 _ACEOF
    3647 cat confdefs.h >>conftest.$ac_ext
    3648 cat >>conftest.$ac_ext <<_ACEOF
     4080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36494081/* end confdefs.h.  */
    36504082
     
    36574089}
    36584090_ACEOF
    3659 rm -f conftest.$ac_objext
    3660 if { (ac_try="$ac_compile"
    3661 case "(($ac_try" in
    3662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3663   *) ac_try_echo=$ac_try;;
    3664 esac
    3665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3666 $as_echo "$ac_try_echo") >&5
    3667   (eval "$ac_compile") 2>conftest.er1
    3668   ac_status=$?
    3669   grep -v '^ *+' conftest.er1 >conftest.err
    3670   rm -f conftest.er1
    3671   cat conftest.err >&5
    3672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3673   (exit $ac_status); } && {
    3674          test -z "$ac_cxx_werror_flag" ||
    3675          test ! -s conftest.err
    3676        } && test -s conftest.$ac_objext; then
     4091if ac_fn_cxx_try_compile "$LINENO"; then :
    36774092  ac_cv_prog_cxx_g=yes
    3678 else
    3679   $as_echo "$as_me: failed program was:" >&5
    3680 sed 's/^/| /' conftest.$ac_ext >&5
    3681 
    3682 
    3683 fi
    3684 
     4093fi
    36854094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36864095fi
    3687 
    36884096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36894097fi
    3690 
    36914098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36924099   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36934100fi
    3694 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    36954102$as_echo "$ac_cv_prog_cxx_g" >&6; }
    36964103if test "$ac_test_CXXFLAGS" = set; then
     
    37254132    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    37264133set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37284135$as_echo_n "checking for $ac_word... " >&6; }
    3729 if test "${ac_cv_prog_F77+set}" = set; then
     4136if ${ac_cv_prog_F77+:} false; then :
    37304137  $as_echo_n "(cached) " >&6
    37314138else
     
    37384145  IFS=$as_save_IFS
    37394146  test -z "$as_dir" && as_dir=.
    3740   for ac_exec_ext in '' $ac_executable_extensions; do
    3741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4147    for ac_exec_ext in '' $ac_executable_extensions; do
     4148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37424149    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37444151    break 2
    37454152  fi
    37464153done
    3747 done
     4154  done
    37484155IFS=$as_save_IFS
    37494156
     
    37524159F77=$ac_cv_prog_F77
    37534160if test -n "$F77"; then
    3754   { $as_echo "$as_me:$LINENO: result: $F77" >&5
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
    37554162$as_echo "$F77" >&6; }
    37564163else
    3757   { $as_echo "$as_me:$LINENO: result: no" >&5
     4164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37584165$as_echo "no" >&6; }
    37594166fi
     
    37694176  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37704177set dummy $ac_prog; ac_word=$2
    3771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37724179$as_echo_n "checking for $ac_word... " >&6; }
    3773 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4180if ${ac_cv_prog_ac_ct_F77+:} false; then :
    37744181  $as_echo_n "(cached) " >&6
    37754182else
     
    37824189  IFS=$as_save_IFS
    37834190  test -z "$as_dir" && as_dir=.
    3784   for ac_exec_ext in '' $ac_executable_extensions; do
    3785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4191    for ac_exec_ext in '' $ac_executable_extensions; do
     4192  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37864193    ac_cv_prog_ac_ct_F77="$ac_prog"
    3787     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37884195    break 2
    37894196  fi
    37904197done
    3791 done
     4198  done
    37924199IFS=$as_save_IFS
    37934200
     
    37964203ac_ct_F77=$ac_cv_prog_ac_ct_F77
    37974204if test -n "$ac_ct_F77"; then
    3798   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
    37994206$as_echo "$ac_ct_F77" >&6; }
    38004207else
    3801   { $as_echo "$as_me:$LINENO: result: no" >&5
     4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38024209$as_echo "no" >&6; }
    38034210fi
     
    38124219    case $cross_compiling:$ac_tool_warned in
    38134220yes:)
    3814 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4221{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    38154222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    38164223ac_tool_warned=yes ;;
     
    38224229
    38234230# Provide some information about the compiler.
    3824 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
     4231$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
    38254232set X $ac_compile
    38264233ac_compiler=$2
    3827 { (ac_try="$ac_compiler --version >&5"
     4234for ac_option in --version -v -V -qversion; do
     4235  { { ac_try="$ac_compiler $ac_option >&5"
    38284236case "(($ac_try" in
    38294237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    38304238  *) ac_try_echo=$ac_try;;
    38314239esac
    3832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3833 $as_echo "$ac_try_echo") >&5
    3834   (eval "$ac_compiler --version >&5") 2>&5
     4240eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4241$as_echo "$ac_try_echo"; } >&5
     4242  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    38354243  ac_status=$?
    3836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3837   (exit $ac_status); }
    3838 { (ac_try="$ac_compiler -v >&5"
    3839 case "(($ac_try" in
    3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3841   *) ac_try_echo=$ac_try;;
    3842 esac
    3843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3844 $as_echo "$ac_try_echo") >&5
    3845   (eval "$ac_compiler -v >&5") 2>&5
    3846   ac_status=$?
    3847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3848   (exit $ac_status); }
    3849 { (ac_try="$ac_compiler -V >&5"
    3850 case "(($ac_try" in
    3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3852   *) ac_try_echo=$ac_try;;
    3853 esac
    3854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3855 $as_echo "$ac_try_echo") >&5
    3856   (eval "$ac_compiler -V >&5") 2>&5
    3857   ac_status=$?
    3858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3859   (exit $ac_status); }
     4244  if test -s conftest.err; then
     4245    sed '10a\
     4246... rest of stderr output deleted ...
     4247         10q' conftest.err >conftest.er1
     4248    cat conftest.er1 >&5
     4249  fi
     4250  rm -f conftest.er1 conftest.err
     4251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4252  test $ac_status = 0; }
     4253done
    38604254rm -f a.out
    38614255
     
    38644258ac_save_ext=$ac_ext
    38654259ac_ext=F
    3866 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
    38674261$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    3868 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     4262if ${ac_cv_f77_compiler_gnu+:} false; then :
    38694263  $as_echo_n "(cached) " >&6
    38704264else
    3871   cat >conftest.$ac_ext <<_ACEOF
     4265  cat > conftest.$ac_ext <<_ACEOF
    38724266      program main
    38734267#ifndef __GNUC__
     
    38774271      end
    38784272_ACEOF
    3879 rm -f conftest.$ac_objext
    3880 if { (ac_try="$ac_compile"
    3881 case "(($ac_try" in
    3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3883   *) ac_try_echo=$ac_try;;
    3884 esac
    3885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3886 $as_echo "$ac_try_echo") >&5
    3887   (eval "$ac_compile") 2>conftest.er1
    3888   ac_status=$?
    3889   grep -v '^ *+' conftest.er1 >conftest.err
    3890   rm -f conftest.er1
    3891   cat conftest.err >&5
    3892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3893   (exit $ac_status); } && {
    3894          test -z "$ac_f77_werror_flag" ||
    3895          test ! -s conftest.err
    3896        } && test -s conftest.$ac_objext; then
     4273if ac_fn_f77_try_compile "$LINENO"; then :
    38974274  ac_compiler_gnu=yes
    38984275else
    3899   $as_echo "$as_me: failed program was:" >&5
    3900 sed 's/^/| /' conftest.$ac_ext >&5
    3901 
    3902         ac_compiler_gnu=no
    3903 fi
    3904 
     4276  ac_compiler_gnu=no
     4277fi
    39054278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39064279ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    39074280
    39084281fi
    3909 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     4282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
    39104283$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    39114284ac_ext=$ac_save_ext
     
    39134286ac_save_FFLAGS=$FFLAGS
    39144287FFLAGS=
    3915 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
    39164289$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    3917 if test "${ac_cv_prog_f77_g+set}" = set; then
     4290if ${ac_cv_prog_f77_g+:} false; then :
    39184291  $as_echo_n "(cached) " >&6
    39194292else
    39204293  FFLAGS=-g
    3921 cat >conftest.$ac_ext <<_ACEOF
     4294cat > conftest.$ac_ext <<_ACEOF
    39224295      program main
    39234296
    39244297      end
    39254298_ACEOF
    3926 rm -f conftest.$ac_objext
    3927 if { (ac_try="$ac_compile"
    3928 case "(($ac_try" in
    3929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3930   *) ac_try_echo=$ac_try;;
    3931 esac
    3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3933 $as_echo "$ac_try_echo") >&5
    3934   (eval "$ac_compile") 2>conftest.er1
    3935   ac_status=$?
    3936   grep -v '^ *+' conftest.er1 >conftest.err
    3937   rm -f conftest.er1
    3938   cat conftest.err >&5
    3939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3940   (exit $ac_status); } && {
    3941          test -z "$ac_f77_werror_flag" ||
    3942          test ! -s conftest.err
    3943        } && test -s conftest.$ac_objext; then
     4299if ac_fn_f77_try_compile "$LINENO"; then :
    39444300  ac_cv_prog_f77_g=yes
    39454301else
    3946   $as_echo "$as_me: failed program was:" >&5
    3947 sed 's/^/| /' conftest.$ac_ext >&5
    3948 
    3949         ac_cv_prog_f77_g=no
    3950 fi
    3951 
     4302  ac_cv_prog_f77_g=no
     4303fi
    39524304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39534305
    39544306fi
    3955 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
    39564308$as_echo "$ac_cv_prog_f77_g" >&6; }
    39574309if test "$ac_test_FFLAGS" = set; then
     
    39964348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    39974349ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3998 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    39994351$as_echo_n "checking how to run the C preprocessor... " >&6; }
    40004352# On Suns, sometimes $CPP names a directory.
     
    40034355fi
    40044356if test -z "$CPP"; then
    4005   if test "${ac_cv_prog_CPP+set}" = set; then
     4357  if ${ac_cv_prog_CPP+:} false; then :
    40064358  $as_echo_n "(cached) " >&6
    40074359else
     
    40184370  # On the NeXT, cc -E runs the code through the compiler's parser,
    40194371  # not just through cpp. "Syntax error" is here to catch this case.
    4020   cat >conftest.$ac_ext <<_ACEOF
    4021 /* confdefs.h.  */
    4022 _ACEOF
    4023 cat confdefs.h >>conftest.$ac_ext
    4024 cat >>conftest.$ac_ext <<_ACEOF
     4372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40254373/* end confdefs.h.  */
    40264374#ifdef __STDC__
     
    40314379                     Syntax error
    40324380_ACEOF
    4033 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4034 case "(($ac_try" in
    4035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4036   *) ac_try_echo=$ac_try;;
    4037 esac
    4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4039 $as_echo "$ac_try_echo") >&5
    4040   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4041   ac_status=$?
    4042   grep -v '^ *+' conftest.er1 >conftest.err
    4043   rm -f conftest.er1
    4044   cat conftest.err >&5
    4045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4046   (exit $ac_status); } >/dev/null && {
    4047          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4048          test ! -s conftest.err
    4049        }; then
    4050   :
    4051 else
    4052   $as_echo "$as_me: failed program was:" >&5
    4053 sed 's/^/| /' conftest.$ac_ext >&5
    4054 
     4381if ac_fn_c_try_cpp "$LINENO"; then :
     4382
     4383else
    40554384  # Broken: fails on valid input.
    40564385continue
    40574386fi
    4058 
    4059 rm -f conftest.err conftest.$ac_ext
     4387rm -f conftest.err conftest.i conftest.$ac_ext
    40604388
    40614389  # OK, works on sane cases.  Now check whether nonexistent headers
    40624390  # can be detected and how.
    4063   cat >conftest.$ac_ext <<_ACEOF
    4064 /* confdefs.h.  */
    4065 _ACEOF
    4066 cat confdefs.h >>conftest.$ac_ext
    4067 cat >>conftest.$ac_ext <<_ACEOF
     4391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40684392/* end confdefs.h.  */
    40694393#include <ac_nonexistent.h>
    40704394_ACEOF
    4071 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4072 case "(($ac_try" in
    4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4074   *) ac_try_echo=$ac_try;;
    4075 esac
    4076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4077 $as_echo "$ac_try_echo") >&5
    4078   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4079   ac_status=$?
    4080   grep -v '^ *+' conftest.er1 >conftest.err
    4081   rm -f conftest.er1
    4082   cat conftest.err >&5
    4083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4084   (exit $ac_status); } >/dev/null && {
    4085          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4086          test ! -s conftest.err
    4087        }; then
     4395if ac_fn_c_try_cpp "$LINENO"; then :
    40884396  # Broken: success on invalid input.
    40894397continue
    40904398else
    4091   $as_echo "$as_me: failed program was:" >&5
    4092 sed 's/^/| /' conftest.$ac_ext >&5
    4093 
    40944399  # Passes both tests.
    40954400ac_preproc_ok=:
    40964401break
    40974402fi
    4098 
    4099 rm -f conftest.err conftest.$ac_ext
     4403rm -f conftest.err conftest.i conftest.$ac_ext
    41004404
    41014405done
    41024406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4103 rm -f conftest.err conftest.$ac_ext
    4104 if $ac_preproc_ok; then
     4407rm -f conftest.i conftest.err conftest.$ac_ext
     4408if $ac_preproc_ok; then :
    41054409  break
    41064410fi
     
    41144418  ac_cv_prog_CPP=$CPP
    41154419fi
    4116 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    41174421$as_echo "$CPP" >&6; }
    41184422ac_preproc_ok=false
     
    41254429  # On the NeXT, cc -E runs the code through the compiler's parser,
    41264430  # not just through cpp. "Syntax error" is here to catch this case.
    4127   cat >conftest.$ac_ext <<_ACEOF
    4128 /* confdefs.h.  */
    4129 _ACEOF
    4130 cat confdefs.h >>conftest.$ac_ext
    4131 cat >>conftest.$ac_ext <<_ACEOF
     4431  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41324432/* end confdefs.h.  */
    41334433#ifdef __STDC__
     
    41384438                     Syntax error
    41394439_ACEOF
    4140 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4141 case "(($ac_try" in
    4142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4143   *) ac_try_echo=$ac_try;;
    4144 esac
    4145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4146 $as_echo "$ac_try_echo") >&5
    4147   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4148   ac_status=$?
    4149   grep -v '^ *+' conftest.er1 >conftest.err
    4150   rm -f conftest.er1
    4151   cat conftest.err >&5
    4152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4153   (exit $ac_status); } >/dev/null && {
    4154          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4155          test ! -s conftest.err
    4156        }; then
    4157   :
    4158 else
    4159   $as_echo "$as_me: failed program was:" >&5
    4160 sed 's/^/| /' conftest.$ac_ext >&5
    4161 
     4440if ac_fn_c_try_cpp "$LINENO"; then :
     4441
     4442else
    41624443  # Broken: fails on valid input.
    41634444continue
    41644445fi
    4165 
    4166 rm -f conftest.err conftest.$ac_ext
     4446rm -f conftest.err conftest.i conftest.$ac_ext
    41674447
    41684448  # OK, works on sane cases.  Now check whether nonexistent headers
    41694449  # can be detected and how.
    4170   cat >conftest.$ac_ext <<_ACEOF
    4171 /* confdefs.h.  */
    4172 _ACEOF
    4173 cat confdefs.h >>conftest.$ac_ext
    4174 cat >>conftest.$ac_ext <<_ACEOF
     4450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41754451/* end confdefs.h.  */
    41764452#include <ac_nonexistent.h>
    41774453_ACEOF
    4178 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4179 case "(($ac_try" in
    4180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4181   *) ac_try_echo=$ac_try;;
    4182 esac
    4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4184 $as_echo "$ac_try_echo") >&5
    4185   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4186   ac_status=$?
    4187   grep -v '^ *+' conftest.er1 >conftest.err
    4188   rm -f conftest.er1
    4189   cat conftest.err >&5
    4190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4191   (exit $ac_status); } >/dev/null && {
    4192          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4193          test ! -s conftest.err
    4194        }; then
     4454if ac_fn_c_try_cpp "$LINENO"; then :
    41954455  # Broken: success on invalid input.
    41964456continue
    41974457else
    4198   $as_echo "$as_me: failed program was:" >&5
    4199 sed 's/^/| /' conftest.$ac_ext >&5
    4200 
    42014458  # Passes both tests.
    42024459ac_preproc_ok=:
    42034460break
    42044461fi
    4205 
    4206 rm -f conftest.err conftest.$ac_ext
     4462rm -f conftest.err conftest.i conftest.$ac_ext
    42074463
    42084464done
    42094465# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4210 rm -f conftest.err conftest.$ac_ext
    4211 if $ac_preproc_ok; then
    4212   :
    4213 else
    4214   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4466rm -f conftest.i conftest.err conftest.$ac_ext
     4467if $ac_preproc_ok; then :
     4468
     4469else
     4470  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    42154471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4216 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4217 See \`config.log' for more details." >&5
    4218 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4219 See \`config.log' for more details." >&2;}
    4220    { (exit 1); exit 1; }; }; }
     4472as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4473See \`config.log' for more details" "$LINENO" 5; }
    42214474fi
    42224475
     
    42284481
    42294482
    4230 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    42314484$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4232 if test "${ac_cv_path_GREP+set}" = set; then
     4485if ${ac_cv_path_GREP+:} false; then :
    42334486  $as_echo_n "(cached) " >&6
    42344487else
     
    42414494  IFS=$as_save_IFS
    42424495  test -z "$as_dir" && as_dir=.
    4243   for ac_prog in grep ggrep; do
     4496    for ac_prog in grep ggrep; do
    42444497    for ac_exec_ext in '' $ac_executable_extensions; do
    42454498      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4246       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4499      as_fn_executable_p "$ac_path_GREP" || continue
    42474500# Check for GNU ac_path_GREP and select it if it is found.
    42484501  # Check for GNU $ac_path_GREP
     
    42614514    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42624515    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4263     ac_count=`expr $ac_count + 1`
     4516    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42644517    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    42654518      # Best one so far, save it but keep looking for a better one
     
    42764529    done
    42774530  done
    4278 done
     4531  done
    42794532IFS=$as_save_IFS
    42804533  if test -z "$ac_cv_path_GREP"; then
    4281     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4282 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4283    { (exit 1); exit 1; }; }
     4534    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42844535  fi
    42854536else
     
    42884539
    42894540fi
    4290 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    42914542$as_echo "$ac_cv_path_GREP" >&6; }
    42924543 GREP="$ac_cv_path_GREP"
    42934544
    42944545
    4295 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    42964547$as_echo_n "checking for egrep... " >&6; }
    4297 if test "${ac_cv_path_EGREP+set}" = set; then
     4548if ${ac_cv_path_EGREP+:} false; then :
    42984549  $as_echo_n "(cached) " >&6
    42994550else
     
    43094560  IFS=$as_save_IFS
    43104561  test -z "$as_dir" && as_dir=.
    4311   for ac_prog in egrep; do
     4562    for ac_prog in egrep; do
    43124563    for ac_exec_ext in '' $ac_executable_extensions; do
    43134564      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4314       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4565      as_fn_executable_p "$ac_path_EGREP" || continue
    43154566# Check for GNU ac_path_EGREP and select it if it is found.
    43164567  # Check for GNU $ac_path_EGREP
     
    43294580    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43304581    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4331     ac_count=`expr $ac_count + 1`
     4582    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43324583    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    43334584      # Best one so far, save it but keep looking for a better one
     
    43444595    done
    43454596  done
    4346 done
     4597  done
    43474598IFS=$as_save_IFS
    43484599  if test -z "$ac_cv_path_EGREP"; then
    4349     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4350 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4351    { (exit 1); exit 1; }; }
     4600    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    43524601  fi
    43534602else
     
    43574606   fi
    43584607fi
    4359 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    43604609$as_echo "$ac_cv_path_EGREP" >&6; }
    43614610 EGREP="$ac_cv_path_EGREP"
    43624611
    43634612
    4364 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    43654614$as_echo_n "checking for ANSI C header files... " >&6; }
    4366 if test "${ac_cv_header_stdc+set}" = set; then
     4615if ${ac_cv_header_stdc+:} false; then :
    43674616  $as_echo_n "(cached) " >&6
    43684617else
    4369   cat >conftest.$ac_ext <<_ACEOF
    4370 /* confdefs.h.  */
    4371 _ACEOF
    4372 cat confdefs.h >>conftest.$ac_ext
    4373 cat >>conftest.$ac_ext <<_ACEOF
     4618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43744619/* end confdefs.h.  */
    43754620#include <stdlib.h>
     
    43864631}
    43874632_ACEOF
    4388 rm -f conftest.$ac_objext
    4389 if { (ac_try="$ac_compile"
    4390 case "(($ac_try" in
    4391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4392   *) ac_try_echo=$ac_try;;
    4393 esac
    4394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4395 $as_echo "$ac_try_echo") >&5
    4396   (eval "$ac_compile") 2>conftest.er1
    4397   ac_status=$?
    4398   grep -v '^ *+' conftest.er1 >conftest.err
    4399   rm -f conftest.er1
    4400   cat conftest.err >&5
    4401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4402   (exit $ac_status); } && {
    4403          test -z "$ac_c_werror_flag" ||
    4404          test ! -s conftest.err
    4405        } && test -s conftest.$ac_objext; then
     4633if ac_fn_c_try_compile "$LINENO"; then :
    44064634  ac_cv_header_stdc=yes
    44074635else
    4408   $as_echo "$as_me: failed program was:" >&5
    4409 sed 's/^/| /' conftest.$ac_ext >&5
    4410 
    4411         ac_cv_header_stdc=no
    4412 fi
    4413 
     4636  ac_cv_header_stdc=no
     4637fi
    44144638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44154639
    44164640if test $ac_cv_header_stdc = yes; then
    44174641  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4418   cat >conftest.$ac_ext <<_ACEOF
    4419 /* confdefs.h.  */
    4420 _ACEOF
    4421 cat confdefs.h >>conftest.$ac_ext
    4422 cat >>conftest.$ac_ext <<_ACEOF
     4642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44234643/* end confdefs.h.  */
    44244644#include <string.h>
     
    44264646_ACEOF
    44274647if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4428   $EGREP "memchr" >/dev/null 2>&1; then
    4429   :
     4648  $EGREP "memchr" >/dev/null 2>&1; then :
     4649
    44304650else
    44314651  ac_cv_header_stdc=no
     
    44374657if test $ac_cv_header_stdc = yes; then
    44384658  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4439   cat >conftest.$ac_ext <<_ACEOF
    4440 /* confdefs.h.  */
    4441 _ACEOF
    4442 cat confdefs.h >>conftest.$ac_ext
    4443 cat >>conftest.$ac_ext <<_ACEOF
     4659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44444660/* end confdefs.h.  */
    44454661#include <stdlib.h>
     
    44474663_ACEOF
    44484664if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4449   $EGREP "free" >/dev/null 2>&1; then
    4450   :
     4665  $EGREP "free" >/dev/null 2>&1; then :
     4666
    44514667else
    44524668  ac_cv_header_stdc=no
     
    44584674if test $ac_cv_header_stdc = yes; then
    44594675  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4460   if test "$cross_compiling" = yes; then
     4676  if test "$cross_compiling" = yes; then :
    44614677  :
    44624678else
    4463   cat >conftest.$ac_ext <<_ACEOF
    4464 /* confdefs.h.  */
    4465 _ACEOF
    4466 cat confdefs.h >>conftest.$ac_ext
    4467 cat >>conftest.$ac_ext <<_ACEOF
     4679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44684680/* end confdefs.h.  */
    44694681#include <ctype.h>
     
    44924704}
    44934705_ACEOF
    4494 rm -f conftest$ac_exeext
    4495 if { (ac_try="$ac_link"
    4496 case "(($ac_try" in
    4497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4498   *) ac_try_echo=$ac_try;;
    4499 esac
    4500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4501 $as_echo "$ac_try_echo") >&5
    4502   (eval "$ac_link") 2>&5
    4503   ac_status=$?
    4504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4505   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4506   { (case "(($ac_try" in
    4507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4508   *) ac_try_echo=$ac_try;;
    4509 esac
    4510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4511 $as_echo "$ac_try_echo") >&5
    4512   (eval "$ac_try") 2>&5
    4513   ac_status=$?
    4514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4515   (exit $ac_status); }; }; then
    4516   :
    4517 else
    4518   $as_echo "$as_me: program exited with status $ac_status" >&5
    4519 $as_echo "$as_me: failed program was:" >&5
    4520 sed 's/^/| /' conftest.$ac_ext >&5
    4521 
    4522 ( exit $ac_status )
    4523 ac_cv_header_stdc=no
    4524 fi
    4525 rm -rf conftest.dSYM
    4526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4527 fi
    4528 
    4529 
    4530 fi
    4531 fi
    4532 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4706if ac_fn_c_try_run "$LINENO"; then :
     4707
     4708else
     4709  ac_cv_header_stdc=no
     4710fi
     4711rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4712  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4713fi
     4714
     4715fi
     4716fi
     4717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    45334718$as_echo "$ac_cv_header_stdc" >&6; }
    45344719if test $ac_cv_header_stdc = yes; then
    45354720
    4536 cat >>confdefs.h <<\_ACEOF
    4537 #define STDC_HEADERS 1
    4538 _ACEOF
    4539 
    4540 fi
    4541 
    4542 { $as_echo "$as_me:$LINENO: checking for atol" >&5
    4543 $as_echo_n "checking for atol... " >&6; }
    4544 if test "${ac_cv_func_atol+set}" = set; then
    4545   $as_echo_n "(cached) " >&6
    4546 else
    4547   cat >conftest.$ac_ext <<_ACEOF
    4548 /* confdefs.h.  */
    4549 _ACEOF
    4550 cat confdefs.h >>conftest.$ac_ext
    4551 cat >>conftest.$ac_ext <<_ACEOF
    4552 /* end confdefs.h.  */
    4553 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4555 #define atol innocuous_atol
    4556 
    4557 /* System header to define __stub macros and hopefully few prototypes,
    4558     which can conflict with char atol (); below.
    4559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4560     <limits.h> exists even on freestanding compilers.  */
    4561 
    4562 #ifdef __STDC__
    4563 # include <limits.h>
    4564 #else
    4565 # include <assert.h>
    4566 #endif
    4567 
    4568 #undef atol
    4569 
    4570 /* Override any GCC internal prototype to avoid an error.
    4571    Use char because int might match the return type of a GCC
    4572    builtin and then its argument prototype would still apply.  */
    4573 #ifdef __cplusplus
    4574 extern "C"
    4575 #endif
    4576 char atol ();
    4577 /* The GNU C library defines this for functions which it implements
    4578     to always fail with ENOSYS.  Some functions are actually named
    4579     something starting with __ and the normal name is an alias.  */
    4580 #if defined __stub_atol || defined __stub___atol
    4581 choke me
    4582 #endif
    4583 
    4584 int
    4585 main ()
    4586 {
    4587 return atol ();
    4588   ;
    4589   return 0;
    4590 }
    4591 _ACEOF
    4592 rm -f conftest.$ac_objext conftest$ac_exeext
    4593 if { (ac_try="$ac_link"
    4594 case "(($ac_try" in
    4595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4596   *) ac_try_echo=$ac_try;;
    4597 esac
    4598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4599 $as_echo "$ac_try_echo") >&5
    4600   (eval "$ac_link") 2>conftest.er1
    4601   ac_status=$?
    4602   grep -v '^ *+' conftest.er1 >conftest.err
    4603   rm -f conftest.er1
    4604   cat conftest.err >&5
    4605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4606   (exit $ac_status); } && {
    4607          test -z "$ac_c_werror_flag" ||
    4608          test ! -s conftest.err
    4609        } && test -s conftest$ac_exeext && {
    4610          test "$cross_compiling" = yes ||
    4611          $as_test_x conftest$ac_exeext
    4612        }; then
    4613   ac_cv_func_atol=yes
    4614 else
    4615   $as_echo "$as_me: failed program was:" >&5
    4616 sed 's/^/| /' conftest.$ac_ext >&5
    4617 
    4618         ac_cv_func_atol=no
    4619 fi
    4620 
    4621 rm -rf conftest.dSYM
    4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4623       conftest$ac_exeext conftest.$ac_ext
    4624 fi
    4625 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4626 $as_echo "$ac_cv_func_atol" >&6; }
    4627 if test "x$ac_cv_func_atol" = x""yes; then
    4628   :
    4629 else
    4630   { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4631 $as_echo "$as_me: error: oops! no atol ?!?" >&2;}
    4632    { (exit 1); exit 1; }; }
     4721$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4722
     4723fi
     4724
     4725ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4726if test "x$ac_cv_func_atol" = xyes; then :
     4727
     4728else
     4729  as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    46334730fi
    46344731
     
    46424739
    46434740
    4644 
    46454741for ac_func in sysinfo
    4646 do
    4647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4648 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4649 $as_echo_n "checking for $ac_func... " >&6; }
    4650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4651   $as_echo_n "(cached) " >&6
    4652 else
    4653   cat >conftest.$ac_ext <<_ACEOF
    4654 /* confdefs.h.  */
    4655 _ACEOF
    4656 cat confdefs.h >>conftest.$ac_ext
    4657 cat >>conftest.$ac_ext <<_ACEOF
    4658 /* end confdefs.h.  */
    4659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4661 #define $ac_func innocuous_$ac_func
    4662 
    4663 /* System header to define __stub macros and hopefully few prototypes,
    4664     which can conflict with char $ac_func (); below.
    4665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4666     <limits.h> exists even on freestanding compilers.  */
    4667 
    4668 #ifdef __STDC__
    4669 # include <limits.h>
    4670 #else
    4671 # include <assert.h>
    4672 #endif
    4673 
    4674 #undef $ac_func
    4675 
    4676 /* Override any GCC internal prototype to avoid an error.
    4677    Use char because int might match the return type of a GCC
    4678    builtin and then its argument prototype would still apply.  */
    4679 #ifdef __cplusplus
    4680 extern "C"
    4681 #endif
    4682 char $ac_func ();
    4683 /* The GNU C library defines this for functions which it implements
    4684     to always fail with ENOSYS.  Some functions are actually named
    4685     something starting with __ and the normal name is an alias.  */
    4686 #if defined __stub_$ac_func || defined __stub___$ac_func
    4687 choke me
    4688 #endif
    4689 
    4690 int
    4691 main ()
    4692 {
    4693 return $ac_func ();
    4694   ;
    4695   return 0;
    4696 }
    4697 _ACEOF
    4698 rm -f conftest.$ac_objext conftest$ac_exeext
    4699 if { (ac_try="$ac_link"
    4700 case "(($ac_try" in
    4701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4702   *) ac_try_echo=$ac_try;;
    4703 esac
    4704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4705 $as_echo "$ac_try_echo") >&5
    4706   (eval "$ac_link") 2>conftest.er1
    4707   ac_status=$?
    4708   grep -v '^ *+' conftest.er1 >conftest.err
    4709   rm -f conftest.er1
    4710   cat conftest.err >&5
    4711   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4712   (exit $ac_status); } && {
    4713          test -z "$ac_cxx_werror_flag" ||
    4714          test ! -s conftest.err
    4715        } && test -s conftest$ac_exeext && {
    4716          test "$cross_compiling" = yes ||
    4717          $as_test_x conftest$ac_exeext
    4718        }; then
    4719   eval "$as_ac_var=yes"
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724         eval "$as_ac_var=no"
    4725 fi
    4726 
    4727 rm -rf conftest.dSYM
    4728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4729       conftest$ac_exeext conftest.$ac_ext
    4730 fi
    4731 ac_res=`eval 'as_val=${'$as_ac_var'}
    4732                  $as_echo "$as_val"'`
    4733                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4734 $as_echo "$ac_res" >&6; }
    4735 as_val=`eval 'as_val=${'$as_ac_var'}
    4736                  $as_echo "$as_val"'`
    4737    if test "x$as_val" = x""yes; then
     4742do :
     4743  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4744if test "x$ac_cv_func_sysinfo" = xyes; then :
    47384745  cat >>confdefs.h <<_ACEOF
    4739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4740 _ACEOF
    4741 
    4742 fi
    4743 done
    4744 
    4745 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4746 
    4747 
    4748 
    4749 
    4750 
    4751 
    4752 
    4753 
    4754 
    4755 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4756                   inttypes.h stdint.h unistd.h
    4757 do
    4758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4760 $as_echo_n "checking for $ac_header... " >&6; }
    4761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4762   $as_echo_n "(cached) " >&6
    4763 else
    4764   cat >conftest.$ac_ext <<_ACEOF
    4765 /* confdefs.h.  */
    4766 _ACEOF
    4767 cat confdefs.h >>conftest.$ac_ext
    4768 cat >>conftest.$ac_ext <<_ACEOF
    4769 /* end confdefs.h.  */
    4770 $ac_includes_default
    4771 
    4772 #include <$ac_header>
    4773 _ACEOF
    4774 rm -f conftest.$ac_objext
    4775 if { (ac_try="$ac_compile"
    4776 case "(($ac_try" in
    4777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4778   *) ac_try_echo=$ac_try;;
    4779 esac
    4780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4781 $as_echo "$ac_try_echo") >&5
    4782   (eval "$ac_compile") 2>conftest.er1
    4783   ac_status=$?
    4784   grep -v '^ *+' conftest.er1 >conftest.err
    4785   rm -f conftest.er1
    4786   cat conftest.err >&5
    4787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4788   (exit $ac_status); } && {
    4789          test -z "$ac_cxx_werror_flag" ||
    4790          test ! -s conftest.err
    4791        } && test -s conftest.$ac_objext; then
    4792   eval "$as_ac_Header=yes"
    4793 else
    4794   $as_echo "$as_me: failed program was:" >&5
    4795 sed 's/^/| /' conftest.$ac_ext >&5
    4796 
    4797         eval "$as_ac_Header=no"
    4798 fi
    4799 
    4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4801 fi
    4802 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4803                  $as_echo "$as_val"'`
    4804                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4805 $as_echo "$ac_res" >&6; }
    4806 as_val=`eval 'as_val=${'$as_ac_Header'}
    4807                  $as_echo "$as_val"'`
    4808    if test "x$as_val" = x""yes; then
     4746#define HAVE_SYSINFO 1
     4747_ACEOF
     4748
     4749fi
     4750done
     4751
     4752for ac_func in gettimeofday
     4753do :
     4754  ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
     4755if test "x$ac_cv_func_gettimeofday" = xyes; then :
    48094756  cat >>confdefs.h <<_ACEOF
    4810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4811 _ACEOF
    4812 
    4813 fi
    4814 
    4815 done
     4757#define HAVE_GETTIMEOFDAY 1
     4758_ACEOF
     4759
     4760fi
     4761done
     4762
     4763ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
     4764if test "x$ac_cv_func_localtime" = xyes; then :
     4765
     4766else
     4767  as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5
     4768fi
     4769
     4770ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
     4771if test "x$ac_cv_func_getenv" = xyes; then :
     4772
     4773else
     4774  as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5
     4775fi
    48164776
    48174777
     
    48214781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    48224782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4823 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    48244784$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    48254785if test -z "$CXXCPP"; then
    4826   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4786  if ${ac_cv_prog_CXXCPP+:} false; then :
    48274787  $as_echo_n "(cached) " >&6
    48284788else
     
    48394799  # On the NeXT, cc -E runs the code through the compiler's parser,
    48404800  # not just through cpp. "Syntax error" is here to catch this case.
    4841   cat >conftest.$ac_ext <<_ACEOF
    4842 /* confdefs.h.  */
    4843 _ACEOF
    4844 cat confdefs.h >>conftest.$ac_ext
    4845 cat >>conftest.$ac_ext <<_ACEOF
     4801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48464802/* end confdefs.h.  */
    48474803#ifdef __STDC__
     
    48524808                     Syntax error
    48534809_ACEOF
    4854 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4855 case "(($ac_try" in
    4856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4857   *) ac_try_echo=$ac_try;;
    4858 esac
    4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4860 $as_echo "$ac_try_echo") >&5
    4861   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4862   ac_status=$?
    4863   grep -v '^ *+' conftest.er1 >conftest.err
    4864   rm -f conftest.er1
    4865   cat conftest.err >&5
    4866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4867   (exit $ac_status); } >/dev/null && {
    4868          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4869          test ! -s conftest.err
    4870        }; then
    4871   :
    4872 else
    4873   $as_echo "$as_me: failed program was:" >&5
    4874 sed 's/^/| /' conftest.$ac_ext >&5
    4875 
     4810if ac_fn_cxx_try_cpp "$LINENO"; then :
     4811
     4812else
    48764813  # Broken: fails on valid input.
    48774814continue
    48784815fi
    4879 
    4880 rm -f conftest.err conftest.$ac_ext
     4816rm -f conftest.err conftest.i conftest.$ac_ext
    48814817
    48824818  # OK, works on sane cases.  Now check whether nonexistent headers
    48834819  # can be detected and how.
    4884   cat >conftest.$ac_ext <<_ACEOF
    4885 /* confdefs.h.  */
    4886 _ACEOF
    4887 cat confdefs.h >>conftest.$ac_ext
    4888 cat >>conftest.$ac_ext <<_ACEOF
     4820  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48894821/* end confdefs.h.  */
    48904822#include <ac_nonexistent.h>
    48914823_ACEOF
    4892 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4893 case "(($ac_try" in
    4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4895   *) ac_try_echo=$ac_try;;
    4896 esac
    4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4898 $as_echo "$ac_try_echo") >&5
    4899   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4900   ac_status=$?
    4901   grep -v '^ *+' conftest.er1 >conftest.err
    4902   rm -f conftest.er1
    4903   cat conftest.err >&5
    4904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4905   (exit $ac_status); } >/dev/null && {
    4906          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4907          test ! -s conftest.err
    4908        }; then
     4824if ac_fn_cxx_try_cpp "$LINENO"; then :
    49094825  # Broken: success on invalid input.
    49104826continue
    49114827else
    4912   $as_echo "$as_me: failed program was:" >&5
    4913 sed 's/^/| /' conftest.$ac_ext >&5
    4914 
    49154828  # Passes both tests.
    49164829ac_preproc_ok=:
    49174830break
    49184831fi
    4919 
    4920 rm -f conftest.err conftest.$ac_ext
     4832rm -f conftest.err conftest.i conftest.$ac_ext
    49214833
    49224834done
    49234835# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4924 rm -f conftest.err conftest.$ac_ext
    4925 if $ac_preproc_ok; then
     4836rm -f conftest.i conftest.err conftest.$ac_ext
     4837if $ac_preproc_ok; then :
    49264838  break
    49274839fi
     
    49354847  ac_cv_prog_CXXCPP=$CXXCPP
    49364848fi
    4937 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    49384850$as_echo "$CXXCPP" >&6; }
    49394851ac_preproc_ok=false
     
    49464858  # On the NeXT, cc -E runs the code through the compiler's parser,
    49474859  # not just through cpp. "Syntax error" is here to catch this case.
    4948   cat >conftest.$ac_ext <<_ACEOF
    4949 /* confdefs.h.  */
    4950 _ACEOF
    4951 cat confdefs.h >>conftest.$ac_ext
    4952 cat >>conftest.$ac_ext <<_ACEOF
     4860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49534861/* end confdefs.h.  */
    49544862#ifdef __STDC__
     
    49594867                     Syntax error
    49604868_ACEOF
    4961 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4962 case "(($ac_try" in
    4963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4964   *) ac_try_echo=$ac_try;;
    4965 esac
    4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4967 $as_echo "$ac_try_echo") >&5
    4968   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4969   ac_status=$?
    4970   grep -v '^ *+' conftest.er1 >conftest.err
    4971   rm -f conftest.er1
    4972   cat conftest.err >&5
    4973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4974   (exit $ac_status); } >/dev/null && {
    4975          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4976          test ! -s conftest.err
    4977        }; then
    4978   :
    4979 else
    4980   $as_echo "$as_me: failed program was:" >&5
    4981 sed 's/^/| /' conftest.$ac_ext >&5
    4982 
     4869if ac_fn_cxx_try_cpp "$LINENO"; then :
     4870
     4871else
    49834872  # Broken: fails on valid input.
    49844873continue
    49854874fi
    4986 
    4987 rm -f conftest.err conftest.$ac_ext
     4875rm -f conftest.err conftest.i conftest.$ac_ext
    49884876
    49894877  # OK, works on sane cases.  Now check whether nonexistent headers
    49904878  # can be detected and how.
    4991   cat >conftest.$ac_ext <<_ACEOF
    4992 /* confdefs.h.  */
    4993 _ACEOF
    4994 cat confdefs.h >>conftest.$ac_ext
    4995 cat >>conftest.$ac_ext <<_ACEOF
     4879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49964880/* end confdefs.h.  */
    49974881#include <ac_nonexistent.h>
    49984882_ACEOF
    4999 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5000 case "(($ac_try" in
    5001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5002   *) ac_try_echo=$ac_try;;
    5003 esac
    5004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5005 $as_echo "$ac_try_echo") >&5
    5006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5007   ac_status=$?
    5008   grep -v '^ *+' conftest.er1 >conftest.err
    5009   rm -f conftest.er1
    5010   cat conftest.err >&5
    5011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5012   (exit $ac_status); } >/dev/null && {
    5013          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5014          test ! -s conftest.err
    5015        }; then
     4883if ac_fn_cxx_try_cpp "$LINENO"; then :
    50164884  # Broken: success on invalid input.
    50174885continue
    50184886else
    5019   $as_echo "$as_me: failed program was:" >&5
    5020 sed 's/^/| /' conftest.$ac_ext >&5
    5021 
    50224887  # Passes both tests.
    50234888ac_preproc_ok=:
    50244889break
    50254890fi
    5026 
    5027 rm -f conftest.err conftest.$ac_ext
     4891rm -f conftest.err conftest.i conftest.$ac_ext
    50284892
    50294893done
    50304894# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5031 rm -f conftest.err conftest.$ac_ext
    5032 if $ac_preproc_ok; then
    5033   :
    5034 else
    5035   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4895rm -f conftest.i conftest.err conftest.$ac_ext
     4896if $ac_preproc_ok; then :
     4897
     4898else
     4899  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    50364900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5037 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5038 See \`config.log' for more details." >&5
    5039 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5040 See \`config.log' for more details." >&2;}
    5041    { (exit 1); exit 1; }; }; }
     4901as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4902See \`config.log' for more details" "$LINENO" 5; }
    50424903fi
    50434904
     
    50494910
    50504911
    5051 
    5052 for ac_header in sys/sysinfo.h
    5053 do
    5054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5056   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5057 $as_echo_n "checking for $ac_header... " >&6; }
    5058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5059   $as_echo_n "(cached) " >&6
    5060 fi
    5061 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5062                  $as_echo "$as_val"'`
    5063                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5064 $as_echo "$ac_res" >&6; }
    5065 else
    5066   # Is the header compilable?
    5067 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5068 $as_echo_n "checking $ac_header usability... " >&6; }
    5069 cat >conftest.$ac_ext <<_ACEOF
    5070 /* confdefs.h.  */
    5071 _ACEOF
    5072 cat confdefs.h >>conftest.$ac_ext
    5073 cat >>conftest.$ac_ext <<_ACEOF
    5074 /* end confdefs.h.  */
    5075 $ac_includes_default
    5076 #include <$ac_header>
    5077 _ACEOF
    5078 rm -f conftest.$ac_objext
    5079 if { (ac_try="$ac_compile"
    5080 case "(($ac_try" in
    5081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5082   *) ac_try_echo=$ac_try;;
    5083 esac
    5084 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5085 $as_echo "$ac_try_echo") >&5
    5086   (eval "$ac_compile") 2>conftest.er1
    5087   ac_status=$?
    5088   grep -v '^ *+' conftest.er1 >conftest.err
    5089   rm -f conftest.er1
    5090   cat conftest.err >&5
    5091   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5092   (exit $ac_status); } && {
    5093          test -z "$ac_cxx_werror_flag" ||
    5094          test ! -s conftest.err
    5095        } && test -s conftest.$ac_objext; then
    5096   ac_header_compiler=yes
    5097 else
    5098   $as_echo "$as_me: failed program was:" >&5
    5099 sed 's/^/| /' conftest.$ac_ext >&5
    5100 
    5101         ac_header_compiler=no
    5102 fi
    5103 
    5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5105 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5106 $as_echo "$ac_header_compiler" >&6; }
    5107 
    5108 # Is the header present?
    5109 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5110 $as_echo_n "checking $ac_header presence... " >&6; }
    5111 cat >conftest.$ac_ext <<_ACEOF
    5112 /* confdefs.h.  */
    5113 _ACEOF
    5114 cat confdefs.h >>conftest.$ac_ext
    5115 cat >>conftest.$ac_ext <<_ACEOF
    5116 /* end confdefs.h.  */
    5117 #include <$ac_header>
    5118 _ACEOF
    5119 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5120 case "(($ac_try" in
    5121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5122   *) ac_try_echo=$ac_try;;
    5123 esac
    5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5125 $as_echo "$ac_try_echo") >&5
    5126   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5127   ac_status=$?
    5128   grep -v '^ *+' conftest.er1 >conftest.err
    5129   rm -f conftest.er1
    5130   cat conftest.err >&5
    5131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5132   (exit $ac_status); } >/dev/null && {
    5133          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5134          test ! -s conftest.err
    5135        }; then
    5136   ac_header_preproc=yes
    5137 else
    5138   $as_echo "$as_me: failed program was:" >&5
    5139 sed 's/^/| /' conftest.$ac_ext >&5
    5140 
    5141   ac_header_preproc=no
    5142 fi
    5143 
    5144 rm -f conftest.err conftest.$ac_ext
    5145 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5146 $as_echo "$ac_header_preproc" >&6; }
    5147 
    5148 # So?  What about this header?
    5149 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5150   yes:no: )
    5151     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5152 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5153     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5154 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5155     ac_header_preproc=yes
    5156     ;;
    5157   no:yes:* )
    5158     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5159 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5160     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5161 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5162     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5163 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5164     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5165 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5166     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5167 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5168     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5169 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5170     ( cat <<\_ASBOX
    5171 ## ----------------------------------- ##
    5172 ## Report this to rappture@nanohub.org ##
    5173 ## ----------------------------------- ##
    5174 _ASBOX
    5175      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5176     ;;
    5177 esac
    5178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5179 $as_echo_n "checking for $ac_header... " >&6; }
    5180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5181   $as_echo_n "(cached) " >&6
    5182 else
    5183   eval "$as_ac_Header=\$ac_header_preproc"
    5184 fi
    5185 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5186                  $as_echo "$as_val"'`
    5187                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5188 $as_echo "$ac_res" >&6; }
    5189 
    5190 fi
    5191 as_val=`eval 'as_val=${'$as_ac_Header'}
    5192                  $as_echo "$as_val"'`
    5193    if test "x$as_val" = x""yes; then
     4912# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4913for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4914                  inttypes.h stdint.h unistd.h
     4915do :
     4916  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4917ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4918"
     4919if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    51944920  cat >>confdefs.h <<_ACEOF
    51954921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    52014927
    52024928
    5203 
    5204 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
    5205 $as_echo_n "checking for main in -lm... " >&6; }
    5206 if test "${ac_cv_lib_m_main+set}" = set; then
    5207   $as_echo_n "(cached) " >&6
    5208 else
    5209   ac_check_lib_save_LIBS=$LIBS
    5210 LIBS="-lm  $LIBS"
    5211 cat >conftest.$ac_ext <<_ACEOF
    5212 /* confdefs.h.  */
    5213 _ACEOF
    5214 cat confdefs.h >>conftest.$ac_ext
    5215 cat >>conftest.$ac_ext <<_ACEOF
    5216 /* end confdefs.h.  */
    5217 
    5218 
    5219 int
    5220 main ()
    5221 {
    5222 return main ();
    5223   ;
    5224   return 0;
    5225 }
    5226 _ACEOF
    5227 rm -f conftest.$ac_objext conftest$ac_exeext
    5228 if { (ac_try="$ac_link"
    5229 case "(($ac_try" in
    5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5231   *) ac_try_echo=$ac_try;;
    5232 esac
    5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5234 $as_echo "$ac_try_echo") >&5
    5235   (eval "$ac_link") 2>conftest.er1
    5236   ac_status=$?
    5237   grep -v '^ *+' conftest.er1 >conftest.err
    5238   rm -f conftest.er1
    5239   cat conftest.err >&5
    5240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5241   (exit $ac_status); } && {
    5242          test -z "$ac_cxx_werror_flag" ||
    5243          test ! -s conftest.err
    5244        } && test -s conftest$ac_exeext && {
    5245          test "$cross_compiling" = yes ||
    5246          $as_test_x conftest$ac_exeext
    5247        }; then
    5248   ac_cv_lib_m_main=yes
    5249 else
    5250   $as_echo "$as_me: failed program was:" >&5
    5251 sed 's/^/| /' conftest.$ac_ext >&5
    5252 
    5253         ac_cv_lib_m_main=no
    5254 fi
    5255 
    5256 rm -rf conftest.dSYM
    5257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5258       conftest$ac_exeext conftest.$ac_ext
    5259 LIBS=$ac_check_lib_save_LIBS
    5260 fi
    5261 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5262 $as_echo "$ac_cv_lib_m_main" >&6; }
    5263 if test "x$ac_cv_lib_m_main" = x""yes; then
     4929for ac_header in sys/sysinfo.h
     4930do :
     4931  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4932if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
    52644933  cat >>confdefs.h <<_ACEOF
    5265 #define HAVE_LIBM 1
    5266 _ACEOF
    5267 
    5268   LIBS="-lm $LIBS"
    5269 
    5270 else
    5271   { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5272 $as_echo "$as_me: error: librappture requires libm" >&2;}
    5273    { (exit 1); exit 1; }; }
    5274 fi
    5275 
    5276 
    5277 
    5278 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
     4934#define HAVE_SYS_SYSINFO_H 1
     4935_ACEOF
     4936
     4937fi
     4938
     4939done
     4940
     4941
     4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    52794943$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    5280 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
     4944if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    52814945  $as_echo_n "(cached) " >&6
    52824946else
    52834947  ac_check_lib_save_LIBS=$LIBS
    52844948LIBS="-lncurses  $LIBS"
    5285 cat >conftest.$ac_ext <<_ACEOF
    5286 /* confdefs.h.  */
    5287 _ACEOF
    5288 cat confdefs.h >>conftest.$ac_ext
    5289 cat >>conftest.$ac_ext <<_ACEOF
     4949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52904950/* end confdefs.h.  */
    52914951
     
    53054965}
    53064966_ACEOF
    5307 rm -f conftest.$ac_objext conftest$ac_exeext
    5308 if { (ac_try="$ac_link"
    5309 case "(($ac_try" in
    5310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5311   *) ac_try_echo=$ac_try;;
    5312 esac
    5313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5314 $as_echo "$ac_try_echo") >&5
    5315   (eval "$ac_link") 2>conftest.er1
    5316   ac_status=$?
    5317   grep -v '^ *+' conftest.er1 >conftest.err
    5318   rm -f conftest.er1
    5319   cat conftest.err >&5
    5320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5321   (exit $ac_status); } && {
    5322          test -z "$ac_cxx_werror_flag" ||
    5323          test ! -s conftest.err
    5324        } && test -s conftest$ac_exeext && {
    5325          test "$cross_compiling" = yes ||
    5326          $as_test_x conftest$ac_exeext
    5327        }; then
     4967if ac_fn_cxx_try_link "$LINENO"; then :
    53284968  ac_cv_lib_ncurses_clrtoeol=yes
    53294969else
    5330   $as_echo "$as_me: failed program was:" >&5
    5331 sed 's/^/| /' conftest.$ac_ext >&5
    5332 
    5333         ac_cv_lib_ncurses_clrtoeol=no
    5334 fi
    5335 
    5336 rm -rf conftest.dSYM
    5337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5338       conftest$ac_exeext conftest.$ac_ext
     4970  ac_cv_lib_ncurses_clrtoeol=no
     4971fi
     4972rm -f core conftest.err conftest.$ac_objext \
     4973    conftest$ac_exeext conftest.$ac_ext
    53394974LIBS=$ac_check_lib_save_LIBS
    53404975fi
    5341 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     4976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    53424977$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    5343 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
     4978if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    53444979  cat >>confdefs.h <<_ACEOF
    53454980#define HAVE_LIBNCURSES 1
     
    53494984
    53504985else
    5351   { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
    5352 $as_echo "$as_me: error: ncurses library missing?" >&2;}
    5353    { (exit 1); exit 1; }; }
    5354 fi
    5355 
     4986  as_fn_error $? "ncurses library missing?" "$LINENO" 5
     4987fi
    53564988
    53574989for ac_header in ncurses.h
    5358 do
    5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5361   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5362 $as_echo_n "checking for $ac_header... " >&6; }
    5363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5364   $as_echo_n "(cached) " >&6
    5365 fi
    5366 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5367                  $as_echo "$as_val"'`
    5368                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5369 $as_echo "$ac_res" >&6; }
    5370 else
    5371   # Is the header compilable?
    5372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5373 $as_echo_n "checking $ac_header usability... " >&6; }
    5374 cat >conftest.$ac_ext <<_ACEOF
    5375 /* confdefs.h.  */
    5376 _ACEOF
    5377 cat confdefs.h >>conftest.$ac_ext
    5378 cat >>conftest.$ac_ext <<_ACEOF
    5379 /* end confdefs.h.  */
    5380 $ac_includes_default
    5381 #include <$ac_header>
    5382 _ACEOF
    5383 rm -f conftest.$ac_objext
    5384 if { (ac_try="$ac_compile"
    5385 case "(($ac_try" in
    5386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5387   *) ac_try_echo=$ac_try;;
    5388 esac
    5389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5390 $as_echo "$ac_try_echo") >&5
    5391   (eval "$ac_compile") 2>conftest.er1
    5392   ac_status=$?
    5393   grep -v '^ *+' conftest.er1 >conftest.err
    5394   rm -f conftest.er1
    5395   cat conftest.err >&5
    5396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5397   (exit $ac_status); } && {
    5398          test -z "$ac_cxx_werror_flag" ||
    5399          test ! -s conftest.err
    5400        } && test -s conftest.$ac_objext; then
    5401   ac_header_compiler=yes
    5402 else
    5403   $as_echo "$as_me: failed program was:" >&5
    5404 sed 's/^/| /' conftest.$ac_ext >&5
    5405 
    5406         ac_header_compiler=no
    5407 fi
    5408 
    5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5411 $as_echo "$ac_header_compiler" >&6; }
    5412 
    5413 # Is the header present?
    5414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5415 $as_echo_n "checking $ac_header presence... " >&6; }
    5416 cat >conftest.$ac_ext <<_ACEOF
    5417 /* confdefs.h.  */
    5418 _ACEOF
    5419 cat confdefs.h >>conftest.$ac_ext
    5420 cat >>conftest.$ac_ext <<_ACEOF
    5421 /* end confdefs.h.  */
    5422 #include <$ac_header>
    5423 _ACEOF
    5424 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5425 case "(($ac_try" in
    5426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5427   *) ac_try_echo=$ac_try;;
    5428 esac
    5429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5430 $as_echo "$ac_try_echo") >&5
    5431   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5432   ac_status=$?
    5433   grep -v '^ *+' conftest.er1 >conftest.err
    5434   rm -f conftest.er1
    5435   cat conftest.err >&5
    5436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5437   (exit $ac_status); } >/dev/null && {
    5438          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5439          test ! -s conftest.err
    5440        }; then
    5441   ac_header_preproc=yes
    5442 else
    5443   $as_echo "$as_me: failed program was:" >&5
    5444 sed 's/^/| /' conftest.$ac_ext >&5
    5445 
    5446   ac_header_preproc=no
    5447 fi
    5448 
    5449 rm -f conftest.err conftest.$ac_ext
    5450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5451 $as_echo "$ac_header_preproc" >&6; }
    5452 
    5453 # So?  What about this header?
    5454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5455   yes:no: )
    5456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5460     ac_header_preproc=yes
    5461     ;;
    5462   no:yes:* )
    5463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5466 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5467     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5469     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5470 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5471     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5473     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5475     ( cat <<\_ASBOX
    5476 ## ----------------------------------- ##
    5477 ## Report this to rappture@nanohub.org ##
    5478 ## ----------------------------------- ##
    5479 _ASBOX
    5480      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5481     ;;
    5482 esac
    5483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5484 $as_echo_n "checking for $ac_header... " >&6; }
    5485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5486   $as_echo_n "(cached) " >&6
    5487 else
    5488   eval "$as_ac_Header=\$ac_header_preproc"
    5489 fi
    5490 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5491                  $as_echo "$as_val"'`
    5492                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5493 $as_echo "$ac_res" >&6; }
    5494 
    5495 fi
    5496 as_val=`eval 'as_val=${'$as_ac_Header'}
    5497                  $as_echo "$as_val"'`
    5498    if test "x$as_val" = x""yes; then
     4990do :
     4991  ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
     4992if test "x$ac_cv_header_ncurses_h" = xyes; then :
    54994993  cat >>confdefs.h <<_ACEOF
    5500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5501 _ACEOF
    5502 
    5503 else
    5504   { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
     4994#define HAVE_NCURSES_H 1
     4995_ACEOF
     4996
     4997else
     4998  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    55054999$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    55065000fi
     
    55095003
    55105004
    5511 
    5512 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    55135006$as_echo_n "checking for main in -lstdc++... " >&6; }
    5514 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     5007if ${ac_cv_lib_stdcpp_main+:} false; then :
    55155008  $as_echo_n "(cached) " >&6
    55165009else
    55175010  ac_check_lib_save_LIBS=$LIBS
    55185011LIBS="-lstdc++  $LIBS"
    5519 cat >conftest.$ac_ext <<_ACEOF
    5520 /* confdefs.h.  */
    5521 _ACEOF
    5522 cat confdefs.h >>conftest.$ac_ext
    5523 cat >>conftest.$ac_ext <<_ACEOF
     5012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55245013/* end confdefs.h.  */
    55255014
     
    55335022}
    55345023_ACEOF
    5535 rm -f conftest.$ac_objext conftest$ac_exeext
    5536 if { (ac_try="$ac_link"
    5537 case "(($ac_try" in
    5538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5539   *) ac_try_echo=$ac_try;;
    5540 esac
    5541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5542 $as_echo "$ac_try_echo") >&5
    5543   (eval "$ac_link") 2>conftest.er1
    5544   ac_status=$?
    5545   grep -v '^ *+' conftest.er1 >conftest.err
    5546   rm -f conftest.er1
    5547   cat conftest.err >&5
    5548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5549   (exit $ac_status); } && {
    5550          test -z "$ac_cxx_werror_flag" ||
    5551          test ! -s conftest.err
    5552        } && test -s conftest$ac_exeext && {
    5553          test "$cross_compiling" = yes ||
    5554          $as_test_x conftest$ac_exeext
    5555        }; then
     5024if ac_fn_cxx_try_link "$LINENO"; then :
    55565025  ac_cv_lib_stdcpp_main=yes
    55575026else
    5558   $as_echo "$as_me: failed program was:" >&5
    5559 sed 's/^/| /' conftest.$ac_ext >&5
    5560 
    5561         ac_cv_lib_stdcpp_main=no
    5562 fi
    5563 
    5564 rm -rf conftest.dSYM
    5565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5566       conftest$ac_exeext conftest.$ac_ext
     5027  ac_cv_lib_stdcpp_main=no
     5028fi
     5029rm -f core conftest.err conftest.$ac_objext \
     5030    conftest$ac_exeext conftest.$ac_ext
    55675031LIBS=$ac_check_lib_save_LIBS
    55685032fi
    5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    55705034$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5571 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
     5035if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    55725036  cat >>confdefs.h <<_ACEOF
    55735037#define HAVE_LIBSTDC__ 1
     
    55775041
    55785042else
    5579   { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5580 $as_echo "$as_me: error: librappture requires libstdc++" >&2;}
    5581    { (exit 1); exit 1; }; }
    5582 fi
    5583 
     5043  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     5044fi
    55845045
    55855046for ac_header in algorithm
    5586 do
    5587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5589   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5590 $as_echo_n "checking for $ac_header... " >&6; }
    5591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5592   $as_echo_n "(cached) " >&6
    5593 fi
    5594 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5595                  $as_echo "$as_val"'`
    5596                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5597 $as_echo "$ac_res" >&6; }
    5598 else
    5599   # Is the header compilable?
    5600 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5601 $as_echo_n "checking $ac_header usability... " >&6; }
    5602 cat >conftest.$ac_ext <<_ACEOF
    5603 /* confdefs.h.  */
    5604 _ACEOF
    5605 cat confdefs.h >>conftest.$ac_ext
    5606 cat >>conftest.$ac_ext <<_ACEOF
    5607 /* end confdefs.h.  */
    5608 $ac_includes_default
    5609 #include <$ac_header>
    5610 _ACEOF
    5611 rm -f conftest.$ac_objext
    5612 if { (ac_try="$ac_compile"
    5613 case "(($ac_try" in
    5614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5615   *) ac_try_echo=$ac_try;;
    5616 esac
    5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5618 $as_echo "$ac_try_echo") >&5
    5619   (eval "$ac_compile") 2>conftest.er1
    5620   ac_status=$?
    5621   grep -v '^ *+' conftest.er1 >conftest.err
    5622   rm -f conftest.er1
    5623   cat conftest.err >&5
    5624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5625   (exit $ac_status); } && {
    5626          test -z "$ac_cxx_werror_flag" ||
    5627          test ! -s conftest.err
    5628        } && test -s conftest.$ac_objext; then
    5629   ac_header_compiler=yes
    5630 else
    5631   $as_echo "$as_me: failed program was:" >&5
    5632 sed 's/^/| /' conftest.$ac_ext >&5
    5633 
    5634         ac_header_compiler=no
    5635 fi
    5636 
    5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5638 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5639 $as_echo "$ac_header_compiler" >&6; }
    5640 
    5641 # Is the header present?
    5642 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5643 $as_echo_n "checking $ac_header presence... " >&6; }
    5644 cat >conftest.$ac_ext <<_ACEOF
    5645 /* confdefs.h.  */
    5646 _ACEOF
    5647 cat confdefs.h >>conftest.$ac_ext
    5648 cat >>conftest.$ac_ext <<_ACEOF
    5649 /* end confdefs.h.  */
    5650 #include <$ac_header>
    5651 _ACEOF
    5652 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5653 case "(($ac_try" in
    5654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5655   *) ac_try_echo=$ac_try;;
    5656 esac
    5657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5658 $as_echo "$ac_try_echo") >&5
    5659   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5660   ac_status=$?
    5661   grep -v '^ *+' conftest.er1 >conftest.err
    5662   rm -f conftest.er1
    5663   cat conftest.err >&5
    5664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5665   (exit $ac_status); } >/dev/null && {
    5666          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5667          test ! -s conftest.err
    5668        }; then
    5669   ac_header_preproc=yes
    5670 else
    5671   $as_echo "$as_me: failed program was:" >&5
    5672 sed 's/^/| /' conftest.$ac_ext >&5
    5673 
    5674   ac_header_preproc=no
    5675 fi
    5676 
    5677 rm -f conftest.err conftest.$ac_ext
    5678 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5679 $as_echo "$ac_header_preproc" >&6; }
    5680 
    5681 # So?  What about this header?
    5682 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5683   yes:no: )
    5684     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5685 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5686     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5688     ac_header_preproc=yes
    5689     ;;
    5690   no:yes:* )
    5691     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5692 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5693     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5694 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5695     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5696 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5697     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5698 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5699     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5701     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5702 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5703     ( cat <<\_ASBOX
    5704 ## ----------------------------------- ##
    5705 ## Report this to rappture@nanohub.org ##
    5706 ## ----------------------------------- ##
    5707 _ASBOX
    5708      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5709     ;;
    5710 esac
    5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5712 $as_echo_n "checking for $ac_header... " >&6; }
    5713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5714   $as_echo_n "(cached) " >&6
    5715 else
    5716   eval "$as_ac_Header=\$ac_header_preproc"
    5717 fi
    5718 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5719                  $as_echo "$as_val"'`
    5720                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5721 $as_echo "$ac_res" >&6; }
    5722 
    5723 fi
    5724 as_val=`eval 'as_val=${'$as_ac_Header'}
    5725                  $as_echo "$as_val"'`
    5726    if test "x$as_val" = x""yes; then
     5047do :
     5048  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     5049if test "x$ac_cv_header_algorithm" = xyes; then :
    57275050  cat >>confdefs.h <<_ACEOF
    5728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5729 _ACEOF
    5730 
    5731 else
    5732   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5051#define HAVE_ALGORITHM 1
     5052_ACEOF
     5053
     5054else
     5055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    57335056$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    57345057fi
     
    57365059done
    57375060
    5738 
    57395061for ac_header in cctype
    5740 do
    5741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5743   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5744 $as_echo_n "checking for $ac_header... " >&6; }
    5745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5746   $as_echo_n "(cached) " >&6
    5747 fi
    5748 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5749                  $as_echo "$as_val"'`
    5750                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5751 $as_echo "$ac_res" >&6; }
    5752 else
    5753   # Is the header compilable?
    5754 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5755 $as_echo_n "checking $ac_header usability... " >&6; }
    5756 cat >conftest.$ac_ext <<_ACEOF
    5757 /* confdefs.h.  */
    5758 _ACEOF
    5759 cat confdefs.h >>conftest.$ac_ext
    5760 cat >>conftest.$ac_ext <<_ACEOF
    5761 /* end confdefs.h.  */
    5762 $ac_includes_default
    5763 #include <$ac_header>
    5764 _ACEOF
    5765 rm -f conftest.$ac_objext
    5766 if { (ac_try="$ac_compile"
    5767 case "(($ac_try" in
    5768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5769   *) ac_try_echo=$ac_try;;
    5770 esac
    5771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5772 $as_echo "$ac_try_echo") >&5
    5773   (eval "$ac_compile") 2>conftest.er1
    5774   ac_status=$?
    5775   grep -v '^ *+' conftest.er1 >conftest.err
    5776   rm -f conftest.er1
    5777   cat conftest.err >&5
    5778   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5779   (exit $ac_status); } && {
    5780          test -z "$ac_cxx_werror_flag" ||
    5781          test ! -s conftest.err
    5782        } && test -s conftest.$ac_objext; then
    5783   ac_header_compiler=yes
    5784 else
    5785   $as_echo "$as_me: failed program was:" >&5
    5786 sed 's/^/| /' conftest.$ac_ext >&5
    5787 
    5788         ac_header_compiler=no
    5789 fi
    5790 
    5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5792 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5793 $as_echo "$ac_header_compiler" >&6; }
    5794 
    5795 # Is the header present?
    5796 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5797 $as_echo_n "checking $ac_header presence... " >&6; }
    5798 cat >conftest.$ac_ext <<_ACEOF
    5799 /* confdefs.h.  */
    5800 _ACEOF
    5801 cat confdefs.h >>conftest.$ac_ext
    5802 cat >>conftest.$ac_ext <<_ACEOF
    5803 /* end confdefs.h.  */
    5804 #include <$ac_header>
    5805 _ACEOF
    5806 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5807 case "(($ac_try" in
    5808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5809   *) ac_try_echo=$ac_try;;
    5810 esac
    5811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5812 $as_echo "$ac_try_echo") >&5
    5813   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5814   ac_status=$?
    5815   grep -v '^ *+' conftest.er1 >conftest.err
    5816   rm -f conftest.er1
    5817   cat conftest.err >&5
    5818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5819   (exit $ac_status); } >/dev/null && {
    5820          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5821          test ! -s conftest.err
    5822        }; then
    5823   ac_header_preproc=yes
    5824 else
    5825   $as_echo "$as_me: failed program was:" >&5
    5826 sed 's/^/| /' conftest.$ac_ext >&5
    5827 
    5828   ac_header_preproc=no
    5829 fi
    5830 
    5831 rm -f conftest.err conftest.$ac_ext
    5832 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5833 $as_echo "$ac_header_preproc" >&6; }
    5834 
    5835 # So?  What about this header?
    5836 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5837   yes:no: )
    5838     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5839 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5840     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5842     ac_header_preproc=yes
    5843     ;;
    5844   no:yes:* )
    5845     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5846 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5847     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5848 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5849     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5850 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5851     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5852 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5853     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5854 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5855     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5856 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5857     ( cat <<\_ASBOX
    5858 ## ----------------------------------- ##
    5859 ## Report this to rappture@nanohub.org ##
    5860 ## ----------------------------------- ##
    5861 _ASBOX
    5862      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5863     ;;
    5864 esac
    5865 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5866 $as_echo_n "checking for $ac_header... " >&6; }
    5867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5868   $as_echo_n "(cached) " >&6
    5869 else
    5870   eval "$as_ac_Header=\$ac_header_preproc"
    5871 fi
    5872 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5873                  $as_echo "$as_val"'`
    5874                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5875 $as_echo "$ac_res" >&6; }
    5876 
    5877 fi
    5878 as_val=`eval 'as_val=${'$as_ac_Header'}
    5879                  $as_echo "$as_val"'`
    5880    if test "x$as_val" = x""yes; then
     5062do :
     5063  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     5064if test "x$ac_cv_header_cctype" = xyes; then :
    58815065  cat >>confdefs.h <<_ACEOF
    5882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5883 _ACEOF
    5884 
    5885 else
    5886   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5066#define HAVE_CCTYPE 1
     5067_ACEOF
     5068
     5069else
     5070  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    58875071$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    58885072fi
     
    58905074done
    58915075
    5892 
    58935076for ac_header in cfloat
    5894 do
    5895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5897   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5898 $as_echo_n "checking for $ac_header... " >&6; }
    5899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5900   $as_echo_n "(cached) " >&6
    5901 fi
    5902 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5903                  $as_echo "$as_val"'`
    5904                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5905 $as_echo "$ac_res" >&6; }
    5906 else
    5907   # Is the header compilable?
    5908 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5909 $as_echo_n "checking $ac_header usability... " >&6; }
    5910 cat >conftest.$ac_ext <<_ACEOF
    5911 /* confdefs.h.  */
    5912 _ACEOF
    5913 cat confdefs.h >>conftest.$ac_ext
    5914 cat >>conftest.$ac_ext <<_ACEOF
    5915 /* end confdefs.h.  */
    5916 $ac_includes_default
    5917 #include <$ac_header>
    5918 _ACEOF
    5919 rm -f conftest.$ac_objext
    5920 if { (ac_try="$ac_compile"
    5921 case "(($ac_try" in
    5922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5923   *) ac_try_echo=$ac_try;;
    5924 esac
    5925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5926 $as_echo "$ac_try_echo") >&5
    5927   (eval "$ac_compile") 2>conftest.er1
    5928   ac_status=$?
    5929   grep -v '^ *+' conftest.er1 >conftest.err
    5930   rm -f conftest.er1
    5931   cat conftest.err >&5
    5932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5933   (exit $ac_status); } && {
    5934          test -z "$ac_cxx_werror_flag" ||
    5935          test ! -s conftest.err
    5936        } && test -s conftest.$ac_objext; then
    5937   ac_header_compiler=yes
    5938 else
    5939   $as_echo "$as_me: failed program was:" >&5
    5940 sed 's/^/| /' conftest.$ac_ext >&5
    5941 
    5942         ac_header_compiler=no
    5943 fi
    5944 
    5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5946 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5947 $as_echo "$ac_header_compiler" >&6; }
    5948 
    5949 # Is the header present?
    5950 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5951 $as_echo_n "checking $ac_header presence... " >&6; }
    5952 cat >conftest.$ac_ext <<_ACEOF
    5953 /* confdefs.h.  */
    5954 _ACEOF
    5955 cat confdefs.h >>conftest.$ac_ext
    5956 cat >>conftest.$ac_ext <<_ACEOF
    5957 /* end confdefs.h.  */
    5958 #include <$ac_header>
    5959 _ACEOF
    5960 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5961 case "(($ac_try" in
    5962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5963   *) ac_try_echo=$ac_try;;
    5964 esac
    5965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5966 $as_echo "$ac_try_echo") >&5
    5967   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5968   ac_status=$?
    5969   grep -v '^ *+' conftest.er1 >conftest.err
    5970   rm -f conftest.er1
    5971   cat conftest.err >&5
    5972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5973   (exit $ac_status); } >/dev/null && {
    5974          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5975          test ! -s conftest.err
    5976        }; then
    5977   ac_header_preproc=yes
    5978 else
    5979   $as_echo "$as_me: failed program was:" >&5
    5980 sed 's/^/| /' conftest.$ac_ext >&5
    5981 
    5982   ac_header_preproc=no
    5983 fi
    5984 
    5985 rm -f conftest.err conftest.$ac_ext
    5986 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5987 $as_echo "$ac_header_preproc" >&6; }
    5988 
    5989 # So?  What about this header?
    5990 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5991   yes:no: )
    5992     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5993 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5994     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5995 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5996     ac_header_preproc=yes
    5997     ;;
    5998   no:yes:* )
    5999     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6000 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6001     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6002 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6003     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6004 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6005     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6006 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6007     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6009     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6010 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6011     ( cat <<\_ASBOX
    6012 ## ----------------------------------- ##
    6013 ## Report this to rappture@nanohub.org ##
    6014 ## ----------------------------------- ##
    6015 _ASBOX
    6016      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6017     ;;
    6018 esac
    6019 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6020 $as_echo_n "checking for $ac_header... " >&6; }
    6021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6022   $as_echo_n "(cached) " >&6
    6023 else
    6024   eval "$as_ac_Header=\$ac_header_preproc"
    6025 fi
    6026 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6027                  $as_echo "$as_val"'`
    6028                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6029 $as_echo "$ac_res" >&6; }
    6030 
    6031 fi
    6032 as_val=`eval 'as_val=${'$as_ac_Header'}
    6033                  $as_echo "$as_val"'`
    6034    if test "x$as_val" = x""yes; then
     5077do :
     5078  ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
     5079if test "x$ac_cv_header_cfloat" = xyes; then :
    60355080  cat >>confdefs.h <<_ACEOF
    6036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6037 _ACEOF
    6038 
    6039 else
    6040   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5081#define HAVE_CFLOAT 1
     5082_ACEOF
     5083
     5084else
     5085  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    60415086$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    60425087fi
     
    60445089done
    60455090
    6046 
    60475091for ac_header in cmath
    6048 do
    6049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6051   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6052 $as_echo_n "checking for $ac_header... " >&6; }
    6053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6054   $as_echo_n "(cached) " >&6
    6055 fi
    6056 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6057                  $as_echo "$as_val"'`
    6058                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6059 $as_echo "$ac_res" >&6; }
    6060 else
    6061   # Is the header compilable?
    6062 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6063 $as_echo_n "checking $ac_header usability... " >&6; }
    6064 cat >conftest.$ac_ext <<_ACEOF
    6065 /* confdefs.h.  */
    6066 _ACEOF
    6067 cat confdefs.h >>conftest.$ac_ext
    6068 cat >>conftest.$ac_ext <<_ACEOF
    6069 /* end confdefs.h.  */
    6070 $ac_includes_default
    6071 #include <$ac_header>
    6072 _ACEOF
    6073 rm -f conftest.$ac_objext
    6074 if { (ac_try="$ac_compile"
    6075 case "(($ac_try" in
    6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6077   *) ac_try_echo=$ac_try;;
    6078 esac
    6079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6080 $as_echo "$ac_try_echo") >&5
    6081   (eval "$ac_compile") 2>conftest.er1
    6082   ac_status=$?
    6083   grep -v '^ *+' conftest.er1 >conftest.err
    6084   rm -f conftest.er1
    6085   cat conftest.err >&5
    6086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6087   (exit $ac_status); } && {
    6088          test -z "$ac_cxx_werror_flag" ||
    6089          test ! -s conftest.err
    6090        } && test -s conftest.$ac_objext; then
    6091   ac_header_compiler=yes
    6092 else
    6093   $as_echo "$as_me: failed program was:" >&5
    6094 sed 's/^/| /' conftest.$ac_ext >&5
    6095 
    6096         ac_header_compiler=no
    6097 fi
    6098 
    6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6100 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6101 $as_echo "$ac_header_compiler" >&6; }
    6102 
    6103 # Is the header present?
    6104 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6105 $as_echo_n "checking $ac_header presence... " >&6; }
    6106 cat >conftest.$ac_ext <<_ACEOF
    6107 /* confdefs.h.  */
    6108 _ACEOF
    6109 cat confdefs.h >>conftest.$ac_ext
    6110 cat >>conftest.$ac_ext <<_ACEOF
    6111 /* end confdefs.h.  */
    6112 #include <$ac_header>
    6113 _ACEOF
    6114 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6115 case "(($ac_try" in
    6116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6117   *) ac_try_echo=$ac_try;;
    6118 esac
    6119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6120 $as_echo "$ac_try_echo") >&5
    6121   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6122   ac_status=$?
    6123   grep -v '^ *+' conftest.er1 >conftest.err
    6124   rm -f conftest.er1
    6125   cat conftest.err >&5
    6126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6127   (exit $ac_status); } >/dev/null && {
    6128          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6129          test ! -s conftest.err
    6130        }; then
    6131   ac_header_preproc=yes
    6132 else
    6133   $as_echo "$as_me: failed program was:" >&5
    6134 sed 's/^/| /' conftest.$ac_ext >&5
    6135 
    6136   ac_header_preproc=no
    6137 fi
    6138 
    6139 rm -f conftest.err conftest.$ac_ext
    6140 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6141 $as_echo "$ac_header_preproc" >&6; }
    6142 
    6143 # So?  What about this header?
    6144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6145   yes:no: )
    6146     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6147 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6148     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6149 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6150     ac_header_preproc=yes
    6151     ;;
    6152   no:yes:* )
    6153     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6154 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6155     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6156 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6157     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6158 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6159     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6160 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6161     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6162 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6163     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6164 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6165     ( cat <<\_ASBOX
    6166 ## ----------------------------------- ##
    6167 ## Report this to rappture@nanohub.org ##
    6168 ## ----------------------------------- ##
    6169 _ASBOX
    6170      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6171     ;;
    6172 esac
    6173 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6174 $as_echo_n "checking for $ac_header... " >&6; }
    6175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6176   $as_echo_n "(cached) " >&6
    6177 else
    6178   eval "$as_ac_Header=\$ac_header_preproc"
    6179 fi
    6180 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6181                  $as_echo "$as_val"'`
    6182                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6183 $as_echo "$ac_res" >&6; }
    6184 
    6185 fi
    6186 as_val=`eval 'as_val=${'$as_ac_Header'}
    6187                  $as_echo "$as_val"'`
    6188    if test "x$as_val" = x""yes; then
     5092do :
     5093  ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
     5094if test "x$ac_cv_header_cmath" = xyes; then :
    61895095  cat >>confdefs.h <<_ACEOF
    6190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6191 _ACEOF
    6192 
    6193 else
    6194   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5096#define HAVE_CMATH 1
     5097_ACEOF
     5098
     5099else
     5100  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    61955101$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    61965102fi
     
    61985104done
    61995105
    6200 
    62015106for ac_header in cstdio
    6202 do
    6203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6205   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6206 $as_echo_n "checking for $ac_header... " >&6; }
    6207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6208   $as_echo_n "(cached) " >&6
    6209 fi
    6210 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6211                  $as_echo "$as_val"'`
    6212                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6213 $as_echo "$ac_res" >&6; }
    6214 else
    6215   # Is the header compilable?
    6216 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6217 $as_echo_n "checking $ac_header usability... " >&6; }
    6218 cat >conftest.$ac_ext <<_ACEOF
    6219 /* confdefs.h.  */
    6220 _ACEOF
    6221 cat confdefs.h >>conftest.$ac_ext
    6222 cat >>conftest.$ac_ext <<_ACEOF
    6223 /* end confdefs.h.  */
    6224 $ac_includes_default
    6225 #include <$ac_header>
    6226 _ACEOF
    6227 rm -f conftest.$ac_objext
    6228 if { (ac_try="$ac_compile"
    6229 case "(($ac_try" in
    6230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6231   *) ac_try_echo=$ac_try;;
    6232 esac
    6233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6234 $as_echo "$ac_try_echo") >&5
    6235   (eval "$ac_compile") 2>conftest.er1
    6236   ac_status=$?
    6237   grep -v '^ *+' conftest.er1 >conftest.err
    6238   rm -f conftest.er1
    6239   cat conftest.err >&5
    6240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6241   (exit $ac_status); } && {
    6242          test -z "$ac_cxx_werror_flag" ||
    6243          test ! -s conftest.err
    6244        } && test -s conftest.$ac_objext; then
    6245   ac_header_compiler=yes
    6246 else
    6247   $as_echo "$as_me: failed program was:" >&5
    6248 sed 's/^/| /' conftest.$ac_ext >&5
    6249 
    6250         ac_header_compiler=no
    6251 fi
    6252 
    6253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6254 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6255 $as_echo "$ac_header_compiler" >&6; }
    6256 
    6257 # Is the header present?
    6258 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6259 $as_echo_n "checking $ac_header presence... " >&6; }
    6260 cat >conftest.$ac_ext <<_ACEOF
    6261 /* confdefs.h.  */
    6262 _ACEOF
    6263 cat confdefs.h >>conftest.$ac_ext
    6264 cat >>conftest.$ac_ext <<_ACEOF
    6265 /* end confdefs.h.  */
    6266 #include <$ac_header>
    6267 _ACEOF
    6268 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6269 case "(($ac_try" in
    6270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6271   *) ac_try_echo=$ac_try;;
    6272 esac
    6273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6274 $as_echo "$ac_try_echo") >&5
    6275   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6276   ac_status=$?
    6277   grep -v '^ *+' conftest.er1 >conftest.err
    6278   rm -f conftest.er1
    6279   cat conftest.err >&5
    6280   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6281   (exit $ac_status); } >/dev/null && {
    6282          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6283          test ! -s conftest.err
    6284        }; then
    6285   ac_header_preproc=yes
    6286 else
    6287   $as_echo "$as_me: failed program was:" >&5
    6288 sed 's/^/| /' conftest.$ac_ext >&5
    6289 
    6290   ac_header_preproc=no
    6291 fi
    6292 
    6293 rm -f conftest.err conftest.$ac_ext
    6294 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6295 $as_echo "$ac_header_preproc" >&6; }
    6296 
    6297 # So?  What about this header?
    6298 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6299   yes:no: )
    6300     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6301 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6302     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6303 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6304     ac_header_preproc=yes
    6305     ;;
    6306   no:yes:* )
    6307     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6308 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6309     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6310 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6311     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6312 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6313     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6314 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6315     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6316 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6317     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6318 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6319     ( cat <<\_ASBOX
    6320 ## ----------------------------------- ##
    6321 ## Report this to rappture@nanohub.org ##
    6322 ## ----------------------------------- ##
    6323 _ASBOX
    6324      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6325     ;;
    6326 esac
    6327 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6328 $as_echo_n "checking for $ac_header... " >&6; }
    6329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6330   $as_echo_n "(cached) " >&6
    6331 else
    6332   eval "$as_ac_Header=\$ac_header_preproc"
    6333 fi
    6334 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6335                  $as_echo "$as_val"'`
    6336                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6337 $as_echo "$ac_res" >&6; }
    6338 
    6339 fi
    6340 as_val=`eval 'as_val=${'$as_ac_Header'}
    6341                  $as_echo "$as_val"'`
    6342    if test "x$as_val" = x""yes; then
     5107do :
     5108  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default"
     5109if test "x$ac_cv_header_cstdio" = xyes; then :
    63435110  cat >>confdefs.h <<_ACEOF
    6344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6345 _ACEOF
    6346 
    6347 else
    6348   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5111#define HAVE_CSTDIO 1
     5112_ACEOF
     5113
     5114else
     5115  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    63495116$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    63505117fi
     
    63525119done
    63535120
    6354 
    63555121for ac_header in cstdlib
    6356 do
    6357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6359   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6360 $as_echo_n "checking for $ac_header... " >&6; }
    6361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6362   $as_echo_n "(cached) " >&6
    6363 fi
    6364 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6365                  $as_echo "$as_val"'`
    6366                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6367 $as_echo "$ac_res" >&6; }
    6368 else
    6369   # Is the header compilable?
    6370 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6371 $as_echo_n "checking $ac_header usability... " >&6; }
    6372 cat >conftest.$ac_ext <<_ACEOF
    6373 /* confdefs.h.  */
    6374 _ACEOF
    6375 cat confdefs.h >>conftest.$ac_ext
    6376 cat >>conftest.$ac_ext <<_ACEOF
    6377 /* end confdefs.h.  */
    6378 $ac_includes_default
    6379 #include <$ac_header>
    6380 _ACEOF
    6381 rm -f conftest.$ac_objext
    6382 if { (ac_try="$ac_compile"
    6383 case "(($ac_try" in
    6384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6385   *) ac_try_echo=$ac_try;;
    6386 esac
    6387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6388 $as_echo "$ac_try_echo") >&5
    6389   (eval "$ac_compile") 2>conftest.er1
    6390   ac_status=$?
    6391   grep -v '^ *+' conftest.er1 >conftest.err
    6392   rm -f conftest.er1
    6393   cat conftest.err >&5
    6394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6395   (exit $ac_status); } && {
    6396          test -z "$ac_cxx_werror_flag" ||
    6397          test ! -s conftest.err
    6398        } && test -s conftest.$ac_objext; then
    6399   ac_header_compiler=yes
    6400 else
    6401   $as_echo "$as_me: failed program was:" >&5
    6402 sed 's/^/| /' conftest.$ac_ext >&5
    6403 
    6404         ac_header_compiler=no
    6405 fi
    6406 
    6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6409 $as_echo "$ac_header_compiler" >&6; }
    6410 
    6411 # Is the header present?
    6412 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6413 $as_echo_n "checking $ac_header presence... " >&6; }
    6414 cat >conftest.$ac_ext <<_ACEOF
    6415 /* confdefs.h.  */
    6416 _ACEOF
    6417 cat confdefs.h >>conftest.$ac_ext
    6418 cat >>conftest.$ac_ext <<_ACEOF
    6419 /* end confdefs.h.  */
    6420 #include <$ac_header>
    6421 _ACEOF
    6422 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6423 case "(($ac_try" in
    6424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6425   *) ac_try_echo=$ac_try;;
    6426 esac
    6427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6428 $as_echo "$ac_try_echo") >&5
    6429   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6430   ac_status=$?
    6431   grep -v '^ *+' conftest.er1 >conftest.err
    6432   rm -f conftest.er1
    6433   cat conftest.err >&5
    6434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6435   (exit $ac_status); } >/dev/null && {
    6436          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6437          test ! -s conftest.err
    6438        }; then
    6439   ac_header_preproc=yes
    6440 else
    6441   $as_echo "$as_me: failed program was:" >&5
    6442 sed 's/^/| /' conftest.$ac_ext >&5
    6443 
    6444   ac_header_preproc=no
    6445 fi
    6446 
    6447 rm -f conftest.err conftest.$ac_ext
    6448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6449 $as_echo "$ac_header_preproc" >&6; }
    6450 
    6451 # So?  What about this header?
    6452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6453   yes:no: )
    6454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6455 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6458     ac_header_preproc=yes
    6459     ;;
    6460   no:yes:* )
    6461     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6462 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6464 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6466 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6467     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6468 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6469     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6470 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6471     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6472 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6473     ( cat <<\_ASBOX
    6474 ## ----------------------------------- ##
    6475 ## Report this to rappture@nanohub.org ##
    6476 ## ----------------------------------- ##
    6477 _ASBOX
    6478      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6479     ;;
    6480 esac
    6481 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6482 $as_echo_n "checking for $ac_header... " >&6; }
    6483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6484   $as_echo_n "(cached) " >&6
    6485 else
    6486   eval "$as_ac_Header=\$ac_header_preproc"
    6487 fi
    6488 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6489                  $as_echo "$as_val"'`
    6490                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6491 $as_echo "$ac_res" >&6; }
    6492 
    6493 fi
    6494 as_val=`eval 'as_val=${'$as_ac_Header'}
    6495                  $as_echo "$as_val"'`
    6496    if test "x$as_val" = x""yes; then
     5122do :
     5123  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default"
     5124if test "x$ac_cv_header_cstdlib" = xyes; then :
    64975125  cat >>confdefs.h <<_ACEOF
    6498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6499 _ACEOF
    6500 
    6501 else
    6502   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5126#define HAVE_CSTDLIB 1
     5127_ACEOF
     5128
     5129else
     5130  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    65035131$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    65045132fi
     
    65065134done
    65075135
    6508 
    65095136for ac_header in cstring
    6510 do
    6511 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6513   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6514 $as_echo_n "checking for $ac_header... " >&6; }
    6515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6516   $as_echo_n "(cached) " >&6
    6517 fi
    6518 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6519                  $as_echo "$as_val"'`
    6520                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6521 $as_echo "$ac_res" >&6; }
    6522 else
    6523   # Is the header compilable?
    6524 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6525 $as_echo_n "checking $ac_header usability... " >&6; }
    6526 cat >conftest.$ac_ext <<_ACEOF
    6527 /* confdefs.h.  */
    6528 _ACEOF
    6529 cat confdefs.h >>conftest.$ac_ext
    6530 cat >>conftest.$ac_ext <<_ACEOF
    6531 /* end confdefs.h.  */
    6532 $ac_includes_default
    6533 #include <$ac_header>
    6534 _ACEOF
    6535 rm -f conftest.$ac_objext
    6536 if { (ac_try="$ac_compile"
    6537 case "(($ac_try" in
    6538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6539   *) ac_try_echo=$ac_try;;
    6540 esac
    6541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6542 $as_echo "$ac_try_echo") >&5
    6543   (eval "$ac_compile") 2>conftest.er1
    6544   ac_status=$?
    6545   grep -v '^ *+' conftest.er1 >conftest.err
    6546   rm -f conftest.er1
    6547   cat conftest.err >&5
    6548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6549   (exit $ac_status); } && {
    6550          test -z "$ac_cxx_werror_flag" ||
    6551          test ! -s conftest.err
    6552        } && test -s conftest.$ac_objext; then
    6553   ac_header_compiler=yes
    6554 else
    6555   $as_echo "$as_me: failed program was:" >&5
    6556 sed 's/^/| /' conftest.$ac_ext >&5
    6557 
    6558         ac_header_compiler=no
    6559 fi
    6560 
    6561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6562 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6563 $as_echo "$ac_header_compiler" >&6; }
    6564 
    6565 # Is the header present?
    6566 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6567 $as_echo_n "checking $ac_header presence... " >&6; }
    6568 cat >conftest.$ac_ext <<_ACEOF
    6569 /* confdefs.h.  */
    6570 _ACEOF
    6571 cat confdefs.h >>conftest.$ac_ext
    6572 cat >>conftest.$ac_ext <<_ACEOF
    6573 /* end confdefs.h.  */
    6574 #include <$ac_header>
    6575 _ACEOF
    6576 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6577 case "(($ac_try" in
    6578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6579   *) ac_try_echo=$ac_try;;
    6580 esac
    6581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6582 $as_echo "$ac_try_echo") >&5
    6583   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6584   ac_status=$?
    6585   grep -v '^ *+' conftest.er1 >conftest.err
    6586   rm -f conftest.er1
    6587   cat conftest.err >&5
    6588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6589   (exit $ac_status); } >/dev/null && {
    6590          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6591          test ! -s conftest.err
    6592        }; then
    6593   ac_header_preproc=yes
    6594 else
    6595   $as_echo "$as_me: failed program was:" >&5
    6596 sed 's/^/| /' conftest.$ac_ext >&5
    6597 
    6598   ac_header_preproc=no
    6599 fi
    6600 
    6601 rm -f conftest.err conftest.$ac_ext
    6602 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6603 $as_echo "$ac_header_preproc" >&6; }
    6604 
    6605 # So?  What about this header?
    6606 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6607   yes:no: )
    6608     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6609 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6610     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6611 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6612     ac_header_preproc=yes
    6613     ;;
    6614   no:yes:* )
    6615     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6616 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6617     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6618 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6619     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6620 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6621     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6622 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6623     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6624 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6625     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6626 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6627     ( cat <<\_ASBOX
    6628 ## ----------------------------------- ##
    6629 ## Report this to rappture@nanohub.org ##
    6630 ## ----------------------------------- ##
    6631 _ASBOX
    6632      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6633     ;;
    6634 esac
    6635 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6636 $as_echo_n "checking for $ac_header... " >&6; }
    6637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6638   $as_echo_n "(cached) " >&6
    6639 else
    6640   eval "$as_ac_Header=\$ac_header_preproc"
    6641 fi
    6642 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6643                  $as_echo "$as_val"'`
    6644                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6645 $as_echo "$ac_res" >&6; }
    6646 
    6647 fi
    6648 as_val=`eval 'as_val=${'$as_ac_Header'}
    6649                  $as_echo "$as_val"'`
    6650    if test "x$as_val" = x""yes; then
     5137do :
     5138  ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default"
     5139if test "x$ac_cv_header_cstring" = xyes; then :
    66515140  cat >>confdefs.h <<_ACEOF
    6652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6653 _ACEOF
    6654 
    6655 else
    6656   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5141#define HAVE_CSTRING 1
     5142_ACEOF
     5143
     5144else
     5145  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    66575146$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    66585147fi
     
    66605149done
    66615150
    6662 
    66635151for ac_header in fstream
    6664 do
    6665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6667   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6668 $as_echo_n "checking for $ac_header... " >&6; }
    6669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6670   $as_echo_n "(cached) " >&6
    6671 fi
    6672 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6673                  $as_echo "$as_val"'`
    6674                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6675 $as_echo "$ac_res" >&6; }
    6676 else
    6677   # Is the header compilable?
    6678 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6679 $as_echo_n "checking $ac_header usability... " >&6; }
    6680 cat >conftest.$ac_ext <<_ACEOF
    6681 /* confdefs.h.  */
    6682 _ACEOF
    6683 cat confdefs.h >>conftest.$ac_ext
    6684 cat >>conftest.$ac_ext <<_ACEOF
    6685 /* end confdefs.h.  */
    6686 $ac_includes_default
    6687 #include <$ac_header>
    6688 _ACEOF
    6689 rm -f conftest.$ac_objext
    6690 if { (ac_try="$ac_compile"
    6691 case "(($ac_try" in
    6692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6693   *) ac_try_echo=$ac_try;;
    6694 esac
    6695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6696 $as_echo "$ac_try_echo") >&5
    6697   (eval "$ac_compile") 2>conftest.er1
    6698   ac_status=$?
    6699   grep -v '^ *+' conftest.er1 >conftest.err
    6700   rm -f conftest.er1
    6701   cat conftest.err >&5
    6702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6703   (exit $ac_status); } && {
    6704          test -z "$ac_cxx_werror_flag" ||
    6705          test ! -s conftest.err
    6706        } && test -s conftest.$ac_objext; then
    6707   ac_header_compiler=yes
    6708 else
    6709   $as_echo "$as_me: failed program was:" >&5
    6710 sed 's/^/| /' conftest.$ac_ext >&5
    6711 
    6712         ac_header_compiler=no
    6713 fi
    6714 
    6715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6716 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6717 $as_echo "$ac_header_compiler" >&6; }
    6718 
    6719 # Is the header present?
    6720 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6721 $as_echo_n "checking $ac_header presence... " >&6; }
    6722 cat >conftest.$ac_ext <<_ACEOF
    6723 /* confdefs.h.  */
    6724 _ACEOF
    6725 cat confdefs.h >>conftest.$ac_ext
    6726 cat >>conftest.$ac_ext <<_ACEOF
    6727 /* end confdefs.h.  */
    6728 #include <$ac_header>
    6729 _ACEOF
    6730 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6731 case "(($ac_try" in
    6732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6733   *) ac_try_echo=$ac_try;;
    6734 esac
    6735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6736 $as_echo "$ac_try_echo") >&5
    6737   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6738   ac_status=$?
    6739   grep -v '^ *+' conftest.er1 >conftest.err
    6740   rm -f conftest.er1
    6741   cat conftest.err >&5
    6742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6743   (exit $ac_status); } >/dev/null && {
    6744          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6745          test ! -s conftest.err
    6746        }; then
    6747   ac_header_preproc=yes
    6748 else
    6749   $as_echo "$as_me: failed program was:" >&5
    6750 sed 's/^/| /' conftest.$ac_ext >&5
    6751 
    6752   ac_header_preproc=no
    6753 fi
    6754 
    6755 rm -f conftest.err conftest.$ac_ext
    6756 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6757 $as_echo "$ac_header_preproc" >&6; }
    6758 
    6759 # So?  What about this header?
    6760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6761   yes:no: )
    6762     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6763 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6764     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6765 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6766     ac_header_preproc=yes
    6767     ;;
    6768   no:yes:* )
    6769     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6770 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6771     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6772 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6773     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6774 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6775     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6776 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6777     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6778 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6779     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6780 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6781     ( cat <<\_ASBOX
    6782 ## ----------------------------------- ##
    6783 ## Report this to rappture@nanohub.org ##
    6784 ## ----------------------------------- ##
    6785 _ASBOX
    6786      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6787     ;;
    6788 esac
    6789 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6790 $as_echo_n "checking for $ac_header... " >&6; }
    6791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6792   $as_echo_n "(cached) " >&6
    6793 else
    6794   eval "$as_ac_Header=\$ac_header_preproc"
    6795 fi
    6796 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6797                  $as_echo "$as_val"'`
    6798                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6799 $as_echo "$ac_res" >&6; }
    6800 
    6801 fi
    6802 as_val=`eval 'as_val=${'$as_ac_Header'}
    6803                  $as_echo "$as_val"'`
    6804    if test "x$as_val" = x""yes; then
     5152do :
     5153  ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default"
     5154if test "x$ac_cv_header_fstream" = xyes; then :
    68055155  cat >>confdefs.h <<_ACEOF
    6806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6807 _ACEOF
    6808 
    6809 else
    6810   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5156#define HAVE_FSTREAM 1
     5157_ACEOF
     5158
     5159else
     5160  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    68115161$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    68125162fi
     
    68145164done
    68155165
    6816 
    68175166for ac_header in list
    6818 do
    6819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6821   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6822 $as_echo_n "checking for $ac_header... " >&6; }
    6823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6824   $as_echo_n "(cached) " >&6
    6825 fi
    6826 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6827                  $as_echo "$as_val"'`
    6828                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6829 $as_echo "$ac_res" >&6; }
    6830 else
    6831   # Is the header compilable?
    6832 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6833 $as_echo_n "checking $ac_header usability... " >&6; }
    6834 cat >conftest.$ac_ext <<_ACEOF
    6835 /* confdefs.h.  */
    6836 _ACEOF
    6837 cat confdefs.h >>conftest.$ac_ext
    6838 cat >>conftest.$ac_ext <<_ACEOF
    6839 /* end confdefs.h.  */
    6840 $ac_includes_default
    6841 #include <$ac_header>
    6842 _ACEOF
    6843 rm -f conftest.$ac_objext
    6844 if { (ac_try="$ac_compile"
    6845 case "(($ac_try" in
    6846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6847   *) ac_try_echo=$ac_try;;
    6848 esac
    6849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6850 $as_echo "$ac_try_echo") >&5
    6851   (eval "$ac_compile") 2>conftest.er1
    6852   ac_status=$?
    6853   grep -v '^ *+' conftest.er1 >conftest.err
    6854   rm -f conftest.er1
    6855   cat conftest.err >&5
    6856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6857   (exit $ac_status); } && {
    6858          test -z "$ac_cxx_werror_flag" ||
    6859          test ! -s conftest.err
    6860        } && test -s conftest.$ac_objext; then
    6861   ac_header_compiler=yes
    6862 else
    6863   $as_echo "$as_me: failed program was:" >&5
    6864 sed 's/^/| /' conftest.$ac_ext >&5
    6865 
    6866         ac_header_compiler=no
    6867 fi
    6868 
    6869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6871 $as_echo "$ac_header_compiler" >&6; }
    6872 
    6873 # Is the header present?
    6874 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6875 $as_echo_n "checking $ac_header presence... " >&6; }
    6876 cat >conftest.$ac_ext <<_ACEOF
    6877 /* confdefs.h.  */
    6878 _ACEOF
    6879 cat confdefs.h >>conftest.$ac_ext
    6880 cat >>conftest.$ac_ext <<_ACEOF
    6881 /* end confdefs.h.  */
    6882 #include <$ac_header>
    6883 _ACEOF
    6884 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6885 case "(($ac_try" in
    6886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6887   *) ac_try_echo=$ac_try;;
    6888 esac
    6889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6890 $as_echo "$ac_try_echo") >&5
    6891   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6892   ac_status=$?
    6893   grep -v '^ *+' conftest.er1 >conftest.err
    6894   rm -f conftest.er1
    6895   cat conftest.err >&5
    6896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6897   (exit $ac_status); } >/dev/null && {
    6898          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6899          test ! -s conftest.err
    6900        }; then
    6901   ac_header_preproc=yes
    6902 else
    6903   $as_echo "$as_me: failed program was:" >&5
    6904 sed 's/^/| /' conftest.$ac_ext >&5
    6905 
    6906   ac_header_preproc=no
    6907 fi
    6908 
    6909 rm -f conftest.err conftest.$ac_ext
    6910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6911 $as_echo "$ac_header_preproc" >&6; }
    6912 
    6913 # So?  What about this header?
    6914 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6915   yes:no: )
    6916     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6917 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6918     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6919 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6920     ac_header_preproc=yes
    6921     ;;
    6922   no:yes:* )
    6923     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6924 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6925     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6926 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6927     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6928 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6929     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6930 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6931     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6932 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6933     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6934 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6935     ( cat <<\_ASBOX
    6936 ## ----------------------------------- ##
    6937 ## Report this to rappture@nanohub.org ##
    6938 ## ----------------------------------- ##
    6939 _ASBOX
    6940      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6941     ;;
    6942 esac
    6943 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6944 $as_echo_n "checking for $ac_header... " >&6; }
    6945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6946   $as_echo_n "(cached) " >&6
    6947 else
    6948   eval "$as_ac_Header=\$ac_header_preproc"
    6949 fi
    6950 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6951                  $as_echo "$as_val"'`
    6952                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6953 $as_echo "$ac_res" >&6; }
    6954 
    6955 fi
    6956 as_val=`eval 'as_val=${'$as_ac_Header'}
    6957                  $as_echo "$as_val"'`
    6958    if test "x$as_val" = x""yes; then
     5167do :
     5168  ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default"
     5169if test "x$ac_cv_header_list" = xyes; then :
    69595170  cat >>confdefs.h <<_ACEOF
    6960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6961 _ACEOF
    6962 
    6963 else
    6964   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5171#define HAVE_LIST 1
     5172_ACEOF
     5173
     5174else
     5175  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    69655176$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    69665177fi
     
    69685179done
    69695180
    6970 
    69715181for ac_header in iostream
    6972 do
    6973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6975   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6976 $as_echo_n "checking for $ac_header... " >&6; }
    6977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6978   $as_echo_n "(cached) " >&6
    6979 fi
    6980 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6981                  $as_echo "$as_val"'`
    6982                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6983 $as_echo "$ac_res" >&6; }
    6984 else
    6985   # Is the header compilable?
    6986 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6987 $as_echo_n "checking $ac_header usability... " >&6; }
    6988 cat >conftest.$ac_ext <<_ACEOF
    6989 /* confdefs.h.  */
    6990 _ACEOF
    6991 cat confdefs.h >>conftest.$ac_ext
    6992 cat >>conftest.$ac_ext <<_ACEOF
    6993 /* end confdefs.h.  */
    6994 $ac_includes_default
    6995 #include <$ac_header>
    6996 _ACEOF
    6997 rm -f conftest.$ac_objext
    6998 if { (ac_try="$ac_compile"
    6999 case "(($ac_try" in
    7000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7001   *) ac_try_echo=$ac_try;;
    7002 esac
    7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7004 $as_echo "$ac_try_echo") >&5
    7005   (eval "$ac_compile") 2>conftest.er1
    7006   ac_status=$?
    7007   grep -v '^ *+' conftest.er1 >conftest.err
    7008   rm -f conftest.er1
    7009   cat conftest.err >&5
    7010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7011   (exit $ac_status); } && {
    7012          test -z "$ac_cxx_werror_flag" ||
    7013          test ! -s conftest.err
    7014        } && test -s conftest.$ac_objext; then
    7015   ac_header_compiler=yes
    7016 else
    7017   $as_echo "$as_me: failed program was:" >&5
    7018 sed 's/^/| /' conftest.$ac_ext >&5
    7019 
    7020         ac_header_compiler=no
    7021 fi
    7022 
    7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7024 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7025 $as_echo "$ac_header_compiler" >&6; }
    7026 
    7027 # Is the header present?
    7028 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7029 $as_echo_n "checking $ac_header presence... " >&6; }
    7030 cat >conftest.$ac_ext <<_ACEOF
    7031 /* confdefs.h.  */
    7032 _ACEOF
    7033 cat confdefs.h >>conftest.$ac_ext
    7034 cat >>conftest.$ac_ext <<_ACEOF
    7035 /* end confdefs.h.  */
    7036 #include <$ac_header>
    7037 _ACEOF
    7038 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7039 case "(($ac_try" in
    7040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7041   *) ac_try_echo=$ac_try;;
    7042 esac
    7043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7044 $as_echo "$ac_try_echo") >&5
    7045   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7046   ac_status=$?
    7047   grep -v '^ *+' conftest.er1 >conftest.err
    7048   rm -f conftest.er1
    7049   cat conftest.err >&5
    7050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7051   (exit $ac_status); } >/dev/null && {
    7052          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7053          test ! -s conftest.err
    7054        }; then
    7055   ac_header_preproc=yes
    7056 else
    7057   $as_echo "$as_me: failed program was:" >&5
    7058 sed 's/^/| /' conftest.$ac_ext >&5
    7059 
    7060   ac_header_preproc=no
    7061 fi
    7062 
    7063 rm -f conftest.err conftest.$ac_ext
    7064 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7065 $as_echo "$ac_header_preproc" >&6; }
    7066 
    7067 # So?  What about this header?
    7068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7069   yes:no: )
    7070     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7071 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7072     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7073 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7074     ac_header_preproc=yes
    7075     ;;
    7076   no:yes:* )
    7077     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7078 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7079     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7080 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7081     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7082 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7083     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7084 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7085     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7087     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7088 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7089     ( cat <<\_ASBOX
    7090 ## ----------------------------------- ##
    7091 ## Report this to rappture@nanohub.org ##
    7092 ## ----------------------------------- ##
    7093 _ASBOX
    7094      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7095     ;;
    7096 esac
    7097 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7098 $as_echo_n "checking for $ac_header... " >&6; }
    7099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7100   $as_echo_n "(cached) " >&6
    7101 else
    7102   eval "$as_ac_Header=\$ac_header_preproc"
    7103 fi
    7104 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7105                  $as_echo "$as_val"'`
    7106                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7107 $as_echo "$ac_res" >&6; }
    7108 
    7109 fi
    7110 as_val=`eval 'as_val=${'$as_ac_Header'}
    7111                  $as_echo "$as_val"'`
    7112    if test "x$as_val" = x""yes; then
     5182do :
     5183  ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
     5184if test "x$ac_cv_header_iostream" = xyes; then :
    71135185  cat >>confdefs.h <<_ACEOF
    7114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7115 _ACEOF
    7116 
    7117 else
    7118   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5186#define HAVE_IOSTREAM 1
     5187_ACEOF
     5188
     5189else
     5190  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    71195191$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    71205192fi
     
    71225194done
    71235195
    7124 
    71255196for ac_header in iterator
    7126 do
    7127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7129   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7130 $as_echo_n "checking for $ac_header... " >&6; }
    7131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7132   $as_echo_n "(cached) " >&6
    7133 fi
    7134 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7135                  $as_echo "$as_val"'`
    7136                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7137 $as_echo "$ac_res" >&6; }
    7138 else
    7139   # Is the header compilable?
    7140 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7141 $as_echo_n "checking $ac_header usability... " >&6; }
    7142 cat >conftest.$ac_ext <<_ACEOF
    7143 /* confdefs.h.  */
    7144 _ACEOF
    7145 cat confdefs.h >>conftest.$ac_ext
    7146 cat >>conftest.$ac_ext <<_ACEOF
    7147 /* end confdefs.h.  */
    7148 $ac_includes_default
    7149 #include <$ac_header>
    7150 _ACEOF
    7151 rm -f conftest.$ac_objext
    7152 if { (ac_try="$ac_compile"
    7153 case "(($ac_try" in
    7154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7155   *) ac_try_echo=$ac_try;;
    7156 esac
    7157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7158 $as_echo "$ac_try_echo") >&5
    7159   (eval "$ac_compile") 2>conftest.er1
    7160   ac_status=$?
    7161   grep -v '^ *+' conftest.er1 >conftest.err
    7162   rm -f conftest.er1
    7163   cat conftest.err >&5
    7164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7165   (exit $ac_status); } && {
    7166          test -z "$ac_cxx_werror_flag" ||
    7167          test ! -s conftest.err
    7168        } && test -s conftest.$ac_objext; then
    7169   ac_header_compiler=yes
    7170 else
    7171   $as_echo "$as_me: failed program was:" >&5
    7172 sed 's/^/| /' conftest.$ac_ext >&5
    7173 
    7174         ac_header_compiler=no
    7175 fi
    7176 
    7177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7178 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7179 $as_echo "$ac_header_compiler" >&6; }
    7180 
    7181 # Is the header present?
    7182 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7183 $as_echo_n "checking $ac_header presence... " >&6; }
    7184 cat >conftest.$ac_ext <<_ACEOF
    7185 /* confdefs.h.  */
    7186 _ACEOF
    7187 cat confdefs.h >>conftest.$ac_ext
    7188 cat >>conftest.$ac_ext <<_ACEOF
    7189 /* end confdefs.h.  */
    7190 #include <$ac_header>
    7191 _ACEOF
    7192 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7193 case "(($ac_try" in
    7194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7195   *) ac_try_echo=$ac_try;;
    7196 esac
    7197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7198 $as_echo "$ac_try_echo") >&5
    7199   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7200   ac_status=$?
    7201   grep -v '^ *+' conftest.er1 >conftest.err
    7202   rm -f conftest.er1
    7203   cat conftest.err >&5
    7204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7205   (exit $ac_status); } >/dev/null && {
    7206          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7207          test ! -s conftest.err
    7208        }; then
    7209   ac_header_preproc=yes
    7210 else
    7211   $as_echo "$as_me: failed program was:" >&5
    7212 sed 's/^/| /' conftest.$ac_ext >&5
    7213 
    7214   ac_header_preproc=no
    7215 fi
    7216 
    7217 rm -f conftest.err conftest.$ac_ext
    7218 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7219 $as_echo "$ac_header_preproc" >&6; }
    7220 
    7221 # So?  What about this header?
    7222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7223   yes:no: )
    7224     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7225 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7226     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7227 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7228     ac_header_preproc=yes
    7229     ;;
    7230   no:yes:* )
    7231     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7232 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7233     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7234 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7235     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7236 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7237     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7238 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7239     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7241     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7242 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7243     ( cat <<\_ASBOX
    7244 ## ----------------------------------- ##
    7245 ## Report this to rappture@nanohub.org ##
    7246 ## ----------------------------------- ##
    7247 _ASBOX
    7248      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7249     ;;
    7250 esac
    7251 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7252 $as_echo_n "checking for $ac_header... " >&6; }
    7253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7254   $as_echo_n "(cached) " >&6
    7255 else
    7256   eval "$as_ac_Header=\$ac_header_preproc"
    7257 fi
    7258 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7259                  $as_echo "$as_val"'`
    7260                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7261 $as_echo "$ac_res" >&6; }
    7262 
    7263 fi
    7264 as_val=`eval 'as_val=${'$as_ac_Header'}
    7265                  $as_echo "$as_val"'`
    7266    if test "x$as_val" = x""yes; then
     5197do :
     5198  ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default"
     5199if test "x$ac_cv_header_iterator" = xyes; then :
    72675200  cat >>confdefs.h <<_ACEOF
    7268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7269 _ACEOF
    7270 
    7271 else
    7272   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5201#define HAVE_ITERATOR 1
     5202_ACEOF
     5203
     5204else
     5205  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    72735206$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    72745207fi
     
    72765209done
    72775210
    7278 
    72795211for ac_header in sstream
    7280 do
    7281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7283   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7284 $as_echo_n "checking for $ac_header... " >&6; }
    7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7286   $as_echo_n "(cached) " >&6
    7287 fi
    7288 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7289                  $as_echo "$as_val"'`
    7290                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7291 $as_echo "$ac_res" >&6; }
    7292 else
    7293   # Is the header compilable?
    7294 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7295 $as_echo_n "checking $ac_header usability... " >&6; }
    7296 cat >conftest.$ac_ext <<_ACEOF
    7297 /* confdefs.h.  */
    7298 _ACEOF
    7299 cat confdefs.h >>conftest.$ac_ext
    7300 cat >>conftest.$ac_ext <<_ACEOF
    7301 /* end confdefs.h.  */
    7302 $ac_includes_default
    7303 #include <$ac_header>
    7304 _ACEOF
    7305 rm -f conftest.$ac_objext
    7306 if { (ac_try="$ac_compile"
    7307 case "(($ac_try" in
    7308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7309   *) ac_try_echo=$ac_try;;
    7310 esac
    7311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7312 $as_echo "$ac_try_echo") >&5
    7313   (eval "$ac_compile") 2>conftest.er1
    7314   ac_status=$?
    7315   grep -v '^ *+' conftest.er1 >conftest.err
    7316   rm -f conftest.er1
    7317   cat conftest.err >&5
    7318   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7319   (exit $ac_status); } && {
    7320          test -z "$ac_cxx_werror_flag" ||
    7321          test ! -s conftest.err
    7322        } && test -s conftest.$ac_objext; then
    7323   ac_header_compiler=yes
    7324 else
    7325   $as_echo "$as_me: failed program was:" >&5
    7326 sed 's/^/| /' conftest.$ac_ext >&5
    7327 
    7328         ac_header_compiler=no
    7329 fi
    7330 
    7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7332 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7333 $as_echo "$ac_header_compiler" >&6; }
    7334 
    7335 # Is the header present?
    7336 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7337 $as_echo_n "checking $ac_header presence... " >&6; }
    7338 cat >conftest.$ac_ext <<_ACEOF
    7339 /* confdefs.h.  */
    7340 _ACEOF
    7341 cat confdefs.h >>conftest.$ac_ext
    7342 cat >>conftest.$ac_ext <<_ACEOF
    7343 /* end confdefs.h.  */
    7344 #include <$ac_header>
    7345 _ACEOF
    7346 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7347 case "(($ac_try" in
    7348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7349   *) ac_try_echo=$ac_try;;
    7350 esac
    7351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7352 $as_echo "$ac_try_echo") >&5
    7353   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7354   ac_status=$?
    7355   grep -v '^ *+' conftest.er1 >conftest.err
    7356   rm -f conftest.er1
    7357   cat conftest.err >&5
    7358   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7359   (exit $ac_status); } >/dev/null && {
    7360          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7361          test ! -s conftest.err
    7362        }; then
    7363   ac_header_preproc=yes
    7364 else
    7365   $as_echo "$as_me: failed program was:" >&5
    7366 sed 's/^/| /' conftest.$ac_ext >&5
    7367 
    7368   ac_header_preproc=no
    7369 fi
    7370 
    7371 rm -f conftest.err conftest.$ac_ext
    7372 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7373 $as_echo "$ac_header_preproc" >&6; }
    7374 
    7375 # So?  What about this header?
    7376 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7377   yes:no: )
    7378     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7379 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7380     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7381 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7382     ac_header_preproc=yes
    7383     ;;
    7384   no:yes:* )
    7385     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7386 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7387     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7388 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7389     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7390 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7391     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7392 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7393     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7394 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7395     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7396 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7397     ( cat <<\_ASBOX
    7398 ## ----------------------------------- ##
    7399 ## Report this to rappture@nanohub.org ##
    7400 ## ----------------------------------- ##
    7401 _ASBOX
    7402      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7403     ;;
    7404 esac
    7405 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7406 $as_echo_n "checking for $ac_header... " >&6; }
    7407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7408   $as_echo_n "(cached) " >&6
    7409 else
    7410   eval "$as_ac_Header=\$ac_header_preproc"
    7411 fi
    7412 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7413                  $as_echo "$as_val"'`
    7414                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7415 $as_echo "$ac_res" >&6; }
    7416 
    7417 fi
    7418 as_val=`eval 'as_val=${'$as_ac_Header'}
    7419                  $as_echo "$as_val"'`
    7420    if test "x$as_val" = x""yes; then
     5212do :
     5213  ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
     5214if test "x$ac_cv_header_sstream" = xyes; then :
    74215215  cat >>confdefs.h <<_ACEOF
    7422 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7423 _ACEOF
    7424 
    7425 else
    7426   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5216#define HAVE_SSTREAM 1
     5217_ACEOF
     5218
     5219else
     5220  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    74275221$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    74285222fi
     
    74305224done
    74315225
    7432 
    74335226for ac_header in stack
    7434 do
    7435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7436 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7437   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7438 $as_echo_n "checking for $ac_header... " >&6; }
    7439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7440   $as_echo_n "(cached) " >&6
    7441 fi
    7442 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7443                  $as_echo "$as_val"'`
    7444                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7445 $as_echo "$ac_res" >&6; }
    7446 else
    7447   # Is the header compilable?
    7448 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7449 $as_echo_n "checking $ac_header usability... " >&6; }
    7450 cat >conftest.$ac_ext <<_ACEOF
    7451 /* confdefs.h.  */
    7452 _ACEOF
    7453 cat confdefs.h >>conftest.$ac_ext
    7454 cat >>conftest.$ac_ext <<_ACEOF
    7455 /* end confdefs.h.  */
    7456 $ac_includes_default
    7457 #include <$ac_header>
    7458 _ACEOF
    7459 rm -f conftest.$ac_objext
    7460 if { (ac_try="$ac_compile"
    7461 case "(($ac_try" in
    7462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7463   *) ac_try_echo=$ac_try;;
    7464 esac
    7465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7466 $as_echo "$ac_try_echo") >&5
    7467   (eval "$ac_compile") 2>conftest.er1
    7468   ac_status=$?
    7469   grep -v '^ *+' conftest.er1 >conftest.err
    7470   rm -f conftest.er1
    7471   cat conftest.err >&5
    7472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7473   (exit $ac_status); } && {
    7474          test -z "$ac_cxx_werror_flag" ||
    7475          test ! -s conftest.err
    7476        } && test -s conftest.$ac_objext; then
    7477   ac_header_compiler=yes
    7478 else
    7479   $as_echo "$as_me: failed program was:" >&5
    7480 sed 's/^/| /' conftest.$ac_ext >&5
    7481 
    7482         ac_header_compiler=no
    7483 fi
    7484 
    7485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7486 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7487 $as_echo "$ac_header_compiler" >&6; }
    7488 
    7489 # Is the header present?
    7490 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7491 $as_echo_n "checking $ac_header presence... " >&6; }
    7492 cat >conftest.$ac_ext <<_ACEOF
    7493 /* confdefs.h.  */
    7494 _ACEOF
    7495 cat confdefs.h >>conftest.$ac_ext
    7496 cat >>conftest.$ac_ext <<_ACEOF
    7497 /* end confdefs.h.  */
    7498 #include <$ac_header>
    7499 _ACEOF
    7500 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7501 case "(($ac_try" in
    7502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7503   *) ac_try_echo=$ac_try;;
    7504 esac
    7505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7506 $as_echo "$ac_try_echo") >&5
    7507   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7508   ac_status=$?
    7509   grep -v '^ *+' conftest.er1 >conftest.err
    7510   rm -f conftest.er1
    7511   cat conftest.err >&5
    7512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7513   (exit $ac_status); } >/dev/null && {
    7514          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7515          test ! -s conftest.err
    7516        }; then
    7517   ac_header_preproc=yes
    7518 else
    7519   $as_echo "$as_me: failed program was:" >&5
    7520 sed 's/^/| /' conftest.$ac_ext >&5
    7521 
    7522   ac_header_preproc=no
    7523 fi
    7524 
    7525 rm -f conftest.err conftest.$ac_ext
    7526 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7527 $as_echo "$ac_header_preproc" >&6; }
    7528 
    7529 # So?  What about this header?
    7530 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7531   yes:no: )
    7532     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7533 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7534     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7535 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7536     ac_header_preproc=yes
    7537     ;;
    7538   no:yes:* )
    7539     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7540 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7541     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7542 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7543     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7544 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7545     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7546 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7547     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7548 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7549     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7550 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7551     ( cat <<\_ASBOX
    7552 ## ----------------------------------- ##
    7553 ## Report this to rappture@nanohub.org ##
    7554 ## ----------------------------------- ##
    7555 _ASBOX
    7556      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7557     ;;
    7558 esac
    7559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7560 $as_echo_n "checking for $ac_header... " >&6; }
    7561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7562   $as_echo_n "(cached) " >&6
    7563 else
    7564   eval "$as_ac_Header=\$ac_header_preproc"
    7565 fi
    7566 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7567                  $as_echo "$as_val"'`
    7568                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7569 $as_echo "$ac_res" >&6; }
    7570 
    7571 fi
    7572 as_val=`eval 'as_val=${'$as_ac_Header'}
    7573                  $as_echo "$as_val"'`
    7574    if test "x$as_val" = x""yes; then
     5227do :
     5228  ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default"
     5229if test "x$ac_cv_header_stack" = xyes; then :
    75755230  cat >>confdefs.h <<_ACEOF
    7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7577 _ACEOF
    7578 
    7579 else
    7580   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5231#define HAVE_STACK 1
     5232_ACEOF
     5233
     5234else
     5235  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    75815236$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    75825237fi
     
    75845239done
    75855240
    7586 
    75875241for ac_header in string
    7588 do
    7589 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7591   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7592 $as_echo_n "checking for $ac_header... " >&6; }
    7593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7594   $as_echo_n "(cached) " >&6
    7595 fi
    7596 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7597                  $as_echo "$as_val"'`
    7598                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7599 $as_echo "$ac_res" >&6; }
    7600 else
    7601   # Is the header compilable?
    7602 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7603 $as_echo_n "checking $ac_header usability... " >&6; }
    7604 cat >conftest.$ac_ext <<_ACEOF
    7605 /* confdefs.h.  */
    7606 _ACEOF
    7607 cat confdefs.h >>conftest.$ac_ext
    7608 cat >>conftest.$ac_ext <<_ACEOF
    7609 /* end confdefs.h.  */
    7610 $ac_includes_default
    7611 #include <$ac_header>
    7612 _ACEOF
    7613 rm -f conftest.$ac_objext
    7614 if { (ac_try="$ac_compile"
    7615 case "(($ac_try" in
    7616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7617   *) ac_try_echo=$ac_try;;
    7618 esac
    7619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7620 $as_echo "$ac_try_echo") >&5
    7621   (eval "$ac_compile") 2>conftest.er1
    7622   ac_status=$?
    7623   grep -v '^ *+' conftest.er1 >conftest.err
    7624   rm -f conftest.er1
    7625   cat conftest.err >&5
    7626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7627   (exit $ac_status); } && {
    7628          test -z "$ac_cxx_werror_flag" ||
    7629          test ! -s conftest.err
    7630        } && test -s conftest.$ac_objext; then
    7631   ac_header_compiler=yes
    7632 else
    7633   $as_echo "$as_me: failed program was:" >&5
    7634 sed 's/^/| /' conftest.$ac_ext >&5
    7635 
    7636         ac_header_compiler=no
    7637 fi
    7638 
    7639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7640 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7641 $as_echo "$ac_header_compiler" >&6; }
    7642 
    7643 # Is the header present?
    7644 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7645 $as_echo_n "checking $ac_header presence... " >&6; }
    7646 cat >conftest.$ac_ext <<_ACEOF
    7647 /* confdefs.h.  */
    7648 _ACEOF
    7649 cat confdefs.h >>conftest.$ac_ext
    7650 cat >>conftest.$ac_ext <<_ACEOF
    7651 /* end confdefs.h.  */
    7652 #include <$ac_header>
    7653 _ACEOF
    7654 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7655 case "(($ac_try" in
    7656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7657   *) ac_try_echo=$ac_try;;
    7658 esac
    7659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7660 $as_echo "$ac_try_echo") >&5
    7661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7662   ac_status=$?
    7663   grep -v '^ *+' conftest.er1 >conftest.err
    7664   rm -f conftest.er1
    7665   cat conftest.err >&5
    7666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7667   (exit $ac_status); } >/dev/null && {
    7668          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7669          test ! -s conftest.err
    7670        }; then
    7671   ac_header_preproc=yes
    7672 else
    7673   $as_echo "$as_me: failed program was:" >&5
    7674 sed 's/^/| /' conftest.$ac_ext >&5
    7675 
    7676   ac_header_preproc=no
    7677 fi
    7678 
    7679 rm -f conftest.err conftest.$ac_ext
    7680 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7681 $as_echo "$ac_header_preproc" >&6; }
    7682 
    7683 # So?  What about this header?
    7684 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7685   yes:no: )
    7686     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7687 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7688     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7690     ac_header_preproc=yes
    7691     ;;
    7692   no:yes:* )
    7693     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7694 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7695     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7696 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7697     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7698 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7699     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7700 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7701     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7702 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7703     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7704 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7705     ( cat <<\_ASBOX
    7706 ## ----------------------------------- ##
    7707 ## Report this to rappture@nanohub.org ##
    7708 ## ----------------------------------- ##
    7709 _ASBOX
    7710      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7711     ;;
    7712 esac
    7713 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7714 $as_echo_n "checking for $ac_header... " >&6; }
    7715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7716   $as_echo_n "(cached) " >&6
    7717 else
    7718   eval "$as_ac_Header=\$ac_header_preproc"
    7719 fi
    7720 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7721                  $as_echo "$as_val"'`
    7722                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7723 $as_echo "$ac_res" >&6; }
    7724 
    7725 fi
    7726 as_val=`eval 'as_val=${'$as_ac_Header'}
    7727                  $as_echo "$as_val"'`
    7728    if test "x$as_val" = x""yes; then
     5242do :
     5243  ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
     5244if test "x$ac_cv_header_string" = xyes; then :
    77295245  cat >>confdefs.h <<_ACEOF
    7730 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7731 _ACEOF
    7732 
    7733 else
    7734   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5246#define HAVE_STRING 1
     5247_ACEOF
     5248
     5249else
     5250  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    77355251$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    77365252fi
     
    77385254done
    77395255
    7740 
    77415256for ac_header in vector
    7742 do
    7743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7744 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7745   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7746 $as_echo_n "checking for $ac_header... " >&6; }
    7747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7748   $as_echo_n "(cached) " >&6
    7749 fi
    7750 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7751                  $as_echo "$as_val"'`
    7752                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7753 $as_echo "$ac_res" >&6; }
    7754 else
    7755   # Is the header compilable?
    7756 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7757 $as_echo_n "checking $ac_header usability... " >&6; }
    7758 cat >conftest.$ac_ext <<_ACEOF
    7759 /* confdefs.h.  */
    7760 _ACEOF
    7761 cat confdefs.h >>conftest.$ac_ext
    7762 cat >>conftest.$ac_ext <<_ACEOF
    7763 /* end confdefs.h.  */
    7764 $ac_includes_default
    7765 #include <$ac_header>
    7766 _ACEOF
    7767 rm -f conftest.$ac_objext
    7768 if { (ac_try="$ac_compile"
    7769 case "(($ac_try" in
    7770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7771   *) ac_try_echo=$ac_try;;
    7772 esac
    7773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7774 $as_echo "$ac_try_echo") >&5
    7775   (eval "$ac_compile") 2>conftest.er1
    7776   ac_status=$?
    7777   grep -v '^ *+' conftest.er1 >conftest.err
    7778   rm -f conftest.er1
    7779   cat conftest.err >&5
    7780   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7781   (exit $ac_status); } && {
    7782          test -z "$ac_cxx_werror_flag" ||
    7783          test ! -s conftest.err
    7784        } && test -s conftest.$ac_objext; then
    7785   ac_header_compiler=yes
    7786 else
    7787   $as_echo "$as_me: failed program was:" >&5
    7788 sed 's/^/| /' conftest.$ac_ext >&5
    7789 
    7790         ac_header_compiler=no
    7791 fi
    7792 
    7793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7794 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7795 $as_echo "$ac_header_compiler" >&6; }
    7796 
    7797 # Is the header present?
    7798 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7799 $as_echo_n "checking $ac_header presence... " >&6; }
    7800 cat >conftest.$ac_ext <<_ACEOF
    7801 /* confdefs.h.  */
    7802 _ACEOF
    7803 cat confdefs.h >>conftest.$ac_ext
    7804 cat >>conftest.$ac_ext <<_ACEOF
    7805 /* end confdefs.h.  */
    7806 #include <$ac_header>
    7807 _ACEOF
    7808 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7809 case "(($ac_try" in
    7810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7811   *) ac_try_echo=$ac_try;;
    7812 esac
    7813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7814 $as_echo "$ac_try_echo") >&5
    7815   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7816   ac_status=$?
    7817   grep -v '^ *+' conftest.er1 >conftest.err
    7818   rm -f conftest.er1
    7819   cat conftest.err >&5
    7820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7821   (exit $ac_status); } >/dev/null && {
    7822          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7823          test ! -s conftest.err
    7824        }; then
    7825   ac_header_preproc=yes
    7826 else
    7827   $as_echo "$as_me: failed program was:" >&5
    7828 sed 's/^/| /' conftest.$ac_ext >&5
    7829 
    7830   ac_header_preproc=no
    7831 fi
    7832 
    7833 rm -f conftest.err conftest.$ac_ext
    7834 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7835 $as_echo "$ac_header_preproc" >&6; }
    7836 
    7837 # So?  What about this header?
    7838 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7839   yes:no: )
    7840     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7841 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7842     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7843 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7844     ac_header_preproc=yes
    7845     ;;
    7846   no:yes:* )
    7847     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7848 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7849     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7850 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7851     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7852 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7853     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7854 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7855     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7856 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7857     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7858 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7859     ( cat <<\_ASBOX
    7860 ## ----------------------------------- ##
    7861 ## Report this to rappture@nanohub.org ##
    7862 ## ----------------------------------- ##
    7863 _ASBOX
    7864      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7865     ;;
    7866 esac
    7867 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7868 $as_echo_n "checking for $ac_header... " >&6; }
    7869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7870   $as_echo_n "(cached) " >&6
    7871 else
    7872   eval "$as_ac_Header=\$ac_header_preproc"
    7873 fi
    7874 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7875                  $as_echo "$as_val"'`
    7876                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7877 $as_echo "$ac_res" >&6; }
    7878 
    7879 fi
    7880 as_val=`eval 'as_val=${'$as_ac_Header'}
    7881                  $as_echo "$as_val"'`
    7882    if test "x$as_val" = x""yes; then
     5257do :
     5258  ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
     5259if test "x$ac_cv_header_vector" = xyes; then :
    78835260  cat >>confdefs.h <<_ACEOF
    7884 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7885 _ACEOF
    7886 
    7887 else
    7888   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5261#define HAVE_VECTOR 1
     5262_ACEOF
     5263
     5264else
     5265  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    78895266$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    78905267fi
     
    78935270
    78945271
    7895 
    78965272for ac_header in assert.h
    7897 do
    7898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7900   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7901 $as_echo_n "checking for $ac_header... " >&6; }
    7902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7903   $as_echo_n "(cached) " >&6
    7904 fi
    7905 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7906                  $as_echo "$as_val"'`
    7907                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7908 $as_echo "$ac_res" >&6; }
    7909 else
    7910   # Is the header compilable?
    7911 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7912 $as_echo_n "checking $ac_header usability... " >&6; }
    7913 cat >conftest.$ac_ext <<_ACEOF
    7914 /* confdefs.h.  */
    7915 _ACEOF
    7916 cat confdefs.h >>conftest.$ac_ext
    7917 cat >>conftest.$ac_ext <<_ACEOF
    7918 /* end confdefs.h.  */
    7919 $ac_includes_default
    7920 #include <$ac_header>
    7921 _ACEOF
    7922 rm -f conftest.$ac_objext
    7923 if { (ac_try="$ac_compile"
    7924 case "(($ac_try" in
    7925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7926   *) ac_try_echo=$ac_try;;
    7927 esac
    7928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7929 $as_echo "$ac_try_echo") >&5
    7930   (eval "$ac_compile") 2>conftest.er1
    7931   ac_status=$?
    7932   grep -v '^ *+' conftest.er1 >conftest.err
    7933   rm -f conftest.er1
    7934   cat conftest.err >&5
    7935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7936   (exit $ac_status); } && {
    7937          test -z "$ac_cxx_werror_flag" ||
    7938          test ! -s conftest.err
    7939        } && test -s conftest.$ac_objext; then
    7940   ac_header_compiler=yes
    7941 else
    7942   $as_echo "$as_me: failed program was:" >&5
    7943 sed 's/^/| /' conftest.$ac_ext >&5
    7944 
    7945         ac_header_compiler=no
    7946 fi
    7947 
    7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7950 $as_echo "$ac_header_compiler" >&6; }
    7951 
    7952 # Is the header present?
    7953 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7954 $as_echo_n "checking $ac_header presence... " >&6; }
    7955 cat >conftest.$ac_ext <<_ACEOF
    7956 /* confdefs.h.  */
    7957 _ACEOF
    7958 cat confdefs.h >>conftest.$ac_ext
    7959 cat >>conftest.$ac_ext <<_ACEOF
    7960 /* end confdefs.h.  */
    7961 #include <$ac_header>
    7962 _ACEOF
    7963 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7964 case "(($ac_try" in
    7965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7966   *) ac_try_echo=$ac_try;;
    7967 esac
    7968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7969 $as_echo "$ac_try_echo") >&5
    7970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7971   ac_status=$?
    7972   grep -v '^ *+' conftest.er1 >conftest.err
    7973   rm -f conftest.er1
    7974   cat conftest.err >&5
    7975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7976   (exit $ac_status); } >/dev/null && {
    7977          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7978          test ! -s conftest.err
    7979        }; then
    7980   ac_header_preproc=yes
    7981 else
    7982   $as_echo "$as_me: failed program was:" >&5
    7983 sed 's/^/| /' conftest.$ac_ext >&5
    7984 
    7985   ac_header_preproc=no
    7986 fi
    7987 
    7988 rm -f conftest.err conftest.$ac_ext
    7989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7990 $as_echo "$ac_header_preproc" >&6; }
    7991 
    7992 # So?  What about this header?
    7993 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7994   yes:no: )
    7995     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7996 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7997     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7998 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7999     ac_header_preproc=yes
    8000     ;;
    8001   no:yes:* )
    8002     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8003 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8004     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8005 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8006     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8007 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8008     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8009 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8010     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8012     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8013 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8014     ( cat <<\_ASBOX
    8015 ## ----------------------------------- ##
    8016 ## Report this to rappture@nanohub.org ##
    8017 ## ----------------------------------- ##
    8018 _ASBOX
    8019      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8020     ;;
    8021 esac
    8022 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8023 $as_echo_n "checking for $ac_header... " >&6; }
    8024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8025   $as_echo_n "(cached) " >&6
    8026 else
    8027   eval "$as_ac_Header=\$ac_header_preproc"
    8028 fi
    8029 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8030                  $as_echo "$as_val"'`
    8031                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8032 $as_echo "$ac_res" >&6; }
    8033 
    8034 fi
    8035 as_val=`eval 'as_val=${'$as_ac_Header'}
    8036                  $as_echo "$as_val"'`
    8037    if test "x$as_val" = x""yes; then
     5273do :
     5274  ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
     5275if test "x$ac_cv_header_assert_h" = xyes; then :
    80385276  cat >>confdefs.h <<_ACEOF
    8039 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8040 _ACEOF
    8041 
    8042 else
    8043   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5277#define HAVE_ASSERT_H 1
     5278_ACEOF
     5279
     5280else
     5281  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    80445282$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    80455283fi
     
    80475285done
    80485286
    8049 
    80505287for ac_header in ctype.h
    8051 do
    8052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8054   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8055 $as_echo_n "checking for $ac_header... " >&6; }
    8056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8057   $as_echo_n "(cached) " >&6
    8058 fi
    8059 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8060                  $as_echo "$as_val"'`
    8061                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8062 $as_echo "$ac_res" >&6; }
    8063 else
    8064   # Is the header compilable?
    8065 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8066 $as_echo_n "checking $ac_header usability... " >&6; }
    8067 cat >conftest.$ac_ext <<_ACEOF
    8068 /* confdefs.h.  */
    8069 _ACEOF
    8070 cat confdefs.h >>conftest.$ac_ext
    8071 cat >>conftest.$ac_ext <<_ACEOF
    8072 /* end confdefs.h.  */
    8073 $ac_includes_default
    8074 #include <$ac_header>
    8075 _ACEOF
    8076 rm -f conftest.$ac_objext
    8077 if { (ac_try="$ac_compile"
    8078 case "(($ac_try" in
    8079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8080   *) ac_try_echo=$ac_try;;
    8081 esac
    8082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8083 $as_echo "$ac_try_echo") >&5
    8084   (eval "$ac_compile") 2>conftest.er1
    8085   ac_status=$?
    8086   grep -v '^ *+' conftest.er1 >conftest.err
    8087   rm -f conftest.er1
    8088   cat conftest.err >&5
    8089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8090   (exit $ac_status); } && {
    8091          test -z "$ac_cxx_werror_flag" ||
    8092          test ! -s conftest.err
    8093        } && test -s conftest.$ac_objext; then
    8094   ac_header_compiler=yes
    8095 else
    8096   $as_echo "$as_me: failed program was:" >&5
    8097 sed 's/^/| /' conftest.$ac_ext >&5
    8098 
    8099         ac_header_compiler=no
    8100 fi
    8101 
    8102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8103 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8104 $as_echo "$ac_header_compiler" >&6; }
    8105 
    8106 # Is the header present?
    8107 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8108 $as_echo_n "checking $ac_header presence... " >&6; }
    8109 cat >conftest.$ac_ext <<_ACEOF
    8110 /* confdefs.h.  */
    8111 _ACEOF
    8112 cat confdefs.h >>conftest.$ac_ext
    8113 cat >>conftest.$ac_ext <<_ACEOF
    8114 /* end confdefs.h.  */
    8115 #include <$ac_header>
    8116 _ACEOF
    8117 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8118 case "(($ac_try" in
    8119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8120   *) ac_try_echo=$ac_try;;
    8121 esac
    8122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8123 $as_echo "$ac_try_echo") >&5
    8124   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8125   ac_status=$?
    8126   grep -v '^ *+' conftest.er1 >conftest.err
    8127   rm -f conftest.er1
    8128   cat conftest.err >&5
    8129   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8130   (exit $ac_status); } >/dev/null && {
    8131          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8132          test ! -s conftest.err
    8133        }; then
    8134   ac_header_preproc=yes
    8135 else
    8136   $as_echo "$as_me: failed program was:" >&5
    8137 sed 's/^/| /' conftest.$ac_ext >&5
    8138 
    8139   ac_header_preproc=no
    8140 fi
    8141 
    8142 rm -f conftest.err conftest.$ac_ext
    8143 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8144 $as_echo "$ac_header_preproc" >&6; }
    8145 
    8146 # So?  What about this header?
    8147 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8148   yes:no: )
    8149     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8150 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8151     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8152 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8153     ac_header_preproc=yes
    8154     ;;
    8155   no:yes:* )
    8156     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8157 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8158     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8159 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8160     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8161 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8162     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8163 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8164     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8165 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8166     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8167 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8168     ( cat <<\_ASBOX
    8169 ## ----------------------------------- ##
    8170 ## Report this to rappture@nanohub.org ##
    8171 ## ----------------------------------- ##
    8172 _ASBOX
    8173      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8174     ;;
    8175 esac
    8176 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8177 $as_echo_n "checking for $ac_header... " >&6; }
    8178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8179   $as_echo_n "(cached) " >&6
    8180 else
    8181   eval "$as_ac_Header=\$ac_header_preproc"
    8182 fi
    8183 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8184                  $as_echo "$as_val"'`
    8185                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8186 $as_echo "$ac_res" >&6; }
    8187 
    8188 fi
    8189 as_val=`eval 'as_val=${'$as_ac_Header'}
    8190                  $as_echo "$as_val"'`
    8191    if test "x$as_val" = x""yes; then
     5288do :
     5289  ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
     5290if test "x$ac_cv_header_ctype_h" = xyes; then :
    81925291  cat >>confdefs.h <<_ACEOF
    8193 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8194 _ACEOF
    8195 
    8196 else
    8197   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5292#define HAVE_CTYPE_H 1
     5293_ACEOF
     5294
     5295else
     5296  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    81985297$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    81995298fi
     
    82015300done
    82025301
    8203 
    82045302for ac_header in errno.h
    8205 do
    8206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8208   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8209 $as_echo_n "checking for $ac_header... " >&6; }
    8210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8211   $as_echo_n "(cached) " >&6
    8212 fi
    8213 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8214                  $as_echo "$as_val"'`
    8215                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8216 $as_echo "$ac_res" >&6; }
    8217 else
    8218   # Is the header compilable?
    8219 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8220 $as_echo_n "checking $ac_header usability... " >&6; }
    8221 cat >conftest.$ac_ext <<_ACEOF
    8222 /* confdefs.h.  */
    8223 _ACEOF
    8224 cat confdefs.h >>conftest.$ac_ext
    8225 cat >>conftest.$ac_ext <<_ACEOF
    8226 /* end confdefs.h.  */
    8227 $ac_includes_default
    8228 #include <$ac_header>
    8229 _ACEOF
    8230 rm -f conftest.$ac_objext
    8231 if { (ac_try="$ac_compile"
    8232 case "(($ac_try" in
    8233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8234   *) ac_try_echo=$ac_try;;
    8235 esac
    8236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8237 $as_echo "$ac_try_echo") >&5
    8238   (eval "$ac_compile") 2>conftest.er1
    8239   ac_status=$?
    8240   grep -v '^ *+' conftest.er1 >conftest.err
    8241   rm -f conftest.er1
    8242   cat conftest.err >&5
    8243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8244   (exit $ac_status); } && {
    8245          test -z "$ac_cxx_werror_flag" ||
    8246          test ! -s conftest.err
    8247        } && test -s conftest.$ac_objext; then
    8248   ac_header_compiler=yes
    8249 else
    8250   $as_echo "$as_me: failed program was:" >&5
    8251 sed 's/^/| /' conftest.$ac_ext >&5
    8252 
    8253         ac_header_compiler=no
    8254 fi
    8255 
    8256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8257 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8258 $as_echo "$ac_header_compiler" >&6; }
    8259 
    8260 # Is the header present?
    8261 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8262 $as_echo_n "checking $ac_header presence... " >&6; }
    8263 cat >conftest.$ac_ext <<_ACEOF
    8264 /* confdefs.h.  */
    8265 _ACEOF
    8266 cat confdefs.h >>conftest.$ac_ext
    8267 cat >>conftest.$ac_ext <<_ACEOF
    8268 /* end confdefs.h.  */
    8269 #include <$ac_header>
    8270 _ACEOF
    8271 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8272 case "(($ac_try" in
    8273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8274   *) ac_try_echo=$ac_try;;
    8275 esac
    8276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8277 $as_echo "$ac_try_echo") >&5
    8278   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8279   ac_status=$?
    8280   grep -v '^ *+' conftest.er1 >conftest.err
    8281   rm -f conftest.er1
    8282   cat conftest.err >&5
    8283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8284   (exit $ac_status); } >/dev/null && {
    8285          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8286          test ! -s conftest.err
    8287        }; then
    8288   ac_header_preproc=yes
    8289 else
    8290   $as_echo "$as_me: failed program was:" >&5
    8291 sed 's/^/| /' conftest.$ac_ext >&5
    8292 
    8293   ac_header_preproc=no
    8294 fi
    8295 
    8296 rm -f conftest.err conftest.$ac_ext
    8297 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8298 $as_echo "$ac_header_preproc" >&6; }
    8299 
    8300 # So?  What about this header?
    8301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8302   yes:no: )
    8303     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8304 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8305     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8306 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8307     ac_header_preproc=yes
    8308     ;;
    8309   no:yes:* )
    8310     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8311 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8312     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8313 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8314     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8315 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8316     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8317 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8318     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8319 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8320     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8321 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8322     ( cat <<\_ASBOX
    8323 ## ----------------------------------- ##
    8324 ## Report this to rappture@nanohub.org ##
    8325 ## ----------------------------------- ##
    8326 _ASBOX
    8327      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8328     ;;
    8329 esac
    8330 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8331 $as_echo_n "checking for $ac_header... " >&6; }
    8332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8333   $as_echo_n "(cached) " >&6
    8334 else
    8335   eval "$as_ac_Header=\$ac_header_preproc"
    8336 fi
    8337 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8338                  $as_echo "$as_val"'`
    8339                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8340 $as_echo "$ac_res" >&6; }
    8341 
    8342 fi
    8343 as_val=`eval 'as_val=${'$as_ac_Header'}
    8344                  $as_echo "$as_val"'`
    8345    if test "x$as_val" = x""yes; then
     5303do :
     5304  ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
     5305if test "x$ac_cv_header_errno_h" = xyes; then :
    83465306  cat >>confdefs.h <<_ACEOF
    8347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8348 _ACEOF
    8349 
    8350 else
    8351   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5307#define HAVE_ERRNO_H 1
     5308_ACEOF
     5309
     5310else
     5311  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    83525312$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    83535313fi
     
    83555315done
    83565316
    8357 
    83585317for ac_header in limits.h
    8359 do
    8360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8362   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8363 $as_echo_n "checking for $ac_header... " >&6; }
    8364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8365   $as_echo_n "(cached) " >&6
    8366 fi
    8367 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8368                  $as_echo "$as_val"'`
    8369                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8370 $as_echo "$ac_res" >&6; }
    8371 else
    8372   # Is the header compilable?
    8373 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8374 $as_echo_n "checking $ac_header usability... " >&6; }
    8375 cat >conftest.$ac_ext <<_ACEOF
    8376 /* confdefs.h.  */
    8377 _ACEOF
    8378 cat confdefs.h >>conftest.$ac_ext
    8379 cat >>conftest.$ac_ext <<_ACEOF
    8380 /* end confdefs.h.  */
    8381 $ac_includes_default
    8382 #include <$ac_header>
    8383 _ACEOF
    8384 rm -f conftest.$ac_objext
    8385 if { (ac_try="$ac_compile"
    8386 case "(($ac_try" in
    8387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8388   *) ac_try_echo=$ac_try;;
    8389 esac
    8390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8391 $as_echo "$ac_try_echo") >&5
    8392   (eval "$ac_compile") 2>conftest.er1
    8393   ac_status=$?
    8394   grep -v '^ *+' conftest.er1 >conftest.err
    8395   rm -f conftest.er1
    8396   cat conftest.err >&5
    8397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8398   (exit $ac_status); } && {
    8399          test -z "$ac_cxx_werror_flag" ||
    8400          test ! -s conftest.err
    8401        } && test -s conftest.$ac_objext; then
    8402   ac_header_compiler=yes
    8403 else
    8404   $as_echo "$as_me: failed program was:" >&5
    8405 sed 's/^/| /' conftest.$ac_ext >&5
    8406 
    8407         ac_header_compiler=no
    8408 fi
    8409 
    8410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8411 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8412 $as_echo "$ac_header_compiler" >&6; }
    8413 
    8414 # Is the header present?
    8415 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8416 $as_echo_n "checking $ac_header presence... " >&6; }
    8417 cat >conftest.$ac_ext <<_ACEOF
    8418 /* confdefs.h.  */
    8419 _ACEOF
    8420 cat confdefs.h >>conftest.$ac_ext
    8421 cat >>conftest.$ac_ext <<_ACEOF
    8422 /* end confdefs.h.  */
    8423 #include <$ac_header>
    8424 _ACEOF
    8425 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8426 case "(($ac_try" in
    8427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8428   *) ac_try_echo=$ac_try;;
    8429 esac
    8430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8431 $as_echo "$ac_try_echo") >&5
    8432   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8433   ac_status=$?
    8434   grep -v '^ *+' conftest.er1 >conftest.err
    8435   rm -f conftest.er1
    8436   cat conftest.err >&5
    8437   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8438   (exit $ac_status); } >/dev/null && {
    8439          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8440          test ! -s conftest.err
    8441        }; then
    8442   ac_header_preproc=yes
    8443 else
    8444   $as_echo "$as_me: failed program was:" >&5
    8445 sed 's/^/| /' conftest.$ac_ext >&5
    8446 
    8447   ac_header_preproc=no
    8448 fi
    8449 
    8450 rm -f conftest.err conftest.$ac_ext
    8451 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8452 $as_echo "$ac_header_preproc" >&6; }
    8453 
    8454 # So?  What about this header?
    8455 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8456   yes:no: )
    8457     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8458 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8459     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8461     ac_header_preproc=yes
    8462     ;;
    8463   no:yes:* )
    8464     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8465 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8466     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8467 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8468     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8469 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8470     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8471 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8472     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8474     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8475 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8476     ( cat <<\_ASBOX
    8477 ## ----------------------------------- ##
    8478 ## Report this to rappture@nanohub.org ##
    8479 ## ----------------------------------- ##
    8480 _ASBOX
    8481      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8482     ;;
    8483 esac
    8484 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8485 $as_echo_n "checking for $ac_header... " >&6; }
    8486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8487   $as_echo_n "(cached) " >&6
    8488 else
    8489   eval "$as_ac_Header=\$ac_header_preproc"
    8490 fi
    8491 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8492                  $as_echo "$as_val"'`
    8493                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8494 $as_echo "$ac_res" >&6; }
    8495 
    8496 fi
    8497 as_val=`eval 'as_val=${'$as_ac_Header'}
    8498                  $as_echo "$as_val"'`
    8499    if test "x$as_val" = x""yes; then
     5318do :
     5319  ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
     5320if test "x$ac_cv_header_limits_h" = xyes; then :
    85005321  cat >>confdefs.h <<_ACEOF
    8501 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8502 _ACEOF
    8503 
    8504 else
    8505   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5322#define HAVE_LIMITS_H 1
     5323_ACEOF
     5324
     5325else
     5326  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    85065327$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    85075328fi
     
    85095330done
    85105331
    8511 
    85125332for ac_header in string.h
    8513 do
    8514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8516   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8517 $as_echo_n "checking for $ac_header... " >&6; }
    8518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8519   $as_echo_n "(cached) " >&6
    8520 fi
    8521 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8522                  $as_echo "$as_val"'`
    8523                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8524 $as_echo "$ac_res" >&6; }
    8525 else
    8526   # Is the header compilable?
    8527 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8528 $as_echo_n "checking $ac_header usability... " >&6; }
    8529 cat >conftest.$ac_ext <<_ACEOF
    8530 /* confdefs.h.  */
    8531 _ACEOF
    8532 cat confdefs.h >>conftest.$ac_ext
    8533 cat >>conftest.$ac_ext <<_ACEOF
    8534 /* end confdefs.h.  */
    8535 $ac_includes_default
    8536 #include <$ac_header>
    8537 _ACEOF
    8538 rm -f conftest.$ac_objext
    8539 if { (ac_try="$ac_compile"
    8540 case "(($ac_try" in
    8541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8542   *) ac_try_echo=$ac_try;;
    8543 esac
    8544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8545 $as_echo "$ac_try_echo") >&5
    8546   (eval "$ac_compile") 2>conftest.er1
    8547   ac_status=$?
    8548   grep -v '^ *+' conftest.er1 >conftest.err
    8549   rm -f conftest.er1
    8550   cat conftest.err >&5
    8551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8552   (exit $ac_status); } && {
    8553          test -z "$ac_cxx_werror_flag" ||
    8554          test ! -s conftest.err
    8555        } && test -s conftest.$ac_objext; then
    8556   ac_header_compiler=yes
    8557 else
    8558   $as_echo "$as_me: failed program was:" >&5
    8559 sed 's/^/| /' conftest.$ac_ext >&5
    8560 
    8561         ac_header_compiler=no
    8562 fi
    8563 
    8564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8565 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8566 $as_echo "$ac_header_compiler" >&6; }
    8567 
    8568 # Is the header present?
    8569 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8570 $as_echo_n "checking $ac_header presence... " >&6; }
    8571 cat >conftest.$ac_ext <<_ACEOF
    8572 /* confdefs.h.  */
    8573 _ACEOF
    8574 cat confdefs.h >>conftest.$ac_ext
    8575 cat >>conftest.$ac_ext <<_ACEOF
    8576 /* end confdefs.h.  */
    8577 #include <$ac_header>
    8578 _ACEOF
    8579 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8580 case "(($ac_try" in
    8581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8582   *) ac_try_echo=$ac_try;;
    8583 esac
    8584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8585 $as_echo "$ac_try_echo") >&5
    8586   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8587   ac_status=$?
    8588   grep -v '^ *+' conftest.er1 >conftest.err
    8589   rm -f conftest.er1
    8590   cat conftest.err >&5
    8591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8592   (exit $ac_status); } >/dev/null && {
    8593          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8594          test ! -s conftest.err
    8595        }; then
    8596   ac_header_preproc=yes
    8597 else
    8598   $as_echo "$as_me: failed program was:" >&5
    8599 sed 's/^/| /' conftest.$ac_ext >&5
    8600 
    8601   ac_header_preproc=no
    8602 fi
    8603 
    8604 rm -f conftest.err conftest.$ac_ext
    8605 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8606 $as_echo "$ac_header_preproc" >&6; }
    8607 
    8608 # So?  What about this header?
    8609 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8610   yes:no: )
    8611     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8612 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8613     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8614 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8615     ac_header_preproc=yes
    8616     ;;
    8617   no:yes:* )
    8618     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8619 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8620     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8621 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8622     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8623 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8624     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8625 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8626     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8627 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8628     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8629 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8630     ( cat <<\_ASBOX
    8631 ## ----------------------------------- ##
    8632 ## Report this to rappture@nanohub.org ##
    8633 ## ----------------------------------- ##
    8634 _ASBOX
    8635      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8636     ;;
    8637 esac
    8638 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8639 $as_echo_n "checking for $ac_header... " >&6; }
    8640 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8641   $as_echo_n "(cached) " >&6
    8642 else
    8643   eval "$as_ac_Header=\$ac_header_preproc"
    8644 fi
    8645 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8646                  $as_echo "$as_val"'`
    8647                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8648 $as_echo "$ac_res" >&6; }
    8649 
    8650 fi
    8651 as_val=`eval 'as_val=${'$as_ac_Header'}
    8652                  $as_echo "$as_val"'`
    8653    if test "x$as_val" = x""yes; then
     5333do :
     5334  ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
     5335if test "x$ac_cv_header_string_h" = xyes; then :
    86545336  cat >>confdefs.h <<_ACEOF
    8655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8656 _ACEOF
    8657 
    8658 else
    8659   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5337#define HAVE_STRING_H 1
     5338_ACEOF
     5339
     5340else
     5341  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    86605342$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    86615343fi
     
    86635345done
    86645346
    8665 
    86665347for ac_header in stdlib.h
    8667 do
    8668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8670   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8671 $as_echo_n "checking for $ac_header... " >&6; }
    8672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8673   $as_echo_n "(cached) " >&6
    8674 fi
    8675 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8676                  $as_echo "$as_val"'`
    8677                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8678 $as_echo "$ac_res" >&6; }
    8679 else
    8680   # Is the header compilable?
    8681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8682 $as_echo_n "checking $ac_header usability... " >&6; }
    8683 cat >conftest.$ac_ext <<_ACEOF
    8684 /* confdefs.h.  */
    8685 _ACEOF
    8686 cat confdefs.h >>conftest.$ac_ext
    8687 cat >>conftest.$ac_ext <<_ACEOF
    8688 /* end confdefs.h.  */
    8689 $ac_includes_default
    8690 #include <$ac_header>
    8691 _ACEOF
    8692 rm -f conftest.$ac_objext
    8693 if { (ac_try="$ac_compile"
    8694 case "(($ac_try" in
    8695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8696   *) ac_try_echo=$ac_try;;
    8697 esac
    8698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8699 $as_echo "$ac_try_echo") >&5
    8700   (eval "$ac_compile") 2>conftest.er1
    8701   ac_status=$?
    8702   grep -v '^ *+' conftest.er1 >conftest.err
    8703   rm -f conftest.er1
    8704   cat conftest.err >&5
    8705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8706   (exit $ac_status); } && {
    8707          test -z "$ac_cxx_werror_flag" ||
    8708          test ! -s conftest.err
    8709        } && test -s conftest.$ac_objext; then
    8710   ac_header_compiler=yes
    8711 else
    8712   $as_echo "$as_me: failed program was:" >&5
    8713 sed 's/^/| /' conftest.$ac_ext >&5
    8714 
    8715         ac_header_compiler=no
    8716 fi
    8717 
    8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8720 $as_echo "$ac_header_compiler" >&6; }
    8721 
    8722 # Is the header present?
    8723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8724 $as_echo_n "checking $ac_header presence... " >&6; }
    8725 cat >conftest.$ac_ext <<_ACEOF
    8726 /* confdefs.h.  */
    8727 _ACEOF
    8728 cat confdefs.h >>conftest.$ac_ext
    8729 cat >>conftest.$ac_ext <<_ACEOF
    8730 /* end confdefs.h.  */
    8731 #include <$ac_header>
    8732 _ACEOF
    8733 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8734 case "(($ac_try" in
    8735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8736   *) ac_try_echo=$ac_try;;
    8737 esac
    8738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8739 $as_echo "$ac_try_echo") >&5
    8740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8741   ac_status=$?
    8742   grep -v '^ *+' conftest.er1 >conftest.err
    8743   rm -f conftest.er1
    8744   cat conftest.err >&5
    8745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8746   (exit $ac_status); } >/dev/null && {
    8747          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8748          test ! -s conftest.err
    8749        }; then
    8750   ac_header_preproc=yes
    8751 else
    8752   $as_echo "$as_me: failed program was:" >&5
    8753 sed 's/^/| /' conftest.$ac_ext >&5
    8754 
    8755   ac_header_preproc=no
    8756 fi
    8757 
    8758 rm -f conftest.err conftest.$ac_ext
    8759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8760 $as_echo "$ac_header_preproc" >&6; }
    8761 
    8762 # So?  What about this header?
    8763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8764   yes:no: )
    8765     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8767     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8769     ac_header_preproc=yes
    8770     ;;
    8771   no:yes:* )
    8772     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8774     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8775 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8779 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8780     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8782     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8784     ( cat <<\_ASBOX
    8785 ## ----------------------------------- ##
    8786 ## Report this to rappture@nanohub.org ##
    8787 ## ----------------------------------- ##
    8788 _ASBOX
    8789      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8790     ;;
    8791 esac
    8792 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8793 $as_echo_n "checking for $ac_header... " >&6; }
    8794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8795   $as_echo_n "(cached) " >&6
    8796 else
    8797   eval "$as_ac_Header=\$ac_header_preproc"
    8798 fi
    8799 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8800                  $as_echo "$as_val"'`
    8801                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8802 $as_echo "$ac_res" >&6; }
    8803 
    8804 fi
    8805 as_val=`eval 'as_val=${'$as_ac_Header'}
    8806                  $as_echo "$as_val"'`
    8807    if test "x$as_val" = x""yes; then
     5348do :
     5349  ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5350if test "x$ac_cv_header_stdlib_h" = xyes; then :
    88085351  cat >>confdefs.h <<_ACEOF
    8809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8810 _ACEOF
    8811 
    8812 else
    8813   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5352#define HAVE_STDLIB_H 1
     5353_ACEOF
     5354
     5355else
     5356  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    88145357$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    88155358fi
     
    88175360done
    88185361
    8819 
    88205362for ac_header in stddef.h
    8821 do
    8822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8824   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8825 $as_echo_n "checking for $ac_header... " >&6; }
    8826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8827   $as_echo_n "(cached) " >&6
    8828 fi
    8829 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8830                  $as_echo "$as_val"'`
    8831                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8832 $as_echo "$ac_res" >&6; }
    8833 else
    8834   # Is the header compilable?
    8835 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8836 $as_echo_n "checking $ac_header usability... " >&6; }
    8837 cat >conftest.$ac_ext <<_ACEOF
    8838 /* confdefs.h.  */
    8839 _ACEOF
    8840 cat confdefs.h >>conftest.$ac_ext
    8841 cat >>conftest.$ac_ext <<_ACEOF
    8842 /* end confdefs.h.  */
    8843 $ac_includes_default
    8844 #include <$ac_header>
    8845 _ACEOF
    8846 rm -f conftest.$ac_objext
    8847 if { (ac_try="$ac_compile"
    8848 case "(($ac_try" in
    8849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8850   *) ac_try_echo=$ac_try;;
    8851 esac
    8852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8853 $as_echo "$ac_try_echo") >&5
    8854   (eval "$ac_compile") 2>conftest.er1
    8855   ac_status=$?
    8856   grep -v '^ *+' conftest.er1 >conftest.err
    8857   rm -f conftest.er1
    8858   cat conftest.err >&5
    8859   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8860   (exit $ac_status); } && {
    8861          test -z "$ac_cxx_werror_flag" ||
    8862          test ! -s conftest.err
    8863        } && test -s conftest.$ac_objext; then
    8864   ac_header_compiler=yes
    8865 else
    8866   $as_echo "$as_me: failed program was:" >&5
    8867 sed 's/^/| /' conftest.$ac_ext >&5
    8868 
    8869         ac_header_compiler=no
    8870 fi
    8871 
    8872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8873 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8874 $as_echo "$ac_header_compiler" >&6; }
    8875 
    8876 # Is the header present?
    8877 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8878 $as_echo_n "checking $ac_header presence... " >&6; }
    8879 cat >conftest.$ac_ext <<_ACEOF
    8880 /* confdefs.h.  */
    8881 _ACEOF
    8882 cat confdefs.h >>conftest.$ac_ext
    8883 cat >>conftest.$ac_ext <<_ACEOF
    8884 /* end confdefs.h.  */
    8885 #include <$ac_header>
    8886 _ACEOF
    8887 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8888 case "(($ac_try" in
    8889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8890   *) ac_try_echo=$ac_try;;
    8891 esac
    8892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8893 $as_echo "$ac_try_echo") >&5
    8894   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8895   ac_status=$?
    8896   grep -v '^ *+' conftest.er1 >conftest.err
    8897   rm -f conftest.er1
    8898   cat conftest.err >&5
    8899   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8900   (exit $ac_status); } >/dev/null && {
    8901          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8902          test ! -s conftest.err
    8903        }; then
    8904   ac_header_preproc=yes
    8905 else
    8906   $as_echo "$as_me: failed program was:" >&5
    8907 sed 's/^/| /' conftest.$ac_ext >&5
    8908 
    8909   ac_header_preproc=no
    8910 fi
    8911 
    8912 rm -f conftest.err conftest.$ac_ext
    8913 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8914 $as_echo "$ac_header_preproc" >&6; }
    8915 
    8916 # So?  What about this header?
    8917 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8918   yes:no: )
    8919     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8920 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8921     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8922 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8923     ac_header_preproc=yes
    8924     ;;
    8925   no:yes:* )
    8926     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8927 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8928     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8929 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8930     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8931 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8932     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8933 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8934     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8935 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8936     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8937 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8938     ( cat <<\_ASBOX
    8939 ## ----------------------------------- ##
    8940 ## Report this to rappture@nanohub.org ##
    8941 ## ----------------------------------- ##
    8942 _ASBOX
    8943      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8944     ;;
    8945 esac
    8946 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8947 $as_echo_n "checking for $ac_header... " >&6; }
    8948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8949   $as_echo_n "(cached) " >&6
    8950 else
    8951   eval "$as_ac_Header=\$ac_header_preproc"
    8952 fi
    8953 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8954                  $as_echo "$as_val"'`
    8955                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8956 $as_echo "$ac_res" >&6; }
    8957 
    8958 fi
    8959 as_val=`eval 'as_val=${'$as_ac_Header'}
    8960                  $as_echo "$as_val"'`
    8961    if test "x$as_val" = x""yes; then
     5363do :
     5364  ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
     5365if test "x$ac_cv_header_stddef_h" = xyes; then :
    89625366  cat >>confdefs.h <<_ACEOF
    8963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8964 _ACEOF
    8965 
    8966 else
    8967   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5367#define HAVE_STDDEF_H 1
     5368_ACEOF
     5369
     5370else
     5371  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    89685372$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    89695373fi
     
    89715375done
    89725376
    8973 
    89745377for ac_header in float.h
    8975 do
    8976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8978   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8979 $as_echo_n "checking for $ac_header... " >&6; }
    8980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8981   $as_echo_n "(cached) " >&6
    8982 fi
    8983 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8984                  $as_echo "$as_val"'`
    8985                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8986 $as_echo "$ac_res" >&6; }
    8987 else
    8988   # Is the header compilable?
    8989 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8990 $as_echo_n "checking $ac_header usability... " >&6; }
    8991 cat >conftest.$ac_ext <<_ACEOF
    8992 /* confdefs.h.  */
    8993 _ACEOF
    8994 cat confdefs.h >>conftest.$ac_ext
    8995 cat >>conftest.$ac_ext <<_ACEOF
    8996 /* end confdefs.h.  */
    8997 $ac_includes_default
    8998 #include <$ac_header>
    8999 _ACEOF
    9000 rm -f conftest.$ac_objext
    9001 if { (ac_try="$ac_compile"
    9002 case "(($ac_try" in
    9003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9004   *) ac_try_echo=$ac_try;;
    9005 esac
    9006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9007 $as_echo "$ac_try_echo") >&5
    9008   (eval "$ac_compile") 2>conftest.er1
    9009   ac_status=$?
    9010   grep -v '^ *+' conftest.er1 >conftest.err
    9011   rm -f conftest.er1
    9012   cat conftest.err >&5
    9013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9014   (exit $ac_status); } && {
    9015          test -z "$ac_cxx_werror_flag" ||
    9016          test ! -s conftest.err
    9017        } && test -s conftest.$ac_objext; then
    9018   ac_header_compiler=yes
    9019 else
    9020   $as_echo "$as_me: failed program was:" >&5
    9021 sed 's/^/| /' conftest.$ac_ext >&5
    9022 
    9023         ac_header_compiler=no
    9024 fi
    9025 
    9026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9027 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9028 $as_echo "$ac_header_compiler" >&6; }
    9029 
    9030 # Is the header present?
    9031 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9032 $as_echo_n "checking $ac_header presence... " >&6; }
    9033 cat >conftest.$ac_ext <<_ACEOF
    9034 /* confdefs.h.  */
    9035 _ACEOF
    9036 cat confdefs.h >>conftest.$ac_ext
    9037 cat >>conftest.$ac_ext <<_ACEOF
    9038 /* end confdefs.h.  */
    9039 #include <$ac_header>
    9040 _ACEOF
    9041 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9042 case "(($ac_try" in
    9043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9044   *) ac_try_echo=$ac_try;;
    9045 esac
    9046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9047 $as_echo "$ac_try_echo") >&5
    9048   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9049   ac_status=$?
    9050   grep -v '^ *+' conftest.er1 >conftest.err
    9051   rm -f conftest.er1
    9052   cat conftest.err >&5
    9053   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9054   (exit $ac_status); } >/dev/null && {
    9055          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9056          test ! -s conftest.err
    9057        }; then
    9058   ac_header_preproc=yes
    9059 else
    9060   $as_echo "$as_me: failed program was:" >&5
    9061 sed 's/^/| /' conftest.$ac_ext >&5
    9062 
    9063   ac_header_preproc=no
    9064 fi
    9065 
    9066 rm -f conftest.err conftest.$ac_ext
    9067 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9068 $as_echo "$ac_header_preproc" >&6; }
    9069 
    9070 # So?  What about this header?
    9071 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9072   yes:no: )
    9073     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9074 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9075     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9076 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9077     ac_header_preproc=yes
    9078     ;;
    9079   no:yes:* )
    9080     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9081 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9082     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9083 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9084     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9085 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9086     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9087 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9088     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9090     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9091 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9092     ( cat <<\_ASBOX
    9093 ## ----------------------------------- ##
    9094 ## Report this to rappture@nanohub.org ##
    9095 ## ----------------------------------- ##
    9096 _ASBOX
    9097      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9098     ;;
    9099 esac
    9100 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9101 $as_echo_n "checking for $ac_header... " >&6; }
    9102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9103   $as_echo_n "(cached) " >&6
    9104 else
    9105   eval "$as_ac_Header=\$ac_header_preproc"
    9106 fi
    9107 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9108                  $as_echo "$as_val"'`
    9109                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9110 $as_echo "$ac_res" >&6; }
    9111 
    9112 fi
    9113 as_val=`eval 'as_val=${'$as_ac_Header'}
    9114                  $as_echo "$as_val"'`
    9115    if test "x$as_val" = x""yes; then
     5378do :
     5379  ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
     5380if test "x$ac_cv_header_float_h" = xyes; then :
    91165381  cat >>confdefs.h <<_ACEOF
    9117 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9118 _ACEOF
    9119 
    9120 else
    9121   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5382#define HAVE_FLOAT_H 1
     5383_ACEOF
     5384
     5385else
     5386  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    91225387$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    91235388fi
     
    91255390done
    91265391
    9127 
    91285392for ac_header in math.h
    9129 do
    9130 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9132   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9133 $as_echo_n "checking for $ac_header... " >&6; }
    9134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9135   $as_echo_n "(cached) " >&6
    9136 fi
    9137 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9138                  $as_echo "$as_val"'`
    9139                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9140 $as_echo "$ac_res" >&6; }
    9141 else
    9142   # Is the header compilable?
    9143 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9144 $as_echo_n "checking $ac_header usability... " >&6; }
    9145 cat >conftest.$ac_ext <<_ACEOF
    9146 /* confdefs.h.  */
    9147 _ACEOF
    9148 cat confdefs.h >>conftest.$ac_ext
    9149 cat >>conftest.$ac_ext <<_ACEOF
    9150 /* end confdefs.h.  */
    9151 $ac_includes_default
    9152 #include <$ac_header>
    9153 _ACEOF
    9154 rm -f conftest.$ac_objext
    9155 if { (ac_try="$ac_compile"
    9156 case "(($ac_try" in
    9157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9158   *) ac_try_echo=$ac_try;;
    9159 esac
    9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9161 $as_echo "$ac_try_echo") >&5
    9162   (eval "$ac_compile") 2>conftest.er1
    9163   ac_status=$?
    9164   grep -v '^ *+' conftest.er1 >conftest.err
    9165   rm -f conftest.er1
    9166   cat conftest.err >&5
    9167   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9168   (exit $ac_status); } && {
    9169          test -z "$ac_cxx_werror_flag" ||
    9170          test ! -s conftest.err
    9171        } && test -s conftest.$ac_objext; then
    9172   ac_header_compiler=yes
    9173 else
    9174   $as_echo "$as_me: failed program was:" >&5
    9175 sed 's/^/| /' conftest.$ac_ext >&5
    9176 
    9177         ac_header_compiler=no
    9178 fi
    9179 
    9180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9181 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9182 $as_echo "$ac_header_compiler" >&6; }
    9183 
    9184 # Is the header present?
    9185 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9186 $as_echo_n "checking $ac_header presence... " >&6; }
    9187 cat >conftest.$ac_ext <<_ACEOF
    9188 /* confdefs.h.  */
    9189 _ACEOF
    9190 cat confdefs.h >>conftest.$ac_ext
    9191 cat >>conftest.$ac_ext <<_ACEOF
    9192 /* end confdefs.h.  */
    9193 #include <$ac_header>
    9194 _ACEOF
    9195 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9196 case "(($ac_try" in
    9197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9198   *) ac_try_echo=$ac_try;;
    9199 esac
    9200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9201 $as_echo "$ac_try_echo") >&5
    9202   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9203   ac_status=$?
    9204   grep -v '^ *+' conftest.er1 >conftest.err
    9205   rm -f conftest.er1
    9206   cat conftest.err >&5
    9207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9208   (exit $ac_status); } >/dev/null && {
    9209          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9210          test ! -s conftest.err
    9211        }; then
    9212   ac_header_preproc=yes
    9213 else
    9214   $as_echo "$as_me: failed program was:" >&5
    9215 sed 's/^/| /' conftest.$ac_ext >&5
    9216 
    9217   ac_header_preproc=no
    9218 fi
    9219 
    9220 rm -f conftest.err conftest.$ac_ext
    9221 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9222 $as_echo "$ac_header_preproc" >&6; }
    9223 
    9224 # So?  What about this header?
    9225 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9226   yes:no: )
    9227     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9228 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9229     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9230 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9231     ac_header_preproc=yes
    9232     ;;
    9233   no:yes:* )
    9234     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9235 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9236     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9237 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9238     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9239 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9240     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9241 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9242     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9243 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9244     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9245 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9246     ( cat <<\_ASBOX
    9247 ## ----------------------------------- ##
    9248 ## Report this to rappture@nanohub.org ##
    9249 ## ----------------------------------- ##
    9250 _ASBOX
    9251      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9252     ;;
    9253 esac
    9254 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9255 $as_echo_n "checking for $ac_header... " >&6; }
    9256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9257   $as_echo_n "(cached) " >&6
    9258 else
    9259   eval "$as_ac_Header=\$ac_header_preproc"
    9260 fi
    9261 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9262                  $as_echo "$as_val"'`
    9263                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9264 $as_echo "$ac_res" >&6; }
    9265 
    9266 fi
    9267 as_val=`eval 'as_val=${'$as_ac_Header'}
    9268                  $as_echo "$as_val"'`
    9269    if test "x$as_val" = x""yes; then
     5393do :
     5394  ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
     5395if test "x$ac_cv_header_math_h" = xyes; then :
    92705396  cat >>confdefs.h <<_ACEOF
    9271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9272 _ACEOF
    9273 
    9274 else
    9275   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5397#define HAVE_MATH_H 1
     5398_ACEOF
     5399
     5400else
     5401  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    92765402$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    92775403fi
     
    92795405done
    92805406
    9281 
    92825407for ac_header in malloc.h
    9283 do
    9284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9286   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9287 $as_echo_n "checking for $ac_header... " >&6; }
    9288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9289   $as_echo_n "(cached) " >&6
    9290 fi
    9291 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9292                  $as_echo "$as_val"'`
    9293                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9294 $as_echo "$ac_res" >&6; }
    9295 else
    9296   # Is the header compilable?
    9297 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9298 $as_echo_n "checking $ac_header usability... " >&6; }
    9299 cat >conftest.$ac_ext <<_ACEOF
    9300 /* confdefs.h.  */
    9301 _ACEOF
    9302 cat confdefs.h >>conftest.$ac_ext
    9303 cat >>conftest.$ac_ext <<_ACEOF
    9304 /* end confdefs.h.  */
    9305 $ac_includes_default
    9306 #include <$ac_header>
    9307 _ACEOF
    9308 rm -f conftest.$ac_objext
    9309 if { (ac_try="$ac_compile"
    9310 case "(($ac_try" in
    9311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9312   *) ac_try_echo=$ac_try;;
    9313 esac
    9314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9315 $as_echo "$ac_try_echo") >&5
    9316   (eval "$ac_compile") 2>conftest.er1
    9317   ac_status=$?
    9318   grep -v '^ *+' conftest.er1 >conftest.err
    9319   rm -f conftest.er1
    9320   cat conftest.err >&5
    9321   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9322   (exit $ac_status); } && {
    9323          test -z "$ac_cxx_werror_flag" ||
    9324          test ! -s conftest.err
    9325        } && test -s conftest.$ac_objext; then
    9326   ac_header_compiler=yes
    9327 else
    9328   $as_echo "$as_me: failed program was:" >&5
    9329 sed 's/^/| /' conftest.$ac_ext >&5
    9330 
    9331         ac_header_compiler=no
    9332 fi
    9333 
    9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9335 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9336 $as_echo "$ac_header_compiler" >&6; }
    9337 
    9338 # Is the header present?
    9339 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9340 $as_echo_n "checking $ac_header presence... " >&6; }
    9341 cat >conftest.$ac_ext <<_ACEOF
    9342 /* confdefs.h.  */
    9343 _ACEOF
    9344 cat confdefs.h >>conftest.$ac_ext
    9345 cat >>conftest.$ac_ext <<_ACEOF
    9346 /* end confdefs.h.  */
    9347 #include <$ac_header>
    9348 _ACEOF
    9349 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9350 case "(($ac_try" in
    9351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9352   *) ac_try_echo=$ac_try;;
    9353 esac
    9354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9355 $as_echo "$ac_try_echo") >&5
    9356   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9357   ac_status=$?
    9358   grep -v '^ *+' conftest.er1 >conftest.err
    9359   rm -f conftest.er1
    9360   cat conftest.err >&5
    9361   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9362   (exit $ac_status); } >/dev/null && {
    9363          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9364          test ! -s conftest.err
    9365        }; then
    9366   ac_header_preproc=yes
    9367 else
    9368   $as_echo "$as_me: failed program was:" >&5
    9369 sed 's/^/| /' conftest.$ac_ext >&5
    9370 
    9371   ac_header_preproc=no
    9372 fi
    9373 
    9374 rm -f conftest.err conftest.$ac_ext
    9375 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9376 $as_echo "$ac_header_preproc" >&6; }
    9377 
    9378 # So?  What about this header?
    9379 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9380   yes:no: )
    9381     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9382 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9383     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9384 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9385     ac_header_preproc=yes
    9386     ;;
    9387   no:yes:* )
    9388     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9389 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9390     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9391 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9392     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9393 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9394     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9395 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9396     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9397 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9398     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9399 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9400     ( cat <<\_ASBOX
    9401 ## ----------------------------------- ##
    9402 ## Report this to rappture@nanohub.org ##
    9403 ## ----------------------------------- ##
    9404 _ASBOX
    9405      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9406     ;;
    9407 esac
    9408 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9409 $as_echo_n "checking for $ac_header... " >&6; }
    9410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9411   $as_echo_n "(cached) " >&6
    9412 else
    9413   eval "$as_ac_Header=\$ac_header_preproc"
    9414 fi
    9415 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9416                  $as_echo "$as_val"'`
    9417                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9418 $as_echo "$ac_res" >&6; }
    9419 
    9420 fi
    9421 as_val=`eval 'as_val=${'$as_ac_Header'}
    9422                  $as_echo "$as_val"'`
    9423    if test "x$as_val" = x""yes; then
     5408do :
     5409  ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
     5410if test "x$ac_cv_header_malloc_h" = xyes; then :
    94245411  cat >>confdefs.h <<_ACEOF
    9425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9426 _ACEOF
    9427 
    9428 else
    9429   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5412#define HAVE_MALLOC_H 1
     5413_ACEOF
     5414
     5415else
     5416  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    94305417$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    94315418fi
     
    94335420done
    94345421
    9435 
    94365422for ac_header in memory.h
    9437 do
    9438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9439 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9440   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9441 $as_echo_n "checking for $ac_header... " >&6; }
    9442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9443   $as_echo_n "(cached) " >&6
    9444 fi
    9445 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9446                  $as_echo "$as_val"'`
    9447                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9448 $as_echo "$ac_res" >&6; }
    9449 else
    9450   # Is the header compilable?
    9451 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9452 $as_echo_n "checking $ac_header usability... " >&6; }
    9453 cat >conftest.$ac_ext <<_ACEOF
    9454 /* confdefs.h.  */
    9455 _ACEOF
    9456 cat confdefs.h >>conftest.$ac_ext
    9457 cat >>conftest.$ac_ext <<_ACEOF
    9458 /* end confdefs.h.  */
    9459 $ac_includes_default
    9460 #include <$ac_header>
    9461 _ACEOF
    9462 rm -f conftest.$ac_objext
    9463 if { (ac_try="$ac_compile"
    9464 case "(($ac_try" in
    9465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9466   *) ac_try_echo=$ac_try;;
    9467 esac
    9468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9469 $as_echo "$ac_try_echo") >&5
    9470   (eval "$ac_compile") 2>conftest.er1
    9471   ac_status=$?
    9472   grep -v '^ *+' conftest.er1 >conftest.err
    9473   rm -f conftest.er1
    9474   cat conftest.err >&5
    9475   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9476   (exit $ac_status); } && {
    9477          test -z "$ac_cxx_werror_flag" ||
    9478          test ! -s conftest.err
    9479        } && test -s conftest.$ac_objext; then
    9480   ac_header_compiler=yes
    9481 else
    9482   $as_echo "$as_me: failed program was:" >&5
    9483 sed 's/^/| /' conftest.$ac_ext >&5
    9484 
    9485         ac_header_compiler=no
    9486 fi
    9487 
    9488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9489 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9490 $as_echo "$ac_header_compiler" >&6; }
    9491 
    9492 # Is the header present?
    9493 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9494 $as_echo_n "checking $ac_header presence... " >&6; }
    9495 cat >conftest.$ac_ext <<_ACEOF
    9496 /* confdefs.h.  */
    9497 _ACEOF
    9498 cat confdefs.h >>conftest.$ac_ext
    9499 cat >>conftest.$ac_ext <<_ACEOF
    9500 /* end confdefs.h.  */
    9501 #include <$ac_header>
    9502 _ACEOF
    9503 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9504 case "(($ac_try" in
    9505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9506   *) ac_try_echo=$ac_try;;
    9507 esac
    9508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9509 $as_echo "$ac_try_echo") >&5
    9510   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9511   ac_status=$?
    9512   grep -v '^ *+' conftest.er1 >conftest.err
    9513   rm -f conftest.er1
    9514   cat conftest.err >&5
    9515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9516   (exit $ac_status); } >/dev/null && {
    9517          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9518          test ! -s conftest.err
    9519        }; then
    9520   ac_header_preproc=yes
    9521 else
    9522   $as_echo "$as_me: failed program was:" >&5
    9523 sed 's/^/| /' conftest.$ac_ext >&5
    9524 
    9525   ac_header_preproc=no
    9526 fi
    9527 
    9528 rm -f conftest.err conftest.$ac_ext
    9529 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9530 $as_echo "$ac_header_preproc" >&6; }
    9531 
    9532 # So?  What about this header?
    9533 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9534   yes:no: )
    9535     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9536 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9537     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9538 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9539     ac_header_preproc=yes
    9540     ;;
    9541   no:yes:* )
    9542     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9543 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9544     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9545 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9546     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9547 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9548     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9549 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9550     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9551 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9552     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9553 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9554     ( cat <<\_ASBOX
    9555 ## ----------------------------------- ##
    9556 ## Report this to rappture@nanohub.org ##
    9557 ## ----------------------------------- ##
    9558 _ASBOX
    9559      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9560     ;;
    9561 esac
    9562 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9563 $as_echo_n "checking for $ac_header... " >&6; }
    9564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9565   $as_echo_n "(cached) " >&6
    9566 else
    9567   eval "$as_ac_Header=\$ac_header_preproc"
    9568 fi
    9569 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9570                  $as_echo "$as_val"'`
    9571                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9572 $as_echo "$ac_res" >&6; }
    9573 
    9574 fi
    9575 as_val=`eval 'as_val=${'$as_ac_Header'}
    9576                  $as_echo "$as_val"'`
    9577    if test "x$as_val" = x""yes; then
     5423do :
     5424  ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
     5425if test "x$ac_cv_header_memory_h" = xyes; then :
    95785426  cat >>confdefs.h <<_ACEOF
    9579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9580 _ACEOF
    9581 
    9582 else
    9583   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5427#define HAVE_MEMORY_H 1
     5428_ACEOF
     5429
     5430else
     5431  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    95845432$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    95855433fi
     
    95875435done
    95885436
    9589 
    95905437for ac_header in unistd.h
    9591 do
    9592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9594   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9595 $as_echo_n "checking for $ac_header... " >&6; }
    9596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9597   $as_echo_n "(cached) " >&6
    9598 fi
    9599 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9600                  $as_echo "$as_val"'`
    9601                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9602 $as_echo "$ac_res" >&6; }
    9603 else
    9604   # Is the header compilable?
    9605 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9606 $as_echo_n "checking $ac_header usability... " >&6; }
    9607 cat >conftest.$ac_ext <<_ACEOF
    9608 /* confdefs.h.  */
    9609 _ACEOF
    9610 cat confdefs.h >>conftest.$ac_ext
    9611 cat >>conftest.$ac_ext <<_ACEOF
    9612 /* end confdefs.h.  */
    9613 $ac_includes_default
    9614 #include <$ac_header>
    9615 _ACEOF
    9616 rm -f conftest.$ac_objext
    9617 if { (ac_try="$ac_compile"
    9618 case "(($ac_try" in
    9619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9620   *) ac_try_echo=$ac_try;;
    9621 esac
    9622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9623 $as_echo "$ac_try_echo") >&5
    9624   (eval "$ac_compile") 2>conftest.er1
    9625   ac_status=$?
    9626   grep -v '^ *+' conftest.er1 >conftest.err
    9627   rm -f conftest.er1
    9628   cat conftest.err >&5
    9629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9630   (exit $ac_status); } && {
    9631          test -z "$ac_cxx_werror_flag" ||
    9632          test ! -s conftest.err
    9633        } && test -s conftest.$ac_objext; then
    9634   ac_header_compiler=yes
    9635 else
    9636   $as_echo "$as_me: failed program was:" >&5
    9637 sed 's/^/| /' conftest.$ac_ext >&5
    9638 
    9639         ac_header_compiler=no
    9640 fi
    9641 
    9642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9643 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9644 $as_echo "$ac_header_compiler" >&6; }
    9645 
    9646 # Is the header present?
    9647 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9648 $as_echo_n "checking $ac_header presence... " >&6; }
    9649 cat >conftest.$ac_ext <<_ACEOF
    9650 /* confdefs.h.  */
    9651 _ACEOF
    9652 cat confdefs.h >>conftest.$ac_ext
    9653 cat >>conftest.$ac_ext <<_ACEOF
    9654 /* end confdefs.h.  */
    9655 #include <$ac_header>
    9656 _ACEOF
    9657 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9658 case "(($ac_try" in
    9659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9660   *) ac_try_echo=$ac_try;;
    9661 esac
    9662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9663 $as_echo "$ac_try_echo") >&5
    9664   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9665   ac_status=$?
    9666   grep -v '^ *+' conftest.er1 >conftest.err
    9667   rm -f conftest.er1
    9668   cat conftest.err >&5
    9669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9670   (exit $ac_status); } >/dev/null && {
    9671          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9672          test ! -s conftest.err
    9673        }; then
    9674   ac_header_preproc=yes
    9675 else
    9676   $as_echo "$as_me: failed program was:" >&5
    9677 sed 's/^/| /' conftest.$ac_ext >&5
    9678 
    9679   ac_header_preproc=no
    9680 fi
    9681 
    9682 rm -f conftest.err conftest.$ac_ext
    9683 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9684 $as_echo "$ac_header_preproc" >&6; }
    9685 
    9686 # So?  What about this header?
    9687 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9688   yes:no: )
    9689     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9690 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9691     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9692 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9693     ac_header_preproc=yes
    9694     ;;
    9695   no:yes:* )
    9696     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9697 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9698     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9699 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9700     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9701 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9702     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9703 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9704     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9705 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9706     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9707 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9708     ( cat <<\_ASBOX
    9709 ## ----------------------------------- ##
    9710 ## Report this to rappture@nanohub.org ##
    9711 ## ----------------------------------- ##
    9712 _ASBOX
    9713      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9714     ;;
    9715 esac
    9716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9717 $as_echo_n "checking for $ac_header... " >&6; }
    9718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9719   $as_echo_n "(cached) " >&6
    9720 else
    9721   eval "$as_ac_Header=\$ac_header_preproc"
    9722 fi
    9723 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9724                  $as_echo "$as_val"'`
    9725                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9726 $as_echo "$ac_res" >&6; }
    9727 
    9728 fi
    9729 as_val=`eval 'as_val=${'$as_ac_Header'}
    9730                  $as_echo "$as_val"'`
    9731    if test "x$as_val" = x""yes; then
     5438do :
     5439  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
     5440if test "x$ac_cv_header_unistd_h" = xyes; then :
    97325441  cat >>confdefs.h <<_ACEOF
    9733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9734 _ACEOF
    9735 
    9736 else
    9737   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5442#define HAVE_UNISTD_H 1
     5443_ACEOF
     5444
     5445else
     5446  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    97385447$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    97395448fi
     
    97425451
    97435452
    9744 
    97455453for ac_header in inttypes.h
    9746 do
    9747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9749   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9750 $as_echo_n "checking for $ac_header... " >&6; }
    9751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9752   $as_echo_n "(cached) " >&6
    9753 fi
    9754 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9755                  $as_echo "$as_val"'`
    9756                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9757 $as_echo "$ac_res" >&6; }
    9758 else
    9759   # Is the header compilable?
    9760 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9761 $as_echo_n "checking $ac_header usability... " >&6; }
    9762 cat >conftest.$ac_ext <<_ACEOF
    9763 /* confdefs.h.  */
    9764 _ACEOF
    9765 cat confdefs.h >>conftest.$ac_ext
    9766 cat >>conftest.$ac_ext <<_ACEOF
    9767 /* end confdefs.h.  */
    9768 $ac_includes_default
    9769 #include <$ac_header>
    9770 _ACEOF
    9771 rm -f conftest.$ac_objext
    9772 if { (ac_try="$ac_compile"
    9773 case "(($ac_try" in
    9774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9775   *) ac_try_echo=$ac_try;;
    9776 esac
    9777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9778 $as_echo "$ac_try_echo") >&5
    9779   (eval "$ac_compile") 2>conftest.er1
    9780   ac_status=$?
    9781   grep -v '^ *+' conftest.er1 >conftest.err
    9782   rm -f conftest.er1
    9783   cat conftest.err >&5
    9784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9785   (exit $ac_status); } && {
    9786          test -z "$ac_cxx_werror_flag" ||
    9787          test ! -s conftest.err
    9788        } && test -s conftest.$ac_objext; then
    9789   ac_header_compiler=yes
    9790 else
    9791   $as_echo "$as_me: failed program was:" >&5
    9792 sed 's/^/| /' conftest.$ac_ext >&5
    9793 
    9794         ac_header_compiler=no
    9795 fi
    9796 
    9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9798 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9799 $as_echo "$ac_header_compiler" >&6; }
    9800 
    9801 # Is the header present?
    9802 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9803 $as_echo_n "checking $ac_header presence... " >&6; }
    9804 cat >conftest.$ac_ext <<_ACEOF
    9805 /* confdefs.h.  */
    9806 _ACEOF
    9807 cat confdefs.h >>conftest.$ac_ext
    9808 cat >>conftest.$ac_ext <<_ACEOF
    9809 /* end confdefs.h.  */
    9810 #include <$ac_header>
    9811 _ACEOF
    9812 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9813 case "(($ac_try" in
    9814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9815   *) ac_try_echo=$ac_try;;
    9816 esac
    9817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9818 $as_echo "$ac_try_echo") >&5
    9819   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9820   ac_status=$?
    9821   grep -v '^ *+' conftest.er1 >conftest.err
    9822   rm -f conftest.er1
    9823   cat conftest.err >&5
    9824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9825   (exit $ac_status); } >/dev/null && {
    9826          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9827          test ! -s conftest.err
    9828        }; then
    9829   ac_header_preproc=yes
    9830 else
    9831   $as_echo "$as_me: failed program was:" >&5
    9832 sed 's/^/| /' conftest.$ac_ext >&5
    9833 
    9834   ac_header_preproc=no
    9835 fi
    9836 
    9837 rm -f conftest.err conftest.$ac_ext
    9838 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9839 $as_echo "$ac_header_preproc" >&6; }
    9840 
    9841 # So?  What about this header?
    9842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9843   yes:no: )
    9844     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9845 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9846     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9847 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9848     ac_header_preproc=yes
    9849     ;;
    9850   no:yes:* )
    9851     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9852 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9853     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9854 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9855     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9856 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9857     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9858 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9859     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9860 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9861     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9862 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9863     ( cat <<\_ASBOX
    9864 ## ----------------------------------- ##
    9865 ## Report this to rappture@nanohub.org ##
    9866 ## ----------------------------------- ##
    9867 _ASBOX
    9868      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9869     ;;
    9870 esac
    9871 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9872 $as_echo_n "checking for $ac_header... " >&6; }
    9873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9874   $as_echo_n "(cached) " >&6
    9875 else
    9876   eval "$as_ac_Header=\$ac_header_preproc"
    9877 fi
    9878 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9879                  $as_echo "$as_val"'`
    9880                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9881 $as_echo "$ac_res" >&6; }
    9882 
    9883 fi
    9884 as_val=`eval 'as_val=${'$as_ac_Header'}
    9885                  $as_echo "$as_val"'`
    9886    if test "x$as_val" = x""yes; then
     5454do :
     5455  ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
     5456if test "x$ac_cv_header_inttypes_h" = xyes; then :
    98875457  cat >>confdefs.h <<_ACEOF
    9888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9889 _ACEOF
    9890 
    9891 else
    9892   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5458#define HAVE_INTTYPES_H 1
     5459_ACEOF
     5460
     5461else
     5462  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    98935463$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    98945464fi
     
    99075477    # Step 0.a: Enable 64 bit support?
    99085478
    9909     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     5479    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    99105480$as_echo_n "checking if 64bit support is requested... " >&6; }
    99115481    # Check whether --enable-64bit was given.
    9912 if test "${enable_64bit+set}" = set; then
     5482if test "${enable_64bit+set}" = set; then :
    99135483  enableval=$enable_64bit; do64bit=$enableval
    99145484else
     
    99165486fi
    99175487
    9918     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     5488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    99195489$as_echo "$do64bit" >&6; }
    99205490
    99215491    # Step 0.b: Enable Solaris 64 bit VIS support?
    99225492
    9923     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     5493    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    99245494$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    99255495    # Check whether --enable-64bit-vis was given.
    9926 if test "${enable_64bit_vis+set}" = set; then
     5496if test "${enable_64bit_vis+set}" = set; then :
    99275497  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    99285498else
     
    99305500fi
    99315501
    9932     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     5502    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    99335503$as_echo "$do64bitVIS" >&6; }
    99345504
     
    99425512
    99435513
    9944     { $as_echo "$as_me:$LINENO: checking system version" >&5
     5514    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    99455515$as_echo_n "checking system version... " >&6; }
    9946 if test "${tcl_cv_sys_version+set}" = set; then
     5516if ${tcl_cv_sys_version+:} false; then :
    99475517  $as_echo_n "(cached) " >&6
    99485518else
     
    99535523            tcl_cv_sys_version=`uname -s`-`uname -r`
    99545524            if test "$?" -ne 0 ; then
    9955                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     5525                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    99565526$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    99575527                tcl_cv_sys_version=unknown
     
    99705540
    99715541fi
    9972 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     5542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    99735543$as_echo "$tcl_cv_sys_version" >&6; }
    99745544    system=$tcl_cv_sys_version
     
    99785548    # Linux can use either -ldl or -ldld for dynamic loading.
    99795549
    9980     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     5550    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    99815551$as_echo_n "checking for dlopen in -ldl... " >&6; }
    9982 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     5552if ${ac_cv_lib_dl_dlopen+:} false; then :
    99835553  $as_echo_n "(cached) " >&6
    99845554else
    99855555  ac_check_lib_save_LIBS=$LIBS
    99865556LIBS="-ldl  $LIBS"
    9987 cat >conftest.$ac_ext <<_ACEOF
    9988 /* confdefs.h.  */
    9989 _ACEOF
    9990 cat confdefs.h >>conftest.$ac_ext
    9991 cat >>conftest.$ac_ext <<_ACEOF
     5557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    99925558/* end confdefs.h.  */
    99935559
     
    100075573}
    100085574_ACEOF
    10009 rm -f conftest.$ac_objext conftest$ac_exeext
    10010 if { (ac_try="$ac_link"
    10011 case "(($ac_try" in
    10012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10013   *) ac_try_echo=$ac_try;;
    10014 esac
    10015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10016 $as_echo "$ac_try_echo") >&5
    10017   (eval "$ac_link") 2>conftest.er1
    10018   ac_status=$?
    10019   grep -v '^ *+' conftest.er1 >conftest.err
    10020   rm -f conftest.er1
    10021   cat conftest.err >&5
    10022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10023   (exit $ac_status); } && {
    10024          test -z "$ac_cxx_werror_flag" ||
    10025          test ! -s conftest.err
    10026        } && test -s conftest$ac_exeext && {
    10027          test "$cross_compiling" = yes ||
    10028          $as_test_x conftest$ac_exeext
    10029        }; then
     5575if ac_fn_cxx_try_link "$LINENO"; then :
    100305576  ac_cv_lib_dl_dlopen=yes
    100315577else
    10032   $as_echo "$as_me: failed program was:" >&5
    10033 sed 's/^/| /' conftest.$ac_ext >&5
    10034 
    10035         ac_cv_lib_dl_dlopen=no
    10036 fi
    10037 
    10038 rm -rf conftest.dSYM
    10039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10040       conftest$ac_exeext conftest.$ac_ext
     5578  ac_cv_lib_dl_dlopen=no
     5579fi
     5580rm -f core conftest.err conftest.$ac_objext \
     5581    conftest$ac_exeext conftest.$ac_ext
    100415582LIBS=$ac_check_lib_save_LIBS
    100425583fi
    10043 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     5584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    100445585$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    10045 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     5586if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    100465587  have_dl=yes
    100475588else
     
    100755616    # Extract the first word of "ar", so it can be a program name with args.
    100765617set dummy ar; ac_word=$2
    10077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    100785619$as_echo_n "checking for $ac_word... " >&6; }
    10079 if test "${ac_cv_prog_AR+set}" = set; then
     5620if ${ac_cv_prog_AR+:} false; then :
    100805621  $as_echo_n "(cached) " >&6
    100815622else
     
    100885629  IFS=$as_save_IFS
    100895630  test -z "$as_dir" && as_dir=.
    10090   for ac_exec_ext in '' $ac_executable_extensions; do
    10091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5631    for ac_exec_ext in '' $ac_executable_extensions; do
     5632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    100925633    ac_cv_prog_AR="ar"
    10093     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    100945635    break 2
    100955636  fi
    100965637done
    10097 done
     5638  done
    100985639IFS=$as_save_IFS
    100995640
     
    101025643AR=$ac_cv_prog_AR
    101035644if test -n "$AR"; then
    10104   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     5645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    101055646$as_echo "$AR" >&6; }
    101065647else
    10107   { $as_echo "$as_me:$LINENO: result: no" >&5
     5648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    101085649$as_echo "no" >&6; }
    101095650fi
     
    101115652
    101125653    if test "${AR}" = "" ; then
    10113         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    10114 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    10115    { (exit 1); exit 1; }; }
     5654        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    101165655    fi
    101175656    STLIB_LD='${AR} cr'
     
    101315670                        ;;
    101325671                esac
    10133                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     5672                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    101345673$as_echo "Using $CC for compiling with threads" >&6; }
    101355674            fi
     
    101475686            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    101485687                if test "$GCC" = "yes" ; then
    10149                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5688                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    101505689$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    101515690                else
     
    102025741            # known GMT value.
    102035742
    10204             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     5743            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    102055744$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    10206 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     5745if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    102075746  $as_echo_n "(cached) " >&6
    102085747else
    102095748  ac_check_lib_save_LIBS=$LIBS
    102105749LIBS="-lbsd  $LIBS"
    10211 cat >conftest.$ac_ext <<_ACEOF
    10212 /* confdefs.h.  */
    10213 _ACEOF
    10214 cat confdefs.h >>conftest.$ac_ext
    10215 cat >>conftest.$ac_ext <<_ACEOF
     5750cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    102165751/* end confdefs.h.  */
    102175752
     
    102315766}
    102325767_ACEOF
    10233 rm -f conftest.$ac_objext conftest$ac_exeext
    10234 if { (ac_try="$ac_link"
    10235 case "(($ac_try" in
    10236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10237   *) ac_try_echo=$ac_try;;
    10238 esac
    10239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10240 $as_echo "$ac_try_echo") >&5
    10241   (eval "$ac_link") 2>conftest.er1
    10242   ac_status=$?
    10243   grep -v '^ *+' conftest.er1 >conftest.err
    10244   rm -f conftest.er1
    10245   cat conftest.err >&5
    10246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10247   (exit $ac_status); } && {
    10248          test -z "$ac_cxx_werror_flag" ||
    10249          test ! -s conftest.err
    10250        } && test -s conftest$ac_exeext && {
    10251          test "$cross_compiling" = yes ||
    10252          $as_test_x conftest$ac_exeext
    10253        }; then
     5768if ac_fn_cxx_try_link "$LINENO"; then :
    102545769  ac_cv_lib_bsd_gettimeofday=yes
    102555770else
    10256   $as_echo "$as_me: failed program was:" >&5
    10257 sed 's/^/| /' conftest.$ac_ext >&5
    10258 
    10259         ac_cv_lib_bsd_gettimeofday=no
    10260 fi
    10261 
    10262 rm -rf conftest.dSYM
    10263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10264       conftest$ac_exeext conftest.$ac_ext
     5771  ac_cv_lib_bsd_gettimeofday=no
     5772fi
     5773rm -f core conftest.err conftest.$ac_objext \
     5774    conftest$ac_exeext conftest.$ac_ext
    102655775LIBS=$ac_check_lib_save_LIBS
    102665776fi
    10267 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     5777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    102685778$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    10269 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     5779if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    102705780  libbsd=yes
    102715781else
     
    102755785            if test $libbsd = yes; then
    102765786                MATH_LIBS="$MATH_LIBS -lbsd"
    10277                 cat >>confdefs.h <<\_ACEOF
    10278 #define USE_DELTA_FOR_TZ 1
    10279 _ACEOF
     5787                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    102805788
    102815789            fi
     
    102945802            # is always linked to, for compatibility.
    102955803            #-----------------------------------------------------------
    10296             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     5804            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    102975805$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    10298 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     5806if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    102995807  $as_echo_n "(cached) " >&6
    103005808else
    103015809  ac_check_lib_save_LIBS=$LIBS
    103025810LIBS="-lbind  $LIBS"
    10303 cat >conftest.$ac_ext <<_ACEOF
    10304 /* confdefs.h.  */
    10305 _ACEOF
    10306 cat confdefs.h >>conftest.$ac_ext
    10307 cat >>conftest.$ac_ext <<_ACEOF
     5811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    103085812/* end confdefs.h.  */
    103095813
     
    103235827}
    103245828_ACEOF
    10325 rm -f conftest.$ac_objext conftest$ac_exeext
    10326 if { (ac_try="$ac_link"
    10327 case "(($ac_try" in
    10328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10329   *) ac_try_echo=$ac_try;;
    10330 esac
    10331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10332 $as_echo "$ac_try_echo") >&5
    10333   (eval "$ac_link") 2>conftest.er1
    10334   ac_status=$?
    10335   grep -v '^ *+' conftest.er1 >conftest.err
    10336   rm -f conftest.er1
    10337   cat conftest.err >&5
    10338   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10339   (exit $ac_status); } && {
    10340          test -z "$ac_cxx_werror_flag" ||
    10341          test ! -s conftest.err
    10342        } && test -s conftest$ac_exeext && {
    10343          test "$cross_compiling" = yes ||
    10344          $as_test_x conftest$ac_exeext
    10345        }; then
     5829if ac_fn_cxx_try_link "$LINENO"; then :
    103465830  ac_cv_lib_bind_inet_ntoa=yes
    103475831else
    10348   $as_echo "$as_me: failed program was:" >&5
    10349 sed 's/^/| /' conftest.$ac_ext >&5
    10350 
    10351         ac_cv_lib_bind_inet_ntoa=no
    10352 fi
    10353 
    10354 rm -rf conftest.dSYM
    10355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10356       conftest$ac_exeext conftest.$ac_ext
     5832  ac_cv_lib_bind_inet_ntoa=no
     5833fi
     5834rm -f core conftest.err conftest.$ac_objext \
     5835    conftest$ac_exeext conftest.$ac_ext
    103575836LIBS=$ac_check_lib_save_LIBS
    103585837fi
    10359 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     5838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    103605839$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    10361 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     5840if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    103625841  LIBS="$LIBS -lbind -lsocket"
    103635842fi
     
    103975876        HP-UX-*.11.*)
    103985877            # Use updated header definitions where possible
    10399             cat >>confdefs.h <<\_ACEOF
    10400 #define _XOPEN_SOURCE 1
    10401 _ACEOF
     5878            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    104025879          # Use the XOPEN network library
    10403             cat >>confdefs.h <<\_ACEOF
    10404 #define _XOPEN_SOURCE_EXTENDED 1
    10405 _ACEOF
     5880            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    104065881 # Use the XOPEN network library
    104075882            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    104125887                SHLIB_SUFFIX=".sl"
    104135888            fi
    10414             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     5889            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    104155890$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10416 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     5891if ${ac_cv_lib_dld_shl_load+:} false; then :
    104175892  $as_echo_n "(cached) " >&6
    104185893else
    104195894  ac_check_lib_save_LIBS=$LIBS
    104205895LIBS="-ldld  $LIBS"
    10421 cat >conftest.$ac_ext <<_ACEOF
    10422 /* confdefs.h.  */
    10423 _ACEOF
    10424 cat confdefs.h >>conftest.$ac_ext
    10425 cat >>conftest.$ac_ext <<_ACEOF
     5896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    104265897/* end confdefs.h.  */
    104275898
     
    104415912}
    104425913_ACEOF
    10443 rm -f conftest.$ac_objext conftest$ac_exeext
    10444 if { (ac_try="$ac_link"
    10445 case "(($ac_try" in
    10446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10447   *) ac_try_echo=$ac_try;;
    10448 esac
    10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10450 $as_echo "$ac_try_echo") >&5
    10451   (eval "$ac_link") 2>conftest.er1
    10452   ac_status=$?
    10453   grep -v '^ *+' conftest.er1 >conftest.err
    10454   rm -f conftest.er1
    10455   cat conftest.err >&5
    10456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10457   (exit $ac_status); } && {
    10458          test -z "$ac_cxx_werror_flag" ||
    10459          test ! -s conftest.err
    10460        } && test -s conftest$ac_exeext && {
    10461          test "$cross_compiling" = yes ||
    10462          $as_test_x conftest$ac_exeext
    10463        }; then
     5914if ac_fn_cxx_try_link "$LINENO"; then :
    104645915  ac_cv_lib_dld_shl_load=yes
    104655916else
    10466   $as_echo "$as_me: failed program was:" >&5
    10467 sed 's/^/| /' conftest.$ac_ext >&5
    10468 
    10469         ac_cv_lib_dld_shl_load=no
    10470 fi
    10471 
    10472 rm -rf conftest.dSYM
    10473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10474       conftest$ac_exeext conftest.$ac_ext
     5917  ac_cv_lib_dld_shl_load=no
     5918fi
     5919rm -f core conftest.err conftest.$ac_objext \
     5920    conftest$ac_exeext conftest.$ac_ext
    104755921LIBS=$ac_check_lib_save_LIBS
    104765922fi
    10477 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     5923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    104785924$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10479 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     5925if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    104805926  tcl_ok=yes
    104815927else
     
    105175963                            ;;
    105185964                        *)
    10519                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5965                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    105205966$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    105215967                            ;;
     
    105305976        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    105315977            SHLIB_SUFFIX=".sl"
    10532             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     5978            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    105335979$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10534 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     5980if ${ac_cv_lib_dld_shl_load+:} false; then :
    105355981  $as_echo_n "(cached) " >&6
    105365982else
    105375983  ac_check_lib_save_LIBS=$LIBS
    105385984LIBS="-ldld  $LIBS"
    10539 cat >conftest.$ac_ext <<_ACEOF
    10540 /* confdefs.h.  */
    10541 _ACEOF
    10542 cat confdefs.h >>conftest.$ac_ext
    10543 cat >>conftest.$ac_ext <<_ACEOF
     5985cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    105445986/* end confdefs.h.  */
    105455987
     
    105596001}
    105606002_ACEOF
    10561 rm -f conftest.$ac_objext conftest$ac_exeext
    10562 if { (ac_try="$ac_link"
    10563 case "(($ac_try" in
    10564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10565   *) ac_try_echo=$ac_try;;
    10566 esac
    10567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10568 $as_echo "$ac_try_echo") >&5
    10569   (eval "$ac_link") 2>conftest.er1
    10570   ac_status=$?
    10571   grep -v '^ *+' conftest.er1 >conftest.err
    10572   rm -f conftest.er1
    10573   cat conftest.err >&5
    10574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10575   (exit $ac_status); } && {
    10576          test -z "$ac_cxx_werror_flag" ||
    10577          test ! -s conftest.err
    10578        } && test -s conftest$ac_exeext && {
    10579          test "$cross_compiling" = yes ||
    10580          $as_test_x conftest$ac_exeext
    10581        }; then
     6003if ac_fn_cxx_try_link "$LINENO"; then :
    105826004  ac_cv_lib_dld_shl_load=yes
    105836005else
    10584   $as_echo "$as_me: failed program was:" >&5
    10585 sed 's/^/| /' conftest.$ac_ext >&5
    10586 
    10587         ac_cv_lib_dld_shl_load=no
    10588 fi
    10589 
    10590 rm -rf conftest.dSYM
    10591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10592       conftest$ac_exeext conftest.$ac_ext
     6006  ac_cv_lib_dld_shl_load=no
     6007fi
     6008rm -f core conftest.err conftest.$ac_objext \
     6009    conftest$ac_exeext conftest.$ac_ext
    105936010LIBS=$ac_check_lib_save_LIBS
    105946011fi
    10595 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     6012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    105966013$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10597 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     6014if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    105986015  tcl_ok=yes
    105996016else
     
    106746091            if test "$do64bit" = "yes" ; then
    106756092                if test "$GCC" = "yes" ; then
    10676                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     6093                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    106776094$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    106786095                else
     
    107036120                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    107046121            else
    10705                 if test "${ac_cv_header_dld_h+set}" = set; then
    10706   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10707 $as_echo_n "checking for dld.h... " >&6; }
    10708 if test "${ac_cv_header_dld_h+set}" = set; then
    10709   $as_echo_n "(cached) " >&6
    10710 fi
    10711 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10712 $as_echo "$ac_cv_header_dld_h" >&6; }
    10713 else
    10714   # Is the header compilable?
    10715 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    10716 $as_echo_n "checking dld.h usability... " >&6; }
    10717 cat >conftest.$ac_ext <<_ACEOF
    10718 /* confdefs.h.  */
    10719 _ACEOF
    10720 cat confdefs.h >>conftest.$ac_ext
    10721 cat >>conftest.$ac_ext <<_ACEOF
    10722 /* end confdefs.h.  */
    10723 $ac_includes_default
    10724 #include <dld.h>
    10725 _ACEOF
    10726 rm -f conftest.$ac_objext
    10727 if { (ac_try="$ac_compile"
    10728 case "(($ac_try" in
    10729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10730   *) ac_try_echo=$ac_try;;
    10731 esac
    10732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10733 $as_echo "$ac_try_echo") >&5
    10734   (eval "$ac_compile") 2>conftest.er1
    10735   ac_status=$?
    10736   grep -v '^ *+' conftest.er1 >conftest.err
    10737   rm -f conftest.er1
    10738   cat conftest.err >&5
    10739   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10740   (exit $ac_status); } && {
    10741          test -z "$ac_cxx_werror_flag" ||
    10742          test ! -s conftest.err
    10743        } && test -s conftest.$ac_objext; then
    10744   ac_header_compiler=yes
    10745 else
    10746   $as_echo "$as_me: failed program was:" >&5
    10747 sed 's/^/| /' conftest.$ac_ext >&5
    10748 
    10749         ac_header_compiler=no
    10750 fi
    10751 
    10752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10753 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10754 $as_echo "$ac_header_compiler" >&6; }
    10755 
    10756 # Is the header present?
    10757 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    10758 $as_echo_n "checking dld.h presence... " >&6; }
    10759 cat >conftest.$ac_ext <<_ACEOF
    10760 /* confdefs.h.  */
    10761 _ACEOF
    10762 cat confdefs.h >>conftest.$ac_ext
    10763 cat >>conftest.$ac_ext <<_ACEOF
    10764 /* end confdefs.h.  */
    10765 #include <dld.h>
    10766 _ACEOF
    10767 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10768 case "(($ac_try" in
    10769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10770   *) ac_try_echo=$ac_try;;
    10771 esac
    10772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10773 $as_echo "$ac_try_echo") >&5
    10774   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10775   ac_status=$?
    10776   grep -v '^ *+' conftest.er1 >conftest.err
    10777   rm -f conftest.er1
    10778   cat conftest.err >&5
    10779   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10780   (exit $ac_status); } >/dev/null && {
    10781          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10782          test ! -s conftest.err
    10783        }; then
    10784   ac_header_preproc=yes
    10785 else
    10786   $as_echo "$as_me: failed program was:" >&5
    10787 sed 's/^/| /' conftest.$ac_ext >&5
    10788 
    10789   ac_header_preproc=no
    10790 fi
    10791 
    10792 rm -f conftest.err conftest.$ac_ext
    10793 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10794 $as_echo "$ac_header_preproc" >&6; }
    10795 
    10796 # So?  What about this header?
    10797 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10798   yes:no: )
    10799     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    10800 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10801     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    10802 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    10803     ac_header_preproc=yes
    10804     ;;
    10805   no:yes:* )
    10806     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    10807 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    10808     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    10809 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    10810     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    10811 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    10812     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    10813 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    10814     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    10815 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    10816     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    10817 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    10818     ( cat <<\_ASBOX
    10819 ## ----------------------------------- ##
    10820 ## Report this to rappture@nanohub.org ##
    10821 ## ----------------------------------- ##
    10822 _ASBOX
    10823      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10824     ;;
    10825 esac
    10826 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10827 $as_echo_n "checking for dld.h... " >&6; }
    10828 if test "${ac_cv_header_dld_h+set}" = set; then
    10829   $as_echo_n "(cached) " >&6
    10830 else
    10831   ac_cv_header_dld_h=$ac_header_preproc
    10832 fi
    10833 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10834 $as_echo "$ac_cv_header_dld_h" >&6; }
    10835 
    10836 fi
    10837 if test "x$ac_cv_header_dld_h" = x""yes; then
     6122                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     6123if test "x$ac_cv_header_dld_h" = xyes; then :
    108386124
    108396125                    SHLIB_LD="ld -shared"
     
    108506136            fi
    108516137            if test $do64bit = yes; then
    10852                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     6138                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    108536139$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    10854 if test "${tcl_cv_cc_m64+set}" = set; then
     6140if ${tcl_cv_cc_m64+:} false; then :
    108556141  $as_echo_n "(cached) " >&6
    108566142else
     
    108586144                    hold_cflags=$CFLAGS
    108596145                    CFLAGS="$CFLAGS -m64"
    10860                     cat >conftest.$ac_ext <<_ACEOF
    10861 /* confdefs.h.  */
    10862 _ACEOF
    10863 cat confdefs.h >>conftest.$ac_ext
    10864 cat >>conftest.$ac_ext <<_ACEOF
     6146                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108656147/* end confdefs.h.  */
    108666148
     
    108736155}
    108746156_ACEOF
    10875 rm -f conftest.$ac_objext conftest$ac_exeext
    10876 if { (ac_try="$ac_link"
    10877 case "(($ac_try" in
    10878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10879   *) ac_try_echo=$ac_try;;
    10880 esac
    10881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10882 $as_echo "$ac_try_echo") >&5
    10883   (eval "$ac_link") 2>conftest.er1
    10884   ac_status=$?
    10885   grep -v '^ *+' conftest.er1 >conftest.err
    10886   rm -f conftest.er1
    10887   cat conftest.err >&5
    10888   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10889   (exit $ac_status); } && {
    10890          test -z "$ac_cxx_werror_flag" ||
    10891          test ! -s conftest.err
    10892        } && test -s conftest$ac_exeext && {
    10893          test "$cross_compiling" = yes ||
    10894          $as_test_x conftest$ac_exeext
    10895        }; then
     6157if ac_fn_cxx_try_link "$LINENO"; then :
    108966158  tcl_cv_cc_m64=yes
    108976159else
    10898   $as_echo "$as_me: failed program was:" >&5
    10899 sed 's/^/| /' conftest.$ac_ext >&5
    10900 
    10901         tcl_cv_cc_m64=no
    10902 fi
    10903 
    10904 rm -rf conftest.dSYM
    10905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10906       conftest$ac_exeext conftest.$ac_ext
     6160  tcl_cv_cc_m64=no
     6161fi
     6162rm -f core conftest.err conftest.$ac_objext \
     6163    conftest$ac_exeext conftest.$ac_ext
    109076164                    CFLAGS=$hold_cflags
    109086165fi
    10909 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     6166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    109106167$as_echo "$tcl_cv_cc_m64" >&6; }
    109116168                if test $tcl_cv_cc_m64 = yes; then
     
    109276184
    109286185            # XIM peeking works under XFree86.
    10929             cat >>confdefs.h <<\_ACEOF
    10930 #define PEEK_XCLOSEIM 1
    10931 _ACEOF
     6186            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    109326187
    109336188
     
    109466201                LD_SEARCH_FLAGS=""
    109476202            else
    10948                 if test "${ac_cv_header_dld_h+set}" = set; then
    10949   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10950 $as_echo_n "checking for dld.h... " >&6; }
    10951 if test "${ac_cv_header_dld_h+set}" = set; then
    10952   $as_echo_n "(cached) " >&6
    10953 fi
    10954 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10955 $as_echo "$ac_cv_header_dld_h" >&6; }
    10956 else
    10957   # Is the header compilable?
    10958 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    10959 $as_echo_n "checking dld.h usability... " >&6; }
    10960 cat >conftest.$ac_ext <<_ACEOF
    10961 /* confdefs.h.  */
    10962 _ACEOF
    10963 cat confdefs.h >>conftest.$ac_ext
    10964 cat >>conftest.$ac_ext <<_ACEOF
    10965 /* end confdefs.h.  */
    10966 $ac_includes_default
    10967 #include <dld.h>
    10968 _ACEOF
    10969 rm -f conftest.$ac_objext
    10970 if { (ac_try="$ac_compile"
    10971 case "(($ac_try" in
    10972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10973   *) ac_try_echo=$ac_try;;
    10974 esac
    10975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10976 $as_echo "$ac_try_echo") >&5
    10977   (eval "$ac_compile") 2>conftest.er1
    10978   ac_status=$?
    10979   grep -v '^ *+' conftest.er1 >conftest.err
    10980   rm -f conftest.er1
    10981   cat conftest.err >&5
    10982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10983   (exit $ac_status); } && {
    10984          test -z "$ac_cxx_werror_flag" ||
    10985          test ! -s conftest.err
    10986        } && test -s conftest.$ac_objext; then
    10987   ac_header_compiler=yes
    10988 else
    10989   $as_echo "$as_me: failed program was:" >&5
    10990 sed 's/^/| /' conftest.$ac_ext >&5
    10991 
    10992         ac_header_compiler=no
    10993 fi
    10994 
    10995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10996 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10997 $as_echo "$ac_header_compiler" >&6; }
    10998 
    10999 # Is the header present?
    11000 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    11001 $as_echo_n "checking dld.h presence... " >&6; }
    11002 cat >conftest.$ac_ext <<_ACEOF
    11003 /* confdefs.h.  */
    11004 _ACEOF
    11005 cat confdefs.h >>conftest.$ac_ext
    11006 cat >>conftest.$ac_ext <<_ACEOF
    11007 /* end confdefs.h.  */
    11008 #include <dld.h>
    11009 _ACEOF
    11010 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11011 case "(($ac_try" in
    11012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11013   *) ac_try_echo=$ac_try;;
    11014 esac
    11015 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11016 $as_echo "$ac_try_echo") >&5
    11017   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11018   ac_status=$?
    11019   grep -v '^ *+' conftest.er1 >conftest.err
    11020   rm -f conftest.er1
    11021   cat conftest.err >&5
    11022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11023   (exit $ac_status); } >/dev/null && {
    11024          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11025          test ! -s conftest.err
    11026        }; then
    11027   ac_header_preproc=yes
    11028 else
    11029   $as_echo "$as_me: failed program was:" >&5
    11030 sed 's/^/| /' conftest.$ac_ext >&5
    11031 
    11032   ac_header_preproc=no
    11033 fi
    11034 
    11035 rm -f conftest.err conftest.$ac_ext
    11036 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11037 $as_echo "$ac_header_preproc" >&6; }
    11038 
    11039 # So?  What about this header?
    11040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11041   yes:no: )
    11042     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11043 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11044     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    11045 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    11046     ac_header_preproc=yes
    11047     ;;
    11048   no:yes:* )
    11049     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    11050 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    11051     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    11052 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    11053     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    11054 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    11055     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    11056 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11057     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    11058 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    11059     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    11060 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    11061     ( cat <<\_ASBOX
    11062 ## ----------------------------------- ##
    11063 ## Report this to rappture@nanohub.org ##
    11064 ## ----------------------------------- ##
    11065 _ASBOX
    11066      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11067     ;;
    11068 esac
    11069 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    11070 $as_echo_n "checking for dld.h... " >&6; }
    11071 if test "${ac_cv_header_dld_h+set}" = set; then
    11072   $as_echo_n "(cached) " >&6
    11073 else
    11074   ac_cv_header_dld_h=$ac_header_preproc
    11075 fi
    11076 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    11077 $as_echo "$ac_cv_header_dld_h" >&6; }
    11078 
    11079 fi
    11080 if test "x$ac_cv_header_dld_h" = x""yes; then
     6203                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     6204if test "x$ac_cv_header_dld_h" = xyes; then :
    110816205
    110826206                    SHLIB_LD="ld -shared"
     
    111286252        NetBSD-*|FreeBSD-[1-2].*)
    111296253            # Not available on all versions:  check for include file.
    11130             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11131   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    11132 $as_echo_n "checking for dlfcn.h... " >&6; }
    11133 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11134   $as_echo_n "(cached) " >&6
    11135 fi
    11136 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    11137 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    11138 else
    11139   # Is the header compilable?
    11140 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    11141 $as_echo_n "checking dlfcn.h usability... " >&6; }
    11142 cat >conftest.$ac_ext <<_ACEOF
    11143 /* confdefs.h.  */
    11144 _ACEOF
    11145 cat confdefs.h >>conftest.$ac_ext
    11146 cat >>conftest.$ac_ext <<_ACEOF
    11147 /* end confdefs.h.  */
    11148 $ac_includes_default
    11149 #include <dlfcn.h>
    11150 _ACEOF
    11151 rm -f conftest.$ac_objext
    11152 if { (ac_try="$ac_compile"
    11153 case "(($ac_try" in
    11154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11155   *) ac_try_echo=$ac_try;;
    11156 esac
    11157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11158 $as_echo "$ac_try_echo") >&5
    11159   (eval "$ac_compile") 2>conftest.er1
    11160   ac_status=$?
    11161   grep -v '^ *+' conftest.er1 >conftest.err
    11162   rm -f conftest.er1
    11163   cat conftest.err >&5
    11164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11165   (exit $ac_status); } && {
    11166          test -z "$ac_cxx_werror_flag" ||
    11167          test ! -s conftest.err
    11168        } && test -s conftest.$ac_objext; then
    11169   ac_header_compiler=yes
    11170 else
    11171   $as_echo "$as_me: failed program was:" >&5
    11172 sed 's/^/| /' conftest.$ac_ext >&5
    11173 
    11174         ac_header_compiler=no
    11175 fi
    11176 
    11177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11178 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11179 $as_echo "$ac_header_compiler" >&6; }
    11180 
    11181 # Is the header present?
    11182 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    11183 $as_echo_n "checking dlfcn.h presence... " >&6; }
    11184 cat >conftest.$ac_ext <<_ACEOF
    11185 /* confdefs.h.  */
    11186 _ACEOF
    11187 cat confdefs.h >>conftest.$ac_ext
    11188 cat >>conftest.$ac_ext <<_ACEOF
    11189 /* end confdefs.h.  */
    11190 #include <dlfcn.h>
    11191 _ACEOF
    11192 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11193 case "(($ac_try" in
    11194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11195   *) ac_try_echo=$ac_try;;
    11196 esac
    11197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11198 $as_echo "$ac_try_echo") >&5
    11199   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11200   ac_status=$?
    11201   grep -v '^ *+' conftest.er1 >conftest.err
    11202   rm -f conftest.er1
    11203   cat conftest.err >&5
    11204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11205   (exit $ac_status); } >/dev/null && {
    11206          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11207          test ! -s conftest.err
    11208        }; then
    11209   ac_header_preproc=yes
    11210 else
    11211   $as_echo "$as_me: failed program was:" >&5
    11212 sed 's/^/| /' conftest.$ac_ext >&5
    11213 
    11214   ac_header_preproc=no
    11215 fi
    11216 
    11217 rm -f conftest.err conftest.$ac_ext
    11218 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11219 $as_echo "$ac_header_preproc" >&6; }
    11220 
    11221 # So?  What about this header?
    11222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11223   yes:no: )
    11224     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11225 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11226     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    11227 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    11228     ac_header_preproc=yes
    11229     ;;
    11230   no:yes:* )
    11231     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    11232 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    11233     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    11234 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    11235     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    11236 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    11237     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    11238 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11239     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    11240 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    11241     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    11242 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    11243     ( cat <<\_ASBOX
    11244 ## ----------------------------------- ##
    11245 ## Report this to rappture@nanohub.org ##
    11246 ## ----------------------------------- ##
    11247 _ASBOX
    11248      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11249     ;;
    11250 esac
    11251 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    11252 $as_echo_n "checking for dlfcn.h... " >&6; }
    11253 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11254   $as_echo_n "(cached) " >&6
    11255 else
    11256   ac_cv_header_dlfcn_h=$ac_header_preproc
    11257 fi
    11258 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    11259 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    11260 
    11261 fi
    11262 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     6254            ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     6255if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    112636256
    112646257                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    112716264                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    112726265                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    11273                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     6266                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    112746267$as_echo_n "checking for ELF... " >&6; }
    11275 if test "${tcl_cv_ld_elf+set}" = set; then
     6268if ${tcl_cv_ld_elf+:} false; then :
    112766269  $as_echo_n "(cached) " >&6
    112776270else
    112786271
    11279                     cat >conftest.$ac_ext <<_ACEOF
    11280 /* confdefs.h.  */
    11281 _ACEOF
    11282 cat confdefs.h >>conftest.$ac_ext
    11283 cat >>conftest.$ac_ext <<_ACEOF
     6272                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    112846273/* end confdefs.h.  */
    112856274
     
    112906279_ACEOF
    112916280if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    11292   $EGREP "yes" >/dev/null 2>&1; then
     6281  $EGREP "yes" >/dev/null 2>&1; then :
    112936282  tcl_cv_ld_elf=yes
    112946283else
     
    112986287
    112996288fi
    11300 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     6289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    113016290$as_echo "$tcl_cv_ld_elf" >&6; }
    113026291                if test $tcl_cv_ld_elf = yes; then
     
    113576346                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    113586347                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    11359                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     6348                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    113606349$as_echo_n "checking for ELF... " >&6; }
    11361 if test "${tcl_cv_ld_elf+set}" = set; then
     6350if ${tcl_cv_ld_elf+:} false; then :
    113626351  $as_echo_n "(cached) " >&6
    113636352else
    113646353
    11365                     cat >conftest.$ac_ext <<_ACEOF
    11366 /* confdefs.h.  */
    11367 _ACEOF
    11368 cat confdefs.h >>conftest.$ac_ext
    11369 cat >>conftest.$ac_ext <<_ACEOF
     6354                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    113706355/* end confdefs.h.  */
    113716356
     
    113766361_ACEOF
    113776362if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    11378   $EGREP "yes" >/dev/null 2>&1; then
     6363  $EGREP "yes" >/dev/null 2>&1; then :
    113796364  tcl_cv_ld_elf=yes
    113806365else
     
    113846369
    113856370fi
    11386 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     6371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    113876372$as_echo "$tcl_cv_ld_elf" >&6; }
    113886373                if test $tcl_cv_ld_elf = yes; then
     
    114396424                case `arch` in
    114406425                    ppc)
    11441                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     6426                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    114426427$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    11443 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     6428if ${tcl_cv_cc_arch_ppc64+:} false; then :
    114446429  $as_echo_n "(cached) " >&6
    114456430else
     
    114476432                            hold_cflags=$CFLAGS
    114486433                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    11449                             cat >conftest.$ac_ext <<_ACEOF
    11450 /* confdefs.h.  */
    11451 _ACEOF
    11452 cat confdefs.h >>conftest.$ac_ext
    11453 cat >>conftest.$ac_ext <<_ACEOF
     6434                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114546435/* end confdefs.h.  */
    114556436
     
    114626443}
    114636444_ACEOF
    11464 rm -f conftest.$ac_objext conftest$ac_exeext
    11465 if { (ac_try="$ac_link"
    11466 case "(($ac_try" in
    11467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11468   *) ac_try_echo=$ac_try;;
    11469 esac
    11470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11471 $as_echo "$ac_try_echo") >&5
    11472   (eval "$ac_link") 2>conftest.er1
    11473   ac_status=$?
    11474   grep -v '^ *+' conftest.er1 >conftest.err
    11475   rm -f conftest.er1
    11476   cat conftest.err >&5
    11477   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11478   (exit $ac_status); } && {
    11479          test -z "$ac_cxx_werror_flag" ||
    11480          test ! -s conftest.err
    11481        } && test -s conftest$ac_exeext && {
    11482          test "$cross_compiling" = yes ||
    11483          $as_test_x conftest$ac_exeext
    11484        }; then
     6445if ac_fn_cxx_try_link "$LINENO"; then :
    114856446  tcl_cv_cc_arch_ppc64=yes
    114866447else
    11487   $as_echo "$as_me: failed program was:" >&5
    11488 sed 's/^/| /' conftest.$ac_ext >&5
    11489 
    11490         tcl_cv_cc_arch_ppc64=no
    11491 fi
    11492 
    11493 rm -rf conftest.dSYM
    11494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11495       conftest$ac_exeext conftest.$ac_ext
     6448  tcl_cv_cc_arch_ppc64=no
     6449fi
     6450rm -f core conftest.err conftest.$ac_objext \
     6451    conftest$ac_exeext conftest.$ac_ext
    114966452                            CFLAGS=$hold_cflags
    114976453fi
    11498 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     6454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    114996455$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    115006456                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    115036459                        fi;;
    115046460                    i386)
    11505                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     6461                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    115066462$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    11507 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     6463if ${tcl_cv_cc_arch_x86_64+:} false; then :
    115086464  $as_echo_n "(cached) " >&6
    115096465else
     
    115116467                            hold_cflags=$CFLAGS
    115126468                            CFLAGS="$CFLAGS -arch x86_64"
    11513                             cat >conftest.$ac_ext <<_ACEOF
    11514 /* confdefs.h.  */
    11515 _ACEOF
    11516 cat confdefs.h >>conftest.$ac_ext
    11517 cat >>conftest.$ac_ext <<_ACEOF
     6469                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115186470/* end confdefs.h.  */
    115196471
     
    115266478}
    115276479_ACEOF
    11528 rm -f conftest.$ac_objext conftest$ac_exeext
    11529 if { (ac_try="$ac_link"
    11530 case "(($ac_try" in
    11531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11532   *) ac_try_echo=$ac_try;;
    11533 esac
    11534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11535 $as_echo "$ac_try_echo") >&5
    11536   (eval "$ac_link") 2>conftest.er1
    11537   ac_status=$?
    11538   grep -v '^ *+' conftest.er1 >conftest.err
    11539   rm -f conftest.er1
    11540   cat conftest.err >&5
    11541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11542   (exit $ac_status); } && {
    11543          test -z "$ac_cxx_werror_flag" ||
    11544          test ! -s conftest.err
    11545        } && test -s conftest$ac_exeext && {
    11546          test "$cross_compiling" = yes ||
    11547          $as_test_x conftest$ac_exeext
    11548        }; then
     6480if ac_fn_cxx_try_link "$LINENO"; then :
    115496481  tcl_cv_cc_arch_x86_64=yes
    115506482else
    11551   $as_echo "$as_me: failed program was:" >&5
    11552 sed 's/^/| /' conftest.$ac_ext >&5
    11553 
    11554         tcl_cv_cc_arch_x86_64=no
    11555 fi
    11556 
    11557 rm -rf conftest.dSYM
    11558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11559       conftest$ac_exeext conftest.$ac_ext
     6483  tcl_cv_cc_arch_x86_64=no
     6484fi
     6485rm -f core conftest.err conftest.$ac_objext \
     6486    conftest$ac_exeext conftest.$ac_ext
    115606487                            CFLAGS=$hold_cflags
    115616488fi
    11562 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     6489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    115636490$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    115646491                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    115676494                        fi;;
    115686495                    *)
    11569                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     6496                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    115706497$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    115716498                esac
     
    115776504            fi
    115786505            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    11579             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     6506            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    115806507$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    11581 if test "${tcl_cv_ld_single_module+set}" = set; then
     6508if ${tcl_cv_ld_single_module+:} false; then :
    115826509  $as_echo_n "(cached) " >&6
    115836510else
     
    115856512                hold_ldflags=$LDFLAGS
    115866513                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    11587                 cat >conftest.$ac_ext <<_ACEOF
    11588 /* confdefs.h.  */
    11589 _ACEOF
    11590 cat confdefs.h >>conftest.$ac_ext
    11591 cat >>conftest.$ac_ext <<_ACEOF
     6514                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115926515/* end confdefs.h.  */
    115936516
     
    116006523}
    116016524_ACEOF
    11602 rm -f conftest.$ac_objext conftest$ac_exeext
    11603 if { (ac_try="$ac_link"
    11604 case "(($ac_try" in
    11605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11606   *) ac_try_echo=$ac_try;;
    11607 esac
    11608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11609 $as_echo "$ac_try_echo") >&5
    11610   (eval "$ac_link") 2>conftest.er1
    11611   ac_status=$?
    11612   grep -v '^ *+' conftest.er1 >conftest.err
    11613   rm -f conftest.er1
    11614   cat conftest.err >&5
    11615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11616   (exit $ac_status); } && {
    11617          test -z "$ac_cxx_werror_flag" ||
    11618          test ! -s conftest.err
    11619        } && test -s conftest$ac_exeext && {
    11620          test "$cross_compiling" = yes ||
    11621          $as_test_x conftest$ac_exeext
    11622        }; then
     6525if ac_fn_cxx_try_link "$LINENO"; then :
    116236526  tcl_cv_ld_single_module=yes
    116246527else
    11625   $as_echo "$as_me: failed program was:" >&5
    11626 sed 's/^/| /' conftest.$ac_ext >&5
    11627 
    11628         tcl_cv_ld_single_module=no
    11629 fi
    11630 
    11631 rm -rf conftest.dSYM
    11632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11633       conftest$ac_exeext conftest.$ac_ext
     6528  tcl_cv_ld_single_module=no
     6529fi
     6530rm -f core conftest.err conftest.$ac_objext \
     6531    conftest$ac_exeext conftest.$ac_ext
    116346532                LDFLAGS=$hold_ldflags
    116356533fi
    11636 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     6534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    116376535$as_echo "$tcl_cv_ld_single_module" >&6; }
    116386536            if test $tcl_cv_ld_single_module = yes; then
     
    116486546                LDFLAGS="$LDFLAGS -prebind"
    116496547            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    11650             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     6548            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    116516549$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    11652 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     6550if ${tcl_cv_ld_search_paths_first+:} false; then :
    116536551  $as_echo_n "(cached) " >&6
    116546552else
     
    116566554                hold_ldflags=$LDFLAGS
    116576555                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    11658                 cat >conftest.$ac_ext <<_ACEOF
    11659 /* confdefs.h.  */
    11660 _ACEOF
    11661 cat confdefs.h >>conftest.$ac_ext
    11662 cat >>conftest.$ac_ext <<_ACEOF
     6556                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116636557/* end confdefs.h.  */
    116646558
     
    116716565}
    116726566_ACEOF
    11673 rm -f conftest.$ac_objext conftest$ac_exeext
    11674 if { (ac_try="$ac_link"
    11675 case "(($ac_try" in
    11676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11677   *) ac_try_echo=$ac_try;;
    11678 esac
    11679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11680 $as_echo "$ac_try_echo") >&5
    11681   (eval "$ac_link") 2>conftest.er1
    11682   ac_status=$?
    11683   grep -v '^ *+' conftest.er1 >conftest.err
    11684   rm -f conftest.er1
    11685   cat conftest.err >&5
    11686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11687   (exit $ac_status); } && {
    11688          test -z "$ac_cxx_werror_flag" ||
    11689          test ! -s conftest.err
    11690        } && test -s conftest$ac_exeext && {
    11691          test "$cross_compiling" = yes ||
    11692          $as_test_x conftest$ac_exeext
    11693        }; then
     6567if ac_fn_cxx_try_link "$LINENO"; then :
    116946568  tcl_cv_ld_search_paths_first=yes
    116956569else
    11696   $as_echo "$as_me: failed program was:" >&5
    11697 sed 's/^/| /' conftest.$ac_ext >&5
    11698 
    11699         tcl_cv_ld_search_paths_first=no
    11700 fi
    11701 
    11702 rm -rf conftest.dSYM
    11703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11704       conftest$ac_exeext conftest.$ac_ext
     6570  tcl_cv_ld_search_paths_first=no
     6571fi
     6572rm -f core conftest.err conftest.$ac_objext \
     6573    conftest$ac_exeext conftest.$ac_ext
    117056574                LDFLAGS=$hold_ldflags
    117066575fi
    11707 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     6576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    117086577$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    117096578            if test $tcl_cv_ld_search_paths_first = yes; then
     
    117156584            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    117166585            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    11717             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     6586            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    117186587$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    117196588            # Check whether --enable-corefoundation was given.
    11720 if test "${enable_corefoundation+set}" = set; then
     6589if test "${enable_corefoundation+set}" = set; then :
    117216590  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    117226591else
     
    117246593fi
    117256594
    11726             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     6595            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    117276596$as_echo "$tcl_corefoundation" >&6; }
    117286597            if test $tcl_corefoundation = yes; then
    11729                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     6598                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    117306599$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    11731 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     6600if ${tcl_cv_lib_corefoundation+:} false; then :
    117326601  $as_echo_n "(cached) " >&6
    117336602else
     
    117416610                    done; fi
    117426611                    LIBS="$LIBS -framework CoreFoundation"
    11743                     cat >conftest.$ac_ext <<_ACEOF
    11744 /* confdefs.h.  */
    11745 _ACEOF
    11746 cat confdefs.h >>conftest.$ac_ext
    11747 cat >>conftest.$ac_ext <<_ACEOF
     6612                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117486613/* end confdefs.h.  */
    117496614#include <CoreFoundation/CoreFoundation.h>
     
    117566621}
    117576622_ACEOF
    11758 rm -f conftest.$ac_objext conftest$ac_exeext
    11759 if { (ac_try="$ac_link"
    11760 case "(($ac_try" in
    11761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11762   *) ac_try_echo=$ac_try;;
    11763 esac
    11764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11765 $as_echo "$ac_try_echo") >&5
    11766   (eval "$ac_link") 2>conftest.er1
    11767   ac_status=$?
    11768   grep -v '^ *+' conftest.er1 >conftest.err
    11769   rm -f conftest.er1
    11770   cat conftest.err >&5
    11771   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11772   (exit $ac_status); } && {
    11773          test -z "$ac_cxx_werror_flag" ||
    11774          test ! -s conftest.err
    11775        } && test -s conftest$ac_exeext && {
    11776          test "$cross_compiling" = yes ||
    11777          $as_test_x conftest$ac_exeext
    11778        }; then
     6623if ac_fn_cxx_try_link "$LINENO"; then :
    117796624  tcl_cv_lib_corefoundation=yes
    117806625else
    11781   $as_echo "$as_me: failed program was:" >&5
    11782 sed 's/^/| /' conftest.$ac_ext >&5
    11783 
    11784         tcl_cv_lib_corefoundation=no
    11785 fi
    11786 
    11787 rm -rf conftest.dSYM
    11788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11789       conftest$ac_exeext conftest.$ac_ext
     6626  tcl_cv_lib_corefoundation=no
     6627fi
     6628rm -f core conftest.err conftest.$ac_objext \
     6629    conftest$ac_exeext conftest.$ac_ext
    117906630                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    117916631                        eval $v'="$hold_'$v'"'
    117926632                    done; fi; LIBS=$hold_libs
    117936633fi
    11794 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     6634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    117956635$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    117966636                if test $tcl_cv_lib_corefoundation = yes; then
    117976637                    LIBS="$LIBS -framework CoreFoundation"
    11798                     cat >>confdefs.h <<\_ACEOF
    11799 #define HAVE_COREFOUNDATION 1
    11800 _ACEOF
     6638                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    118016639
    118026640                else
     
    118046642                fi
    118056643                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    11806                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     6644                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    118076645$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    11808 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     6646if ${tcl_cv_lib_corefoundation_64+:} false; then :
    118096647  $as_echo_n "(cached) " >&6
    118106648else
     
    118136651                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    118146652                        done
    11815                         cat >conftest.$ac_ext <<_ACEOF
    11816 /* confdefs.h.  */
    11817 _ACEOF
    11818 cat confdefs.h >>conftest.$ac_ext
    11819 cat >>conftest.$ac_ext <<_ACEOF
     6653                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    118206654/* end confdefs.h.  */
    118216655#include <CoreFoundation/CoreFoundation.h>
     
    118286662}
    118296663_ACEOF
    11830 rm -f conftest.$ac_objext conftest$ac_exeext
    11831 if { (ac_try="$ac_link"
    11832 case "(($ac_try" in
    11833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11834   *) ac_try_echo=$ac_try;;
    11835 esac
    11836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11837 $as_echo "$ac_try_echo") >&5
    11838   (eval "$ac_link") 2>conftest.er1
    11839   ac_status=$?
    11840   grep -v '^ *+' conftest.er1 >conftest.err
    11841   rm -f conftest.er1
    11842   cat conftest.err >&5
    11843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11844   (exit $ac_status); } && {
    11845          test -z "$ac_cxx_werror_flag" ||
    11846          test ! -s conftest.err
    11847        } && test -s conftest$ac_exeext && {
    11848          test "$cross_compiling" = yes ||
    11849          $as_test_x conftest$ac_exeext
    11850        }; then
     6664if ac_fn_cxx_try_link "$LINENO"; then :
    118516665  tcl_cv_lib_corefoundation_64=yes
    118526666else
    11853   $as_echo "$as_me: failed program was:" >&5
    11854 sed 's/^/| /' conftest.$ac_ext >&5
    11855 
    11856         tcl_cv_lib_corefoundation_64=no
    11857 fi
    11858 
    11859 rm -rf conftest.dSYM
    11860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11861       conftest$ac_exeext conftest.$ac_ext
     6667  tcl_cv_lib_corefoundation_64=no
     6668fi
     6669rm -f core conftest.err conftest.$ac_objext \
     6670    conftest$ac_exeext conftest.$ac_ext
    118626671                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    118636672                            eval $v'="$hold_'$v'"'
    118646673                        done
    118656674fi
    11866 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     6675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    118676676$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    118686677                    if test $tcl_cv_lib_corefoundation_64 = no; then
    11869                         cat >>confdefs.h <<\_ACEOF
    11870 #define NO_COREFOUNDATION_64 1
    11871 _ACEOF
     6678                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    118726679
    118736680                    fi
    118746681                fi
    118756682            fi
    11876             cat >>confdefs.h <<\_ACEOF
    11877 #define MAC_OSX_TCL 1
    11878 _ACEOF
     6683            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    118796684
    118806685            ;;
     
    118916696        OS/390-*)
    118926697            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    11893             cat >>confdefs.h <<\_ACEOF
    11894 #define _OE_SOCKETS 1
    11895 _ACEOF
     6698            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    118966699        # needed in sys/socket.h
    118976700            ;;
     
    120346837            # won't define thread-safe library routines.
    120356838
    12036             cat >>confdefs.h <<\_ACEOF
    12037 #define _REENTRANT 1
    12038 _ACEOF
    12039 
    12040             cat >>confdefs.h <<\_ACEOF
    12041 #define _POSIX_PTHREAD_SEMANTICS 1
    12042 _ACEOF
     6839            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6840
     6841            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    120436842
    120446843
     
    120666865            # won't define thread-safe library routines.
    120676866
    12068             cat >>confdefs.h <<\_ACEOF
    12069 #define _REENTRANT 1
    12070 _ACEOF
    12071 
    12072             cat >>confdefs.h <<\_ACEOF
    12073 #define _POSIX_PTHREAD_SEMANTICS 1
    12074 _ACEOF
     6867            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6868
     6869            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    120756870
    120766871
     
    120836878                        if test "$GCC" = "yes" ; then
    120846879                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    12085                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     6880                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    120866881$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    120876882                            else
     
    121056900                elif test "$arch" = "amd64 i386" ; then
    121066901                    if test "$GCC" = "yes" ; then
    12107                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     6902                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    121086903$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    121096904                    else
     
    121136908                    fi
    121146909                else
    12115                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     6910                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    121166911$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    121176912                fi
     
    121726967            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    121736968            # that don't grok the -Bexport option.  Test that it does.
    12174             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     6969            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    121756970$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    12176 if test "${tcl_cv_ld_Bexport+set}" = set; then
     6971if ${tcl_cv_ld_Bexport+:} false; then :
    121776972  $as_echo_n "(cached) " >&6
    121786973else
     
    121806975                hold_ldflags=$LDFLAGS
    121816976                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    12182                 cat >conftest.$ac_ext <<_ACEOF
    12183 /* confdefs.h.  */
    12184 _ACEOF
    12185 cat confdefs.h >>conftest.$ac_ext
    12186 cat >>conftest.$ac_ext <<_ACEOF
     6977                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    121876978/* end confdefs.h.  */
    121886979
     
    121956986}
    121966987_ACEOF
    12197 rm -f conftest.$ac_objext conftest$ac_exeext
    12198 if { (ac_try="$ac_link"
    12199 case "(($ac_try" in
    12200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12201   *) ac_try_echo=$ac_try;;
    12202 esac
    12203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12204 $as_echo "$ac_try_echo") >&5
    12205   (eval "$ac_link") 2>conftest.er1
    12206   ac_status=$?
    12207   grep -v '^ *+' conftest.er1 >conftest.err
    12208   rm -f conftest.er1
    12209   cat conftest.err >&5
    12210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12211   (exit $ac_status); } && {
    12212          test -z "$ac_cxx_werror_flag" ||
    12213          test ! -s conftest.err
    12214        } && test -s conftest$ac_exeext && {
    12215          test "$cross_compiling" = yes ||
    12216          $as_test_x conftest$ac_exeext
    12217        }; then
     6988if ac_fn_cxx_try_link "$LINENO"; then :
    122186989  tcl_cv_ld_Bexport=yes
    122196990else
    12220   $as_echo "$as_me: failed program was:" >&5
    12221 sed 's/^/| /' conftest.$ac_ext >&5
    12222 
    12223         tcl_cv_ld_Bexport=no
    12224 fi
    12225 
    12226 rm -rf conftest.dSYM
    12227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12228       conftest$ac_exeext conftest.$ac_ext
     6991  tcl_cv_ld_Bexport=no
     6992fi
     6993rm -f core conftest.err conftest.$ac_objext \
     6994    conftest$ac_exeext conftest.$ac_ext
    122296995                LDFLAGS=$hold_ldflags
    122306996fi
    12231 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     6997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    122326998$as_echo "$tcl_cv_ld_Bexport" >&6; }
    122336999            if test $tcl_cv_ld_Bexport = yes; then
     
    122407006
    122417007    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    12242         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     7008        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    122437009$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    122447010    fi
     
    122677033
    122687034    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    12269         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     7035        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    122707036$as_echo_n "checking sys/exec.h... " >&6; }
    12271 if test "${tcl_cv_sysexec_h+set}" = set; then
     7037if ${tcl_cv_sysexec_h+:} false; then :
    122727038  $as_echo_n "(cached) " >&6
    122737039else
    122747040
    12275         cat >conftest.$ac_ext <<_ACEOF
    12276 /* confdefs.h.  */
    12277 _ACEOF
    12278 cat confdefs.h >>conftest.$ac_ext
    12279 cat >>conftest.$ac_ext <<_ACEOF
     7041        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    122807042/* end confdefs.h.  */
    122817043#include <sys/exec.h>
     
    122997061}
    123007062_ACEOF
    12301 rm -f conftest.$ac_objext
    12302 if { (ac_try="$ac_compile"
    12303 case "(($ac_try" in
    12304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12305   *) ac_try_echo=$ac_try;;
    12306 esac
    12307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12308 $as_echo "$ac_try_echo") >&5
    12309   (eval "$ac_compile") 2>conftest.er1
    12310   ac_status=$?
    12311   grep -v '^ *+' conftest.er1 >conftest.err
    12312   rm -f conftest.er1
    12313   cat conftest.err >&5
    12314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12315   (exit $ac_status); } && {
    12316          test -z "$ac_cxx_werror_flag" ||
    12317          test ! -s conftest.err
    12318        } && test -s conftest.$ac_objext; then
     7063if ac_fn_cxx_try_compile "$LINENO"; then :
    123197064  tcl_cv_sysexec_h=usable
    123207065else
    12321   $as_echo "$as_me: failed program was:" >&5
    12322 sed 's/^/| /' conftest.$ac_ext >&5
    12323 
    12324         tcl_cv_sysexec_h=unusable
    12325 fi
    12326 
     7066  tcl_cv_sysexec_h=unusable
     7067fi
    123277068rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    123287069fi
    12329 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     7070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    123307071$as_echo "$tcl_cv_sysexec_h" >&6; }
    123317072        if test $tcl_cv_sysexec_h = usable; then
    12332             cat >>confdefs.h <<\_ACEOF
    12333 #define USE_SYS_EXEC_H 1
    12334 _ACEOF
     7073            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    123357074
    123367075        else
    12337             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     7076            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    123387077$as_echo_n "checking a.out.h... " >&6; }
    12339 if test "${tcl_cv_aout_h+set}" = set; then
     7078if ${tcl_cv_aout_h+:} false; then :
    123407079  $as_echo_n "(cached) " >&6
    123417080else
    123427081
    12343             cat >conftest.$ac_ext <<_ACEOF
    12344 /* confdefs.h.  */
    12345 _ACEOF
    12346 cat confdefs.h >>conftest.$ac_ext
    12347 cat >>conftest.$ac_ext <<_ACEOF
     7082            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    123487083/* end confdefs.h.  */
    123497084#include <a.out.h>
     
    123677102}
    123687103_ACEOF
    12369 rm -f conftest.$ac_objext
    12370 if { (ac_try="$ac_compile"
    12371 case "(($ac_try" in
    12372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12373   *) ac_try_echo=$ac_try;;
    12374 esac
    12375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12376 $as_echo "$ac_try_echo") >&5
    12377   (eval "$ac_compile") 2>conftest.er1
    12378   ac_status=$?
    12379   grep -v '^ *+' conftest.er1 >conftest.err
    12380   rm -f conftest.er1
    12381   cat conftest.err >&5
    12382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12383   (exit $ac_status); } && {
    12384          test -z "$ac_cxx_werror_flag" ||
    12385          test ! -s conftest.err
    12386        } && test -s conftest.$ac_objext; then
     7104if ac_fn_cxx_try_compile "$LINENO"; then :
    123877105  tcl_cv_aout_h=usable
    123887106else
    12389   $as_echo "$as_me: failed program was:" >&5
    12390 sed 's/^/| /' conftest.$ac_ext >&5
    12391 
    12392         tcl_cv_aout_h=unusable
    12393 fi
    12394 
     7107  tcl_cv_aout_h=unusable
     7108fi
    123957109rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    123967110fi
    12397 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     7111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    123987112$as_echo "$tcl_cv_aout_h" >&6; }
    123997113            if test $tcl_cv_aout_h = usable; then
    12400                 cat >>confdefs.h <<\_ACEOF
    12401 #define USE_A_OUT_H 1
    12402 _ACEOF
     7114                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    124037115
    124047116            else
    12405                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     7117                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    124067118$as_echo_n "checking sys/exec_aout.h... " >&6; }
    12407 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     7119if ${tcl_cv_sysexecaout_h+:} false; then :
    124087120  $as_echo_n "(cached) " >&6
    124097121else
    124107122
    12411                 cat >conftest.$ac_ext <<_ACEOF
    12412 /* confdefs.h.  */
    12413 _ACEOF
    12414 cat confdefs.h >>conftest.$ac_ext
    12415 cat >>conftest.$ac_ext <<_ACEOF
     7123                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    124167124/* end confdefs.h.  */
    124177125#include <sys/exec_aout.h>
     
    124357143}
    124367144_ACEOF
    12437 rm -f conftest.$ac_objext
    12438 if { (ac_try="$ac_compile"
    12439 case "(($ac_try" in
    12440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12441   *) ac_try_echo=$ac_try;;
    12442 esac
    12443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12444 $as_echo "$ac_try_echo") >&5
    12445   (eval "$ac_compile") 2>conftest.er1
    12446   ac_status=$?
    12447   grep -v '^ *+' conftest.er1 >conftest.err
    12448   rm -f conftest.er1
    12449   cat conftest.err >&5
    12450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12451   (exit $ac_status); } && {
    12452          test -z "$ac_cxx_werror_flag" ||
    12453          test ! -s conftest.err
    12454        } && test -s conftest.$ac_objext; then
     7145if ac_fn_cxx_try_compile "$LINENO"; then :
    124557146  tcl_cv_sysexecaout_h=usable
    124567147else
    12457   $as_echo "$as_me: failed program was:" >&5
    12458 sed 's/^/| /' conftest.$ac_ext >&5
    12459 
    12460         tcl_cv_sysexecaout_h=unusable
    12461 fi
    12462 
     7148  tcl_cv_sysexecaout_h=unusable
     7149fi
    124637150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    124647151fi
    12465 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     7152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    124667153$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    124677154                if test $tcl_cv_sysexecaout_h = usable; then
    12468                     cat >>confdefs.h <<\_ACEOF
    12469 #define USE_SYS_EXEC_AOUT_H 1
    12470 _ACEOF
     7155                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    124717156
    124727157                else
     
    124807165
    124817166    # Check whether --enable-load was given.
    12482 if test "${enable_load+set}" = set; then
     7167if test "${enable_load+set}" = set; then :
    124837168  enableval=$enable_load; tcl_ok=$enableval
    124847169else
     
    126117296done
    126127297if test "x${make_command}" = "x" ; then
    12613   { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5
    12614 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;}
    12615    { (exit 1); exit 1; }; }
     7298  as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
    126167299fi
    126177300
    126187301# Check whether --enable-gui was given.
    12619 if test "${enable_gui+set}" = set; then
     7302if test "${enable_gui+set}" = set; then :
    126207303  enableval=$enable_gui;
    126217304else
     
    126427325
    126437326# Check whether --with-ffmpeg was given.
    12644 if test "${with_ffmpeg+set}" = set; then
     7327if test "${with_ffmpeg+set}" = set; then :
    126457328  withval=$with_ffmpeg;
    126467329else
     
    126517334
    126527335# Check whether --with-tclsh was given.
    12653 if test "${with_tclsh+set}" = set; then
     7336if test "${with_tclsh+set}" = set; then :
    126547337  withval=$with_tclsh;
    126557338else
     
    126647347    # Extract the first word of "${tclsh}", so it can be a program name with args.
    126657348set dummy ${tclsh}; ac_word=$2
    12666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    126677350$as_echo_n "checking for $ac_word... " >&6; }
    12668 if test "${ac_cv_path_TCLSH+set}" = set; then
     7351if ${ac_cv_path_TCLSH+:} false; then :
    126697352  $as_echo_n "(cached) " >&6
    126707353else
     
    126807363  IFS=$as_save_IFS
    126817364  test -z "$as_dir" && as_dir=.
    12682   for ac_exec_ext in '' $ac_executable_extensions; do
    12683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7365    for ac_exec_ext in '' $ac_executable_extensions; do
     7366  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    126847367    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    12685     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    126867369    break 2
    126877370  fi
    126887371done
    12689 done
     7372  done
    126907373IFS=$as_save_IFS
    126917374
     
    126957378TCLSH=$ac_cv_path_TCLSH
    126967379if test -n "$TCLSH"; then
    12697   { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
     7380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    126987381$as_echo "$TCLSH" >&6; }
    126997382else
    12700   { $as_echo "$as_me:$LINENO: result: no" >&5
     7383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    127017384$as_echo "no" >&6; }
    127027385fi
     
    127067389    # Extract the first word of "${tclsh}", so it can be a program name with args.
    127077390set dummy ${tclsh}; ac_word=$2
    12708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    127097392$as_echo_n "checking for $ac_word... " >&6; }
    12710 if test "${ac_cv_path_TCLSH+set}" = set; then
     7393if ${ac_cv_path_TCLSH+:} false; then :
    127117394  $as_echo_n "(cached) " >&6
    127127395else
     
    127227405  IFS=$as_save_IFS
    127237406  test -z "$as_dir" && as_dir=.
    12724   for ac_exec_ext in '' $ac_executable_extensions; do
    12725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7407    for ac_exec_ext in '' $ac_executable_extensions; do
     7408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    127267409    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    12727     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    127287411    break 2
    127297412  fi
    127307413done
    12731 done
     7414  done
    127327415IFS=$as_save_IFS
    127337416
     
    127377420TCLSH=$ac_cv_path_TCLSH
    127387421if test -n "$TCLSH"; then
    12739   { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
     7422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    127407423$as_echo "$TCLSH" >&6; }
    127417424else
    12742   { $as_echo "$as_me:$LINENO: result: no" >&5
     7425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    127437426$as_echo "no" >&6; }
    127447427fi
     
    127477430  fi
    127487431  if test "x${TCLSH}" = "x" ; then
    12749     { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5
    12750 $as_echo "$as_me: error: can't find tclsh" >&2;}
    12751    { (exit 1); exit 1; }; }
     7432    as_fn_error $? "can't find tclsh" "$LINENO" 5
    127527433  fi
    127537434fi
     
    127587439
    127597440# Check whether --with-vtk was given.
    12760 if test "${with_vtk+set}" = set; then
     7441if test "${with_vtk+set}" = set; then :
    127617442  withval=$with_vtk;
    127627443else
     
    127657446
    127667447
    12767 { $as_echo "$as_me:$LINENO: checking for vtk" >&5
     7448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5
    127687449$as_echo_n "checking for vtk... " >&6; }
    127697450VTKDIR=""
     
    127897470  fi
    127907471fi
    12791 { $as_echo "$as_me:$LINENO: result: $VTKDIR" >&5
     7472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5
    127927473$as_echo "$VTKDIR" >&6; }
    127937474
     
    127957476
    127967477# Check whether --with-matlab was given.
    12797 if test "${with_matlab+set}" = set; then
     7478if test "${with_matlab+set}" = set; then :
    127987479  withval=$with_matlab;
    127997480else
     
    128117492    # Extract the first word of "matlab", so it can be a program name with args.
    128127493set dummy matlab; ac_word=$2
    12813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    128147495$as_echo_n "checking for $ac_word... " >&6; }
    12815 if test "${ac_cv_path_MATLAB+set}" = set; then
     7496if ${ac_cv_path_MATLAB+:} false; then :
    128167497  $as_echo_n "(cached) " >&6
    128177498else
     
    128267507  IFS=$as_save_IFS
    128277508  test -z "$as_dir" && as_dir=.
    12828   for ac_exec_ext in '' $ac_executable_extensions; do
    12829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7509    for ac_exec_ext in '' $ac_executable_extensions; do
     7510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    128307511    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12831     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    128327513    break 2
    128337514  fi
    128347515done
    12835 done
     7516  done
    128367517IFS=$as_save_IFS
    128377518
     
    128417522MATLAB=$ac_cv_path_MATLAB
    128427523if test -n "$MATLAB"; then
    12843   { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
     7524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    128447525$as_echo "$MATLAB" >&6; }
    128457526else
    12846   { $as_echo "$as_me:$LINENO: result: no" >&5
     7527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    128477528$as_echo "no" >&6; }
    128487529fi
     
    128527533    # Extract the first word of "matlab", so it can be a program name with args.
    128537534set dummy matlab; ac_word=$2
    12854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    128557536$as_echo_n "checking for $ac_word... " >&6; }
    12856 if test "${ac_cv_path_MATLAB+set}" = set; then
     7537if ${ac_cv_path_MATLAB+:} false; then :
    128577538  $as_echo_n "(cached) " >&6
    128587539else
     
    128687549  IFS=$as_save_IFS
    128697550  test -z "$as_dir" && as_dir=.
    12870   for ac_exec_ext in '' $ac_executable_extensions; do
    12871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7551    for ac_exec_ext in '' $ac_executable_extensions; do
     7552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    128727553    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12873     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    128747555    break 2
    128757556  fi
    128767557done
    12877 done
     7558  done
    128787559IFS=$as_save_IFS
    128797560
     
    128837564MATLAB=$ac_cv_path_MATLAB
    128847565if test -n "$MATLAB"; then
    12885   { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
     7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    128867567$as_echo "$MATLAB" >&6; }
    128877568else
    12888   { $as_echo "$as_me:$LINENO: result: no" >&5
     7569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    128897570$as_echo "no" >&6; }
    128907571fi
     
    129037584  # Extract the first word of "mex", so it can be a program name with args.
    129047585set dummy mex; ac_word=$2
    12905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    129067587$as_echo_n "checking for $ac_word... " >&6; }
    12907 if test "${ac_cv_path_MEX+set}" = set; then
     7588if ${ac_cv_path_MEX+:} false; then :
    129087589  $as_echo_n "(cached) " >&6
    129097590else
     
    129187599  IFS=$as_save_IFS
    129197600  test -z "$as_dir" && as_dir=.
    12920   for ac_exec_ext in '' $ac_executable_extensions; do
    12921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7601    for ac_exec_ext in '' $ac_executable_extensions; do
     7602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    129227603    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    12923     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129247605    break 2
    129257606  fi
    129267607done
    12927 done
     7608  done
    129287609IFS=$as_save_IFS
    129297610
     
    129337614MEX=$ac_cv_path_MEX
    129347615if test -n "$MEX"; then
    12935   { $as_echo "$as_me:$LINENO: result: $MEX" >&5
     7616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
    129367617$as_echo "$MEX" >&6; }
    129377618else
    12938   { $as_echo "$as_me:$LINENO: result: no" >&5
     7619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    129397620$as_echo "no" >&6; }
    129407621fi
     
    129437624  # Extract the first word of "mexext", so it can be a program name with args.
    129447625set dummy mexext; ac_word=$2
    12945 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    129467627$as_echo_n "checking for $ac_word... " >&6; }
    12947 if test "${ac_cv_path_MEXEXT+set}" = set; then
     7628if ${ac_cv_path_MEXEXT+:} false; then :
    129487629  $as_echo_n "(cached) " >&6
    129497630else
     
    129587639  IFS=$as_save_IFS
    129597640  test -z "$as_dir" && as_dir=.
    12960   for ac_exec_ext in '' $ac_executable_extensions; do
    12961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7641    for ac_exec_ext in '' $ac_executable_extensions; do
     7642  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    129627643    ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"
    12963     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7644    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129647645    break 2
    129657646  fi
    129667647done
    12967 done
     7648  done
    129687649IFS=$as_save_IFS
    129697650
     
    129737654MEXEXT=$ac_cv_path_MEXEXT
    129747655if test -n "$MEXEXT"; then
    12975   { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
     7656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    129767657$as_echo "$MEXEXT" >&6; }
    129777658else
    12978   { $as_echo "$as_me:$LINENO: result: no" >&5
     7659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    129797660$as_echo "no" >&6; }
    129807661fi
     
    129837664
    129847665  # Run "mexext" to get the expected module extension for this platform.
    12985   { $as_echo "$as_me:$LINENO: checking for mex extension" >&5
     7666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5
    129867667$as_echo_n "checking for mex extension... " >&6; }
    129877668  if test "x$MEXEXT" != "x" ; then
     
    129907671    MEXEXT="mexglx"
    129917672  fi
    12992   { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
     7673  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    129937674$as_echo "$MEXEXT" >&6; }
    129947675  # Extract the first word of "mcc", so it can be a program name with args.
    129957676set dummy mcc; ac_word=$2
    12996 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    129977678$as_echo_n "checking for $ac_word... " >&6; }
    12998 if test "${ac_cv_path_MCC+set}" = set; then
     7679if ${ac_cv_path_MCC+:} false; then :
    129997680  $as_echo_n "(cached) " >&6
    130007681else
     
    130097690  IFS=$as_save_IFS
    130107691  test -z "$as_dir" && as_dir=.
    13011   for ac_exec_ext in '' $ac_executable_extensions; do
    13012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7692    for ac_exec_ext in '' $ac_executable_extensions; do
     7693  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    130137694    ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"
    13014     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    130157696    break 2
    130167697  fi
    130177698done
    13018 done
     7699  done
    130197700IFS=$as_save_IFS
    130207701
     
    130247705MCC=$ac_cv_path_MCC
    130257706if test -n "$MCC"; then
    13026   { $as_echo "$as_me:$LINENO: result: $MCC" >&5
     7707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
    130277708$as_echo "$MCC" >&6; }
    130287709else
    13029   { $as_echo "$as_me:$LINENO: result: no" >&5
     7710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    130307711$as_echo "no" >&6; }
    130317712fi
    130327713
    130337714
    13034   { $as_echo "$as_me:$LINENO: checking for mcc extension" >&5
     7715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
    130357716$as_echo_n "checking for mcc extension... " >&6; }
    130367717fi
     
    130397720
    130407721# Check whether --with-octave was given.
    13041 if test "${with_octave+set}" = set; then
     7722if test "${with_octave+set}" = set; then :
    130427723  withval=$with_octave;
    130437724else
     
    130567737    # Extract the first word of "octave", so it can be a program name with args.
    130577738set dummy octave; ac_word=$2
    13058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    130597740$as_echo_n "checking for $ac_word... " >&6; }
    13060 if test "${ac_cv_path_OCTAVE+set}" = set; then
     7741if ${ac_cv_path_OCTAVE+:} false; then :
    130617742  $as_echo_n "(cached) " >&6
    130627743else
     
    130717752  IFS=$as_save_IFS
    130727753  test -z "$as_dir" && as_dir=.
    13073   for ac_exec_ext in '' $ac_executable_extensions; do
    13074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7754    for ac_exec_ext in '' $ac_executable_extensions; do
     7755  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    130757756    ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    13076     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7757    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    130777758    break 2
    130787759  fi
    130797760done
    13080 done
     7761  done
    130817762IFS=$as_save_IFS
    130827763
     
    130867767OCTAVE=$ac_cv_path_OCTAVE
    130877768if test -n "$OCTAVE"; then
    13088   { $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5
     7769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
    130897770$as_echo "$OCTAVE" >&6; }
    130907771else
    13091   { $as_echo "$as_me:$LINENO: result: no" >&5
     7772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    130927773$as_echo "no" >&6; }
    130937774fi
     
    130967777    # Extract the first word of "mkoctfile", so it can be a program name with args.
    130977778set dummy mkoctfile; ac_word=$2
    13098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    130997780$as_echo_n "checking for $ac_word... " >&6; }
    13100 if test "${ac_cv_path_MKOCTFILE+set}" = set; then
     7781if ${ac_cv_path_MKOCTFILE+:} false; then :
    131017782  $as_echo_n "(cached) " >&6
    131027783else
     
    131117792  IFS=$as_save_IFS
    131127793  test -z "$as_dir" && as_dir=.
    13113   for ac_exec_ext in '' $ac_executable_extensions; do
    13114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7794    for ac_exec_ext in '' $ac_executable_extensions; do
     7795  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    131157796    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    13116     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    131177798    break 2
    131187799  fi
    131197800done
    13120 done
     7801  done
    131217802IFS=$as_save_IFS
    131227803
     
    131267807MKOCTFILE=$ac_cv_path_MKOCTFILE
    131277808if test -n "$MKOCTFILE"; then
    13128   { $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
     7809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
    131297810$as_echo "$MKOCTFILE" >&6; }
    131307811else
    13131   { $as_echo "$as_me:$LINENO: result: no" >&5
     7812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    131327813$as_echo "no" >&6; }
    131337814fi
     
    131727853
    131737854# Check whether --with-mkoctfile3 was given.
    13174 if test "${with_mkoctfile3+set}" = set; then
     7855if test "${with_mkoctfile3+set}" = set; then :
    131757856  withval=$with_mkoctfile3;
    131767857else
     
    131837864    # Extract the first word of "mkoctfile", so it can be a program name with args.
    131847865set dummy mkoctfile; ac_word=$2
    13185 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    131867867$as_echo_n "checking for $ac_word... " >&6; }
    13187 if test "${ac_cv_path_mkoctfile3+set}" = set; then
     7868if ${ac_cv_path_mkoctfile3+:} false; then :
    131887869  $as_echo_n "(cached) " >&6
    131897870else
     
    131987879  IFS=$as_save_IFS
    131997880  test -z "$as_dir" && as_dir=.
    13200   for ac_exec_ext in '' $ac_executable_extensions; do
    13201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7881    for ac_exec_ext in '' $ac_executable_extensions; do
     7882  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    132027883    ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"
    13203     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    132047885    break 2
    132057886  fi
    132067887done
    13207 done
     7888  done
    132087889IFS=$as_save_IFS
    132097890
     
    132137894mkoctfile3=$ac_cv_path_mkoctfile3
    132147895if test -n "$mkoctfile3"; then
    13215   { $as_echo "$as_me:$LINENO: result: $mkoctfile3" >&5
     7896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
    132167897$as_echo "$mkoctfile3" >&6; }
    132177898else
    13218   { $as_echo "$as_me:$LINENO: result: no" >&5
     7899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    132197900$as_echo "no" >&6; }
    132207901fi
     
    132327913
    132337914# Check whether --with-mkoctfile2 was given.
    13234 if test "${with_mkoctfile2+set}" = set; then
     7915if test "${with_mkoctfile2+set}" = set; then :
    132357916  withval=$with_mkoctfile2;
    132367917else
     
    132437924    # Extract the first word of "mkoctfile", so it can be a program name with args.
    132447925set dummy mkoctfile; ac_word=$2
    13245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    132467927$as_echo_n "checking for $ac_word... " >&6; }
    13247 if test "${ac_cv_path_mkoctfile2+set}" = set; then
     7928if ${ac_cv_path_mkoctfile2+:} false; then :
    132487929  $as_echo_n "(cached) " >&6
    132497930else
     
    132587939  IFS=$as_save_IFS
    132597940  test -z "$as_dir" && as_dir=.
    13260   for ac_exec_ext in '' $ac_executable_extensions; do
    13261   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7941    for ac_exec_ext in '' $ac_executable_extensions; do
     7942  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    132627943    ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"
    13263     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    132647945    break 2
    132657946  fi
    132667947done
    13267 done
     7948  done
    132687949IFS=$as_save_IFS
    132697950
     
    132737954mkoctfile2=$ac_cv_path_mkoctfile2
    132747955if test -n "$mkoctfile2"; then
    13275   { $as_echo "$as_me:$LINENO: result: $mkoctfile2" >&5
     7956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
    132767957$as_echo "$mkoctfile2" >&6; }
    132777958else
    13278   { $as_echo "$as_me:$LINENO: result: no" >&5
     7959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    132797960$as_echo "no" >&6; }
    132807961fi
     
    132937974
    132947975# Check whether --with-perl was given.
    13295 if test "${with_perl+set}" = set; then
     7976if test "${with_perl+set}" = set; then :
    132967977  withval=$with_perl;
    132977978else
     
    133167997    # Extract the first word of "perl", so it can be a program name with args.
    133177998set dummy perl; ac_word=$2
    13318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    133198000$as_echo_n "checking for $ac_word... " >&6; }
    13320 if test "${ac_cv_path_PERL+set}" = set; then
     8001if ${ac_cv_path_PERL+:} false; then :
    133218002  $as_echo_n "(cached) " >&6
    133228003else
     
    133328013  IFS=$as_save_IFS
    133338014  test -z "$as_dir" && as_dir=.
    13334   for ac_exec_ext in '' $ac_executable_extensions; do
    13335   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8015    for ac_exec_ext in '' $ac_executable_extensions; do
     8016  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    133368017    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    13337     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8018    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    133388019    break 2
    133398020  fi
    133408021done
    13341 done
     8022  done
    133428023IFS=$as_save_IFS
    133438024
     
    133478028PERL=$ac_cv_path_PERL
    133488029if test -n "$PERL"; then
    13349   { $as_echo "$as_me:$LINENO: result: $PERL" >&5
     8030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    133508031$as_echo "$PERL" >&6; }
    133518032else
    13352   { $as_echo "$as_me:$LINENO: result: no" >&5
     8033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    133538034$as_echo "no" >&6; }
    133548035fi
     
    133578038    # Extract the first word of "xsubpp", so it can be a program name with args.
    133588039set dummy xsubpp; ac_word=$2
    13359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    133608041$as_echo_n "checking for $ac_word... " >&6; }
    13361 if test "${ac_cv_path_XSUBPP+set}" = set; then
     8042if ${ac_cv_path_XSUBPP+:} false; then :
    133628043  $as_echo_n "(cached) " >&6
    133638044else
     
    133738054  IFS=$as_save_IFS
    133748055  test -z "$as_dir" && as_dir=.
    13375   for ac_exec_ext in '' $ac_executable_extensions; do
    13376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8056    for ac_exec_ext in '' $ac_executable_extensions; do
     8057  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    133778058    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    13378     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    133798060    break 2
    133808061  fi
    133818062done
    13382 done
     8063  done
    133838064IFS=$as_save_IFS
    133848065
     
    133888069XSUBPP=$ac_cv_path_XSUBPP
    133898070if test -n "$XSUBPP"; then
    13390   { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
     8071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    133918072$as_echo "$XSUBPP" >&6; }
    133928073else
    13393   { $as_echo "$as_me:$LINENO: result: no" >&5
     8074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    133948075$as_echo "no" >&6; }
    133958076fi
     
    133998080    # Extract the first word of "perl", so it can be a program name with args.
    134008081set dummy perl; ac_word=$2
    13401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    134028083$as_echo_n "checking for $ac_word... " >&6; }
    13403 if test "${ac_cv_path_PERL+set}" = set; then
     8084if ${ac_cv_path_PERL+:} false; then :
    134048085  $as_echo_n "(cached) " >&6
    134058086else
     
    134148095  IFS=$as_save_IFS
    134158096  test -z "$as_dir" && as_dir=.
    13416   for ac_exec_ext in '' $ac_executable_extensions; do
    13417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8097    for ac_exec_ext in '' $ac_executable_extensions; do
     8098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    134188099    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    13419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    134208101    break 2
    134218102  fi
    134228103done
    13423 done
     8104  done
    134248105IFS=$as_save_IFS
    134258106
     
    134298110PERL=$ac_cv_path_PERL
    134308111if test -n "$PERL"; then
    13431   { $as_echo "$as_me:$LINENO: result: $PERL" >&5
     8112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    134328113$as_echo "$PERL" >&6; }
    134338114else
    13434   { $as_echo "$as_me:$LINENO: result: no" >&5
     8115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    134358116$as_echo "no" >&6; }
    134368117fi
     
    134398120    # Extract the first word of "xsubpp", so it can be a program name with args.
    134408121set dummy xsubpp; ac_word=$2
    13441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    134428123$as_echo_n "checking for $ac_word... " >&6; }
    13443 if test "${ac_cv_path_XSUBPP+set}" = set; then
     8124if ${ac_cv_path_XSUBPP+:} false; then :
    134448125  $as_echo_n "(cached) " >&6
    134458126else
     
    134548135  IFS=$as_save_IFS
    134558136  test -z "$as_dir" && as_dir=.
    13456   for ac_exec_ext in '' $ac_executable_extensions; do
    13457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8137    for ac_exec_ext in '' $ac_executable_extensions; do
     8138  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    134588139    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    13459     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8140    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    134608141    break 2
    134618142  fi
    134628143done
    13463 done
     8144  done
    134648145IFS=$as_save_IFS
    134658146
     
    134698150XSUBPP=$ac_cv_path_XSUBPP
    134708151if test -n "$XSUBPP"; then
    13471   { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
     8152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    134728153$as_echo "$XSUBPP" >&6; }
    134738154else
    13474   { $as_echo "$as_me:$LINENO: result: no" >&5
     8155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    134758156$as_echo "no" >&6; }
    134768157fi
     
    135108191
    135118192# Check whether --with-python was given.
    13512 if test "${with_python+set}" = set; then
     8193if test "${with_python+set}" = set; then :
    135138194  withval=$with_python;
    135148195else
     
    135218202    # 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.
    135228203set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    13523 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    135248205$as_echo_n "checking for $ac_word... " >&6; }
    13525 if test "${ac_cv_path_PYTHON+set}" = set; then
     8206if ${ac_cv_path_PYTHON+:} false; then :
    135268207  $as_echo_n "(cached) " >&6
    135278208else
     
    135368217  IFS=$as_save_IFS
    135378218  test -z "$as_dir" && as_dir=.
    13538   for ac_exec_ext in '' $ac_executable_extensions; do
    13539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8219    for ac_exec_ext in '' $ac_executable_extensions; do
     8220  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    135408221    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    13541     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8222    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    135428223    break 2
    135438224  fi
    135448225done
    13545 done
     8226  done
    135468227IFS=$as_save_IFS
    135478228
     
    135518232PYTHON=$ac_cv_path_PYTHON
    135528233if test -n "$PYTHON"; then
    13553   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     8234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    135548235$as_echo "$PYTHON" >&6; }
    135558236else
    13556   { $as_echo "$as_me:$LINENO: result: no" >&5
     8237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    135578238$as_echo "no" >&6; }
    135588239fi
     
    135628243    # Extract the first word of "python", so it can be a program name with args.
    135638244set dummy python; ac_word=$2
    13564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    135658246$as_echo_n "checking for $ac_word... " >&6; }
    13566 if test "${ac_cv_path_PYTHON+set}" = set; then
     8247if ${ac_cv_path_PYTHON+:} false; then :
    135678248  $as_echo_n "(cached) " >&6
    135688249else
     
    135788259  IFS=$as_save_IFS
    135798260  test -z "$as_dir" && as_dir=.
    13580   for ac_exec_ext in '' $ac_executable_extensions; do
    13581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8261    for ac_exec_ext in '' $ac_executable_extensions; do
     8262  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    135828263    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    13583     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    135848265    break 2
    135858266  fi
    135868267done
    13587 done
     8268  done
    135888269IFS=$as_save_IFS
    135898270
     
    135938274PYTHON=$ac_cv_path_PYTHON
    135948275if test -n "$PYTHON"; then
    13595   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     8276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    135968277$as_echo "$PYTHON" >&6; }
    135978278else
    13598   { $as_echo "$as_me:$LINENO: result: no" >&5
     8279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    135998280$as_echo "no" >&6; }
    136008281fi
     
    136028283
    136038284  fi
    13604   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     8285  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    136058286$as_echo_n "checking for Python version... " >&6; }
    136068287  if test "x${PYTHON}" != "x"; then
    136078288    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    136088289  fi
    13609   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     8290  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    136108291$as_echo "$PYTHON_VERSION" >&6; }
    136118292fi
     
    136138294if test "x${PYTHON_VERSION}" != "x"; then
    136148295  PYTHON_INCLUDES=$incdir
    13615   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     8296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    136168297$as_echo_n "checking for Python distutils... " >&6; }
    136178298  PYTHON_DISTUTILS=""
     
    136218302    PYTHON_DISTUTILS="yes"
    136228303  fi
    13623   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     8304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    136248305$as_echo "$PYTHON_DISTUTILS" >&6; }
    136258306  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    136288309    # Check for Python include path
    136298310    #
    13630     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     8311    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    136318312$as_echo_n "checking path to Python headers... " >&6; }
    136328313    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    136338314     print distutils.sysconfig.get_python_inc();"`
    13634     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     8315    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    136358316$as_echo "$PYTHON_INCDIR" >&6; }
    136368317    #
     
    136458326    save_CPPFLAGS=$CPPFLAGS
    136468327    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    13647 
    13648 for ac_header in Python.h
    13649 do
    13650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13651 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13652   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13653 $as_echo_n "checking for $ac_header... " >&6; }
    13654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13655   $as_echo_n "(cached) " >&6
    13656 fi
    13657 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13658                  $as_echo "$as_val"'`
    13659                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13660 $as_echo "$ac_res" >&6; }
    13661 else
    13662   # Is the header compilable?
    13663 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13664 $as_echo_n "checking $ac_header usability... " >&6; }
    13665 cat >conftest.$ac_ext <<_ACEOF
    13666 /* confdefs.h.  */
    13667 _ACEOF
    13668 cat confdefs.h >>conftest.$ac_ext
    13669 cat >>conftest.$ac_ext <<_ACEOF
    13670 /* end confdefs.h.  */
    13671 $ac_includes_default
    13672 #include <$ac_header>
    13673 _ACEOF
    13674 rm -f conftest.$ac_objext
    13675 if { (ac_try="$ac_compile"
    13676 case "(($ac_try" in
    13677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13678   *) ac_try_echo=$ac_try;;
    13679 esac
    13680 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13681 $as_echo "$ac_try_echo") >&5
    13682   (eval "$ac_compile") 2>conftest.er1
    13683   ac_status=$?
    13684   grep -v '^ *+' conftest.er1 >conftest.err
    13685   rm -f conftest.er1
    13686   cat conftest.err >&5
    13687   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13688   (exit $ac_status); } && {
    13689          test -z "$ac_cxx_werror_flag" ||
    13690          test ! -s conftest.err
    13691        } && test -s conftest.$ac_objext; then
    13692   ac_header_compiler=yes
    13693 else
    13694   $as_echo "$as_me: failed program was:" >&5
    13695 sed 's/^/| /' conftest.$ac_ext >&5
    13696 
    13697         ac_header_compiler=no
    13698 fi
    13699 
    13700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13701 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13702 $as_echo "$ac_header_compiler" >&6; }
    13703 
    13704 # Is the header present?
    13705 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13706 $as_echo_n "checking $ac_header presence... " >&6; }
    13707 cat >conftest.$ac_ext <<_ACEOF
    13708 /* confdefs.h.  */
    13709 _ACEOF
    13710 cat confdefs.h >>conftest.$ac_ext
    13711 cat >>conftest.$ac_ext <<_ACEOF
    13712 /* end confdefs.h.  */
    13713 #include <$ac_header>
    13714 _ACEOF
    13715 if { (ac_try="$ac_cpp conftest.$ac_ext"
    13716 case "(($ac_try" in
    13717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13718   *) ac_try_echo=$ac_try;;
    13719 esac
    13720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13721 $as_echo "$ac_try_echo") >&5
    13722   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    13723   ac_status=$?
    13724   grep -v '^ *+' conftest.er1 >conftest.err
    13725   rm -f conftest.er1
    13726   cat conftest.err >&5
    13727   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13728   (exit $ac_status); } >/dev/null && {
    13729          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    13730          test ! -s conftest.err
    13731        }; then
    13732   ac_header_preproc=yes
    13733 else
    13734   $as_echo "$as_me: failed program was:" >&5
    13735 sed 's/^/| /' conftest.$ac_ext >&5
    13736 
    13737   ac_header_preproc=no
    13738 fi
    13739 
    13740 rm -f conftest.err conftest.$ac_ext
    13741 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13742 $as_echo "$ac_header_preproc" >&6; }
    13743 
    13744 # So?  What about this header?
    13745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13746   yes:no: )
    13747     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13748 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13749     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13750 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13751     ac_header_preproc=yes
    13752     ;;
    13753   no:yes:* )
    13754     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13755 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13756     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13757 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13758     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13759 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13760     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13761 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13762     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13763 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13764     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13765 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13766     ( cat <<\_ASBOX
    13767 ## ----------------------------------- ##
    13768 ## Report this to rappture@nanohub.org ##
    13769 ## ----------------------------------- ##
    13770 _ASBOX
    13771      ) | sed "s/^/$as_me: WARNING:     /" >&2
    13772     ;;
    13773 esac
    13774 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13775 $as_echo_n "checking for $ac_header... " >&6; }
    13776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13777   $as_echo_n "(cached) " >&6
    13778 else
    13779   eval "$as_ac_Header=\$ac_header_preproc"
    13780 fi
    13781 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13782                  $as_echo "$as_val"'`
    13783                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13784 $as_echo "$ac_res" >&6; }
    13785 
    13786 fi
    13787 as_val=`eval 'as_val=${'$as_ac_Header'}
    13788                  $as_echo "$as_val"'`
    13789    if test "x$as_val" = x""yes; then
     8328    for ac_header in Python.h
     8329do :
     8330  ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     8331if test "x$ac_cv_header_Python_h" = xyes; then :
    137908332  cat >>confdefs.h <<_ACEOF
    13791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8333#define HAVE_PYTHON_H 1
    137928334_ACEOF
    137938335 found=yes
     
    138088350
    138098351# Check whether --with-java was given.
    13810 if test "${with_java+set}" = set; then
     8352if test "${with_java+set}" = set; then :
    138118353  withval=$with_java;
    138128354else
     
    138238365    # Extract the first word of "java", so it can be a program name with args.
    138248366set dummy java; ac_word=$2
    13825 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    138268368$as_echo_n "checking for $ac_word... " >&6; }
    13827 if test "${ac_cv_path_JAVA+set}" = set; then
     8369if ${ac_cv_path_JAVA+:} false; then :
    138288370  $as_echo_n "(cached) " >&6
    138298371else
     
    138388380  IFS=$as_save_IFS
    138398381  test -z "$as_dir" && as_dir=.
    13840   for ac_exec_ext in '' $ac_executable_extensions; do
    13841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8382    for ac_exec_ext in '' $ac_executable_extensions; do
     8383  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    138428384    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    13843     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8385    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    138448386    break 2
    138458387  fi
    138468388done
    13847 done
     8389  done
    138488390IFS=$as_save_IFS
    138498391
     
    138538395JAVA=$ac_cv_path_JAVA
    138548396if test -n "$JAVA"; then
    13855   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     8397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    138568398$as_echo "$JAVA" >&6; }
    138578399else
    13858   { $as_echo "$as_me:$LINENO: result: no" >&5
     8400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    138598401$as_echo "no" >&6; }
    138608402fi
     
    138638405    # Extract the first word of "javac", so it can be a program name with args.
    138648406set dummy javac; ac_word=$2
    13865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    138668408$as_echo_n "checking for $ac_word... " >&6; }
    13867 if test "${ac_cv_path_JAVAC+set}" = set; then
     8409if ${ac_cv_path_JAVAC+:} false; then :
    138688410  $as_echo_n "(cached) " >&6
    138698411else
     
    138788420  IFS=$as_save_IFS
    138798421  test -z "$as_dir" && as_dir=.
    13880   for ac_exec_ext in '' $ac_executable_extensions; do
    13881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8422    for ac_exec_ext in '' $ac_executable_extensions; do
     8423  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    138828424    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    13883     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8425    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    138848426    break 2
    138858427  fi
    138868428done
    13887 done
     8429  done
    138888430IFS=$as_save_IFS
    138898431
     
    138938435JAVAC=$ac_cv_path_JAVAC
    138948436if test -n "$JAVAC"; then
    13895   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     8437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    138968438$as_echo "$JAVAC" >&6; }
    138978439else
    13898   { $as_echo "$as_me:$LINENO: result: no" >&5
     8440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    138998441$as_echo "no" >&6; }
    139008442fi
     
    139038445    # Extract the first word of "javah", so it can be a program name with args.
    139048446set dummy javah; ac_word=$2
    13905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    139068448$as_echo_n "checking for $ac_word... " >&6; }
    13907 if test "${ac_cv_path_JAVAH+set}" = set; then
     8449if ${ac_cv_path_JAVAH+:} false; then :
    139088450  $as_echo_n "(cached) " >&6
    139098451else
     
    139188460  IFS=$as_save_IFS
    139198461  test -z "$as_dir" && as_dir=.
    13920   for ac_exec_ext in '' $ac_executable_extensions; do
    13921   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8462    for ac_exec_ext in '' $ac_executable_extensions; do
     8463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    139228464    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    13923     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    139248466    break 2
    139258467  fi
    139268468done
    13927 done
     8469  done
    139288470IFS=$as_save_IFS
    139298471
     
    139338475JAVAH=$ac_cv_path_JAVAH
    139348476if test -n "$JAVAH"; then
    13935   { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
     8477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    139368478$as_echo "$JAVAH" >&6; }
    139378479else
    13938   { $as_echo "$as_me:$LINENO: result: no" >&5
     8480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    139398481$as_echo "no" >&6; }
    139408482fi
     
    139448486    # Extract the first word of "java", so it can be a program name with args.
    139458487set dummy java; ac_word=$2
    13946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    139478489$as_echo_n "checking for $ac_word... " >&6; }
    13948 if test "${ac_cv_path_JAVA+set}" = set; then
     8490if ${ac_cv_path_JAVA+:} false; then :
    139498491  $as_echo_n "(cached) " >&6
    139508492else
     
    139608502  IFS=$as_save_IFS
    139618503  test -z "$as_dir" && as_dir=.
    13962   for ac_exec_ext in '' $ac_executable_extensions; do
    13963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8504    for ac_exec_ext in '' $ac_executable_extensions; do
     8505  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    139648506    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    13965     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8507    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    139668508    break 2
    139678509  fi
    139688510done
    13969 done
     8511  done
    139708512IFS=$as_save_IFS
    139718513
     
    139758517JAVA=$ac_cv_path_JAVA
    139768518if test -n "$JAVA"; then
    13977   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     8519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    139788520$as_echo "$JAVA" >&6; }
    139798521else
    13980   { $as_echo "$as_me:$LINENO: result: no" >&5
     8522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    139818523$as_echo "no" >&6; }
    139828524fi
     
    139858527    # Extract the first word of "javac", so it can be a program name with args.
    139868528set dummy javac; ac_word=$2
    13987 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    139888530$as_echo_n "checking for $ac_word... " >&6; }
    13989 if test "${ac_cv_path_JAVAC+set}" = set; then
     8531if ${ac_cv_path_JAVAC+:} false; then :
    139908532  $as_echo_n "(cached) " >&6
    139918533else
     
    140018543  IFS=$as_save_IFS
    140028544  test -z "$as_dir" && as_dir=.
    14003   for ac_exec_ext in '' $ac_executable_extensions; do
    14004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8545    for ac_exec_ext in '' $ac_executable_extensions; do
     8546  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    140058547    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    14006     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8548    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    140078549    break 2
    140088550  fi
    140098551done
    14010 done
     8552  done
    140118553IFS=$as_save_IFS
    140128554
     
    140168558JAVAC=$ac_cv_path_JAVAC
    140178559if test -n "$JAVAC"; then
    14018   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     8560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    140198561$as_echo "$JAVAC" >&6; }
    140208562else
    14021   { $as_echo "$as_me:$LINENO: result: no" >&5
     8563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    140228564$as_echo "no" >&6; }
    140238565fi
     
    140268568    # Extract the first word of "javah", so it can be a program name with args.
    140278569set dummy javah; ac_word=$2
    14028 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    140298571$as_echo_n "checking for $ac_word... " >&6; }
    14030 if test "${ac_cv_path_JAVAH+set}" = set; then
     8572if ${ac_cv_path_JAVAH+:} false; then :
    140318573  $as_echo_n "(cached) " >&6
    140328574else
     
    140428584  IFS=$as_save_IFS
    140438585  test -z "$as_dir" && as_dir=.
    14044   for ac_exec_ext in '' $ac_executable_extensions; do
    14045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8586    for ac_exec_ext in '' $ac_executable_extensions; do
     8587  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    140468588    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    14047     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8589    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    140488590    break 2
    140498591  fi
    140508592done
    14051 done
     8593  done
    140528594IFS=$as_save_IFS
    140538595
     
    140578599JAVAH=$ac_cv_path_JAVAH
    140588600if test -n "$JAVAH"; then
    14059   { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
     8601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    140608602$as_echo "$JAVAH" >&6; }
    140618603else
    14062   { $as_echo "$as_me:$LINENO: result: no" >&5
     8604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    140638605$as_echo "no" >&6; }
    140648606fi
     
    141048646
    141058647# Check whether --with-R was given.
    14106 if test "${with_R+set}" = set; then
     8648if test "${with_R+set}" = set; then :
    141078649  withval=$with_R;
    141088650else
     
    141168658    # Extract the first word of "R", so it can be a program name with args.
    141178659set dummy R; ac_word=$2
    14118 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    141198661$as_echo_n "checking for $ac_word... " >&6; }
    14120 if test "${ac_cv_path_R+set}" = set; then
     8662if ${ac_cv_path_R+:} false; then :
    141218663  $as_echo_n "(cached) " >&6
    141228664else
     
    141318673  IFS=$as_save_IFS
    141328674  test -z "$as_dir" && as_dir=.
    14133   for ac_exec_ext in '' $ac_executable_extensions; do
    14134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8675    for ac_exec_ext in '' $ac_executable_extensions; do
     8676  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    141358677    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    14136     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8678    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    141378679    break 2
    141388680  fi
    141398681done
    14140 done
     8682  done
    141418683IFS=$as_save_IFS
    141428684
     
    141468688R=$ac_cv_path_R
    141478689if test -n "$R"; then
    14148   { $as_echo "$as_me:$LINENO: result: $R" >&5
     8690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    141498691$as_echo "$R" >&6; }
    141508692else
    14151   { $as_echo "$as_me:$LINENO: result: no" >&5
     8693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    141528694$as_echo "no" >&6; }
    141538695fi
     
    141578699    # Extract the first word of "R", so it can be a program name with args.
    141588700set dummy R; ac_word=$2
    14159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    141608702$as_echo_n "checking for $ac_word... " >&6; }
    14161 if test "${ac_cv_path_R+set}" = set; then
     8703if ${ac_cv_path_R+:} false; then :
    141628704  $as_echo_n "(cached) " >&6
    141638705else
     
    141738715  IFS=$as_save_IFS
    141748716  test -z "$as_dir" && as_dir=.
    14175   for ac_exec_ext in '' $ac_executable_extensions; do
    14176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8717    for ac_exec_ext in '' $ac_executable_extensions; do
     8718  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    141778719    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    14178     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8720    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    141798721    break 2
    141808722  fi
    141818723done
    14182 done
     8724  done
    141838725IFS=$as_save_IFS
    141848726
     
    141888730R=$ac_cv_path_R
    141898731if test -n "$R"; then
    14190   { $as_echo "$as_me:$LINENO: result: $R" >&5
     8732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    141918733$as_echo "$R" >&6; }
    141928734else
    14193   { $as_echo "$as_me:$LINENO: result: no" >&5
     8735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    141948736$as_echo "no" >&6; }
    141958737fi
     
    142028744# Make sure we can run config.sub.
    142038745$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    14204   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
    14205 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
    14206    { (exit 1); exit 1; }; }
    14207 
    14208 { $as_echo "$as_me:$LINENO: checking build system type" >&5
     8746  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     8747
     8748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    142098749$as_echo_n "checking build system type... " >&6; }
    14210 if test "${ac_cv_build+set}" = set; then
     8750if ${ac_cv_build+:} false; then :
    142118751  $as_echo_n "(cached) " >&6
    142128752else
     
    142158755  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    142168756test "x$ac_build_alias" = x &&
    14217   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    14218 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    14219    { (exit 1); exit 1; }; }
     8757  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    142208758ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    14221   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
    14222 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
    14223    { (exit 1); exit 1; }; }
    14224 
    14225 fi
    14226 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     8759  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     8760
     8761fi
     8762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    142278763$as_echo "$ac_cv_build" >&6; }
    142288764case $ac_cv_build in
    142298765*-*-*) ;;
    14230 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
    14231 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
    14232    { (exit 1); exit 1; }; };;
     8766*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    142338767esac
    142348768build=$ac_cv_build
     
    142468780
    142478781
     8782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     8783$as_echo_n "checking host system type... " >&6; }
     8784if ${ac_cv_host+:} false; then :
     8785  $as_echo_n "(cached) " >&6
     8786else
     8787  if test "x$host_alias" = x; then
     8788  ac_cv_host=$ac_cv_build
     8789else
     8790  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     8791    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     8792fi
     8793
     8794fi
     8795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     8796$as_echo "$ac_cv_host" >&6; }
     8797case $ac_cv_host in
     8798*-*-*) ;;
     8799*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     8800esac
     8801host=$ac_cv_host
     8802ac_save_IFS=$IFS; IFS='-'
     8803set x $ac_cv_host
     8804shift
     8805host_cpu=$1
     8806host_vendor=$2
     8807shift; shift
     8808# Remember, the first character of IFS is used to create $*,
     8809# except with old shells:
     8810host_os=$*
     8811IFS=$ac_save_IFS
     8812case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     8813
     8814
    142488815
    142498816
    142508817
    142518818# Check whether --with-ruby was given.
    14252 if test "${with_ruby+set}" = set; then
     8819if test "${with_ruby+set}" = set; then :
    142538820  withval=$with_ruby;  RUBY=$withval
    142548821else
     
    142588825
    142598826# Check whether --with-ruby_sitelibdir was given.
    14260 if test "${with_ruby_sitelibdir+set}" = set; then
     8827if test "${with_ruby_sitelibdir+set}" = set; then :
    142618828  withval=$with_ruby_sitelibdir;  ruby_sitelibdir=$withval
    142628829else
     
    143458912CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
    143468913CXXFLAGS="${CPPFLAGS}"
    14347 
    143488914for ac_header in ruby.h
    14349 do
    14350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14352   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14353 $as_echo_n "checking for $ac_header... " >&6; }
    14354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14355   $as_echo_n "(cached) " >&6
    14356 fi
    14357 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14358                  $as_echo "$as_val"'`
    14359                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14360 $as_echo "$ac_res" >&6; }
    14361 else
    14362   # Is the header compilable?
    14363 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    14364 $as_echo_n "checking $ac_header usability... " >&6; }
    14365 cat >conftest.$ac_ext <<_ACEOF
    14366 /* confdefs.h.  */
    14367 _ACEOF
    14368 cat confdefs.h >>conftest.$ac_ext
    14369 cat >>conftest.$ac_ext <<_ACEOF
    14370 /* end confdefs.h.  */
    14371 $ac_includes_default
    14372 #include <$ac_header>
    14373 _ACEOF
    14374 rm -f conftest.$ac_objext
    14375 if { (ac_try="$ac_compile"
    14376 case "(($ac_try" in
    14377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14378   *) ac_try_echo=$ac_try;;
    14379 esac
    14380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14381 $as_echo "$ac_try_echo") >&5
    14382   (eval "$ac_compile") 2>conftest.er1
    14383   ac_status=$?
    14384   grep -v '^ *+' conftest.er1 >conftest.err
    14385   rm -f conftest.er1
    14386   cat conftest.err >&5
    14387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14388   (exit $ac_status); } && {
    14389          test -z "$ac_cxx_werror_flag" ||
    14390          test ! -s conftest.err
    14391        } && test -s conftest.$ac_objext; then
    14392   ac_header_compiler=yes
    14393 else
    14394   $as_echo "$as_me: failed program was:" >&5
    14395 sed 's/^/| /' conftest.$ac_ext >&5
    14396 
    14397         ac_header_compiler=no
    14398 fi
    14399 
    14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14401 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    14402 $as_echo "$ac_header_compiler" >&6; }
    14403 
    14404 # Is the header present?
    14405 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    14406 $as_echo_n "checking $ac_header presence... " >&6; }
    14407 cat >conftest.$ac_ext <<_ACEOF
    14408 /* confdefs.h.  */
    14409 _ACEOF
    14410 cat confdefs.h >>conftest.$ac_ext
    14411 cat >>conftest.$ac_ext <<_ACEOF
    14412 /* end confdefs.h.  */
    14413 #include <$ac_header>
    14414 _ACEOF
    14415 if { (ac_try="$ac_cpp conftest.$ac_ext"
    14416 case "(($ac_try" in
    14417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14418   *) ac_try_echo=$ac_try;;
    14419 esac
    14420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14421 $as_echo "$ac_try_echo") >&5
    14422   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    14423   ac_status=$?
    14424   grep -v '^ *+' conftest.er1 >conftest.err
    14425   rm -f conftest.er1
    14426   cat conftest.err >&5
    14427   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14428   (exit $ac_status); } >/dev/null && {
    14429          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    14430          test ! -s conftest.err
    14431        }; then
    14432   ac_header_preproc=yes
    14433 else
    14434   $as_echo "$as_me: failed program was:" >&5
    14435 sed 's/^/| /' conftest.$ac_ext >&5
    14436 
    14437   ac_header_preproc=no
    14438 fi
    14439 
    14440 rm -f conftest.err conftest.$ac_ext
    14441 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    14442 $as_echo "$ac_header_preproc" >&6; }
    14443 
    14444 # So?  What about this header?
    14445 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    14446   yes:no: )
    14447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    14448 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    14449     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    14450 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    14451     ac_header_preproc=yes
    14452     ;;
    14453   no:yes:* )
    14454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    14455 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    14456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    14457 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    14458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    14459 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    14460     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    14461 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    14462     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    14463 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    14464     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    14465 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    14466     ( cat <<\_ASBOX
    14467 ## ----------------------------------- ##
    14468 ## Report this to rappture@nanohub.org ##
    14469 ## ----------------------------------- ##
    14470 _ASBOX
    14471      ) | sed "s/^/$as_me: WARNING:     /" >&2
    14472     ;;
    14473 esac
    14474 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14475 $as_echo_n "checking for $ac_header... " >&6; }
    14476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14477   $as_echo_n "(cached) " >&6
    14478 else
    14479   eval "$as_ac_Header=\$ac_header_preproc"
    14480 fi
    14481 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14482                  $as_echo "$as_val"'`
    14483                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14484 $as_echo "$ac_res" >&6; }
    14485 
    14486 fi
    14487 as_val=`eval 'as_val=${'$as_ac_Header'}
    14488                  $as_echo "$as_val"'`
    14489    if test "x$as_val" = x""yes; then
     8915do :
     8916  ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
     8917if test "x$ac_cv_header_ruby_h" = xyes; then :
    144908918  cat >>confdefs.h <<_ACEOF
    14491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8919#define HAVE_RUBY_H 1
    144928920_ACEOF
    144938921
     
    144998927
    145008928
    14501 
    145028929for ac_header in node.h
    14503 do
    14504 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14505 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14506 $as_echo_n "checking for $ac_header... " >&6; }
    14507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14508   $as_echo_n "(cached) " >&6
    14509 else
    14510   cat >conftest.$ac_ext <<_ACEOF
    14511 /* confdefs.h.  */
    14512 _ACEOF
    14513 cat confdefs.h >>conftest.$ac_ext
    14514 cat >>conftest.$ac_ext <<_ACEOF
    14515 /* end confdefs.h.  */
    14516 
     8930do :
     8931  ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" "
    145178932#include <ruby.h>
    145188933
    14519 
    14520 #include <$ac_header>
    14521 _ACEOF
    14522 rm -f conftest.$ac_objext
    14523 if { (ac_try="$ac_compile"
    14524 case "(($ac_try" in
    14525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14526   *) ac_try_echo=$ac_try;;
    14527 esac
    14528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14529 $as_echo "$ac_try_echo") >&5
    14530   (eval "$ac_compile") 2>conftest.er1
    14531   ac_status=$?
    14532   grep -v '^ *+' conftest.er1 >conftest.err
    14533   rm -f conftest.er1
    14534   cat conftest.err >&5
    14535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14536   (exit $ac_status); } && {
    14537          test -z "$ac_cxx_werror_flag" ||
    14538          test ! -s conftest.err
    14539        } && test -s conftest.$ac_objext; then
    14540   eval "$as_ac_Header=yes"
    14541 else
    14542   $as_echo "$as_me: failed program was:" >&5
    14543 sed 's/^/| /' conftest.$ac_ext >&5
    14544 
    14545         eval "$as_ac_Header=no"
    14546 fi
    14547 
    14548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14549 fi
    14550 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14551                  $as_echo "$as_val"'`
    14552                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14553 $as_echo "$ac_res" >&6; }
    14554 as_val=`eval 'as_val=${'$as_ac_Header'}
    14555                  $as_echo "$as_val"'`
    14556    if test "x$as_val" = x""yes; then
     8934"
     8935if test "x$ac_cv_header_node_h" = xyes; then :
    145578936  cat >>confdefs.h <<_ACEOF
    14558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    14559 _ACEOF
    14560 
    14561 fi
    14562 
    14563 done
    14564 
     8937#define HAVE_NODE_H 1
     8938_ACEOF
     8939
     8940fi
     8941
     8942done
    145658943
    145668944for ac_header in ruby/node.h
    14567 do
    14568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14570 $as_echo_n "checking for $ac_header... " >&6; }
    14571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14572   $as_echo_n "(cached) " >&6
    14573 else
    14574   cat >conftest.$ac_ext <<_ACEOF
    14575 /* confdefs.h.  */
    14576 _ACEOF
    14577 cat confdefs.h >>conftest.$ac_ext
    14578 cat >>conftest.$ac_ext <<_ACEOF
    14579 /* end confdefs.h.  */
    14580 
     8945do :
     8946  ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" "
    145818947                             #include <ruby.h>
    145828948
    14583 
    14584 #include <$ac_header>
    14585 _ACEOF
    14586 rm -f conftest.$ac_objext
    14587 if { (ac_try="$ac_compile"
    14588 case "(($ac_try" in
    14589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14590   *) ac_try_echo=$ac_try;;
    14591 esac
    14592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14593 $as_echo "$ac_try_echo") >&5
    14594   (eval "$ac_compile") 2>conftest.er1
    14595   ac_status=$?
    14596   grep -v '^ *+' conftest.er1 >conftest.err
    14597   rm -f conftest.er1
    14598   cat conftest.err >&5
    14599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14600   (exit $ac_status); } && {
    14601          test -z "$ac_cxx_werror_flag" ||
    14602          test ! -s conftest.err
    14603        } && test -s conftest.$ac_objext; then
    14604   eval "$as_ac_Header=yes"
    14605 else
    14606   $as_echo "$as_me: failed program was:" >&5
    14607 sed 's/^/| /' conftest.$ac_ext >&5
    14608 
    14609         eval "$as_ac_Header=no"
    14610 fi
    14611 
    14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14613 fi
    14614 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14615                  $as_echo "$as_val"'`
    14616                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14617 $as_echo "$ac_res" >&6; }
    14618 as_val=`eval 'as_val=${'$as_ac_Header'}
    14619                  $as_echo "$as_val"'`
    14620    if test "x$as_val" = x""yes; then
     8949"
     8950if test "x$ac_cv_header_ruby_node_h" = xyes; then :
    146218951  cat >>confdefs.h <<_ACEOF
    14622 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    14623 _ACEOF
    14624 
    14625 cat >>confdefs.h <<\_ACEOF
    14626 #define REALLY_HAVE_RUBY_NODE_H /**/
    14627 _ACEOF
    14628 
    14629 fi
    14630 
    14631 done
    14632 
     8952#define HAVE_RUBY_NODE_H 1
     8953_ACEOF
     8954
     8955$as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h
     8956
     8957fi
     8958
     8959done
    146338960
    146348961for ac_header in version.h
    14635 do
    14636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14637 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14638 $as_echo_n "checking for $ac_header... " >&6; }
    14639 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14640   $as_echo_n "(cached) " >&6
    14641 else
    14642   cat >conftest.$ac_ext <<_ACEOF
    14643 /* confdefs.h.  */
    14644 _ACEOF
    14645 cat confdefs.h >>conftest.$ac_ext
    14646 cat >>conftest.$ac_ext <<_ACEOF
    14647 /* end confdefs.h.  */
    14648 
     8962do :
     8963  ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" "
    146498964#include <ruby.h>
    146508965
    14651 
    14652 #include <$ac_header>
    14653 _ACEOF
    14654 rm -f conftest.$ac_objext
    14655 if { (ac_try="$ac_compile"
    14656 case "(($ac_try" in
    14657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14658   *) ac_try_echo=$ac_try;;
    14659 esac
    14660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14661 $as_echo "$ac_try_echo") >&5
    14662   (eval "$ac_compile") 2>conftest.er1
    14663   ac_status=$?
    14664   grep -v '^ *+' conftest.er1 >conftest.err
    14665   rm -f conftest.er1
    14666   cat conftest.err >&5
    14667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14668   (exit $ac_status); } && {
    14669          test -z "$ac_cxx_werror_flag" ||
    14670          test ! -s conftest.err
    14671        } && test -s conftest.$ac_objext; then
    14672   eval "$as_ac_Header=yes"
    14673 else
    14674   $as_echo "$as_me: failed program was:" >&5
    14675 sed 's/^/| /' conftest.$ac_ext >&5
    14676 
    14677         eval "$as_ac_Header=no"
    14678 fi
    14679 
    14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14681 fi
    14682 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14683                  $as_echo "$as_val"'`
    14684                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14685 $as_echo "$ac_res" >&6; }
    14686 as_val=`eval 'as_val=${'$as_ac_Header'}
    14687                  $as_echo "$as_val"'`
    14688    if test "x$as_val" = x""yes; then
     8966"
     8967if test "x$ac_cv_header_version_h" = xyes; then :
    146898968  cat >>confdefs.h <<_ACEOF
    14690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    14691 _ACEOF
    14692 
    14693 fi
    14694 
    14695 done
    14696 
     8969#define HAVE_VERSION_H 1
     8970_ACEOF
     8971
     8972fi
     8973
     8974done
    146978975
    146988976for ac_header in env.h
    14699 do
    14700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    14701 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    14702 $as_echo_n "checking for $ac_header... " >&6; }
    14703 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    14704   $as_echo_n "(cached) " >&6
    14705 else
    14706   cat >conftest.$ac_ext <<_ACEOF
    14707 /* confdefs.h.  */
    14708 _ACEOF
    14709 cat confdefs.h >>conftest.$ac_ext
    14710 cat >>conftest.$ac_ext <<_ACEOF
    14711 /* end confdefs.h.  */
    14712 
     8977do :
     8978  ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" "
    147138979#include <ruby.h>
    147148980
    14715 
    14716 #include <$ac_header>
    14717 _ACEOF
    14718 rm -f conftest.$ac_objext
    14719 if { (ac_try="$ac_compile"
    14720 case "(($ac_try" in
    14721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14722   *) ac_try_echo=$ac_try;;
    14723 esac
    14724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14725 $as_echo "$ac_try_echo") >&5
    14726   (eval "$ac_compile") 2>conftest.er1
    14727   ac_status=$?
    14728   grep -v '^ *+' conftest.er1 >conftest.err
    14729   rm -f conftest.er1
    14730   cat conftest.err >&5
    14731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14732   (exit $ac_status); } && {
    14733          test -z "$ac_cxx_werror_flag" ||
    14734          test ! -s conftest.err
    14735        } && test -s conftest.$ac_objext; then
    14736   eval "$as_ac_Header=yes"
    14737 else
    14738   $as_echo "$as_me: failed program was:" >&5
    14739 sed 's/^/| /' conftest.$ac_ext >&5
    14740 
    14741         eval "$as_ac_Header=no"
    14742 fi
    14743 
    14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14745 fi
    14746 ac_res=`eval 'as_val=${'$as_ac_Header'}
    14747                  $as_echo "$as_val"'`
    14748                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14749 $as_echo "$ac_res" >&6; }
    14750 as_val=`eval 'as_val=${'$as_ac_Header'}
    14751                  $as_echo "$as_val"'`
    14752    if test "x$as_val" = x""yes; then
     8981"
     8982if test "x$ac_cv_header_env_h" = xyes; then :
    147538983  cat >>confdefs.h <<_ACEOF
    14754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8984#define HAVE_ENV_H 1
    147558985_ACEOF
    147568986
     
    147618991
    147628992CPPFLAGS="${CPPFLAGS_save}"
    14763 
    14764 { $as_echo "$as_me:$LINENO: checking host system type" >&5
    14765 $as_echo_n "checking host system type... " >&6; }
    14766 if test "${ac_cv_host+set}" = set; then
    14767   $as_echo_n "(cached) " >&6
    14768 else
    14769   if test "x$host_alias" = x; then
    14770   ac_cv_host=$ac_cv_build
    14771 else
    14772   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    14773     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
    14774 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
    14775    { (exit 1); exit 1; }; }
    14776 fi
    14777 
    14778 fi
    14779 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    14780 $as_echo "$ac_cv_host" >&6; }
    14781 case $ac_cv_host in
    14782 *-*-*) ;;
    14783 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
    14784 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
    14785    { (exit 1); exit 1; }; };;
    14786 esac
    14787 host=$ac_cv_host
    14788 ac_save_IFS=$IFS; IFS='-'
    14789 set x $ac_cv_host
    14790 shift
    14791 host_cpu=$1
    14792 host_vendor=$2
    14793 shift; shift
    14794 # Remember, the first character of IFS is used to create $*,
    14795 # except with old shells:
    14796 host_os=$*
    14797 IFS=$ac_save_IFS
    14798 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    147998993
    148008994
     
    148219015
    148229016
    14823     { $as_echo "$as_me:$LINENO: checking how to build libraries" >&5
     9017    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
    148249018$as_echo_n "checking how to build libraries... " >&6; }
    148259019    # Check whether --enable-shared was given.
    14826 if test "${enable_shared+set}" = set; then
     9020if test "${enable_shared+set}" = set; then :
    148279021  enableval=$enable_shared; tcl_ok=$enableval
    148289022else
     
    148399033
    148409034    if test "$tcl_ok" = "yes" ; then
    14841         { $as_echo "$as_me:$LINENO: result: shared" >&5
     9035        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
    148429036$as_echo "shared" >&6; }
    148439037        SHARED_BUILD=1
    148449038    else
    14845         { $as_echo "$as_me:$LINENO: result: static" >&5
     9039        { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
    148469040$as_echo "static" >&6; }
    148479041        SHARED_BUILD=0
    14848         cat >>confdefs.h <<\_ACEOF
    14849 #define STATIC_BUILD 1
    14850 _ACEOF
     9042        $as_echo "#define STATIC_BUILD 1" >>confdefs.h
    148519043
    148529044    fi
     
    148739065# -----------------------------------------------------------------------
    148749066
    14875 
    14876  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    148779068$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    14878 if test "${ac_cv_c_bigendian+set}" = set; then
     9069if ${ac_cv_c_bigendian+:} false; then :
    148799070  $as_echo_n "(cached) " >&6
    148809071else
    148819072  ac_cv_c_bigendian=unknown
    148829073    # See if we're dealing with a universal compiler.
    14883     cat >conftest.$ac_ext <<_ACEOF
    14884 /* confdefs.h.  */
    14885 _ACEOF
    14886 cat confdefs.h >>conftest.$ac_ext
    14887 cat >>conftest.$ac_ext <<_ACEOF
     9074    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    148889075/* end confdefs.h.  */
    148899076#ifndef __APPLE_CC__
     
    148939080
    148949081_ACEOF
    14895 rm -f conftest.$ac_objext
    14896 if { (ac_try="$ac_compile"
    14897 case "(($ac_try" in
    14898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14899   *) ac_try_echo=$ac_try;;
    14900 esac
    14901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14902 $as_echo "$ac_try_echo") >&5
    14903   (eval "$ac_compile") 2>conftest.er1
    14904   ac_status=$?
    14905   grep -v '^ *+' conftest.er1 >conftest.err
    14906   rm -f conftest.er1
    14907   cat conftest.err >&5
    14908   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14909   (exit $ac_status); } && {
    14910          test -z "$ac_cxx_werror_flag" ||
    14911          test ! -s conftest.err
    14912        } && test -s conftest.$ac_objext; then
     9082if ac_fn_cxx_try_compile "$LINENO"; then :
    149139083
    149149084        # Check for potential -arch flags.  It is not universal unless
    14915         # there are some -arch flags.  Note that *ppc* also matches
    14916         # ppc64.  This check is also rather less than ideal.
    14917         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    14918           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    14919         esac
    14920 else
    14921   $as_echo "$as_me: failed program was:" >&5
    14922 sed 's/^/| /' conftest.$ac_ext >&5
    14923 
    14924 
    14925 fi
    14926 
     9085        # there are at least two -arch flags with different values.
     9086        ac_arch=
     9087        ac_prev=
     9088        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     9089         if test -n "$ac_prev"; then
     9090           case $ac_word in
     9091             i?86 | x86_64 | ppc | ppc64)
     9092               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     9093                 ac_arch=$ac_word
     9094               else
     9095                 ac_cv_c_bigendian=universal
     9096                 break
     9097               fi
     9098               ;;
     9099           esac
     9100           ac_prev=
     9101         elif test "x$ac_word" = "x-arch"; then
     9102           ac_prev=arch
     9103         fi
     9104       done
     9105fi
    149279106rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    149289107    if test $ac_cv_c_bigendian = unknown; then
    149299108      # See if sys/param.h defines the BYTE_ORDER macro.
    14930       cat >conftest.$ac_ext <<_ACEOF
    14931 /* confdefs.h.  */
    14932 _ACEOF
    14933 cat confdefs.h >>conftest.$ac_ext
    14934 cat >>conftest.$ac_ext <<_ACEOF
     9109      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    149359110/* end confdefs.h.  */
    149369111#include <sys/types.h>
     
    149509125}
    149519126_ACEOF
    14952 rm -f conftest.$ac_objext
    14953 if { (ac_try="$ac_compile"
    14954 case "(($ac_try" in
    14955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14956   *) ac_try_echo=$ac_try;;
    14957 esac
    14958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14959 $as_echo "$ac_try_echo") >&5
    14960   (eval "$ac_compile") 2>conftest.er1
    14961   ac_status=$?
    14962   grep -v '^ *+' conftest.er1 >conftest.err
    14963   rm -f conftest.er1
    14964   cat conftest.err >&5
    14965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14966   (exit $ac_status); } && {
    14967          test -z "$ac_cxx_werror_flag" ||
    14968          test ! -s conftest.err
    14969        } && test -s conftest.$ac_objext; then
     9127if ac_fn_cxx_try_compile "$LINENO"; then :
    149709128  # It does; now see whether it defined to BIG_ENDIAN or not.
    14971          cat >conftest.$ac_ext <<_ACEOF
    14972 /* confdefs.h.  */
    14973 _ACEOF
    14974 cat confdefs.h >>conftest.$ac_ext
    14975 cat >>conftest.$ac_ext <<_ACEOF
     9129         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    149769130/* end confdefs.h.  */
    149779131#include <sys/types.h>
     
    149899143}
    149909144_ACEOF
    14991 rm -f conftest.$ac_objext
    14992 if { (ac_try="$ac_compile"
    14993 case "(($ac_try" in
    14994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14995   *) ac_try_echo=$ac_try;;
    14996 esac
    14997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14998 $as_echo "$ac_try_echo") >&5
    14999   (eval "$ac_compile") 2>conftest.er1
    15000   ac_status=$?
    15001   grep -v '^ *+' conftest.er1 >conftest.err
    15002   rm -f conftest.er1
    15003   cat conftest.err >&5
    15004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15005   (exit $ac_status); } && {
    15006          test -z "$ac_cxx_werror_flag" ||
    15007          test ! -s conftest.err
    15008        } && test -s conftest.$ac_objext; then
     9145if ac_fn_cxx_try_compile "$LINENO"; then :
    150099146  ac_cv_c_bigendian=yes
    150109147else
    15011   $as_echo "$as_me: failed program was:" >&5
    15012 sed 's/^/| /' conftest.$ac_ext >&5
    15013 
    15014         ac_cv_c_bigendian=no
    15015 fi
    15016 
     9148  ac_cv_c_bigendian=no
     9149fi
    150179150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15018 else
    15019   $as_echo "$as_me: failed program was:" >&5
    15020 sed 's/^/| /' conftest.$ac_ext >&5
    15021 
    15022 
    15023 fi
    15024 
     9151fi
    150259152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    150269153    fi
    150279154    if test $ac_cv_c_bigendian = unknown; then
    150289155      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    15029       cat >conftest.$ac_ext <<_ACEOF
    15030 /* confdefs.h.  */
    15031 _ACEOF
    15032 cat confdefs.h >>conftest.$ac_ext
    15033 cat >>conftest.$ac_ext <<_ACEOF
     9156      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    150349157/* end confdefs.h.  */
    150359158#include <limits.h>
     
    150469169}
    150479170_ACEOF
    15048 rm -f conftest.$ac_objext
    15049 if { (ac_try="$ac_compile"
    15050 case "(($ac_try" in
    15051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15052   *) ac_try_echo=$ac_try;;
    15053 esac
    15054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15055 $as_echo "$ac_try_echo") >&5
    15056   (eval "$ac_compile") 2>conftest.er1
    15057   ac_status=$?
    15058   grep -v '^ *+' conftest.er1 >conftest.err
    15059   rm -f conftest.er1
    15060   cat conftest.err >&5
    15061   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15062   (exit $ac_status); } && {
    15063          test -z "$ac_cxx_werror_flag" ||
    15064          test ! -s conftest.err
    15065        } && test -s conftest.$ac_objext; then
     9171if ac_fn_cxx_try_compile "$LINENO"; then :
    150669172  # It does; now see whether it defined to _BIG_ENDIAN or not.
    15067          cat >conftest.$ac_ext <<_ACEOF
    15068 /* confdefs.h.  */
    15069 _ACEOF
    15070 cat confdefs.h >>conftest.$ac_ext
    15071 cat >>conftest.$ac_ext <<_ACEOF
     9173         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    150729174/* end confdefs.h.  */
    150739175#include <limits.h>
     
    150849186}
    150859187_ACEOF
    15086 rm -f conftest.$ac_objext
    15087 if { (ac_try="$ac_compile"
    15088 case "(($ac_try" in
    15089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15090   *) ac_try_echo=$ac_try;;
    15091 esac
    15092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15093 $as_echo "$ac_try_echo") >&5
    15094   (eval "$ac_compile") 2>conftest.er1
    15095   ac_status=$?
    15096   grep -v '^ *+' conftest.er1 >conftest.err
    15097   rm -f conftest.er1
    15098   cat conftest.err >&5
    15099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15100   (exit $ac_status); } && {
    15101          test -z "$ac_cxx_werror_flag" ||
    15102          test ! -s conftest.err
    15103        } && test -s conftest.$ac_objext; then
     9188if ac_fn_cxx_try_compile "$LINENO"; then :
    151049189  ac_cv_c_bigendian=yes
    151059190else
    15106   $as_echo "$as_me: failed program was:" >&5
    15107 sed 's/^/| /' conftest.$ac_ext >&5
    15108 
    15109         ac_cv_c_bigendian=no
    15110 fi
    15111 
     9191  ac_cv_c_bigendian=no
     9192fi
    151129193rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15113 else
    15114   $as_echo "$as_me: failed program was:" >&5
    15115 sed 's/^/| /' conftest.$ac_ext >&5
    15116 
    15117 
    15118 fi
    15119 
     9194fi
    151209195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    151219196    fi
    151229197    if test $ac_cv_c_bigendian = unknown; then
    151239198      # Compile a test program.
    15124       if test "$cross_compiling" = yes; then
     9199      if test "$cross_compiling" = yes; then :
    151259200  # Try to guess by grepping values from an object file.
    15126          cat >conftest.$ac_ext <<_ACEOF
    15127 /* confdefs.h.  */
    15128 _ACEOF
    15129 cat confdefs.h >>conftest.$ac_ext
    15130 cat >>conftest.$ac_ext <<_ACEOF
     9201         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    151319202/* end confdefs.h.  */
    151329203short int ascii_mm[] =
     
    151549225}
    151559226_ACEOF
    15156 rm -f conftest.$ac_objext
    15157 if { (ac_try="$ac_compile"
    15158 case "(($ac_try" in
    15159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15160   *) ac_try_echo=$ac_try;;
    15161 esac
    15162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15163 $as_echo "$ac_try_echo") >&5
    15164   (eval "$ac_compile") 2>conftest.er1
    15165   ac_status=$?
    15166   grep -v '^ *+' conftest.er1 >conftest.err
    15167   rm -f conftest.er1
    15168   cat conftest.err >&5
    15169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15170   (exit $ac_status); } && {
    15171          test -z "$ac_cxx_werror_flag" ||
    15172          test ! -s conftest.err
    15173        } && test -s conftest.$ac_objext; then
     9227if ac_fn_cxx_try_compile "$LINENO"; then :
    151749228  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    151759229              ac_cv_c_bigendian=yes
     
    151839237              fi
    151849238            fi
    15185 else
    15186   $as_echo "$as_me: failed program was:" >&5
    15187 sed 's/^/| /' conftest.$ac_ext >&5
    15188 
    15189 
    15190 fi
    15191 
     9239fi
    151929240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    151939241else
    15194   cat >conftest.$ac_ext <<_ACEOF
    15195 /* confdefs.h.  */
    15196 _ACEOF
    15197 cat confdefs.h >>conftest.$ac_ext
    15198 cat >>conftest.$ac_ext <<_ACEOF
     9242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    151999243/* end confdefs.h.  */
    152009244$ac_includes_default
     
    152169260}
    152179261_ACEOF
    15218 rm -f conftest$ac_exeext
    15219 if { (ac_try="$ac_link"
    15220 case "(($ac_try" in
    15221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15222   *) ac_try_echo=$ac_try;;
    15223 esac
    15224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15225 $as_echo "$ac_try_echo") >&5
    15226   (eval "$ac_link") 2>&5
    15227   ac_status=$?
    15228   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15229   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15230   { (case "(($ac_try" in
    15231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15232   *) ac_try_echo=$ac_try;;
    15233 esac
    15234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15235 $as_echo "$ac_try_echo") >&5
    15236   (eval "$ac_try") 2>&5
    15237   ac_status=$?
    15238   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15239   (exit $ac_status); }; }; then
     9262if ac_fn_cxx_try_run "$LINENO"; then :
    152409263  ac_cv_c_bigendian=no
    152419264else
    15242   $as_echo "$as_me: program exited with status $ac_status" >&5
    15243 $as_echo "$as_me: failed program was:" >&5
    15244 sed 's/^/| /' conftest.$ac_ext >&5
    15245 
    15246 ( exit $ac_status )
    15247 ac_cv_c_bigendian=yes
    15248 fi
    15249 rm -rf conftest.dSYM
    15250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15251 fi
    15252 
     9265  ac_cv_c_bigendian=yes
     9266fi
     9267rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     9268  conftest.$ac_objext conftest.beam conftest.$ac_ext
     9269fi
    152539270
    152549271    fi
    152559272fi
    15256 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     9273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    152579274$as_echo "$ac_cv_c_bigendian" >&6; }
    152589275 case $ac_cv_c_bigendian in #(
    152599276   yes)
    15260      cat >>confdefs.h <<\_ACEOF
    15261 #define WORDS_BIGENDIAN 1
    15262 _ACEOF
     9277     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    152639278;; #(
    152649279   no)
     
    152669281   universal)
    152679282
    15268 cat >>confdefs.h <<\_ACEOF
    15269 #define AC_APPLE_UNIVERSAL_BUILD 1
    15270 _ACEOF
     9283$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    152719284
    152729285     ;; #(
    152739286   *)
    15274      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    15275  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    15276 $as_echo "$as_me: error: unknown endianness
    15277  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    15278    { (exit 1); exit 1; }; } ;;
     9287     as_fn_error $? "unknown endianness
     9288 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    152799289 esac
    152809290
     
    152839293# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    152849294# This bug is HP SR number 8606223364.
    15285 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     9295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    152869296$as_echo_n "checking size of int... " >&6; }
    15287 if test "${ac_cv_sizeof_int+set}" = set; then
     9297if ${ac_cv_sizeof_int+:} false; then :
    152889298  $as_echo_n "(cached) " >&6
    152899299else
    15290   if test "$cross_compiling" = yes; then
    15291   # Depending upon the size, compute the lo and hi bounds.
    15292 cat >conftest.$ac_ext <<_ACEOF
    15293 /* confdefs.h.  */
    15294 _ACEOF
    15295 cat confdefs.h >>conftest.$ac_ext
    15296 cat >>conftest.$ac_ext <<_ACEOF
    15297 /* end confdefs.h.  */
    15298 $ac_includes_default
    15299 int
    15300 main ()
    15301 {
    15302 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
    15303 test_array [0] = 0
    15304 
    15305   ;
    15306   return 0;
    15307 }
    15308 _ACEOF
    15309 rm -f conftest.$ac_objext
    15310 if { (ac_try="$ac_compile"
    15311 case "(($ac_try" in
    15312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15313   *) ac_try_echo=$ac_try;;
    15314 esac
    15315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15316 $as_echo "$ac_try_echo") >&5
    15317   (eval "$ac_compile") 2>conftest.er1
    15318   ac_status=$?
    15319   grep -v '^ *+' conftest.er1 >conftest.err
    15320   rm -f conftest.er1
    15321   cat conftest.err >&5
    15322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15323   (exit $ac_status); } && {
    15324          test -z "$ac_cxx_werror_flag" ||
    15325          test ! -s conftest.err
    15326        } && test -s conftest.$ac_objext; then
    15327   ac_lo=0 ac_mid=0
    15328   while :; do
    15329     cat >conftest.$ac_ext <<_ACEOF
    15330 /* confdefs.h.  */
    15331 _ACEOF
    15332 cat confdefs.h >>conftest.$ac_ext
    15333 cat >>conftest.$ac_ext <<_ACEOF
    15334 /* end confdefs.h.  */
    15335 $ac_includes_default
    15336 int
    15337 main ()
    15338 {
    15339 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    15340 test_array [0] = 0
    15341 
    15342   ;
    15343   return 0;
    15344 }
    15345 _ACEOF
    15346 rm -f conftest.$ac_objext
    15347 if { (ac_try="$ac_compile"
    15348 case "(($ac_try" in
    15349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15350   *) ac_try_echo=$ac_try;;
    15351 esac
    15352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15353 $as_echo "$ac_try_echo") >&5
    15354   (eval "$ac_compile") 2>conftest.er1
    15355   ac_status=$?
    15356   grep -v '^ *+' conftest.er1 >conftest.err
    15357   rm -f conftest.er1
    15358   cat conftest.err >&5
    15359   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15360   (exit $ac_status); } && {
    15361          test -z "$ac_cxx_werror_flag" ||
    15362          test ! -s conftest.err
    15363        } && test -s conftest.$ac_objext; then
    15364   ac_hi=$ac_mid; break
    15365 else
    15366   $as_echo "$as_me: failed program was:" >&5
    15367 sed 's/^/| /' conftest.$ac_ext >&5
    15368 
    15369         ac_lo=`expr $ac_mid + 1`
    15370                         if test $ac_lo -le $ac_mid; then
    15371                           ac_lo= ac_hi=
    15372                           break
    15373                         fi
    15374                         ac_mid=`expr 2 '*' $ac_mid + 1`
    15375 fi
    15376 
    15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15378   done
    15379 else
    15380   $as_echo "$as_me: failed program was:" >&5
    15381 sed 's/^/| /' conftest.$ac_ext >&5
    15382 
    15383         cat >conftest.$ac_ext <<_ACEOF
    15384 /* confdefs.h.  */
    15385 _ACEOF
    15386 cat confdefs.h >>conftest.$ac_ext
    15387 cat >>conftest.$ac_ext <<_ACEOF
    15388 /* end confdefs.h.  */
    15389 $ac_includes_default
    15390 int
    15391 main ()
    15392 {
    15393 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
    15394 test_array [0] = 0
    15395 
    15396   ;
    15397   return 0;
    15398 }
    15399 _ACEOF
    15400 rm -f conftest.$ac_objext
    15401 if { (ac_try="$ac_compile"
    15402 case "(($ac_try" in
    15403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15404   *) ac_try_echo=$ac_try;;
    15405 esac
    15406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15407 $as_echo "$ac_try_echo") >&5
    15408   (eval "$ac_compile") 2>conftest.er1
    15409   ac_status=$?
    15410   grep -v '^ *+' conftest.er1 >conftest.err
    15411   rm -f conftest.er1
    15412   cat conftest.err >&5
    15413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15414   (exit $ac_status); } && {
    15415          test -z "$ac_cxx_werror_flag" ||
    15416          test ! -s conftest.err
    15417        } && test -s conftest.$ac_objext; then
    15418   ac_hi=-1 ac_mid=-1
    15419   while :; do
    15420     cat >conftest.$ac_ext <<_ACEOF
    15421 /* confdefs.h.  */
    15422 _ACEOF
    15423 cat confdefs.h >>conftest.$ac_ext
    15424 cat >>conftest.$ac_ext <<_ACEOF
    15425 /* end confdefs.h.  */
    15426 $ac_includes_default
    15427 int
    15428 main ()
    15429 {
    15430 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
    15431 test_array [0] = 0
    15432 
    15433   ;
    15434   return 0;
    15435 }
    15436 _ACEOF
    15437 rm -f conftest.$ac_objext
    15438 if { (ac_try="$ac_compile"
    15439 case "(($ac_try" in
    15440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15441   *) ac_try_echo=$ac_try;;
    15442 esac
    15443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15444 $as_echo "$ac_try_echo") >&5
    15445   (eval "$ac_compile") 2>conftest.er1
    15446   ac_status=$?
    15447   grep -v '^ *+' conftest.er1 >conftest.err
    15448   rm -f conftest.er1
    15449   cat conftest.err >&5
    15450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15451   (exit $ac_status); } && {
    15452          test -z "$ac_cxx_werror_flag" ||
    15453          test ! -s conftest.err
    15454        } && test -s conftest.$ac_objext; then
    15455   ac_lo=$ac_mid; break
    15456 else
    15457   $as_echo "$as_me: failed program was:" >&5
    15458 sed 's/^/| /' conftest.$ac_ext >&5
    15459 
    15460         ac_hi=`expr '(' $ac_mid ')' - 1`
    15461                         if test $ac_mid -le $ac_hi; then
    15462                           ac_lo= ac_hi=
    15463                           break
    15464                         fi
    15465                         ac_mid=`expr 2 '*' $ac_mid`
    15466 fi
    15467 
    15468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15469   done
    15470 else
    15471   $as_echo "$as_me: failed program was:" >&5
    15472 sed 's/^/| /' conftest.$ac_ext >&5
    15473 
    15474         ac_lo= ac_hi=
    15475 fi
    15476 
    15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15478 fi
    15479 
    15480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15481 # Binary search between lo and hi bounds.
    15482 while test "x$ac_lo" != "x$ac_hi"; do
    15483   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    15484   cat >conftest.$ac_ext <<_ACEOF
    15485 /* confdefs.h.  */
    15486 _ACEOF
    15487 cat confdefs.h >>conftest.$ac_ext
    15488 cat >>conftest.$ac_ext <<_ACEOF
    15489 /* end confdefs.h.  */
    15490 $ac_includes_default
    15491 int
    15492 main ()
    15493 {
    15494 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    15495 test_array [0] = 0
    15496 
    15497   ;
    15498   return 0;
    15499 }
    15500 _ACEOF
    15501 rm -f conftest.$ac_objext
    15502 if { (ac_try="$ac_compile"
    15503 case "(($ac_try" in
    15504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15505   *) ac_try_echo=$ac_try;;
    15506 esac
    15507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15508 $as_echo "$ac_try_echo") >&5
    15509   (eval "$ac_compile") 2>conftest.er1
    15510   ac_status=$?
    15511   grep -v '^ *+' conftest.er1 >conftest.err
    15512   rm -f conftest.er1
    15513   cat conftest.err >&5
    15514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15515   (exit $ac_status); } && {
    15516          test -z "$ac_cxx_werror_flag" ||
    15517          test ! -s conftest.err
    15518        } && test -s conftest.$ac_objext; then
    15519   ac_hi=$ac_mid
    15520 else
    15521   $as_echo "$as_me: failed program was:" >&5
    15522 sed 's/^/| /' conftest.$ac_ext >&5
    15523 
    15524         ac_lo=`expr '(' $ac_mid ')' + 1`
    15525 fi
    15526 
    15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15528 done
    15529 case $ac_lo in
    15530 ?*) ac_cv_sizeof_int=$ac_lo;;
    15531 '') if test "$ac_cv_type_int" = yes; then
    15532      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9300  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     9301
     9302else
     9303  if test "$ac_cv_type_int" = yes; then
     9304     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    155339305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15534 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    15535 See \`config.log' for more details." >&5
    15536 $as_echo "$as_me: error: cannot compute sizeof (int)
    15537 See \`config.log' for more details." >&2;}
    15538    { (exit 77); exit 77; }; }; }
    15539    else
    15540      ac_cv_sizeof_int=0
    15541    fi ;;
    15542 esac
    15543 else
    15544   cat >conftest.$ac_ext <<_ACEOF
    15545 /* confdefs.h.  */
    15546 _ACEOF
    15547 cat confdefs.h >>conftest.$ac_ext
    15548 cat >>conftest.$ac_ext <<_ACEOF
    15549 /* end confdefs.h.  */
    15550 $ac_includes_default
    15551 static long int longval () { return (long int) (sizeof (int)); }
    15552 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
    15553 #include <stdio.h>
    15554 #include <stdlib.h>
    15555 int
    15556 main ()
    15557 {
    15558 
    15559   FILE *f = fopen ("conftest.val", "w");
    15560   if (! f)
    15561     return 1;
    15562   if (((long int) (sizeof (int))) < 0)
    15563     {
    15564       long int i = longval ();
    15565       if (i != ((long int) (sizeof (int))))
    15566         return 1;
    15567       fprintf (f, "%ld", i);
    15568     }
    15569   else
    15570     {
    15571       unsigned long int i = ulongval ();
    15572       if (i != ((long int) (sizeof (int))))
    15573         return 1;
    15574       fprintf (f, "%lu", i);
    15575     }
    15576   /* Do not output a trailing newline, as this causes \r\n confusion
    15577      on some platforms.  */
    15578   return ferror (f) || fclose (f) != 0;
    15579 
    15580   ;
    15581   return 0;
    15582 }
    15583 _ACEOF
    15584 rm -f conftest$ac_exeext
    15585 if { (ac_try="$ac_link"
    15586 case "(($ac_try" in
    15587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15588   *) ac_try_echo=$ac_try;;
    15589 esac
    15590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15591 $as_echo "$ac_try_echo") >&5
    15592   (eval "$ac_link") 2>&5
    15593   ac_status=$?
    15594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15595   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15596   { (case "(($ac_try" in
    15597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15598   *) ac_try_echo=$ac_try;;
    15599 esac
    15600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15601 $as_echo "$ac_try_echo") >&5
    15602   (eval "$ac_try") 2>&5
    15603   ac_status=$?
    15604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15605   (exit $ac_status); }; }; then
    15606   ac_cv_sizeof_int=`cat conftest.val`
    15607 else
    15608   $as_echo "$as_me: program exited with status $ac_status" >&5
    15609 $as_echo "$as_me: failed program was:" >&5
    15610 sed 's/^/| /' conftest.$ac_ext >&5
    15611 
    15612 ( exit $ac_status )
    15613 if test "$ac_cv_type_int" = yes; then
    15614      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    15615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15616 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    15617 See \`config.log' for more details." >&5
    15618 $as_echo "$as_me: error: cannot compute sizeof (int)
    15619 See \`config.log' for more details." >&2;}
    15620    { (exit 77); exit 77; }; }; }
     9306as_fn_error 77 "cannot compute sizeof (int)
     9307See \`config.log' for more details" "$LINENO" 5; }
    156219308   else
    156229309     ac_cv_sizeof_int=0
    156239310   fi
    156249311fi
    15625 rm -rf conftest.dSYM
    15626 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15627 fi
    15628 rm -f conftest.val
    15629 fi
    15630 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
     9312
     9313fi
     9314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    156319315$as_echo "$ac_cv_sizeof_int" >&6; }
    156329316
     
    156429326# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    156439327# This bug is HP SR number 8606223364.
    15644 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     9328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    156459329$as_echo_n "checking size of long... " >&6; }
    15646 if test "${ac_cv_sizeof_long+set}" = set; then
     9330if ${ac_cv_sizeof_long+:} false; then :
    156479331  $as_echo_n "(cached) " >&6
    156489332else
    15649   if test "$cross_compiling" = yes; then
    15650   # Depending upon the size, compute the lo and hi bounds.
    15651 cat >conftest.$ac_ext <<_ACEOF
    15652 /* confdefs.h.  */
    15653 _ACEOF
    15654 cat confdefs.h >>conftest.$ac_ext
    15655 cat >>conftest.$ac_ext <<_ACEOF
    15656 /* end confdefs.h.  */
    15657 $ac_includes_default
    15658 int
    15659 main ()
    15660 {
    15661 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
    15662 test_array [0] = 0
    15663 
    15664   ;
    15665   return 0;
    15666 }
    15667 _ACEOF
    15668 rm -f conftest.$ac_objext
    15669 if { (ac_try="$ac_compile"
    15670 case "(($ac_try" in
    15671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15672   *) ac_try_echo=$ac_try;;
    15673 esac
    15674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15675 $as_echo "$ac_try_echo") >&5
    15676   (eval "$ac_compile") 2>conftest.er1
    15677   ac_status=$?
    15678   grep -v '^ *+' conftest.er1 >conftest.err
    15679   rm -f conftest.er1
    15680   cat conftest.err >&5
    15681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15682   (exit $ac_status); } && {
    15683          test -z "$ac_cxx_werror_flag" ||
    15684          test ! -s conftest.err
    15685        } && test -s conftest.$ac_objext; then
    15686   ac_lo=0 ac_mid=0
    15687   while :; do
    15688     cat >conftest.$ac_ext <<_ACEOF
    15689 /* confdefs.h.  */
    15690 _ACEOF
    15691 cat confdefs.h >>conftest.$ac_ext
    15692 cat >>conftest.$ac_ext <<_ACEOF
    15693 /* end confdefs.h.  */
    15694 $ac_includes_default
    15695 int
    15696 main ()
    15697 {
    15698 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    15699 test_array [0] = 0
    15700 
    15701   ;
    15702   return 0;
    15703 }
    15704 _ACEOF
    15705 rm -f conftest.$ac_objext
    15706 if { (ac_try="$ac_compile"
    15707 case "(($ac_try" in
    15708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15709   *) ac_try_echo=$ac_try;;
    15710 esac
    15711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15712 $as_echo "$ac_try_echo") >&5
    15713   (eval "$ac_compile") 2>conftest.er1
    15714   ac_status=$?
    15715   grep -v '^ *+' conftest.er1 >conftest.err
    15716   rm -f conftest.er1
    15717   cat conftest.err >&5
    15718   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15719   (exit $ac_status); } && {
    15720          test -z "$ac_cxx_werror_flag" ||
    15721          test ! -s conftest.err
    15722        } && test -s conftest.$ac_objext; then
    15723   ac_hi=$ac_mid; break
    15724 else
    15725   $as_echo "$as_me: failed program was:" >&5
    15726 sed 's/^/| /' conftest.$ac_ext >&5
    15727 
    15728         ac_lo=`expr $ac_mid + 1`
    15729                         if test $ac_lo -le $ac_mid; then
    15730                           ac_lo= ac_hi=
    15731                           break
    15732                         fi
    15733                         ac_mid=`expr 2 '*' $ac_mid + 1`
    15734 fi
    15735 
    15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15737   done
    15738 else
    15739   $as_echo "$as_me: failed program was:" >&5
    15740 sed 's/^/| /' conftest.$ac_ext >&5
    15741 
    15742         cat >conftest.$ac_ext <<_ACEOF
    15743 /* confdefs.h.  */
    15744 _ACEOF
    15745 cat confdefs.h >>conftest.$ac_ext
    15746 cat >>conftest.$ac_ext <<_ACEOF
    15747 /* end confdefs.h.  */
    15748 $ac_includes_default
    15749 int
    15750 main ()
    15751 {
    15752 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
    15753 test_array [0] = 0
    15754 
    15755   ;
    15756   return 0;
    15757 }
    15758 _ACEOF
    15759 rm -f conftest.$ac_objext
    15760 if { (ac_try="$ac_compile"
    15761 case "(($ac_try" in
    15762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15763   *) ac_try_echo=$ac_try;;
    15764 esac
    15765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15766 $as_echo "$ac_try_echo") >&5
    15767   (eval "$ac_compile") 2>conftest.er1
    15768   ac_status=$?
    15769   grep -v '^ *+' conftest.er1 >conftest.err
    15770   rm -f conftest.er1
    15771   cat conftest.err >&5
    15772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15773   (exit $ac_status); } && {
    15774          test -z "$ac_cxx_werror_flag" ||
    15775          test ! -s conftest.err
    15776        } && test -s conftest.$ac_objext; then
    15777   ac_hi=-1 ac_mid=-1
    15778   while :; do
    15779     cat >conftest.$ac_ext <<_ACEOF
    15780 /* confdefs.h.  */
    15781 _ACEOF
    15782 cat confdefs.h >>conftest.$ac_ext
    15783 cat >>conftest.$ac_ext <<_ACEOF
    15784 /* end confdefs.h.  */
    15785 $ac_includes_default
    15786 int
    15787 main ()
    15788 {
    15789 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
    15790 test_array [0] = 0
    15791 
    15792   ;
    15793   return 0;
    15794 }
    15795 _ACEOF
    15796 rm -f conftest.$ac_objext
    15797 if { (ac_try="$ac_compile"
    15798 case "(($ac_try" in
    15799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15800   *) ac_try_echo=$ac_try;;
    15801 esac
    15802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15803 $as_echo "$ac_try_echo") >&5
    15804   (eval "$ac_compile") 2>conftest.er1
    15805   ac_status=$?
    15806   grep -v '^ *+' conftest.er1 >conftest.err
    15807   rm -f conftest.er1
    15808   cat conftest.err >&5
    15809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15810   (exit $ac_status); } && {
    15811          test -z "$ac_cxx_werror_flag" ||
    15812          test ! -s conftest.err
    15813        } && test -s conftest.$ac_objext; then
    15814   ac_lo=$ac_mid; break
    15815 else
    15816   $as_echo "$as_me: failed program was:" >&5
    15817 sed 's/^/| /' conftest.$ac_ext >&5
    15818 
    15819         ac_hi=`expr '(' $ac_mid ')' - 1`
    15820                         if test $ac_mid -le $ac_hi; then
    15821                           ac_lo= ac_hi=
    15822                           break
    15823                         fi
    15824                         ac_mid=`expr 2 '*' $ac_mid`
    15825 fi
    15826 
    15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15828   done
    15829 else
    15830   $as_echo "$as_me: failed program was:" >&5
    15831 sed 's/^/| /' conftest.$ac_ext >&5
    15832 
    15833         ac_lo= ac_hi=
    15834 fi
    15835 
    15836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15837 fi
    15838 
    15839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15840 # Binary search between lo and hi bounds.
    15841 while test "x$ac_lo" != "x$ac_hi"; do
    15842   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    15843   cat >conftest.$ac_ext <<_ACEOF
    15844 /* confdefs.h.  */
    15845 _ACEOF
    15846 cat confdefs.h >>conftest.$ac_ext
    15847 cat >>conftest.$ac_ext <<_ACEOF
    15848 /* end confdefs.h.  */
    15849 $ac_includes_default
    15850 int
    15851 main ()
    15852 {
    15853 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    15854 test_array [0] = 0
    15855 
    15856   ;
    15857   return 0;
    15858 }
    15859 _ACEOF
    15860 rm -f conftest.$ac_objext
    15861 if { (ac_try="$ac_compile"
    15862 case "(($ac_try" in
    15863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15864   *) ac_try_echo=$ac_try;;
    15865 esac
    15866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15867 $as_echo "$ac_try_echo") >&5
    15868   (eval "$ac_compile") 2>conftest.er1
    15869   ac_status=$?
    15870   grep -v '^ *+' conftest.er1 >conftest.err
    15871   rm -f conftest.er1
    15872   cat conftest.err >&5
    15873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15874   (exit $ac_status); } && {
    15875          test -z "$ac_cxx_werror_flag" ||
    15876          test ! -s conftest.err
    15877        } && test -s conftest.$ac_objext; then
    15878   ac_hi=$ac_mid
    15879 else
    15880   $as_echo "$as_me: failed program was:" >&5
    15881 sed 's/^/| /' conftest.$ac_ext >&5
    15882 
    15883         ac_lo=`expr '(' $ac_mid ')' + 1`
    15884 fi
    15885 
    15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15887 done
    15888 case $ac_lo in
    15889 ?*) ac_cv_sizeof_long=$ac_lo;;
    15890 '') if test "$ac_cv_type_long" = yes; then
    15891      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9333  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     9334
     9335else
     9336  if test "$ac_cv_type_long" = yes; then
     9337     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    158929338$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15893 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    15894 See \`config.log' for more details." >&5
    15895 $as_echo "$as_me: error: cannot compute sizeof (long)
    15896 See \`config.log' for more details." >&2;}
    15897    { (exit 77); exit 77; }; }; }
    15898    else
    15899      ac_cv_sizeof_long=0
    15900    fi ;;
    15901 esac
    15902 else
    15903   cat >conftest.$ac_ext <<_ACEOF
    15904 /* confdefs.h.  */
    15905 _ACEOF
    15906 cat confdefs.h >>conftest.$ac_ext
    15907 cat >>conftest.$ac_ext <<_ACEOF
    15908 /* end confdefs.h.  */
    15909 $ac_includes_default
    15910 static long int longval () { return (long int) (sizeof (long)); }
    15911 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
    15912 #include <stdio.h>
    15913 #include <stdlib.h>
    15914 int
    15915 main ()
    15916 {
    15917 
    15918   FILE *f = fopen ("conftest.val", "w");
    15919   if (! f)
    15920     return 1;
    15921   if (((long int) (sizeof (long))) < 0)
    15922     {
    15923       long int i = longval ();
    15924       if (i != ((long int) (sizeof (long))))
    15925         return 1;
    15926       fprintf (f, "%ld", i);
    15927     }
    15928   else
    15929     {
    15930       unsigned long int i = ulongval ();
    15931       if (i != ((long int) (sizeof (long))))
    15932         return 1;
    15933       fprintf (f, "%lu", i);
    15934     }
    15935   /* Do not output a trailing newline, as this causes \r\n confusion
    15936      on some platforms.  */
    15937   return ferror (f) || fclose (f) != 0;
    15938 
    15939   ;
    15940   return 0;
    15941 }
    15942 _ACEOF
    15943 rm -f conftest$ac_exeext
    15944 if { (ac_try="$ac_link"
    15945 case "(($ac_try" in
    15946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15947   *) ac_try_echo=$ac_try;;
    15948 esac
    15949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15950 $as_echo "$ac_try_echo") >&5
    15951   (eval "$ac_link") 2>&5
    15952   ac_status=$?
    15953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15954   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15955   { (case "(($ac_try" in
    15956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15957   *) ac_try_echo=$ac_try;;
    15958 esac
    15959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15960 $as_echo "$ac_try_echo") >&5
    15961   (eval "$ac_try") 2>&5
    15962   ac_status=$?
    15963   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15964   (exit $ac_status); }; }; then
    15965   ac_cv_sizeof_long=`cat conftest.val`
    15966 else
    15967   $as_echo "$as_me: program exited with status $ac_status" >&5
    15968 $as_echo "$as_me: failed program was:" >&5
    15969 sed 's/^/| /' conftest.$ac_ext >&5
    15970 
    15971 ( exit $ac_status )
    15972 if test "$ac_cv_type_long" = yes; then
    15973      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    15974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15975 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    15976 See \`config.log' for more details." >&5
    15977 $as_echo "$as_me: error: cannot compute sizeof (long)
    15978 See \`config.log' for more details." >&2;}
    15979    { (exit 77); exit 77; }; }; }
     9339as_fn_error 77 "cannot compute sizeof (long)
     9340See \`config.log' for more details" "$LINENO" 5; }
    159809341   else
    159819342     ac_cv_sizeof_long=0
    159829343   fi
    159839344fi
    15984 rm -rf conftest.dSYM
    15985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15986 fi
    15987 rm -f conftest.val
    15988 fi
    15989 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
     9345
     9346fi
     9347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    159909348$as_echo "$ac_cv_sizeof_long" >&6; }
    159919349
     
    160019359# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    160029360# This bug is HP SR number 8606223364.
    16003 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     9361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    160049362$as_echo_n "checking size of long long... " >&6; }
    16005 if test "${ac_cv_sizeof_long_long+set}" = set; then
     9363if ${ac_cv_sizeof_long_long+:} false; then :
    160069364  $as_echo_n "(cached) " >&6
    160079365else
    16008   if test "$cross_compiling" = yes; then
    16009   # Depending upon the size, compute the lo and hi bounds.
    16010 cat >conftest.$ac_ext <<_ACEOF
    16011 /* confdefs.h.  */
    16012 _ACEOF
    16013 cat confdefs.h >>conftest.$ac_ext
    16014 cat >>conftest.$ac_ext <<_ACEOF
    16015 /* end confdefs.h.  */
    16016 $ac_includes_default
    16017 int
    16018 main ()
    16019 {
    16020 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
    16021 test_array [0] = 0
    16022 
    16023   ;
    16024   return 0;
    16025 }
    16026 _ACEOF
    16027 rm -f conftest.$ac_objext
    16028 if { (ac_try="$ac_compile"
    16029 case "(($ac_try" in
    16030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16031   *) ac_try_echo=$ac_try;;
    16032 esac
    16033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16034 $as_echo "$ac_try_echo") >&5
    16035   (eval "$ac_compile") 2>conftest.er1
    16036   ac_status=$?
    16037   grep -v '^ *+' conftest.er1 >conftest.err
    16038   rm -f conftest.er1
    16039   cat conftest.err >&5
    16040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16041   (exit $ac_status); } && {
    16042          test -z "$ac_cxx_werror_flag" ||
    16043          test ! -s conftest.err
    16044        } && test -s conftest.$ac_objext; then
    16045   ac_lo=0 ac_mid=0
    16046   while :; do
    16047     cat >conftest.$ac_ext <<_ACEOF
    16048 /* confdefs.h.  */
    16049 _ACEOF
    16050 cat confdefs.h >>conftest.$ac_ext
    16051 cat >>conftest.$ac_ext <<_ACEOF
    16052 /* end confdefs.h.  */
    16053 $ac_includes_default
    16054 int
    16055 main ()
    16056 {
    16057 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    16058 test_array [0] = 0
    16059 
    16060   ;
    16061   return 0;
    16062 }
    16063 _ACEOF
    16064 rm -f conftest.$ac_objext
    16065 if { (ac_try="$ac_compile"
    16066 case "(($ac_try" in
    16067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16068   *) ac_try_echo=$ac_try;;
    16069 esac
    16070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16071 $as_echo "$ac_try_echo") >&5
    16072   (eval "$ac_compile") 2>conftest.er1
    16073   ac_status=$?
    16074   grep -v '^ *+' conftest.er1 >conftest.err
    16075   rm -f conftest.er1
    16076   cat conftest.err >&5
    16077   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16078   (exit $ac_status); } && {
    16079          test -z "$ac_cxx_werror_flag" ||
    16080          test ! -s conftest.err
    16081        } && test -s conftest.$ac_objext; then
    16082   ac_hi=$ac_mid; break
    16083 else
    16084   $as_echo "$as_me: failed program was:" >&5
    16085 sed 's/^/| /' conftest.$ac_ext >&5
    16086 
    16087         ac_lo=`expr $ac_mid + 1`
    16088                         if test $ac_lo -le $ac_mid; then
    16089                           ac_lo= ac_hi=
    16090                           break
    16091                         fi
    16092                         ac_mid=`expr 2 '*' $ac_mid + 1`
    16093 fi
    16094 
    16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16096   done
    16097 else
    16098   $as_echo "$as_me: failed program was:" >&5
    16099 sed 's/^/| /' conftest.$ac_ext >&5
    16100 
    16101         cat >conftest.$ac_ext <<_ACEOF
    16102 /* confdefs.h.  */
    16103 _ACEOF
    16104 cat confdefs.h >>conftest.$ac_ext
    16105 cat >>conftest.$ac_ext <<_ACEOF
    16106 /* end confdefs.h.  */
    16107 $ac_includes_default
    16108 int
    16109 main ()
    16110 {
    16111 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
    16112 test_array [0] = 0
    16113 
    16114   ;
    16115   return 0;
    16116 }
    16117 _ACEOF
    16118 rm -f conftest.$ac_objext
    16119 if { (ac_try="$ac_compile"
    16120 case "(($ac_try" in
    16121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16122   *) ac_try_echo=$ac_try;;
    16123 esac
    16124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16125 $as_echo "$ac_try_echo") >&5
    16126   (eval "$ac_compile") 2>conftest.er1
    16127   ac_status=$?
    16128   grep -v '^ *+' conftest.er1 >conftest.err
    16129   rm -f conftest.er1
    16130   cat conftest.err >&5
    16131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16132   (exit $ac_status); } && {
    16133          test -z "$ac_cxx_werror_flag" ||
    16134          test ! -s conftest.err
    16135        } && test -s conftest.$ac_objext; then
    16136   ac_hi=-1 ac_mid=-1
    16137   while :; do
    16138     cat >conftest.$ac_ext <<_ACEOF
    16139 /* confdefs.h.  */
    16140 _ACEOF
    16141 cat confdefs.h >>conftest.$ac_ext
    16142 cat >>conftest.$ac_ext <<_ACEOF
    16143 /* end confdefs.h.  */
    16144 $ac_includes_default
    16145 int
    16146 main ()
    16147 {
    16148 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
    16149 test_array [0] = 0
    16150 
    16151   ;
    16152   return 0;
    16153 }
    16154 _ACEOF
    16155 rm -f conftest.$ac_objext
    16156 if { (ac_try="$ac_compile"
    16157 case "(($ac_try" in
    16158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16159   *) ac_try_echo=$ac_try;;
    16160 esac
    16161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16162 $as_echo "$ac_try_echo") >&5
    16163   (eval "$ac_compile") 2>conftest.er1
    16164   ac_status=$?
    16165   grep -v '^ *+' conftest.er1 >conftest.err
    16166   rm -f conftest.er1
    16167   cat conftest.err >&5
    16168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16169   (exit $ac_status); } && {
    16170          test -z "$ac_cxx_werror_flag" ||
    16171          test ! -s conftest.err
    16172        } && test -s conftest.$ac_objext; then
    16173   ac_lo=$ac_mid; break
    16174 else
    16175   $as_echo "$as_me: failed program was:" >&5
    16176 sed 's/^/| /' conftest.$ac_ext >&5
    16177 
    16178         ac_hi=`expr '(' $ac_mid ')' - 1`
    16179                         if test $ac_mid -le $ac_hi; then
    16180                           ac_lo= ac_hi=
    16181                           break
    16182                         fi
    16183                         ac_mid=`expr 2 '*' $ac_mid`
    16184 fi
    16185 
    16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16187   done
    16188 else
    16189   $as_echo "$as_me: failed program was:" >&5
    16190 sed 's/^/| /' conftest.$ac_ext >&5
    16191 
    16192         ac_lo= ac_hi=
    16193 fi
    16194 
    16195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16196 fi
    16197 
    16198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16199 # Binary search between lo and hi bounds.
    16200 while test "x$ac_lo" != "x$ac_hi"; do
    16201   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    16202   cat >conftest.$ac_ext <<_ACEOF
    16203 /* confdefs.h.  */
    16204 _ACEOF
    16205 cat confdefs.h >>conftest.$ac_ext
    16206 cat >>conftest.$ac_ext <<_ACEOF
    16207 /* end confdefs.h.  */
    16208 $ac_includes_default
    16209 int
    16210 main ()
    16211 {
    16212 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    16213 test_array [0] = 0
    16214 
    16215   ;
    16216   return 0;
    16217 }
    16218 _ACEOF
    16219 rm -f conftest.$ac_objext
    16220 if { (ac_try="$ac_compile"
    16221 case "(($ac_try" in
    16222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16223   *) ac_try_echo=$ac_try;;
    16224 esac
    16225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16226 $as_echo "$ac_try_echo") >&5
    16227   (eval "$ac_compile") 2>conftest.er1
    16228   ac_status=$?
    16229   grep -v '^ *+' conftest.er1 >conftest.err
    16230   rm -f conftest.er1
    16231   cat conftest.err >&5
    16232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16233   (exit $ac_status); } && {
    16234          test -z "$ac_cxx_werror_flag" ||
    16235          test ! -s conftest.err
    16236        } && test -s conftest.$ac_objext; then
    16237   ac_hi=$ac_mid
    16238 else
    16239   $as_echo "$as_me: failed program was:" >&5
    16240 sed 's/^/| /' conftest.$ac_ext >&5
    16241 
    16242         ac_lo=`expr '(' $ac_mid ')' + 1`
    16243 fi
    16244 
    16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16246 done
    16247 case $ac_lo in
    16248 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    16249 '') if test "$ac_cv_type_long_long" = yes; then
    16250      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9366  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     9367
     9368else
     9369  if test "$ac_cv_type_long_long" = yes; then
     9370     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    162519371$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16252 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    16253 See \`config.log' for more details." >&5
    16254 $as_echo "$as_me: error: cannot compute sizeof (long long)
    16255 See \`config.log' for more details." >&2;}
    16256    { (exit 77); exit 77; }; }; }
    16257    else
    16258      ac_cv_sizeof_long_long=0
    16259    fi ;;
    16260 esac
    16261 else
    16262   cat >conftest.$ac_ext <<_ACEOF
    16263 /* confdefs.h.  */
    16264 _ACEOF
    16265 cat confdefs.h >>conftest.$ac_ext
    16266 cat >>conftest.$ac_ext <<_ACEOF
    16267 /* end confdefs.h.  */
    16268 $ac_includes_default
    16269 static long int longval () { return (long int) (sizeof (long long)); }
    16270 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
    16271 #include <stdio.h>
    16272 #include <stdlib.h>
    16273 int
    16274 main ()
    16275 {
    16276 
    16277   FILE *f = fopen ("conftest.val", "w");
    16278   if (! f)
    16279     return 1;
    16280   if (((long int) (sizeof (long long))) < 0)
    16281     {
    16282       long int i = longval ();
    16283       if (i != ((long int) (sizeof (long long))))
    16284         return 1;
    16285       fprintf (f, "%ld", i);
    16286     }
    16287   else
    16288     {
    16289       unsigned long int i = ulongval ();
    16290       if (i != ((long int) (sizeof (long long))))
    16291         return 1;
    16292       fprintf (f, "%lu", i);
    16293     }
    16294   /* Do not output a trailing newline, as this causes \r\n confusion
    16295      on some platforms.  */
    16296   return ferror (f) || fclose (f) != 0;
    16297 
    16298   ;
    16299   return 0;
    16300 }
    16301 _ACEOF
    16302 rm -f conftest$ac_exeext
    16303 if { (ac_try="$ac_link"
    16304 case "(($ac_try" in
    16305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16306   *) ac_try_echo=$ac_try;;
    16307 esac
    16308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16309 $as_echo "$ac_try_echo") >&5
    16310   (eval "$ac_link") 2>&5
    16311   ac_status=$?
    16312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16313   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    16314   { (case "(($ac_try" in
    16315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16316   *) ac_try_echo=$ac_try;;
    16317 esac
    16318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16319 $as_echo "$ac_try_echo") >&5
    16320   (eval "$ac_try") 2>&5
    16321   ac_status=$?
    16322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16323   (exit $ac_status); }; }; then
    16324   ac_cv_sizeof_long_long=`cat conftest.val`
    16325 else
    16326   $as_echo "$as_me: program exited with status $ac_status" >&5
    16327 $as_echo "$as_me: failed program was:" >&5
    16328 sed 's/^/| /' conftest.$ac_ext >&5
    16329 
    16330 ( exit $ac_status )
    16331 if test "$ac_cv_type_long_long" = yes; then
    16332      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    16333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16334 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    16335 See \`config.log' for more details." >&5
    16336 $as_echo "$as_me: error: cannot compute sizeof (long long)
    16337 See \`config.log' for more details." >&2;}
    16338    { (exit 77); exit 77; }; }; }
     9372as_fn_error 77 "cannot compute sizeof (long long)
     9373See \`config.log' for more details" "$LINENO" 5; }
    163399374   else
    163409375     ac_cv_sizeof_long_long=0
    163419376   fi
    163429377fi
    16343 rm -rf conftest.dSYM
    16344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    16345 fi
    16346 rm -f conftest.val
    16347 fi
    16348 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
     9378
     9379fi
     9380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    163499381$as_echo "$ac_cv_sizeof_long_long" >&6; }
    163509382
     
    163609392# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    163619393# This bug is HP SR number 8606223364.
    16362 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     9394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    163639395$as_echo_n "checking size of void *... " >&6; }
    16364 if test "${ac_cv_sizeof_void_p+set}" = set; then
     9396if ${ac_cv_sizeof_void_p+:} false; then :
    163659397  $as_echo_n "(cached) " >&6
    163669398else
    16367   if test "$cross_compiling" = yes; then
    16368   # Depending upon the size, compute the lo and hi bounds.
    16369 cat >conftest.$ac_ext <<_ACEOF
    16370 /* confdefs.h.  */
    16371 _ACEOF
    16372 cat confdefs.h >>conftest.$ac_ext
    16373 cat >>conftest.$ac_ext <<_ACEOF
    16374 /* end confdefs.h.  */
    16375 $ac_includes_default
    16376 int
    16377 main ()
    16378 {
    16379 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
    16380 test_array [0] = 0
    16381 
    16382   ;
    16383   return 0;
    16384 }
    16385 _ACEOF
    16386 rm -f conftest.$ac_objext
    16387 if { (ac_try="$ac_compile"
    16388 case "(($ac_try" in
    16389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16390   *) ac_try_echo=$ac_try;;
    16391 esac
    16392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16393 $as_echo "$ac_try_echo") >&5
    16394   (eval "$ac_compile") 2>conftest.er1
    16395   ac_status=$?
    16396   grep -v '^ *+' conftest.er1 >conftest.err
    16397   rm -f conftest.er1
    16398   cat conftest.err >&5
    16399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16400   (exit $ac_status); } && {
    16401          test -z "$ac_cxx_werror_flag" ||
    16402          test ! -s conftest.err
    16403        } && test -s conftest.$ac_objext; then
    16404   ac_lo=0 ac_mid=0
    16405   while :; do
    16406     cat >conftest.$ac_ext <<_ACEOF
    16407 /* confdefs.h.  */
    16408 _ACEOF
    16409 cat confdefs.h >>conftest.$ac_ext
    16410 cat >>conftest.$ac_ext <<_ACEOF
    16411 /* end confdefs.h.  */
    16412 $ac_includes_default
    16413 int
    16414 main ()
    16415 {
    16416 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    16417 test_array [0] = 0
    16418 
    16419   ;
    16420   return 0;
    16421 }
    16422 _ACEOF
    16423 rm -f conftest.$ac_objext
    16424 if { (ac_try="$ac_compile"
    16425 case "(($ac_try" in
    16426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16427   *) ac_try_echo=$ac_try;;
    16428 esac
    16429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16430 $as_echo "$ac_try_echo") >&5
    16431   (eval "$ac_compile") 2>conftest.er1
    16432   ac_status=$?
    16433   grep -v '^ *+' conftest.er1 >conftest.err
    16434   rm -f conftest.er1
    16435   cat conftest.err >&5
    16436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16437   (exit $ac_status); } && {
    16438          test -z "$ac_cxx_werror_flag" ||
    16439          test ! -s conftest.err
    16440        } && test -s conftest.$ac_objext; then
    16441   ac_hi=$ac_mid; break
    16442 else
    16443   $as_echo "$as_me: failed program was:" >&5
    16444 sed 's/^/| /' conftest.$ac_ext >&5
    16445 
    16446         ac_lo=`expr $ac_mid + 1`
    16447                         if test $ac_lo -le $ac_mid; then
    16448                           ac_lo= ac_hi=
    16449                           break
    16450                         fi
    16451                         ac_mid=`expr 2 '*' $ac_mid + 1`
    16452 fi
    16453 
    16454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16455   done
    16456 else
    16457   $as_echo "$as_me: failed program was:" >&5
    16458 sed 's/^/| /' conftest.$ac_ext >&5
    16459 
    16460         cat >conftest.$ac_ext <<_ACEOF
    16461 /* confdefs.h.  */
    16462 _ACEOF
    16463 cat confdefs.h >>conftest.$ac_ext
    16464 cat >>conftest.$ac_ext <<_ACEOF
    16465 /* end confdefs.h.  */
    16466 $ac_includes_default
    16467 int
    16468 main ()
    16469 {
    16470 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
    16471 test_array [0] = 0
    16472 
    16473   ;
    16474   return 0;
    16475 }
    16476 _ACEOF
    16477 rm -f conftest.$ac_objext
    16478 if { (ac_try="$ac_compile"
    16479 case "(($ac_try" in
    16480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16481   *) ac_try_echo=$ac_try;;
    16482 esac
    16483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16484 $as_echo "$ac_try_echo") >&5
    16485   (eval "$ac_compile") 2>conftest.er1
    16486   ac_status=$?
    16487   grep -v '^ *+' conftest.er1 >conftest.err
    16488   rm -f conftest.er1
    16489   cat conftest.err >&5
    16490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16491   (exit $ac_status); } && {
    16492          test -z "$ac_cxx_werror_flag" ||
    16493          test ! -s conftest.err
    16494        } && test -s conftest.$ac_objext; then
    16495   ac_hi=-1 ac_mid=-1
    16496   while :; do
    16497     cat >conftest.$ac_ext <<_ACEOF
    16498 /* confdefs.h.  */
    16499 _ACEOF
    16500 cat confdefs.h >>conftest.$ac_ext
    16501 cat >>conftest.$ac_ext <<_ACEOF
    16502 /* end confdefs.h.  */
    16503 $ac_includes_default
    16504 int
    16505 main ()
    16506 {
    16507 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
    16508 test_array [0] = 0
    16509 
    16510   ;
    16511   return 0;
    16512 }
    16513 _ACEOF
    16514 rm -f conftest.$ac_objext
    16515 if { (ac_try="$ac_compile"
    16516 case "(($ac_try" in
    16517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16518   *) ac_try_echo=$ac_try;;
    16519 esac
    16520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16521 $as_echo "$ac_try_echo") >&5
    16522   (eval "$ac_compile") 2>conftest.er1
    16523   ac_status=$?
    16524   grep -v '^ *+' conftest.er1 >conftest.err
    16525   rm -f conftest.er1
    16526   cat conftest.err >&5
    16527   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16528   (exit $ac_status); } && {
    16529          test -z "$ac_cxx_werror_flag" ||
    16530          test ! -s conftest.err
    16531        } && test -s conftest.$ac_objext; then
    16532   ac_lo=$ac_mid; break
    16533 else
    16534   $as_echo "$as_me: failed program was:" >&5
    16535 sed 's/^/| /' conftest.$ac_ext >&5
    16536 
    16537         ac_hi=`expr '(' $ac_mid ')' - 1`
    16538                         if test $ac_mid -le $ac_hi; then
    16539                           ac_lo= ac_hi=
    16540                           break
    16541                         fi
    16542                         ac_mid=`expr 2 '*' $ac_mid`
    16543 fi
    16544 
    16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16546   done
    16547 else
    16548   $as_echo "$as_me: failed program was:" >&5
    16549 sed 's/^/| /' conftest.$ac_ext >&5
    16550 
    16551         ac_lo= ac_hi=
    16552 fi
    16553 
    16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16555 fi
    16556 
    16557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16558 # Binary search between lo and hi bounds.
    16559 while test "x$ac_lo" != "x$ac_hi"; do
    16560   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    16561   cat >conftest.$ac_ext <<_ACEOF
    16562 /* confdefs.h.  */
    16563 _ACEOF
    16564 cat confdefs.h >>conftest.$ac_ext
    16565 cat >>conftest.$ac_ext <<_ACEOF
    16566 /* end confdefs.h.  */
    16567 $ac_includes_default
    16568 int
    16569 main ()
    16570 {
    16571 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    16572 test_array [0] = 0
    16573 
    16574   ;
    16575   return 0;
    16576 }
    16577 _ACEOF
    16578 rm -f conftest.$ac_objext
    16579 if { (ac_try="$ac_compile"
    16580 case "(($ac_try" in
    16581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16582   *) ac_try_echo=$ac_try;;
    16583 esac
    16584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16585 $as_echo "$ac_try_echo") >&5
    16586   (eval "$ac_compile") 2>conftest.er1
    16587   ac_status=$?
    16588   grep -v '^ *+' conftest.er1 >conftest.err
    16589   rm -f conftest.er1
    16590   cat conftest.err >&5
    16591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16592   (exit $ac_status); } && {
    16593          test -z "$ac_cxx_werror_flag" ||
    16594          test ! -s conftest.err
    16595        } && test -s conftest.$ac_objext; then
    16596   ac_hi=$ac_mid
    16597 else
    16598   $as_echo "$as_me: failed program was:" >&5
    16599 sed 's/^/| /' conftest.$ac_ext >&5
    16600 
    16601         ac_lo=`expr '(' $ac_mid ')' + 1`
    16602 fi
    16603 
    16604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16605 done
    16606 case $ac_lo in
    16607 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    16608 '') if test "$ac_cv_type_void_p" = yes; then
    16609      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9399  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     9400
     9401else
     9402  if test "$ac_cv_type_void_p" = yes; then
     9403     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    166109404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16611 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    16612 See \`config.log' for more details." >&5
    16613 $as_echo "$as_me: error: cannot compute sizeof (void *)
    16614 See \`config.log' for more details." >&2;}
    16615    { (exit 77); exit 77; }; }; }
    16616    else
    16617      ac_cv_sizeof_void_p=0
    16618    fi ;;
    16619 esac
    16620 else
    16621   cat >conftest.$ac_ext <<_ACEOF
    16622 /* confdefs.h.  */
    16623 _ACEOF
    16624 cat confdefs.h >>conftest.$ac_ext
    16625 cat >>conftest.$ac_ext <<_ACEOF
    16626 /* end confdefs.h.  */
    16627 $ac_includes_default
    16628 static long int longval () { return (long int) (sizeof (void *)); }
    16629 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
    16630 #include <stdio.h>
    16631 #include <stdlib.h>
    16632 int
    16633 main ()
    16634 {
    16635 
    16636   FILE *f = fopen ("conftest.val", "w");
    16637   if (! f)
    16638     return 1;
    16639   if (((long int) (sizeof (void *))) < 0)
    16640     {
    16641       long int i = longval ();
    16642       if (i != ((long int) (sizeof (void *))))
    16643         return 1;
    16644       fprintf (f, "%ld", i);
    16645     }
    16646   else
    16647     {
    16648       unsigned long int i = ulongval ();
    16649       if (i != ((long int) (sizeof (void *))))
    16650         return 1;
    16651       fprintf (f, "%lu", i);
    16652     }
    16653   /* Do not output a trailing newline, as this causes \r\n confusion
    16654      on some platforms.  */
    16655   return ferror (f) || fclose (f) != 0;
    16656 
    16657   ;
    16658   return 0;
    16659 }
    16660 _ACEOF
    16661 rm -f conftest$ac_exeext
    16662 if { (ac_try="$ac_link"
    16663 case "(($ac_try" in
    16664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16665   *) ac_try_echo=$ac_try;;
    16666 esac
    16667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16668 $as_echo "$ac_try_echo") >&5
    16669   (eval "$ac_link") 2>&5
    16670   ac_status=$?
    16671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16672   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    16673   { (case "(($ac_try" in
    16674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16675   *) ac_try_echo=$ac_try;;
    16676 esac
    16677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16678 $as_echo "$ac_try_echo") >&5
    16679   (eval "$ac_try") 2>&5
    16680   ac_status=$?
    16681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16682   (exit $ac_status); }; }; then
    16683   ac_cv_sizeof_void_p=`cat conftest.val`
    16684 else
    16685   $as_echo "$as_me: program exited with status $ac_status" >&5
    16686 $as_echo "$as_me: failed program was:" >&5
    16687 sed 's/^/| /' conftest.$ac_ext >&5
    16688 
    16689 ( exit $ac_status )
    16690 if test "$ac_cv_type_void_p" = yes; then
    16691      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    16692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16693 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    16694 See \`config.log' for more details." >&5
    16695 $as_echo "$as_me: error: cannot compute sizeof (void *)
    16696 See \`config.log' for more details." >&2;}
    16697    { (exit 77); exit 77; }; }; }
     9405as_fn_error 77 "cannot compute sizeof (void *)
     9406See \`config.log' for more details" "$LINENO" 5; }
    166989407   else
    166999408     ac_cv_sizeof_void_p=0
    167009409   fi
    167019410fi
    16702 rm -rf conftest.dSYM
    16703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    16704 fi
    16705 rm -f conftest.val
    16706 fi
    16707 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
     9411
     9412fi
     9413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    167089414$as_echo "$ac_cv_sizeof_void_p" >&6; }
    167099415
     
    167289434
    167299435
    16730     { $as_echo "$as_me:$LINENO: checking for build with symbols" >&5
     9436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
    167319437$as_echo_n "checking for build with symbols... " >&6; }
    167329438    # Check whether --enable-symbols was given.
    16733 if test "${enable_symbols+set}" = set; then
     9439if test "${enable_symbols+set}" = set; then :
    167349440  enableval=$enable_symbols; tcl_ok=$enableval
    167359441else
     
    167429448        LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
    167439449        DBGX=""
    16744         { $as_echo "$as_me:$LINENO: result: no" >&5
     9450        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    167459451$as_echo "no" >&6; }
    167469452    else
     
    167499455        DBGX=g
    167509456        if test "$tcl_ok" = "yes"; then
    16751             { $as_echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
     9457            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
    167529458$as_echo "yes (standard debugging)" >&6; }
    167539459        fi
     
    167579463
    167589464    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
    16759         cat >>confdefs.h <<\_ACEOF
    16760 #define TCL_MEM_DEBUG 1
    16761 _ACEOF
     9465        $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
    167629466
    167639467    fi
    167649468
    167659469    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
    16766         cat >>confdefs.h <<\_ACEOF
    16767 #define TCL_COMPILE_DEBUG 1
    16768 _ACEOF
    16769 
    16770         cat >>confdefs.h <<\_ACEOF
    16771 #define TCL_COMPILE_STATS 1
    16772 _ACEOF
     9470        $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h
     9471
     9472        $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h
    167739473
    167749474    fi
     
    167769476    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
    167779477        if test "$tcl_ok" = "all"; then
    16778             { $as_echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
     9478            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5
    167799479$as_echo "enabled symbols mem compile debugging" >&6; }
    167809480        else
    16781             { $as_echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
     9481            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
    167829482$as_echo "enabled $tcl_ok debugging" >&6; }
    167839483        fi
     
    167939493    # Extract the first word of "ffmpeg", so it can be a program name with args.
    167949494set dummy ffmpeg; ac_word=$2
    16795 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     9495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    167969496$as_echo_n "checking for $ac_word... " >&6; }
    16797 if test "${ac_cv_path_FFMPEG+set}" = set; then
     9497if ${ac_cv_path_FFMPEG+:} false; then :
    167989498  $as_echo_n "(cached) " >&6
    167999499else
     
    168089508  IFS=$as_save_IFS
    168099509  test -z "$as_dir" && as_dir=.
    16810   for ac_exec_ext in '' $ac_executable_extensions; do
    16811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9510    for ac_exec_ext in '' $ac_executable_extensions; do
     9511  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    168129512    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    16813     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     9513    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    168149514    break 2
    168159515  fi
    168169516done
    16817 done
     9517  done
    168189518IFS=$as_save_IFS
    168199519
     
    168239523FFMPEG=$ac_cv_path_FFMPEG
    168249524if test -n "$FFMPEG"; then
    16825   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     9525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    168269526$as_echo "$FFMPEG" >&6; }
    168279527else
    16828   { $as_echo "$as_me:$LINENO: result: no" >&5
     9528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    168299529$as_echo "no" >&6; }
    168309530fi
     
    168349534    # Extract the first word of "ffmpeg", so it can be a program name with args.
    168359535set dummy ffmpeg; ac_word=$2
    16836 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     9536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    168379537$as_echo_n "checking for $ac_word... " >&6; }
    16838 if test "${ac_cv_path_FFMPEG+set}" = set; then
     9538if ${ac_cv_path_FFMPEG+:} false; then :
    168399539  $as_echo_n "(cached) " >&6
    168409540else
     
    168509550  IFS=$as_save_IFS
    168519551  test -z "$as_dir" && as_dir=.
    16852   for ac_exec_ext in '' $ac_executable_extensions; do
    16853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     9552    for ac_exec_ext in '' $ac_executable_extensions; do
     9553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    168549554    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    16855     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     9555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    168569556    break 2
    168579557  fi
    168589558done
    16859 done
     9559  done
    168609560IFS=$as_save_IFS
    168619561
     
    168659565FFMPEG=$ac_cv_path_FFMPEG
    168669566if test -n "$FFMPEG"; then
    16867   { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
     9567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
    168689568$as_echo "$FFMPEG" >&6; }
    168699569else
    16870   { $as_echo "$as_me:$LINENO: result: no" >&5
     9570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    168719571$as_echo "no" >&6; }
    168729572fi
     
    168769576  if test "${FFMPEG}x" != "x" ; then
    168779577
    16878 cat >>confdefs.h <<\_ACEOF
    16879 #define HAVE_FFMPEG 1
    16880 _ACEOF
     9578$as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
    168819579
    168829580  fi
    168839581fi
    168849582
    16885 
    16886 
    16887 
    16888 
    16889 
    16890 
    16891 
    16892 
    168939583for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h
    16894 do
    16895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    16896 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    16897 $as_echo_n "checking for $ac_header... " >&6; }
    16898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    16899   $as_echo_n "(cached) " >&6
    16900 else
    16901   cat >conftest.$ac_ext <<_ACEOF
    16902 /* confdefs.h.  */
    16903 _ACEOF
    16904 cat confdefs.h >>conftest.$ac_ext
    16905 cat >>conftest.$ac_ext <<_ACEOF
    16906 /* end confdefs.h.  */
    16907 
     9584do :
     9585  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9586ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
    169089587#define __STDC_CONSTANT_MACROS 1
    169099588
    16910 
    16911 #include <$ac_header>
    16912 _ACEOF
    16913 rm -f conftest.$ac_objext
    16914 if { (ac_try="$ac_compile"
    16915 case "(($ac_try" in
    16916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16917   *) ac_try_echo=$ac_try;;
    16918 esac
    16919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16920 $as_echo "$ac_try_echo") >&5
    16921   (eval "$ac_compile") 2>conftest.er1
    16922   ac_status=$?
    16923   grep -v '^ *+' conftest.er1 >conftest.err
    16924   rm -f conftest.er1
    16925   cat conftest.err >&5
    16926   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16927   (exit $ac_status); } && {
    16928          test -z "$ac_cxx_werror_flag" ||
    16929          test ! -s conftest.err
    16930        } && test -s conftest.$ac_objext; then
    16931   eval "$as_ac_Header=yes"
    16932 else
    16933   $as_echo "$as_me: failed program was:" >&5
    16934 sed 's/^/| /' conftest.$ac_ext >&5
    16935 
    16936         eval "$as_ac_Header=no"
    16937 fi
    16938 
    16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16940 fi
    16941 ac_res=`eval 'as_val=${'$as_ac_Header'}
    16942                  $as_echo "$as_val"'`
    16943                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    16944 $as_echo "$ac_res" >&6; }
    16945 as_val=`eval 'as_val=${'$as_ac_Header'}
    16946                  $as_echo "$as_val"'`
    16947    if test "x$as_val" = x""yes; then
     9589"
     9590if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    169489591  cat >>confdefs.h <<_ACEOF
    169499592#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    169679610    HAVE_FFMPEG_LIBS="yes"
    169689611
    16969 cat >>confdefs.h <<\_ACEOF
    16970 #define BUILD_with_ffmpeg 1
    16971 _ACEOF
     9612$as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
    169729613
    169739614  fi
    16974 
    16975 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5
     9615  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
    169769616$as_echo_n "checking for main in -lavcodec... " >&6; }
    16977 if test "${ac_cv_lib_avcodec_main+set}" = set; then
     9617if ${ac_cv_lib_avcodec_main+:} false; then :
    169789618  $as_echo_n "(cached) " >&6
    169799619else
    169809620  ac_check_lib_save_LIBS=$LIBS
    169819621LIBS="-lavcodec  $LIBS"
    16982 cat >conftest.$ac_ext <<_ACEOF
    16983 /* confdefs.h.  */
    16984 _ACEOF
    16985 cat confdefs.h >>conftest.$ac_ext
    16986 cat >>conftest.$ac_ext <<_ACEOF
     9622cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    169879623/* end confdefs.h.  */
    169889624
     
    169969632}
    169979633_ACEOF
    16998 rm -f conftest.$ac_objext conftest$ac_exeext
    16999 if { (ac_try="$ac_link"
    17000 case "(($ac_try" in
    17001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17002   *) ac_try_echo=$ac_try;;
    17003 esac
    17004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17005 $as_echo "$ac_try_echo") >&5
    17006   (eval "$ac_link") 2>conftest.er1
    17007   ac_status=$?
    17008   grep -v '^ *+' conftest.er1 >conftest.err
    17009   rm -f conftest.er1
    17010   cat conftest.err >&5
    17011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17012   (exit $ac_status); } && {
    17013          test -z "$ac_cxx_werror_flag" ||
    17014          test ! -s conftest.err
    17015        } && test -s conftest$ac_exeext && {
    17016          test "$cross_compiling" = yes ||
    17017          $as_test_x conftest$ac_exeext
    17018        }; then
     9634if ac_fn_cxx_try_link "$LINENO"; then :
    170199635  ac_cv_lib_avcodec_main=yes
    170209636else
    17021   $as_echo "$as_me: failed program was:" >&5
    17022 sed 's/^/| /' conftest.$ac_ext >&5
    17023 
    17024         ac_cv_lib_avcodec_main=no
    17025 fi
    17026 
    17027 rm -rf conftest.dSYM
    17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17029       conftest$ac_exeext conftest.$ac_ext
     9637  ac_cv_lib_avcodec_main=no
     9638fi
     9639rm -f core conftest.err conftest.$ac_objext \
     9640    conftest$ac_exeext conftest.$ac_ext
    170309641LIBS=$ac_check_lib_save_LIBS
    170319642fi
    17032 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5
     9643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
    170339644$as_echo "$ac_cv_lib_avcodec_main" >&6; }
    17034 if test "x$ac_cv_lib_avcodec_main" = x""yes; then
     9645if test "x$ac_cv_lib_avcodec_main" = xyes; then :
    170359646  cat >>confdefs.h <<_ACEOF
    170369647#define HAVE_LIBAVCODEC 1
     
    170409651
    170419652else
    17042   { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5
    17043 $as_echo "$as_me: error: librappture requires libavcodec" >&2;}
    17044    { (exit 1); exit 1; }; }
    17045 fi
    17046 
    17047 
    17048 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5
     9653  as_fn_error $? "librappture requires libavcodec" "$LINENO" 5
     9654fi
     9655
     9656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
    170499657$as_echo_n "checking for main in -lavutil... " >&6; }
    17050 if test "${ac_cv_lib_avutil_main+set}" = set; then
     9658if ${ac_cv_lib_avutil_main+:} false; then :
    170519659  $as_echo_n "(cached) " >&6
    170529660else
    170539661  ac_check_lib_save_LIBS=$LIBS
    170549662LIBS="-lavutil  $LIBS"
    17055 cat >conftest.$ac_ext <<_ACEOF
    17056 /* confdefs.h.  */
    17057 _ACEOF
    17058 cat confdefs.h >>conftest.$ac_ext
    17059 cat >>conftest.$ac_ext <<_ACEOF
     9663cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    170609664/* end confdefs.h.  */
    170619665
     
    170699673}
    170709674_ACEOF
    17071 rm -f conftest.$ac_objext conftest$ac_exeext
    17072 if { (ac_try="$ac_link"
    17073 case "(($ac_try" in
    17074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17075   *) ac_try_echo=$ac_try;;
    17076 esac
    17077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17078 $as_echo "$ac_try_echo") >&5
    17079   (eval "$ac_link") 2>conftest.er1
    17080   ac_status=$?
    17081   grep -v '^ *+' conftest.er1 >conftest.err
    17082   rm -f conftest.er1
    17083   cat conftest.err >&5
    17084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17085   (exit $ac_status); } && {
    17086          test -z "$ac_cxx_werror_flag" ||
    17087          test ! -s conftest.err
    17088        } && test -s conftest$ac_exeext && {
    17089          test "$cross_compiling" = yes ||
    17090          $as_test_x conftest$ac_exeext
    17091        }; then
     9675if ac_fn_cxx_try_link "$LINENO"; then :
    170929676  ac_cv_lib_avutil_main=yes
    170939677else
    17094   $as_echo "$as_me: failed program was:" >&5
    17095 sed 's/^/| /' conftest.$ac_ext >&5
    17096 
    17097         ac_cv_lib_avutil_main=no
    17098 fi
    17099 
    17100 rm -rf conftest.dSYM
    17101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17102       conftest$ac_exeext conftest.$ac_ext
     9678  ac_cv_lib_avutil_main=no
     9679fi
     9680rm -f core conftest.err conftest.$ac_objext \
     9681    conftest$ac_exeext conftest.$ac_ext
    171039682LIBS=$ac_check_lib_save_LIBS
    171049683fi
    17105 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5
     9684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
    171069685$as_echo "$ac_cv_lib_avutil_main" >&6; }
    17107 if test "x$ac_cv_lib_avutil_main" = x""yes; then
     9686if test "x$ac_cv_lib_avutil_main" = xyes; then :
    171089687  cat >>confdefs.h <<_ACEOF
    171099688#define HAVE_LIBAVUTIL 1
     
    171139692
    171149693else
    17115   { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5
    17116 $as_echo "$as_me: error: librappture requires libavutil" >&2;}
    17117    { (exit 1); exit 1; }; }
    17118 fi
    17119 
    17120 
    17121 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5
     9694  as_fn_error $? "librappture requires libavutil" "$LINENO" 5
     9695fi
     9696
     9697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
    171229698$as_echo_n "checking for main in -lavformat... " >&6; }
    17123 if test "${ac_cv_lib_avformat_main+set}" = set; then
     9699if ${ac_cv_lib_avformat_main+:} false; then :
    171249700  $as_echo_n "(cached) " >&6
    171259701else
    171269702  ac_check_lib_save_LIBS=$LIBS
    171279703LIBS="-lavformat  $LIBS"
    17128 cat >conftest.$ac_ext <<_ACEOF
    17129 /* confdefs.h.  */
    17130 _ACEOF
    17131 cat confdefs.h >>conftest.$ac_ext
    17132 cat >>conftest.$ac_ext <<_ACEOF
     9704cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    171339705/* end confdefs.h.  */
    171349706
     
    171429714}
    171439715_ACEOF
    17144 rm -f conftest.$ac_objext conftest$ac_exeext
    17145 if { (ac_try="$ac_link"
    17146 case "(($ac_try" in
    17147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17148   *) ac_try_echo=$ac_try;;
    17149 esac
    17150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17151 $as_echo "$ac_try_echo") >&5
    17152   (eval "$ac_link") 2>conftest.er1
    17153   ac_status=$?
    17154   grep -v '^ *+' conftest.er1 >conftest.err
    17155   rm -f conftest.er1
    17156   cat conftest.err >&5
    17157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17158   (exit $ac_status); } && {
    17159          test -z "$ac_cxx_werror_flag" ||
    17160          test ! -s conftest.err
    17161        } && test -s conftest$ac_exeext && {
    17162          test "$cross_compiling" = yes ||
    17163          $as_test_x conftest$ac_exeext
    17164        }; then
     9716if ac_fn_cxx_try_link "$LINENO"; then :
    171659717  ac_cv_lib_avformat_main=yes
    171669718else
    17167   $as_echo "$as_me: failed program was:" >&5
    17168 sed 's/^/| /' conftest.$ac_ext >&5
    17169 
    17170         ac_cv_lib_avformat_main=no
    17171 fi
    17172 
    17173 rm -rf conftest.dSYM
    17174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17175       conftest$ac_exeext conftest.$ac_ext
     9719  ac_cv_lib_avformat_main=no
     9720fi
     9721rm -f core conftest.err conftest.$ac_objext \
     9722    conftest$ac_exeext conftest.$ac_ext
    171769723LIBS=$ac_check_lib_save_LIBS
    171779724fi
    17178 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5
     9725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
    171799726$as_echo "$ac_cv_lib_avformat_main" >&6; }
    17180 if test "x$ac_cv_lib_avformat_main" = x""yes; then
     9727if test "x$ac_cv_lib_avformat_main" = xyes; then :
    171819728  cat >>confdefs.h <<_ACEOF
    171829729#define HAVE_LIBAVFORMAT 1
     
    171869733
    171879734else
    17188   { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5
    17189 $as_echo "$as_me: error: librappture requires libavformat" >&2;}
    17190    { (exit 1); exit 1; }; }
    17191 fi
    17192 
    17193 
    17194 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5
     9735  as_fn_error $? "librappture requires libavformat" "$LINENO" 5
     9736fi
     9737
     9738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
    171959739$as_echo_n "checking for main in -lswscale... " >&6; }
    17196 if test "${ac_cv_lib_swscale_main+set}" = set; then
     9740if ${ac_cv_lib_swscale_main+:} false; then :
    171979741  $as_echo_n "(cached) " >&6
    171989742else
    171999743  ac_check_lib_save_LIBS=$LIBS
    172009744LIBS="-lswscale  $LIBS"
    17201 cat >conftest.$ac_ext <<_ACEOF
    17202 /* confdefs.h.  */
    17203 _ACEOF
    17204 cat confdefs.h >>conftest.$ac_ext
    17205 cat >>conftest.$ac_ext <<_ACEOF
     9745cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    172069746/* end confdefs.h.  */
    172079747
     
    172159755}
    172169756_ACEOF
    17217 rm -f conftest.$ac_objext conftest$ac_exeext
    17218 if { (ac_try="$ac_link"
    17219 case "(($ac_try" in
    17220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17221   *) ac_try_echo=$ac_try;;
    17222 esac
    17223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17224 $as_echo "$ac_try_echo") >&5
    17225   (eval "$ac_link") 2>conftest.er1
    17226   ac_status=$?
    17227   grep -v '^ *+' conftest.er1 >conftest.err
    17228   rm -f conftest.er1
    17229   cat conftest.err >&5
    17230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17231   (exit $ac_status); } && {
    17232          test -z "$ac_cxx_werror_flag" ||
    17233          test ! -s conftest.err
    17234        } && test -s conftest$ac_exeext && {
    17235          test "$cross_compiling" = yes ||
    17236          $as_test_x conftest$ac_exeext
    17237        }; then
     9757if ac_fn_cxx_try_link "$LINENO"; then :
    172389758  ac_cv_lib_swscale_main=yes
    172399759else
    17240   $as_echo "$as_me: failed program was:" >&5
    17241 sed 's/^/| /' conftest.$ac_ext >&5
    17242 
    17243         ac_cv_lib_swscale_main=no
    17244 fi
    17245 
    17246 rm -rf conftest.dSYM
    17247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17248       conftest$ac_exeext conftest.$ac_ext
     9760  ac_cv_lib_swscale_main=no
     9761fi
     9762rm -f core conftest.err conftest.$ac_objext \
     9763    conftest$ac_exeext conftest.$ac_ext
    172499764LIBS=$ac_check_lib_save_LIBS
    172509765fi
    17251 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5
     9766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
    172529767$as_echo "$ac_cv_lib_swscale_main" >&6; }
    17253 if test "x$ac_cv_lib_swscale_main" = x""yes; then
     9768if test "x$ac_cv_lib_swscale_main" = xyes; then :
    172549769  cat >>confdefs.h <<_ACEOF
    172559770#define HAVE_LIBSWSCALE 1
     
    172609775fi
    172619776
    17262 
    17263 for ac_func in av_find_stream_info
    17264 do
    17265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17266 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17267 $as_echo_n "checking for $ac_func... " >&6; }
    17268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17269   $as_echo_n "(cached) " >&6
    17270 else
    17271   cat >conftest.$ac_ext <<_ACEOF
    17272 /* confdefs.h.  */
    17273 _ACEOF
    17274 cat confdefs.h >>conftest.$ac_ext
    17275 cat >>conftest.$ac_ext <<_ACEOF
    17276 /* end confdefs.h.  */
    17277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17279 #define $ac_func innocuous_$ac_func
    17280 
    17281 /* System header to define __stub macros and hopefully few prototypes,
    17282     which can conflict with char $ac_func (); below.
    17283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17284     <limits.h> exists even on freestanding compilers.  */
    17285 
    17286 #ifdef __STDC__
    17287 # include <limits.h>
    17288 #else
    17289 # include <assert.h>
    17290 #endif
    17291 
    17292 #undef $ac_func
    17293 
    17294 /* Override any GCC internal prototype to avoid an error.
    17295    Use char because int might match the return type of a GCC
    17296    builtin and then its argument prototype would still apply.  */
    17297 #ifdef __cplusplus
    17298 extern "C"
    17299 #endif
    17300 char $ac_func ();
    17301 /* The GNU C library defines this for functions which it implements
    17302     to always fail with ENOSYS.  Some functions are actually named
    17303     something starting with __ and the normal name is an alias.  */
    17304 #if defined __stub_$ac_func || defined __stub___$ac_func
    17305 choke me
    17306 #endif
    17307 
    17308 int
    17309 main ()
    17310 {
    17311 return $ac_func ();
    17312   ;
    17313   return 0;
    17314 }
    17315 _ACEOF
    17316 rm -f conftest.$ac_objext conftest$ac_exeext
    17317 if { (ac_try="$ac_link"
    17318 case "(($ac_try" in
    17319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17320   *) ac_try_echo=$ac_try;;
    17321 esac
    17322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17323 $as_echo "$ac_try_echo") >&5
    17324   (eval "$ac_link") 2>conftest.er1
    17325   ac_status=$?
    17326   grep -v '^ *+' conftest.er1 >conftest.err
    17327   rm -f conftest.er1
    17328   cat conftest.err >&5
    17329   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17330   (exit $ac_status); } && {
    17331          test -z "$ac_cxx_werror_flag" ||
    17332          test ! -s conftest.err
    17333        } && test -s conftest$ac_exeext && {
    17334          test "$cross_compiling" = yes ||
    17335          $as_test_x conftest$ac_exeext
    17336        }; then
    17337   eval "$as_ac_var=yes"
    17338 else
    17339   $as_echo "$as_me: failed program was:" >&5
    17340 sed 's/^/| /' conftest.$ac_ext >&5
    17341 
    17342         eval "$as_ac_var=no"
    17343 fi
    17344 
    17345 rm -rf conftest.dSYM
    17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17347       conftest$ac_exeext conftest.$ac_ext
    17348 fi
    17349 ac_res=`eval 'as_val=${'$as_ac_var'}
    17350                  $as_echo "$as_val"'`
    17351                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17352 $as_echo "$ac_res" >&6; }
    17353 as_val=`eval 'as_val=${'$as_ac_var'}
    17354                  $as_echo "$as_val"'`
    17355    if test "x$as_val" = x""yes; then
     9777  for ac_func in av_find_stream_info
     9778do :
     9779  ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
     9780if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
    173569781  cat >>confdefs.h <<_ACEOF
    17357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17358 _ACEOF
    17359 
    17360 fi
    17361 done
    17362 
    17363 
    17364 for ac_func in av_open_input_file
    17365 do
    17366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17367 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17368 $as_echo_n "checking for $ac_func... " >&6; }
    17369 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17370   $as_echo_n "(cached) " >&6
    17371 else
    17372   cat >conftest.$ac_ext <<_ACEOF
    17373 /* confdefs.h.  */
    17374 _ACEOF
    17375 cat confdefs.h >>conftest.$ac_ext
    17376 cat >>conftest.$ac_ext <<_ACEOF
    17377 /* end confdefs.h.  */
    17378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17380 #define $ac_func innocuous_$ac_func
    17381 
    17382 /* System header to define __stub macros and hopefully few prototypes,
    17383     which can conflict with char $ac_func (); below.
    17384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17385     <limits.h> exists even on freestanding compilers.  */
    17386 
    17387 #ifdef __STDC__
    17388 # include <limits.h>
    17389 #else
    17390 # include <assert.h>
    17391 #endif
    17392 
    17393 #undef $ac_func
    17394 
    17395 /* Override any GCC internal prototype to avoid an error.
    17396    Use char because int might match the return type of a GCC
    17397    builtin and then its argument prototype would still apply.  */
    17398 #ifdef __cplusplus
    17399 extern "C"
    17400 #endif
    17401 char $ac_func ();
    17402 /* The GNU C library defines this for functions which it implements
    17403     to always fail with ENOSYS.  Some functions are actually named
    17404     something starting with __ and the normal name is an alias.  */
    17405 #if defined __stub_$ac_func || defined __stub___$ac_func
    17406 choke me
    17407 #endif
    17408 
    17409 int
    17410 main ()
    17411 {
    17412 return $ac_func ();
    17413   ;
    17414   return 0;
    17415 }
    17416 _ACEOF
    17417 rm -f conftest.$ac_objext conftest$ac_exeext
    17418 if { (ac_try="$ac_link"
    17419 case "(($ac_try" in
    17420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17421   *) ac_try_echo=$ac_try;;
    17422 esac
    17423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17424 $as_echo "$ac_try_echo") >&5
    17425   (eval "$ac_link") 2>conftest.er1
    17426   ac_status=$?
    17427   grep -v '^ *+' conftest.er1 >conftest.err
    17428   rm -f conftest.er1
    17429   cat conftest.err >&5
    17430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17431   (exit $ac_status); } && {
    17432          test -z "$ac_cxx_werror_flag" ||
    17433          test ! -s conftest.err
    17434        } && test -s conftest$ac_exeext && {
    17435          test "$cross_compiling" = yes ||
    17436          $as_test_x conftest$ac_exeext
    17437        }; then
    17438   eval "$as_ac_var=yes"
    17439 else
    17440   $as_echo "$as_me: failed program was:" >&5
    17441 sed 's/^/| /' conftest.$ac_ext >&5
    17442 
    17443         eval "$as_ac_var=no"
    17444 fi
    17445 
    17446 rm -rf conftest.dSYM
    17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17448       conftest$ac_exeext conftest.$ac_ext
    17449 fi
    17450 ac_res=`eval 'as_val=${'$as_ac_var'}
    17451                  $as_echo "$as_val"'`
    17452                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17453 $as_echo "$ac_res" >&6; }
    17454 as_val=`eval 'as_val=${'$as_ac_var'}
    17455                  $as_echo "$as_val"'`
    17456    if test "x$as_val" = x""yes; then
     9782#define HAVE_AV_FIND_STREAM_INFO 1
     9783_ACEOF
     9784
     9785fi
     9786done
     9787
     9788  for ac_func in av_open_input_file
     9789do :
     9790  ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
     9791if test "x$ac_cv_func_av_open_input_file" = xyes; then :
    174579792  cat >>confdefs.h <<_ACEOF
    17458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17459 _ACEOF
    17460 
    17461 fi
    17462 done
    17463 
    17464 
    17465 for ac_func in avcodec_decode_video
    17466 do
    17467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17468 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17469 $as_echo_n "checking for $ac_func... " >&6; }
    17470 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17471   $as_echo_n "(cached) " >&6
    17472 else
    17473   cat >conftest.$ac_ext <<_ACEOF
    17474 /* confdefs.h.  */
    17475 _ACEOF
    17476 cat confdefs.h >>conftest.$ac_ext
    17477 cat >>conftest.$ac_ext <<_ACEOF
    17478 /* end confdefs.h.  */
    17479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17481 #define $ac_func innocuous_$ac_func
    17482 
    17483 /* System header to define __stub macros and hopefully few prototypes,
    17484     which can conflict with char $ac_func (); below.
    17485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17486     <limits.h> exists even on freestanding compilers.  */
    17487 
    17488 #ifdef __STDC__
    17489 # include <limits.h>
    17490 #else
    17491 # include <assert.h>
    17492 #endif
    17493 
    17494 #undef $ac_func
    17495 
    17496 /* Override any GCC internal prototype to avoid an error.
    17497    Use char because int might match the return type of a GCC
    17498    builtin and then its argument prototype would still apply.  */
    17499 #ifdef __cplusplus
    17500 extern "C"
    17501 #endif
    17502 char $ac_func ();
    17503 /* The GNU C library defines this for functions which it implements
    17504     to always fail with ENOSYS.  Some functions are actually named
    17505     something starting with __ and the normal name is an alias.  */
    17506 #if defined __stub_$ac_func || defined __stub___$ac_func
    17507 choke me
    17508 #endif
    17509 
    17510 int
    17511 main ()
    17512 {
    17513 return $ac_func ();
    17514   ;
    17515   return 0;
    17516 }
    17517 _ACEOF
    17518 rm -f conftest.$ac_objext conftest$ac_exeext
    17519 if { (ac_try="$ac_link"
    17520 case "(($ac_try" in
    17521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17522   *) ac_try_echo=$ac_try;;
    17523 esac
    17524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17525 $as_echo "$ac_try_echo") >&5
    17526   (eval "$ac_link") 2>conftest.er1
    17527   ac_status=$?
    17528   grep -v '^ *+' conftest.er1 >conftest.err
    17529   rm -f conftest.er1
    17530   cat conftest.err >&5
    17531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17532   (exit $ac_status); } && {
    17533          test -z "$ac_cxx_werror_flag" ||
    17534          test ! -s conftest.err
    17535        } && test -s conftest$ac_exeext && {
    17536          test "$cross_compiling" = yes ||
    17537          $as_test_x conftest$ac_exeext
    17538        }; then
    17539   eval "$as_ac_var=yes"
    17540 else
    17541   $as_echo "$as_me: failed program was:" >&5
    17542 sed 's/^/| /' conftest.$ac_ext >&5
    17543 
    17544         eval "$as_ac_var=no"
    17545 fi
    17546 
    17547 rm -rf conftest.dSYM
    17548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17549       conftest$ac_exeext conftest.$ac_ext
    17550 fi
    17551 ac_res=`eval 'as_val=${'$as_ac_var'}
    17552                  $as_echo "$as_val"'`
    17553                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17554 $as_echo "$ac_res" >&6; }
    17555 as_val=`eval 'as_val=${'$as_ac_var'}
    17556                  $as_echo "$as_val"'`
    17557    if test "x$as_val" = x""yes; then
     9793#define HAVE_AV_OPEN_INPUT_FILE 1
     9794_ACEOF
     9795
     9796fi
     9797done
     9798
     9799  for ac_func in avcodec_decode_video
     9800do :
     9801  ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
     9802if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
    175589803  cat >>confdefs.h <<_ACEOF
    17559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17560 _ACEOF
    17561 
    17562 fi
    17563 done
    17564 
    17565 
    17566 for ac_func in avcodec_decode_video2
    17567 do
    17568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17569 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17570 $as_echo_n "checking for $ac_func... " >&6; }
    17571 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17572   $as_echo_n "(cached) " >&6
    17573 else
    17574   cat >conftest.$ac_ext <<_ACEOF
    17575 /* confdefs.h.  */
    17576 _ACEOF
    17577 cat confdefs.h >>conftest.$ac_ext
    17578 cat >>conftest.$ac_ext <<_ACEOF
    17579 /* end confdefs.h.  */
    17580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17582 #define $ac_func innocuous_$ac_func
    17583 
    17584 /* System header to define __stub macros and hopefully few prototypes,
    17585     which can conflict with char $ac_func (); below.
    17586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17587     <limits.h> exists even on freestanding compilers.  */
    17588 
    17589 #ifdef __STDC__
    17590 # include <limits.h>
    17591 #else
    17592 # include <assert.h>
    17593 #endif
    17594 
    17595 #undef $ac_func
    17596 
    17597 /* Override any GCC internal prototype to avoid an error.
    17598    Use char because int might match the return type of a GCC
    17599    builtin and then its argument prototype would still apply.  */
    17600 #ifdef __cplusplus
    17601 extern "C"
    17602 #endif
    17603 char $ac_func ();
    17604 /* The GNU C library defines this for functions which it implements
    17605     to always fail with ENOSYS.  Some functions are actually named
    17606     something starting with __ and the normal name is an alias.  */
    17607 #if defined __stub_$ac_func || defined __stub___$ac_func
    17608 choke me
    17609 #endif
    17610 
    17611 int
    17612 main ()
    17613 {
    17614 return $ac_func ();
    17615   ;
    17616   return 0;
    17617 }
    17618 _ACEOF
    17619 rm -f conftest.$ac_objext conftest$ac_exeext
    17620 if { (ac_try="$ac_link"
    17621 case "(($ac_try" in
    17622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17623   *) ac_try_echo=$ac_try;;
    17624 esac
    17625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17626 $as_echo "$ac_try_echo") >&5
    17627   (eval "$ac_link") 2>conftest.er1
    17628   ac_status=$?
    17629   grep -v '^ *+' conftest.er1 >conftest.err
    17630   rm -f conftest.er1
    17631   cat conftest.err >&5
    17632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17633   (exit $ac_status); } && {
    17634          test -z "$ac_cxx_werror_flag" ||
    17635          test ! -s conftest.err
    17636        } && test -s conftest$ac_exeext && {
    17637          test "$cross_compiling" = yes ||
    17638          $as_test_x conftest$ac_exeext
    17639        }; then
    17640   eval "$as_ac_var=yes"
    17641 else
    17642   $as_echo "$as_me: failed program was:" >&5
    17643 sed 's/^/| /' conftest.$ac_ext >&5
    17644 
    17645         eval "$as_ac_var=no"
    17646 fi
    17647 
    17648 rm -rf conftest.dSYM
    17649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17650       conftest$ac_exeext conftest.$ac_ext
    17651 fi
    17652 ac_res=`eval 'as_val=${'$as_ac_var'}
    17653                  $as_echo "$as_val"'`
    17654                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17655 $as_echo "$ac_res" >&6; }
    17656 as_val=`eval 'as_val=${'$as_ac_var'}
    17657                  $as_echo "$as_val"'`
    17658    if test "x$as_val" = x""yes; then
     9804#define HAVE_AVCODEC_DECODE_VIDEO 1
     9805_ACEOF
     9806
     9807fi
     9808done
     9809
     9810  for ac_func in avcodec_decode_video2
     9811do :
     9812  ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"
     9813if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :
    176599814  cat >>confdefs.h <<_ACEOF
    17660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17661 _ACEOF
    17662 
    17663 fi
    17664 done
    17665 
    17666 
    17667 for ac_func in avcodec_open
    17668 do
    17669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17670 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17671 $as_echo_n "checking for $ac_func... " >&6; }
    17672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17673   $as_echo_n "(cached) " >&6
    17674 else
    17675   cat >conftest.$ac_ext <<_ACEOF
    17676 /* confdefs.h.  */
    17677 _ACEOF
    17678 cat confdefs.h >>conftest.$ac_ext
    17679 cat >>conftest.$ac_ext <<_ACEOF
    17680 /* end confdefs.h.  */
    17681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17682    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17683 #define $ac_func innocuous_$ac_func
    17684 
    17685 /* System header to define __stub macros and hopefully few prototypes,
    17686     which can conflict with char $ac_func (); below.
    17687     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17688     <limits.h> exists even on freestanding compilers.  */
    17689 
    17690 #ifdef __STDC__
    17691 # include <limits.h>
    17692 #else
    17693 # include <assert.h>
    17694 #endif
    17695 
    17696 #undef $ac_func
    17697 
    17698 /* Override any GCC internal prototype to avoid an error.
    17699    Use char because int might match the return type of a GCC
    17700    builtin and then its argument prototype would still apply.  */
    17701 #ifdef __cplusplus
    17702 extern "C"
    17703 #endif
    17704 char $ac_func ();
    17705 /* The GNU C library defines this for functions which it implements
    17706     to always fail with ENOSYS.  Some functions are actually named
    17707     something starting with __ and the normal name is an alias.  */
    17708 #if defined __stub_$ac_func || defined __stub___$ac_func
    17709 choke me
    17710 #endif
    17711 
    17712 int
    17713 main ()
    17714 {
    17715 return $ac_func ();
    17716   ;
    17717   return 0;
    17718 }
    17719 _ACEOF
    17720 rm -f conftest.$ac_objext conftest$ac_exeext
    17721 if { (ac_try="$ac_link"
    17722 case "(($ac_try" in
    17723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17724   *) ac_try_echo=$ac_try;;
    17725 esac
    17726 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17727 $as_echo "$ac_try_echo") >&5
    17728   (eval "$ac_link") 2>conftest.er1
    17729   ac_status=$?
    17730   grep -v '^ *+' conftest.er1 >conftest.err
    17731   rm -f conftest.er1
    17732   cat conftest.err >&5
    17733   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17734   (exit $ac_status); } && {
    17735          test -z "$ac_cxx_werror_flag" ||
    17736          test ! -s conftest.err
    17737        } && test -s conftest$ac_exeext && {
    17738          test "$cross_compiling" = yes ||
    17739          $as_test_x conftest$ac_exeext
    17740        }; then
    17741   eval "$as_ac_var=yes"
    17742 else
    17743   $as_echo "$as_me: failed program was:" >&5
    17744 sed 's/^/| /' conftest.$ac_ext >&5
    17745 
    17746         eval "$as_ac_var=no"
    17747 fi
    17748 
    17749 rm -rf conftest.dSYM
    17750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17751       conftest$ac_exeext conftest.$ac_ext
    17752 fi
    17753 ac_res=`eval 'as_val=${'$as_ac_var'}
    17754                  $as_echo "$as_val"'`
    17755                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17756 $as_echo "$ac_res" >&6; }
    17757 as_val=`eval 'as_val=${'$as_ac_var'}
    17758                  $as_echo "$as_val"'`
    17759    if test "x$as_val" = x""yes; then
     9815#define HAVE_AVCODEC_DECODE_VIDEO2 1
     9816_ACEOF
     9817
     9818fi
     9819done
     9820
     9821  for ac_func in avcodec_open
     9822do :
     9823  ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
     9824if test "x$ac_cv_func_avcodec_open" = xyes; then :
    177609825  cat >>confdefs.h <<_ACEOF
    17761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17762 _ACEOF
    17763 
    17764 fi
    17765 done
    17766 
    17767 
    17768 for ac_func in avcodec_open2
    17769 do
    17770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17771 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17772 $as_echo_n "checking for $ac_func... " >&6; }
    17773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17774   $as_echo_n "(cached) " >&6
    17775 else
    17776   cat >conftest.$ac_ext <<_ACEOF
    17777 /* confdefs.h.  */
    17778 _ACEOF
    17779 cat confdefs.h >>conftest.$ac_ext
    17780 cat >>conftest.$ac_ext <<_ACEOF
    17781 /* end confdefs.h.  */
    17782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17784 #define $ac_func innocuous_$ac_func
    17785 
    17786 /* System header to define __stub macros and hopefully few prototypes,
    17787     which can conflict with char $ac_func (); below.
    17788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17789     <limits.h> exists even on freestanding compilers.  */
    17790 
    17791 #ifdef __STDC__
    17792 # include <limits.h>
    17793 #else
    17794 # include <assert.h>
    17795 #endif
    17796 
    17797 #undef $ac_func
    17798 
    17799 /* Override any GCC internal prototype to avoid an error.
    17800    Use char because int might match the return type of a GCC
    17801    builtin and then its argument prototype would still apply.  */
    17802 #ifdef __cplusplus
    17803 extern "C"
    17804 #endif
    17805 char $ac_func ();
    17806 /* The GNU C library defines this for functions which it implements
    17807     to always fail with ENOSYS.  Some functions are actually named
    17808     something starting with __ and the normal name is an alias.  */
    17809 #if defined __stub_$ac_func || defined __stub___$ac_func
    17810 choke me
    17811 #endif
    17812 
    17813 int
    17814 main ()
    17815 {
    17816 return $ac_func ();
    17817   ;
    17818   return 0;
    17819 }
    17820 _ACEOF
    17821 rm -f conftest.$ac_objext conftest$ac_exeext
    17822 if { (ac_try="$ac_link"
    17823 case "(($ac_try" in
    17824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17825   *) ac_try_echo=$ac_try;;
    17826 esac
    17827 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17828 $as_echo "$ac_try_echo") >&5
    17829   (eval "$ac_link") 2>conftest.er1
    17830   ac_status=$?
    17831   grep -v '^ *+' conftest.er1 >conftest.err
    17832   rm -f conftest.er1
    17833   cat conftest.err >&5
    17834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17835   (exit $ac_status); } && {
    17836          test -z "$ac_cxx_werror_flag" ||
    17837          test ! -s conftest.err
    17838        } && test -s conftest$ac_exeext && {
    17839          test "$cross_compiling" = yes ||
    17840          $as_test_x conftest$ac_exeext
    17841        }; then
    17842   eval "$as_ac_var=yes"
    17843 else
    17844   $as_echo "$as_me: failed program was:" >&5
    17845 sed 's/^/| /' conftest.$ac_ext >&5
    17846 
    17847         eval "$as_ac_var=no"
    17848 fi
    17849 
    17850 rm -rf conftest.dSYM
    17851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17852       conftest$ac_exeext conftest.$ac_ext
    17853 fi
    17854 ac_res=`eval 'as_val=${'$as_ac_var'}
    17855                  $as_echo "$as_val"'`
    17856                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17857 $as_echo "$ac_res" >&6; }
    17858 as_val=`eval 'as_val=${'$as_ac_var'}
    17859                  $as_echo "$as_val"'`
    17860    if test "x$as_val" = x""yes; then
     9826#define HAVE_AVCODEC_OPEN 1
     9827_ACEOF
     9828
     9829fi
     9830done
     9831
     9832  for ac_func in avcodec_open2
     9833do :
     9834  ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"
     9835if test "x$ac_cv_func_avcodec_open2" = xyes; then :
    178619836  cat >>confdefs.h <<_ACEOF
    17862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17863 _ACEOF
    17864 
    17865 fi
    17866 done
    17867 
    17868 
    17869 for ac_func in avformat_find_stream_info
    17870 do
    17871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17872 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17873 $as_echo_n "checking for $ac_func... " >&6; }
    17874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17875   $as_echo_n "(cached) " >&6
    17876 else
    17877   cat >conftest.$ac_ext <<_ACEOF
    17878 /* confdefs.h.  */
    17879 _ACEOF
    17880 cat confdefs.h >>conftest.$ac_ext
    17881 cat >>conftest.$ac_ext <<_ACEOF
    17882 /* end confdefs.h.  */
    17883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17885 #define $ac_func innocuous_$ac_func
    17886 
    17887 /* System header to define __stub macros and hopefully few prototypes,
    17888     which can conflict with char $ac_func (); below.
    17889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17890     <limits.h> exists even on freestanding compilers.  */
    17891 
    17892 #ifdef __STDC__
    17893 # include <limits.h>
    17894 #else
    17895 # include <assert.h>
    17896 #endif
    17897 
    17898 #undef $ac_func
    17899 
    17900 /* Override any GCC internal prototype to avoid an error.
    17901    Use char because int might match the return type of a GCC
    17902    builtin and then its argument prototype would still apply.  */
    17903 #ifdef __cplusplus
    17904 extern "C"
    17905 #endif
    17906 char $ac_func ();
    17907 /* The GNU C library defines this for functions which it implements
    17908     to always fail with ENOSYS.  Some functions are actually named
    17909     something starting with __ and the normal name is an alias.  */
    17910 #if defined __stub_$ac_func || defined __stub___$ac_func
    17911 choke me
    17912 #endif
    17913 
    17914 int
    17915 main ()
    17916 {
    17917 return $ac_func ();
    17918   ;
    17919   return 0;
    17920 }
    17921 _ACEOF
    17922 rm -f conftest.$ac_objext conftest$ac_exeext
    17923 if { (ac_try="$ac_link"
    17924 case "(($ac_try" in
    17925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17926   *) ac_try_echo=$ac_try;;
    17927 esac
    17928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17929 $as_echo "$ac_try_echo") >&5
    17930   (eval "$ac_link") 2>conftest.er1
    17931   ac_status=$?
    17932   grep -v '^ *+' conftest.er1 >conftest.err
    17933   rm -f conftest.er1
    17934   cat conftest.err >&5
    17935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17936   (exit $ac_status); } && {
    17937          test -z "$ac_cxx_werror_flag" ||
    17938          test ! -s conftest.err
    17939        } && test -s conftest$ac_exeext && {
    17940          test "$cross_compiling" = yes ||
    17941          $as_test_x conftest$ac_exeext
    17942        }; then
    17943   eval "$as_ac_var=yes"
    17944 else
    17945   $as_echo "$as_me: failed program was:" >&5
    17946 sed 's/^/| /' conftest.$ac_ext >&5
    17947 
    17948         eval "$as_ac_var=no"
    17949 fi
    17950 
    17951 rm -rf conftest.dSYM
    17952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17953       conftest$ac_exeext conftest.$ac_ext
    17954 fi
    17955 ac_res=`eval 'as_val=${'$as_ac_var'}
    17956                  $as_echo "$as_val"'`
    17957                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17958 $as_echo "$ac_res" >&6; }
    17959 as_val=`eval 'as_val=${'$as_ac_var'}
    17960                  $as_echo "$as_val"'`
    17961    if test "x$as_val" = x""yes; then
     9837#define HAVE_AVCODEC_OPEN2 1
     9838_ACEOF
     9839
     9840fi
     9841done
     9842
     9843  for ac_func in avformat_find_stream_info
     9844do :
     9845  ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"
     9846if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :
    179629847  cat >>confdefs.h <<_ACEOF
    17963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17964 _ACEOF
    17965 
    17966 fi
    17967 done
    17968 
    17969 
    17970 for ac_func in avformat_open_input
    17971 do
    17972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17973 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17974 $as_echo_n "checking for $ac_func... " >&6; }
    17975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17976   $as_echo_n "(cached) " >&6
    17977 else
    17978   cat >conftest.$ac_ext <<_ACEOF
    17979 /* confdefs.h.  */
    17980 _ACEOF
    17981 cat confdefs.h >>conftest.$ac_ext
    17982 cat >>conftest.$ac_ext <<_ACEOF
    17983 /* end confdefs.h.  */
    17984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17986 #define $ac_func innocuous_$ac_func
    17987 
    17988 /* System header to define __stub macros and hopefully few prototypes,
    17989     which can conflict with char $ac_func (); below.
    17990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17991     <limits.h> exists even on freestanding compilers.  */
    17992 
    17993 #ifdef __STDC__
    17994 # include <limits.h>
    17995 #else
    17996 # include <assert.h>
    17997 #endif
    17998 
    17999 #undef $ac_func
    18000 
    18001 /* Override any GCC internal prototype to avoid an error.
    18002    Use char because int might match the return type of a GCC
    18003    builtin and then its argument prototype would still apply.  */
    18004 #ifdef __cplusplus
    18005 extern "C"
    18006 #endif
    18007 char $ac_func ();
    18008 /* The GNU C library defines this for functions which it implements
    18009     to always fail with ENOSYS.  Some functions are actually named
    18010     something starting with __ and the normal name is an alias.  */
    18011 #if defined __stub_$ac_func || defined __stub___$ac_func
    18012 choke me
    18013 #endif
    18014 
    18015 int
    18016 main ()
    18017 {
    18018 return $ac_func ();
    18019   ;
    18020   return 0;
    18021 }
    18022 _ACEOF
    18023 rm -f conftest.$ac_objext conftest$ac_exeext
    18024 if { (ac_try="$ac_link"
    18025 case "(($ac_try" in
    18026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18027   *) ac_try_echo=$ac_try;;
    18028 esac
    18029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18030 $as_echo "$ac_try_echo") >&5
    18031   (eval "$ac_link") 2>conftest.er1
    18032   ac_status=$?
    18033   grep -v '^ *+' conftest.er1 >conftest.err
    18034   rm -f conftest.er1
    18035   cat conftest.err >&5
    18036   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18037   (exit $ac_status); } && {
    18038          test -z "$ac_cxx_werror_flag" ||
    18039          test ! -s conftest.err
    18040        } && test -s conftest$ac_exeext && {
    18041          test "$cross_compiling" = yes ||
    18042          $as_test_x conftest$ac_exeext
    18043        }; then
    18044   eval "$as_ac_var=yes"
    18045 else
    18046   $as_echo "$as_me: failed program was:" >&5
    18047 sed 's/^/| /' conftest.$ac_ext >&5
    18048 
    18049         eval "$as_ac_var=no"
    18050 fi
    18051 
    18052 rm -rf conftest.dSYM
    18053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18054       conftest$ac_exeext conftest.$ac_ext
    18055 fi
    18056 ac_res=`eval 'as_val=${'$as_ac_var'}
    18057                  $as_echo "$as_val"'`
    18058                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18059 $as_echo "$ac_res" >&6; }
    18060 as_val=`eval 'as_val=${'$as_ac_var'}
    18061                  $as_echo "$as_val"'`
    18062    if test "x$as_val" = x""yes; then
     9848#define HAVE_AVFORMAT_FIND_STREAM_INFO 1
     9849_ACEOF
     9850
     9851fi
     9852done
     9853
     9854  for ac_func in avformat_open_input
     9855do :
     9856  ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"
     9857if test "x$ac_cv_func_avformat_open_input" = xyes; then :
    180639858  cat >>confdefs.h <<_ACEOF
    18064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18065 _ACEOF
    18066 
    18067 fi
    18068 done
    18069 
    18070 
    18071 for ac_func in avio_close
    18072 do
    18073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18074 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18075 $as_echo_n "checking for $ac_func... " >&6; }
    18076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18077   $as_echo_n "(cached) " >&6
    18078 else
    18079   cat >conftest.$ac_ext <<_ACEOF
    18080 /* confdefs.h.  */
    18081 _ACEOF
    18082 cat confdefs.h >>conftest.$ac_ext
    18083 cat >>conftest.$ac_ext <<_ACEOF
    18084 /* end confdefs.h.  */
    18085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18087 #define $ac_func innocuous_$ac_func
    18088 
    18089 /* System header to define __stub macros and hopefully few prototypes,
    18090     which can conflict with char $ac_func (); below.
    18091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18092     <limits.h> exists even on freestanding compilers.  */
    18093 
    18094 #ifdef __STDC__
    18095 # include <limits.h>
    18096 #else
    18097 # include <assert.h>
    18098 #endif
    18099 
    18100 #undef $ac_func
    18101 
    18102 /* Override any GCC internal prototype to avoid an error.
    18103    Use char because int might match the return type of a GCC
    18104    builtin and then its argument prototype would still apply.  */
    18105 #ifdef __cplusplus
    18106 extern "C"
    18107 #endif
    18108 char $ac_func ();
    18109 /* The GNU C library defines this for functions which it implements
    18110     to always fail with ENOSYS.  Some functions are actually named
    18111     something starting with __ and the normal name is an alias.  */
    18112 #if defined __stub_$ac_func || defined __stub___$ac_func
    18113 choke me
    18114 #endif
    18115 
    18116 int
    18117 main ()
    18118 {
    18119 return $ac_func ();
    18120   ;
    18121   return 0;
    18122 }
    18123 _ACEOF
    18124 rm -f conftest.$ac_objext conftest$ac_exeext
    18125 if { (ac_try="$ac_link"
    18126 case "(($ac_try" in
    18127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18128   *) ac_try_echo=$ac_try;;
    18129 esac
    18130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18131 $as_echo "$ac_try_echo") >&5
    18132   (eval "$ac_link") 2>conftest.er1
    18133   ac_status=$?
    18134   grep -v '^ *+' conftest.er1 >conftest.err
    18135   rm -f conftest.er1
    18136   cat conftest.err >&5
    18137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18138   (exit $ac_status); } && {
    18139          test -z "$ac_cxx_werror_flag" ||
    18140          test ! -s conftest.err
    18141        } && test -s conftest$ac_exeext && {
    18142          test "$cross_compiling" = yes ||
    18143          $as_test_x conftest$ac_exeext
    18144        }; then
    18145   eval "$as_ac_var=yes"
    18146 else
    18147   $as_echo "$as_me: failed program was:" >&5
    18148 sed 's/^/| /' conftest.$ac_ext >&5
    18149 
    18150         eval "$as_ac_var=no"
    18151 fi
    18152 
    18153 rm -rf conftest.dSYM
    18154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18155       conftest$ac_exeext conftest.$ac_ext
    18156 fi
    18157 ac_res=`eval 'as_val=${'$as_ac_var'}
    18158                  $as_echo "$as_val"'`
    18159                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18160 $as_echo "$ac_res" >&6; }
    18161 as_val=`eval 'as_val=${'$as_ac_var'}
    18162                  $as_echo "$as_val"'`
    18163    if test "x$as_val" = x""yes; then
     9859#define HAVE_AVFORMAT_OPEN_INPUT 1
     9860_ACEOF
     9861
     9862fi
     9863done
     9864
     9865  for ac_func in avio_close
     9866do :
     9867  ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"
     9868if test "x$ac_cv_func_avio_close" = xyes; then :
    181649869  cat >>confdefs.h <<_ACEOF
    18165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18166 _ACEOF
    18167 
    18168 fi
    18169 done
    18170 
    18171 
    18172 for ac_func in img_convert
    18173 do
    18174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18175 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18176 $as_echo_n "checking for $ac_func... " >&6; }
    18177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18178   $as_echo_n "(cached) " >&6
    18179 else
    18180   cat >conftest.$ac_ext <<_ACEOF
    18181 /* confdefs.h.  */
    18182 _ACEOF
    18183 cat confdefs.h >>conftest.$ac_ext
    18184 cat >>conftest.$ac_ext <<_ACEOF
    18185 /* end confdefs.h.  */
    18186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18188 #define $ac_func innocuous_$ac_func
    18189 
    18190 /* System header to define __stub macros and hopefully few prototypes,
    18191     which can conflict with char $ac_func (); below.
    18192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18193     <limits.h> exists even on freestanding compilers.  */
    18194 
    18195 #ifdef __STDC__
    18196 # include <limits.h>
    18197 #else
    18198 # include <assert.h>
    18199 #endif
    18200 
    18201 #undef $ac_func
    18202 
    18203 /* Override any GCC internal prototype to avoid an error.
    18204    Use char because int might match the return type of a GCC
    18205    builtin and then its argument prototype would still apply.  */
    18206 #ifdef __cplusplus
    18207 extern "C"
    18208 #endif
    18209 char $ac_func ();
    18210 /* The GNU C library defines this for functions which it implements
    18211     to always fail with ENOSYS.  Some functions are actually named
    18212     something starting with __ and the normal name is an alias.  */
    18213 #if defined __stub_$ac_func || defined __stub___$ac_func
    18214 choke me
    18215 #endif
    18216 
    18217 int
    18218 main ()
    18219 {
    18220 return $ac_func ();
    18221   ;
    18222   return 0;
    18223 }
    18224 _ACEOF
    18225 rm -f conftest.$ac_objext conftest$ac_exeext
    18226 if { (ac_try="$ac_link"
    18227 case "(($ac_try" in
    18228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18229   *) ac_try_echo=$ac_try;;
    18230 esac
    18231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18232 $as_echo "$ac_try_echo") >&5
    18233   (eval "$ac_link") 2>conftest.er1
    18234   ac_status=$?
    18235   grep -v '^ *+' conftest.er1 >conftest.err
    18236   rm -f conftest.er1
    18237   cat conftest.err >&5
    18238   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18239   (exit $ac_status); } && {
    18240          test -z "$ac_cxx_werror_flag" ||
    18241          test ! -s conftest.err
    18242        } && test -s conftest$ac_exeext && {
    18243          test "$cross_compiling" = yes ||
    18244          $as_test_x conftest$ac_exeext
    18245        }; then
    18246   eval "$as_ac_var=yes"
    18247 else
    18248   $as_echo "$as_me: failed program was:" >&5
    18249 sed 's/^/| /' conftest.$ac_ext >&5
    18250 
    18251         eval "$as_ac_var=no"
    18252 fi
    18253 
    18254 rm -rf conftest.dSYM
    18255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18256       conftest$ac_exeext conftest.$ac_ext
    18257 fi
    18258 ac_res=`eval 'as_val=${'$as_ac_var'}
    18259                  $as_echo "$as_val"'`
    18260                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18261 $as_echo "$ac_res" >&6; }
    18262 as_val=`eval 'as_val=${'$as_ac_var'}
    18263                  $as_echo "$as_val"'`
    18264    if test "x$as_val" = x""yes; then
     9870#define HAVE_AVIO_CLOSE 1
     9871_ACEOF
     9872
     9873fi
     9874done
     9875
     9876  for ac_func in img_convert
     9877do :
     9878  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     9879if test "x$ac_cv_func_img_convert" = xyes; then :
    182659880  cat >>confdefs.h <<_ACEOF
    18266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18267 _ACEOF
    18268 
    18269 fi
    18270 done
    18271 
    18272 
    18273 for ac_func in sws_getCachedContext
    18274 do
    18275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18276 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18277 $as_echo_n "checking for $ac_func... " >&6; }
    18278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18279   $as_echo_n "(cached) " >&6
    18280 else
    18281   cat >conftest.$ac_ext <<_ACEOF
    18282 /* confdefs.h.  */
    18283 _ACEOF
    18284 cat confdefs.h >>conftest.$ac_ext
    18285 cat >>conftest.$ac_ext <<_ACEOF
    18286 /* end confdefs.h.  */
    18287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18289 #define $ac_func innocuous_$ac_func
    18290 
    18291 /* System header to define __stub macros and hopefully few prototypes,
    18292     which can conflict with char $ac_func (); below.
    18293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18294     <limits.h> exists even on freestanding compilers.  */
    18295 
    18296 #ifdef __STDC__
    18297 # include <limits.h>
    18298 #else
    18299 # include <assert.h>
    18300 #endif
    18301 
    18302 #undef $ac_func
    18303 
    18304 /* Override any GCC internal prototype to avoid an error.
    18305    Use char because int might match the return type of a GCC
    18306    builtin and then its argument prototype would still apply.  */
    18307 #ifdef __cplusplus
    18308 extern "C"
    18309 #endif
    18310 char $ac_func ();
    18311 /* The GNU C library defines this for functions which it implements
    18312     to always fail with ENOSYS.  Some functions are actually named
    18313     something starting with __ and the normal name is an alias.  */
    18314 #if defined __stub_$ac_func || defined __stub___$ac_func
    18315 choke me
    18316 #endif
    18317 
    18318 int
    18319 main ()
    18320 {
    18321 return $ac_func ();
    18322   ;
    18323   return 0;
    18324 }
    18325 _ACEOF
    18326 rm -f conftest.$ac_objext conftest$ac_exeext
    18327 if { (ac_try="$ac_link"
    18328 case "(($ac_try" in
    18329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18330   *) ac_try_echo=$ac_try;;
    18331 esac
    18332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18333 $as_echo "$ac_try_echo") >&5
    18334   (eval "$ac_link") 2>conftest.er1
    18335   ac_status=$?
    18336   grep -v '^ *+' conftest.er1 >conftest.err
    18337   rm -f conftest.er1
    18338   cat conftest.err >&5
    18339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18340   (exit $ac_status); } && {
    18341          test -z "$ac_cxx_werror_flag" ||
    18342          test ! -s conftest.err
    18343        } && test -s conftest$ac_exeext && {
    18344          test "$cross_compiling" = yes ||
    18345          $as_test_x conftest$ac_exeext
    18346        }; then
    18347   eval "$as_ac_var=yes"
    18348 else
    18349   $as_echo "$as_me: failed program was:" >&5
    18350 sed 's/^/| /' conftest.$ac_ext >&5
    18351 
    18352         eval "$as_ac_var=no"
    18353 fi
    18354 
    18355 rm -rf conftest.dSYM
    18356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18357       conftest$ac_exeext conftest.$ac_ext
    18358 fi
    18359 ac_res=`eval 'as_val=${'$as_ac_var'}
    18360                  $as_echo "$as_val"'`
    18361                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18362 $as_echo "$ac_res" >&6; }
    18363 as_val=`eval 'as_val=${'$as_ac_var'}
    18364                  $as_echo "$as_val"'`
    18365    if test "x$as_val" = x""yes; then
     9881#define HAVE_IMG_CONVERT 1
     9882_ACEOF
     9883
     9884fi
     9885done
     9886
     9887  for ac_func in sws_getCachedContext
     9888do :
     9889  ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
     9890if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
    183669891  cat >>confdefs.h <<_ACEOF
    18367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18368 _ACEOF
    18369 
    18370 fi
    18371 done
    18372 
    18373 
    18374 for ac_func in sws_scale
    18375 do
    18376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18377 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18378 $as_echo_n "checking for $ac_func... " >&6; }
    18379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18380   $as_echo_n "(cached) " >&6
    18381 else
    18382   cat >conftest.$ac_ext <<_ACEOF
    18383 /* confdefs.h.  */
    18384 _ACEOF
    18385 cat confdefs.h >>conftest.$ac_ext
    18386 cat >>conftest.$ac_ext <<_ACEOF
    18387 /* end confdefs.h.  */
    18388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18390 #define $ac_func innocuous_$ac_func
    18391 
    18392 /* System header to define __stub macros and hopefully few prototypes,
    18393     which can conflict with char $ac_func (); below.
    18394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18395     <limits.h> exists even on freestanding compilers.  */
    18396 
    18397 #ifdef __STDC__
    18398 # include <limits.h>
    18399 #else
    18400 # include <assert.h>
    18401 #endif
    18402 
    18403 #undef $ac_func
    18404 
    18405 /* Override any GCC internal prototype to avoid an error.
    18406    Use char because int might match the return type of a GCC
    18407    builtin and then its argument prototype would still apply.  */
    18408 #ifdef __cplusplus
    18409 extern "C"
    18410 #endif
    18411 char $ac_func ();
    18412 /* The GNU C library defines this for functions which it implements
    18413     to always fail with ENOSYS.  Some functions are actually named
    18414     something starting with __ and the normal name is an alias.  */
    18415 #if defined __stub_$ac_func || defined __stub___$ac_func
    18416 choke me
    18417 #endif
    18418 
    18419 int
    18420 main ()
    18421 {
    18422 return $ac_func ();
    18423   ;
    18424   return 0;
    18425 }
    18426 _ACEOF
    18427 rm -f conftest.$ac_objext conftest$ac_exeext
    18428 if { (ac_try="$ac_link"
    18429 case "(($ac_try" in
    18430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18431   *) ac_try_echo=$ac_try;;
    18432 esac
    18433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18434 $as_echo "$ac_try_echo") >&5
    18435   (eval "$ac_link") 2>conftest.er1
    18436   ac_status=$?
    18437   grep -v '^ *+' conftest.er1 >conftest.err
    18438   rm -f conftest.er1
    18439   cat conftest.err >&5
    18440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18441   (exit $ac_status); } && {
    18442          test -z "$ac_cxx_werror_flag" ||
    18443          test ! -s conftest.err
    18444        } && test -s conftest$ac_exeext && {
    18445          test "$cross_compiling" = yes ||
    18446          $as_test_x conftest$ac_exeext
    18447        }; then
    18448   eval "$as_ac_var=yes"
    18449 else
    18450   $as_echo "$as_me: failed program was:" >&5
    18451 sed 's/^/| /' conftest.$ac_ext >&5
    18452 
    18453         eval "$as_ac_var=no"
    18454 fi
    18455 
    18456 rm -rf conftest.dSYM
    18457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18458       conftest$ac_exeext conftest.$ac_ext
    18459 fi
    18460 ac_res=`eval 'as_val=${'$as_ac_var'}
    18461                  $as_echo "$as_val"'`
    18462                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18463 $as_echo "$ac_res" >&6; }
    18464 as_val=`eval 'as_val=${'$as_ac_var'}
    18465                  $as_echo "$as_val"'`
    18466    if test "x$as_val" = x""yes; then
     9892#define HAVE_SWS_GETCACHEDCONTEXT 1
     9893_ACEOF
     9894
     9895fi
     9896done
     9897
     9898  for ac_func in sws_scale
     9899do :
     9900  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     9901if test "x$ac_cv_func_sws_scale" = xyes; then :
    184679902  cat >>confdefs.h <<_ACEOF
    18468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18469 _ACEOF
    18470 
    18471 fi
    18472 done
    18473 
    18474 
    18475 for ac_func in url_close
    18476 do
    18477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18478 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18479 $as_echo_n "checking for $ac_func... " >&6; }
    18480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18481   $as_echo_n "(cached) " >&6
    18482 else
    18483   cat >conftest.$ac_ext <<_ACEOF
    18484 /* confdefs.h.  */
    18485 _ACEOF
    18486 cat confdefs.h >>conftest.$ac_ext
    18487 cat >>conftest.$ac_ext <<_ACEOF
    18488 /* end confdefs.h.  */
    18489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18491 #define $ac_func innocuous_$ac_func
    18492 
    18493 /* System header to define __stub macros and hopefully few prototypes,
    18494     which can conflict with char $ac_func (); below.
    18495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18496     <limits.h> exists even on freestanding compilers.  */
    18497 
    18498 #ifdef __STDC__
    18499 # include <limits.h>
    18500 #else
    18501 # include <assert.h>
    18502 #endif
    18503 
    18504 #undef $ac_func
    18505 
    18506 /* Override any GCC internal prototype to avoid an error.
    18507    Use char because int might match the return type of a GCC
    18508    builtin and then its argument prototype would still apply.  */
    18509 #ifdef __cplusplus
    18510 extern "C"
    18511 #endif
    18512 char $ac_func ();
    18513 /* The GNU C library defines this for functions which it implements
    18514     to always fail with ENOSYS.  Some functions are actually named
    18515     something starting with __ and the normal name is an alias.  */
    18516 #if defined __stub_$ac_func || defined __stub___$ac_func
    18517 choke me
    18518 #endif
    18519 
    18520 int
    18521 main ()
    18522 {
    18523 return $ac_func ();
    18524   ;
    18525   return 0;
    18526 }
    18527 _ACEOF
    18528 rm -f conftest.$ac_objext conftest$ac_exeext
    18529 if { (ac_try="$ac_link"
    18530 case "(($ac_try" in
    18531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18532   *) ac_try_echo=$ac_try;;
    18533 esac
    18534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18535 $as_echo "$ac_try_echo") >&5
    18536   (eval "$ac_link") 2>conftest.er1
    18537   ac_status=$?
    18538   grep -v '^ *+' conftest.er1 >conftest.err
    18539   rm -f conftest.er1
    18540   cat conftest.err >&5
    18541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18542   (exit $ac_status); } && {
    18543          test -z "$ac_cxx_werror_flag" ||
    18544          test ! -s conftest.err
    18545        } && test -s conftest$ac_exeext && {
    18546          test "$cross_compiling" = yes ||
    18547          $as_test_x conftest$ac_exeext
    18548        }; then
    18549   eval "$as_ac_var=yes"
    18550 else
    18551   $as_echo "$as_me: failed program was:" >&5
    18552 sed 's/^/| /' conftest.$ac_ext >&5
    18553 
    18554         eval "$as_ac_var=no"
    18555 fi
    18556 
    18557 rm -rf conftest.dSYM
    18558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18559       conftest$ac_exeext conftest.$ac_ext
    18560 fi
    18561 ac_res=`eval 'as_val=${'$as_ac_var'}
    18562                  $as_echo "$as_val"'`
    18563                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18564 $as_echo "$ac_res" >&6; }
    18565 as_val=`eval 'as_val=${'$as_ac_var'}
    18566                  $as_echo "$as_val"'`
    18567    if test "x$as_val" = x""yes; then
     9903#define HAVE_SWS_SCALE 1
     9904_ACEOF
     9905
     9906fi
     9907done
     9908
     9909  for ac_func in url_close
     9910do :
     9911  ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close"
     9912if test "x$ac_cv_func_url_close" = xyes; then :
    185689913  cat >>confdefs.h <<_ACEOF
    18569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18570 _ACEOF
    18571 
    18572 fi
    18573 done
    18574 
    18575 
    18576 for ac_func in av_close_input_file
    18577 do
    18578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18579 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18580 $as_echo_n "checking for $ac_func... " >&6; }
    18581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18582   $as_echo_n "(cached) " >&6
    18583 else
    18584   cat >conftest.$ac_ext <<_ACEOF
    18585 /* confdefs.h.  */
    18586 _ACEOF
    18587 cat confdefs.h >>conftest.$ac_ext
    18588 cat >>conftest.$ac_ext <<_ACEOF
    18589 /* end confdefs.h.  */
    18590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18592 #define $ac_func innocuous_$ac_func
    18593 
    18594 /* System header to define __stub macros and hopefully few prototypes,
    18595     which can conflict with char $ac_func (); below.
    18596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18597     <limits.h> exists even on freestanding compilers.  */
    18598 
    18599 #ifdef __STDC__
    18600 # include <limits.h>
    18601 #else
    18602 # include <assert.h>
    18603 #endif
    18604 
    18605 #undef $ac_func
    18606 
    18607 /* Override any GCC internal prototype to avoid an error.
    18608    Use char because int might match the return type of a GCC
    18609    builtin and then its argument prototype would still apply.  */
    18610 #ifdef __cplusplus
    18611 extern "C"
    18612 #endif
    18613 char $ac_func ();
    18614 /* The GNU C library defines this for functions which it implements
    18615     to always fail with ENOSYS.  Some functions are actually named
    18616     something starting with __ and the normal name is an alias.  */
    18617 #if defined __stub_$ac_func || defined __stub___$ac_func
    18618 choke me
    18619 #endif
    18620 
    18621 int
    18622 main ()
    18623 {
    18624 return $ac_func ();
    18625   ;
    18626   return 0;
    18627 }
    18628 _ACEOF
    18629 rm -f conftest.$ac_objext conftest$ac_exeext
    18630 if { (ac_try="$ac_link"
    18631 case "(($ac_try" in
    18632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18633   *) ac_try_echo=$ac_try;;
    18634 esac
    18635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18636 $as_echo "$ac_try_echo") >&5
    18637   (eval "$ac_link") 2>conftest.er1
    18638   ac_status=$?
    18639   grep -v '^ *+' conftest.er1 >conftest.err
    18640   rm -f conftest.er1
    18641   cat conftest.err >&5
    18642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18643   (exit $ac_status); } && {
    18644          test -z "$ac_cxx_werror_flag" ||
    18645          test ! -s conftest.err
    18646        } && test -s conftest$ac_exeext && {
    18647          test "$cross_compiling" = yes ||
    18648          $as_test_x conftest$ac_exeext
    18649        }; then
    18650   eval "$as_ac_var=yes"
    18651 else
    18652   $as_echo "$as_me: failed program was:" >&5
    18653 sed 's/^/| /' conftest.$ac_ext >&5
    18654 
    18655         eval "$as_ac_var=no"
    18656 fi
    18657 
    18658 rm -rf conftest.dSYM
    18659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18660       conftest$ac_exeext conftest.$ac_ext
    18661 fi
    18662 ac_res=`eval 'as_val=${'$as_ac_var'}
    18663                  $as_echo "$as_val"'`
    18664                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18665 $as_echo "$ac_res" >&6; }
    18666 as_val=`eval 'as_val=${'$as_ac_var'}
    18667                  $as_echo "$as_val"'`
    18668    if test "x$as_val" = x""yes; then
     9914#define HAVE_URL_CLOSE 1
     9915_ACEOF
     9916
     9917fi
     9918done
     9919
     9920  for ac_func in av_close_input_file
     9921do :
     9922  ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"
     9923if test "x$ac_cv_func_av_close_input_file" = xyes; then :
    186699924  cat >>confdefs.h <<_ACEOF
    18670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18671 _ACEOF
    18672 
    18673 fi
    18674 done
    18675 
    18676 
    18677 for ac_func in avformat_close_input
    18678 do
    18679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18680 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18681 $as_echo_n "checking for $ac_func... " >&6; }
    18682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18683   $as_echo_n "(cached) " >&6
    18684 else
    18685   cat >conftest.$ac_ext <<_ACEOF
    18686 /* confdefs.h.  */
    18687 _ACEOF
    18688 cat confdefs.h >>conftest.$ac_ext
    18689 cat >>conftest.$ac_ext <<_ACEOF
    18690 /* end confdefs.h.  */
    18691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18692    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18693 #define $ac_func innocuous_$ac_func
    18694 
    18695 /* System header to define __stub macros and hopefully few prototypes,
    18696     which can conflict with char $ac_func (); below.
    18697     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18698     <limits.h> exists even on freestanding compilers.  */
    18699 
    18700 #ifdef __STDC__
    18701 # include <limits.h>
    18702 #else
    18703 # include <assert.h>
    18704 #endif
    18705 
    18706 #undef $ac_func
    18707 
    18708 /* Override any GCC internal prototype to avoid an error.
    18709    Use char because int might match the return type of a GCC
    18710    builtin and then its argument prototype would still apply.  */
    18711 #ifdef __cplusplus
    18712 extern "C"
    18713 #endif
    18714 char $ac_func ();
    18715 /* The GNU C library defines this for functions which it implements
    18716     to always fail with ENOSYS.  Some functions are actually named
    18717     something starting with __ and the normal name is an alias.  */
    18718 #if defined __stub_$ac_func || defined __stub___$ac_func
    18719 choke me
    18720 #endif
    18721 
    18722 int
    18723 main ()
    18724 {
    18725 return $ac_func ();
    18726   ;
    18727   return 0;
    18728 }
    18729 _ACEOF
    18730 rm -f conftest.$ac_objext conftest$ac_exeext
    18731 if { (ac_try="$ac_link"
    18732 case "(($ac_try" in
    18733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18734   *) ac_try_echo=$ac_try;;
    18735 esac
    18736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18737 $as_echo "$ac_try_echo") >&5
    18738   (eval "$ac_link") 2>conftest.er1
    18739   ac_status=$?
    18740   grep -v '^ *+' conftest.er1 >conftest.err
    18741   rm -f conftest.er1
    18742   cat conftest.err >&5
    18743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18744   (exit $ac_status); } && {
    18745          test -z "$ac_cxx_werror_flag" ||
    18746          test ! -s conftest.err
    18747        } && test -s conftest$ac_exeext && {
    18748          test "$cross_compiling" = yes ||
    18749          $as_test_x conftest$ac_exeext
    18750        }; then
    18751   eval "$as_ac_var=yes"
    18752 else
    18753   $as_echo "$as_me: failed program was:" >&5
    18754 sed 's/^/| /' conftest.$ac_ext >&5
    18755 
    18756         eval "$as_ac_var=no"
    18757 fi
    18758 
    18759 rm -rf conftest.dSYM
    18760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18761       conftest$ac_exeext conftest.$ac_ext
    18762 fi
    18763 ac_res=`eval 'as_val=${'$as_ac_var'}
    18764                  $as_echo "$as_val"'`
    18765                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18766 $as_echo "$ac_res" >&6; }
    18767 as_val=`eval 'as_val=${'$as_ac_var'}
    18768                  $as_echo "$as_val"'`
    18769    if test "x$as_val" = x""yes; then
     9925#define HAVE_AV_CLOSE_INPUT_FILE 1
     9926_ACEOF
     9927
     9928fi
     9929done
     9930
     9931  for ac_func in avformat_close_input
     9932do :
     9933  ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"
     9934if test "x$ac_cv_func_avformat_close_input" = xyes; then :
    187709935  cat >>confdefs.h <<_ACEOF
    18771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18772 _ACEOF
    18773 
    18774 fi
    18775 done
    18776 
    18777 
    18778   { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5
    18779 $as_echo_n "checking for avcodec_find_decoder... " >&6; }
    18780 if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then
    18781   $as_echo_n "(cached) " >&6
    18782 else
    18783   cat >conftest.$ac_ext <<_ACEOF
    18784 /* confdefs.h.  */
    18785 _ACEOF
    18786 cat confdefs.h >>conftest.$ac_ext
    18787 cat >>conftest.$ac_ext <<_ACEOF
    18788 /* end confdefs.h.  */
    18789 /* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder.
    18790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18791 #define avcodec_find_decoder innocuous_avcodec_find_decoder
    18792 
    18793 /* System header to define __stub macros and hopefully few prototypes,
    18794     which can conflict with char avcodec_find_decoder (); below.
    18795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18796     <limits.h> exists even on freestanding compilers.  */
    18797 
    18798 #ifdef __STDC__
    18799 # include <limits.h>
    18800 #else
    18801 # include <assert.h>
    18802 #endif
    18803 
    18804 #undef avcodec_find_decoder
    18805 
    18806 /* Override any GCC internal prototype to avoid an error.
    18807    Use char because int might match the return type of a GCC
    18808    builtin and then its argument prototype would still apply.  */
    18809 #ifdef __cplusplus
    18810 extern "C"
    18811 #endif
    18812 char avcodec_find_decoder ();
    18813 /* The GNU C library defines this for functions which it implements
    18814     to always fail with ENOSYS.  Some functions are actually named
    18815     something starting with __ and the normal name is an alias.  */
    18816 #if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder
    18817 choke me
    18818 #endif
    18819 
    18820 int
    18821 main ()
    18822 {
    18823 return avcodec_find_decoder ();
    18824   ;
    18825   return 0;
    18826 }
    18827 _ACEOF
    18828 rm -f conftest.$ac_objext conftest$ac_exeext
    18829 if { (ac_try="$ac_link"
    18830 case "(($ac_try" in
    18831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18832   *) ac_try_echo=$ac_try;;
    18833 esac
    18834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18835 $as_echo "$ac_try_echo") >&5
    18836   (eval "$ac_link") 2>conftest.er1
    18837   ac_status=$?
    18838   grep -v '^ *+' conftest.er1 >conftest.err
    18839   rm -f conftest.er1
    18840   cat conftest.err >&5
    18841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18842   (exit $ac_status); } && {
    18843          test -z "$ac_cxx_werror_flag" ||
    18844          test ! -s conftest.err
    18845        } && test -s conftest$ac_exeext && {
    18846          test "$cross_compiling" = yes ||
    18847          $as_test_x conftest$ac_exeext
    18848        }; then
    18849   ac_cv_func_avcodec_find_decoder=yes
    18850 else
    18851   $as_echo "$as_me: failed program was:" >&5
    18852 sed 's/^/| /' conftest.$ac_ext >&5
    18853 
    18854         ac_cv_func_avcodec_find_decoder=no
    18855 fi
    18856 
    18857 rm -rf conftest.dSYM
    18858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18859       conftest$ac_exeext conftest.$ac_ext
    18860 fi
    18861 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5
    18862 $as_echo "$ac_cv_func_avcodec_find_decoder" >&6; }
    18863 if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then
    18864   :
    18865 else
    18866   { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5
    18867 $as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;}
    18868    { (exit 1); exit 1; }; }
    18869 fi
    18870 
    18871   { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5
    18872 $as_echo_n "checking for avcodec_alloc_frame... " >&6; }
    18873 if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then
    18874   $as_echo_n "(cached) " >&6
    18875 else
    18876   cat >conftest.$ac_ext <<_ACEOF
    18877 /* confdefs.h.  */
    18878 _ACEOF
    18879 cat confdefs.h >>conftest.$ac_ext
    18880 cat >>conftest.$ac_ext <<_ACEOF
    18881 /* end confdefs.h.  */
    18882 /* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame.
    18883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18884 #define avcodec_alloc_frame innocuous_avcodec_alloc_frame
    18885 
    18886 /* System header to define __stub macros and hopefully few prototypes,
    18887     which can conflict with char avcodec_alloc_frame (); below.
    18888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18889     <limits.h> exists even on freestanding compilers.  */
    18890 
    18891 #ifdef __STDC__
    18892 # include <limits.h>
    18893 #else
    18894 # include <assert.h>
    18895 #endif
    18896 
    18897 #undef avcodec_alloc_frame
    18898 
    18899 /* Override any GCC internal prototype to avoid an error.
    18900    Use char because int might match the return type of a GCC
    18901    builtin and then its argument prototype would still apply.  */
    18902 #ifdef __cplusplus
    18903 extern "C"
    18904 #endif
    18905 char avcodec_alloc_frame ();
    18906 /* The GNU C library defines this for functions which it implements
    18907     to always fail with ENOSYS.  Some functions are actually named
    18908     something starting with __ and the normal name is an alias.  */
    18909 #if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame
    18910 choke me
    18911 #endif
    18912 
    18913 int
    18914 main ()
    18915 {
    18916 return avcodec_alloc_frame ();
    18917   ;
    18918   return 0;
    18919 }
    18920 _ACEOF
    18921 rm -f conftest.$ac_objext conftest$ac_exeext
    18922 if { (ac_try="$ac_link"
    18923 case "(($ac_try" in
    18924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18925   *) ac_try_echo=$ac_try;;
    18926 esac
    18927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18928 $as_echo "$ac_try_echo") >&5
    18929   (eval "$ac_link") 2>conftest.er1
    18930   ac_status=$?
    18931   grep -v '^ *+' conftest.er1 >conftest.err
    18932   rm -f conftest.er1
    18933   cat conftest.err >&5
    18934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18935   (exit $ac_status); } && {
    18936          test -z "$ac_cxx_werror_flag" ||
    18937          test ! -s conftest.err
    18938        } && test -s conftest$ac_exeext && {
    18939          test "$cross_compiling" = yes ||
    18940          $as_test_x conftest$ac_exeext
    18941        }; then
    18942   ac_cv_func_avcodec_alloc_frame=yes
    18943 else
    18944   $as_echo "$as_me: failed program was:" >&5
    18945 sed 's/^/| /' conftest.$ac_ext >&5
    18946 
    18947         ac_cv_func_avcodec_alloc_frame=no
    18948 fi
    18949 
    18950 rm -rf conftest.dSYM
    18951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18952       conftest$ac_exeext conftest.$ac_ext
    18953 fi
    18954 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5
    18955 $as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; }
    18956 if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then
    18957   :
    18958 else
    18959   { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5
    18960 $as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;}
    18961    { (exit 1); exit 1; }; }
    18962 fi
    18963 
    18964   { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5
    18965 $as_echo_n "checking for av_rescale_q... " >&6; }
    18966 if test "${ac_cv_func_av_rescale_q+set}" = set; then
    18967   $as_echo_n "(cached) " >&6
    18968 else
    18969   cat >conftest.$ac_ext <<_ACEOF
    18970 /* confdefs.h.  */
    18971 _ACEOF
    18972 cat confdefs.h >>conftest.$ac_ext
    18973 cat >>conftest.$ac_ext <<_ACEOF
    18974 /* end confdefs.h.  */
    18975 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q.
    18976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18977 #define av_rescale_q innocuous_av_rescale_q
    18978 
    18979 /* System header to define __stub macros and hopefully few prototypes,
    18980     which can conflict with char av_rescale_q (); below.
    18981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18982     <limits.h> exists even on freestanding compilers.  */
    18983 
    18984 #ifdef __STDC__
    18985 # include <limits.h>
    18986 #else
    18987 # include <assert.h>
    18988 #endif
    18989 
    18990 #undef av_rescale_q
    18991 
    18992 /* Override any GCC internal prototype to avoid an error.
    18993    Use char because int might match the return type of a GCC
    18994    builtin and then its argument prototype would still apply.  */
    18995 #ifdef __cplusplus
    18996 extern "C"
    18997 #endif
    18998 char av_rescale_q ();
    18999 /* The GNU C library defines this for functions which it implements
    19000     to always fail with ENOSYS.  Some functions are actually named
    19001     something starting with __ and the normal name is an alias.  */
    19002 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q
    19003 choke me
    19004 #endif
    19005 
    19006 int
    19007 main ()
    19008 {
    19009 return av_rescale_q ();
    19010   ;
    19011   return 0;
    19012 }
    19013 _ACEOF
    19014 rm -f conftest.$ac_objext conftest$ac_exeext
    19015 if { (ac_try="$ac_link"
    19016 case "(($ac_try" in
    19017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19018   *) ac_try_echo=$ac_try;;
    19019 esac
    19020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19021 $as_echo "$ac_try_echo") >&5
    19022   (eval "$ac_link") 2>conftest.er1
    19023   ac_status=$?
    19024   grep -v '^ *+' conftest.er1 >conftest.err
    19025   rm -f conftest.er1
    19026   cat conftest.err >&5
    19027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19028   (exit $ac_status); } && {
    19029          test -z "$ac_cxx_werror_flag" ||
    19030          test ! -s conftest.err
    19031        } && test -s conftest$ac_exeext && {
    19032          test "$cross_compiling" = yes ||
    19033          $as_test_x conftest$ac_exeext
    19034        }; then
    19035   ac_cv_func_av_rescale_q=yes
    19036 else
    19037   $as_echo "$as_me: failed program was:" >&5
    19038 sed 's/^/| /' conftest.$ac_ext >&5
    19039 
    19040         ac_cv_func_av_rescale_q=no
    19041 fi
    19042 
    19043 rm -rf conftest.dSYM
    19044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19045       conftest$ac_exeext conftest.$ac_ext
    19046 fi
    19047 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5
    19048 $as_echo "$ac_cv_func_av_rescale_q" >&6; }
    19049 if test "x$ac_cv_func_av_rescale_q" = x""yes; then
    19050   :
    19051 else
    19052   { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5
    19053 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;}
    19054    { (exit 1); exit 1; }; }
    19055 fi
    19056 
    19057   { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5
    19058 $as_echo_n "checking for av_read_frame... " >&6; }
    19059 if test "${ac_cv_func_av_read_frame+set}" = set; then
    19060   $as_echo_n "(cached) " >&6
    19061 else
    19062   cat >conftest.$ac_ext <<_ACEOF
    19063 /* confdefs.h.  */
    19064 _ACEOF
    19065 cat confdefs.h >>conftest.$ac_ext
    19066 cat >>conftest.$ac_ext <<_ACEOF
    19067 /* end confdefs.h.  */
    19068 /* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame.
    19069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19070 #define av_read_frame innocuous_av_read_frame
    19071 
    19072 /* System header to define __stub macros and hopefully few prototypes,
    19073     which can conflict with char av_read_frame (); below.
    19074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19075     <limits.h> exists even on freestanding compilers.  */
    19076 
    19077 #ifdef __STDC__
    19078 # include <limits.h>
    19079 #else
    19080 # include <assert.h>
    19081 #endif
    19082 
    19083 #undef av_read_frame
    19084 
    19085 /* Override any GCC internal prototype to avoid an error.
    19086    Use char because int might match the return type of a GCC
    19087    builtin and then its argument prototype would still apply.  */
    19088 #ifdef __cplusplus
    19089 extern "C"
    19090 #endif
    19091 char av_read_frame ();
    19092 /* The GNU C library defines this for functions which it implements
    19093     to always fail with ENOSYS.  Some functions are actually named
    19094     something starting with __ and the normal name is an alias.  */
    19095 #if defined __stub_av_read_frame || defined __stub___av_read_frame
    19096 choke me
    19097 #endif
    19098 
    19099 int
    19100 main ()
    19101 {
    19102 return av_read_frame ();
    19103   ;
    19104   return 0;
    19105 }
    19106 _ACEOF
    19107 rm -f conftest.$ac_objext conftest$ac_exeext
    19108 if { (ac_try="$ac_link"
    19109 case "(($ac_try" in
    19110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19111   *) ac_try_echo=$ac_try;;
    19112 esac
    19113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19114 $as_echo "$ac_try_echo") >&5
    19115   (eval "$ac_link") 2>conftest.er1
    19116   ac_status=$?
    19117   grep -v '^ *+' conftest.er1 >conftest.err
    19118   rm -f conftest.er1
    19119   cat conftest.err >&5
    19120   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19121   (exit $ac_status); } && {
    19122          test -z "$ac_cxx_werror_flag" ||
    19123          test ! -s conftest.err
    19124        } && test -s conftest$ac_exeext && {
    19125          test "$cross_compiling" = yes ||
    19126          $as_test_x conftest$ac_exeext
    19127        }; then
    19128   ac_cv_func_av_read_frame=yes
    19129 else
    19130   $as_echo "$as_me: failed program was:" >&5
    19131 sed 's/^/| /' conftest.$ac_ext >&5
    19132 
    19133         ac_cv_func_av_read_frame=no
    19134 fi
    19135 
    19136 rm -rf conftest.dSYM
    19137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19138       conftest$ac_exeext conftest.$ac_ext
    19139 fi
    19140 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5
    19141 $as_echo "$ac_cv_func_av_read_frame" >&6; }
    19142 if test "x$ac_cv_func_av_read_frame" = x""yes; then
    19143   :
    19144 else
    19145   { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5
    19146 $as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;}
    19147    { (exit 1); exit 1; }; }
    19148 fi
    19149 
    19150   { $as_echo "$as_me:$LINENO: checking for av_free" >&5
    19151 $as_echo_n "checking for av_free... " >&6; }
    19152 if test "${ac_cv_func_av_free+set}" = set; then
    19153   $as_echo_n "(cached) " >&6
    19154 else
    19155   cat >conftest.$ac_ext <<_ACEOF
    19156 /* confdefs.h.  */
    19157 _ACEOF
    19158 cat confdefs.h >>conftest.$ac_ext
    19159 cat >>conftest.$ac_ext <<_ACEOF
    19160 /* end confdefs.h.  */
    19161 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free.
    19162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19163 #define av_free innocuous_av_free
    19164 
    19165 /* System header to define __stub macros and hopefully few prototypes,
    19166     which can conflict with char av_free (); below.
    19167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19168     <limits.h> exists even on freestanding compilers.  */
    19169 
    19170 #ifdef __STDC__
    19171 # include <limits.h>
    19172 #else
    19173 # include <assert.h>
    19174 #endif
    19175 
    19176 #undef av_free
    19177 
    19178 /* Override any GCC internal prototype to avoid an error.
    19179    Use char because int might match the return type of a GCC
    19180    builtin and then its argument prototype would still apply.  */
    19181 #ifdef __cplusplus
    19182 extern "C"
    19183 #endif
    19184 char av_free ();
    19185 /* The GNU C library defines this for functions which it implements
    19186     to always fail with ENOSYS.  Some functions are actually named
    19187     something starting with __ and the normal name is an alias.  */
    19188 #if defined __stub_av_free || defined __stub___av_free
    19189 choke me
    19190 #endif
    19191 
    19192 int
    19193 main ()
    19194 {
    19195 return av_free ();
    19196   ;
    19197   return 0;
    19198 }
    19199 _ACEOF
    19200 rm -f conftest.$ac_objext conftest$ac_exeext
    19201 if { (ac_try="$ac_link"
    19202 case "(($ac_try" in
    19203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19204   *) ac_try_echo=$ac_try;;
    19205 esac
    19206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19207 $as_echo "$ac_try_echo") >&5
    19208   (eval "$ac_link") 2>conftest.er1
    19209   ac_status=$?
    19210   grep -v '^ *+' conftest.er1 >conftest.err
    19211   rm -f conftest.er1
    19212   cat conftest.err >&5
    19213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19214   (exit $ac_status); } && {
    19215          test -z "$ac_cxx_werror_flag" ||
    19216          test ! -s conftest.err
    19217        } && test -s conftest$ac_exeext && {
    19218          test "$cross_compiling" = yes ||
    19219          $as_test_x conftest$ac_exeext
    19220        }; then
    19221   ac_cv_func_av_free=yes
    19222 else
    19223   $as_echo "$as_me: failed program was:" >&5
    19224 sed 's/^/| /' conftest.$ac_ext >&5
    19225 
    19226         ac_cv_func_av_free=no
    19227 fi
    19228 
    19229 rm -rf conftest.dSYM
    19230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19231       conftest$ac_exeext conftest.$ac_ext
    19232 fi
    19233 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5
    19234 $as_echo "$ac_cv_func_av_free" >&6; }
    19235 if test "x$ac_cv_func_av_free" = x""yes; then
    19236   :
    19237 else
    19238   { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5
    19239 $as_echo "$as_me: error: oops! no av_frame ?!?" >&2;}
    19240    { (exit 1); exit 1; }; }
    19241 fi
    19242 
    19243   { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5
    19244 $as_echo_n "checking for avcodec_default_release_buffer... " >&6; }
    19245 if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then
    19246   $as_echo_n "(cached) " >&6
    19247 else
    19248   cat >conftest.$ac_ext <<_ACEOF
    19249 /* confdefs.h.  */
    19250 _ACEOF
    19251 cat confdefs.h >>conftest.$ac_ext
    19252 cat >>conftest.$ac_ext <<_ACEOF
    19253 /* end confdefs.h.  */
    19254 /* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer.
    19255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19256 #define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer
    19257 
    19258 /* System header to define __stub macros and hopefully few prototypes,
    19259     which can conflict with char avcodec_default_release_buffer (); below.
    19260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19261     <limits.h> exists even on freestanding compilers.  */
    19262 
    19263 #ifdef __STDC__
    19264 # include <limits.h>
    19265 #else
    19266 # include <assert.h>
    19267 #endif
    19268 
    19269 #undef avcodec_default_release_buffer
    19270 
    19271 /* Override any GCC internal prototype to avoid an error.
    19272    Use char because int might match the return type of a GCC
    19273    builtin and then its argument prototype would still apply.  */
    19274 #ifdef __cplusplus
    19275 extern "C"
    19276 #endif
    19277 char avcodec_default_release_buffer ();
    19278 /* The GNU C library defines this for functions which it implements
    19279     to always fail with ENOSYS.  Some functions are actually named
    19280     something starting with __ and the normal name is an alias.  */
    19281 #if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer
    19282 choke me
    19283 #endif
    19284 
    19285 int
    19286 main ()
    19287 {
    19288 return avcodec_default_release_buffer ();
    19289   ;
    19290   return 0;
    19291 }
    19292 _ACEOF
    19293 rm -f conftest.$ac_objext conftest$ac_exeext
    19294 if { (ac_try="$ac_link"
    19295 case "(($ac_try" in
    19296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19297   *) ac_try_echo=$ac_try;;
    19298 esac
    19299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19300 $as_echo "$ac_try_echo") >&5
    19301   (eval "$ac_link") 2>conftest.er1
    19302   ac_status=$?
    19303   grep -v '^ *+' conftest.er1 >conftest.err
    19304   rm -f conftest.er1
    19305   cat conftest.err >&5
    19306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19307   (exit $ac_status); } && {
    19308          test -z "$ac_cxx_werror_flag" ||
    19309          test ! -s conftest.err
    19310        } && test -s conftest$ac_exeext && {
    19311          test "$cross_compiling" = yes ||
    19312          $as_test_x conftest$ac_exeext
    19313        }; then
    19314   ac_cv_func_avcodec_default_release_buffer=yes
    19315 else
    19316   $as_echo "$as_me: failed program was:" >&5
    19317 sed 's/^/| /' conftest.$ac_ext >&5
    19318 
    19319         ac_cv_func_avcodec_default_release_buffer=no
    19320 fi
    19321 
    19322 rm -rf conftest.dSYM
    19323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19324       conftest$ac_exeext conftest.$ac_ext
    19325 fi
    19326 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5
    19327 $as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; }
    19328 if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then
    19329   :
    19330 else
    19331   { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5
    19332 $as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;}
    19333    { (exit 1); exit 1; }; }
    19334 fi
    19335 
    19336   { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5
    19337 $as_echo_n "checking for avpicture_get_size... " >&6; }
    19338 if test "${ac_cv_func_avpicture_get_size+set}" = set; then
    19339   $as_echo_n "(cached) " >&6
    19340 else
    19341   cat >conftest.$ac_ext <<_ACEOF
    19342 /* confdefs.h.  */
    19343 _ACEOF
    19344 cat confdefs.h >>conftest.$ac_ext
    19345 cat >>conftest.$ac_ext <<_ACEOF
    19346 /* end confdefs.h.  */
    19347 /* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size.
    19348    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19349 #define avpicture_get_size innocuous_avpicture_get_size
    19350 
    19351 /* System header to define __stub macros and hopefully few prototypes,
    19352     which can conflict with char avpicture_get_size (); below.
    19353     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19354     <limits.h> exists even on freestanding compilers.  */
    19355 
    19356 #ifdef __STDC__
    19357 # include <limits.h>
    19358 #else
    19359 # include <assert.h>
    19360 #endif
    19361 
    19362 #undef avpicture_get_size
    19363 
    19364 /* Override any GCC internal prototype to avoid an error.
    19365    Use char because int might match the return type of a GCC
    19366    builtin and then its argument prototype would still apply.  */
    19367 #ifdef __cplusplus
    19368 extern "C"
    19369 #endif
    19370 char avpicture_get_size ();
    19371 /* The GNU C library defines this for functions which it implements
    19372     to always fail with ENOSYS.  Some functions are actually named
    19373     something starting with __ and the normal name is an alias.  */
    19374 #if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size
    19375 choke me
    19376 #endif
    19377 
    19378 int
    19379 main ()
    19380 {
    19381 return avpicture_get_size ();
    19382   ;
    19383   return 0;
    19384 }
    19385 _ACEOF
    19386 rm -f conftest.$ac_objext conftest$ac_exeext
    19387 if { (ac_try="$ac_link"
    19388 case "(($ac_try" in
    19389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19390   *) ac_try_echo=$ac_try;;
    19391 esac
    19392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19393 $as_echo "$ac_try_echo") >&5
    19394   (eval "$ac_link") 2>conftest.er1
    19395   ac_status=$?
    19396   grep -v '^ *+' conftest.er1 >conftest.err
    19397   rm -f conftest.er1
    19398   cat conftest.err >&5
    19399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19400   (exit $ac_status); } && {
    19401          test -z "$ac_cxx_werror_flag" ||
    19402          test ! -s conftest.err
    19403        } && test -s conftest$ac_exeext && {
    19404          test "$cross_compiling" = yes ||
    19405          $as_test_x conftest$ac_exeext
    19406        }; then
    19407   ac_cv_func_avpicture_get_size=yes
    19408 else
    19409   $as_echo "$as_me: failed program was:" >&5
    19410 sed 's/^/| /' conftest.$ac_ext >&5
    19411 
    19412         ac_cv_func_avpicture_get_size=no
    19413 fi
    19414 
    19415 rm -rf conftest.dSYM
    19416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19417       conftest$ac_exeext conftest.$ac_ext
    19418 fi
    19419 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5
    19420 $as_echo "$ac_cv_func_avpicture_get_size" >&6; }
    19421 if test "x$ac_cv_func_avpicture_get_size" = x""yes; then
    19422   :
    19423 else
    19424   { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5
    19425 $as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;}
    19426    { (exit 1); exit 1; }; }
    19427 fi
    19428 
    19429   { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5
    19430 $as_echo_n "checking for avpicture_fill... " >&6; }
    19431 if test "${ac_cv_func_avpicture_fill+set}" = set; then
    19432   $as_echo_n "(cached) " >&6
    19433 else
    19434   cat >conftest.$ac_ext <<_ACEOF
    19435 /* confdefs.h.  */
    19436 _ACEOF
    19437 cat confdefs.h >>conftest.$ac_ext
    19438 cat >>conftest.$ac_ext <<_ACEOF
    19439 /* end confdefs.h.  */
    19440 /* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill.
    19441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19442 #define avpicture_fill innocuous_avpicture_fill
    19443 
    19444 /* System header to define __stub macros and hopefully few prototypes,
    19445     which can conflict with char avpicture_fill (); below.
    19446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19447     <limits.h> exists even on freestanding compilers.  */
    19448 
    19449 #ifdef __STDC__
    19450 # include <limits.h>
    19451 #else
    19452 # include <assert.h>
    19453 #endif
    19454 
    19455 #undef avpicture_fill
    19456 
    19457 /* Override any GCC internal prototype to avoid an error.
    19458    Use char because int might match the return type of a GCC
    19459    builtin and then its argument prototype would still apply.  */
    19460 #ifdef __cplusplus
    19461 extern "C"
    19462 #endif
    19463 char avpicture_fill ();
    19464 /* The GNU C library defines this for functions which it implements
    19465     to always fail with ENOSYS.  Some functions are actually named
    19466     something starting with __ and the normal name is an alias.  */
    19467 #if defined __stub_avpicture_fill || defined __stub___avpicture_fill
    19468 choke me
    19469 #endif
    19470 
    19471 int
    19472 main ()
    19473 {
    19474 return avpicture_fill ();
    19475   ;
    19476   return 0;
    19477 }
    19478 _ACEOF
    19479 rm -f conftest.$ac_objext conftest$ac_exeext
    19480 if { (ac_try="$ac_link"
    19481 case "(($ac_try" in
    19482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19483   *) ac_try_echo=$ac_try;;
    19484 esac
    19485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19486 $as_echo "$ac_try_echo") >&5
    19487   (eval "$ac_link") 2>conftest.er1
    19488   ac_status=$?
    19489   grep -v '^ *+' conftest.er1 >conftest.err
    19490   rm -f conftest.er1
    19491   cat conftest.err >&5
    19492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19493   (exit $ac_status); } && {
    19494          test -z "$ac_cxx_werror_flag" ||
    19495          test ! -s conftest.err
    19496        } && test -s conftest$ac_exeext && {
    19497          test "$cross_compiling" = yes ||
    19498          $as_test_x conftest$ac_exeext
    19499        }; then
    19500   ac_cv_func_avpicture_fill=yes
    19501 else
    19502   $as_echo "$as_me: failed program was:" >&5
    19503 sed 's/^/| /' conftest.$ac_ext >&5
    19504 
    19505         ac_cv_func_avpicture_fill=no
    19506 fi
    19507 
    19508 rm -rf conftest.dSYM
    19509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19510       conftest$ac_exeext conftest.$ac_ext
    19511 fi
    19512 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5
    19513 $as_echo "$ac_cv_func_avpicture_fill" >&6; }
    19514 if test "x$ac_cv_func_avpicture_fill" = x""yes; then
    19515   :
    19516 else
    19517   { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5
    19518 $as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;}
    19519    { (exit 1); exit 1; }; }
    19520 fi
    19521 
    19522 
    19523 for ac_func in sws_getCachedContext
    19524 do
    19525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19526 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19527 $as_echo_n "checking for $ac_func... " >&6; }
    19528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19529   $as_echo_n "(cached) " >&6
    19530 else
    19531   cat >conftest.$ac_ext <<_ACEOF
    19532 /* confdefs.h.  */
    19533 _ACEOF
    19534 cat confdefs.h >>conftest.$ac_ext
    19535 cat >>conftest.$ac_ext <<_ACEOF
    19536 /* end confdefs.h.  */
    19537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19539 #define $ac_func innocuous_$ac_func
    19540 
    19541 /* System header to define __stub macros and hopefully few prototypes,
    19542     which can conflict with char $ac_func (); below.
    19543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19544     <limits.h> exists even on freestanding compilers.  */
    19545 
    19546 #ifdef __STDC__
    19547 # include <limits.h>
    19548 #else
    19549 # include <assert.h>
    19550 #endif
    19551 
    19552 #undef $ac_func
    19553 
    19554 /* Override any GCC internal prototype to avoid an error.
    19555    Use char because int might match the return type of a GCC
    19556    builtin and then its argument prototype would still apply.  */
    19557 #ifdef __cplusplus
    19558 extern "C"
    19559 #endif
    19560 char $ac_func ();
    19561 /* The GNU C library defines this for functions which it implements
    19562     to always fail with ENOSYS.  Some functions are actually named
    19563     something starting with __ and the normal name is an alias.  */
    19564 #if defined __stub_$ac_func || defined __stub___$ac_func
    19565 choke me
    19566 #endif
    19567 
    19568 int
    19569 main ()
    19570 {
    19571 return $ac_func ();
    19572   ;
    19573   return 0;
    19574 }
    19575 _ACEOF
    19576 rm -f conftest.$ac_objext conftest$ac_exeext
    19577 if { (ac_try="$ac_link"
    19578 case "(($ac_try" in
    19579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19580   *) ac_try_echo=$ac_try;;
    19581 esac
    19582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19583 $as_echo "$ac_try_echo") >&5
    19584   (eval "$ac_link") 2>conftest.er1
    19585   ac_status=$?
    19586   grep -v '^ *+' conftest.er1 >conftest.err
    19587   rm -f conftest.er1
    19588   cat conftest.err >&5
    19589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19590   (exit $ac_status); } && {
    19591          test -z "$ac_cxx_werror_flag" ||
    19592          test ! -s conftest.err
    19593        } && test -s conftest$ac_exeext && {
    19594          test "$cross_compiling" = yes ||
    19595          $as_test_x conftest$ac_exeext
    19596        }; then
    19597   eval "$as_ac_var=yes"
    19598 else
    19599   $as_echo "$as_me: failed program was:" >&5
    19600 sed 's/^/| /' conftest.$ac_ext >&5
    19601 
    19602         eval "$as_ac_var=no"
    19603 fi
    19604 
    19605 rm -rf conftest.dSYM
    19606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19607       conftest$ac_exeext conftest.$ac_ext
    19608 fi
    19609 ac_res=`eval 'as_val=${'$as_ac_var'}
    19610                  $as_echo "$as_val"'`
    19611                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19612 $as_echo "$ac_res" >&6; }
    19613 as_val=`eval 'as_val=${'$as_ac_var'}
    19614                  $as_echo "$as_val"'`
    19615    if test "x$as_val" = x""yes; then
     9936#define HAVE_AVFORMAT_CLOSE_INPUT 1
     9937_ACEOF
     9938
     9939fi
     9940done
     9941
     9942
     9943  ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"
     9944if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then :
     9945
     9946else
     9947  as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
     9948fi
     9949
     9950  ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame"
     9951if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then :
     9952
     9953else
     9954  as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5
     9955fi
     9956
     9957  ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"
     9958if test "x$ac_cv_func_av_rescale_q" = xyes; then :
     9959
     9960else
     9961  as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
     9962fi
     9963
     9964  ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame"
     9965if test "x$ac_cv_func_av_read_frame" = xyes; then :
     9966
     9967else
     9968  as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5
     9969fi
     9970
     9971  ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"
     9972if test "x$ac_cv_func_av_free" = xyes; then :
     9973
     9974else
     9975  as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5
     9976fi
     9977
     9978  ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer"
     9979if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then :
     9980
     9981else
     9982  as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5
     9983fi
     9984
     9985  ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size"
     9986if test "x$ac_cv_func_avpicture_get_size" = xyes; then :
     9987
     9988else
     9989  as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5
     9990fi
     9991
     9992  ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill"
     9993if test "x$ac_cv_func_avpicture_fill" = xyes; then :
     9994
     9995else
     9996  as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5
     9997fi
     9998
     9999  for ac_func in sws_getCachedContext
     10000do :
     10001  ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
     10002if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
    1961610003  cat >>confdefs.h <<_ACEOF
    19617 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19618 _ACEOF
    19619 
    19620 fi
    19621 done
    19622 
    19623 
    19624 for ac_func in img_convert
    19625 do
    19626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19627 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19628 $as_echo_n "checking for $ac_func... " >&6; }
    19629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19630   $as_echo_n "(cached) " >&6
    19631 else
    19632   cat >conftest.$ac_ext <<_ACEOF
    19633 /* confdefs.h.  */
    19634 _ACEOF
    19635 cat confdefs.h >>conftest.$ac_ext
    19636 cat >>conftest.$ac_ext <<_ACEOF
    19637 /* end confdefs.h.  */
    19638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19640 #define $ac_func innocuous_$ac_func
    19641 
    19642 /* System header to define __stub macros and hopefully few prototypes,
    19643     which can conflict with char $ac_func (); below.
    19644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19645     <limits.h> exists even on freestanding compilers.  */
    19646 
    19647 #ifdef __STDC__
    19648 # include <limits.h>
    19649 #else
    19650 # include <assert.h>
    19651 #endif
    19652 
    19653 #undef $ac_func
    19654 
    19655 /* Override any GCC internal prototype to avoid an error.
    19656    Use char because int might match the return type of a GCC
    19657    builtin and then its argument prototype would still apply.  */
    19658 #ifdef __cplusplus
    19659 extern "C"
    19660 #endif
    19661 char $ac_func ();
    19662 /* The GNU C library defines this for functions which it implements
    19663     to always fail with ENOSYS.  Some functions are actually named
    19664     something starting with __ and the normal name is an alias.  */
    19665 #if defined __stub_$ac_func || defined __stub___$ac_func
    19666 choke me
    19667 #endif
    19668 
    19669 int
    19670 main ()
    19671 {
    19672 return $ac_func ();
    19673   ;
    19674   return 0;
    19675 }
    19676 _ACEOF
    19677 rm -f conftest.$ac_objext conftest$ac_exeext
    19678 if { (ac_try="$ac_link"
    19679 case "(($ac_try" in
    19680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19681   *) ac_try_echo=$ac_try;;
    19682 esac
    19683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19684 $as_echo "$ac_try_echo") >&5
    19685   (eval "$ac_link") 2>conftest.er1
    19686   ac_status=$?
    19687   grep -v '^ *+' conftest.er1 >conftest.err
    19688   rm -f conftest.er1
    19689   cat conftest.err >&5
    19690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19691   (exit $ac_status); } && {
    19692          test -z "$ac_cxx_werror_flag" ||
    19693          test ! -s conftest.err
    19694        } && test -s conftest$ac_exeext && {
    19695          test "$cross_compiling" = yes ||
    19696          $as_test_x conftest$ac_exeext
    19697        }; then
    19698   eval "$as_ac_var=yes"
    19699 else
    19700   $as_echo "$as_me: failed program was:" >&5
    19701 sed 's/^/| /' conftest.$ac_ext >&5
    19702 
    19703         eval "$as_ac_var=no"
    19704 fi
    19705 
    19706 rm -rf conftest.dSYM
    19707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19708       conftest$ac_exeext conftest.$ac_ext
    19709 fi
    19710 ac_res=`eval 'as_val=${'$as_ac_var'}
    19711                  $as_echo "$as_val"'`
    19712                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19713 $as_echo "$ac_res" >&6; }
    19714 as_val=`eval 'as_val=${'$as_ac_var'}
    19715                  $as_echo "$as_val"'`
    19716    if test "x$as_val" = x""yes; then
     10004#define HAVE_SWS_GETCACHEDCONTEXT 1
     10005_ACEOF
     10006
     10007fi
     10008done
     10009
     10010  for ac_func in img_convert
     10011do :
     10012  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     10013if test "x$ac_cv_func_img_convert" = xyes; then :
    1971710014  cat >>confdefs.h <<_ACEOF
    19718 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19719 _ACEOF
    19720 
    19721 fi
    19722 done
    19723 
    19724 
    19725 for ac_func in sws_scale
    19726 do
    19727 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19728 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19729 $as_echo_n "checking for $ac_func... " >&6; }
    19730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19731   $as_echo_n "(cached) " >&6
    19732 else
    19733   cat >conftest.$ac_ext <<_ACEOF
    19734 /* confdefs.h.  */
    19735 _ACEOF
    19736 cat confdefs.h >>conftest.$ac_ext
    19737 cat >>conftest.$ac_ext <<_ACEOF
    19738 /* end confdefs.h.  */
    19739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19741 #define $ac_func innocuous_$ac_func
    19742 
    19743 /* System header to define __stub macros and hopefully few prototypes,
    19744     which can conflict with char $ac_func (); below.
    19745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19746     <limits.h> exists even on freestanding compilers.  */
    19747 
    19748 #ifdef __STDC__
    19749 # include <limits.h>
    19750 #else
    19751 # include <assert.h>
    19752 #endif
    19753 
    19754 #undef $ac_func
    19755 
    19756 /* Override any GCC internal prototype to avoid an error.
    19757    Use char because int might match the return type of a GCC
    19758    builtin and then its argument prototype would still apply.  */
    19759 #ifdef __cplusplus
    19760 extern "C"
    19761 #endif
    19762 char $ac_func ();
    19763 /* The GNU C library defines this for functions which it implements
    19764     to always fail with ENOSYS.  Some functions are actually named
    19765     something starting with __ and the normal name is an alias.  */
    19766 #if defined __stub_$ac_func || defined __stub___$ac_func
    19767 choke me
    19768 #endif
    19769 
    19770 int
    19771 main ()
    19772 {
    19773 return $ac_func ();
    19774   ;
    19775   return 0;
    19776 }
    19777 _ACEOF
    19778 rm -f conftest.$ac_objext conftest$ac_exeext
    19779 if { (ac_try="$ac_link"
    19780 case "(($ac_try" in
    19781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19782   *) ac_try_echo=$ac_try;;
    19783 esac
    19784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19785 $as_echo "$ac_try_echo") >&5
    19786   (eval "$ac_link") 2>conftest.er1
    19787   ac_status=$?
    19788   grep -v '^ *+' conftest.er1 >conftest.err
    19789   rm -f conftest.er1
    19790   cat conftest.err >&5
    19791   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19792   (exit $ac_status); } && {
    19793          test -z "$ac_cxx_werror_flag" ||
    19794          test ! -s conftest.err
    19795        } && test -s conftest$ac_exeext && {
    19796          test "$cross_compiling" = yes ||
    19797          $as_test_x conftest$ac_exeext
    19798        }; then
    19799   eval "$as_ac_var=yes"
    19800 else
    19801   $as_echo "$as_me: failed program was:" >&5
    19802 sed 's/^/| /' conftest.$ac_ext >&5
    19803 
    19804         eval "$as_ac_var=no"
    19805 fi
    19806 
    19807 rm -rf conftest.dSYM
    19808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19809       conftest$ac_exeext conftest.$ac_ext
    19810 fi
    19811 ac_res=`eval 'as_val=${'$as_ac_var'}
    19812                  $as_echo "$as_val"'`
    19813                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19814 $as_echo "$ac_res" >&6; }
    19815 as_val=`eval 'as_val=${'$as_ac_var'}
    19816                  $as_echo "$as_val"'`
    19817    if test "x$as_val" = x""yes; then
     10015#define HAVE_IMG_CONVERT 1
     10016_ACEOF
     10017
     10018fi
     10019done
     10020
     10021  for ac_func in sws_scale
     10022do :
     10023  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     10024if test "x$ac_cv_func_sws_scale" = xyes; then :
    1981810025  cat >>confdefs.h <<_ACEOF
    19819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19820 _ACEOF
    19821 
    19822 fi
    19823 done
    19824 
    19825   cat >conftest.$ac_ext <<_ACEOF
    19826 /* confdefs.h.  */
    19827 _ACEOF
    19828 cat confdefs.h >>conftest.$ac_ext
    19829 cat >>conftest.$ac_ext <<_ACEOF
     10026#define HAVE_SWS_SCALE 1
     10027_ACEOF
     10028
     10029fi
     10030done
     10031
     10032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1983010033/* end confdefs.h.  */
    1983110034
     
    1984810051}
    1984910052_ACEOF
    19850 rm -f conftest.$ac_objext
    19851 if { (ac_try="$ac_compile"
    19852 case "(($ac_try" in
    19853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19854   *) ac_try_echo=$ac_try;;
    19855 esac
    19856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19857 $as_echo "$ac_try_echo") >&5
    19858   (eval "$ac_compile") 2>conftest.er1
    19859   ac_status=$?
    19860   grep -v '^ *+' conftest.er1 >conftest.err
    19861   rm -f conftest.er1
    19862   cat conftest.err >&5
    19863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19864   (exit $ac_status); } && {
    19865          test -z "$ac_cxx_werror_flag" ||
    19866          test ! -s conftest.err
    19867        } && test -s conftest.$ac_objext; then
     10053if ac_fn_cxx_try_compile "$LINENO"; then :
    1986810054  ac_avmedia_type_video="yes"
    1986910055else
    19870   $as_echo "$as_me: failed program was:" >&5
    19871 sed 's/^/| /' conftest.$ac_ext >&5
    19872 
    19873         ac_avmedia_type_video="no"
    19874 fi
    19875 
     10056  ac_avmedia_type_video="no"
     10057fi
    1987610058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1987710059  if test "$ac_avmedia_type_video" == "yes" ; then
    1987810060
    19879 cat >>confdefs.h <<\_ACEOF
    19880 #define HAVE_AVMEDIA_TYPE_VIDEO 1
    19881 _ACEOF
     10061$as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
    1988210062
    1988310063  fi
     
    2000510185    *${as_nl}*)
    2000610186      case $ac_var in #(
    20007       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     10187      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    2000810188$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    2000910189      esac
     
    2001110191      _ | IFS | as_nl) ;; #(
    2001210192      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    20013       *) $as_unset $ac_var ;;
     10193      *) { eval $ac_var=; unset $ac_var;} ;;
    2001410194      esac ;;
    2001510195    esac
     
    2001910199    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    2002010200    *${as_nl}ac_space=\ *)
    20021       # `set' does not quote correctly, so add quotes (double-quote
    20022       # substitution turns \\\\ into \\, and sed turns \\ into \).
     10201      # `set' does not quote correctly, so add quotes: double-quote
     10202      # substitution turns \\\\ into \\, and sed turns \\ into \.
    2002310203      sed -n \
    2002410204        "s/'/'\\\\''/g;
     
    2004210222if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    2004310223  if test -w "$cache_file"; then
    20044     test "x$cache_file" != "x/dev/null" &&
    20045       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     10224    if test "x$cache_file" != "x/dev/null"; then
     10225      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    2004610226$as_echo "$as_me: updating cache $cache_file" >&6;}
    20047     cat confcache >$cache_file
     10227      if test ! -f "$cache_file" || test -h "$cache_file"; then
     10228        cat confcache >"$cache_file"
     10229      else
     10230        case $cache_file in #(
     10231        */* | ?:*)
     10232          mv -f confcache "$cache_file"$$ &&
     10233          mv -f "$cache_file"$$ "$cache_file" ;; #(
     10234        *)
     10235          mv -f confcache "$cache_file" ;;
     10236        esac
     10237      fi
     10238    fi
    2004810239  else
    20049     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     10240    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    2005010241$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    2005110242  fi
     
    2006110252ac_libobjs=
    2006210253ac_ltlibobjs=
     10254U=
    2006310255for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    2006410256  # 1. Remove the extension, and $U if already installed.
     
    2006710259  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    2006810260  #    will be set to the directory where LIBOBJS objects are built.
    20069   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    20070   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     10261  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     10262  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    2007110263done
    2007210264LIBOBJS=$ac_libobjs
     
    2007710269
    2007810270
    20079 : ${CONFIG_STATUS=./config.status}
     10271: "${CONFIG_STATUS=./config.status}"
    2008010272ac_write_fail=0
    2008110273ac_clean_files_save=$ac_clean_files
    2008210274ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    20083 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     10275{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    2008410276$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    20085 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10277as_write_fail=0
     10278cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    2008610279#! $SHELL
    2008710280# Generated by $as_me.
     
    2009310286ac_cs_recheck=false
    2009410287ac_cs_silent=false
     10288
    2009510289SHELL=\${CONFIG_SHELL-$SHELL}
    20096 _ACEOF
    20097 
    20098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    20099 ## --------------------- ##
    20100 ## M4sh Initialization.  ##
    20101 ## --------------------- ##
     10290export SHELL
     10291_ASEOF
     10292cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     10293## -------------------- ##
     10294## M4sh Initialization. ##
     10295## -------------------- ##
    2010210296
    2010310297# Be more Bourne compatible
    2010410298DUALCASE=1; export DUALCASE # for MKS sh
    20105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     10299if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    2010610300  emulate sh
    2010710301  NULLCMD=:
     
    2011110305  setopt NO_GLOB_SUBST
    2011210306else
    20113   case `(set -o) 2>/dev/null` in
    20114   *posix*) set -o posix ;;
     10307  case `(set -o) 2>/dev/null` in #(
     10308  *posix*) :
     10309    set -o posix ;; #(
     10310  *) :
     10311     ;;
    2011510312esac
    20116 
    20117 fi
    20118 
    20119 
    20120 
    20121 
    20122 # PATH needs CR
    20123 # Avoid depending upon Character Ranges.
    20124 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    20125 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    20126 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    20127 as_cr_digits='0123456789'
    20128 as_cr_alnum=$as_cr_Letters$as_cr_digits
     10313fi
     10314
    2012910315
    2013010316as_nl='
     
    2013510321as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    2013610322as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    20137 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     10323# Prefer a ksh shell builtin over an external printf program on Solaris,
     10324# but without wasting forks for bash or zsh.
     10325if test -z "$BASH_VERSION$ZSH_VERSION" \
     10326    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     10327  as_echo='print -r --'
     10328  as_echo_n='print -rn --'
     10329elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    2013810330  as_echo='printf %s\n'
    2013910331  as_echo_n='printf %s'
     
    2014610338    as_echo_n_body='eval
    2014710339      arg=$1;
    20148       case $arg in
     10340      case $arg in #(
    2014910341      *"$as_nl"*)
    2015010342        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    2016910361fi
    2017010362
    20171 # Support unset when possible.
    20172 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    20173   as_unset=unset
    20174 else
    20175   as_unset=false
    20176 fi
    20177 
    2017810363
    2017910364# IFS
     
    2018510370
    2018610371# Find who we are.  Look in the path if we contain no directory separator.
    20187 case $0 in
     10372as_myself=
     10373case $0 in #((
    2018810374  *[\\/]* ) as_myself=$0 ;;
    2018910375  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    2019210378  IFS=$as_save_IFS
    2019310379  test -z "$as_dir" && as_dir=.
    20194   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    20195 done
     10380    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     10381  done
    2019610382IFS=$as_save_IFS
    2019710383
     
    2020510391if test ! -f "$as_myself"; then
    2020610392  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    20207   { (exit 1); exit 1; }
    20208 fi
    20209 
    20210 # Work around bugs in pre-3.0 UWIN ksh.
    20211 for as_var in ENV MAIL MAILPATH
    20212 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     10393  exit 1
     10394fi
     10395
     10396# Unset variables that we do not need and which cause bugs (e.g. in
     10397# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     10398# suppresses any "Segmentation fault" message there.  '((' could
     10399# trigger a bug in pdksh 5.2.14.
     10400for as_var in BASH_ENV ENV MAIL MAILPATH
     10401do eval test x\${$as_var+set} = xset \
     10402  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    2021310403done
    2021410404PS1='$ '
     
    2022210412export LANGUAGE
    2022310413
    20224 # Required to use basename.
     10414# CDPATH.
     10415(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     10416
     10417
     10418# as_fn_error STATUS ERROR [LINENO LOG_FD]
     10419# ----------------------------------------
     10420# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     10421# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     10422# script with STATUS, using 1 if that was 0.
     10423as_fn_error ()
     10424{
     10425  as_status=$1; test $as_status -eq 0 && as_status=1
     10426  if test "$4"; then
     10427    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     10428    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     10429  fi
     10430  $as_echo "$as_me: error: $2" >&2
     10431  as_fn_exit $as_status
     10432} # as_fn_error
     10433
     10434
     10435# as_fn_set_status STATUS
     10436# -----------------------
     10437# Set $? to STATUS, without forking.
     10438as_fn_set_status ()
     10439{
     10440  return $1
     10441} # as_fn_set_status
     10442
     10443# as_fn_exit STATUS
     10444# -----------------
     10445# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     10446as_fn_exit ()
     10447{
     10448  set +e
     10449  as_fn_set_status $1
     10450  exit $1
     10451} # as_fn_exit
     10452
     10453# as_fn_unset VAR
     10454# ---------------
     10455# Portably unset VAR.
     10456as_fn_unset ()
     10457{
     10458  { eval $1=; unset $1;}
     10459}
     10460as_unset=as_fn_unset
     10461# as_fn_append VAR VALUE
     10462# ----------------------
     10463# Append the text in VALUE to the end of the definition contained in VAR. Take
     10464# advantage of any shell optimizations that allow amortized linear growth over
     10465# repeated appends, instead of the typical quadratic growth present in naive
     10466# implementations.
     10467if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     10468  eval 'as_fn_append ()
     10469  {
     10470    eval $1+=\$2
     10471  }'
     10472else
     10473  as_fn_append ()
     10474  {
     10475    eval $1=\$$1\$2
     10476  }
     10477fi # as_fn_append
     10478
     10479# as_fn_arith ARG...
     10480# ------------------
     10481# Perform arithmetic evaluation on the ARGs, and store the result in the
     10482# global $as_val. Take advantage of shells that can avoid forks. The arguments
     10483# must be portable across $(()) and expr.
     10484if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     10485  eval 'as_fn_arith ()
     10486  {
     10487    as_val=$(( $* ))
     10488  }'
     10489else
     10490  as_fn_arith ()
     10491  {
     10492    as_val=`expr "$@" || test $? -eq 1`
     10493  }
     10494fi # as_fn_arith
     10495
     10496
    2022510497if expr a : '\(a\)' >/dev/null 2>&1 &&
    2022610498   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    2023610508fi
    2023710509
    20238 
    20239 # Name of the executable.
     10510if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     10511  as_dirname=dirname
     10512else
     10513  as_dirname=false
     10514fi
     10515
    2024010516as_me=`$as_basename -- "$0" ||
    2024110517$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    2025710533          s/.*/./; q'`
    2025810534
    20259 # CDPATH.
    20260 $as_unset CDPATH
    20261 
    20262 
    20263 
    20264   as_lineno_1=$LINENO
    20265   as_lineno_2=$LINENO
    20266   test "x$as_lineno_1" != "x$as_lineno_2" &&
    20267   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    20268 
    20269   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    20270   # uniformly replaced by the line number.  The first 'sed' inserts a
    20271   # line-number line after each line using $LINENO; the second 'sed'
    20272   # does the real work.  The second script uses 'N' to pair each
    20273   # line-number line with the line containing $LINENO, and appends
    20274   # trailing '-' during substitution so that $LINENO is not a special
    20275   # case at line end.
    20276   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    20277   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    20278   # E. McMahon (1931-1989) for sed's syntax.  :-)
    20279   sed -n '
    20280     p
    20281     /[$]LINENO/=
    20282   ' <$as_myself |
    20283     sed '
    20284       s/[$]LINENO.*/&-/
    20285       t lineno
    20286       b
    20287       :lineno
    20288       N
    20289       :loop
    20290       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    20291       t loop
    20292       s/-\n.*//
    20293     ' >$as_me.lineno &&
    20294   chmod +x "$as_me.lineno" ||
    20295     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    20296    { (exit 1); exit 1; }; }
    20297 
    20298   # Don't try to exec as it changes $[0], causing all sort of problems
    20299   # (the dirname of $[0] is not the place where we might find the
    20300   # original and so on.  Autoconf is especially sensitive to this).
    20301   . "./$as_me.lineno"
    20302   # Exit status is that of the last command.
    20303   exit
    20304 }
    20305 
    20306 
    20307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    20308   as_dirname=dirname
    20309 else
    20310   as_dirname=false
    20311 fi
     10535# Avoid depending upon Character Ranges.
     10536as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     10537as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     10538as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     10539as_cr_digits='0123456789'
     10540as_cr_alnum=$as_cr_Letters$as_cr_digits
    2031210541
    2031310542ECHO_C= ECHO_N= ECHO_T=
    20314 case `echo -n x` in
     10543case `echo -n x` in #(((((
    2031510544-n*)
    20316   case `echo 'x\c'` in
     10545  case `echo 'xy\c'` in
    2031710546  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    20318   *)   ECHO_C='\c';;
     10547  xy)  ECHO_C='\c';;
     10548  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     10549       ECHO_T=' ';;
    2031910550  esac;;
    2032010551*)
    2032110552  ECHO_N='-n';;
    2032210553esac
    20323 if expr a : '\(a\)' >/dev/null 2>&1 &&
    20324    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    20325   as_expr=expr
    20326 else
    20327   as_expr=false
    20328 fi
    2032910554
    2033010555rm -f conf$$ conf$$.exe conf$$.file
     
    2034110566    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    2034210567    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    20343     # In both cases, we have to default to `cp -p'.
     10568    # In both cases, we have to default to `cp -pR'.
    2034410569    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    20345       as_ln_s='cp -p'
     10570      as_ln_s='cp -pR'
    2034610571  elif ln conf$$.file conf$$ 2>/dev/null; then
    2034710572    as_ln_s=ln
    2034810573  else
    20349     as_ln_s='cp -p'
     10574    as_ln_s='cp -pR'
    2035010575  fi
    2035110576else
    20352   as_ln_s='cp -p'
     10577  as_ln_s='cp -pR'
    2035310578fi
    2035410579rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    2035510580rmdir conf$$.dir 2>/dev/null
    2035610581
     10582
     10583# as_fn_mkdir_p
     10584# -------------
     10585# Create "$as_dir" as a directory, including parents if necessary.
     10586as_fn_mkdir_p ()
     10587{
     10588
     10589  case $as_dir in #(
     10590  -*) as_dir=./$as_dir;;
     10591  esac
     10592  test -d "$as_dir" || eval $as_mkdir_p || {
     10593    as_dirs=
     10594    while :; do
     10595      case $as_dir in #(
     10596      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10597      *) as_qdir=$as_dir;;
     10598      esac
     10599      as_dirs="'$as_qdir' $as_dirs"
     10600      as_dir=`$as_dirname -- "$as_dir" ||
     10601$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     10602         X"$as_dir" : 'X\(//\)[^/]' \| \
     10603         X"$as_dir" : 'X\(//\)$' \| \
     10604         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10605$as_echo X"$as_dir" |
     10606    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10607            s//\1/
     10608            q
     10609          }
     10610          /^X\(\/\/\)[^/].*/{
     10611            s//\1/
     10612            q
     10613          }
     10614          /^X\(\/\/\)$/{
     10615            s//\1/
     10616            q
     10617          }
     10618          /^X\(\/\).*/{
     10619            s//\1/
     10620            q
     10621          }
     10622          s/.*/./; q'`
     10623      test -d "$as_dir" && break
     10624    done
     10625    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10626  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     10627
     10628
     10629} # as_fn_mkdir_p
    2035710630if mkdir -p . 2>/dev/null; then
    20358   as_mkdir_p=:
     10631  as_mkdir_p='mkdir -p "$as_dir"'
    2035910632else
    2036010633  test -d ./-p && rmdir ./-p
     
    2036210635fi
    2036310636
    20364 if test -x / >/dev/null 2>&1; then
    20365   as_test_x='test -x'
    20366 else
    20367   if ls -dL / >/dev/null 2>&1; then
    20368     as_ls_L_option=L
    20369   else
    20370     as_ls_L_option=
    20371   fi
    20372   as_test_x='
    20373     eval sh -c '\''
    20374       if test -d "$1"; then
    20375         test -d "$1/.";
    20376       else
    20377         case $1 in
    20378         -*)set "./$1";;
    20379         esac;
    20380         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    20381         ???[sx]*):;;*)false;;esac;fi
    20382     '\'' sh
    20383   '
    20384 fi
    20385 as_executable_p=$as_test_x
     10637
     10638# as_fn_executable_p FILE
     10639# -----------------------
     10640# Test if FILE is an executable regular file.
     10641as_fn_executable_p ()
     10642{
     10643  test -f "$1" && test -x "$1"
     10644} # as_fn_executable_p
     10645as_test_x='test -x'
     10646as_executable_p=as_fn_executable_p
    2038610647
    2038710648# Sed expression to map a string onto a valid CPP name.
     
    2039310654
    2039410655exec 6>&1
    20395 
    20396 # Save the log message, to keep $[0] and so on meaningful, and to
     10656## ----------------------------------- ##
     10657## Main body of $CONFIG_STATUS script. ##
     10658## ----------------------------------- ##
     10659_ASEOF
     10660test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     10661
     10662cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10663# Save the log message, to keep $0 and so on meaningful, and to
    2039710664# report actual input values of CONFIG_FILES etc. instead of their
    2039810665# values after options handling.
    2039910666ac_log="
    2040010667This file was extended by Rappture $as_me 1.3, which was
    20401 generated by GNU Autoconf 2.63.  Invocation command line was
     10668generated by GNU Autoconf 2.69.  Invocation command line was
    2040210669
    2040310670  CONFIG_FILES    = $CONFIG_FILES
     
    2043010697cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2043110698ac_cs_usage="\
    20432 \`$as_me' instantiates files from templates according to the
    20433 current configuration.
    20434 
    20435 Usage: $0 [OPTION]... [FILE]...
     10699\`$as_me' instantiates files and other configuration actions
     10700from templates according to the current configuration.  Unless the files
     10701and actions are specified as TAGs, all are instantiated by default.
     10702
     10703Usage: $0 [OPTION]... [TAG]...
    2043610704
    2043710705  -h, --help       print this help, then exit
    2043810706  -V, --version    print version number and configuration settings, then exit
     10707      --config     print configuration, then exit
    2043910708  -q, --quiet, --silent
    2044010709                   do not print progress messages
     
    2045210721$config_headers
    2045310722
    20454 Report bugs to <bug-autoconf@gnu.org>."
     10723Report bugs to <rappture@nanohub.org>."
    2045510724
    2045610725_ACEOF
    2045710726cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10727ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    2045810728ac_cs_version="\\
    2045910729Rappture config.status 1.3
    20460 configured by $0, generated by GNU Autoconf 2.63,
    20461   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    20462 
    20463 Copyright (C) 2008 Free Software Foundation, Inc.
     10730configured by $0, generated by GNU Autoconf 2.69,
     10731  with options \\"\$ac_cs_config\\"
     10732
     10733Copyright (C) 2012 Free Software Foundation, Inc.
    2046410734This config.status script is free software; the Free Software Foundation
    2046510735gives unlimited permission to copy, distribute and modify it."
     
    2047810748do
    2047910749  case $1 in
    20480   --*=*)
     10750  --*=?*)
    2048110751    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    2048210752    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     10753    ac_shift=:
     10754    ;;
     10755  --*=)
     10756    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     10757    ac_optarg=
    2048310758    ac_shift=:
    2048410759    ;;
     
    2049610771  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    2049710772    $as_echo "$ac_cs_version"; exit ;;
     10773  --config | --confi | --conf | --con | --co | --c )
     10774    $as_echo "$ac_cs_config"; exit ;;
    2049810775  --debug | --debu | --deb | --de | --d | -d )
    2049910776    debug=: ;;
     
    2050210779    case $ac_optarg in
    2050310780    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10781    '') as_fn_error $? "missing file argument" ;;
    2050410782    esac
    20505     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     10783    as_fn_append CONFIG_FILES " '$ac_optarg'"
    2050610784    ac_need_defaults=false;;
    2050710785  --header | --heade | --head | --hea )
     
    2051010788    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    2051110789    esac
    20512     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     10790    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    2051310791    ac_need_defaults=false;;
    2051410792  --he | --h)
    2051510793    # Conflict between --help and --header
    20516     { $as_echo "$as_me: error: ambiguous option: $1
    20517 Try \`$0 --help' for more information." >&2
    20518    { (exit 1); exit 1; }; };;
     10794    as_fn_error $? "ambiguous option: \`$1'
     10795Try \`$0 --help' for more information.";;
    2051910796  --help | --hel | -h )
    2052010797    $as_echo "$ac_cs_usage"; exit ;;
     
    2052410801
    2052510802  # This is an error.
    20526   -*) { $as_echo "$as_me: error: unrecognized option: $1
    20527 Try \`$0 --help' for more information." >&2
    20528    { (exit 1); exit 1; }; } ;;
    20529 
    20530   *) ac_config_targets="$ac_config_targets $1"
     10803  -*) as_fn_error $? "unrecognized option: \`$1'
     10804Try \`$0 --help' for more information." ;;
     10805
     10806  *) as_fn_append ac_config_targets " $1"
    2053110807     ac_need_defaults=false ;;
    2053210808
     
    2054510821cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2054610822if \$ac_cs_recheck; then
    20547   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     10823  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    2054810824  shift
    2054910825  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    2070510981    "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;;
    2070610982
    20707   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    20708 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    20709    { (exit 1); exit 1; }; };;
     10983  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    2071010984  esac
    2071110985done
     
    2072911003$debug ||
    2073011004{
    20731   tmp=
     11005  tmp= ac_tmp=
    2073211006  trap 'exit_status=$?
    20733   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     11007  : "${ac_tmp:=$tmp}"
     11008  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    2073411009' 0
    20735   trap '{ (exit 1); exit 1; }' 1 2 13 15
     11010  trap 'as_fn_exit 1' 1 2 13 15
    2073611011}
    2073711012# Create a (secure) tmp directory for tmp files.
     
    2073911014{
    2074011015  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    20741   test -n "$tmp" && test -d "$tmp"
     11016  test -d "$tmp"
    2074211017}  ||
    2074311018{
    2074411019  tmp=./conf$$-$RANDOM
    2074511020  (umask 077 && mkdir "$tmp")
    20746 } ||
    20747 {
    20748    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    20749    { (exit 1); exit 1; }
    20750 }
     11021} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     11022ac_tmp=$tmp
    2075111023
    2075211024# Set up the scripts for CONFIG_FILES section.
     
    2075611028
    2075711029
    20758 ac_cr='
    20759 '
     11030ac_cr=`echo X | tr X '\015'`
     11031# On cygwin, bash can eat \r inside `` if the user requested igncr.
     11032# But we know of no other shell where ac_cr would be empty at this
     11033# point, so we can use a bashism as a fallback.
     11034if test "x$ac_cr" = x; then
     11035  eval ac_cr=\$\'\\r\'
     11036fi
    2076011037ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    2076111038if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    2076511042fi
    2076611043
    20767 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     11044echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    2076811045_ACEOF
    2076911046
     
    2077411051  echo "_ACEOF"
    2077511052} >conf$$subs.sh ||
    20776   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20777 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20778    { (exit 1); exit 1; }; }
    20779 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     11053  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     11054ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    2078011055ac_delim='%!_!# '
    2078111056for ac_last_try in false false false false false :; do
    2078211057  . ./conf$$subs.sh ||
    20783     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20784 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20785    { (exit 1); exit 1; }; }
     11058    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    2078611059
    2078711060  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    2078911062    break
    2079011063  elif $ac_last_try; then
    20791     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20792 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20793    { (exit 1); exit 1; }; }
     11064    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    2079411065  else
    2079511066    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    2079911070
    2080011071cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    20801 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     11072cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    2080211073_ACEOF
    2080311074sed -n '
     
    2081311084:nl
    2081411085h
    20815 s/\(.\{148\}\).*/\1/
     11086s/\(.\{148\}\)..*/\1/
    2081611087t more1
    2081711088s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    2082711098:delim
    2082811099h
    20829 s/\(.\{148\}\).*/\1/
     11100s/\(.\{148\}\)..*/\1/
    2083011101t more2
    2083111102s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    2084711118cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2084811119_ACAWK
    20849 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     11120cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    2085011121  for (key in S) S_is_set[key] = 1
    2085111122  FS = ""
     
    2087911150else
    2088011151  cat
    20881 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    20882   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    20883 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    20884    { (exit 1); exit 1; }; }
    20885 _ACEOF
    20886 
    20887 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    20888 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     11152fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     11153  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     11154_ACEOF
     11155
     11156# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     11157# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    2088911158# trailing colons and then remove the whole line if VPATH becomes empty
    2089011159# (actually we leave an empty line to preserve line numbers).
    2089111160if test "x$srcdir" = x.; then
    20892   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    20893 s/:*\$(srcdir):*/:/
    20894 s/:*\${srcdir}:*/:/
    20895 s/:*@srcdir@:*/:/
    20896 s/^\([^=]*=[     ]*\):*/\1/
     11161  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     11162h
     11163s///
     11164s/^/:/
     11165s/[      ]*$/:/
     11166s/:\$(srcdir):/:/g
     11167s/:\${srcdir}:/:/g
     11168s/:@srcdir@:/:/g
     11169s/^:*//
    2089711170s/:*$//
     11171x
     11172s/\(=[   ]*\).*/\1/
     11173G
     11174s/\n//
    2089811175s/^[^=]*=[       ]*$//
    2089911176}'
     
    2090711184# This happens for instance with `./config.status Makefile'.
    2090811185if test -n "$CONFIG_HEADERS"; then
    20909 cat >"$tmp/defines.awk" <<\_ACAWK ||
     11186cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    2091011187BEGIN {
    2091111188_ACEOF
     
    2091911196ac_delim='%!_!# '
    2092011197for ac_last_try in false false :; do
    20921   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    20922   if test -z "$ac_t"; then
     11198  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     11199  if test -z "$ac_tt"; then
    2092311200    break
    2092411201  elif $ac_last_try; then
    20925     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    20926 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    20927    { (exit 1); exit 1; }; }
     11202    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    2092811203  else
    2092911204    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    2101011285_ACEOF
    2101111286cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    21012   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    21013 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    21014    { (exit 1); exit 1; }; }
     11287  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    2101511288fi # test -n "$CONFIG_HEADERS"
    2101611289
     
    2102511298  case $ac_mode$ac_tag in
    2102611299  :[FHL]*:*);;
    21027   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    21028 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    21029    { (exit 1); exit 1; }; };;
     11300  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    2103011301  :[FH]-) ac_tag=-:-;;
    2103111302  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    2104611317    do
    2104711318      case $ac_f in
    21048       -) ac_f="$tmp/stdin";;
     11319      -) ac_f="$ac_tmp/stdin";;
    2104911320      *) # Look for the file first in the build tree, then in the source tree
    2105011321         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    2105511326           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    2105611327           esac ||
    21057            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    21058 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    21059    { (exit 1); exit 1; }; };;
     11328           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    2106011329      esac
    2106111330      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    21062       ac_file_inputs="$ac_file_inputs '$ac_f'"
     11331      as_fn_append ac_file_inputs " '$ac_f'"
    2106311332    done
    2106411333
     
    2107111340    if test x"$ac_file" != x-; then
    2107211341      configure_input="$ac_file.  $configure_input"
    21073       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     11342      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    2107411343$as_echo "$as_me: creating $ac_file" >&6;}
    2107511344    fi
     
    2108311352
    2108411353    case $ac_tag in
    21085     *:-:* | *:-) cat >"$tmp/stdin" \
    21086       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21087 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21088    { (exit 1); exit 1; }; } ;;
     11354    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     11355      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    2108911356    esac
    2109011357    ;;
     
    2111411381          }
    2111511382          s/.*/./; q'`
    21116   { as_dir="$ac_dir"
    21117   case $as_dir in #(
    21118   -*) as_dir=./$as_dir;;
    21119   esac
    21120   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    21121     as_dirs=
    21122     while :; do
    21123       case $as_dir in #(
    21124       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    21125       *) as_qdir=$as_dir;;
    21126       esac
    21127       as_dirs="'$as_qdir' $as_dirs"
    21128       as_dir=`$as_dirname -- "$as_dir" ||
    21129 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21130          X"$as_dir" : 'X\(//\)[^/]' \| \
    21131          X"$as_dir" : 'X\(//\)$' \| \
    21132          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    21133 $as_echo X"$as_dir" |
    21134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    21135             s//\1/
    21136             q
    21137           }
    21138           /^X\(\/\/\)[^/].*/{
    21139             s//\1/
    21140             q
    21141           }
    21142           /^X\(\/\/\)$/{
    21143             s//\1/
    21144             q
    21145           }
    21146           /^X\(\/\).*/{
    21147             s//\1/
    21148             q
    21149           }
    21150           s/.*/./; q'`
    21151       test -d "$as_dir" && break
    21152     done
    21153     test -z "$as_dirs" || eval "mkdir $as_dirs"
    21154   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    21155 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    21156    { (exit 1); exit 1; }; }; }
     11383  as_dir="$ac_dir"; as_fn_mkdir_p
    2115711384  ac_builddir=.
    2115811385
     
    2121111438# FIXME: This hack should be removed a few years after 2.60.
    2121211439ac_datarootdir_hack=; ac_datarootdir_seen=
    21213 
    2121411440ac_sed_dataroot='
    2121511441/datarootdir/ {
     
    2122111447/@infodir@/p
    2122211448/@localedir@/p
    21223 /@mandir@/p
    21224 '
     11449/@mandir@/p'
    2122511450case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    2122611451*datarootdir*) ac_datarootdir_seen=yes;;
    2122711452*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    21228   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     11453  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    2122911454$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    2123011455_ACEOF
     
    2123611461  s&@localedir@&$localedir&g
    2123711462  s&@mandir@&$mandir&g
    21238     s&\\\${datarootdir}&$datarootdir&g' ;;
     11463  s&\\\${datarootdir}&$datarootdir&g' ;;
    2123911464esac
    2124011465_ACEOF
     
    2126411489$ac_datarootdir_hack
    2126511490"
    21266 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    21267   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21268 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21269    { (exit 1); exit 1; }; }
     11491eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     11492  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2127011493
    2127111494test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    21272   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    21273   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    21274   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    21275 which seems to be undefined.  Please make sure it is defined." >&5
     11495  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     11496  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     11497      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     11498  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     11499which seems to be undefined.  Please make sure it is defined" >&5
    2127611500$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    21277 which seems to be undefined.  Please make sure it is defined." >&2;}
    21278 
    21279   rm -f "$tmp/stdin"
     11501which seems to be undefined.  Please make sure it is defined" >&2;}
     11502
     11503  rm -f "$ac_tmp/stdin"
    2128011504  case $ac_file in
    21281   -) cat "$tmp/out" && rm -f "$tmp/out";;
    21282   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     11505  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     11506  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    2128311507  esac \
    21284   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21285 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21286    { (exit 1); exit 1; }; }
     11508  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2128711509 ;;
    2128811510  :H)
     
    2129311515    {
    2129411516      $as_echo "/* $configure_input  */" \
    21295       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    21296     } >"$tmp/config.h" \
    21297       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21298 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21299    { (exit 1); exit 1; }; }
    21300     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    21301       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     11517      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     11518    } >"$ac_tmp/config.h" \
     11519      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     11520    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     11521      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    2130211522$as_echo "$as_me: $ac_file is unchanged" >&6;}
    2130311523    else
    2130411524      rm -f "$ac_file"
    21305       mv "$tmp/config.h" "$ac_file" \
    21306         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21307 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21308    { (exit 1); exit 1; }; }
     11525      mv "$ac_tmp/config.h" "$ac_file" \
     11526        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2130911527    fi
    2131011528  else
    2131111529    $as_echo "/* $configure_input  */" \
    21312       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    21313       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    21314 $as_echo "$as_me: error: could not create -" >&2;}
    21315    { (exit 1); exit 1; }; }
     11530      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     11531      || as_fn_error $? "could not create -" "$LINENO" 5
    2131611532  fi
    2131711533 ;;
     
    2132311539
    2132411540
    21325 { (exit 0); exit 0; }
    21326 _ACEOF
    21327 chmod +x $CONFIG_STATUS
     11541as_fn_exit 0
     11542_ACEOF
    2132811543ac_clean_files=$ac_clean_files_save
    2132911544
    2133011545test $ac_write_fail = 0 ||
    21331   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    21332 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    21333    { (exit 1); exit 1; }; }
     11546  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    2133411547
    2133511548
     
    2135211565  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    2135311566  # would make configure fail if this is the last instruction.
    21354   $ac_cs_success || { (exit 1); exit 1; }
     11567  $ac_cs_success || as_fn_exit 1
    2135511568fi
    2135611569
     
    2139611609      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    2139711610      esac
    21398       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     11611      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    2139911612    esac
    2140011613  done
     
    2142511638
    2142611639    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    21427     $as_echo "$as_me:$LINENO: $ac_msg" >&5
     11640    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    2142811641    $as_echo "$ac_msg" >&6
    21429     { as_dir="$ac_dir"
    21430   case $as_dir in #(
    21431   -*) as_dir=./$as_dir;;
    21432   esac
    21433   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    21434     as_dirs=
    21435     while :; do
    21436       case $as_dir in #(
    21437       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    21438       *) as_qdir=$as_dir;;
    21439       esac
    21440       as_dirs="'$as_qdir' $as_dirs"
    21441       as_dir=`$as_dirname -- "$as_dir" ||
    21442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21443          X"$as_dir" : 'X\(//\)[^/]' \| \
    21444          X"$as_dir" : 'X\(//\)$' \| \
    21445          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    21446 $as_echo X"$as_dir" |
    21447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    21448             s//\1/
    21449             q
    21450           }
    21451           /^X\(\/\/\)[^/].*/{
    21452             s//\1/
    21453             q
    21454           }
    21455           /^X\(\/\/\)$/{
    21456             s//\1/
    21457             q
    21458           }
    21459           /^X\(\/\).*/{
    21460             s//\1/
    21461             q
    21462           }
    21463           s/.*/./; q'`
    21464       test -d "$as_dir" && break
    21465     done
    21466     test -z "$as_dirs" || eval "mkdir $as_dirs"
    21467   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    21468 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    21469    { (exit 1); exit 1; }; }; }
     11642    as_dir="$ac_dir"; as_fn_mkdir_p
    2147011643    ac_builddir=.
    2147111644
     
    2151411687      ac_sub_configure=$ac_aux_dir/configure
    2151511688    else
    21516       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     11689      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    2151711690$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    2151811691      ac_sub_configure=
     
    2152811701      esac
    2152911702
    21530       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     11703      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    2153111704$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    2153211705      # The eval makes quoting arguments work.
    2153311706      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    2153411707           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    21535         { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    21536 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    21537    { (exit 1); exit 1; }; }
     11708        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    2153811709    fi
    2153911710
     
    2154211713fi
    2154311714if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    21544   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     11715  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    2154511716$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    2154611717fi
  • trunk/configure.in

    r3716 r3717  
    5656AC_LANG([C++])
    5757
    58 AC_CHECK_FUNCS([sysinfo])
     58AC_CHECK_FUNCS(sysinfo)
     59AC_CHECK_FUNCS(gettimeofday)
     60AC_CHECK_FUNC(localtime,,AC_MSG_ERROR(oops! no localtime ?!?))
     61AC_CHECK_FUNC(getenv,,AC_MSG_ERROR(oops! no getenv ?!?))
     62
    5963AC_CHECK_HEADERS(sys/sysinfo.h)
    60 
    61 AC_CHECK_LIB(m, main,,AC_MSG_ERROR(librappture requires libm))
    6264
    6365AC_CHECK_LIB(ncurses, clrtoeol,,AC_MSG_ERROR([ncurses library missing?]))
  • trunk/gui/scripts/xyresult.tcl

    r3711 r3717  
    190190        [itcl::code $this Hilite off %x %y]
    191191
    192     # Add support for editing axes:
    193     if 0 {
    194     Rappture::Balloon $itk_component(hull).axes -title "Axis Options"
    195     set inner [$itk_component(hull).axes component inner]
    196 
    197     label $inner.labell -text "Label:"
    198     entry $inner.label -width 15 -highlightbackground $itk_option(-background)
    199 
    200     label $inner.formatl -text "Format:"
    201     Rappture::Combobox $inner.format -width 15 -editable no
    202     $inner.format choices insert end \
    203         "%.6g"  "Auto"         \
    204         "%.0f"  "X"          \
    205         "%.1f"  "X.X"          \
    206         "%.2f"  "X.XX"         \
    207         "%.3f"  "X.XXX"        \
    208         "%.6f"  "X.XXXXXX"     \
    209         "%.1e"  "X.Xe+XX"      \
    210         "%.2e"  "X.XXe+XX"     \
    211         "%.3e"  "X.XXXe+XX"    \
    212         "%.6e"  "X.XXXXXXe+XX"
    213 
    214     label $inner.rangel -text "Range:"
    215     radiobutton $inner.auto -text "automatic" \
    216         -variable [itcl::scope _axisPopup(auto)] -value 1 \
    217         -command [itcl::code $this SetAxis range]
    218     radiobutton $inner.manual -text "manual" \
    219         -variable [itcl::scope _axisPopup(auto)] -value 0 \
    220         -command [itcl::code $this SetAxis range]
    221 
    222     radiobutton $inner.loose -text "loose" \
    223         -variable [itcl::scope _axisPopup(loose)] -value 1 \
    224         -command [itcl::code $this SetAxis loose]
    225     radiobutton $inner.tight -text "tight" \
    226         -variable [itcl::scope _axisPopup(loose)] -value 0 \
    227         -command [itcl::code $this SetAxis loose]
    228 
    229     label $inner.minl -text "min"
    230     entry $inner.min \
    231         -width 15 -highlightbackground $itk_option(-background) \
    232         -textvariable [itcl::scope _axisPopup(min)]
    233     bind $inner.min <Return> [itcl::code $this SetAxis min]
    234     label $inner.maxl -text "max"
    235     entry $inner.max \
    236         -width 15 -highlightbackground $itk_option(-background) \
    237         -textvariable [itcl::scope _axisPopup(max)]
    238     bind $inner.min <Return> [itcl::code $this SetAxis max]
    239 
    240     label $inner.scalel -text "Scale:"
    241     radiobutton $inner.linear -text "linear" \
    242         -variable [itcl::scope _axisPopup(logscale)] -value 0 \
    243         -command [itcl::code $this SetAxis logscale]
    244     radiobutton $inner.log -text "logarithmic" \
    245         -variable [itcl::scope _axisPopup(logscale)] -value 1 \
    246         -command [itcl::code $this Axis SetAxis logscale]
    247 
    248     blt::table $inner \
    249         0,0 $inner.labell -anchor e \
    250         0,1 $inner.label -anchor w -fill x  -cspan 2 \
    251         1,0 $inner.formatl -anchor e \
    252         1,1 $inner.format -anchor w -fill x  -cspan 2 \
    253         2,0 $inner.scalel -anchor e \
    254         2,1 $inner.linear -anchor w \
    255         2,2 $inner.log -anchor w \
    256         3,0 $inner.rangel -anchor e \
    257         3,1 $inner.manual -anchor w \
    258         3,2 $inner.auto -anchor w \
    259         4,1 $inner.minl -anchor w \
    260         4,2 $inner.min -anchor w \
    261         5,1 $inner.maxl -anchor w \
    262         5,2 $inner.max -anchor w \
    263         6,1 $inner.loose -anchor w \
    264         6,2 $inner.tight -anchor w \
    265 
    266     foreach axis {x y} {
    267         set _axisPopup($axis-format) "%.6g"
    268     }
    269     Axis scale x linear
    270     Axis scale y linear
    271     }
    272192    $itk_component(plot) legend configure -hide yes
    273193
     
    464384    lappend allx x  ;# fix main x-axis too
    465385
    466     if 0 {
    467     foreach axis $allx {
    468         Axis scale $axis linear
    469     }
    470     }
    471386    set ally [$itk_component(plot) y2axis use]
    472387    lappend ally y  ;# fix main y-axis too
    473     if 0 {
    474     foreach axis $ally {
    475         Axis scale $axis linear
    476     }
    477     }
    478388    catch {unset _limits}
    479389    foreach dataobj $args {
     
    640550    eval $g element delete [$g element names]
    641551    eval $g marker delete [$g marker names]
     552
    642553    foreach axis [$g axis names] {
    643554        if { [$g axis cget $axis -logscale] } {
     
    878789        $g axis configure $axis -min "" -max ""
    879790    }
    880     return
    881     #
    882     # HACK ALERT!
    883     # Use this code to fix up the y-axis limits for the BLT graph.
    884     # The auto-limits don't always work well.  We want them to be
    885     # set to a "nice" number slightly above or below the min/max
    886     # limits.
    887     #
    888     # I don't get what's better about this.  It's replicating what's
    889     # in the BLT graph. It's missing pieces like handling bar elements.
    890     #
    891     foreach axis [$g axis names] {
    892         if {[info exists _limits(${axis}lin-min)]} {
    893             set log [$g axis cget $axis -logscale]
    894             if {$log} {
    895                 set min $_limits(${axis}log-min)
    896                 if {$min == 0} { set min 1 }
    897                 set max $_limits(${axis}log-max)
    898                 if {$max == 0} { set max 1 }
    899 
    900                 if {$min == $max} {
    901                     set logmin [expr {floor(log10(abs(0.9*$min)))}]
    902                     set logmax [expr {ceil(log10(abs(1.1*$max)))}]
    903                 } else {
    904                     set logmin [expr {floor(log10(abs($min)))}]
    905                     set logmax [expr {ceil(log10(abs($max)))}]
    906                     if 0 {
    907                     if {[string match y* $axis]} {
    908                         # add a little padding
    909                         set delta [expr {$logmax-$logmin}]
    910                         if {$delta == 0} { set delta 1 }
    911                         set logmin [expr {$logmin-0.05*$delta}]
    912                         set logmax [expr {$logmax+0.05*$delta}]
    913                     }
    914                     }
    915                 }
    916                 if {$logmin < -300} {
    917                     set min 1e-300
    918                 } elseif {$logmin > 300} {
    919                     set min 1e+300
    920                 } else {
    921                     set min [expr {pow(10.0,$logmin)}]
    922                 }
    923 
    924                 if {$logmax < -300} {
    925                     set max 1e-300
    926                 } elseif {$logmax > 300} {
    927                     set max 1e+300
    928                 } else {
    929                     set max [expr {pow(10.0,$logmax)}]
    930                 }
    931             } else {
    932                 set min $_limits(${axis}lin-min)
    933                 set max $_limits(${axis}lin-max)
    934 
    935                 if 0 {
    936                 if {[string match y* $axis]} {
    937                     # add a little padding
    938                     set delta [expr {$max-$min}]
    939                     set min [expr {$min-0.05*$delta}]
    940                     set max [expr {$max+0.05*$delta}]
    941                 }
    942                 }
    943             }
    944             if {$min < $max} {
    945                 $g axis configure $axis -min $min -max $max
    946             } else {
    947                 $g axis configure $axis -min "" -max ""
    948             }
    949         } else {
    950             $g axis configure $axis -min "" -max ""
    951         }
    952     }
    953791}
    954792
     
    11851023# USAGE: Axis drag <axis> <x> <y>
    11861024# USAGE: Axis release <axis> <x> <y>
    1187 #
    1188 # USAGE: Axis edit <axis>
    1189 # USAGE: Axis changed <axis> <what>
    1190 # USAGE: Axis format <axis> <widget> <value>
    1191 # USAGE: Axis scale <axis> linear|log
    11921025#
    11931026# Used internally to handle editing of the x/y axes.  The hilite
     
    13131146                if {$dx < 2 && $dy < 2} {
    13141147                    ShowAxisPopup $axis
    1315                     #Axis edit $axis
    13161148                    return
    13171149                }
     
    13261158            catch {unset _axis}
    13271159        }
    1328         edit {
    1329             if {[llength $args] != 1} {
    1330                 error "wrong # args: should be \"Axis edit axis\""
    1331             }
    1332             set axis [lindex $args 0]
    1333             set _axisPopup(current) $axis
    1334             set _axisPopup(axis) $axis
    1335             # apply last value when deactivating
    1336             $itk_component(hull).axes configure -deactivatecommand \
    1337                 [itcl::code $this Axis changed $axis focus]
    1338 
    1339             # fix axis label controls...
    1340             set inner [$itk_component(hull).axes component inner]
    1341             set label [$itk_component(plot) axis cget $axis -title]
    1342             $inner.label delete 0 end
    1343             $inner.label insert end $label
    1344             bind $inner.label <Return> \
    1345                 [itcl::code $this Axis changed $axis label]
    1346             bind $inner.label <KP_Enter> \
    1347                 [itcl::code $this Axis changed $axis label]
    1348             bind $inner.label <FocusOut> \
    1349                 [itcl::code $this Axis changed $axis label]
    1350 
    1351             # fix min/max controls...
    1352             foreach {min max} [$itk_component(plot) axis limits $axis] break
    1353             $inner.min delete 0 end
    1354             $inner.min insert end $min
    1355             bind $inner.min <Return> \
    1356                 [itcl::code $this Axis changed $axis min]
    1357             bind $inner.min <KP_Enter> \
    1358                 [itcl::code $this Axis changed $axis min]
    1359             bind $inner.min <FocusOut> \
    1360                 [itcl::code $this Axis changed $axis min]
    1361 
    1362             $inner.max delete 0 end
    1363             $inner.max insert end $max
    1364             bind $inner.max <Return> \
    1365                 [itcl::code $this Axis changed $axis max]
    1366             bind $inner.max <KP_Enter> \
    1367                 [itcl::code $this Axis changed $axis max]
    1368             bind $inner.max <FocusOut> \
    1369                 [itcl::code $this Axis changed $axis max]
    1370 
    1371             # fix format control...
    1372             set fmts [$inner.format choices get -value]
    1373             set i [lsearch -exact $fmts $_axisPopup($axis-format)]
    1374             if {$i < 0} { set i 0 }  ;# use Auto choice
    1375             $inner.format value [$inner.format choices get -label $i]
    1376 
    1377             bind $inner.format <<Value>> \
    1378                 [itcl::code $this Axis changed $axis format]
    1379 
    1380             # fix scale control...
    1381             if {[$itk_component(plot) axis cget $axis -logscale]} {
    1382                 set _axisPopup(logscale) 1
    1383                 $inner.format configure -state disabled
    1384             } else {
    1385                 set _axisPopup(logscale) 0
    1386                 $inner.format configure -state normal
    1387             }
    1388             $inner.linear configure \
    1389                 -command [itcl::code $this Axis changed $axis scale]
    1390             $inner.log configure \
    1391                 -command [itcl::code $this Axis changed $axis scale]
    1392 
    1393             #
    1394             # Figure out where the window should pop up.
    1395             #
    1396             set x [winfo rootx $itk_component(plot)]
    1397             set y [winfo rooty $itk_component(plot)]
    1398             set w [winfo width $itk_component(plot)]
    1399             set h [winfo height $itk_component(plot)]
    1400             foreach {x0 y0 pw ph} [$itk_component(plot) extents plotarea] break
    1401             switch -glob -- $axis {
    1402                 x {
    1403                     set x [expr {round($x + $x0+0.5*$pw)}]
    1404                     set y [expr {round($y + $y0+$ph + 0.5*($h-$y0-$ph))}]
    1405                     set dir "above"
    1406                 }
    1407                 x* {
    1408                     set x [expr {round($x + $x0+0.5*$pw)}]
    1409                     set dir "below"
    1410                     set allx [$itk_component(plot) x2axis use]
    1411                     set max [llength $allx]
    1412                     set i [lsearch -exact $allx $axis]
    1413                     set y [expr {round($y + ($i+0.5)*$y0/double($max))}]
    1414                 }
    1415                 y {
    1416                     set x [expr {round($x + 0.5*$x0)}]
    1417                     set y [expr {round($y + $y0+0.5*$ph)}]
    1418                     set dir "right"
    1419                 }
    1420                 y* {
    1421                     set y [expr {round($y + $y0+0.5*$ph)}]
    1422                     set dir "left"
    1423                     set ally [$itk_component(plot) y2axis use]
    1424                     set max [llength $ally]
    1425                     set i [lsearch -exact $ally $axis]
    1426                     set y [expr {round($y + ($i+0.5)*$y0/double($max))}]
    1427                     set x [expr {round($x+$x0+$pw + ($i+0.5)*($w-$x0-$pw)/double($max))}]
    1428                 }
    1429             }
    1430             $itk_component(hull).axes activate @$x,$y $dir
    1431         }
    1432         changed {
    1433             set inner [$itk_component(hull).axes component inner]
    1434             if {[llength $args] != 2} {
    1435                 error "wrong # args: should be \"Axis changed axis what\""
    1436             }
    1437             set axis [lindex $args 0]
    1438             set what [lindex $args 1]
    1439             if {$what == "focus"} {
    1440                 set what [focus]
    1441                 if {[winfo exists $what]} {
    1442                     set what [winfo name $what]
    1443                 }
    1444             }
    1445 
    1446             switch -- $what {
    1447                 label {
    1448                     set val [$inner.label get]
    1449                     $itk_component(plot) axis configure $axis -title $val
    1450                     Rappture::Logger::log curve axis $axis -title $val
    1451                 }
    1452                 min {
    1453                     set val [$inner.min get]
    1454                     if {![string is double -strict $val]} {
    1455                         Rappture::Tooltip::cue $inner.min "Must be a number"
    1456                         bell
    1457                         return
    1458                     }
    1459 
    1460                     set max [lindex [$itk_component(plot) axis limits $axis] 1]
    1461                     if {$val >= $max} {
    1462                         Rappture::Tooltip::cue $inner.min "Must be <= max ($max)"
    1463                         bell
    1464                         return
    1465                     }
    1466                     catch {
    1467                         # can fail in log mode
    1468                         $itk_component(plot) axis configure $axis -min $val
    1469                         Rappture::Logger::log curve axis $axis -min $val
    1470                     }
    1471                     foreach {min max} [$itk_component(plot) axis limits $axis] break
    1472                     $inner.min delete 0 end
    1473                     $inner.min insert end $min
    1474                 }
    1475                 max {
    1476                     set val [$inner.max get]
    1477                     if {![string is double -strict $val]} {
    1478                         Rappture::Tooltip::cue $inner.max "Should be a number"
    1479                         bell
    1480                         return
    1481                     }
    1482 
    1483                     set min [lindex [$itk_component(plot) axis limits $axis] 0]
    1484                     if {$val <= $min} {
    1485                         Rappture::Tooltip::cue $inner.max "Must be >= min ($min)"
    1486                         bell
    1487                         return
    1488                     }
    1489                     catch {
    1490                         # can fail in log mode
    1491                         $itk_component(plot) axis configure $axis -max $val
    1492                         Rappture::Logger::log curve axis $axis -max $val
    1493                     }
    1494                     foreach {min max} [$itk_component(plot) axis limits $axis] break
    1495                     $inner.max delete 0 end
    1496                     $inner.max insert end $max
    1497                 }
    1498                 format {
    1499                     set fmt [$inner.format translate [$inner.format value]]
    1500                     set _axisPopup($axis-format) $fmt
    1501 
    1502                     # force a refresh
    1503                     $itk_component(plot) axis configure $axis -min \
    1504                         [$itk_component(plot) axis cget $axis -min]
    1505                 }
    1506                 scale {
    1507                     Axis scale $axis $_axisPopup(logscale)
    1508                     Rappture::Logger::log curve axis $axis -scale $_axisPopup(logscale)
    1509 
    1510                     if { $_axisPopup(logscale) } {
    1511                         $inner.format configure -state disabled
    1512                     } else {
    1513                         $inner.format configure -state normal
    1514                     }
    1515 
    1516                     foreach {min max} [$itk_component(plot) axis limits $axis] break
    1517                     $inner.min delete 0 end
    1518                     $inner.min insert end $min
    1519                     $inner.max delete 0 end
    1520                     $inner.max insert end $max
    1521                 }
    1522                 default {
    1523                     # be lenient so we can handle the "focus" case
    1524                 }
    1525             }
    1526         }
    1527         format {
    1528             if {[llength $args] != 3} {
    1529                 error "wrong # args: should be \"Axis format axis widget value\""
    1530             }
    1531             set axis [lindex $args 0]
    1532             set value [lindex $args 2]
    1533 
    1534             if {[$itk_component(plot) axis cget $axis -logscale]} {
    1535                 set fmt "%.6g"
    1536             } else {
    1537                 set fmt $_axisPopup($axis-format)
    1538             }
    1539             return [format $fmt $value]
    1540         }
    1541         scale {
    1542             if {[llength $args] != 2} {
    1543                 error "wrong # args: should be \"Axis scale axis type\""
    1544             }
    1545             set axis [lindex $args 0]
    1546             set type [lindex $args 1]
    1547 
    1548             if {$type == "log"} {
    1549                 catch {$itk_component(plot) axis configure $axis -logscale 1}
    1550                 # leave format alone in log mode
    1551                 $itk_component(plot) axis configure $axis -command ""
    1552             } else {
    1553                 catch {$itk_component(plot) axis configure $axis -logscale 0}
    1554                 # use special formatting for linear mode
    1555                 $itk_component(plot) axis configure $axis -command \
    1556                     [itcl::code $this Axis format $axis]
    1557             }
    1558         }
    15591160        default {
    1560             error "bad option \"$option\": should be changed, edit, hilite, or format"
     1161            error "bad option \"$option\": should be hilite"
    15611162        }
    15621163    }
     
    19671568    set _axisPopup(max)   $_axisPopup($axis-max)
    19681569    set _axisPopup(axis) $axis
    1969     if 0 {
    1970     $popup configure -deactivatecommand \
    1971         [itcl::code $this Axis changed $axis focus]
    1972     }
    19731570
    19741571    #
  • trunk/lang/R/Makefile.in

    r2709 r3717  
    4040
    4141clean:
    42         $(RM) -rf Rappture Rappture_1.0.tar.gz ${PWD}/build
     42        $(RM) -rf Rappture ${PWD}/build
    4343
    4444distclean: clean
  • trunk/lang/tcl/src/RpUnitsTclInterface.cc

    r3511 r3717  
    162162                        return TCL_ERROR;
    163163                    }
    164                 }
    165                 else {
     164                } else {
    166165                    // if user does not specify wishes for this option,
    167166                    // set fromUnitsName to an empty string.
    168167                    fromUnitsName = "";
    169168                }
    170             }
    171             else if ( option == "-to" ) {
     169            } else if ( option == "-to" ) {
    172170                nextarg++;
    173171                if (argv[nextarg] != NULL) {
     
    183181                        return TCL_ERROR;
    184182                    }
    185                 }
    186                 else {
     183                } else {
    187184                    // if user does not specify wishes for this option,
    188185                    // set toUnitsName to an empty string.
    189186                    toUnitsName = "";
    190187                }
    191             }
    192             else if ( option == "-units" ) {
     188            } else if ( option == "-units" ) {
    193189                nextarg++;
    194190                if (argv[nextarg] != NULL) {
     
    201197                        return TCL_ERROR;
    202198                    }
    203                 }
    204                 else {
     199                } else {
    205200                    // if user does not specify wishes for this option,
    206201                    // return error.
     
    210205                    return TCL_ERROR;
    211206                }
    212             }
    213             else {
     207            } else {
    214208                // unrecognized option
    215209                Tcl_AppendResult(interp, "bad option \"", argv[nextarg],
     
    220214
    221215            nextarg++;
    222         }
    223         else {
     216        } else {
    224217            // unrecognized input
    225218            Tcl_AppendResult(interp, "bad option \"", argv[nextarg], "\": ",
     
    240233    trim(inValue);
    241234
    242     double value;
    243     value = strtod(inValue.c_str(), &endptr);
     235    strtod(inValue.c_str(), &endptr);
    244236    if (endptr == inValue.c_str()) {
    245237        // there was no numeric value that could be pulled from inValue
     
    256248                inValue.c_str(), mesg.c_str(), (char*)NULL);
    257249        return TCL_ERROR;
    258     }
    259     else if ( ((unsigned)(endptr - inValue.c_str())) == inValue.length() ) {
     250    } else if ( ((unsigned)(endptr - inValue.c_str())) == inValue.length() ) {
    260251        // add 1 because we are subtracting indicies
    261252        // there were no units at the end of the inValue string
     
    265256        if (!fromUnitsName.empty()) {
    266257            val = inValue + fromUnitsName;
    267         }
    268         else {
     258        } else {
    269259            Tcl_AppendResult(interp, "value: \"", inValue.c_str(),
    270260                    "\" has unrecognized units", (char*)NULL);
    271261            return TCL_ERROR;
    272262        }
    273     }
    274     else {
     263    } else {
    275264        // there seemed to be units at the end of the inValue string
    276265        // we will ignore the -context flag and use the units in inValue
     
    285274        Tcl_AppendResult(interp, convertedVal.c_str(), (char*)NULL);
    286275        retVal = TCL_OK;
    287     }
    288     else {
     276    } else {
    289277        // error while converting
    290278        Tcl_AppendResult(interp,
  • trunk/src/core/Makefile.in

    r3471 r3717  
    1313INSTALL         = @INSTALL@
    1414MKDIR_P         = @MKDIR_P@
    15 
     15SVN_VERSION     := $(shell svnversion $(srcdir))
     16RAPPTURE_VERSION = @PACKAGE_VERSION@
    1617CXX             = @CXX@
    1718# This hack is because the tcl.m4 file generates the line
     
    3233DX_LIB_SPEC     = @DX_LIB_SPEC@
    3334DX_INC_SPEC     = @DX_INC_SPEC@
    34 
    35 CC_SWITCHES     = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
    36 CXX_SWITCHES    = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
     35DEFINES         = -DSVN_VERSION=\"$(SVN_VERSION)\" \
     36                  -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\"
     37
     38CC_SWITCHES     = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
     39CXX_SWITCHES    = $(CFLAGS) $(CFLAGS_DEBUG) $(INCLUDES) $(DEFINES)
    3740
    3841INCLUDES        = \
  • trunk/src/core/RpLibrary.cc

    r3681 r3717  
    1212 */
    1313
     14#include "config.h"
    1415#include "scew/scew.h"
    1516#include "scew_extras.h"
     
    22222223RpLibrary::result(int exitStatus)
    22232224{
    2224     std::stringstream outputFile;
    22252225    std::fstream file;
    22262226    std::string xmlText = "";
    2227     std::string timestamp = "";
    2228     std::string username = "";
    2229     std::string hostname = "";
     2227    time_t t;
     2228    struct tm* timeinfo;
     2229    std::stringstream outputFile;
     2230    std::string timestamp;
     2231    std::string username;
     2232    std::string hostname;
    22302233    char *user = NULL;
    22312234
    2232     if (this->root) {
    2233         time_t t;
    2234         struct tm* timeinfo = NULL;
    2235 
    2236 #ifdef _POSIX_SOURCE
    2237         // if the posix function gettimeofday is available,
    2238         // we can get more precision on the time and more
    2239         // unique filenames.
    2240         struct timeval tv;
    2241         gettimeofday(&tv,NULL);
    2242         outputFile << "run" << tv.tv_sec << tv.tv_usec << ".xml";
     2235    if (this->root == NULL) {
     2236        return;                         /* No tree available */
     2237    }
     2238
     2239    t = time(NULL);                     /* This is presumably the time the
     2240                                         * simulation finished. */
     2241#ifdef HAVE_GETTIMEOFDAY
     2242    /* If the posix function gettimeofday is available, use it to produce
     2243     * unique filenames. */
     2244    struct timeval tv;
     2245    gettimeofday(&tv,NULL);
     2246    outputFile << "run" << tv.tv_sec << tv.tv_usec << ".xml";
    22432247#else
    2244         outputFile << "run" << (int)time(&t) << ".xml";
     2248    outputFile << "run" << (int)t << ".xml";
    22452249#endif
    2246         file.open(outputFile.str().c_str(),std::ios::out);
    2247 
    2248         put("tool.version.rappture.revision","$LastChangedRevision$");
    2249         put("tool.version.rappture.modified","$LastChangedDate$");
    2250         if ( "" == get("tool.version.rappture.language") ) {
    2251             put("tool.version.rappture.language","c++");
    2252         }
    2253         t = time(NULL);
    2254         // generate a timestamp for the run file
    2255         timeinfo = localtime(&t);
    2256         timestamp = std::string(ctime(&t));
    2257         // erase the 24th character because it is a newline
    2258         timestamp.erase(24);
    2259         // concatenate the timezone
    2260         timestamp.append(" ");
     2250    file.open(outputFile.str().c_str(),std::ios::out);
     2251   
     2252   
     2253    put("tool.version.rappture.version", RAPPTURE_VERSION);
     2254    put("tool.version.rappture.revision", SVN_VERSION);
     2255    put("tool.version.rappture.modified",
     2256        "$LastChangedDate$");
     2257    if ( "" == get("tool.version.rappture.language") ) {
     2258        put("tool.version.rappture.language","c++");
     2259    }
     2260    // generate a timestamp for the run file
     2261    timeinfo = localtime(&t);
     2262    timestamp = std::string(ctime(&t));
     2263    // erase the 24th character because it is a newline
     2264    timestamp.erase(24);
     2265    // concatenate the timezone
     2266    timestamp.append(" ");
    22612267#ifdef _WIN32
    2262         timestamp.append(_tzname[_daylight]);
    2263         // username is left blank for windows because i dont know
    2264         // how to retrieve username on win32 environment.
    2265         username = "";
    2266         hostname = "";
     2268    timestamp.append(_tzname[_daylight]);
     2269    username = "";
     2270    hostname = "";
     2271    user = getenv("USERNAME");
     2272    if (user != NULL) {
     2273        username = std::string(user);
     2274    } else {
     2275        user = getenv("LOGNAME");
     2276        if (user != NULL) {
     2277            username = std::string(user);
     2278        }
     2279    }
    22672280#else
    2268         timestamp.append(timeinfo->tm_zone);
    2269         user = getenv("USER");
    2270         if (user != NULL) {
    2271             username = std::string(user);
    2272         } else {
    2273             user = getenv("LOGNAME");
    2274             if (user != NULL) {
    2275                 username = std::string(user);
    2276             }
    2277         }
     2281    timestamp.append(timeinfo->tm_zone);
     2282    user = getenv("USER");
     2283    if (user != NULL) {
     2284        username = std::string(user);
     2285    } else {
     2286        user = getenv("LOGNAME");
     2287        if (user != NULL) {
     2288            username = std::string(user);
     2289        }
     2290    }
    22782291#endif
    22792292
    2280         // add the timestamp to the run file
    2281         put("output.time", timestamp);
    2282         put("output.status",exitStatus);
    2283         put("output.user",username);
    2284         put("output.host",hostname);
    2285 
    2286         if ( file.is_open() ) {
    2287             xmlText = xml();
    2288             if (!xmlText.empty()) {
    2289                 file << xmlText;
    2290             }
    2291             // check to make sure there were no
    2292             // errors while writing the run.xml file.
    2293             if (   (!file.good())
    2294                 || ((long)xmlText.length() != ((long)file.tellp()-(long)1))
     2293    // add the timestamp to the run file
     2294    put("output.time", timestamp);
     2295    put("output.status",exitStatus);
     2296    put("output.user",username);
     2297    put("output.host",hostname);
     2298   
     2299    if ( file.is_open() ) {
     2300        xmlText = xml();
     2301        if (!xmlText.empty()) {
     2302            file << xmlText;
     2303        }
     2304        // check to make sure there were no
     2305        // errors while writing the run.xml file.
     2306        if (   (!file.good())
     2307               || ((long)xmlText.length() != ((long)file.tellp()-(long)1))
    22952308               ) {
    2296                  status.error("Error while writing run file");
    2297                  status.addContext("RpLibrary::result()");
    2298             }
    2299             file.close();
    2300         }
    2301         else {
    2302             status.error("Error while opening run file");
    2303             status.addContext("RpLibrary::result()");
    2304         }
    2305         std::cout << "=RAPPTURE-RUN=>" << outputFile.str() << std::endl;
    2306     }
     2309            status.error("Error while writing run file");
     2310            status.addContext("RpLibrary::result()");
     2311        }
     2312        file.close();
     2313    } else {
     2314        status.error("Error while opening run file");
     2315        status.addContext("RpLibrary::result()");
     2316    }
     2317    std::cout << "=RAPPTURE-RUN=>" << outputFile.str() << std::endl;
    23072318}
    23082319
  • trunk/src/core/config.h.in

    r3373 r3717  
    7070#undef HAVE_CTYPE_H
    7171
     72/* Define to 1 if you have the <env.h> header file. */
     73#undef HAVE_ENV_H
     74
    7275/* Define to 1 if you have the <errno.h> header file. */
    7376#undef HAVE_ERRNO_H
    7477
     78/* Render servers can use ffmpeg */
     79#undef HAVE_FFMPEG
     80
    7581/* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
    7682#undef HAVE_FFMPEG_AVCODEC_H
     
    9197#undef HAVE_FSTREAM
    9298
     99/* Define to 1 if you have the `gettimeofday' function. */
     100#undef HAVE_GETTIMEOFDAY
     101
    93102/* Define to 1 if you have the `img_convert' function. */
    94103#undef HAVE_IMG_CONVERT
     
    121130#undef HAVE_LIBAVUTIL_AVUTIL_H
    122131
    123 /* Define to 1 if you have the `m' library (-lm). */
    124 #undef HAVE_LIBM
    125 
    126132/* Define to 1 if you have the `ncurses' library (-lncurses). */
    127133#undef HAVE_LIBNCURSES
     
    154160#undef HAVE_NCURSES_H
    155161
     162/* Define to 1 if you have the <node.h> header file. */
     163#undef HAVE_NODE_H
     164
    156165/* Define to 1 if you have the <Python.h> header file. */
    157166#undef HAVE_PYTHON_H
    158167
     168/* Define to 1 if you have the <ruby.h> header file. */
     169#undef HAVE_RUBY_H
     170
     171/* Define to 1 if you have the <ruby/node.h> header file. */
     172#undef HAVE_RUBY_NODE_H
     173
    159174/* Define to 1 if you have the <sstream> header file. */
    160175#undef HAVE_SSTREAM
     
    208223#undef HAVE_VECTOR
    209224
     225/* Define to 1 if you have the <version.h> header file. */
     226#undef HAVE_VERSION_H
     227
    210228/* Define to the address where bug reports for this package should be sent. */
    211229#undef PACKAGE_BUGREPORT
     
    225243/* Define to the version of this package. */
    226244#undef PACKAGE_VERSION
     245
     246/* Define this macro to use ruby/node.h */
     247#undef REALLY_HAVE_RUBY_NODE_H
    227248
    228249/* The size of `int', as computed by sizeof. */
Note: See TracChangeset for help on using the changeset viewer.