Changeset 3601 for branches/1.2


Ignore:
Timestamp:
Apr 1, 2013, 2:04:12 PM (11 years ago)
Author:
gah
Message:

put back new ruby configure test

Location:
branches/1.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/configure

    r3472 r3601  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.2.
     3# Generated by GNU Autoconf 2.69 for Rappture 1.2.
    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.2'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    699684HAVE_FFMPEG_LIBS
    700685ENABLE_GUI
     686FFMPEG
    701687LDFLAGS_DEFAULT
    702688CFLAGS_DEFAULT
    703 RUBY_EXTRA_LIBS
    704 RUBY_SITE_PKG
     689host_os
     690host_vendor
     691host_cpu
     692host
     693build_os
     694build_vendor
     695build_cpu
     696build
     697HAVE_RUBY_H
     698RUBY_SITELIBDIR
     699RUBY_LIBRUBYARG_STATIC
     700RUBY_LIBRUBYARG
     701RUBY_LIBS
    705702RUBY_LDFLAGS
     703RUBY_CXXFLAGS
     704RUBY_CFLAGS
    706705RUBY_CPPFLAGS
    707 AWK
    708 RUBY_VERSION
    709 SED
     706RUBY_VERSION_CODE
    710707RUBY
    711708R
     
    802799prefix
    803800exec_prefix
     801PACKAGE_URL
    804802PACKAGE_BUGREPORT
    805803PACKAGE_STRING
     
    830828with_R
    831829with_ruby
     830with_ruby_sitelibdir
    832831enable_shared
    833832enable_symbols
     
    910909
    911910  case $ac_option in
    912   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *)    ac_optarg=yes ;;
     911  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     912  *=)   ac_optarg= ;;
     913  *)    ac_optarg=yes ;;
    914914  esac
    915915
     
    956956    # Reject names that are not valid shell variable names.
    957957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    959    { (exit 1); exit 1; }; }
     958      as_fn_error $? "invalid feature name: $ac_useropt"
    960959    ac_useropt_orig=$ac_useropt
    961960    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    983982    # Reject names that are not valid shell variable names.
    984983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    986    { (exit 1); exit 1; }; }
     984      as_fn_error $? "invalid feature name: $ac_useropt"
    987985    ac_useropt_orig=$ac_useropt
    988986    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11881186    # Reject names that are not valid shell variable names.
    11891187    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1190       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1191    { (exit 1); exit 1; }; }
     1188      as_fn_error $? "invalid package name: $ac_useropt"
    11921189    ac_useropt_orig=$ac_useropt
    11931190    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12051202    # Reject names that are not valid shell variable names.
    12061203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1207       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1208    { (exit 1); exit 1; }; }
     1204      as_fn_error $? "invalid package name: $ac_useropt"
    12091205    ac_useropt_orig=$ac_useropt
    12101206    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12361232    x_libraries=$ac_optarg ;;
    12371233
    1238   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1239 Try \`$0 --help' for more information." >&2
    1240    { (exit 1); exit 1; }; }
     1234  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1235Try \`$0 --help' for more information"
    12411236    ;;
    12421237
     
    12441239    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12451240    # Reject names that are not valid shell variable names.
    1246     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1247       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1248    { (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
    12491245    eval $ac_envvar=\$ac_optarg
    12501246    export $ac_envvar ;;
     
    12551251    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12561252      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1257     : ${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}"
    12581254    ;;
    12591255
     
    12631259if test -n "$ac_prev"; then
    12641260  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1265   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1266    { (exit 1); exit 1; }; }
     1261  as_fn_error $? "missing argument to $ac_option"
    12671262fi
    12681263
     
    12701265  case $enable_option_checking in
    12711266    no) ;;
    1272     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1273    { (exit 1); exit 1; }; } ;;
     1267    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    12741268    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12751269  esac
     
    12941288    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12951289  esac
    1296   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1297    { (exit 1); exit 1; }; }
     1290  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12981291done
    12991292
     
    13091302  if test "x$build_alias" = x; then
    13101303    cross_compiling=maybe
    1311     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1312     If a cross compiler is detected then cross compile mode will be used." >&2
    13131304  elif test "x$build_alias" != "x$host_alias"; then
    13141305    cross_compiling=yes
     
    13251316ac_ls_di=`ls -di .` &&
    13261317ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1327   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1328    { (exit 1); exit 1; }; }
     1318  as_fn_error $? "working directory cannot be determined"
    13291319test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1330   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1331    { (exit 1); exit 1; }; }
     1320  as_fn_error $? "pwd does not report name of working directory"
    13321321
    13331322
     
    13681357if test ! -r "$srcdir/$ac_unique_file"; then
    13691358  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1370   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1371    { (exit 1); exit 1; }; }
     1359  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13721360fi
    13731361ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13741362ac_abs_confdir=`(
    1375         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1376    { (exit 1); exit 1; }; }
     1363        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13771364        pwd)`
    13781365# When building in place, set srcdir=.
     
    14141401      --help=recursive    display the short help of all the included packages
    14151402  -V, --version           display version information and exit
    1416   -q, --quiet, --silent   do not print \`checking...' messages
     1403  -q, --quiet, --silent   do not print \`checking ...' messages
    14171404      --cache-file=FILE   cache test results in FILE [disabled]
    14181405  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14561443
    14571444  cat <<\_ACEOF
     1445
     1446System types:
     1447  --build=BUILD     configure for building on BUILD [guessed]
     1448  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    14581449_ACEOF
    14591450fi
     
    14941485  --with-java=DIR         location of java [default=yes]
    14951486  --with-R=DIR            location of R interpreter [default=yes]
    1496   --with-ruby=DIR         location of ruby [default=yes]
     1487  --with-ruby=PATH        path to the ruby interpreter [[ruby]]
     1488  --with-ruby-sitelibdir=PATH
     1489                          path to install ruby scripts [[auto-detect]]
    14971490
    14981491Some influential environment variables:
     
    15021495              nonstandard directory <lib dir>
    15031496  LIBS        libraries to pass to the linker, e.g. -l<library>
    1504   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
    15051498              you have headers in a nonstandard directory <include dir>
    15061499  CXX         C++ compiler command
     
    15781571  cat <<\_ACEOF
    15791572Rappture configure 1.2
    1580 generated by GNU Autoconf 2.63
    1581 
    1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1583 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.
    15841576This configure script is free software; the Free Software Foundation
    15851577gives unlimited permission to copy, distribute and modify it.
     
    15871579  exit
    15881580fi
     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
    15892388cat >config.log <<_ACEOF
    15902389This file contains any messages produced by compilers while
     
    15922391
    15932392It was created by Rappture $as_me 1.2, which was
    1594 generated by GNU Autoconf 2.63.  Invocation command line was
     2393generated by GNU Autoconf 2.69.  Invocation command line was
    15952394
    15962395  $ $0 $@
     
    16282427  IFS=$as_save_IFS
    16292428  test -z "$as_dir" && as_dir=.
    1630   $as_echo "PATH: $as_dir"
    1631 done
     2429    $as_echo "PATH: $as_dir"
     2430  done
    16322431IFS=$as_save_IFS
    16332432
     
    16662465    esac
    16672466    case $ac_pass in
    1668     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2467    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    16692468    2)
    1670       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2469      as_fn_append ac_configure_args1 " '$ac_arg'"
    16712470      if test $ac_must_keep_next = true; then
    16722471        ac_must_keep_next=false # Got value, back to normal.
     
    16842483        esac
    16852484      fi
    1686       ac_configure_args="$ac_configure_args '$ac_arg'"
     2485      as_fn_append ac_configure_args " '$ac_arg'"
    16872486      ;;
    16882487    esac
    16892488  done
    16902489done
    1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1692 $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;}
    16932492
    16942493# When interrupted or exit'd, cleanup temporary files, and complete
     
    17022501    echo
    17032502
    1704     cat <<\_ASBOX
    1705 ## ---------------- ##
     2503    $as_echo "## ---------------- ##
    17062504## Cache variables. ##
    1707 ## ---------------- ##
    1708 _ASBOX
     2505## ---------------- ##"
    17092506    echo
    17102507    # The following way of writing the cache mishandles newlines in values,
     
    17152512    *${as_nl}*)
    17162513      case $ac_var in #(
    1717       *_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
    17182515$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    17192516      esac
     
    17212518      _ | IFS | as_nl) ;; #(
    17222519      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1723       *) $as_unset $ac_var ;;
     2520      *) { eval $ac_var=; unset $ac_var;} ;;
    17242521      esac ;;
    17252522    esac
     
    17402537    echo
    17412538
    1742     cat <<\_ASBOX
    1743 ## ----------------- ##
     2539    $as_echo "## ----------------- ##
    17442540## Output variables. ##
    1745 ## ----------------- ##
    1746 _ASBOX
     2541## ----------------- ##"
    17472542    echo
    17482543    for ac_var in $ac_subst_vars
     
    17572552
    17582553    if test -n "$ac_subst_files"; then
    1759       cat <<\_ASBOX
    1760 ## ------------------- ##
     2554      $as_echo "## ------------------- ##
    17612555## File substitutions. ##
    1762 ## ------------------- ##
    1763 _ASBOX
     2556## ------------------- ##"
    17642557      echo
    17652558      for ac_var in $ac_subst_files
     
    17752568
    17762569    if test -s confdefs.h; then
    1777       cat <<\_ASBOX
    1778 ## ----------- ##
     2570      $as_echo "## ----------- ##
    17792571## confdefs.h. ##
    1780 ## ----------- ##
    1781 _ASBOX
     2572## ----------- ##"
    17822573      echo
    17832574      cat confdefs.h
     
    17932584' 0
    17942585for ac_signal in 1 2 13 15; do
    1795   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2586  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17962587done
    17972588ac_signal=0
     
    18002591rm -f -r conftest* confdefs.h
    18012592
     2593$as_echo "/* confdefs.h */" > confdefs.h
     2594
    18022595# Predefined preprocessor variables.
    18032596
     
    18062599_ACEOF
    18072600
    1808 
    18092601cat >>confdefs.h <<_ACEOF
    18102602#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18112603_ACEOF
    18122604
    1813 
    18142605cat >>confdefs.h <<_ACEOF
    18152606#define PACKAGE_VERSION "$PACKAGE_VERSION"
    18162607_ACEOF
    18172608
    1818 
    18192609cat >>confdefs.h <<_ACEOF
    18202610#define PACKAGE_STRING "$PACKAGE_STRING"
    18212611_ACEOF
    18222612
    1823 
    18242613cat >>confdefs.h <<_ACEOF
    18252614#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2615_ACEOF
     2616
     2617cat >>confdefs.h <<_ACEOF
     2618#define PACKAGE_URL "$PACKAGE_URL"
    18262619_ACEOF
    18272620
     
    18322625ac_site_file2=NONE
    18332626if test -n "$CONFIG_SITE"; then
    1834   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
    18352633elif test "x$prefix" != xNONE; then
    18362634  ac_site_file1=$prefix/share/config.site
     
    18432641do
    18442642  test "x$ac_site_file" = xNONE && continue
    1845   if test -r "$ac_site_file"; then
    1846     { $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
    18472645$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    18482646    sed 's/^/| /' "$ac_site_file" >&5
    1849     . "$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; }
    18502652  fi
    18512653done
    18522654
    18532655if test -r "$cache_file"; then
    1854   # Some versions of bash will fail to source /dev/null (special
    1855   # files actually), so we avoid doing that.
    1856   if test -f "$cache_file"; then
    1857     { $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
    18582660$as_echo "$as_me: loading cache $cache_file" >&6;}
    18592661    case $cache_file in
     
    18632665  fi
    18642666else
    1865   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2667  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    18662668$as_echo "$as_me: creating cache $cache_file" >&6;}
    18672669  >$cache_file
     
    18782680  case $ac_old_set,$ac_new_set in
    18792681    set,)
    1880       { $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
    18812683$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18822684      ac_cache_corrupted=: ;;
    18832685    ,set)
    1884       { $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
    18852687$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18862688      ac_cache_corrupted=: ;;
     
    18922694        ac_new_val_w=`echo x $ac_new_val`
    18932695        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1894           { $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
    18952697$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18962698          ac_cache_corrupted=:
    18972699        else
    1898           { $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
    18992701$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19002702          eval $ac_var=\$ac_old_val
    19012703        fi
    1902         { $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
    19032705$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1904         { $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
    19052707$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19062708      fi;;
     
    19142716    case " $ac_configure_args " in
    19152717      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1916       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2718      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    19172719    esac
    19182720  fi
    19192721done
    19202722if $ac_cache_corrupted; then
    1921   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2723  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    19222724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1923   { $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
    19242726$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1925   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1927    { (exit 1); exit 1; }; }
    1928 fi
    1929 
    1930 
    1931 
    1932 
    1933 
    1934 
    1935 
    1936 
    1937 
    1938 
    1939 
    1940 
    1941 
    1942 
    1943 
    1944 
    1945 
    1946 
    1947 
    1948 
    1949 
    1950 
    1951 
    1952 
     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## -------------------- ##
    19532732
    19542733ac_ext=c
     
    19762755done
    19772756if test -z "$ac_aux_dir"; then
    1978   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1979 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1980    { (exit 1); exit 1; }; }
     2757  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19812758fi
    19822759
     
    20062783
    20072784# Check whether --with-install was given.
    2008 if test "${with_install+set}" = set; then
     2785if test "${with_install+set}" = set; then :
    20092786  withval=$with_install;
    20102787else
     
    20412818# ./install, which can be erroneously created by make from ./install.sh.
    20422819# Reject install programs that cannot install multiple files.
    2043 { $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
    20442821$as_echo_n "checking for a BSD-compatible install... " >&6; }
    20452822if test -z "$INSTALL"; then
    2046 if test "${ac_cv_path_install+set}" = set; then
     2823if ${ac_cv_path_install+:} false; then :
    20472824  $as_echo_n "(cached) " >&6
    20482825else
     
    20522829  IFS=$as_save_IFS
    20532830  test -z "$as_dir" && as_dir=.
    2054   # Account for people who put trailing slashes in PATH elements.
    2055 case $as_dir/ in
    2056   ./ | .// | /cC/* | \
     2831    # Account for people who put trailing slashes in PATH elements.
     2832case $as_dir/ in #((
     2833  ./ | .// | /[cC]/* | \
    20572834  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2058   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2835  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    20592836  /usr/ucb/* ) ;;
    20602837  *)
     
    20642841    for ac_prog in ginstall scoinst install; do
    20652842      for ac_exec_ext in '' $ac_executable_extensions; do
    2066         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
    20672844          if test $ac_prog = install &&
    20682845            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    20932870esac
    20942871
    2095 done
     2872  done
    20962873IFS=$as_save_IFS
    20972874
     
    21092886  fi
    21102887fi
    2111 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    21122889$as_echo "$INSTALL" >&6; }
    21132890
     
    21202897test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21212898
    2122 # Find a good install program.  We prefer a C program (faster),
    2123 # so one script is as good as another.  But avoid the broken or
    2124 # incompatible versions:
    2125 # SysV /etc/install, /usr/sbin/install
    2126 # SunOS /usr/etc/install
    2127 # IRIX /sbin/install
    2128 # AIX /bin/install
    2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2133 # OS/2's system install, which has a completely different semantic
    2134 # ./install, which can be erroneously created by make from ./install.sh.
    2135 # Reject install programs that cannot install multiple files.
    2136 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2137 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    2138 if test -z "$INSTALL"; then
    2139 if test "${ac_cv_path_install+set}" = set; then
    2140   $as_echo_n "(cached) " >&6
    2141 else
    2142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2143 for as_dir in $PATH
    2144 do
    2145   IFS=$as_save_IFS
    2146   test -z "$as_dir" && as_dir=.
    2147   # Account for people who put trailing slashes in PATH elements.
    2148 case $as_dir/ in
    2149   ./ | .// | /cC/* | \
    2150   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2151   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2152   /usr/ucb/* ) ;;
    2153   *)
    2154     # OSF1 and SCO ODT 3.0 have their own names for install.
    2155     # Don't use installbsd from OSF since it installs stuff as root
    2156     # by default.
    2157     for ac_prog in ginstall scoinst install; do
    2158       for ac_exec_ext in '' $ac_executable_extensions; do
    2159         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2160           if test $ac_prog = install &&
    2161             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2162             # AIX install.  It has an incompatible calling convention.
    2163             :
    2164           elif test $ac_prog = install &&
    2165             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2166             # program-specific install script used by HP pwplus--don't use.
    2167             :
    2168           else
    2169             rm -rf conftest.one conftest.two conftest.dir
    2170             echo one > conftest.one
    2171             echo two > conftest.two
    2172             mkdir conftest.dir
    2173             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    2174               test -s conftest.one && test -s conftest.two &&
    2175               test -s conftest.dir/conftest.one &&
    2176               test -s conftest.dir/conftest.two
    2177             then
    2178               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2179               break 3
    2180             fi
    2181           fi
    2182         fi
    2183       done
    2184     done
    2185     ;;
    2186 esac
    2187 
    2188 done
    2189 IFS=$as_save_IFS
    2190 
    2191 rm -rf conftest.one conftest.two conftest.dir
    2192 
    2193 fi
    2194   if test "${ac_cv_path_install+set}" = set; then
    2195     INSTALL=$ac_cv_path_install
    2196   else
    2197     # As a last resort, use the slow shell script.  Don't cache a
    2198     # value for INSTALL within a source directory, because that will
    2199     # break other packages using the cache if that directory is
    2200     # removed, or if the value is a relative name.
    2201     INSTALL=$ac_install_sh
    2202   fi
    2203 fi
    2204 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    2205 $as_echo "$INSTALL" >&6; }
    2206 
    2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2208 # It thinks the first close brace ends the variable substitution.
    2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2210 
    2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2212 
    2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    22142899
    22152900if test -n "$ac_tool_prefix"; then
    22162901  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    22172902set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22192904$as_echo_n "checking for $ac_word... " >&6; }
    2220 if test "${ac_cv_prog_RANLIB+set}" = set; then
     2905if ${ac_cv_prog_RANLIB+:} false; then :
    22212906  $as_echo_n "(cached) " >&6
    22222907else
     
    22292914  IFS=$as_save_IFS
    22302915  test -z "$as_dir" && as_dir=.
    2231   for ac_exec_ext in '' $ac_executable_extensions; do
    2232   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
    22332918    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2234     $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
    22352920    break 2
    22362921  fi
    22372922done
    2238 done
     2923  done
    22392924IFS=$as_save_IFS
    22402925
     
    22432928RANLIB=$ac_cv_prog_RANLIB
    22442929if test -n "$RANLIB"; then
    2245   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    22462931$as_echo "$RANLIB" >&6; }
    22472932else
    2248   { $as_echo "$as_me:$LINENO: result: no" >&5
     2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22492934$as_echo "no" >&6; }
    22502935fi
     
    22562941  # Extract the first word of "ranlib", so it can be a program name with args.
    22572942set dummy ranlib; ac_word=$2
    2258 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22592944$as_echo_n "checking for $ac_word... " >&6; }
    2260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2945if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    22612946  $as_echo_n "(cached) " >&6
    22622947else
     
    22692954  IFS=$as_save_IFS
    22702955  test -z "$as_dir" && as_dir=.
    2271   for ac_exec_ext in '' $ac_executable_extensions; do
    2272   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
    22732958    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2274     $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
    22752960    break 2
    22762961  fi
    22772962done
    2278 done
     2963  done
    22792964IFS=$as_save_IFS
    22802965
     
    22832968ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    22842969if test -n "$ac_ct_RANLIB"; then
    2285   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    22862971$as_echo "$ac_ct_RANLIB" >&6; }
    22872972else
    2288   { $as_echo "$as_me:$LINENO: result: no" >&5
     2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22892974$as_echo "no" >&6; }
    22902975fi
     
    22952980    case $cross_compiling:$ac_tool_warned in
    22962981yes:)
    2297 { $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
    22982983$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22992984ac_tool_warned=yes ;;
     
    23052990fi
    23062991
    2307 { $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
    23082993$as_echo_n "checking whether ln -s works... " >&6; }
    23092994LN_S=$as_ln_s
    23102995if test "$LN_S" = "ln -s"; then
    2311   { $as_echo "$as_me:$LINENO: result: yes" >&5
     2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23122997$as_echo "yes" >&6; }
    23132998else
    2314   { $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
    23153000$as_echo "no, using $LN_S" >&6; }
    23163001fi
    23173002
    2318 { $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
    23193004$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    23203005if test -z "$MKDIR_P"; then
    2321   if test "${ac_cv_path_mkdir+set}" = set; then
     3006  if ${ac_cv_path_mkdir+:} false; then :
    23223007  $as_echo_n "(cached) " >&6
    23233008else
     
    23273012  IFS=$as_save_IFS
    23283013  test -z "$as_dir" && as_dir=.
    2329   for ac_prog in mkdir gmkdir; do
     3014    for ac_prog in mkdir gmkdir; do
    23303015         for ac_exec_ext in '' $ac_executable_extensions; do
    2331            { 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
    23323017           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    23333018             'mkdir (GNU coreutils) '* | \
     
    23393024         done
    23403025       done
    2341 done
     3026  done
    23423027IFS=$as_save_IFS
    23433028
    23443029fi
    23453030
     3031  test -d ./--version && rmdir ./--version
    23463032  if test "${ac_cv_path_mkdir+set}" = set; then
    23473033    MKDIR_P="$ac_cv_path_mkdir -p"
     
    23513037    # break other packages using the cache if that directory is
    23523038    # removed, or if the value is a relative name.
    2353     test -d ./--version && rmdir ./--version
    23543039    MKDIR_P="$ac_install_sh -d"
    23553040  fi
    23563041fi
    2357 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    23583043$as_echo "$MKDIR_P" >&6; }
    23593044
    2360 { $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
    23613046$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    23623047set x ${MAKE-make}
    23633048ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2364 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 :
    23653050  $as_echo_n "(cached) " >&6
    23663051else
     
    23703055        @echo '@@@%%%=$(MAKE)=@@@%%%'
    23713056_ACEOF
    2372 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3057# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    23733058case `${MAKE-make} -f conftest.make 2>/dev/null` in
    23743059  *@@@%%%=?*=@@@%%%*)
     
    23803065fi
    23813066if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2382   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23833068$as_echo "yes" >&6; }
    23843069  SET_MAKE=
    23853070else
    2386   { $as_echo "$as_me:$LINENO: result: no" >&5
     3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23873072$as_echo "no" >&6; }
    23883073  SET_MAKE="MAKE=${MAKE-make}"
     
    23993084  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24003085set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24023087$as_echo_n "checking for $ac_word... " >&6; }
    2403 if test "${ac_cv_prog_CC+set}" = set; then
     3088if ${ac_cv_prog_CC+:} false; then :
    24043089  $as_echo_n "(cached) " >&6
    24053090else
     
    24123097  IFS=$as_save_IFS
    24133098  test -z "$as_dir" && as_dir=.
    2414   for ac_exec_ext in '' $ac_executable_extensions; do
    2415   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
    24163101    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2417     $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
    24183103    break 2
    24193104  fi
    24203105done
    2421 done
     3106  done
    24223107IFS=$as_save_IFS
    24233108
     
    24263111CC=$ac_cv_prog_CC
    24273112if test -n "$CC"; then
    2428   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    24293114$as_echo "$CC" >&6; }
    24303115else
    2431   { $as_echo "$as_me:$LINENO: result: no" >&5
     3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24323117$as_echo "no" >&6; }
    24333118fi
     
    24393124  # Extract the first word of "gcc", so it can be a program name with args.
    24403125set dummy gcc; ac_word=$2
    2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24423127$as_echo_n "checking for $ac_word... " >&6; }
    2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3128if ${ac_cv_prog_ac_ct_CC+:} false; then :
    24443129  $as_echo_n "(cached) " >&6
    24453130else
     
    24523137  IFS=$as_save_IFS
    24533138  test -z "$as_dir" && as_dir=.
    2454   for ac_exec_ext in '' $ac_executable_extensions; do
    2455   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
    24563141    ac_cv_prog_ac_ct_CC="gcc"
    2457     $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
    24583143    break 2
    24593144  fi
    24603145done
    2461 done
     3146  done
    24623147IFS=$as_save_IFS
    24633148
     
    24663151ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24673152if test -n "$ac_ct_CC"; then
    2468   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    24693154$as_echo "$ac_ct_CC" >&6; }
    24703155else
    2471   { $as_echo "$as_me:$LINENO: result: no" >&5
     3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24723157$as_echo "no" >&6; }
    24733158fi
     
    24783163    case $cross_compiling:$ac_tool_warned in
    24793164yes:)
    2480 { $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
    24813166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    24823167ac_tool_warned=yes ;;
     
    24923177    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    24933178set dummy ${ac_tool_prefix}cc; ac_word=$2
    2494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24953180$as_echo_n "checking for $ac_word... " >&6; }
    2496 if test "${ac_cv_prog_CC+set}" = set; then
     3181if ${ac_cv_prog_CC+:} false; then :
    24973182  $as_echo_n "(cached) " >&6
    24983183else
     
    25053190  IFS=$as_save_IFS
    25063191  test -z "$as_dir" && as_dir=.
    2507   for ac_exec_ext in '' $ac_executable_extensions; do
    2508   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
    25093194    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2510     $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
    25113196    break 2
    25123197  fi
    25133198done
    2514 done
     3199  done
    25153200IFS=$as_save_IFS
    25163201
     
    25193204CC=$ac_cv_prog_CC
    25203205if test -n "$CC"; then
    2521   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25223207$as_echo "$CC" >&6; }
    25233208else
    2524   { $as_echo "$as_me:$LINENO: result: no" >&5
     3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25253210$as_echo "no" >&6; }
    25263211fi
     
    25323217  # Extract the first word of "cc", so it can be a program name with args.
    25333218set dummy cc; ac_word=$2
    2534 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25353220$as_echo_n "checking for $ac_word... " >&6; }
    2536 if test "${ac_cv_prog_CC+set}" = set; then
     3221if ${ac_cv_prog_CC+:} false; then :
    25373222  $as_echo_n "(cached) " >&6
    25383223else
     
    25463231  IFS=$as_save_IFS
    25473232  test -z "$as_dir" && as_dir=.
    2548   for ac_exec_ext in '' $ac_executable_extensions; do
    2549   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
    25503235    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    25513236       ac_prog_rejected=yes
     
    25533238     fi
    25543239    ac_cv_prog_CC="cc"
    2555     $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
    25563241    break 2
    25573242  fi
    25583243done
    2559 done
     3244  done
    25603245IFS=$as_save_IFS
    25613246
     
    25763261CC=$ac_cv_prog_CC
    25773262if test -n "$CC"; then
    2578   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25793264$as_echo "$CC" >&6; }
    25803265else
    2581   { $as_echo "$as_me:$LINENO: result: no" >&5
     3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25823267$as_echo "no" >&6; }
    25833268fi
     
    25913276    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    25923277set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25943279$as_echo_n "checking for $ac_word... " >&6; }
    2595 if test "${ac_cv_prog_CC+set}" = set; then
     3280if ${ac_cv_prog_CC+:} false; then :
    25963281  $as_echo_n "(cached) " >&6
    25973282else
     
    26043289  IFS=$as_save_IFS
    26053290  test -z "$as_dir" && as_dir=.
    2606   for ac_exec_ext in '' $ac_executable_extensions; do
    2607   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
    26083293    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2609     $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
    26103295    break 2
    26113296  fi
    26123297done
    2613 done
     3298  done
    26143299IFS=$as_save_IFS
    26153300
     
    26183303CC=$ac_cv_prog_CC
    26193304if test -n "$CC"; then
    2620   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    26213306$as_echo "$CC" >&6; }
    26223307else
    2623   { $as_echo "$as_me:$LINENO: result: no" >&5
     3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26243309$as_echo "no" >&6; }
    26253310fi
     
    26353320  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26363321set dummy $ac_prog; ac_word=$2
    2637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26383323$as_echo_n "checking for $ac_word... " >&6; }
    2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3324if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26403325  $as_echo_n "(cached) " >&6
    26413326else
     
    26483333  IFS=$as_save_IFS
    26493334  test -z "$as_dir" && as_dir=.
    2650   for ac_exec_ext in '' $ac_executable_extensions; do
    2651   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
    26523337    ac_cv_prog_ac_ct_CC="$ac_prog"
    2653     $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
    26543339    break 2
    26553340  fi
    26563341done
    2657 done
     3342  done
    26583343IFS=$as_save_IFS
    26593344
     
    26623347ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26633348if test -n "$ac_ct_CC"; then
    2664   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    26653350$as_echo "$ac_ct_CC" >&6; }
    26663351else
    2667   { $as_echo "$as_me:$LINENO: result: no" >&5
     3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26683353$as_echo "no" >&6; }
    26693354fi
     
    26783363    case $cross_compiling:$ac_tool_warned in
    26793364yes:)
    2680 { $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
    26813366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    26823367ac_tool_warned=yes ;;
     
    26893374
    26903375
    2691 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
    26923377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2693 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2694 See \`config.log' for more details." >&5
    2695 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2696 See \`config.log' for more details." >&2;}
    2697    { (exit 1); exit 1; }; }; }
     3378as_fn_error $? "no acceptable C compiler found in \$PATH
     3379See \`config.log' for more details" "$LINENO" 5; }
    26983380
    26993381# Provide some information about the compiler.
    2700 $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
    27013383set X $ac_compile
    27023384ac_compiler=$2
    2703 { (ac_try="$ac_compiler --version >&5"
     3385for ac_option in --version -v -V -qversion; do
     3386  { { ac_try="$ac_compiler $ac_option >&5"
    27043387case "(($ac_try" in
    27053388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27063389  *) ac_try_echo=$ac_try;;
    27073390esac
    2708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2709 $as_echo "$ac_try_echo") >&5
    2710   (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
    27113394  ac_status=$?
    2712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2713   (exit $ac_status); }
    2714 { (ac_try="$ac_compiler -v >&5"
    2715 case "(($ac_try" in
    2716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2717   *) ac_try_echo=$ac_try;;
    2718 esac
    2719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2720 $as_echo "$ac_try_echo") >&5
    2721   (eval "$ac_compiler -v >&5") 2>&5
    2722   ac_status=$?
    2723   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2724   (exit $ac_status); }
    2725 { (ac_try="$ac_compiler -V >&5"
    2726 case "(($ac_try" in
    2727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2728   *) ac_try_echo=$ac_try;;
    2729 esac
    2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2731 $as_echo "$ac_try_echo") >&5
    2732   (eval "$ac_compiler -V >&5") 2>&5
    2733   ac_status=$?
    2734   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2735   (exit $ac_status); }
    2736 
    2737 cat >conftest.$ac_ext <<_ACEOF
    2738 /* confdefs.h.  */
    2739 _ACEOF
    2740 cat confdefs.h >>conftest.$ac_ext
    2741 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
    27423407/* end confdefs.h.  */
    27433408
     
    27553420# It will help us diagnose broken compilers, and finding out an intuition
    27563421# of exeext.
    2757 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2758 $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; }
    27593424ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27603425
     
    27723437rm -f $ac_rmfiles
    27733438
    2774 if { (ac_try="$ac_link_default"
     3439if { { ac_try="$ac_link_default"
    27753440case "(($ac_try" in
    27763441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27773442  *) ac_try_echo=$ac_try;;
    27783443esac
    2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2780 $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
    27813446  (eval "$ac_link_default") 2>&5
    27823447  ac_status=$?
    2783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2784   (exit $ac_status); }; then
     3448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3449  test $ac_status = 0; }; then :
    27853450  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    27863451# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    27993464        break;;
    28003465    *.* )
    2801         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;
    28023467        then :; else
    28033468           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    28183483  ac_file=''
    28193484fi
    2820 
    2821 { $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
    28223502$as_echo "$ac_file" >&6; }
    2823 if test -z "$ac_file"; then
    2824   $as_echo "$as_me: failed program was:" >&5
    2825 sed 's/^/| /' conftest.$ac_ext >&5
    2826 
    2827 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2829 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2830 See \`config.log' for more details." >&5
    2831 $as_echo "$as_me: error: C compiler cannot create executables
    2832 See \`config.log' for more details." >&2;}
    2833    { (exit 77); exit 77; }; }; }
    2834 fi
    2835 
    28363503ac_exeext=$ac_cv_exeext
    2837 
    2838 # Check that the compiler produces executables we can run.  If not, either
    2839 # the compiler is broken, or we cross compile.
    2840 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2841 $as_echo_n "checking whether the C compiler works... " >&6; }
    2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2843 # If not cross compiling, check that we can run a simple program.
    2844 if test "$cross_compiling" != yes; then
    2845   if { ac_try='./$ac_file'
    2846   { (case "(($ac_try" in
    2847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2848   *) ac_try_echo=$ac_try;;
    2849 esac
    2850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2851 $as_echo "$ac_try_echo") >&5
    2852   (eval "$ac_try") 2>&5
    2853   ac_status=$?
    2854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2855   (exit $ac_status); }; }; then
    2856     cross_compiling=no
    2857   else
    2858     if test "$cross_compiling" = maybe; then
    2859         cross_compiling=yes
    2860     else
    2861         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2863 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2864 If you meant to cross compile, use \`--host'.
    2865 See \`config.log' for more details." >&5
    2866 $as_echo "$as_me: error: cannot run C compiled programs.
    2867 If you meant to cross compile, use \`--host'.
    2868 See \`config.log' for more details." >&2;}
    2869    { (exit 1); exit 1; }; }; }
    2870     fi
    2871   fi
    2872 fi
    2873 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2874 $as_echo "yes" >&6; }
    28753504
    28763505rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    28773506ac_clean_files=$ac_clean_files_save
    2878 # Check that the compiler produces executables we can run.  If not, either
    2879 # the compiler is broken, or we cross compile.
    2880 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2881 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2882 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2883 $as_echo "$cross_compiling" >&6; }
    2884 
    2885 { $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
    28863508$as_echo_n "checking for suffix of executables... " >&6; }
    2887 if { (ac_try="$ac_link"
     3509if { { ac_try="$ac_link"
    28883510case "(($ac_try" in
    28893511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    28903512  *) ac_try_echo=$ac_try;;
    28913513esac
    2892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2893 $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
    28943516  (eval "$ac_link") 2>&5
    28953517  ac_status=$?
    2896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2897   (exit $ac_status); }; then
     3518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3519  test $ac_status = 0; }; then :
    28983520  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    28993521# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29103532done
    29113533else
    2912   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3534  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29133535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2914 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2915 See \`config.log' for more details." >&5
    2916 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2917 See \`config.log' for more details." >&2;}
    2918    { (exit 1); exit 1; }; }; }
    2919 fi
    2920 
    2921 rm -f conftest$ac_cv_exeext
    2922 { $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
    29233541$as_echo "$ac_cv_exeext" >&6; }
    29243542
     
    29263544EXEEXT=$ac_cv_exeext
    29273545ac_exeext=$EXEEXT
    2928 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2929 $as_echo_n "checking for suffix of object files... " >&6; }
    2930 if test "${ac_cv_objext+set}" = set; then
    2931   $as_echo_n "(cached) " >&6
    2932 else
    2933   cat >conftest.$ac_ext <<_ACEOF
    2934 /* confdefs.h.  */
    2935 _ACEOF
    2936 cat confdefs.h >>conftest.$ac_ext
    2937 cat >>conftest.$ac_ext <<_ACEOF
     3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29383547/* end confdefs.h.  */
    2939 
     3548#include <stdio.h>
    29403549int
    29413550main ()
    29423551{
     3552FILE *f = fopen ("conftest.out", "w");
     3553 return ferror (f) || fclose (f) != 0;
    29433554
    29443555  ;
     
    29463557}
    29473558_ACEOF
    2948 rm -f conftest.o conftest.obj
    2949 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"
    29503566case "(($ac_try" in
    29513567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29523568  *) ac_try_echo=$ac_try;;
    29533569esac
    2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2955 $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
    29563629  (eval "$ac_compile") 2>&5
    29573630  ac_status=$?
    2958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2959   (exit $ac_status); }; then
     3631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3632  test $ac_status = 0; }; then :
    29603633  for ac_file in conftest.o conftest.obj conftest.*; do
    29613634  test -f "$ac_file" || continue;
     
    29703643sed 's/^/| /' conftest.$ac_ext >&5
    29713644
    2972 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3645{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29733646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2974 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2975 See \`config.log' for more details." >&5
    2976 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2977 See \`config.log' for more details." >&2;}
    2978    { (exit 1); exit 1; }; }; }
    2979 fi
    2980 
     3647as_fn_error $? "cannot compute suffix of object files: cannot compile
     3648See \`config.log' for more details" "$LINENO" 5; }
     3649fi
    29813650rm -f conftest.$ac_cv_objext conftest.$ac_ext
    29823651fi
    2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    29843653$as_echo "$ac_cv_objext" >&6; }
    29853654OBJEXT=$ac_cv_objext
    29863655ac_objext=$OBJEXT
    2987 { $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
    29883657$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3658if ${ac_cv_c_compiler_gnu+:} false; then :
    29903659  $as_echo_n "(cached) " >&6
    29913660else
    2992   cat >conftest.$ac_ext <<_ACEOF
    2993 /* confdefs.h.  */
    2994 _ACEOF
    2995 cat confdefs.h >>conftest.$ac_ext
    2996 cat >>conftest.$ac_ext <<_ACEOF
     3661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29973662/* end confdefs.h.  */
    29983663
     
    30083673}
    30093674_ACEOF
    3010 rm -f conftest.$ac_objext
    3011 if { (ac_try="$ac_compile"
    3012 case "(($ac_try" in
    3013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3014   *) ac_try_echo=$ac_try;;
    3015 esac
    3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3017 $as_echo "$ac_try_echo") >&5
    3018   (eval "$ac_compile") 2>conftest.er1
    3019   ac_status=$?
    3020   grep -v '^ *+' conftest.er1 >conftest.err
    3021   rm -f conftest.er1
    3022   cat conftest.err >&5
    3023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3024   (exit $ac_status); } && {
    3025          test -z "$ac_c_werror_flag" ||
    3026          test ! -s conftest.err
    3027        } && test -s conftest.$ac_objext; then
     3675if ac_fn_c_try_compile "$LINENO"; then :
    30283676  ac_compiler_gnu=yes
    30293677else
    3030   $as_echo "$as_me: failed program was:" >&5
    3031 sed 's/^/| /' conftest.$ac_ext >&5
    3032 
    3033         ac_compiler_gnu=no
    3034 fi
    3035 
     3678  ac_compiler_gnu=no
     3679fi
    30363680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30373681ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30383682
    30393683fi
    3040 { $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
    30413685$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    30423686if test $ac_compiler_gnu = yes; then
     
    30473691ac_test_CFLAGS=${CFLAGS+set}
    30483692ac_save_CFLAGS=$CFLAGS
    3049 { $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
    30503694$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3051 if test "${ac_cv_prog_cc_g+set}" = set; then
     3695if ${ac_cv_prog_cc_g+:} false; then :
    30523696  $as_echo_n "(cached) " >&6
    30533697else
     
    30563700   ac_cv_prog_cc_g=no
    30573701   CFLAGS="-g"
    3058    cat >conftest.$ac_ext <<_ACEOF
    3059 /* confdefs.h.  */
    3060 _ACEOF
    3061 cat confdefs.h >>conftest.$ac_ext
    3062 cat >>conftest.$ac_ext <<_ACEOF
     3702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30633703/* end confdefs.h.  */
    30643704
     
    30713711}
    30723712_ACEOF
    3073 rm -f conftest.$ac_objext
    3074 if { (ac_try="$ac_compile"
    3075 case "(($ac_try" in
    3076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3077   *) ac_try_echo=$ac_try;;
    3078 esac
    3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3080 $as_echo "$ac_try_echo") >&5
    3081   (eval "$ac_compile") 2>conftest.er1
    3082   ac_status=$?
    3083   grep -v '^ *+' conftest.er1 >conftest.err
    3084   rm -f conftest.er1
    3085   cat conftest.err >&5
    3086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3087   (exit $ac_status); } && {
    3088          test -z "$ac_c_werror_flag" ||
    3089          test ! -s conftest.err
    3090        } && test -s conftest.$ac_objext; then
     3713if ac_fn_c_try_compile "$LINENO"; then :
    30913714  ac_cv_prog_cc_g=yes
    30923715else
    3093   $as_echo "$as_me: failed program was:" >&5
    3094 sed 's/^/| /' conftest.$ac_ext >&5
    3095 
    3096         CFLAGS=""
    3097       cat >conftest.$ac_ext <<_ACEOF
    3098 /* confdefs.h.  */
    3099 _ACEOF
    3100 cat confdefs.h >>conftest.$ac_ext
    3101 cat >>conftest.$ac_ext <<_ACEOF
     3716  CFLAGS=""
     3717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31023718/* end confdefs.h.  */
    31033719
     
    31103726}
    31113727_ACEOF
    3112 rm -f conftest.$ac_objext
    3113 if { (ac_try="$ac_compile"
    3114 case "(($ac_try" in
    3115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3116   *) ac_try_echo=$ac_try;;
    3117 esac
    3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3119 $as_echo "$ac_try_echo") >&5
    3120   (eval "$ac_compile") 2>conftest.er1
    3121   ac_status=$?
    3122   grep -v '^ *+' conftest.er1 >conftest.err
    3123   rm -f conftest.er1
    3124   cat conftest.err >&5
    3125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3126   (exit $ac_status); } && {
    3127          test -z "$ac_c_werror_flag" ||
    3128          test ! -s conftest.err
    3129        } && test -s conftest.$ac_objext; then
    3130   :
    3131 else
    3132   $as_echo "$as_me: failed program was:" >&5
    3133 sed 's/^/| /' conftest.$ac_ext >&5
    3134 
    3135         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
    31363732         CFLAGS="-g"
    3137          cat >conftest.$ac_ext <<_ACEOF
    3138 /* confdefs.h.  */
    3139 _ACEOF
    3140 cat confdefs.h >>conftest.$ac_ext
    3141 cat >>conftest.$ac_ext <<_ACEOF
     3733         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31423734/* end confdefs.h.  */
    31433735
     
    31503742}
    31513743_ACEOF
    3152 rm -f conftest.$ac_objext
    3153 if { (ac_try="$ac_compile"
    3154 case "(($ac_try" in
    3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3156   *) ac_try_echo=$ac_try;;
    3157 esac
    3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3159 $as_echo "$ac_try_echo") >&5
    3160   (eval "$ac_compile") 2>conftest.er1
    3161   ac_status=$?
    3162   grep -v '^ *+' conftest.er1 >conftest.err
    3163   rm -f conftest.er1
    3164   cat conftest.err >&5
    3165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3166   (exit $ac_status); } && {
    3167          test -z "$ac_c_werror_flag" ||
    3168          test ! -s conftest.err
    3169        } && test -s conftest.$ac_objext; then
     3744if ac_fn_c_try_compile "$LINENO"; then :
    31703745  ac_cv_prog_cc_g=yes
    3171 else
    3172   $as_echo "$as_me: failed program was:" >&5
    3173 sed 's/^/| /' conftest.$ac_ext >&5
    3174 
    3175 
    3176 fi
    3177 
     3746fi
    31783747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31793748fi
    3180 
    31813749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31823750fi
    3183 
    31843751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31853752   ac_c_werror_flag=$ac_save_c_werror_flag
    31863753fi
    3187 { $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
    31883755$as_echo "$ac_cv_prog_cc_g" >&6; }
    31893756if test "$ac_test_CFLAGS" = set; then
     
    32023769  fi
    32033770fi
    3204 { $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
    32053772$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3206 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3773if ${ac_cv_prog_cc_c89+:} false; then :
    32073774  $as_echo_n "(cached) " >&6
    32083775else
    32093776  ac_cv_prog_cc_c89=no
    32103777ac_save_CC=$CC
    3211 cat >conftest.$ac_ext <<_ACEOF
    3212 /* confdefs.h.  */
    3213 _ACEOF
    3214 cat confdefs.h >>conftest.$ac_ext
    3215 cat >>conftest.$ac_ext <<_ACEOF
     3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32163779/* end confdefs.h.  */
    32173780#include <stdarg.h>
    32183781#include <stdio.h>
    3219 #include <sys/types.h>
    3220 #include <sys/stat.h>
     3782struct stat;
    32213783/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32223784struct buf { int x; };
     
    32703832do
    32713833  CC="$ac_save_CC $ac_arg"
    3272   rm -f conftest.$ac_objext
    3273 if { (ac_try="$ac_compile"
    3274 case "(($ac_try" in
    3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3276   *) ac_try_echo=$ac_try;;
    3277 esac
    3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3279 $as_echo "$ac_try_echo") >&5
    3280   (eval "$ac_compile") 2>conftest.er1
    3281   ac_status=$?
    3282   grep -v '^ *+' conftest.er1 >conftest.err
    3283   rm -f conftest.er1
    3284   cat conftest.err >&5
    3285   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3286   (exit $ac_status); } && {
    3287          test -z "$ac_c_werror_flag" ||
    3288          test ! -s conftest.err
    3289        } && test -s conftest.$ac_objext; then
     3834  if ac_fn_c_try_compile "$LINENO"; then :
    32903835  ac_cv_prog_cc_c89=$ac_arg
    3291 else
    3292   $as_echo "$as_me: failed program was:" >&5
    3293 sed 's/^/| /' conftest.$ac_ext >&5
    3294 
    3295 
    3296 fi
    3297 
     3836fi
    32983837rm -f core conftest.err conftest.$ac_objext
    32993838  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    33063845case "x$ac_cv_prog_cc_c89" in
    33073846  x)
    3308     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    33093848$as_echo "none needed" >&6; } ;;
    33103849  xno)
    3311     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3850    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    33123851$as_echo "unsupported" >&6; } ;;
    33133852  *)
    33143853    CC="$CC $ac_cv_prog_cc_c89"
    3315     { $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
    33163855$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33173856esac
    3318 
     3857if test "x$ac_cv_prog_cc_c89" != xno; then :
     3858
     3859fi
    33193860
    33203861ac_ext=c
     
    33383879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33393880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33413882$as_echo_n "checking for $ac_word... " >&6; }
    3342 if test "${ac_cv_prog_CXX+set}" = set; then
     3883if ${ac_cv_prog_CXX+:} false; then :
    33433884  $as_echo_n "(cached) " >&6
    33443885else
     
    33513892  IFS=$as_save_IFS
    33523893  test -z "$as_dir" && as_dir=.
    3353   for ac_exec_ext in '' $ac_executable_extensions; do
    3354   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
    33553896    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3356     $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
    33573898    break 2
    33583899  fi
    33593900done
    3360 done
     3901  done
    33613902IFS=$as_save_IFS
    33623903
     
    33653906CXX=$ac_cv_prog_CXX
    33663907if test -n "$CXX"; then
    3367   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    33683909$as_echo "$CXX" >&6; }
    33693910else
    3370   { $as_echo "$as_me:$LINENO: result: no" >&5
     3911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    33713912$as_echo "no" >&6; }
    33723913fi
     
    33823923  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33833924set dummy $ac_prog; ac_word=$2
    3384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33853926$as_echo_n "checking for $ac_word... " >&6; }
    3386 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3927if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    33873928  $as_echo_n "(cached) " >&6
    33883929else
     
    33953936  IFS=$as_save_IFS
    33963937  test -z "$as_dir" && as_dir=.
    3397   for ac_exec_ext in '' $ac_executable_extensions; do
    3398   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
    33993940    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3400     $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
    34013942    break 2
    34023943  fi
    34033944done
    3404 done
     3945  done
    34053946IFS=$as_save_IFS
    34063947
     
    34093950ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34103951if test -n "$ac_ct_CXX"; then
    3411   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    34123953$as_echo "$ac_ct_CXX" >&6; }
    34133954else
    3414   { $as_echo "$as_me:$LINENO: result: no" >&5
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34153956$as_echo "no" >&6; }
    34163957fi
     
    34253966    case $cross_compiling:$ac_tool_warned in
    34263967yes:)
    3427 { $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
    34283969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34293970ac_tool_warned=yes ;;
     
    34363977fi
    34373978# Provide some information about the compiler.
    3438 $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
    34393980set X $ac_compile
    34403981ac_compiler=$2
    3441 { (ac_try="$ac_compiler --version >&5"
     3982for ac_option in --version -v -V -qversion; do
     3983  { { ac_try="$ac_compiler $ac_option >&5"
    34423984case "(($ac_try" in
    34433985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34443986  *) ac_try_echo=$ac_try;;
    34453987esac
    3446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3447 $as_echo "$ac_try_echo") >&5
    3448   (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
    34493991  ac_status=$?
    3450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3451   (exit $ac_status); }
    3452 { (ac_try="$ac_compiler -v >&5"
    3453 case "(($ac_try" in
    3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3455   *) ac_try_echo=$ac_try;;
    3456 esac
    3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3458 $as_echo "$ac_try_echo") >&5
    3459   (eval "$ac_compiler -v >&5") 2>&5
    3460   ac_status=$?
    3461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3462   (exit $ac_status); }
    3463 { (ac_try="$ac_compiler -V >&5"
    3464 case "(($ac_try" in
    3465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3466   *) ac_try_echo=$ac_try;;
    3467 esac
    3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3469 $as_echo "$ac_try_echo") >&5
    3470   (eval "$ac_compiler -V >&5") 2>&5
    3471   ac_status=$?
    3472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3473   (exit $ac_status); }
    3474 
    3475 { $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
    34764004$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4005if ${ac_cv_cxx_compiler_gnu+:} false; then :
    34784006  $as_echo_n "(cached) " >&6
    34794007else
    3480   cat >conftest.$ac_ext <<_ACEOF
    3481 /* confdefs.h.  */
    3482 _ACEOF
    3483 cat confdefs.h >>conftest.$ac_ext
    3484 cat >>conftest.$ac_ext <<_ACEOF
     4008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34854009/* end confdefs.h.  */
    34864010
     
    34964020}
    34974021_ACEOF
    3498 rm -f conftest.$ac_objext
    3499 if { (ac_try="$ac_compile"
    3500 case "(($ac_try" in
    3501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3502   *) ac_try_echo=$ac_try;;
    3503 esac
    3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3505 $as_echo "$ac_try_echo") >&5
    3506   (eval "$ac_compile") 2>conftest.er1
    3507   ac_status=$?
    3508   grep -v '^ *+' conftest.er1 >conftest.err
    3509   rm -f conftest.er1
    3510   cat conftest.err >&5
    3511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3512   (exit $ac_status); } && {
    3513          test -z "$ac_cxx_werror_flag" ||
    3514          test ! -s conftest.err
    3515        } && test -s conftest.$ac_objext; then
     4022if ac_fn_cxx_try_compile "$LINENO"; then :
    35164023  ac_compiler_gnu=yes
    35174024else
    3518   $as_echo "$as_me: failed program was:" >&5
    3519 sed 's/^/| /' conftest.$ac_ext >&5
    3520 
    3521         ac_compiler_gnu=no
    3522 fi
    3523 
     4025  ac_compiler_gnu=no
     4026fi
    35244027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35254028ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35264029
    35274030fi
    3528 { $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
    35294032$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    35304033if test $ac_compiler_gnu = yes; then
     
    35354038ac_test_CXXFLAGS=${CXXFLAGS+set}
    35364039ac_save_CXXFLAGS=$CXXFLAGS
    3537 { $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
    35384041$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3539 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4042if ${ac_cv_prog_cxx_g+:} false; then :
    35404043  $as_echo_n "(cached) " >&6
    35414044else
     
    35444047   ac_cv_prog_cxx_g=no
    35454048   CXXFLAGS="-g"
    3546    cat >conftest.$ac_ext <<_ACEOF
    3547 /* confdefs.h.  */
    3548 _ACEOF
    3549 cat confdefs.h >>conftest.$ac_ext
    3550 cat >>conftest.$ac_ext <<_ACEOF
     4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35514050/* end confdefs.h.  */
    35524051
     
    35594058}
    35604059_ACEOF
    3561 rm -f conftest.$ac_objext
    3562 if { (ac_try="$ac_compile"
    3563 case "(($ac_try" in
    3564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3565   *) ac_try_echo=$ac_try;;
    3566 esac
    3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3568 $as_echo "$ac_try_echo") >&5
    3569   (eval "$ac_compile") 2>conftest.er1
    3570   ac_status=$?
    3571   grep -v '^ *+' conftest.er1 >conftest.err
    3572   rm -f conftest.er1
    3573   cat conftest.err >&5
    3574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3575   (exit $ac_status); } && {
    3576          test -z "$ac_cxx_werror_flag" ||
    3577          test ! -s conftest.err
    3578        } && test -s conftest.$ac_objext; then
     4060if ac_fn_cxx_try_compile "$LINENO"; then :
    35794061  ac_cv_prog_cxx_g=yes
    35804062else
    3581   $as_echo "$as_me: failed program was:" >&5
    3582 sed 's/^/| /' conftest.$ac_ext >&5
    3583 
    3584         CXXFLAGS=""
    3585       cat >conftest.$ac_ext <<_ACEOF
    3586 /* confdefs.h.  */
    3587 _ACEOF
    3588 cat confdefs.h >>conftest.$ac_ext
    3589 cat >>conftest.$ac_ext <<_ACEOF
     4063  CXXFLAGS=""
     4064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35904065/* end confdefs.h.  */
    35914066
     
    35984073}
    35994074_ACEOF
    3600 rm -f conftest.$ac_objext
    3601 if { (ac_try="$ac_compile"
    3602 case "(($ac_try" in
    3603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3604   *) ac_try_echo=$ac_try;;
    3605 esac
    3606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3607 $as_echo "$ac_try_echo") >&5
    3608   (eval "$ac_compile") 2>conftest.er1
    3609   ac_status=$?
    3610   grep -v '^ *+' conftest.er1 >conftest.err
    3611   rm -f conftest.er1
    3612   cat conftest.err >&5
    3613   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3614   (exit $ac_status); } && {
    3615          test -z "$ac_cxx_werror_flag" ||
    3616          test ! -s conftest.err
    3617        } && test -s conftest.$ac_objext; then
    3618   :
    3619 else
    3620   $as_echo "$as_me: failed program was:" >&5
    3621 sed 's/^/| /' conftest.$ac_ext >&5
    3622 
    3623         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
    36244079         CXXFLAGS="-g"
    3625          cat >conftest.$ac_ext <<_ACEOF
    3626 /* confdefs.h.  */
    3627 _ACEOF
    3628 cat confdefs.h >>conftest.$ac_ext
    3629 cat >>conftest.$ac_ext <<_ACEOF
     4080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36304081/* end confdefs.h.  */
    36314082
     
    36384089}
    36394090_ACEOF
    3640 rm -f conftest.$ac_objext
    3641 if { (ac_try="$ac_compile"
    3642 case "(($ac_try" in
    3643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3644   *) ac_try_echo=$ac_try;;
    3645 esac
    3646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3647 $as_echo "$ac_try_echo") >&5
    3648   (eval "$ac_compile") 2>conftest.er1
    3649   ac_status=$?
    3650   grep -v '^ *+' conftest.er1 >conftest.err
    3651   rm -f conftest.er1
    3652   cat conftest.err >&5
    3653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3654   (exit $ac_status); } && {
    3655          test -z "$ac_cxx_werror_flag" ||
    3656          test ! -s conftest.err
    3657        } && test -s conftest.$ac_objext; then
     4091if ac_fn_cxx_try_compile "$LINENO"; then :
    36584092  ac_cv_prog_cxx_g=yes
    3659 else
    3660   $as_echo "$as_me: failed program was:" >&5
    3661 sed 's/^/| /' conftest.$ac_ext >&5
    3662 
    3663 
    3664 fi
    3665 
     4093fi
    36664094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36674095fi
    3668 
    36694096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36704097fi
    3671 
    36724098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36734099   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36744100fi
    3675 { $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
    36764102$as_echo "$ac_cv_prog_cxx_g" >&6; }
    36774103if test "$ac_test_CXXFLAGS" = set; then
     
    37064132    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    37074133set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37094135$as_echo_n "checking for $ac_word... " >&6; }
    3710 if test "${ac_cv_prog_F77+set}" = set; then
     4136if ${ac_cv_prog_F77+:} false; then :
    37114137  $as_echo_n "(cached) " >&6
    37124138else
     
    37194145  IFS=$as_save_IFS
    37204146  test -z "$as_dir" && as_dir=.
    3721   for ac_exec_ext in '' $ac_executable_extensions; do
    3722   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
    37234149    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3724     $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
    37254151    break 2
    37264152  fi
    37274153done
    3728 done
     4154  done
    37294155IFS=$as_save_IFS
    37304156
     
    37334159F77=$ac_cv_prog_F77
    37344160if test -n "$F77"; then
    3735   { $as_echo "$as_me:$LINENO: result: $F77" >&5
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
    37364162$as_echo "$F77" >&6; }
    37374163else
    3738   { $as_echo "$as_me:$LINENO: result: no" >&5
     4164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37394165$as_echo "no" >&6; }
    37404166fi
     
    37504176  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37514177set dummy $ac_prog; ac_word=$2
    3752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37534179$as_echo_n "checking for $ac_word... " >&6; }
    3754 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4180if ${ac_cv_prog_ac_ct_F77+:} false; then :
    37554181  $as_echo_n "(cached) " >&6
    37564182else
     
    37634189  IFS=$as_save_IFS
    37644190  test -z "$as_dir" && as_dir=.
    3765   for ac_exec_ext in '' $ac_executable_extensions; do
    3766   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
    37674193    ac_cv_prog_ac_ct_F77="$ac_prog"
    3768     $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
    37694195    break 2
    37704196  fi
    37714197done
    3772 done
     4198  done
    37734199IFS=$as_save_IFS
    37744200
     
    37774203ac_ct_F77=$ac_cv_prog_ac_ct_F77
    37784204if test -n "$ac_ct_F77"; then
    3779   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
    37804206$as_echo "$ac_ct_F77" >&6; }
    37814207else
    3782   { $as_echo "$as_me:$LINENO: result: no" >&5
     4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37834209$as_echo "no" >&6; }
    37844210fi
     
    37934219    case $cross_compiling:$ac_tool_warned in
    37944220yes:)
    3795 { $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
    37964222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    37974223ac_tool_warned=yes ;;
     
    38034229
    38044230# Provide some information about the compiler.
    3805 $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
    38064232set X $ac_compile
    38074233ac_compiler=$2
    3808 { (ac_try="$ac_compiler --version >&5"
     4234for ac_option in --version -v -V -qversion; do
     4235  { { ac_try="$ac_compiler $ac_option >&5"
    38094236case "(($ac_try" in
    38104237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    38114238  *) ac_try_echo=$ac_try;;
    38124239esac
    3813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3814 $as_echo "$ac_try_echo") >&5
    3815   (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
    38164243  ac_status=$?
    3817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3818   (exit $ac_status); }
    3819 { (ac_try="$ac_compiler -v >&5"
    3820 case "(($ac_try" in
    3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3822   *) ac_try_echo=$ac_try;;
    3823 esac
    3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3825 $as_echo "$ac_try_echo") >&5
    3826   (eval "$ac_compiler -v >&5") 2>&5
    3827   ac_status=$?
    3828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3829   (exit $ac_status); }
    3830 { (ac_try="$ac_compiler -V >&5"
    3831 case "(($ac_try" in
    3832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3833   *) ac_try_echo=$ac_try;;
    3834 esac
    3835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3836 $as_echo "$ac_try_echo") >&5
    3837   (eval "$ac_compiler -V >&5") 2>&5
    3838   ac_status=$?
    3839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3840   (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
    38414254rm -f a.out
    38424255
     
    38454258ac_save_ext=$ac_ext
    38464259ac_ext=F
    3847 { $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
    38484261$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    3849 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     4262if ${ac_cv_f77_compiler_gnu+:} false; then :
    38504263  $as_echo_n "(cached) " >&6
    38514264else
    3852   cat >conftest.$ac_ext <<_ACEOF
     4265  cat > conftest.$ac_ext <<_ACEOF
    38534266      program main
    38544267#ifndef __GNUC__
     
    38584271      end
    38594272_ACEOF
    3860 rm -f conftest.$ac_objext
    3861 if { (ac_try="$ac_compile"
    3862 case "(($ac_try" in
    3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3864   *) ac_try_echo=$ac_try;;
    3865 esac
    3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3867 $as_echo "$ac_try_echo") >&5
    3868   (eval "$ac_compile") 2>conftest.er1
    3869   ac_status=$?
    3870   grep -v '^ *+' conftest.er1 >conftest.err
    3871   rm -f conftest.er1
    3872   cat conftest.err >&5
    3873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3874   (exit $ac_status); } && {
    3875          test -z "$ac_f77_werror_flag" ||
    3876          test ! -s conftest.err
    3877        } && test -s conftest.$ac_objext; then
     4273if ac_fn_f77_try_compile "$LINENO"; then :
    38784274  ac_compiler_gnu=yes
    38794275else
    3880   $as_echo "$as_me: failed program was:" >&5
    3881 sed 's/^/| /' conftest.$ac_ext >&5
    3882 
    3883         ac_compiler_gnu=no
    3884 fi
    3885 
     4276  ac_compiler_gnu=no
     4277fi
    38864278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    38874279ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    38884280
    38894281fi
    3890 { $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
    38914283$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    38924284ac_ext=$ac_save_ext
     
    38944286ac_save_FFLAGS=$FFLAGS
    38954287FFLAGS=
    3896 { $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
    38974289$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    3898 if test "${ac_cv_prog_f77_g+set}" = set; then
     4290if ${ac_cv_prog_f77_g+:} false; then :
    38994291  $as_echo_n "(cached) " >&6
    39004292else
    39014293  FFLAGS=-g
    3902 cat >conftest.$ac_ext <<_ACEOF
     4294cat > conftest.$ac_ext <<_ACEOF
    39034295      program main
    39044296
    39054297      end
    39064298_ACEOF
    3907 rm -f conftest.$ac_objext
    3908 if { (ac_try="$ac_compile"
    3909 case "(($ac_try" in
    3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3911   *) ac_try_echo=$ac_try;;
    3912 esac
    3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3914 $as_echo "$ac_try_echo") >&5
    3915   (eval "$ac_compile") 2>conftest.er1
    3916   ac_status=$?
    3917   grep -v '^ *+' conftest.er1 >conftest.err
    3918   rm -f conftest.er1
    3919   cat conftest.err >&5
    3920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3921   (exit $ac_status); } && {
    3922          test -z "$ac_f77_werror_flag" ||
    3923          test ! -s conftest.err
    3924        } && test -s conftest.$ac_objext; then
     4299if ac_fn_f77_try_compile "$LINENO"; then :
    39254300  ac_cv_prog_f77_g=yes
    39264301else
    3927   $as_echo "$as_me: failed program was:" >&5
    3928 sed 's/^/| /' conftest.$ac_ext >&5
    3929 
    3930         ac_cv_prog_f77_g=no
    3931 fi
    3932 
     4302  ac_cv_prog_f77_g=no
     4303fi
    39334304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39344305
    39354306fi
    3936 { $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
    39374308$as_echo "$ac_cv_prog_f77_g" >&6; }
    39384309if test "$ac_test_FFLAGS" = set; then
     
    39774348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    39784349ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3979 { $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
    39804351$as_echo_n "checking how to run the C preprocessor... " >&6; }
    39814352# On Suns, sometimes $CPP names a directory.
     
    39844355fi
    39854356if test -z "$CPP"; then
    3986   if test "${ac_cv_prog_CPP+set}" = set; then
     4357  if ${ac_cv_prog_CPP+:} false; then :
    39874358  $as_echo_n "(cached) " >&6
    39884359else
     
    39994370  # On the NeXT, cc -E runs the code through the compiler's parser,
    40004371  # not just through cpp. "Syntax error" is here to catch this case.
    4001   cat >conftest.$ac_ext <<_ACEOF
    4002 /* confdefs.h.  */
    4003 _ACEOF
    4004 cat confdefs.h >>conftest.$ac_ext
    4005 cat >>conftest.$ac_ext <<_ACEOF
     4372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40064373/* end confdefs.h.  */
    40074374#ifdef __STDC__
     
    40124379                     Syntax error
    40134380_ACEOF
    4014 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4015 case "(($ac_try" in
    4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4017   *) ac_try_echo=$ac_try;;
    4018 esac
    4019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4020 $as_echo "$ac_try_echo") >&5
    4021   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4022   ac_status=$?
    4023   grep -v '^ *+' conftest.er1 >conftest.err
    4024   rm -f conftest.er1
    4025   cat conftest.err >&5
    4026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4027   (exit $ac_status); } >/dev/null && {
    4028          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4029          test ! -s conftest.err
    4030        }; then
    4031   :
    4032 else
    4033   $as_echo "$as_me: failed program was:" >&5
    4034 sed 's/^/| /' conftest.$ac_ext >&5
    4035 
     4381if ac_fn_c_try_cpp "$LINENO"; then :
     4382
     4383else
    40364384  # Broken: fails on valid input.
    40374385continue
    40384386fi
    4039 
    4040 rm -f conftest.err conftest.$ac_ext
     4387rm -f conftest.err conftest.i conftest.$ac_ext
    40414388
    40424389  # OK, works on sane cases.  Now check whether nonexistent headers
    40434390  # can be detected and how.
    4044   cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
     4391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40494392/* end confdefs.h.  */
    40504393#include <ac_nonexistent.h>
    40514394_ACEOF
    4052 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4053 case "(($ac_try" in
    4054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4055   *) ac_try_echo=$ac_try;;
    4056 esac
    4057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4058 $as_echo "$ac_try_echo") >&5
    4059   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4060   ac_status=$?
    4061   grep -v '^ *+' conftest.er1 >conftest.err
    4062   rm -f conftest.er1
    4063   cat conftest.err >&5
    4064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4065   (exit $ac_status); } >/dev/null && {
    4066          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4067          test ! -s conftest.err
    4068        }; then
     4395if ac_fn_c_try_cpp "$LINENO"; then :
    40694396  # Broken: success on invalid input.
    40704397continue
    40714398else
    4072   $as_echo "$as_me: failed program was:" >&5
    4073 sed 's/^/| /' conftest.$ac_ext >&5
    4074 
    40754399  # Passes both tests.
    40764400ac_preproc_ok=:
    40774401break
    40784402fi
    4079 
    4080 rm -f conftest.err conftest.$ac_ext
     4403rm -f conftest.err conftest.i conftest.$ac_ext
    40814404
    40824405done
    40834406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4084 rm -f conftest.err conftest.$ac_ext
    4085 if $ac_preproc_ok; then
     4407rm -f conftest.i conftest.err conftest.$ac_ext
     4408if $ac_preproc_ok; then :
    40864409  break
    40874410fi
     
    40954418  ac_cv_prog_CPP=$CPP
    40964419fi
    4097 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    40984421$as_echo "$CPP" >&6; }
    40994422ac_preproc_ok=false
     
    41064429  # On the NeXT, cc -E runs the code through the compiler's parser,
    41074430  # not just through cpp. "Syntax error" is here to catch this case.
    4108   cat >conftest.$ac_ext <<_ACEOF
    4109 /* confdefs.h.  */
    4110 _ACEOF
    4111 cat confdefs.h >>conftest.$ac_ext
    4112 cat >>conftest.$ac_ext <<_ACEOF
     4431  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41134432/* end confdefs.h.  */
    41144433#ifdef __STDC__
     
    41194438                     Syntax error
    41204439_ACEOF
    4121 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4122 case "(($ac_try" in
    4123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4124   *) ac_try_echo=$ac_try;;
    4125 esac
    4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4127 $as_echo "$ac_try_echo") >&5
    4128   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4129   ac_status=$?
    4130   grep -v '^ *+' conftest.er1 >conftest.err
    4131   rm -f conftest.er1
    4132   cat conftest.err >&5
    4133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4134   (exit $ac_status); } >/dev/null && {
    4135          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4136          test ! -s conftest.err
    4137        }; then
    4138   :
    4139 else
    4140   $as_echo "$as_me: failed program was:" >&5
    4141 sed 's/^/| /' conftest.$ac_ext >&5
    4142 
     4440if ac_fn_c_try_cpp "$LINENO"; then :
     4441
     4442else
    41434443  # Broken: fails on valid input.
    41444444continue
    41454445fi
    4146 
    4147 rm -f conftest.err conftest.$ac_ext
     4446rm -f conftest.err conftest.i conftest.$ac_ext
    41484447
    41494448  # OK, works on sane cases.  Now check whether nonexistent headers
    41504449  # can be detected and how.
    4151   cat >conftest.$ac_ext <<_ACEOF
    4152 /* confdefs.h.  */
    4153 _ACEOF
    4154 cat confdefs.h >>conftest.$ac_ext
    4155 cat >>conftest.$ac_ext <<_ACEOF
     4450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41564451/* end confdefs.h.  */
    41574452#include <ac_nonexistent.h>
    41584453_ACEOF
    4159 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4160 case "(($ac_try" in
    4161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4162   *) ac_try_echo=$ac_try;;
    4163 esac
    4164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4165 $as_echo "$ac_try_echo") >&5
    4166   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4167   ac_status=$?
    4168   grep -v '^ *+' conftest.er1 >conftest.err
    4169   rm -f conftest.er1
    4170   cat conftest.err >&5
    4171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4172   (exit $ac_status); } >/dev/null && {
    4173          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4174          test ! -s conftest.err
    4175        }; then
     4454if ac_fn_c_try_cpp "$LINENO"; then :
    41764455  # Broken: success on invalid input.
    41774456continue
    41784457else
    4179   $as_echo "$as_me: failed program was:" >&5
    4180 sed 's/^/| /' conftest.$ac_ext >&5
    4181 
    41824458  # Passes both tests.
    41834459ac_preproc_ok=:
    41844460break
    41854461fi
    4186 
    4187 rm -f conftest.err conftest.$ac_ext
     4462rm -f conftest.err conftest.i conftest.$ac_ext
    41884463
    41894464done
    41904465# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4191 rm -f conftest.err conftest.$ac_ext
    4192 if $ac_preproc_ok; then
    4193   :
    4194 else
    4195   { { $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
    41964471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4197 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4198 See \`config.log' for more details." >&5
    4199 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4200 See \`config.log' for more details." >&2;}
    4201    { (exit 1); exit 1; }; }; }
     4472as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4473See \`config.log' for more details" "$LINENO" 5; }
    42024474fi
    42034475
     
    42094481
    42104482
    4211 { $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
    42124484$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4213 if test "${ac_cv_path_GREP+set}" = set; then
     4485if ${ac_cv_path_GREP+:} false; then :
    42144486  $as_echo_n "(cached) " >&6
    42154487else
     
    42224494  IFS=$as_save_IFS
    42234495  test -z "$as_dir" && as_dir=.
    4224   for ac_prog in grep ggrep; do
     4496    for ac_prog in grep ggrep; do
    42254497    for ac_exec_ext in '' $ac_executable_extensions; do
    42264498      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4227       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4499      as_fn_executable_p "$ac_path_GREP" || continue
    42284500# Check for GNU ac_path_GREP and select it if it is found.
    42294501  # Check for GNU $ac_path_GREP
     
    42424514    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42434515    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4244     ac_count=`expr $ac_count + 1`
     4516    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42454517    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    42464518      # Best one so far, save it but keep looking for a better one
     
    42574529    done
    42584530  done
    4259 done
     4531  done
    42604532IFS=$as_save_IFS
    42614533  if test -z "$ac_cv_path_GREP"; then
    4262     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4263 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4264    { (exit 1); exit 1; }; }
     4534    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42654535  fi
    42664536else
     
    42694539
    42704540fi
    4271 { $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
    42724542$as_echo "$ac_cv_path_GREP" >&6; }
    42734543 GREP="$ac_cv_path_GREP"
    42744544
    42754545
    4276 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    42774547$as_echo_n "checking for egrep... " >&6; }
    4278 if test "${ac_cv_path_EGREP+set}" = set; then
     4548if ${ac_cv_path_EGREP+:} false; then :
    42794549  $as_echo_n "(cached) " >&6
    42804550else
     
    42904560  IFS=$as_save_IFS
    42914561  test -z "$as_dir" && as_dir=.
    4292   for ac_prog in egrep; do
     4562    for ac_prog in egrep; do
    42934563    for ac_exec_ext in '' $ac_executable_extensions; do
    42944564      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4295       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4565      as_fn_executable_p "$ac_path_EGREP" || continue
    42964566# Check for GNU ac_path_EGREP and select it if it is found.
    42974567  # Check for GNU $ac_path_EGREP
     
    43104580    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43114581    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4312     ac_count=`expr $ac_count + 1`
     4582    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43134583    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    43144584      # Best one so far, save it but keep looking for a better one
     
    43254595    done
    43264596  done
    4327 done
     4597  done
    43284598IFS=$as_save_IFS
    43294599  if test -z "$ac_cv_path_EGREP"; then
    4330     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4331 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4332    { (exit 1); exit 1; }; }
     4600    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    43334601  fi
    43344602else
     
    43384606   fi
    43394607fi
    4340 { $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
    43414609$as_echo "$ac_cv_path_EGREP" >&6; }
    43424610 EGREP="$ac_cv_path_EGREP"
    43434611
    43444612
    4345 { $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
    43464614$as_echo_n "checking for ANSI C header files... " >&6; }
    4347 if test "${ac_cv_header_stdc+set}" = set; then
     4615if ${ac_cv_header_stdc+:} false; then :
    43484616  $as_echo_n "(cached) " >&6
    43494617else
    4350   cat >conftest.$ac_ext <<_ACEOF
    4351 /* confdefs.h.  */
    4352 _ACEOF
    4353 cat confdefs.h >>conftest.$ac_ext
    4354 cat >>conftest.$ac_ext <<_ACEOF
     4618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43554619/* end confdefs.h.  */
    43564620#include <stdlib.h>
     
    43674631}
    43684632_ACEOF
    4369 rm -f conftest.$ac_objext
    4370 if { (ac_try="$ac_compile"
    4371 case "(($ac_try" in
    4372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4373   *) ac_try_echo=$ac_try;;
    4374 esac
    4375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4376 $as_echo "$ac_try_echo") >&5
    4377   (eval "$ac_compile") 2>conftest.er1
    4378   ac_status=$?
    4379   grep -v '^ *+' conftest.er1 >conftest.err
    4380   rm -f conftest.er1
    4381   cat conftest.err >&5
    4382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4383   (exit $ac_status); } && {
    4384          test -z "$ac_c_werror_flag" ||
    4385          test ! -s conftest.err
    4386        } && test -s conftest.$ac_objext; then
     4633if ac_fn_c_try_compile "$LINENO"; then :
    43874634  ac_cv_header_stdc=yes
    43884635else
    4389   $as_echo "$as_me: failed program was:" >&5
    4390 sed 's/^/| /' conftest.$ac_ext >&5
    4391 
    4392         ac_cv_header_stdc=no
    4393 fi
    4394 
     4636  ac_cv_header_stdc=no
     4637fi
    43954638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    43964639
    43974640if test $ac_cv_header_stdc = yes; then
    43984641  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4399   cat >conftest.$ac_ext <<_ACEOF
    4400 /* confdefs.h.  */
    4401 _ACEOF
    4402 cat confdefs.h >>conftest.$ac_ext
    4403 cat >>conftest.$ac_ext <<_ACEOF
     4642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44044643/* end confdefs.h.  */
    44054644#include <string.h>
     
    44074646_ACEOF
    44084647if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4409   $EGREP "memchr" >/dev/null 2>&1; then
    4410   :
     4648  $EGREP "memchr" >/dev/null 2>&1; then :
     4649
    44114650else
    44124651  ac_cv_header_stdc=no
     
    44184657if test $ac_cv_header_stdc = yes; then
    44194658  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4420   cat >conftest.$ac_ext <<_ACEOF
    4421 /* confdefs.h.  */
    4422 _ACEOF
    4423 cat confdefs.h >>conftest.$ac_ext
    4424 cat >>conftest.$ac_ext <<_ACEOF
     4659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44254660/* end confdefs.h.  */
    44264661#include <stdlib.h>
     
    44284663_ACEOF
    44294664if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4430   $EGREP "free" >/dev/null 2>&1; then
    4431   :
     4665  $EGREP "free" >/dev/null 2>&1; then :
     4666
    44324667else
    44334668  ac_cv_header_stdc=no
     
    44394674if test $ac_cv_header_stdc = yes; then
    44404675  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4441   if test "$cross_compiling" = yes; then
     4676  if test "$cross_compiling" = yes; then :
    44424677  :
    44434678else
    4444   cat >conftest.$ac_ext <<_ACEOF
    4445 /* confdefs.h.  */
    4446 _ACEOF
    4447 cat confdefs.h >>conftest.$ac_ext
    4448 cat >>conftest.$ac_ext <<_ACEOF
     4679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44494680/* end confdefs.h.  */
    44504681#include <ctype.h>
     
    44734704}
    44744705_ACEOF
    4475 rm -f conftest$ac_exeext
    4476 if { (ac_try="$ac_link"
    4477 case "(($ac_try" in
    4478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4479   *) ac_try_echo=$ac_try;;
    4480 esac
    4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4482 $as_echo "$ac_try_echo") >&5
    4483   (eval "$ac_link") 2>&5
    4484   ac_status=$?
    4485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4486   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4487   { (case "(($ac_try" in
    4488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4489   *) ac_try_echo=$ac_try;;
    4490 esac
    4491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4492 $as_echo "$ac_try_echo") >&5
    4493   (eval "$ac_try") 2>&5
    4494   ac_status=$?
    4495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4496   (exit $ac_status); }; }; then
    4497   :
    4498 else
    4499   $as_echo "$as_me: program exited with status $ac_status" >&5
    4500 $as_echo "$as_me: failed program was:" >&5
    4501 sed 's/^/| /' conftest.$ac_ext >&5
    4502 
    4503 ( exit $ac_status )
    4504 ac_cv_header_stdc=no
    4505 fi
    4506 rm -rf conftest.dSYM
    4507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4508 fi
    4509 
    4510 
    4511 fi
    4512 fi
    4513 { $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
    45144718$as_echo "$ac_cv_header_stdc" >&6; }
    45154719if test $ac_cv_header_stdc = yes; then
    45164720
    4517 cat >>confdefs.h <<\_ACEOF
    4518 #define STDC_HEADERS 1
    4519 _ACEOF
    4520 
    4521 fi
    4522 
    4523 { $as_echo "$as_me:$LINENO: checking for atol" >&5
    4524 $as_echo_n "checking for atol... " >&6; }
    4525 if test "${ac_cv_func_atol+set}" = set; then
    4526   $as_echo_n "(cached) " >&6
    4527 else
    4528   cat >conftest.$ac_ext <<_ACEOF
    4529 /* confdefs.h.  */
    4530 _ACEOF
    4531 cat confdefs.h >>conftest.$ac_ext
    4532 cat >>conftest.$ac_ext <<_ACEOF
    4533 /* end confdefs.h.  */
    4534 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4536 #define atol innocuous_atol
    4537 
    4538 /* System header to define __stub macros and hopefully few prototypes,
    4539     which can conflict with char atol (); below.
    4540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4541     <limits.h> exists even on freestanding compilers.  */
    4542 
    4543 #ifdef __STDC__
    4544 # include <limits.h>
    4545 #else
    4546 # include <assert.h>
    4547 #endif
    4548 
    4549 #undef atol
    4550 
    4551 /* Override any GCC internal prototype to avoid an error.
    4552    Use char because int might match the return type of a GCC
    4553    builtin and then its argument prototype would still apply.  */
    4554 #ifdef __cplusplus
    4555 extern "C"
    4556 #endif
    4557 char atol ();
    4558 /* The GNU C library defines this for functions which it implements
    4559     to always fail with ENOSYS.  Some functions are actually named
    4560     something starting with __ and the normal name is an alias.  */
    4561 #if defined __stub_atol || defined __stub___atol
    4562 choke me
    4563 #endif
    4564 
    4565 int
    4566 main ()
    4567 {
    4568 return atol ();
    4569   ;
    4570   return 0;
    4571 }
    4572 _ACEOF
    4573 rm -f conftest.$ac_objext conftest$ac_exeext
    4574 if { (ac_try="$ac_link"
    4575 case "(($ac_try" in
    4576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4577   *) ac_try_echo=$ac_try;;
    4578 esac
    4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4580 $as_echo "$ac_try_echo") >&5
    4581   (eval "$ac_link") 2>conftest.er1
    4582   ac_status=$?
    4583   grep -v '^ *+' conftest.er1 >conftest.err
    4584   rm -f conftest.er1
    4585   cat conftest.err >&5
    4586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4587   (exit $ac_status); } && {
    4588          test -z "$ac_c_werror_flag" ||
    4589          test ! -s conftest.err
    4590        } && test -s conftest$ac_exeext && {
    4591          test "$cross_compiling" = yes ||
    4592          $as_test_x conftest$ac_exeext
    4593        }; then
    4594   ac_cv_func_atol=yes
    4595 else
    4596   $as_echo "$as_me: failed program was:" >&5
    4597 sed 's/^/| /' conftest.$ac_ext >&5
    4598 
    4599         ac_cv_func_atol=no
    4600 fi
    4601 
    4602 rm -rf conftest.dSYM
    4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4604       conftest$ac_exeext conftest.$ac_ext
    4605 fi
    4606 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4607 $as_echo "$ac_cv_func_atol" >&6; }
    4608 if test "x$ac_cv_func_atol" = x""yes; then
    4609   :
    4610 else
    4611   { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4612 $as_echo "$as_me: error: oops! no atol ?!?" >&2;}
    4613    { (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
    46144730fi
    46154731
     
    46234739
    46244740
    4625 
    46264741for ac_func in sysinfo
    4627 do
    4628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4629 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4630 $as_echo_n "checking for $ac_func... " >&6; }
    4631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4632   $as_echo_n "(cached) " >&6
    4633 else
    4634   cat >conftest.$ac_ext <<_ACEOF
    4635 /* confdefs.h.  */
    4636 _ACEOF
    4637 cat confdefs.h >>conftest.$ac_ext
    4638 cat >>conftest.$ac_ext <<_ACEOF
    4639 /* end confdefs.h.  */
    4640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4642 #define $ac_func innocuous_$ac_func
    4643 
    4644 /* System header to define __stub macros and hopefully few prototypes,
    4645     which can conflict with char $ac_func (); below.
    4646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4647     <limits.h> exists even on freestanding compilers.  */
    4648 
    4649 #ifdef __STDC__
    4650 # include <limits.h>
    4651 #else
    4652 # include <assert.h>
    4653 #endif
    4654 
    4655 #undef $ac_func
    4656 
    4657 /* Override any GCC internal prototype to avoid an error.
    4658    Use char because int might match the return type of a GCC
    4659    builtin and then its argument prototype would still apply.  */
    4660 #ifdef __cplusplus
    4661 extern "C"
    4662 #endif
    4663 char $ac_func ();
    4664 /* The GNU C library defines this for functions which it implements
    4665     to always fail with ENOSYS.  Some functions are actually named
    4666     something starting with __ and the normal name is an alias.  */
    4667 #if defined __stub_$ac_func || defined __stub___$ac_func
    4668 choke me
    4669 #endif
    4670 
    4671 int
    4672 main ()
    4673 {
    4674 return $ac_func ();
    4675   ;
    4676   return 0;
    4677 }
    4678 _ACEOF
    4679 rm -f conftest.$ac_objext conftest$ac_exeext
    4680 if { (ac_try="$ac_link"
    4681 case "(($ac_try" in
    4682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4683   *) ac_try_echo=$ac_try;;
    4684 esac
    4685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4686 $as_echo "$ac_try_echo") >&5
    4687   (eval "$ac_link") 2>conftest.er1
    4688   ac_status=$?
    4689   grep -v '^ *+' conftest.er1 >conftest.err
    4690   rm -f conftest.er1
    4691   cat conftest.err >&5
    4692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4693   (exit $ac_status); } && {
    4694          test -z "$ac_cxx_werror_flag" ||
    4695          test ! -s conftest.err
    4696        } && test -s conftest$ac_exeext && {
    4697          test "$cross_compiling" = yes ||
    4698          $as_test_x conftest$ac_exeext
    4699        }; then
    4700   eval "$as_ac_var=yes"
    4701 else
    4702   $as_echo "$as_me: failed program was:" >&5
    4703 sed 's/^/| /' conftest.$ac_ext >&5
    4704 
    4705         eval "$as_ac_var=no"
    4706 fi
    4707 
    4708 rm -rf conftest.dSYM
    4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4710       conftest$ac_exeext conftest.$ac_ext
    4711 fi
    4712 ac_res=`eval 'as_val=${'$as_ac_var'}
    4713                  $as_echo "$as_val"'`
    4714                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4715 $as_echo "$ac_res" >&6; }
    4716 as_val=`eval 'as_val=${'$as_ac_var'}
    4717                  $as_echo "$as_val"'`
    4718    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 :
    47194745  cat >>confdefs.h <<_ACEOF
    4720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4721 _ACEOF
    4722 
    4723 fi
    4724 done
    4725 
    4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4727 
    4728 
    4729 
    4730 
    4731 
    4732 
    4733 
    4734 
    4735 
    4736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4737                   inttypes.h stdint.h unistd.h
    4738 do
    4739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4740 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4741 $as_echo_n "checking for $ac_header... " >&6; }
    4742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4743   $as_echo_n "(cached) " >&6
    4744 else
    4745   cat >conftest.$ac_ext <<_ACEOF
    4746 /* confdefs.h.  */
    4747 _ACEOF
    4748 cat confdefs.h >>conftest.$ac_ext
    4749 cat >>conftest.$ac_ext <<_ACEOF
    4750 /* end confdefs.h.  */
    4751 $ac_includes_default
    4752 
    4753 #include <$ac_header>
    4754 _ACEOF
    4755 rm -f conftest.$ac_objext
    4756 if { (ac_try="$ac_compile"
    4757 case "(($ac_try" in
    4758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4759   *) ac_try_echo=$ac_try;;
    4760 esac
    4761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4762 $as_echo "$ac_try_echo") >&5
    4763   (eval "$ac_compile") 2>conftest.er1
    4764   ac_status=$?
    4765   grep -v '^ *+' conftest.er1 >conftest.err
    4766   rm -f conftest.er1
    4767   cat conftest.err >&5
    4768   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4769   (exit $ac_status); } && {
    4770          test -z "$ac_cxx_werror_flag" ||
    4771          test ! -s conftest.err
    4772        } && test -s conftest.$ac_objext; then
    4773   eval "$as_ac_Header=yes"
    4774 else
    4775   $as_echo "$as_me: failed program was:" >&5
    4776 sed 's/^/| /' conftest.$ac_ext >&5
    4777 
    4778         eval "$as_ac_Header=no"
    4779 fi
    4780 
    4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4782 fi
    4783 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4784                  $as_echo "$as_val"'`
    4785                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4786 $as_echo "$ac_res" >&6; }
    4787 as_val=`eval 'as_val=${'$as_ac_Header'}
    4788                  $as_echo "$as_val"'`
    4789    if test "x$as_val" = x""yes; then
    4790   cat >>confdefs.h <<_ACEOF
    4791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4792 _ACEOF
    4793 
    4794 fi
    4795 
    4796 done
    4797 
     4746#define HAVE_SYSINFO 1
     4747_ACEOF
     4748
     4749fi
     4750done
    47984751
    47994752ac_ext=cpp
     
    48024755ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    48034756ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4804 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    48054758$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    48064759if test -z "$CXXCPP"; then
    4807   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4760  if ${ac_cv_prog_CXXCPP+:} false; then :
    48084761  $as_echo_n "(cached) " >&6
    48094762else
     
    48204773  # On the NeXT, cc -E runs the code through the compiler's parser,
    48214774  # not just through cpp. "Syntax error" is here to catch this case.
    4822   cat >conftest.$ac_ext <<_ACEOF
    4823 /* confdefs.h.  */
    4824 _ACEOF
    4825 cat confdefs.h >>conftest.$ac_ext
    4826 cat >>conftest.$ac_ext <<_ACEOF
     4775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48274776/* end confdefs.h.  */
    48284777#ifdef __STDC__
     
    48334782                     Syntax error
    48344783_ACEOF
    4835 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4836 case "(($ac_try" in
    4837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4838   *) ac_try_echo=$ac_try;;
    4839 esac
    4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4841 $as_echo "$ac_try_echo") >&5
    4842   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4843   ac_status=$?
    4844   grep -v '^ *+' conftest.er1 >conftest.err
    4845   rm -f conftest.er1
    4846   cat conftest.err >&5
    4847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4848   (exit $ac_status); } >/dev/null && {
    4849          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4850          test ! -s conftest.err
    4851        }; then
    4852   :
    4853 else
    4854   $as_echo "$as_me: failed program was:" >&5
    4855 sed 's/^/| /' conftest.$ac_ext >&5
    4856 
     4784if ac_fn_cxx_try_cpp "$LINENO"; then :
     4785
     4786else
    48574787  # Broken: fails on valid input.
    48584788continue
    48594789fi
    4860 
    4861 rm -f conftest.err conftest.$ac_ext
     4790rm -f conftest.err conftest.i conftest.$ac_ext
    48624791
    48634792  # OK, works on sane cases.  Now check whether nonexistent headers
    48644793  # can be detected and how.
    4865   cat >conftest.$ac_ext <<_ACEOF
    4866 /* confdefs.h.  */
    4867 _ACEOF
    4868 cat confdefs.h >>conftest.$ac_ext
    4869 cat >>conftest.$ac_ext <<_ACEOF
     4794  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48704795/* end confdefs.h.  */
    48714796#include <ac_nonexistent.h>
    48724797_ACEOF
    4873 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4874 case "(($ac_try" in
    4875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4876   *) ac_try_echo=$ac_try;;
    4877 esac
    4878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4879 $as_echo "$ac_try_echo") >&5
    4880   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4881   ac_status=$?
    4882   grep -v '^ *+' conftest.er1 >conftest.err
    4883   rm -f conftest.er1
    4884   cat conftest.err >&5
    4885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4886   (exit $ac_status); } >/dev/null && {
    4887          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4888          test ! -s conftest.err
    4889        }; then
     4798if ac_fn_cxx_try_cpp "$LINENO"; then :
    48904799  # Broken: success on invalid input.
    48914800continue
    48924801else
    4893   $as_echo "$as_me: failed program was:" >&5
    4894 sed 's/^/| /' conftest.$ac_ext >&5
    4895 
    48964802  # Passes both tests.
    48974803ac_preproc_ok=:
    48984804break
    48994805fi
    4900 
    4901 rm -f conftest.err conftest.$ac_ext
     4806rm -f conftest.err conftest.i conftest.$ac_ext
    49024807
    49034808done
    49044809# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4905 rm -f conftest.err conftest.$ac_ext
    4906 if $ac_preproc_ok; then
     4810rm -f conftest.i conftest.err conftest.$ac_ext
     4811if $ac_preproc_ok; then :
    49074812  break
    49084813fi
     
    49164821  ac_cv_prog_CXXCPP=$CXXCPP
    49174822fi
    4918 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    49194824$as_echo "$CXXCPP" >&6; }
    49204825ac_preproc_ok=false
     
    49274832  # On the NeXT, cc -E runs the code through the compiler's parser,
    49284833  # not just through cpp. "Syntax error" is here to catch this case.
    4929   cat >conftest.$ac_ext <<_ACEOF
    4930 /* confdefs.h.  */
    4931 _ACEOF
    4932 cat confdefs.h >>conftest.$ac_ext
    4933 cat >>conftest.$ac_ext <<_ACEOF
     4834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49344835/* end confdefs.h.  */
    49354836#ifdef __STDC__
     
    49404841                     Syntax error
    49414842_ACEOF
    4942 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4943 case "(($ac_try" in
    4944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4945   *) ac_try_echo=$ac_try;;
    4946 esac
    4947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4948 $as_echo "$ac_try_echo") >&5
    4949   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4950   ac_status=$?
    4951   grep -v '^ *+' conftest.er1 >conftest.err
    4952   rm -f conftest.er1
    4953   cat conftest.err >&5
    4954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4955   (exit $ac_status); } >/dev/null && {
    4956          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4957          test ! -s conftest.err
    4958        }; then
    4959   :
    4960 else
    4961   $as_echo "$as_me: failed program was:" >&5
    4962 sed 's/^/| /' conftest.$ac_ext >&5
    4963 
     4843if ac_fn_cxx_try_cpp "$LINENO"; then :
     4844
     4845else
    49644846  # Broken: fails on valid input.
    49654847continue
    49664848fi
    4967 
    4968 rm -f conftest.err conftest.$ac_ext
     4849rm -f conftest.err conftest.i conftest.$ac_ext
    49694850
    49704851  # OK, works on sane cases.  Now check whether nonexistent headers
    49714852  # can be detected and how.
    4972   cat >conftest.$ac_ext <<_ACEOF
    4973 /* confdefs.h.  */
    4974 _ACEOF
    4975 cat confdefs.h >>conftest.$ac_ext
    4976 cat >>conftest.$ac_ext <<_ACEOF
     4853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49774854/* end confdefs.h.  */
    49784855#include <ac_nonexistent.h>
    49794856_ACEOF
    4980 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4981 case "(($ac_try" in
    4982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4983   *) ac_try_echo=$ac_try;;
    4984 esac
    4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4986 $as_echo "$ac_try_echo") >&5
    4987   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4988   ac_status=$?
    4989   grep -v '^ *+' conftest.er1 >conftest.err
    4990   rm -f conftest.er1
    4991   cat conftest.err >&5
    4992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4993   (exit $ac_status); } >/dev/null && {
    4994          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4995          test ! -s conftest.err
    4996        }; then
     4857if ac_fn_cxx_try_cpp "$LINENO"; then :
    49974858  # Broken: success on invalid input.
    49984859continue
    49994860else
    5000   $as_echo "$as_me: failed program was:" >&5
    5001 sed 's/^/| /' conftest.$ac_ext >&5
    5002 
    50034861  # Passes both tests.
    50044862ac_preproc_ok=:
    50054863break
    50064864fi
    5007 
    5008 rm -f conftest.err conftest.$ac_ext
     4865rm -f conftest.err conftest.i conftest.$ac_ext
    50094866
    50104867done
    50114868# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5012 rm -f conftest.err conftest.$ac_ext
    5013 if $ac_preproc_ok; then
    5014   :
    5015 else
    5016   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4869rm -f conftest.i conftest.err conftest.$ac_ext
     4870if $ac_preproc_ok; then :
     4871
     4872else
     4873  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    50174874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5018 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5019 See \`config.log' for more details." >&5
    5020 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5021 See \`config.log' for more details." >&2;}
    5022    { (exit 1); exit 1; }; }; }
     4875as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4876See \`config.log' for more details" "$LINENO" 5; }
    50234877fi
    50244878
     
    50304884
    50314885
    5032 
    5033 for ac_header in sys/sysinfo.h
    5034 do
    5035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5037   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5038 $as_echo_n "checking for $ac_header... " >&6; }
    5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5040   $as_echo_n "(cached) " >&6
    5041 fi
    5042 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5043                  $as_echo "$as_val"'`
    5044                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5045 $as_echo "$ac_res" >&6; }
    5046 else
    5047   # Is the header compilable?
    5048 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5049 $as_echo_n "checking $ac_header usability... " >&6; }
    5050 cat >conftest.$ac_ext <<_ACEOF
    5051 /* confdefs.h.  */
    5052 _ACEOF
    5053 cat confdefs.h >>conftest.$ac_ext
    5054 cat >>conftest.$ac_ext <<_ACEOF
    5055 /* end confdefs.h.  */
    5056 $ac_includes_default
    5057 #include <$ac_header>
    5058 _ACEOF
    5059 rm -f conftest.$ac_objext
    5060 if { (ac_try="$ac_compile"
    5061 case "(($ac_try" in
    5062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5063   *) ac_try_echo=$ac_try;;
    5064 esac
    5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5066 $as_echo "$ac_try_echo") >&5
    5067   (eval "$ac_compile") 2>conftest.er1
    5068   ac_status=$?
    5069   grep -v '^ *+' conftest.er1 >conftest.err
    5070   rm -f conftest.er1
    5071   cat conftest.err >&5
    5072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5073   (exit $ac_status); } && {
    5074          test -z "$ac_cxx_werror_flag" ||
    5075          test ! -s conftest.err
    5076        } && test -s conftest.$ac_objext; then
    5077   ac_header_compiler=yes
    5078 else
    5079   $as_echo "$as_me: failed program was:" >&5
    5080 sed 's/^/| /' conftest.$ac_ext >&5
    5081 
    5082         ac_header_compiler=no
    5083 fi
    5084 
    5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5086 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5087 $as_echo "$ac_header_compiler" >&6; }
    5088 
    5089 # Is the header present?
    5090 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5091 $as_echo_n "checking $ac_header presence... " >&6; }
    5092 cat >conftest.$ac_ext <<_ACEOF
    5093 /* confdefs.h.  */
    5094 _ACEOF
    5095 cat confdefs.h >>conftest.$ac_ext
    5096 cat >>conftest.$ac_ext <<_ACEOF
    5097 /* end confdefs.h.  */
    5098 #include <$ac_header>
    5099 _ACEOF
    5100 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5101 case "(($ac_try" in
    5102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5103   *) ac_try_echo=$ac_try;;
    5104 esac
    5105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5106 $as_echo "$ac_try_echo") >&5
    5107   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5108   ac_status=$?
    5109   grep -v '^ *+' conftest.er1 >conftest.err
    5110   rm -f conftest.er1
    5111   cat conftest.err >&5
    5112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5113   (exit $ac_status); } >/dev/null && {
    5114          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5115          test ! -s conftest.err
    5116        }; then
    5117   ac_header_preproc=yes
    5118 else
    5119   $as_echo "$as_me: failed program was:" >&5
    5120 sed 's/^/| /' conftest.$ac_ext >&5
    5121 
    5122   ac_header_preproc=no
    5123 fi
    5124 
    5125 rm -f conftest.err conftest.$ac_ext
    5126 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5127 $as_echo "$ac_header_preproc" >&6; }
    5128 
    5129 # So?  What about this header?
    5130 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5131   yes:no: )
    5132     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5133 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5134     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5136     ac_header_preproc=yes
    5137     ;;
    5138   no:yes:* )
    5139     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5140 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5141     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5142 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5143     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5144 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5145     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5146 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5147     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5149     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5150 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5151     ( cat <<\_ASBOX
    5152 ## ----------------------------------- ##
    5153 ## Report this to rappture@nanohub.org ##
    5154 ## ----------------------------------- ##
    5155 _ASBOX
    5156      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5157     ;;
    5158 esac
    5159 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5160 $as_echo_n "checking for $ac_header... " >&6; }
    5161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5162   $as_echo_n "(cached) " >&6
    5163 else
    5164   eval "$as_ac_Header=\$ac_header_preproc"
    5165 fi
    5166 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5167                  $as_echo "$as_val"'`
    5168                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5169 $as_echo "$ac_res" >&6; }
    5170 
    5171 fi
    5172 as_val=`eval 'as_val=${'$as_ac_Header'}
    5173                  $as_echo "$as_val"'`
    5174    if test "x$as_val" = x""yes; then
     4886# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4887for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4888                  inttypes.h stdint.h unistd.h
     4889do :
     4890  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4891ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4892"
     4893if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    51754894  cat >>confdefs.h <<_ACEOF
    51764895#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    51824901
    51834902
    5184 
    5185 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     4903for ac_header in sys/sysinfo.h
     4904do :
     4905  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4906if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
     4907  cat >>confdefs.h <<_ACEOF
     4908#define HAVE_SYS_SYSINFO_H 1
     4909_ACEOF
     4910
     4911fi
     4912
     4913done
     4914
     4915
     4916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
    51864917$as_echo_n "checking for main in -lm... " >&6; }
    5187 if test "${ac_cv_lib_m_main+set}" = set; then
     4918if ${ac_cv_lib_m_main+:} false; then :
    51884919  $as_echo_n "(cached) " >&6
    51894920else
    51904921  ac_check_lib_save_LIBS=$LIBS
    51914922LIBS="-lm  $LIBS"
    5192 cat >conftest.$ac_ext <<_ACEOF
    5193 /* confdefs.h.  */
    5194 _ACEOF
    5195 cat confdefs.h >>conftest.$ac_ext
    5196 cat >>conftest.$ac_ext <<_ACEOF
     4923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51974924/* end confdefs.h.  */
    51984925
     
    52064933}
    52074934_ACEOF
    5208 rm -f conftest.$ac_objext conftest$ac_exeext
    5209 if { (ac_try="$ac_link"
    5210 case "(($ac_try" in
    5211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5212   *) ac_try_echo=$ac_try;;
    5213 esac
    5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5215 $as_echo "$ac_try_echo") >&5
    5216   (eval "$ac_link") 2>conftest.er1
    5217   ac_status=$?
    5218   grep -v '^ *+' conftest.er1 >conftest.err
    5219   rm -f conftest.er1
    5220   cat conftest.err >&5
    5221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5222   (exit $ac_status); } && {
    5223          test -z "$ac_cxx_werror_flag" ||
    5224          test ! -s conftest.err
    5225        } && test -s conftest$ac_exeext && {
    5226          test "$cross_compiling" = yes ||
    5227          $as_test_x conftest$ac_exeext
    5228        }; then
     4935if ac_fn_cxx_try_link "$LINENO"; then :
    52294936  ac_cv_lib_m_main=yes
    52304937else
    5231   $as_echo "$as_me: failed program was:" >&5
    5232 sed 's/^/| /' conftest.$ac_ext >&5
    5233 
    5234         ac_cv_lib_m_main=no
    5235 fi
    5236 
    5237 rm -rf conftest.dSYM
    5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5239       conftest$ac_exeext conftest.$ac_ext
     4938  ac_cv_lib_m_main=no
     4939fi
     4940rm -f core conftest.err conftest.$ac_objext \
     4941    conftest$ac_exeext conftest.$ac_ext
    52404942LIBS=$ac_check_lib_save_LIBS
    52414943fi
    5242 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
    52434945$as_echo "$ac_cv_lib_m_main" >&6; }
    5244 if test "x$ac_cv_lib_m_main" = x""yes; then
     4946if test "x$ac_cv_lib_m_main" = xyes; then :
    52454947  cat >>confdefs.h <<_ACEOF
    52464948#define HAVE_LIBM 1
     
    52504952
    52514953else
    5252   { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5253 $as_echo "$as_me: error: librappture requires libm" >&2;}
    5254    { (exit 1); exit 1; }; }
    5255 fi
    5256 
    5257 
    5258 
    5259 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
     4954  as_fn_error $? "librappture requires libm" "$LINENO" 5
     4955fi
     4956
     4957
     4958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    52604959$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    5261 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
     4960if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    52624961  $as_echo_n "(cached) " >&6
    52634962else
    52644963  ac_check_lib_save_LIBS=$LIBS
    52654964LIBS="-lncurses  $LIBS"
    5266 cat >conftest.$ac_ext <<_ACEOF
    5267 /* confdefs.h.  */
    5268 _ACEOF
    5269 cat confdefs.h >>conftest.$ac_ext
    5270 cat >>conftest.$ac_ext <<_ACEOF
     4965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52714966/* end confdefs.h.  */
    52724967
     
    52864981}
    52874982_ACEOF
    5288 rm -f conftest.$ac_objext conftest$ac_exeext
    5289 if { (ac_try="$ac_link"
    5290 case "(($ac_try" in
    5291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5292   *) ac_try_echo=$ac_try;;
    5293 esac
    5294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5295 $as_echo "$ac_try_echo") >&5
    5296   (eval "$ac_link") 2>conftest.er1
    5297   ac_status=$?
    5298   grep -v '^ *+' conftest.er1 >conftest.err
    5299   rm -f conftest.er1
    5300   cat conftest.err >&5
    5301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5302   (exit $ac_status); } && {
    5303          test -z "$ac_cxx_werror_flag" ||
    5304          test ! -s conftest.err
    5305        } && test -s conftest$ac_exeext && {
    5306          test "$cross_compiling" = yes ||
    5307          $as_test_x conftest$ac_exeext
    5308        }; then
     4983if ac_fn_cxx_try_link "$LINENO"; then :
    53094984  ac_cv_lib_ncurses_clrtoeol=yes
    53104985else
    5311   $as_echo "$as_me: failed program was:" >&5
    5312 sed 's/^/| /' conftest.$ac_ext >&5
    5313 
    5314         ac_cv_lib_ncurses_clrtoeol=no
    5315 fi
    5316 
    5317 rm -rf conftest.dSYM
    5318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5319       conftest$ac_exeext conftest.$ac_ext
     4986  ac_cv_lib_ncurses_clrtoeol=no
     4987fi
     4988rm -f core conftest.err conftest.$ac_objext \
     4989    conftest$ac_exeext conftest.$ac_ext
    53204990LIBS=$ac_check_lib_save_LIBS
    53214991fi
    5322 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    53234993$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    5324 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
     4994if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    53254995  cat >>confdefs.h <<_ACEOF
    53264996#define HAVE_LIBNCURSES 1
     
    53305000
    53315001else
    5332   { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
    5333 $as_echo "$as_me: error: ncurses library missing?" >&2;}
    5334    { (exit 1); exit 1; }; }
    5335 fi
    5336 
     5002  as_fn_error $? "ncurses library missing?" "$LINENO" 5
     5003fi
    53375004
    53385005for ac_header in ncurses.h
    5339 do
    5340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5342   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5343 $as_echo_n "checking for $ac_header... " >&6; }
    5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5345   $as_echo_n "(cached) " >&6
    5346 fi
    5347 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5348                  $as_echo "$as_val"'`
    5349                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5350 $as_echo "$ac_res" >&6; }
    5351 else
    5352   # Is the header compilable?
    5353 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5354 $as_echo_n "checking $ac_header usability... " >&6; }
    5355 cat >conftest.$ac_ext <<_ACEOF
    5356 /* confdefs.h.  */
    5357 _ACEOF
    5358 cat confdefs.h >>conftest.$ac_ext
    5359 cat >>conftest.$ac_ext <<_ACEOF
    5360 /* end confdefs.h.  */
    5361 $ac_includes_default
    5362 #include <$ac_header>
    5363 _ACEOF
    5364 rm -f conftest.$ac_objext
    5365 if { (ac_try="$ac_compile"
    5366 case "(($ac_try" in
    5367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5368   *) ac_try_echo=$ac_try;;
    5369 esac
    5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5371 $as_echo "$ac_try_echo") >&5
    5372   (eval "$ac_compile") 2>conftest.er1
    5373   ac_status=$?
    5374   grep -v '^ *+' conftest.er1 >conftest.err
    5375   rm -f conftest.er1
    5376   cat conftest.err >&5
    5377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5378   (exit $ac_status); } && {
    5379          test -z "$ac_cxx_werror_flag" ||
    5380          test ! -s conftest.err
    5381        } && test -s conftest.$ac_objext; then
    5382   ac_header_compiler=yes
    5383 else
    5384   $as_echo "$as_me: failed program was:" >&5
    5385 sed 's/^/| /' conftest.$ac_ext >&5
    5386 
    5387         ac_header_compiler=no
    5388 fi
    5389 
    5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5392 $as_echo "$ac_header_compiler" >&6; }
    5393 
    5394 # Is the header present?
    5395 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5396 $as_echo_n "checking $ac_header presence... " >&6; }
    5397 cat >conftest.$ac_ext <<_ACEOF
    5398 /* confdefs.h.  */
    5399 _ACEOF
    5400 cat confdefs.h >>conftest.$ac_ext
    5401 cat >>conftest.$ac_ext <<_ACEOF
    5402 /* end confdefs.h.  */
    5403 #include <$ac_header>
    5404 _ACEOF
    5405 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5406 case "(($ac_try" in
    5407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5408   *) ac_try_echo=$ac_try;;
    5409 esac
    5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5411 $as_echo "$ac_try_echo") >&5
    5412   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5413   ac_status=$?
    5414   grep -v '^ *+' conftest.er1 >conftest.err
    5415   rm -f conftest.er1
    5416   cat conftest.err >&5
    5417   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5418   (exit $ac_status); } >/dev/null && {
    5419          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5420          test ! -s conftest.err
    5421        }; then
    5422   ac_header_preproc=yes
    5423 else
    5424   $as_echo "$as_me: failed program was:" >&5
    5425 sed 's/^/| /' conftest.$ac_ext >&5
    5426 
    5427   ac_header_preproc=no
    5428 fi
    5429 
    5430 rm -f conftest.err conftest.$ac_ext
    5431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5432 $as_echo "$ac_header_preproc" >&6; }
    5433 
    5434 # So?  What about this header?
    5435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5436   yes:no: )
    5437     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5438 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5439     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5440 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5441     ac_header_preproc=yes
    5442     ;;
    5443   no:yes:* )
    5444     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5445 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5446     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5447 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5448     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5449 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5450     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5451 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5452     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5453 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5455 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5456     ( cat <<\_ASBOX
    5457 ## ----------------------------------- ##
    5458 ## Report this to rappture@nanohub.org ##
    5459 ## ----------------------------------- ##
    5460 _ASBOX
    5461      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5462     ;;
    5463 esac
    5464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5465 $as_echo_n "checking for $ac_header... " >&6; }
    5466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5467   $as_echo_n "(cached) " >&6
    5468 else
    5469   eval "$as_ac_Header=\$ac_header_preproc"
    5470 fi
    5471 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5472                  $as_echo "$as_val"'`
    5473                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5474 $as_echo "$ac_res" >&6; }
    5475 
    5476 fi
    5477 as_val=`eval 'as_val=${'$as_ac_Header'}
    5478                  $as_echo "$as_val"'`
    5479    if test "x$as_val" = x""yes; then
     5006do :
     5007  ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
     5008if test "x$ac_cv_header_ncurses_h" = xyes; then :
    54805009  cat >>confdefs.h <<_ACEOF
    5481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5482 _ACEOF
    5483 
    5484 else
    5485   { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
     5010#define HAVE_NCURSES_H 1
     5011_ACEOF
     5012
     5013else
     5014  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    54865015$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    54875016fi
     
    54905019
    54915020
    5492 
    5493 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    54945022$as_echo_n "checking for main in -lstdc++... " >&6; }
    5495 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     5023if ${ac_cv_lib_stdcpp_main+:} false; then :
    54965024  $as_echo_n "(cached) " >&6
    54975025else
    54985026  ac_check_lib_save_LIBS=$LIBS
    54995027LIBS="-lstdc++  $LIBS"
    5500 cat >conftest.$ac_ext <<_ACEOF
    5501 /* confdefs.h.  */
    5502 _ACEOF
    5503 cat confdefs.h >>conftest.$ac_ext
    5504 cat >>conftest.$ac_ext <<_ACEOF
     5028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55055029/* end confdefs.h.  */
    55065030
     
    55145038}
    55155039_ACEOF
    5516 rm -f conftest.$ac_objext conftest$ac_exeext
    5517 if { (ac_try="$ac_link"
    5518 case "(($ac_try" in
    5519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5520   *) ac_try_echo=$ac_try;;
    5521 esac
    5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5523 $as_echo "$ac_try_echo") >&5
    5524   (eval "$ac_link") 2>conftest.er1
    5525   ac_status=$?
    5526   grep -v '^ *+' conftest.er1 >conftest.err
    5527   rm -f conftest.er1
    5528   cat conftest.err >&5
    5529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5530   (exit $ac_status); } && {
    5531          test -z "$ac_cxx_werror_flag" ||
    5532          test ! -s conftest.err
    5533        } && test -s conftest$ac_exeext && {
    5534          test "$cross_compiling" = yes ||
    5535          $as_test_x conftest$ac_exeext
    5536        }; then
     5040if ac_fn_cxx_try_link "$LINENO"; then :
    55375041  ac_cv_lib_stdcpp_main=yes
    55385042else
    5539   $as_echo "$as_me: failed program was:" >&5
    5540 sed 's/^/| /' conftest.$ac_ext >&5
    5541 
    5542         ac_cv_lib_stdcpp_main=no
    5543 fi
    5544 
    5545 rm -rf conftest.dSYM
    5546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5547       conftest$ac_exeext conftest.$ac_ext
     5043  ac_cv_lib_stdcpp_main=no
     5044fi
     5045rm -f core conftest.err conftest.$ac_objext \
     5046    conftest$ac_exeext conftest.$ac_ext
    55485047LIBS=$ac_check_lib_save_LIBS
    55495048fi
    5550 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    55515050$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5552 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
     5051if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    55535052  cat >>confdefs.h <<_ACEOF
    55545053#define HAVE_LIBSTDC__ 1
     
    55585057
    55595058else
    5560   { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5561 $as_echo "$as_me: error: librappture requires libstdc++" >&2;}
    5562    { (exit 1); exit 1; }; }
    5563 fi
    5564 
     5059  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     5060fi
    55655061
    55665062for ac_header in algorithm
    5567 do
    5568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5570   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5571 $as_echo_n "checking for $ac_header... " >&6; }
    5572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5573   $as_echo_n "(cached) " >&6
    5574 fi
    5575 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5576                  $as_echo "$as_val"'`
    5577                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5578 $as_echo "$ac_res" >&6; }
    5579 else
    5580   # Is the header compilable?
    5581 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5582 $as_echo_n "checking $ac_header usability... " >&6; }
    5583 cat >conftest.$ac_ext <<_ACEOF
    5584 /* confdefs.h.  */
    5585 _ACEOF
    5586 cat confdefs.h >>conftest.$ac_ext
    5587 cat >>conftest.$ac_ext <<_ACEOF
    5588 /* end confdefs.h.  */
    5589 $ac_includes_default
    5590 #include <$ac_header>
    5591 _ACEOF
    5592 rm -f conftest.$ac_objext
    5593 if { (ac_try="$ac_compile"
    5594 case "(($ac_try" in
    5595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5596   *) ac_try_echo=$ac_try;;
    5597 esac
    5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5599 $as_echo "$ac_try_echo") >&5
    5600   (eval "$ac_compile") 2>conftest.er1
    5601   ac_status=$?
    5602   grep -v '^ *+' conftest.er1 >conftest.err
    5603   rm -f conftest.er1
    5604   cat conftest.err >&5
    5605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5606   (exit $ac_status); } && {
    5607          test -z "$ac_cxx_werror_flag" ||
    5608          test ! -s conftest.err
    5609        } && test -s conftest.$ac_objext; then
    5610   ac_header_compiler=yes
    5611 else
    5612   $as_echo "$as_me: failed program was:" >&5
    5613 sed 's/^/| /' conftest.$ac_ext >&5
    5614 
    5615         ac_header_compiler=no
    5616 fi
    5617 
    5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5619 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5620 $as_echo "$ac_header_compiler" >&6; }
    5621 
    5622 # Is the header present?
    5623 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5624 $as_echo_n "checking $ac_header presence... " >&6; }
    5625 cat >conftest.$ac_ext <<_ACEOF
    5626 /* confdefs.h.  */
    5627 _ACEOF
    5628 cat confdefs.h >>conftest.$ac_ext
    5629 cat >>conftest.$ac_ext <<_ACEOF
    5630 /* end confdefs.h.  */
    5631 #include <$ac_header>
    5632 _ACEOF
    5633 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5634 case "(($ac_try" in
    5635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5636   *) ac_try_echo=$ac_try;;
    5637 esac
    5638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5639 $as_echo "$ac_try_echo") >&5
    5640   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5641   ac_status=$?
    5642   grep -v '^ *+' conftest.er1 >conftest.err
    5643   rm -f conftest.er1
    5644   cat conftest.err >&5
    5645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5646   (exit $ac_status); } >/dev/null && {
    5647          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5648          test ! -s conftest.err
    5649        }; then
    5650   ac_header_preproc=yes
    5651 else
    5652   $as_echo "$as_me: failed program was:" >&5
    5653 sed 's/^/| /' conftest.$ac_ext >&5
    5654 
    5655   ac_header_preproc=no
    5656 fi
    5657 
    5658 rm -f conftest.err conftest.$ac_ext
    5659 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5660 $as_echo "$ac_header_preproc" >&6; }
    5661 
    5662 # So?  What about this header?
    5663 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5664   yes:no: )
    5665     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5666 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5667     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5669     ac_header_preproc=yes
    5670     ;;
    5671   no:yes:* )
    5672     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5673 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5674     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5675 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5676     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5677 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5678     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5679 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5680     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5682     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5683 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5684     ( cat <<\_ASBOX
    5685 ## ----------------------------------- ##
    5686 ## Report this to rappture@nanohub.org ##
    5687 ## ----------------------------------- ##
    5688 _ASBOX
    5689      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5690     ;;
    5691 esac
    5692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5693 $as_echo_n "checking for $ac_header... " >&6; }
    5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5695   $as_echo_n "(cached) " >&6
    5696 else
    5697   eval "$as_ac_Header=\$ac_header_preproc"
    5698 fi
    5699 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5700                  $as_echo "$as_val"'`
    5701                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5702 $as_echo "$ac_res" >&6; }
    5703 
    5704 fi
    5705 as_val=`eval 'as_val=${'$as_ac_Header'}
    5706                  $as_echo "$as_val"'`
    5707    if test "x$as_val" = x""yes; then
     5063do :
     5064  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     5065if test "x$ac_cv_header_algorithm" = xyes; then :
    57085066  cat >>confdefs.h <<_ACEOF
    5709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5710 _ACEOF
    5711 
    5712 else
    5713   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5067#define HAVE_ALGORITHM 1
     5068_ACEOF
     5069
     5070else
     5071  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    57145072$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    57155073fi
     
    57175075done
    57185076
    5719 
    57205077for ac_header in cctype
    5721 do
    5722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5724   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5725 $as_echo_n "checking for $ac_header... " >&6; }
    5726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5727   $as_echo_n "(cached) " >&6
    5728 fi
    5729 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5730                  $as_echo "$as_val"'`
    5731                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5732 $as_echo "$ac_res" >&6; }
    5733 else
    5734   # Is the header compilable?
    5735 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5736 $as_echo_n "checking $ac_header usability... " >&6; }
    5737 cat >conftest.$ac_ext <<_ACEOF
    5738 /* confdefs.h.  */
    5739 _ACEOF
    5740 cat confdefs.h >>conftest.$ac_ext
    5741 cat >>conftest.$ac_ext <<_ACEOF
    5742 /* end confdefs.h.  */
    5743 $ac_includes_default
    5744 #include <$ac_header>
    5745 _ACEOF
    5746 rm -f conftest.$ac_objext
    5747 if { (ac_try="$ac_compile"
    5748 case "(($ac_try" in
    5749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5750   *) ac_try_echo=$ac_try;;
    5751 esac
    5752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5753 $as_echo "$ac_try_echo") >&5
    5754   (eval "$ac_compile") 2>conftest.er1
    5755   ac_status=$?
    5756   grep -v '^ *+' conftest.er1 >conftest.err
    5757   rm -f conftest.er1
    5758   cat conftest.err >&5
    5759   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5760   (exit $ac_status); } && {
    5761          test -z "$ac_cxx_werror_flag" ||
    5762          test ! -s conftest.err
    5763        } && test -s conftest.$ac_objext; then
    5764   ac_header_compiler=yes
    5765 else
    5766   $as_echo "$as_me: failed program was:" >&5
    5767 sed 's/^/| /' conftest.$ac_ext >&5
    5768 
    5769         ac_header_compiler=no
    5770 fi
    5771 
    5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5774 $as_echo "$ac_header_compiler" >&6; }
    5775 
    5776 # Is the header present?
    5777 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5778 $as_echo_n "checking $ac_header presence... " >&6; }
    5779 cat >conftest.$ac_ext <<_ACEOF
    5780 /* confdefs.h.  */
    5781 _ACEOF
    5782 cat confdefs.h >>conftest.$ac_ext
    5783 cat >>conftest.$ac_ext <<_ACEOF
    5784 /* end confdefs.h.  */
    5785 #include <$ac_header>
    5786 _ACEOF
    5787 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5788 case "(($ac_try" in
    5789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5790   *) ac_try_echo=$ac_try;;
    5791 esac
    5792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5793 $as_echo "$ac_try_echo") >&5
    5794   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5795   ac_status=$?
    5796   grep -v '^ *+' conftest.er1 >conftest.err
    5797   rm -f conftest.er1
    5798   cat conftest.err >&5
    5799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5800   (exit $ac_status); } >/dev/null && {
    5801          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5802          test ! -s conftest.err
    5803        }; then
    5804   ac_header_preproc=yes
    5805 else
    5806   $as_echo "$as_me: failed program was:" >&5
    5807 sed 's/^/| /' conftest.$ac_ext >&5
    5808 
    5809   ac_header_preproc=no
    5810 fi
    5811 
    5812 rm -f conftest.err conftest.$ac_ext
    5813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5814 $as_echo "$ac_header_preproc" >&6; }
    5815 
    5816 # So?  What about this header?
    5817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5818   yes:no: )
    5819     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5820 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5821     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5823     ac_header_preproc=yes
    5824     ;;
    5825   no:yes:* )
    5826     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5827 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5828     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5829 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5830     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5831 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5832     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5833 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5834     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5836     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5837 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5838     ( cat <<\_ASBOX
    5839 ## ----------------------------------- ##
    5840 ## Report this to rappture@nanohub.org ##
    5841 ## ----------------------------------- ##
    5842 _ASBOX
    5843      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5844     ;;
    5845 esac
    5846 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5847 $as_echo_n "checking for $ac_header... " >&6; }
    5848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5849   $as_echo_n "(cached) " >&6
    5850 else
    5851   eval "$as_ac_Header=\$ac_header_preproc"
    5852 fi
    5853 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5854                  $as_echo "$as_val"'`
    5855                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5856 $as_echo "$ac_res" >&6; }
    5857 
    5858 fi
    5859 as_val=`eval 'as_val=${'$as_ac_Header'}
    5860                  $as_echo "$as_val"'`
    5861    if test "x$as_val" = x""yes; then
     5078do :
     5079  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     5080if test "x$ac_cv_header_cctype" = xyes; then :
    58625081  cat >>confdefs.h <<_ACEOF
    5863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5864 _ACEOF
    5865 
    5866 else
    5867   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5082#define HAVE_CCTYPE 1
     5083_ACEOF
     5084
     5085else
     5086  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    58685087$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    58695088fi
     
    58715090done
    58725091
    5873 
    58745092for ac_header in cfloat
    5875 do
    5876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5878   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5879 $as_echo_n "checking for $ac_header... " >&6; }
    5880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5881   $as_echo_n "(cached) " >&6
    5882 fi
    5883 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5884                  $as_echo "$as_val"'`
    5885                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5886 $as_echo "$ac_res" >&6; }
    5887 else
    5888   # Is the header compilable?
    5889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5890 $as_echo_n "checking $ac_header usability... " >&6; }
    5891 cat >conftest.$ac_ext <<_ACEOF
    5892 /* confdefs.h.  */
    5893 _ACEOF
    5894 cat confdefs.h >>conftest.$ac_ext
    5895 cat >>conftest.$ac_ext <<_ACEOF
    5896 /* end confdefs.h.  */
    5897 $ac_includes_default
    5898 #include <$ac_header>
    5899 _ACEOF
    5900 rm -f conftest.$ac_objext
    5901 if { (ac_try="$ac_compile"
    5902 case "(($ac_try" in
    5903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5904   *) ac_try_echo=$ac_try;;
    5905 esac
    5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5907 $as_echo "$ac_try_echo") >&5
    5908   (eval "$ac_compile") 2>conftest.er1
    5909   ac_status=$?
    5910   grep -v '^ *+' conftest.er1 >conftest.err
    5911   rm -f conftest.er1
    5912   cat conftest.err >&5
    5913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5914   (exit $ac_status); } && {
    5915          test -z "$ac_cxx_werror_flag" ||
    5916          test ! -s conftest.err
    5917        } && test -s conftest.$ac_objext; then
    5918   ac_header_compiler=yes
    5919 else
    5920   $as_echo "$as_me: failed program was:" >&5
    5921 sed 's/^/| /' conftest.$ac_ext >&5
    5922 
    5923         ac_header_compiler=no
    5924 fi
    5925 
    5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5928 $as_echo "$ac_header_compiler" >&6; }
    5929 
    5930 # Is the header present?
    5931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5932 $as_echo_n "checking $ac_header presence... " >&6; }
    5933 cat >conftest.$ac_ext <<_ACEOF
    5934 /* confdefs.h.  */
    5935 _ACEOF
    5936 cat confdefs.h >>conftest.$ac_ext
    5937 cat >>conftest.$ac_ext <<_ACEOF
    5938 /* end confdefs.h.  */
    5939 #include <$ac_header>
    5940 _ACEOF
    5941 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5942 case "(($ac_try" in
    5943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5944   *) ac_try_echo=$ac_try;;
    5945 esac
    5946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5947 $as_echo "$ac_try_echo") >&5
    5948   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5949   ac_status=$?
    5950   grep -v '^ *+' conftest.er1 >conftest.err
    5951   rm -f conftest.er1
    5952   cat conftest.err >&5
    5953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5954   (exit $ac_status); } >/dev/null && {
    5955          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5956          test ! -s conftest.err
    5957        }; then
    5958   ac_header_preproc=yes
    5959 else
    5960   $as_echo "$as_me: failed program was:" >&5
    5961 sed 's/^/| /' conftest.$ac_ext >&5
    5962 
    5963   ac_header_preproc=no
    5964 fi
    5965 
    5966 rm -f conftest.err conftest.$ac_ext
    5967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5968 $as_echo "$ac_header_preproc" >&6; }
    5969 
    5970 # So?  What about this header?
    5971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5972   yes:no: )
    5973     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5975     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5977     ac_header_preproc=yes
    5978     ;;
    5979   no:yes:* )
    5980     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5982     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5983 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5984     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5986     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5987 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5988     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5990     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5992     ( cat <<\_ASBOX
    5993 ## ----------------------------------- ##
    5994 ## Report this to rappture@nanohub.org ##
    5995 ## ----------------------------------- ##
    5996 _ASBOX
    5997      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5998     ;;
    5999 esac
    6000 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6001 $as_echo_n "checking for $ac_header... " >&6; }
    6002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6003   $as_echo_n "(cached) " >&6
    6004 else
    6005   eval "$as_ac_Header=\$ac_header_preproc"
    6006 fi
    6007 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6008                  $as_echo "$as_val"'`
    6009                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6010 $as_echo "$ac_res" >&6; }
    6011 
    6012 fi
    6013 as_val=`eval 'as_val=${'$as_ac_Header'}
    6014                  $as_echo "$as_val"'`
    6015    if test "x$as_val" = x""yes; then
     5093do :
     5094  ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
     5095if test "x$ac_cv_header_cfloat" = xyes; then :
    60165096  cat >>confdefs.h <<_ACEOF
    6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6018 _ACEOF
    6019 
    6020 else
    6021   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5097#define HAVE_CFLOAT 1
     5098_ACEOF
     5099
     5100else
     5101  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    60225102$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    60235103fi
     
    60255105done
    60265106
    6027 
    60285107for ac_header in cmath
    6029 do
    6030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6032   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6033 $as_echo_n "checking for $ac_header... " >&6; }
    6034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6035   $as_echo_n "(cached) " >&6
    6036 fi
    6037 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6038                  $as_echo "$as_val"'`
    6039                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6040 $as_echo "$ac_res" >&6; }
    6041 else
    6042   # Is the header compilable?
    6043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6044 $as_echo_n "checking $ac_header usability... " >&6; }
    6045 cat >conftest.$ac_ext <<_ACEOF
    6046 /* confdefs.h.  */
    6047 _ACEOF
    6048 cat confdefs.h >>conftest.$ac_ext
    6049 cat >>conftest.$ac_ext <<_ACEOF
    6050 /* end confdefs.h.  */
    6051 $ac_includes_default
    6052 #include <$ac_header>
    6053 _ACEOF
    6054 rm -f conftest.$ac_objext
    6055 if { (ac_try="$ac_compile"
    6056 case "(($ac_try" in
    6057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6058   *) ac_try_echo=$ac_try;;
    6059 esac
    6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6061 $as_echo "$ac_try_echo") >&5
    6062   (eval "$ac_compile") 2>conftest.er1
    6063   ac_status=$?
    6064   grep -v '^ *+' conftest.er1 >conftest.err
    6065   rm -f conftest.er1
    6066   cat conftest.err >&5
    6067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6068   (exit $ac_status); } && {
    6069          test -z "$ac_cxx_werror_flag" ||
    6070          test ! -s conftest.err
    6071        } && test -s conftest.$ac_objext; then
    6072   ac_header_compiler=yes
    6073 else
    6074   $as_echo "$as_me: failed program was:" >&5
    6075 sed 's/^/| /' conftest.$ac_ext >&5
    6076 
    6077         ac_header_compiler=no
    6078 fi
    6079 
    6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6081 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6082 $as_echo "$ac_header_compiler" >&6; }
    6083 
    6084 # Is the header present?
    6085 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6086 $as_echo_n "checking $ac_header presence... " >&6; }
    6087 cat >conftest.$ac_ext <<_ACEOF
    6088 /* confdefs.h.  */
    6089 _ACEOF
    6090 cat confdefs.h >>conftest.$ac_ext
    6091 cat >>conftest.$ac_ext <<_ACEOF
    6092 /* end confdefs.h.  */
    6093 #include <$ac_header>
    6094 _ACEOF
    6095 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6096 case "(($ac_try" in
    6097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6098   *) ac_try_echo=$ac_try;;
    6099 esac
    6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6101 $as_echo "$ac_try_echo") >&5
    6102   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6103   ac_status=$?
    6104   grep -v '^ *+' conftest.er1 >conftest.err
    6105   rm -f conftest.er1
    6106   cat conftest.err >&5
    6107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6108   (exit $ac_status); } >/dev/null && {
    6109          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6110          test ! -s conftest.err
    6111        }; then
    6112   ac_header_preproc=yes
    6113 else
    6114   $as_echo "$as_me: failed program was:" >&5
    6115 sed 's/^/| /' conftest.$ac_ext >&5
    6116 
    6117   ac_header_preproc=no
    6118 fi
    6119 
    6120 rm -f conftest.err conftest.$ac_ext
    6121 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6122 $as_echo "$ac_header_preproc" >&6; }
    6123 
    6124 # So?  What about this header?
    6125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6126   yes:no: )
    6127     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6128 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6129     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6130 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6131     ac_header_preproc=yes
    6132     ;;
    6133   no:yes:* )
    6134     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6135 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6136     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6137 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6138     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6139 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6140     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6141 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6142     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6143 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6144     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6145 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6146     ( cat <<\_ASBOX
    6147 ## ----------------------------------- ##
    6148 ## Report this to rappture@nanohub.org ##
    6149 ## ----------------------------------- ##
    6150 _ASBOX
    6151      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6152     ;;
    6153 esac
    6154 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6155 $as_echo_n "checking for $ac_header... " >&6; }
    6156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6157   $as_echo_n "(cached) " >&6
    6158 else
    6159   eval "$as_ac_Header=\$ac_header_preproc"
    6160 fi
    6161 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6162                  $as_echo "$as_val"'`
    6163                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6164 $as_echo "$ac_res" >&6; }
    6165 
    6166 fi
    6167 as_val=`eval 'as_val=${'$as_ac_Header'}
    6168                  $as_echo "$as_val"'`
    6169    if test "x$as_val" = x""yes; then
     5108do :
     5109  ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
     5110if test "x$ac_cv_header_cmath" = xyes; then :
    61705111  cat >>confdefs.h <<_ACEOF
    6171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6172 _ACEOF
    6173 
    6174 else
    6175   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5112#define HAVE_CMATH 1
     5113_ACEOF
     5114
     5115else
     5116  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    61765117$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    61775118fi
     
    61795120done
    61805121
    6181 
    61825122for ac_header in cstdio
    6183 do
    6184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6186   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6187 $as_echo_n "checking for $ac_header... " >&6; }
    6188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6189   $as_echo_n "(cached) " >&6
    6190 fi
    6191 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6192                  $as_echo "$as_val"'`
    6193                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6194 $as_echo "$ac_res" >&6; }
    6195 else
    6196   # Is the header compilable?
    6197 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6198 $as_echo_n "checking $ac_header usability... " >&6; }
    6199 cat >conftest.$ac_ext <<_ACEOF
    6200 /* confdefs.h.  */
    6201 _ACEOF
    6202 cat confdefs.h >>conftest.$ac_ext
    6203 cat >>conftest.$ac_ext <<_ACEOF
    6204 /* end confdefs.h.  */
    6205 $ac_includes_default
    6206 #include <$ac_header>
    6207 _ACEOF
    6208 rm -f conftest.$ac_objext
    6209 if { (ac_try="$ac_compile"
    6210 case "(($ac_try" in
    6211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6212   *) ac_try_echo=$ac_try;;
    6213 esac
    6214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6215 $as_echo "$ac_try_echo") >&5
    6216   (eval "$ac_compile") 2>conftest.er1
    6217   ac_status=$?
    6218   grep -v '^ *+' conftest.er1 >conftest.err
    6219   rm -f conftest.er1
    6220   cat conftest.err >&5
    6221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6222   (exit $ac_status); } && {
    6223          test -z "$ac_cxx_werror_flag" ||
    6224          test ! -s conftest.err
    6225        } && test -s conftest.$ac_objext; then
    6226   ac_header_compiler=yes
    6227 else
    6228   $as_echo "$as_me: failed program was:" >&5
    6229 sed 's/^/| /' conftest.$ac_ext >&5
    6230 
    6231         ac_header_compiler=no
    6232 fi
    6233 
    6234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6235 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6236 $as_echo "$ac_header_compiler" >&6; }
    6237 
    6238 # Is the header present?
    6239 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6240 $as_echo_n "checking $ac_header presence... " >&6; }
    6241 cat >conftest.$ac_ext <<_ACEOF
    6242 /* confdefs.h.  */
    6243 _ACEOF
    6244 cat confdefs.h >>conftest.$ac_ext
    6245 cat >>conftest.$ac_ext <<_ACEOF
    6246 /* end confdefs.h.  */
    6247 #include <$ac_header>
    6248 _ACEOF
    6249 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6250 case "(($ac_try" in
    6251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6252   *) ac_try_echo=$ac_try;;
    6253 esac
    6254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6255 $as_echo "$ac_try_echo") >&5
    6256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6257   ac_status=$?
    6258   grep -v '^ *+' conftest.er1 >conftest.err
    6259   rm -f conftest.er1
    6260   cat conftest.err >&5
    6261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6262   (exit $ac_status); } >/dev/null && {
    6263          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6264          test ! -s conftest.err
    6265        }; then
    6266   ac_header_preproc=yes
    6267 else
    6268   $as_echo "$as_me: failed program was:" >&5
    6269 sed 's/^/| /' conftest.$ac_ext >&5
    6270 
    6271   ac_header_preproc=no
    6272 fi
    6273 
    6274 rm -f conftest.err conftest.$ac_ext
    6275 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6276 $as_echo "$ac_header_preproc" >&6; }
    6277 
    6278 # So?  What about this header?
    6279 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6280   yes:no: )
    6281     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6282 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6283     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6284 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6285     ac_header_preproc=yes
    6286     ;;
    6287   no:yes:* )
    6288     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6289 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6290     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6291 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6292     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6293 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6294     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6295 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6296     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6297 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6298     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6299 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6300     ( cat <<\_ASBOX
    6301 ## ----------------------------------- ##
    6302 ## Report this to rappture@nanohub.org ##
    6303 ## ----------------------------------- ##
    6304 _ASBOX
    6305      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6306     ;;
    6307 esac
    6308 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6309 $as_echo_n "checking for $ac_header... " >&6; }
    6310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6311   $as_echo_n "(cached) " >&6
    6312 else
    6313   eval "$as_ac_Header=\$ac_header_preproc"
    6314 fi
    6315 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6316                  $as_echo "$as_val"'`
    6317                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6318 $as_echo "$ac_res" >&6; }
    6319 
    6320 fi
    6321 as_val=`eval 'as_val=${'$as_ac_Header'}
    6322                  $as_echo "$as_val"'`
    6323    if test "x$as_val" = x""yes; then
     5123do :
     5124  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default"
     5125if test "x$ac_cv_header_cstdio" = xyes; then :
    63245126  cat >>confdefs.h <<_ACEOF
    6325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6326 _ACEOF
    6327 
    6328 else
    6329   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5127#define HAVE_CSTDIO 1
     5128_ACEOF
     5129
     5130else
     5131  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    63305132$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    63315133fi
     
    63335135done
    63345136
    6335 
    63365137for ac_header in cstdlib
    6337 do
    6338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6340   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6341 $as_echo_n "checking for $ac_header... " >&6; }
    6342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6343   $as_echo_n "(cached) " >&6
    6344 fi
    6345 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6346                  $as_echo "$as_val"'`
    6347                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6348 $as_echo "$ac_res" >&6; }
    6349 else
    6350   # Is the header compilable?
    6351 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6352 $as_echo_n "checking $ac_header usability... " >&6; }
    6353 cat >conftest.$ac_ext <<_ACEOF
    6354 /* confdefs.h.  */
    6355 _ACEOF
    6356 cat confdefs.h >>conftest.$ac_ext
    6357 cat >>conftest.$ac_ext <<_ACEOF
    6358 /* end confdefs.h.  */
    6359 $ac_includes_default
    6360 #include <$ac_header>
    6361 _ACEOF
    6362 rm -f conftest.$ac_objext
    6363 if { (ac_try="$ac_compile"
    6364 case "(($ac_try" in
    6365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6366   *) ac_try_echo=$ac_try;;
    6367 esac
    6368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6369 $as_echo "$ac_try_echo") >&5
    6370   (eval "$ac_compile") 2>conftest.er1
    6371   ac_status=$?
    6372   grep -v '^ *+' conftest.er1 >conftest.err
    6373   rm -f conftest.er1
    6374   cat conftest.err >&5
    6375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6376   (exit $ac_status); } && {
    6377          test -z "$ac_cxx_werror_flag" ||
    6378          test ! -s conftest.err
    6379        } && test -s conftest.$ac_objext; then
    6380   ac_header_compiler=yes
    6381 else
    6382   $as_echo "$as_me: failed program was:" >&5
    6383 sed 's/^/| /' conftest.$ac_ext >&5
    6384 
    6385         ac_header_compiler=no
    6386 fi
    6387 
    6388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6389 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6390 $as_echo "$ac_header_compiler" >&6; }
    6391 
    6392 # Is the header present?
    6393 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6394 $as_echo_n "checking $ac_header presence... " >&6; }
    6395 cat >conftest.$ac_ext <<_ACEOF
    6396 /* confdefs.h.  */
    6397 _ACEOF
    6398 cat confdefs.h >>conftest.$ac_ext
    6399 cat >>conftest.$ac_ext <<_ACEOF
    6400 /* end confdefs.h.  */
    6401 #include <$ac_header>
    6402 _ACEOF
    6403 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6404 case "(($ac_try" in
    6405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6406   *) ac_try_echo=$ac_try;;
    6407 esac
    6408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6409 $as_echo "$ac_try_echo") >&5
    6410   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6411   ac_status=$?
    6412   grep -v '^ *+' conftest.er1 >conftest.err
    6413   rm -f conftest.er1
    6414   cat conftest.err >&5
    6415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6416   (exit $ac_status); } >/dev/null && {
    6417          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6418          test ! -s conftest.err
    6419        }; then
    6420   ac_header_preproc=yes
    6421 else
    6422   $as_echo "$as_me: failed program was:" >&5
    6423 sed 's/^/| /' conftest.$ac_ext >&5
    6424 
    6425   ac_header_preproc=no
    6426 fi
    6427 
    6428 rm -f conftest.err conftest.$ac_ext
    6429 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6430 $as_echo "$ac_header_preproc" >&6; }
    6431 
    6432 # So?  What about this header?
    6433 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6434   yes:no: )
    6435     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6436 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6437     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6438 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6439     ac_header_preproc=yes
    6440     ;;
    6441   no:yes:* )
    6442     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6443 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6444     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6445 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6446     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6447 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6448     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6449 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6450     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6451 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6452     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6453 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6454     ( cat <<\_ASBOX
    6455 ## ----------------------------------- ##
    6456 ## Report this to rappture@nanohub.org ##
    6457 ## ----------------------------------- ##
    6458 _ASBOX
    6459      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6460     ;;
    6461 esac
    6462 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6463 $as_echo_n "checking for $ac_header... " >&6; }
    6464 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6465   $as_echo_n "(cached) " >&6
    6466 else
    6467   eval "$as_ac_Header=\$ac_header_preproc"
    6468 fi
    6469 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6470                  $as_echo "$as_val"'`
    6471                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6472 $as_echo "$ac_res" >&6; }
    6473 
    6474 fi
    6475 as_val=`eval 'as_val=${'$as_ac_Header'}
    6476                  $as_echo "$as_val"'`
    6477    if test "x$as_val" = x""yes; then
     5138do :
     5139  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default"
     5140if test "x$ac_cv_header_cstdlib" = xyes; then :
    64785141  cat >>confdefs.h <<_ACEOF
    6479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6480 _ACEOF
    6481 
    6482 else
    6483   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5142#define HAVE_CSTDLIB 1
     5143_ACEOF
     5144
     5145else
     5146  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    64845147$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    64855148fi
     
    64875150done
    64885151
    6489 
    64905152for ac_header in cstring
    6491 do
    6492 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6493 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6494   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6495 $as_echo_n "checking for $ac_header... " >&6; }
    6496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6497   $as_echo_n "(cached) " >&6
    6498 fi
    6499 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6500                  $as_echo "$as_val"'`
    6501                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6502 $as_echo "$ac_res" >&6; }
    6503 else
    6504   # Is the header compilable?
    6505 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6506 $as_echo_n "checking $ac_header usability... " >&6; }
    6507 cat >conftest.$ac_ext <<_ACEOF
    6508 /* confdefs.h.  */
    6509 _ACEOF
    6510 cat confdefs.h >>conftest.$ac_ext
    6511 cat >>conftest.$ac_ext <<_ACEOF
    6512 /* end confdefs.h.  */
    6513 $ac_includes_default
    6514 #include <$ac_header>
    6515 _ACEOF
    6516 rm -f conftest.$ac_objext
    6517 if { (ac_try="$ac_compile"
    6518 case "(($ac_try" in
    6519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6520   *) ac_try_echo=$ac_try;;
    6521 esac
    6522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6523 $as_echo "$ac_try_echo") >&5
    6524   (eval "$ac_compile") 2>conftest.er1
    6525   ac_status=$?
    6526   grep -v '^ *+' conftest.er1 >conftest.err
    6527   rm -f conftest.er1
    6528   cat conftest.err >&5
    6529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6530   (exit $ac_status); } && {
    6531          test -z "$ac_cxx_werror_flag" ||
    6532          test ! -s conftest.err
    6533        } && test -s conftest.$ac_objext; then
    6534   ac_header_compiler=yes
    6535 else
    6536   $as_echo "$as_me: failed program was:" >&5
    6537 sed 's/^/| /' conftest.$ac_ext >&5
    6538 
    6539         ac_header_compiler=no
    6540 fi
    6541 
    6542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6543 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6544 $as_echo "$ac_header_compiler" >&6; }
    6545 
    6546 # Is the header present?
    6547 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6548 $as_echo_n "checking $ac_header presence... " >&6; }
    6549 cat >conftest.$ac_ext <<_ACEOF
    6550 /* confdefs.h.  */
    6551 _ACEOF
    6552 cat confdefs.h >>conftest.$ac_ext
    6553 cat >>conftest.$ac_ext <<_ACEOF
    6554 /* end confdefs.h.  */
    6555 #include <$ac_header>
    6556 _ACEOF
    6557 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6558 case "(($ac_try" in
    6559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6560   *) ac_try_echo=$ac_try;;
    6561 esac
    6562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6563 $as_echo "$ac_try_echo") >&5
    6564   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6565   ac_status=$?
    6566   grep -v '^ *+' conftest.er1 >conftest.err
    6567   rm -f conftest.er1
    6568   cat conftest.err >&5
    6569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6570   (exit $ac_status); } >/dev/null && {
    6571          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6572          test ! -s conftest.err
    6573        }; then
    6574   ac_header_preproc=yes
    6575 else
    6576   $as_echo "$as_me: failed program was:" >&5
    6577 sed 's/^/| /' conftest.$ac_ext >&5
    6578 
    6579   ac_header_preproc=no
    6580 fi
    6581 
    6582 rm -f conftest.err conftest.$ac_ext
    6583 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6584 $as_echo "$ac_header_preproc" >&6; }
    6585 
    6586 # So?  What about this header?
    6587 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6588   yes:no: )
    6589     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6590 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6591     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6592 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6593     ac_header_preproc=yes
    6594     ;;
    6595   no:yes:* )
    6596     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6597 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6598     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6599 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6600     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6601 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6602     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6603 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6604     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6605 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6606     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6607 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6608     ( cat <<\_ASBOX
    6609 ## ----------------------------------- ##
    6610 ## Report this to rappture@nanohub.org ##
    6611 ## ----------------------------------- ##
    6612 _ASBOX
    6613      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6614     ;;
    6615 esac
    6616 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6617 $as_echo_n "checking for $ac_header... " >&6; }
    6618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6619   $as_echo_n "(cached) " >&6
    6620 else
    6621   eval "$as_ac_Header=\$ac_header_preproc"
    6622 fi
    6623 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6624                  $as_echo "$as_val"'`
    6625                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6626 $as_echo "$ac_res" >&6; }
    6627 
    6628 fi
    6629 as_val=`eval 'as_val=${'$as_ac_Header'}
    6630                  $as_echo "$as_val"'`
    6631    if test "x$as_val" = x""yes; then
     5153do :
     5154  ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default"
     5155if test "x$ac_cv_header_cstring" = xyes; then :
    66325156  cat >>confdefs.h <<_ACEOF
    6633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6634 _ACEOF
    6635 
    6636 else
    6637   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5157#define HAVE_CSTRING 1
     5158_ACEOF
     5159
     5160else
     5161  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    66385162$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    66395163fi
     
    66415165done
    66425166
    6643 
    66445167for ac_header in fstream
    6645 do
    6646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6648   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6649 $as_echo_n "checking for $ac_header... " >&6; }
    6650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6651   $as_echo_n "(cached) " >&6
    6652 fi
    6653 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6654                  $as_echo "$as_val"'`
    6655                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6656 $as_echo "$ac_res" >&6; }
    6657 else
    6658   # Is the header compilable?
    6659 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6660 $as_echo_n "checking $ac_header usability... " >&6; }
    6661 cat >conftest.$ac_ext <<_ACEOF
    6662 /* confdefs.h.  */
    6663 _ACEOF
    6664 cat confdefs.h >>conftest.$ac_ext
    6665 cat >>conftest.$ac_ext <<_ACEOF
    6666 /* end confdefs.h.  */
    6667 $ac_includes_default
    6668 #include <$ac_header>
    6669 _ACEOF
    6670 rm -f conftest.$ac_objext
    6671 if { (ac_try="$ac_compile"
    6672 case "(($ac_try" in
    6673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6674   *) ac_try_echo=$ac_try;;
    6675 esac
    6676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6677 $as_echo "$ac_try_echo") >&5
    6678   (eval "$ac_compile") 2>conftest.er1
    6679   ac_status=$?
    6680   grep -v '^ *+' conftest.er1 >conftest.err
    6681   rm -f conftest.er1
    6682   cat conftest.err >&5
    6683   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6684   (exit $ac_status); } && {
    6685          test -z "$ac_cxx_werror_flag" ||
    6686          test ! -s conftest.err
    6687        } && test -s conftest.$ac_objext; then
    6688   ac_header_compiler=yes
    6689 else
    6690   $as_echo "$as_me: failed program was:" >&5
    6691 sed 's/^/| /' conftest.$ac_ext >&5
    6692 
    6693         ac_header_compiler=no
    6694 fi
    6695 
    6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6697 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6698 $as_echo "$ac_header_compiler" >&6; }
    6699 
    6700 # Is the header present?
    6701 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6702 $as_echo_n "checking $ac_header presence... " >&6; }
    6703 cat >conftest.$ac_ext <<_ACEOF
    6704 /* confdefs.h.  */
    6705 _ACEOF
    6706 cat confdefs.h >>conftest.$ac_ext
    6707 cat >>conftest.$ac_ext <<_ACEOF
    6708 /* end confdefs.h.  */
    6709 #include <$ac_header>
    6710 _ACEOF
    6711 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6712 case "(($ac_try" in
    6713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6714   *) ac_try_echo=$ac_try;;
    6715 esac
    6716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6717 $as_echo "$ac_try_echo") >&5
    6718   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6719   ac_status=$?
    6720   grep -v '^ *+' conftest.er1 >conftest.err
    6721   rm -f conftest.er1
    6722   cat conftest.err >&5
    6723   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6724   (exit $ac_status); } >/dev/null && {
    6725          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6726          test ! -s conftest.err
    6727        }; then
    6728   ac_header_preproc=yes
    6729 else
    6730   $as_echo "$as_me: failed program was:" >&5
    6731 sed 's/^/| /' conftest.$ac_ext >&5
    6732 
    6733   ac_header_preproc=no
    6734 fi
    6735 
    6736 rm -f conftest.err conftest.$ac_ext
    6737 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6738 $as_echo "$ac_header_preproc" >&6; }
    6739 
    6740 # So?  What about this header?
    6741 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6742   yes:no: )
    6743     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6744 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6745     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6746 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6747     ac_header_preproc=yes
    6748     ;;
    6749   no:yes:* )
    6750     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6751 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6752     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6753 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6754     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6755 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6756     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6757 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6758     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6759 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6760     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6761 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6762     ( cat <<\_ASBOX
    6763 ## ----------------------------------- ##
    6764 ## Report this to rappture@nanohub.org ##
    6765 ## ----------------------------------- ##
    6766 _ASBOX
    6767      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6768     ;;
    6769 esac
    6770 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6771 $as_echo_n "checking for $ac_header... " >&6; }
    6772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6773   $as_echo_n "(cached) " >&6
    6774 else
    6775   eval "$as_ac_Header=\$ac_header_preproc"
    6776 fi
    6777 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6778                  $as_echo "$as_val"'`
    6779                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6780 $as_echo "$ac_res" >&6; }
    6781 
    6782 fi
    6783 as_val=`eval 'as_val=${'$as_ac_Header'}
    6784                  $as_echo "$as_val"'`
    6785    if test "x$as_val" = x""yes; then
     5168do :
     5169  ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default"
     5170if test "x$ac_cv_header_fstream" = xyes; then :
    67865171  cat >>confdefs.h <<_ACEOF
    6787 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6788 _ACEOF
    6789 
    6790 else
    6791   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5172#define HAVE_FSTREAM 1
     5173_ACEOF
     5174
     5175else
     5176  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    67925177$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    67935178fi
     
    67955180done
    67965181
    6797 
    67985182for ac_header in list
    6799 do
    6800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6802   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6803 $as_echo_n "checking for $ac_header... " >&6; }
    6804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6805   $as_echo_n "(cached) " >&6
    6806 fi
    6807 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6808                  $as_echo "$as_val"'`
    6809                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6810 $as_echo "$ac_res" >&6; }
    6811 else
    6812   # Is the header compilable?
    6813 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6814 $as_echo_n "checking $ac_header usability... " >&6; }
    6815 cat >conftest.$ac_ext <<_ACEOF
    6816 /* confdefs.h.  */
    6817 _ACEOF
    6818 cat confdefs.h >>conftest.$ac_ext
    6819 cat >>conftest.$ac_ext <<_ACEOF
    6820 /* end confdefs.h.  */
    6821 $ac_includes_default
    6822 #include <$ac_header>
    6823 _ACEOF
    6824 rm -f conftest.$ac_objext
    6825 if { (ac_try="$ac_compile"
    6826 case "(($ac_try" in
    6827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6828   *) ac_try_echo=$ac_try;;
    6829 esac
    6830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6831 $as_echo "$ac_try_echo") >&5
    6832   (eval "$ac_compile") 2>conftest.er1
    6833   ac_status=$?
    6834   grep -v '^ *+' conftest.er1 >conftest.err
    6835   rm -f conftest.er1
    6836   cat conftest.err >&5
    6837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6838   (exit $ac_status); } && {
    6839          test -z "$ac_cxx_werror_flag" ||
    6840          test ! -s conftest.err
    6841        } && test -s conftest.$ac_objext; then
    6842   ac_header_compiler=yes
    6843 else
    6844   $as_echo "$as_me: failed program was:" >&5
    6845 sed 's/^/| /' conftest.$ac_ext >&5
    6846 
    6847         ac_header_compiler=no
    6848 fi
    6849 
    6850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6851 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6852 $as_echo "$ac_header_compiler" >&6; }
    6853 
    6854 # Is the header present?
    6855 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6856 $as_echo_n "checking $ac_header presence... " >&6; }
    6857 cat >conftest.$ac_ext <<_ACEOF
    6858 /* confdefs.h.  */
    6859 _ACEOF
    6860 cat confdefs.h >>conftest.$ac_ext
    6861 cat >>conftest.$ac_ext <<_ACEOF
    6862 /* end confdefs.h.  */
    6863 #include <$ac_header>
    6864 _ACEOF
    6865 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6866 case "(($ac_try" in
    6867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6868   *) ac_try_echo=$ac_try;;
    6869 esac
    6870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6871 $as_echo "$ac_try_echo") >&5
    6872   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6873   ac_status=$?
    6874   grep -v '^ *+' conftest.er1 >conftest.err
    6875   rm -f conftest.er1
    6876   cat conftest.err >&5
    6877   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6878   (exit $ac_status); } >/dev/null && {
    6879          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6880          test ! -s conftest.err
    6881        }; then
    6882   ac_header_preproc=yes
    6883 else
    6884   $as_echo "$as_me: failed program was:" >&5
    6885 sed 's/^/| /' conftest.$ac_ext >&5
    6886 
    6887   ac_header_preproc=no
    6888 fi
    6889 
    6890 rm -f conftest.err conftest.$ac_ext
    6891 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6892 $as_echo "$ac_header_preproc" >&6; }
    6893 
    6894 # So?  What about this header?
    6895 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6896   yes:no: )
    6897     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6898 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6899     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6900 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6901     ac_header_preproc=yes
    6902     ;;
    6903   no:yes:* )
    6904     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6905 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6906     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6907 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6908     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6909 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6910     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6911 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6912     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6913 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6914     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6915 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6916     ( cat <<\_ASBOX
    6917 ## ----------------------------------- ##
    6918 ## Report this to rappture@nanohub.org ##
    6919 ## ----------------------------------- ##
    6920 _ASBOX
    6921      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6922     ;;
    6923 esac
    6924 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6925 $as_echo_n "checking for $ac_header... " >&6; }
    6926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6927   $as_echo_n "(cached) " >&6
    6928 else
    6929   eval "$as_ac_Header=\$ac_header_preproc"
    6930 fi
    6931 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6932                  $as_echo "$as_val"'`
    6933                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6934 $as_echo "$ac_res" >&6; }
    6935 
    6936 fi
    6937 as_val=`eval 'as_val=${'$as_ac_Header'}
    6938                  $as_echo "$as_val"'`
    6939    if test "x$as_val" = x""yes; then
     5183do :
     5184  ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default"
     5185if test "x$ac_cv_header_list" = xyes; then :
    69405186  cat >>confdefs.h <<_ACEOF
    6941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6942 _ACEOF
    6943 
    6944 else
    6945   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5187#define HAVE_LIST 1
     5188_ACEOF
     5189
     5190else
     5191  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    69465192$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    69475193fi
     
    69495195done
    69505196
    6951 
    69525197for ac_header in iostream
    6953 do
    6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6956   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6957 $as_echo_n "checking for $ac_header... " >&6; }
    6958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6959   $as_echo_n "(cached) " >&6
    6960 fi
    6961 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6962                  $as_echo "$as_val"'`
    6963                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6964 $as_echo "$ac_res" >&6; }
    6965 else
    6966   # Is the header compilable?
    6967 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6968 $as_echo_n "checking $ac_header usability... " >&6; }
    6969 cat >conftest.$ac_ext <<_ACEOF
    6970 /* confdefs.h.  */
    6971 _ACEOF
    6972 cat confdefs.h >>conftest.$ac_ext
    6973 cat >>conftest.$ac_ext <<_ACEOF
    6974 /* end confdefs.h.  */
    6975 $ac_includes_default
    6976 #include <$ac_header>
    6977 _ACEOF
    6978 rm -f conftest.$ac_objext
    6979 if { (ac_try="$ac_compile"
    6980 case "(($ac_try" in
    6981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6982   *) ac_try_echo=$ac_try;;
    6983 esac
    6984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6985 $as_echo "$ac_try_echo") >&5
    6986   (eval "$ac_compile") 2>conftest.er1
    6987   ac_status=$?
    6988   grep -v '^ *+' conftest.er1 >conftest.err
    6989   rm -f conftest.er1
    6990   cat conftest.err >&5
    6991   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6992   (exit $ac_status); } && {
    6993          test -z "$ac_cxx_werror_flag" ||
    6994          test ! -s conftest.err
    6995        } && test -s conftest.$ac_objext; then
    6996   ac_header_compiler=yes
    6997 else
    6998   $as_echo "$as_me: failed program was:" >&5
    6999 sed 's/^/| /' conftest.$ac_ext >&5
    7000 
    7001         ac_header_compiler=no
    7002 fi
    7003 
    7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7005 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7006 $as_echo "$ac_header_compiler" >&6; }
    7007 
    7008 # Is the header present?
    7009 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7010 $as_echo_n "checking $ac_header presence... " >&6; }
    7011 cat >conftest.$ac_ext <<_ACEOF
    7012 /* confdefs.h.  */
    7013 _ACEOF
    7014 cat confdefs.h >>conftest.$ac_ext
    7015 cat >>conftest.$ac_ext <<_ACEOF
    7016 /* end confdefs.h.  */
    7017 #include <$ac_header>
    7018 _ACEOF
    7019 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7020 case "(($ac_try" in
    7021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7022   *) ac_try_echo=$ac_try;;
    7023 esac
    7024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7025 $as_echo "$ac_try_echo") >&5
    7026   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7027   ac_status=$?
    7028   grep -v '^ *+' conftest.er1 >conftest.err
    7029   rm -f conftest.er1
    7030   cat conftest.err >&5
    7031   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7032   (exit $ac_status); } >/dev/null && {
    7033          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7034          test ! -s conftest.err
    7035        }; then
    7036   ac_header_preproc=yes
    7037 else
    7038   $as_echo "$as_me: failed program was:" >&5
    7039 sed 's/^/| /' conftest.$ac_ext >&5
    7040 
    7041   ac_header_preproc=no
    7042 fi
    7043 
    7044 rm -f conftest.err conftest.$ac_ext
    7045 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7046 $as_echo "$ac_header_preproc" >&6; }
    7047 
    7048 # So?  What about this header?
    7049 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7050   yes:no: )
    7051     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7052 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7053     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7054 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7055     ac_header_preproc=yes
    7056     ;;
    7057   no:yes:* )
    7058     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7059 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7060     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7061 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7062     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7063 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7064     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7065 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7066     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7067 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7068     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7069 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7070     ( cat <<\_ASBOX
    7071 ## ----------------------------------- ##
    7072 ## Report this to rappture@nanohub.org ##
    7073 ## ----------------------------------- ##
    7074 _ASBOX
    7075      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7076     ;;
    7077 esac
    7078 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7079 $as_echo_n "checking for $ac_header... " >&6; }
    7080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7081   $as_echo_n "(cached) " >&6
    7082 else
    7083   eval "$as_ac_Header=\$ac_header_preproc"
    7084 fi
    7085 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7086                  $as_echo "$as_val"'`
    7087                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7088 $as_echo "$ac_res" >&6; }
    7089 
    7090 fi
    7091 as_val=`eval 'as_val=${'$as_ac_Header'}
    7092                  $as_echo "$as_val"'`
    7093    if test "x$as_val" = x""yes; then
     5198do :
     5199  ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
     5200if test "x$ac_cv_header_iostream" = xyes; then :
    70945201  cat >>confdefs.h <<_ACEOF
    7095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7096 _ACEOF
    7097 
    7098 else
    7099   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5202#define HAVE_IOSTREAM 1
     5203_ACEOF
     5204
     5205else
     5206  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    71005207$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    71015208fi
     
    71035210done
    71045211
    7105 
    71065212for ac_header in iterator
    7107 do
    7108 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7110   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7111 $as_echo_n "checking for $ac_header... " >&6; }
    7112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7113   $as_echo_n "(cached) " >&6
    7114 fi
    7115 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7116                  $as_echo "$as_val"'`
    7117                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7118 $as_echo "$ac_res" >&6; }
    7119 else
    7120   # Is the header compilable?
    7121 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7122 $as_echo_n "checking $ac_header usability... " >&6; }
    7123 cat >conftest.$ac_ext <<_ACEOF
    7124 /* confdefs.h.  */
    7125 _ACEOF
    7126 cat confdefs.h >>conftest.$ac_ext
    7127 cat >>conftest.$ac_ext <<_ACEOF
    7128 /* end confdefs.h.  */
    7129 $ac_includes_default
    7130 #include <$ac_header>
    7131 _ACEOF
    7132 rm -f conftest.$ac_objext
    7133 if { (ac_try="$ac_compile"
    7134 case "(($ac_try" in
    7135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7136   *) ac_try_echo=$ac_try;;
    7137 esac
    7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7139 $as_echo "$ac_try_echo") >&5
    7140   (eval "$ac_compile") 2>conftest.er1
    7141   ac_status=$?
    7142   grep -v '^ *+' conftest.er1 >conftest.err
    7143   rm -f conftest.er1
    7144   cat conftest.err >&5
    7145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7146   (exit $ac_status); } && {
    7147          test -z "$ac_cxx_werror_flag" ||
    7148          test ! -s conftest.err
    7149        } && test -s conftest.$ac_objext; then
    7150   ac_header_compiler=yes
    7151 else
    7152   $as_echo "$as_me: failed program was:" >&5
    7153 sed 's/^/| /' conftest.$ac_ext >&5
    7154 
    7155         ac_header_compiler=no
    7156 fi
    7157 
    7158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7160 $as_echo "$ac_header_compiler" >&6; }
    7161 
    7162 # Is the header present?
    7163 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7164 $as_echo_n "checking $ac_header presence... " >&6; }
    7165 cat >conftest.$ac_ext <<_ACEOF
    7166 /* confdefs.h.  */
    7167 _ACEOF
    7168 cat confdefs.h >>conftest.$ac_ext
    7169 cat >>conftest.$ac_ext <<_ACEOF
    7170 /* end confdefs.h.  */
    7171 #include <$ac_header>
    7172 _ACEOF
    7173 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7174 case "(($ac_try" in
    7175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7176   *) ac_try_echo=$ac_try;;
    7177 esac
    7178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7179 $as_echo "$ac_try_echo") >&5
    7180   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7181   ac_status=$?
    7182   grep -v '^ *+' conftest.er1 >conftest.err
    7183   rm -f conftest.er1
    7184   cat conftest.err >&5
    7185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7186   (exit $ac_status); } >/dev/null && {
    7187          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7188          test ! -s conftest.err
    7189        }; then
    7190   ac_header_preproc=yes
    7191 else
    7192   $as_echo "$as_me: failed program was:" >&5
    7193 sed 's/^/| /' conftest.$ac_ext >&5
    7194 
    7195   ac_header_preproc=no
    7196 fi
    7197 
    7198 rm -f conftest.err conftest.$ac_ext
    7199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7200 $as_echo "$ac_header_preproc" >&6; }
    7201 
    7202 # So?  What about this header?
    7203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7204   yes:no: )
    7205     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7206 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7207     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7208 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7209     ac_header_preproc=yes
    7210     ;;
    7211   no:yes:* )
    7212     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7213 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7214     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7215 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7216     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7217 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7218     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7219 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7220     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7221 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7222     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7223 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7224     ( cat <<\_ASBOX
    7225 ## ----------------------------------- ##
    7226 ## Report this to rappture@nanohub.org ##
    7227 ## ----------------------------------- ##
    7228 _ASBOX
    7229      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7230     ;;
    7231 esac
    7232 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7233 $as_echo_n "checking for $ac_header... " >&6; }
    7234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7235   $as_echo_n "(cached) " >&6
    7236 else
    7237   eval "$as_ac_Header=\$ac_header_preproc"
    7238 fi
    7239 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7240                  $as_echo "$as_val"'`
    7241                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7242 $as_echo "$ac_res" >&6; }
    7243 
    7244 fi
    7245 as_val=`eval 'as_val=${'$as_ac_Header'}
    7246                  $as_echo "$as_val"'`
    7247    if test "x$as_val" = x""yes; then
     5213do :
     5214  ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default"
     5215if test "x$ac_cv_header_iterator" = xyes; then :
    72485216  cat >>confdefs.h <<_ACEOF
    7249 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7250 _ACEOF
    7251 
    7252 else
    7253   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5217#define HAVE_ITERATOR 1
     5218_ACEOF
     5219
     5220else
     5221  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    72545222$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    72555223fi
     
    72575225done
    72585226
    7259 
    72605227for ac_header in sstream
    7261 do
    7262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7264   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7265 $as_echo_n "checking for $ac_header... " >&6; }
    7266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7267   $as_echo_n "(cached) " >&6
    7268 fi
    7269 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7270                  $as_echo "$as_val"'`
    7271                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7272 $as_echo "$ac_res" >&6; }
    7273 else
    7274   # Is the header compilable?
    7275 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7276 $as_echo_n "checking $ac_header usability... " >&6; }
    7277 cat >conftest.$ac_ext <<_ACEOF
    7278 /* confdefs.h.  */
    7279 _ACEOF
    7280 cat confdefs.h >>conftest.$ac_ext
    7281 cat >>conftest.$ac_ext <<_ACEOF
    7282 /* end confdefs.h.  */
    7283 $ac_includes_default
    7284 #include <$ac_header>
    7285 _ACEOF
    7286 rm -f conftest.$ac_objext
    7287 if { (ac_try="$ac_compile"
    7288 case "(($ac_try" in
    7289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7290   *) ac_try_echo=$ac_try;;
    7291 esac
    7292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7293 $as_echo "$ac_try_echo") >&5
    7294   (eval "$ac_compile") 2>conftest.er1
    7295   ac_status=$?
    7296   grep -v '^ *+' conftest.er1 >conftest.err
    7297   rm -f conftest.er1
    7298   cat conftest.err >&5
    7299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7300   (exit $ac_status); } && {
    7301          test -z "$ac_cxx_werror_flag" ||
    7302          test ! -s conftest.err
    7303        } && test -s conftest.$ac_objext; then
    7304   ac_header_compiler=yes
    7305 else
    7306   $as_echo "$as_me: failed program was:" >&5
    7307 sed 's/^/| /' conftest.$ac_ext >&5
    7308 
    7309         ac_header_compiler=no
    7310 fi
    7311 
    7312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7313 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7314 $as_echo "$ac_header_compiler" >&6; }
    7315 
    7316 # Is the header present?
    7317 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7318 $as_echo_n "checking $ac_header presence... " >&6; }
    7319 cat >conftest.$ac_ext <<_ACEOF
    7320 /* confdefs.h.  */
    7321 _ACEOF
    7322 cat confdefs.h >>conftest.$ac_ext
    7323 cat >>conftest.$ac_ext <<_ACEOF
    7324 /* end confdefs.h.  */
    7325 #include <$ac_header>
    7326 _ACEOF
    7327 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7328 case "(($ac_try" in
    7329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7330   *) ac_try_echo=$ac_try;;
    7331 esac
    7332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7333 $as_echo "$ac_try_echo") >&5
    7334   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7335   ac_status=$?
    7336   grep -v '^ *+' conftest.er1 >conftest.err
    7337   rm -f conftest.er1
    7338   cat conftest.err >&5
    7339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7340   (exit $ac_status); } >/dev/null && {
    7341          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7342          test ! -s conftest.err
    7343        }; then
    7344   ac_header_preproc=yes
    7345 else
    7346   $as_echo "$as_me: failed program was:" >&5
    7347 sed 's/^/| /' conftest.$ac_ext >&5
    7348 
    7349   ac_header_preproc=no
    7350 fi
    7351 
    7352 rm -f conftest.err conftest.$ac_ext
    7353 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7354 $as_echo "$ac_header_preproc" >&6; }
    7355 
    7356 # So?  What about this header?
    7357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7358   yes:no: )
    7359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7360 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7362 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7363     ac_header_preproc=yes
    7364     ;;
    7365   no:yes:* )
    7366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7367 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7368     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7369 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7370     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7371 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7372     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7373 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7374     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7375 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7376     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7377 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7378     ( cat <<\_ASBOX
    7379 ## ----------------------------------- ##
    7380 ## Report this to rappture@nanohub.org ##
    7381 ## ----------------------------------- ##
    7382 _ASBOX
    7383      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7384     ;;
    7385 esac
    7386 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7387 $as_echo_n "checking for $ac_header... " >&6; }
    7388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7389   $as_echo_n "(cached) " >&6
    7390 else
    7391   eval "$as_ac_Header=\$ac_header_preproc"
    7392 fi
    7393 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7394                  $as_echo "$as_val"'`
    7395                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7396 $as_echo "$ac_res" >&6; }
    7397 
    7398 fi
    7399 as_val=`eval 'as_val=${'$as_ac_Header'}
    7400                  $as_echo "$as_val"'`
    7401    if test "x$as_val" = x""yes; then
     5228do :
     5229  ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
     5230if test "x$ac_cv_header_sstream" = xyes; then :
    74025231  cat >>confdefs.h <<_ACEOF
    7403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7404 _ACEOF
    7405 
    7406 else
    7407   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5232#define HAVE_SSTREAM 1
     5233_ACEOF
     5234
     5235else
     5236  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    74085237$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    74095238fi
     
    74115240done
    74125241
    7413 
    74145242for ac_header in stack
    7415 do
    7416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7418   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7419 $as_echo_n "checking for $ac_header... " >&6; }
    7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7421   $as_echo_n "(cached) " >&6
    7422 fi
    7423 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7424                  $as_echo "$as_val"'`
    7425                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7426 $as_echo "$ac_res" >&6; }
    7427 else
    7428   # Is the header compilable?
    7429 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7430 $as_echo_n "checking $ac_header usability... " >&6; }
    7431 cat >conftest.$ac_ext <<_ACEOF
    7432 /* confdefs.h.  */
    7433 _ACEOF
    7434 cat confdefs.h >>conftest.$ac_ext
    7435 cat >>conftest.$ac_ext <<_ACEOF
    7436 /* end confdefs.h.  */
    7437 $ac_includes_default
    7438 #include <$ac_header>
    7439 _ACEOF
    7440 rm -f conftest.$ac_objext
    7441 if { (ac_try="$ac_compile"
    7442 case "(($ac_try" in
    7443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7444   *) ac_try_echo=$ac_try;;
    7445 esac
    7446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7447 $as_echo "$ac_try_echo") >&5
    7448   (eval "$ac_compile") 2>conftest.er1
    7449   ac_status=$?
    7450   grep -v '^ *+' conftest.er1 >conftest.err
    7451   rm -f conftest.er1
    7452   cat conftest.err >&5
    7453   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7454   (exit $ac_status); } && {
    7455          test -z "$ac_cxx_werror_flag" ||
    7456          test ! -s conftest.err
    7457        } && test -s conftest.$ac_objext; then
    7458   ac_header_compiler=yes
    7459 else
    7460   $as_echo "$as_me: failed program was:" >&5
    7461 sed 's/^/| /' conftest.$ac_ext >&5
    7462 
    7463         ac_header_compiler=no
    7464 fi
    7465 
    7466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7467 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7468 $as_echo "$ac_header_compiler" >&6; }
    7469 
    7470 # Is the header present?
    7471 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7472 $as_echo_n "checking $ac_header presence... " >&6; }
    7473 cat >conftest.$ac_ext <<_ACEOF
    7474 /* confdefs.h.  */
    7475 _ACEOF
    7476 cat confdefs.h >>conftest.$ac_ext
    7477 cat >>conftest.$ac_ext <<_ACEOF
    7478 /* end confdefs.h.  */
    7479 #include <$ac_header>
    7480 _ACEOF
    7481 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7482 case "(($ac_try" in
    7483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7484   *) ac_try_echo=$ac_try;;
    7485 esac
    7486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7487 $as_echo "$ac_try_echo") >&5
    7488   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7489   ac_status=$?
    7490   grep -v '^ *+' conftest.er1 >conftest.err
    7491   rm -f conftest.er1
    7492   cat conftest.err >&5
    7493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7494   (exit $ac_status); } >/dev/null && {
    7495          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7496          test ! -s conftest.err
    7497        }; then
    7498   ac_header_preproc=yes
    7499 else
    7500   $as_echo "$as_me: failed program was:" >&5
    7501 sed 's/^/| /' conftest.$ac_ext >&5
    7502 
    7503   ac_header_preproc=no
    7504 fi
    7505 
    7506 rm -f conftest.err conftest.$ac_ext
    7507 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7508 $as_echo "$ac_header_preproc" >&6; }
    7509 
    7510 # So?  What about this header?
    7511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7512   yes:no: )
    7513     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7514 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7515     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7516 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7517     ac_header_preproc=yes
    7518     ;;
    7519   no:yes:* )
    7520     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7521 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7522     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7523 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7524     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7525 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7526     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7527 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7528     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7529 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7530     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7531 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7532     ( cat <<\_ASBOX
    7533 ## ----------------------------------- ##
    7534 ## Report this to rappture@nanohub.org ##
    7535 ## ----------------------------------- ##
    7536 _ASBOX
    7537      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7538     ;;
    7539 esac
    7540 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7541 $as_echo_n "checking for $ac_header... " >&6; }
    7542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7543   $as_echo_n "(cached) " >&6
    7544 else
    7545   eval "$as_ac_Header=\$ac_header_preproc"
    7546 fi
    7547 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7548                  $as_echo "$as_val"'`
    7549                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7550 $as_echo "$ac_res" >&6; }
    7551 
    7552 fi
    7553 as_val=`eval 'as_val=${'$as_ac_Header'}
    7554                  $as_echo "$as_val"'`
    7555    if test "x$as_val" = x""yes; then
     5243do :
     5244  ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default"
     5245if test "x$ac_cv_header_stack" = xyes; then :
    75565246  cat >>confdefs.h <<_ACEOF
    7557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7558 _ACEOF
    7559 
    7560 else
    7561   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5247#define HAVE_STACK 1
     5248_ACEOF
     5249
     5250else
     5251  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    75625252$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    75635253fi
     
    75655255done
    75665256
    7567 
    75685257for ac_header in string
    7569 do
    7570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7572   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7573 $as_echo_n "checking for $ac_header... " >&6; }
    7574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7575   $as_echo_n "(cached) " >&6
    7576 fi
    7577 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7578                  $as_echo "$as_val"'`
    7579                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7580 $as_echo "$ac_res" >&6; }
    7581 else
    7582   # Is the header compilable?
    7583 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7584 $as_echo_n "checking $ac_header usability... " >&6; }
    7585 cat >conftest.$ac_ext <<_ACEOF
    7586 /* confdefs.h.  */
    7587 _ACEOF
    7588 cat confdefs.h >>conftest.$ac_ext
    7589 cat >>conftest.$ac_ext <<_ACEOF
    7590 /* end confdefs.h.  */
    7591 $ac_includes_default
    7592 #include <$ac_header>
    7593 _ACEOF
    7594 rm -f conftest.$ac_objext
    7595 if { (ac_try="$ac_compile"
    7596 case "(($ac_try" in
    7597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7598   *) ac_try_echo=$ac_try;;
    7599 esac
    7600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7601 $as_echo "$ac_try_echo") >&5
    7602   (eval "$ac_compile") 2>conftest.er1
    7603   ac_status=$?
    7604   grep -v '^ *+' conftest.er1 >conftest.err
    7605   rm -f conftest.er1
    7606   cat conftest.err >&5
    7607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7608   (exit $ac_status); } && {
    7609          test -z "$ac_cxx_werror_flag" ||
    7610          test ! -s conftest.err
    7611        } && test -s conftest.$ac_objext; then
    7612   ac_header_compiler=yes
    7613 else
    7614   $as_echo "$as_me: failed program was:" >&5
    7615 sed 's/^/| /' conftest.$ac_ext >&5
    7616 
    7617         ac_header_compiler=no
    7618 fi
    7619 
    7620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7622 $as_echo "$ac_header_compiler" >&6; }
    7623 
    7624 # Is the header present?
    7625 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7626 $as_echo_n "checking $ac_header presence... " >&6; }
    7627 cat >conftest.$ac_ext <<_ACEOF
    7628 /* confdefs.h.  */
    7629 _ACEOF
    7630 cat confdefs.h >>conftest.$ac_ext
    7631 cat >>conftest.$ac_ext <<_ACEOF
    7632 /* end confdefs.h.  */
    7633 #include <$ac_header>
    7634 _ACEOF
    7635 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7636 case "(($ac_try" in
    7637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7638   *) ac_try_echo=$ac_try;;
    7639 esac
    7640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7641 $as_echo "$ac_try_echo") >&5
    7642   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7643   ac_status=$?
    7644   grep -v '^ *+' conftest.er1 >conftest.err
    7645   rm -f conftest.er1
    7646   cat conftest.err >&5
    7647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7648   (exit $ac_status); } >/dev/null && {
    7649          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7650          test ! -s conftest.err
    7651        }; then
    7652   ac_header_preproc=yes
    7653 else
    7654   $as_echo "$as_me: failed program was:" >&5
    7655 sed 's/^/| /' conftest.$ac_ext >&5
    7656 
    7657   ac_header_preproc=no
    7658 fi
    7659 
    7660 rm -f conftest.err conftest.$ac_ext
    7661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7662 $as_echo "$ac_header_preproc" >&6; }
    7663 
    7664 # So?  What about this header?
    7665 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7666   yes:no: )
    7667     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7668 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7669     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7671     ac_header_preproc=yes
    7672     ;;
    7673   no:yes:* )
    7674     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7675 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7676     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7677 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7678     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7679 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7680     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7681 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7682     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7684     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7685 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7686     ( cat <<\_ASBOX
    7687 ## ----------------------------------- ##
    7688 ## Report this to rappture@nanohub.org ##
    7689 ## ----------------------------------- ##
    7690 _ASBOX
    7691      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7692     ;;
    7693 esac
    7694 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7695 $as_echo_n "checking for $ac_header... " >&6; }
    7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7697   $as_echo_n "(cached) " >&6
    7698 else
    7699   eval "$as_ac_Header=\$ac_header_preproc"
    7700 fi
    7701 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7702                  $as_echo "$as_val"'`
    7703                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7704 $as_echo "$ac_res" >&6; }
    7705 
    7706 fi
    7707 as_val=`eval 'as_val=${'$as_ac_Header'}
    7708                  $as_echo "$as_val"'`
    7709    if test "x$as_val" = x""yes; then
     5258do :
     5259  ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
     5260if test "x$ac_cv_header_string" = xyes; then :
    77105261  cat >>confdefs.h <<_ACEOF
    7711 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7712 _ACEOF
    7713 
    7714 else
    7715   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5262#define HAVE_STRING 1
     5263_ACEOF
     5264
     5265else
     5266  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    77165267$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    77175268fi
     
    77195270done
    77205271
    7721 
    77225272for ac_header in vector
    7723 do
    7724 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7726   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7727 $as_echo_n "checking for $ac_header... " >&6; }
    7728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7729   $as_echo_n "(cached) " >&6
    7730 fi
    7731 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7732                  $as_echo "$as_val"'`
    7733                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7734 $as_echo "$ac_res" >&6; }
    7735 else
    7736   # Is the header compilable?
    7737 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7738 $as_echo_n "checking $ac_header usability... " >&6; }
    7739 cat >conftest.$ac_ext <<_ACEOF
    7740 /* confdefs.h.  */
    7741 _ACEOF
    7742 cat confdefs.h >>conftest.$ac_ext
    7743 cat >>conftest.$ac_ext <<_ACEOF
    7744 /* end confdefs.h.  */
    7745 $ac_includes_default
    7746 #include <$ac_header>
    7747 _ACEOF
    7748 rm -f conftest.$ac_objext
    7749 if { (ac_try="$ac_compile"
    7750 case "(($ac_try" in
    7751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7752   *) ac_try_echo=$ac_try;;
    7753 esac
    7754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7755 $as_echo "$ac_try_echo") >&5
    7756   (eval "$ac_compile") 2>conftest.er1
    7757   ac_status=$?
    7758   grep -v '^ *+' conftest.er1 >conftest.err
    7759   rm -f conftest.er1
    7760   cat conftest.err >&5
    7761   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7762   (exit $ac_status); } && {
    7763          test -z "$ac_cxx_werror_flag" ||
    7764          test ! -s conftest.err
    7765        } && test -s conftest.$ac_objext; then
    7766   ac_header_compiler=yes
    7767 else
    7768   $as_echo "$as_me: failed program was:" >&5
    7769 sed 's/^/| /' conftest.$ac_ext >&5
    7770 
    7771         ac_header_compiler=no
    7772 fi
    7773 
    7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7775 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7776 $as_echo "$ac_header_compiler" >&6; }
    7777 
    7778 # Is the header present?
    7779 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7780 $as_echo_n "checking $ac_header presence... " >&6; }
    7781 cat >conftest.$ac_ext <<_ACEOF
    7782 /* confdefs.h.  */
    7783 _ACEOF
    7784 cat confdefs.h >>conftest.$ac_ext
    7785 cat >>conftest.$ac_ext <<_ACEOF
    7786 /* end confdefs.h.  */
    7787 #include <$ac_header>
    7788 _ACEOF
    7789 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7790 case "(($ac_try" in
    7791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7792   *) ac_try_echo=$ac_try;;
    7793 esac
    7794 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7795 $as_echo "$ac_try_echo") >&5
    7796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7797   ac_status=$?
    7798   grep -v '^ *+' conftest.er1 >conftest.err
    7799   rm -f conftest.er1
    7800   cat conftest.err >&5
    7801   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7802   (exit $ac_status); } >/dev/null && {
    7803          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7804          test ! -s conftest.err
    7805        }; then
    7806   ac_header_preproc=yes
    7807 else
    7808   $as_echo "$as_me: failed program was:" >&5
    7809 sed 's/^/| /' conftest.$ac_ext >&5
    7810 
    7811   ac_header_preproc=no
    7812 fi
    7813 
    7814 rm -f conftest.err conftest.$ac_ext
    7815 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7816 $as_echo "$ac_header_preproc" >&6; }
    7817 
    7818 # So?  What about this header?
    7819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7820   yes:no: )
    7821     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7822 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7823     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7825     ac_header_preproc=yes
    7826     ;;
    7827   no:yes:* )
    7828     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7829 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7830     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7831 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7832     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7833 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7834     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7835 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7836     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7837 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7838     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7839 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7840     ( cat <<\_ASBOX
    7841 ## ----------------------------------- ##
    7842 ## Report this to rappture@nanohub.org ##
    7843 ## ----------------------------------- ##
    7844 _ASBOX
    7845      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7846     ;;
    7847 esac
    7848 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7849 $as_echo_n "checking for $ac_header... " >&6; }
    7850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7851   $as_echo_n "(cached) " >&6
    7852 else
    7853   eval "$as_ac_Header=\$ac_header_preproc"
    7854 fi
    7855 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7856                  $as_echo "$as_val"'`
    7857                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7858 $as_echo "$ac_res" >&6; }
    7859 
    7860 fi
    7861 as_val=`eval 'as_val=${'$as_ac_Header'}
    7862                  $as_echo "$as_val"'`
    7863    if test "x$as_val" = x""yes; then
     5273do :
     5274  ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
     5275if test "x$ac_cv_header_vector" = xyes; then :
    78645276  cat >>confdefs.h <<_ACEOF
    7865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7866 _ACEOF
    7867 
    7868 else
    7869   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5277#define HAVE_VECTOR 1
     5278_ACEOF
     5279
     5280else
     5281  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    78705282$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    78715283fi
     
    78745286
    78755287
    7876 
    78775288for ac_header in assert.h
    7878 do
    7879 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7881   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    7882 $as_echo_n "checking for $ac_header... " >&6; }
    7883 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7884   $as_echo_n "(cached) " >&6
    7885 fi
    7886 ac_res=`eval 'as_val=${'$as_ac_Header'}
    7887                  $as_echo "$as_val"'`
    7888                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    7889 $as_echo "$ac_res" >&6; }
    7890 else
    7891   # Is the header compilable?
    7892 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7893 $as_echo_n "checking $ac_header usability... " >&6; }
    7894 cat >conftest.$ac_ext <<_ACEOF
    7895 /* confdefs.h.  */
    7896 _ACEOF
    7897 cat confdefs.h >>conftest.$ac_ext
    7898 cat >>conftest.$ac_ext <<_ACEOF
    7899 /* end confdefs.h.  */
    7900 $ac_includes_default
    7901 #include <$ac_header>
    7902 _ACEOF
    7903 rm -f conftest.$ac_objext
    7904 if { (ac_try="$ac_compile"
    7905 case "(($ac_try" in
    7906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7907   *) ac_try_echo=$ac_try;;
    7908 esac
    7909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7910 $as_echo "$ac_try_echo") >&5
    7911   (eval "$ac_compile") 2>conftest.er1
    7912   ac_status=$?
    7913   grep -v '^ *+' conftest.er1 >conftest.err
    7914   rm -f conftest.er1
    7915   cat conftest.err >&5
    7916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7917   (exit $ac_status); } && {
    7918          test -z "$ac_cxx_werror_flag" ||
    7919          test ! -s conftest.err
    7920        } && test -s conftest.$ac_objext; then
    7921   ac_header_compiler=yes
    7922 else
    7923   $as_echo "$as_me: failed program was:" >&5
    7924 sed 's/^/| /' conftest.$ac_ext >&5
    7925 
    7926         ac_header_compiler=no
    7927 fi
    7928 
    7929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7930 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7931 $as_echo "$ac_header_compiler" >&6; }
    7932 
    7933 # Is the header present?
    7934 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7935 $as_echo_n "checking $ac_header presence... " >&6; }
    7936 cat >conftest.$ac_ext <<_ACEOF
    7937 /* confdefs.h.  */
    7938 _ACEOF
    7939 cat confdefs.h >>conftest.$ac_ext
    7940 cat >>conftest.$ac_ext <<_ACEOF
    7941 /* end confdefs.h.  */
    7942 #include <$ac_header>
    7943 _ACEOF
    7944 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7945 case "(($ac_try" in
    7946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7947   *) ac_try_echo=$ac_try;;
    7948 esac
    7949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7950 $as_echo "$ac_try_echo") >&5
    7951   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7952   ac_status=$?
    7953   grep -v '^ *+' conftest.er1 >conftest.err
    7954   rm -f conftest.er1
    7955   cat conftest.err >&5
    7956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7957   (exit $ac_status); } >/dev/null && {
    7958          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7959          test ! -s conftest.err
    7960        }; then
    7961   ac_header_preproc=yes
    7962 else
    7963   $as_echo "$as_me: failed program was:" >&5
    7964 sed 's/^/| /' conftest.$ac_ext >&5
    7965 
    7966   ac_header_preproc=no
    7967 fi
    7968 
    7969 rm -f conftest.err conftest.$ac_ext
    7970 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7971 $as_echo "$ac_header_preproc" >&6; }
    7972 
    7973 # So?  What about this header?
    7974 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7975   yes:no: )
    7976     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7977 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7978     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7979 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7980     ac_header_preproc=yes
    7981     ;;
    7982   no:yes:* )
    7983     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7984 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7985     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7986 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7987     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7988 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7989     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7990 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7991     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7992 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7993     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7994 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7995     ( cat <<\_ASBOX
    7996 ## ----------------------------------- ##
    7997 ## Report this to rappture@nanohub.org ##
    7998 ## ----------------------------------- ##
    7999 _ASBOX
    8000      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8001     ;;
    8002 esac
    8003 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8004 $as_echo_n "checking for $ac_header... " >&6; }
    8005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8006   $as_echo_n "(cached) " >&6
    8007 else
    8008   eval "$as_ac_Header=\$ac_header_preproc"
    8009 fi
    8010 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8011                  $as_echo "$as_val"'`
    8012                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8013 $as_echo "$ac_res" >&6; }
    8014 
    8015 fi
    8016 as_val=`eval 'as_val=${'$as_ac_Header'}
    8017                  $as_echo "$as_val"'`
    8018    if test "x$as_val" = x""yes; then
     5289do :
     5290  ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
     5291if test "x$ac_cv_header_assert_h" = xyes; then :
    80195292  cat >>confdefs.h <<_ACEOF
    8020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8021 _ACEOF
    8022 
    8023 else
    8024   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5293#define HAVE_ASSERT_H 1
     5294_ACEOF
     5295
     5296else
     5297  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    80255298$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    80265299fi
     
    80285301done
    80295302
    8030 
    80315303for ac_header in ctype.h
    8032 do
    8033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8035   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8036 $as_echo_n "checking for $ac_header... " >&6; }
    8037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8038   $as_echo_n "(cached) " >&6
    8039 fi
    8040 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8041                  $as_echo "$as_val"'`
    8042                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8043 $as_echo "$ac_res" >&6; }
    8044 else
    8045   # Is the header compilable?
    8046 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8047 $as_echo_n "checking $ac_header usability... " >&6; }
    8048 cat >conftest.$ac_ext <<_ACEOF
    8049 /* confdefs.h.  */
    8050 _ACEOF
    8051 cat confdefs.h >>conftest.$ac_ext
    8052 cat >>conftest.$ac_ext <<_ACEOF
    8053 /* end confdefs.h.  */
    8054 $ac_includes_default
    8055 #include <$ac_header>
    8056 _ACEOF
    8057 rm -f conftest.$ac_objext
    8058 if { (ac_try="$ac_compile"
    8059 case "(($ac_try" in
    8060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8061   *) ac_try_echo=$ac_try;;
    8062 esac
    8063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8064 $as_echo "$ac_try_echo") >&5
    8065   (eval "$ac_compile") 2>conftest.er1
    8066   ac_status=$?
    8067   grep -v '^ *+' conftest.er1 >conftest.err
    8068   rm -f conftest.er1
    8069   cat conftest.err >&5
    8070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8071   (exit $ac_status); } && {
    8072          test -z "$ac_cxx_werror_flag" ||
    8073          test ! -s conftest.err
    8074        } && test -s conftest.$ac_objext; then
    8075   ac_header_compiler=yes
    8076 else
    8077   $as_echo "$as_me: failed program was:" >&5
    8078 sed 's/^/| /' conftest.$ac_ext >&5
    8079 
    8080         ac_header_compiler=no
    8081 fi
    8082 
    8083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8084 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8085 $as_echo "$ac_header_compiler" >&6; }
    8086 
    8087 # Is the header present?
    8088 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8089 $as_echo_n "checking $ac_header presence... " >&6; }
    8090 cat >conftest.$ac_ext <<_ACEOF
    8091 /* confdefs.h.  */
    8092 _ACEOF
    8093 cat confdefs.h >>conftest.$ac_ext
    8094 cat >>conftest.$ac_ext <<_ACEOF
    8095 /* end confdefs.h.  */
    8096 #include <$ac_header>
    8097 _ACEOF
    8098 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8099 case "(($ac_try" in
    8100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8101   *) ac_try_echo=$ac_try;;
    8102 esac
    8103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8104 $as_echo "$ac_try_echo") >&5
    8105   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8106   ac_status=$?
    8107   grep -v '^ *+' conftest.er1 >conftest.err
    8108   rm -f conftest.er1
    8109   cat conftest.err >&5
    8110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8111   (exit $ac_status); } >/dev/null && {
    8112          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8113          test ! -s conftest.err
    8114        }; then
    8115   ac_header_preproc=yes
    8116 else
    8117   $as_echo "$as_me: failed program was:" >&5
    8118 sed 's/^/| /' conftest.$ac_ext >&5
    8119 
    8120   ac_header_preproc=no
    8121 fi
    8122 
    8123 rm -f conftest.err conftest.$ac_ext
    8124 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8125 $as_echo "$ac_header_preproc" >&6; }
    8126 
    8127 # So?  What about this header?
    8128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8129   yes:no: )
    8130     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8131 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8132     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8133 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8134     ac_header_preproc=yes
    8135     ;;
    8136   no:yes:* )
    8137     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8138 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8139     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8140 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8141     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8142 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8143     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8144 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8145     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8146 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8147     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8148 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8149     ( cat <<\_ASBOX
    8150 ## ----------------------------------- ##
    8151 ## Report this to rappture@nanohub.org ##
    8152 ## ----------------------------------- ##
    8153 _ASBOX
    8154      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8155     ;;
    8156 esac
    8157 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8158 $as_echo_n "checking for $ac_header... " >&6; }
    8159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8160   $as_echo_n "(cached) " >&6
    8161 else
    8162   eval "$as_ac_Header=\$ac_header_preproc"
    8163 fi
    8164 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8165                  $as_echo "$as_val"'`
    8166                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8167 $as_echo "$ac_res" >&6; }
    8168 
    8169 fi
    8170 as_val=`eval 'as_val=${'$as_ac_Header'}
    8171                  $as_echo "$as_val"'`
    8172    if test "x$as_val" = x""yes; then
     5304do :
     5305  ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
     5306if test "x$ac_cv_header_ctype_h" = xyes; then :
    81735307  cat >>confdefs.h <<_ACEOF
    8174 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8175 _ACEOF
    8176 
    8177 else
    8178   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5308#define HAVE_CTYPE_H 1
     5309_ACEOF
     5310
     5311else
     5312  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    81795313$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    81805314fi
     
    81825316done
    81835317
    8184 
    81855318for ac_header in errno.h
    8186 do
    8187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8189   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8190 $as_echo_n "checking for $ac_header... " >&6; }
    8191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8192   $as_echo_n "(cached) " >&6
    8193 fi
    8194 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8195                  $as_echo "$as_val"'`
    8196                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8197 $as_echo "$ac_res" >&6; }
    8198 else
    8199   # Is the header compilable?
    8200 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8201 $as_echo_n "checking $ac_header usability... " >&6; }
    8202 cat >conftest.$ac_ext <<_ACEOF
    8203 /* confdefs.h.  */
    8204 _ACEOF
    8205 cat confdefs.h >>conftest.$ac_ext
    8206 cat >>conftest.$ac_ext <<_ACEOF
    8207 /* end confdefs.h.  */
    8208 $ac_includes_default
    8209 #include <$ac_header>
    8210 _ACEOF
    8211 rm -f conftest.$ac_objext
    8212 if { (ac_try="$ac_compile"
    8213 case "(($ac_try" in
    8214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8215   *) ac_try_echo=$ac_try;;
    8216 esac
    8217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8218 $as_echo "$ac_try_echo") >&5
    8219   (eval "$ac_compile") 2>conftest.er1
    8220   ac_status=$?
    8221   grep -v '^ *+' conftest.er1 >conftest.err
    8222   rm -f conftest.er1
    8223   cat conftest.err >&5
    8224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8225   (exit $ac_status); } && {
    8226          test -z "$ac_cxx_werror_flag" ||
    8227          test ! -s conftest.err
    8228        } && test -s conftest.$ac_objext; then
    8229   ac_header_compiler=yes
    8230 else
    8231   $as_echo "$as_me: failed program was:" >&5
    8232 sed 's/^/| /' conftest.$ac_ext >&5
    8233 
    8234         ac_header_compiler=no
    8235 fi
    8236 
    8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8238 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8239 $as_echo "$ac_header_compiler" >&6; }
    8240 
    8241 # Is the header present?
    8242 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8243 $as_echo_n "checking $ac_header presence... " >&6; }
    8244 cat >conftest.$ac_ext <<_ACEOF
    8245 /* confdefs.h.  */
    8246 _ACEOF
    8247 cat confdefs.h >>conftest.$ac_ext
    8248 cat >>conftest.$ac_ext <<_ACEOF
    8249 /* end confdefs.h.  */
    8250 #include <$ac_header>
    8251 _ACEOF
    8252 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8253 case "(($ac_try" in
    8254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8255   *) ac_try_echo=$ac_try;;
    8256 esac
    8257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8258 $as_echo "$ac_try_echo") >&5
    8259   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8260   ac_status=$?
    8261   grep -v '^ *+' conftest.er1 >conftest.err
    8262   rm -f conftest.er1
    8263   cat conftest.err >&5
    8264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8265   (exit $ac_status); } >/dev/null && {
    8266          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8267          test ! -s conftest.err
    8268        }; then
    8269   ac_header_preproc=yes
    8270 else
    8271   $as_echo "$as_me: failed program was:" >&5
    8272 sed 's/^/| /' conftest.$ac_ext >&5
    8273 
    8274   ac_header_preproc=no
    8275 fi
    8276 
    8277 rm -f conftest.err conftest.$ac_ext
    8278 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8279 $as_echo "$ac_header_preproc" >&6; }
    8280 
    8281 # So?  What about this header?
    8282 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8283   yes:no: )
    8284     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8285 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8286     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8288     ac_header_preproc=yes
    8289     ;;
    8290   no:yes:* )
    8291     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8292 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8293     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8294 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8295     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8296 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8297     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8298 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8299     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8300 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8301     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8302 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8303     ( cat <<\_ASBOX
    8304 ## ----------------------------------- ##
    8305 ## Report this to rappture@nanohub.org ##
    8306 ## ----------------------------------- ##
    8307 _ASBOX
    8308      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8309     ;;
    8310 esac
    8311 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8312 $as_echo_n "checking for $ac_header... " >&6; }
    8313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8314   $as_echo_n "(cached) " >&6
    8315 else
    8316   eval "$as_ac_Header=\$ac_header_preproc"
    8317 fi
    8318 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8319                  $as_echo "$as_val"'`
    8320                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8321 $as_echo "$ac_res" >&6; }
    8322 
    8323 fi
    8324 as_val=`eval 'as_val=${'$as_ac_Header'}
    8325                  $as_echo "$as_val"'`
    8326    if test "x$as_val" = x""yes; then
     5319do :
     5320  ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
     5321if test "x$ac_cv_header_errno_h" = xyes; then :
    83275322  cat >>confdefs.h <<_ACEOF
    8328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8329 _ACEOF
    8330 
    8331 else
    8332   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5323#define HAVE_ERRNO_H 1
     5324_ACEOF
     5325
     5326else
     5327  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    83335328$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    83345329fi
     
    83365331done
    83375332
    8338 
    83395333for ac_header in limits.h
    8340 do
    8341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8343   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8344 $as_echo_n "checking for $ac_header... " >&6; }
    8345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8346   $as_echo_n "(cached) " >&6
    8347 fi
    8348 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8349                  $as_echo "$as_val"'`
    8350                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8351 $as_echo "$ac_res" >&6; }
    8352 else
    8353   # Is the header compilable?
    8354 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8355 $as_echo_n "checking $ac_header usability... " >&6; }
    8356 cat >conftest.$ac_ext <<_ACEOF
    8357 /* confdefs.h.  */
    8358 _ACEOF
    8359 cat confdefs.h >>conftest.$ac_ext
    8360 cat >>conftest.$ac_ext <<_ACEOF
    8361 /* end confdefs.h.  */
    8362 $ac_includes_default
    8363 #include <$ac_header>
    8364 _ACEOF
    8365 rm -f conftest.$ac_objext
    8366 if { (ac_try="$ac_compile"
    8367 case "(($ac_try" in
    8368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8369   *) ac_try_echo=$ac_try;;
    8370 esac
    8371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8372 $as_echo "$ac_try_echo") >&5
    8373   (eval "$ac_compile") 2>conftest.er1
    8374   ac_status=$?
    8375   grep -v '^ *+' conftest.er1 >conftest.err
    8376   rm -f conftest.er1
    8377   cat conftest.err >&5
    8378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8379   (exit $ac_status); } && {
    8380          test -z "$ac_cxx_werror_flag" ||
    8381          test ! -s conftest.err
    8382        } && test -s conftest.$ac_objext; then
    8383   ac_header_compiler=yes
    8384 else
    8385   $as_echo "$as_me: failed program was:" >&5
    8386 sed 's/^/| /' conftest.$ac_ext >&5
    8387 
    8388         ac_header_compiler=no
    8389 fi
    8390 
    8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8392 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8393 $as_echo "$ac_header_compiler" >&6; }
    8394 
    8395 # Is the header present?
    8396 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8397 $as_echo_n "checking $ac_header presence... " >&6; }
    8398 cat >conftest.$ac_ext <<_ACEOF
    8399 /* confdefs.h.  */
    8400 _ACEOF
    8401 cat confdefs.h >>conftest.$ac_ext
    8402 cat >>conftest.$ac_ext <<_ACEOF
    8403 /* end confdefs.h.  */
    8404 #include <$ac_header>
    8405 _ACEOF
    8406 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8407 case "(($ac_try" in
    8408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8409   *) ac_try_echo=$ac_try;;
    8410 esac
    8411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8412 $as_echo "$ac_try_echo") >&5
    8413   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8414   ac_status=$?
    8415   grep -v '^ *+' conftest.er1 >conftest.err
    8416   rm -f conftest.er1
    8417   cat conftest.err >&5
    8418   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8419   (exit $ac_status); } >/dev/null && {
    8420          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8421          test ! -s conftest.err
    8422        }; then
    8423   ac_header_preproc=yes
    8424 else
    8425   $as_echo "$as_me: failed program was:" >&5
    8426 sed 's/^/| /' conftest.$ac_ext >&5
    8427 
    8428   ac_header_preproc=no
    8429 fi
    8430 
    8431 rm -f conftest.err conftest.$ac_ext
    8432 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8433 $as_echo "$ac_header_preproc" >&6; }
    8434 
    8435 # So?  What about this header?
    8436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8437   yes:no: )
    8438     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8439 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8440     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8441 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8442     ac_header_preproc=yes
    8443     ;;
    8444   no:yes:* )
    8445     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8446 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8448 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8449     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8450 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8451     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8452 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8453     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8454 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8455     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8456 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8457     ( cat <<\_ASBOX
    8458 ## ----------------------------------- ##
    8459 ## Report this to rappture@nanohub.org ##
    8460 ## ----------------------------------- ##
    8461 _ASBOX
    8462      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8463     ;;
    8464 esac
    8465 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8466 $as_echo_n "checking for $ac_header... " >&6; }
    8467 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8468   $as_echo_n "(cached) " >&6
    8469 else
    8470   eval "$as_ac_Header=\$ac_header_preproc"
    8471 fi
    8472 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8473                  $as_echo "$as_val"'`
    8474                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8475 $as_echo "$ac_res" >&6; }
    8476 
    8477 fi
    8478 as_val=`eval 'as_val=${'$as_ac_Header'}
    8479                  $as_echo "$as_val"'`
    8480    if test "x$as_val" = x""yes; then
     5334do :
     5335  ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
     5336if test "x$ac_cv_header_limits_h" = xyes; then :
    84815337  cat >>confdefs.h <<_ACEOF
    8482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8483 _ACEOF
    8484 
    8485 else
    8486   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5338#define HAVE_LIMITS_H 1
     5339_ACEOF
     5340
     5341else
     5342  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    84875343$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    84885344fi
     
    84905346done
    84915347
    8492 
    84935348for ac_header in string.h
    8494 do
    8495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8497   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8498 $as_echo_n "checking for $ac_header... " >&6; }
    8499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8500   $as_echo_n "(cached) " >&6
    8501 fi
    8502 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8503                  $as_echo "$as_val"'`
    8504                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8505 $as_echo "$ac_res" >&6; }
    8506 else
    8507   # Is the header compilable?
    8508 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8509 $as_echo_n "checking $ac_header usability... " >&6; }
    8510 cat >conftest.$ac_ext <<_ACEOF
    8511 /* confdefs.h.  */
    8512 _ACEOF
    8513 cat confdefs.h >>conftest.$ac_ext
    8514 cat >>conftest.$ac_ext <<_ACEOF
    8515 /* end confdefs.h.  */
    8516 $ac_includes_default
    8517 #include <$ac_header>
    8518 _ACEOF
    8519 rm -f conftest.$ac_objext
    8520 if { (ac_try="$ac_compile"
    8521 case "(($ac_try" in
    8522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8523   *) ac_try_echo=$ac_try;;
    8524 esac
    8525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8526 $as_echo "$ac_try_echo") >&5
    8527   (eval "$ac_compile") 2>conftest.er1
    8528   ac_status=$?
    8529   grep -v '^ *+' conftest.er1 >conftest.err
    8530   rm -f conftest.er1
    8531   cat conftest.err >&5
    8532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8533   (exit $ac_status); } && {
    8534          test -z "$ac_cxx_werror_flag" ||
    8535          test ! -s conftest.err
    8536        } && test -s conftest.$ac_objext; then
    8537   ac_header_compiler=yes
    8538 else
    8539   $as_echo "$as_me: failed program was:" >&5
    8540 sed 's/^/| /' conftest.$ac_ext >&5
    8541 
    8542         ac_header_compiler=no
    8543 fi
    8544 
    8545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8546 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8547 $as_echo "$ac_header_compiler" >&6; }
    8548 
    8549 # Is the header present?
    8550 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8551 $as_echo_n "checking $ac_header presence... " >&6; }
    8552 cat >conftest.$ac_ext <<_ACEOF
    8553 /* confdefs.h.  */
    8554 _ACEOF
    8555 cat confdefs.h >>conftest.$ac_ext
    8556 cat >>conftest.$ac_ext <<_ACEOF
    8557 /* end confdefs.h.  */
    8558 #include <$ac_header>
    8559 _ACEOF
    8560 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8561 case "(($ac_try" in
    8562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8563   *) ac_try_echo=$ac_try;;
    8564 esac
    8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8566 $as_echo "$ac_try_echo") >&5
    8567   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8568   ac_status=$?
    8569   grep -v '^ *+' conftest.er1 >conftest.err
    8570   rm -f conftest.er1
    8571   cat conftest.err >&5
    8572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8573   (exit $ac_status); } >/dev/null && {
    8574          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8575          test ! -s conftest.err
    8576        }; then
    8577   ac_header_preproc=yes
    8578 else
    8579   $as_echo "$as_me: failed program was:" >&5
    8580 sed 's/^/| /' conftest.$ac_ext >&5
    8581 
    8582   ac_header_preproc=no
    8583 fi
    8584 
    8585 rm -f conftest.err conftest.$ac_ext
    8586 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8587 $as_echo "$ac_header_preproc" >&6; }
    8588 
    8589 # So?  What about this header?
    8590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8591   yes:no: )
    8592     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8593 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8594     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8595 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8596     ac_header_preproc=yes
    8597     ;;
    8598   no:yes:* )
    8599     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8600 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8601     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8602 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8603     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8604 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8605     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8606 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8607     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8608 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8609     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8610 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8611     ( cat <<\_ASBOX
    8612 ## ----------------------------------- ##
    8613 ## Report this to rappture@nanohub.org ##
    8614 ## ----------------------------------- ##
    8615 _ASBOX
    8616      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8617     ;;
    8618 esac
    8619 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8620 $as_echo_n "checking for $ac_header... " >&6; }
    8621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8622   $as_echo_n "(cached) " >&6
    8623 else
    8624   eval "$as_ac_Header=\$ac_header_preproc"
    8625 fi
    8626 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8627                  $as_echo "$as_val"'`
    8628                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8629 $as_echo "$ac_res" >&6; }
    8630 
    8631 fi
    8632 as_val=`eval 'as_val=${'$as_ac_Header'}
    8633                  $as_echo "$as_val"'`
    8634    if test "x$as_val" = x""yes; then
     5349do :
     5350  ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
     5351if test "x$ac_cv_header_string_h" = xyes; then :
    86355352  cat >>confdefs.h <<_ACEOF
    8636 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8637 _ACEOF
    8638 
    8639 else
    8640   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5353#define HAVE_STRING_H 1
     5354_ACEOF
     5355
     5356else
     5357  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    86415358$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    86425359fi
     
    86445361done
    86455362
    8646 
    86475363for ac_header in stdlib.h
    8648 do
    8649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8651   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8652 $as_echo_n "checking for $ac_header... " >&6; }
    8653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8654   $as_echo_n "(cached) " >&6
    8655 fi
    8656 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8657                  $as_echo "$as_val"'`
    8658                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8659 $as_echo "$ac_res" >&6; }
    8660 else
    8661   # Is the header compilable?
    8662 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8663 $as_echo_n "checking $ac_header usability... " >&6; }
    8664 cat >conftest.$ac_ext <<_ACEOF
    8665 /* confdefs.h.  */
    8666 _ACEOF
    8667 cat confdefs.h >>conftest.$ac_ext
    8668 cat >>conftest.$ac_ext <<_ACEOF
    8669 /* end confdefs.h.  */
    8670 $ac_includes_default
    8671 #include <$ac_header>
    8672 _ACEOF
    8673 rm -f conftest.$ac_objext
    8674 if { (ac_try="$ac_compile"
    8675 case "(($ac_try" in
    8676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8677   *) ac_try_echo=$ac_try;;
    8678 esac
    8679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8680 $as_echo "$ac_try_echo") >&5
    8681   (eval "$ac_compile") 2>conftest.er1
    8682   ac_status=$?
    8683   grep -v '^ *+' conftest.er1 >conftest.err
    8684   rm -f conftest.er1
    8685   cat conftest.err >&5
    8686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8687   (exit $ac_status); } && {
    8688          test -z "$ac_cxx_werror_flag" ||
    8689          test ! -s conftest.err
    8690        } && test -s conftest.$ac_objext; then
    8691   ac_header_compiler=yes
    8692 else
    8693   $as_echo "$as_me: failed program was:" >&5
    8694 sed 's/^/| /' conftest.$ac_ext >&5
    8695 
    8696         ac_header_compiler=no
    8697 fi
    8698 
    8699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8700 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8701 $as_echo "$ac_header_compiler" >&6; }
    8702 
    8703 # Is the header present?
    8704 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8705 $as_echo_n "checking $ac_header presence... " >&6; }
    8706 cat >conftest.$ac_ext <<_ACEOF
    8707 /* confdefs.h.  */
    8708 _ACEOF
    8709 cat confdefs.h >>conftest.$ac_ext
    8710 cat >>conftest.$ac_ext <<_ACEOF
    8711 /* end confdefs.h.  */
    8712 #include <$ac_header>
    8713 _ACEOF
    8714 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8715 case "(($ac_try" in
    8716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8717   *) ac_try_echo=$ac_try;;
    8718 esac
    8719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8720 $as_echo "$ac_try_echo") >&5
    8721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8722   ac_status=$?
    8723   grep -v '^ *+' conftest.er1 >conftest.err
    8724   rm -f conftest.er1
    8725   cat conftest.err >&5
    8726   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8727   (exit $ac_status); } >/dev/null && {
    8728          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8729          test ! -s conftest.err
    8730        }; then
    8731   ac_header_preproc=yes
    8732 else
    8733   $as_echo "$as_me: failed program was:" >&5
    8734 sed 's/^/| /' conftest.$ac_ext >&5
    8735 
    8736   ac_header_preproc=no
    8737 fi
    8738 
    8739 rm -f conftest.err conftest.$ac_ext
    8740 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8741 $as_echo "$ac_header_preproc" >&6; }
    8742 
    8743 # So?  What about this header?
    8744 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8745   yes:no: )
    8746     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8747 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8748     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8749 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8750     ac_header_preproc=yes
    8751     ;;
    8752   no:yes:* )
    8753     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8754 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8755     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8756 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8757     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8758 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8759     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8760 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8761     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8762 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8763     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8764 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8765     ( cat <<\_ASBOX
    8766 ## ----------------------------------- ##
    8767 ## Report this to rappture@nanohub.org ##
    8768 ## ----------------------------------- ##
    8769 _ASBOX
    8770      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8771     ;;
    8772 esac
    8773 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8774 $as_echo_n "checking for $ac_header... " >&6; }
    8775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8776   $as_echo_n "(cached) " >&6
    8777 else
    8778   eval "$as_ac_Header=\$ac_header_preproc"
    8779 fi
    8780 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8781                  $as_echo "$as_val"'`
    8782                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8783 $as_echo "$ac_res" >&6; }
    8784 
    8785 fi
    8786 as_val=`eval 'as_val=${'$as_ac_Header'}
    8787                  $as_echo "$as_val"'`
    8788    if test "x$as_val" = x""yes; then
     5364do :
     5365  ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5366if test "x$ac_cv_header_stdlib_h" = xyes; then :
    87895367  cat >>confdefs.h <<_ACEOF
    8790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8791 _ACEOF
    8792 
    8793 else
    8794   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5368#define HAVE_STDLIB_H 1
     5369_ACEOF
     5370
     5371else
     5372  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    87955373$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    87965374fi
     
    87985376done
    87995377
    8800 
    88015378for ac_header in stddef.h
    8802 do
    8803 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8805   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8806 $as_echo_n "checking for $ac_header... " >&6; }
    8807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8808   $as_echo_n "(cached) " >&6
    8809 fi
    8810 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8811                  $as_echo "$as_val"'`
    8812                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8813 $as_echo "$ac_res" >&6; }
    8814 else
    8815   # Is the header compilable?
    8816 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8817 $as_echo_n "checking $ac_header usability... " >&6; }
    8818 cat >conftest.$ac_ext <<_ACEOF
    8819 /* confdefs.h.  */
    8820 _ACEOF
    8821 cat confdefs.h >>conftest.$ac_ext
    8822 cat >>conftest.$ac_ext <<_ACEOF
    8823 /* end confdefs.h.  */
    8824 $ac_includes_default
    8825 #include <$ac_header>
    8826 _ACEOF
    8827 rm -f conftest.$ac_objext
    8828 if { (ac_try="$ac_compile"
    8829 case "(($ac_try" in
    8830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8831   *) ac_try_echo=$ac_try;;
    8832 esac
    8833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8834 $as_echo "$ac_try_echo") >&5
    8835   (eval "$ac_compile") 2>conftest.er1
    8836   ac_status=$?
    8837   grep -v '^ *+' conftest.er1 >conftest.err
    8838   rm -f conftest.er1
    8839   cat conftest.err >&5
    8840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8841   (exit $ac_status); } && {
    8842          test -z "$ac_cxx_werror_flag" ||
    8843          test ! -s conftest.err
    8844        } && test -s conftest.$ac_objext; then
    8845   ac_header_compiler=yes
    8846 else
    8847   $as_echo "$as_me: failed program was:" >&5
    8848 sed 's/^/| /' conftest.$ac_ext >&5
    8849 
    8850         ac_header_compiler=no
    8851 fi
    8852 
    8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8854 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8855 $as_echo "$ac_header_compiler" >&6; }
    8856 
    8857 # Is the header present?
    8858 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8859 $as_echo_n "checking $ac_header presence... " >&6; }
    8860 cat >conftest.$ac_ext <<_ACEOF
    8861 /* confdefs.h.  */
    8862 _ACEOF
    8863 cat confdefs.h >>conftest.$ac_ext
    8864 cat >>conftest.$ac_ext <<_ACEOF
    8865 /* end confdefs.h.  */
    8866 #include <$ac_header>
    8867 _ACEOF
    8868 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8869 case "(($ac_try" in
    8870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8871   *) ac_try_echo=$ac_try;;
    8872 esac
    8873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8874 $as_echo "$ac_try_echo") >&5
    8875   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8876   ac_status=$?
    8877   grep -v '^ *+' conftest.er1 >conftest.err
    8878   rm -f conftest.er1
    8879   cat conftest.err >&5
    8880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8881   (exit $ac_status); } >/dev/null && {
    8882          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8883          test ! -s conftest.err
    8884        }; then
    8885   ac_header_preproc=yes
    8886 else
    8887   $as_echo "$as_me: failed program was:" >&5
    8888 sed 's/^/| /' conftest.$ac_ext >&5
    8889 
    8890   ac_header_preproc=no
    8891 fi
    8892 
    8893 rm -f conftest.err conftest.$ac_ext
    8894 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8895 $as_echo "$ac_header_preproc" >&6; }
    8896 
    8897 # So?  What about this header?
    8898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8899   yes:no: )
    8900     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8901 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8902     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8903 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8904     ac_header_preproc=yes
    8905     ;;
    8906   no:yes:* )
    8907     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8908 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8909     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8910 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8911     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8912 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8913     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8914 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8915     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8916 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8917     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8918 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8919     ( cat <<\_ASBOX
    8920 ## ----------------------------------- ##
    8921 ## Report this to rappture@nanohub.org ##
    8922 ## ----------------------------------- ##
    8923 _ASBOX
    8924      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8925     ;;
    8926 esac
    8927 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8928 $as_echo_n "checking for $ac_header... " >&6; }
    8929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8930   $as_echo_n "(cached) " >&6
    8931 else
    8932   eval "$as_ac_Header=\$ac_header_preproc"
    8933 fi
    8934 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8935                  $as_echo "$as_val"'`
    8936                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8937 $as_echo "$ac_res" >&6; }
    8938 
    8939 fi
    8940 as_val=`eval 'as_val=${'$as_ac_Header'}
    8941                  $as_echo "$as_val"'`
    8942    if test "x$as_val" = x""yes; then
     5379do :
     5380  ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
     5381if test "x$ac_cv_header_stddef_h" = xyes; then :
    89435382  cat >>confdefs.h <<_ACEOF
    8944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8945 _ACEOF
    8946 
    8947 else
    8948   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5383#define HAVE_STDDEF_H 1
     5384_ACEOF
     5385
     5386else
     5387  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    89495388$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    89505389fi
     
    89525391done
    89535392
    8954 
    89555393for ac_header in float.h
    8956 do
    8957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8959   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8960 $as_echo_n "checking for $ac_header... " >&6; }
    8961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8962   $as_echo_n "(cached) " >&6
    8963 fi
    8964 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8965                  $as_echo "$as_val"'`
    8966                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8967 $as_echo "$ac_res" >&6; }
    8968 else
    8969   # Is the header compilable?
    8970 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8971 $as_echo_n "checking $ac_header usability... " >&6; }
    8972 cat >conftest.$ac_ext <<_ACEOF
    8973 /* confdefs.h.  */
    8974 _ACEOF
    8975 cat confdefs.h >>conftest.$ac_ext
    8976 cat >>conftest.$ac_ext <<_ACEOF
    8977 /* end confdefs.h.  */
    8978 $ac_includes_default
    8979 #include <$ac_header>
    8980 _ACEOF
    8981 rm -f conftest.$ac_objext
    8982 if { (ac_try="$ac_compile"
    8983 case "(($ac_try" in
    8984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8985   *) ac_try_echo=$ac_try;;
    8986 esac
    8987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8988 $as_echo "$ac_try_echo") >&5
    8989   (eval "$ac_compile") 2>conftest.er1
    8990   ac_status=$?
    8991   grep -v '^ *+' conftest.er1 >conftest.err
    8992   rm -f conftest.er1
    8993   cat conftest.err >&5
    8994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8995   (exit $ac_status); } && {
    8996          test -z "$ac_cxx_werror_flag" ||
    8997          test ! -s conftest.err
    8998        } && test -s conftest.$ac_objext; then
    8999   ac_header_compiler=yes
    9000 else
    9001   $as_echo "$as_me: failed program was:" >&5
    9002 sed 's/^/| /' conftest.$ac_ext >&5
    9003 
    9004         ac_header_compiler=no
    9005 fi
    9006 
    9007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9008 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9009 $as_echo "$ac_header_compiler" >&6; }
    9010 
    9011 # Is the header present?
    9012 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9013 $as_echo_n "checking $ac_header presence... " >&6; }
    9014 cat >conftest.$ac_ext <<_ACEOF
    9015 /* confdefs.h.  */
    9016 _ACEOF
    9017 cat confdefs.h >>conftest.$ac_ext
    9018 cat >>conftest.$ac_ext <<_ACEOF
    9019 /* end confdefs.h.  */
    9020 #include <$ac_header>
    9021 _ACEOF
    9022 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9023 case "(($ac_try" in
    9024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9025   *) ac_try_echo=$ac_try;;
    9026 esac
    9027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9028 $as_echo "$ac_try_echo") >&5
    9029   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9030   ac_status=$?
    9031   grep -v '^ *+' conftest.er1 >conftest.err
    9032   rm -f conftest.er1
    9033   cat conftest.err >&5
    9034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9035   (exit $ac_status); } >/dev/null && {
    9036          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9037          test ! -s conftest.err
    9038        }; then
    9039   ac_header_preproc=yes
    9040 else
    9041   $as_echo "$as_me: failed program was:" >&5
    9042 sed 's/^/| /' conftest.$ac_ext >&5
    9043 
    9044   ac_header_preproc=no
    9045 fi
    9046 
    9047 rm -f conftest.err conftest.$ac_ext
    9048 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9049 $as_echo "$ac_header_preproc" >&6; }
    9050 
    9051 # So?  What about this header?
    9052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9053   yes:no: )
    9054     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9055 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9056     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9057 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9058     ac_header_preproc=yes
    9059     ;;
    9060   no:yes:* )
    9061     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9062 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9063     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9064 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9065     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9066 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9067     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9068 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9069     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9070 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9071     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9072 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9073     ( cat <<\_ASBOX
    9074 ## ----------------------------------- ##
    9075 ## Report this to rappture@nanohub.org ##
    9076 ## ----------------------------------- ##
    9077 _ASBOX
    9078      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9079     ;;
    9080 esac
    9081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9082 $as_echo_n "checking for $ac_header... " >&6; }
    9083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9084   $as_echo_n "(cached) " >&6
    9085 else
    9086   eval "$as_ac_Header=\$ac_header_preproc"
    9087 fi
    9088 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9089                  $as_echo "$as_val"'`
    9090                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9091 $as_echo "$ac_res" >&6; }
    9092 
    9093 fi
    9094 as_val=`eval 'as_val=${'$as_ac_Header'}
    9095                  $as_echo "$as_val"'`
    9096    if test "x$as_val" = x""yes; then
     5394do :
     5395  ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
     5396if test "x$ac_cv_header_float_h" = xyes; then :
    90975397  cat >>confdefs.h <<_ACEOF
    9098 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9099 _ACEOF
    9100 
    9101 else
    9102   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5398#define HAVE_FLOAT_H 1
     5399_ACEOF
     5400
     5401else
     5402  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    91035403$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    91045404fi
     
    91065406done
    91075407
    9108 
    91095408for ac_header in math.h
    9110 do
    9111 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9113   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9114 $as_echo_n "checking for $ac_header... " >&6; }
    9115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9116   $as_echo_n "(cached) " >&6
    9117 fi
    9118 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9119                  $as_echo "$as_val"'`
    9120                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9121 $as_echo "$ac_res" >&6; }
    9122 else
    9123   # Is the header compilable?
    9124 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9125 $as_echo_n "checking $ac_header usability... " >&6; }
    9126 cat >conftest.$ac_ext <<_ACEOF
    9127 /* confdefs.h.  */
    9128 _ACEOF
    9129 cat confdefs.h >>conftest.$ac_ext
    9130 cat >>conftest.$ac_ext <<_ACEOF
    9131 /* end confdefs.h.  */
    9132 $ac_includes_default
    9133 #include <$ac_header>
    9134 _ACEOF
    9135 rm -f conftest.$ac_objext
    9136 if { (ac_try="$ac_compile"
    9137 case "(($ac_try" in
    9138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9139   *) ac_try_echo=$ac_try;;
    9140 esac
    9141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9142 $as_echo "$ac_try_echo") >&5
    9143   (eval "$ac_compile") 2>conftest.er1
    9144   ac_status=$?
    9145   grep -v '^ *+' conftest.er1 >conftest.err
    9146   rm -f conftest.er1
    9147   cat conftest.err >&5
    9148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9149   (exit $ac_status); } && {
    9150          test -z "$ac_cxx_werror_flag" ||
    9151          test ! -s conftest.err
    9152        } && test -s conftest.$ac_objext; then
    9153   ac_header_compiler=yes
    9154 else
    9155   $as_echo "$as_me: failed program was:" >&5
    9156 sed 's/^/| /' conftest.$ac_ext >&5
    9157 
    9158         ac_header_compiler=no
    9159 fi
    9160 
    9161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9162 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9163 $as_echo "$ac_header_compiler" >&6; }
    9164 
    9165 # Is the header present?
    9166 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9167 $as_echo_n "checking $ac_header presence... " >&6; }
    9168 cat >conftest.$ac_ext <<_ACEOF
    9169 /* confdefs.h.  */
    9170 _ACEOF
    9171 cat confdefs.h >>conftest.$ac_ext
    9172 cat >>conftest.$ac_ext <<_ACEOF
    9173 /* end confdefs.h.  */
    9174 #include <$ac_header>
    9175 _ACEOF
    9176 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9177 case "(($ac_try" in
    9178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9179   *) ac_try_echo=$ac_try;;
    9180 esac
    9181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9182 $as_echo "$ac_try_echo") >&5
    9183   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9184   ac_status=$?
    9185   grep -v '^ *+' conftest.er1 >conftest.err
    9186   rm -f conftest.er1
    9187   cat conftest.err >&5
    9188   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9189   (exit $ac_status); } >/dev/null && {
    9190          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9191          test ! -s conftest.err
    9192        }; then
    9193   ac_header_preproc=yes
    9194 else
    9195   $as_echo "$as_me: failed program was:" >&5
    9196 sed 's/^/| /' conftest.$ac_ext >&5
    9197 
    9198   ac_header_preproc=no
    9199 fi
    9200 
    9201 rm -f conftest.err conftest.$ac_ext
    9202 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9203 $as_echo "$ac_header_preproc" >&6; }
    9204 
    9205 # So?  What about this header?
    9206 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9207   yes:no: )
    9208     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9209 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9210     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9211 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9212     ac_header_preproc=yes
    9213     ;;
    9214   no:yes:* )
    9215     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9216 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9217     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9218 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9219     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9220 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9221     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9222 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9223     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9224 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9225     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9226 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9227     ( cat <<\_ASBOX
    9228 ## ----------------------------------- ##
    9229 ## Report this to rappture@nanohub.org ##
    9230 ## ----------------------------------- ##
    9231 _ASBOX
    9232      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9233     ;;
    9234 esac
    9235 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9236 $as_echo_n "checking for $ac_header... " >&6; }
    9237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9238   $as_echo_n "(cached) " >&6
    9239 else
    9240   eval "$as_ac_Header=\$ac_header_preproc"
    9241 fi
    9242 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9243                  $as_echo "$as_val"'`
    9244                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9245 $as_echo "$ac_res" >&6; }
    9246 
    9247 fi
    9248 as_val=`eval 'as_val=${'$as_ac_Header'}
    9249                  $as_echo "$as_val"'`
    9250    if test "x$as_val" = x""yes; then
     5409do :
     5410  ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
     5411if test "x$ac_cv_header_math_h" = xyes; then :
    92515412  cat >>confdefs.h <<_ACEOF
    9252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9253 _ACEOF
    9254 
    9255 else
    9256   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5413#define HAVE_MATH_H 1
     5414_ACEOF
     5415
     5416else
     5417  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    92575418$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    92585419fi
     
    92605421done
    92615422
    9262 
    92635423for ac_header in malloc.h
    9264 do
    9265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9267   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9268 $as_echo_n "checking for $ac_header... " >&6; }
    9269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9270   $as_echo_n "(cached) " >&6
    9271 fi
    9272 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9273                  $as_echo "$as_val"'`
    9274                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9275 $as_echo "$ac_res" >&6; }
    9276 else
    9277   # Is the header compilable?
    9278 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9279 $as_echo_n "checking $ac_header usability... " >&6; }
    9280 cat >conftest.$ac_ext <<_ACEOF
    9281 /* confdefs.h.  */
    9282 _ACEOF
    9283 cat confdefs.h >>conftest.$ac_ext
    9284 cat >>conftest.$ac_ext <<_ACEOF
    9285 /* end confdefs.h.  */
    9286 $ac_includes_default
    9287 #include <$ac_header>
    9288 _ACEOF
    9289 rm -f conftest.$ac_objext
    9290 if { (ac_try="$ac_compile"
    9291 case "(($ac_try" in
    9292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9293   *) ac_try_echo=$ac_try;;
    9294 esac
    9295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9296 $as_echo "$ac_try_echo") >&5
    9297   (eval "$ac_compile") 2>conftest.er1
    9298   ac_status=$?
    9299   grep -v '^ *+' conftest.er1 >conftest.err
    9300   rm -f conftest.er1
    9301   cat conftest.err >&5
    9302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9303   (exit $ac_status); } && {
    9304          test -z "$ac_cxx_werror_flag" ||
    9305          test ! -s conftest.err
    9306        } && test -s conftest.$ac_objext; then
    9307   ac_header_compiler=yes
    9308 else
    9309   $as_echo "$as_me: failed program was:" >&5
    9310 sed 's/^/| /' conftest.$ac_ext >&5
    9311 
    9312         ac_header_compiler=no
    9313 fi
    9314 
    9315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9316 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9317 $as_echo "$ac_header_compiler" >&6; }
    9318 
    9319 # Is the header present?
    9320 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9321 $as_echo_n "checking $ac_header presence... " >&6; }
    9322 cat >conftest.$ac_ext <<_ACEOF
    9323 /* confdefs.h.  */
    9324 _ACEOF
    9325 cat confdefs.h >>conftest.$ac_ext
    9326 cat >>conftest.$ac_ext <<_ACEOF
    9327 /* end confdefs.h.  */
    9328 #include <$ac_header>
    9329 _ACEOF
    9330 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9331 case "(($ac_try" in
    9332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9333   *) ac_try_echo=$ac_try;;
    9334 esac
    9335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9336 $as_echo "$ac_try_echo") >&5
    9337   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9338   ac_status=$?
    9339   grep -v '^ *+' conftest.er1 >conftest.err
    9340   rm -f conftest.er1
    9341   cat conftest.err >&5
    9342   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9343   (exit $ac_status); } >/dev/null && {
    9344          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9345          test ! -s conftest.err
    9346        }; then
    9347   ac_header_preproc=yes
    9348 else
    9349   $as_echo "$as_me: failed program was:" >&5
    9350 sed 's/^/| /' conftest.$ac_ext >&5
    9351 
    9352   ac_header_preproc=no
    9353 fi
    9354 
    9355 rm -f conftest.err conftest.$ac_ext
    9356 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9357 $as_echo "$ac_header_preproc" >&6; }
    9358 
    9359 # So?  What about this header?
    9360 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9361   yes:no: )
    9362     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9363 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9364     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9365 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9366     ac_header_preproc=yes
    9367     ;;
    9368   no:yes:* )
    9369     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9370 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9371     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9372 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9373     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9374 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9375     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9376 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9377     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9378 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9379     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9380 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9381     ( cat <<\_ASBOX
    9382 ## ----------------------------------- ##
    9383 ## Report this to rappture@nanohub.org ##
    9384 ## ----------------------------------- ##
    9385 _ASBOX
    9386      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9387     ;;
    9388 esac
    9389 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9390 $as_echo_n "checking for $ac_header... " >&6; }
    9391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9392   $as_echo_n "(cached) " >&6
    9393 else
    9394   eval "$as_ac_Header=\$ac_header_preproc"
    9395 fi
    9396 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9397                  $as_echo "$as_val"'`
    9398                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9399 $as_echo "$ac_res" >&6; }
    9400 
    9401 fi
    9402 as_val=`eval 'as_val=${'$as_ac_Header'}
    9403                  $as_echo "$as_val"'`
    9404    if test "x$as_val" = x""yes; then
     5424do :
     5425  ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
     5426if test "x$ac_cv_header_malloc_h" = xyes; then :
    94055427  cat >>confdefs.h <<_ACEOF
    9406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9407 _ACEOF
    9408 
    9409 else
    9410   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5428#define HAVE_MALLOC_H 1
     5429_ACEOF
     5430
     5431else
     5432  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    94115433$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    94125434fi
     
    94145436done
    94155437
    9416 
    94175438for ac_header in memory.h
    9418 do
    9419 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9421   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9422 $as_echo_n "checking for $ac_header... " >&6; }
    9423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9424   $as_echo_n "(cached) " >&6
    9425 fi
    9426 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9427                  $as_echo "$as_val"'`
    9428                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9429 $as_echo "$ac_res" >&6; }
    9430 else
    9431   # Is the header compilable?
    9432 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9433 $as_echo_n "checking $ac_header usability... " >&6; }
    9434 cat >conftest.$ac_ext <<_ACEOF
    9435 /* confdefs.h.  */
    9436 _ACEOF
    9437 cat confdefs.h >>conftest.$ac_ext
    9438 cat >>conftest.$ac_ext <<_ACEOF
    9439 /* end confdefs.h.  */
    9440 $ac_includes_default
    9441 #include <$ac_header>
    9442 _ACEOF
    9443 rm -f conftest.$ac_objext
    9444 if { (ac_try="$ac_compile"
    9445 case "(($ac_try" in
    9446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9447   *) ac_try_echo=$ac_try;;
    9448 esac
    9449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9450 $as_echo "$ac_try_echo") >&5
    9451   (eval "$ac_compile") 2>conftest.er1
    9452   ac_status=$?
    9453   grep -v '^ *+' conftest.er1 >conftest.err
    9454   rm -f conftest.er1
    9455   cat conftest.err >&5
    9456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9457   (exit $ac_status); } && {
    9458          test -z "$ac_cxx_werror_flag" ||
    9459          test ! -s conftest.err
    9460        } && test -s conftest.$ac_objext; then
    9461   ac_header_compiler=yes
    9462 else
    9463   $as_echo "$as_me: failed program was:" >&5
    9464 sed 's/^/| /' conftest.$ac_ext >&5
    9465 
    9466         ac_header_compiler=no
    9467 fi
    9468 
    9469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9470 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9471 $as_echo "$ac_header_compiler" >&6; }
    9472 
    9473 # Is the header present?
    9474 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9475 $as_echo_n "checking $ac_header presence... " >&6; }
    9476 cat >conftest.$ac_ext <<_ACEOF
    9477 /* confdefs.h.  */
    9478 _ACEOF
    9479 cat confdefs.h >>conftest.$ac_ext
    9480 cat >>conftest.$ac_ext <<_ACEOF
    9481 /* end confdefs.h.  */
    9482 #include <$ac_header>
    9483 _ACEOF
    9484 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9485 case "(($ac_try" in
    9486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9487   *) ac_try_echo=$ac_try;;
    9488 esac
    9489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9490 $as_echo "$ac_try_echo") >&5
    9491   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9492   ac_status=$?
    9493   grep -v '^ *+' conftest.er1 >conftest.err
    9494   rm -f conftest.er1
    9495   cat conftest.err >&5
    9496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9497   (exit $ac_status); } >/dev/null && {
    9498          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9499          test ! -s conftest.err
    9500        }; then
    9501   ac_header_preproc=yes
    9502 else
    9503   $as_echo "$as_me: failed program was:" >&5
    9504 sed 's/^/| /' conftest.$ac_ext >&5
    9505 
    9506   ac_header_preproc=no
    9507 fi
    9508 
    9509 rm -f conftest.err conftest.$ac_ext
    9510 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9511 $as_echo "$ac_header_preproc" >&6; }
    9512 
    9513 # So?  What about this header?
    9514 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9515   yes:no: )
    9516     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9517 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9518     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9519 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9520     ac_header_preproc=yes
    9521     ;;
    9522   no:yes:* )
    9523     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9524 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9525     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9526 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9527     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9528 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9529     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9530 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9531     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9532 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9533     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9534 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9535     ( cat <<\_ASBOX
    9536 ## ----------------------------------- ##
    9537 ## Report this to rappture@nanohub.org ##
    9538 ## ----------------------------------- ##
    9539 _ASBOX
    9540      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9541     ;;
    9542 esac
    9543 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9544 $as_echo_n "checking for $ac_header... " >&6; }
    9545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9546   $as_echo_n "(cached) " >&6
    9547 else
    9548   eval "$as_ac_Header=\$ac_header_preproc"
    9549 fi
    9550 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9551                  $as_echo "$as_val"'`
    9552                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9553 $as_echo "$ac_res" >&6; }
    9554 
    9555 fi
    9556 as_val=`eval 'as_val=${'$as_ac_Header'}
    9557                  $as_echo "$as_val"'`
    9558    if test "x$as_val" = x""yes; then
     5439do :
     5440  ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
     5441if test "x$ac_cv_header_memory_h" = xyes; then :
    95595442  cat >>confdefs.h <<_ACEOF
    9560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9561 _ACEOF
    9562 
    9563 else
    9564   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5443#define HAVE_MEMORY_H 1
     5444_ACEOF
     5445
     5446else
     5447  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    95655448$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    95665449fi
     
    95685451done
    95695452
    9570 
    95715453for ac_header in unistd.h
    9572 do
    9573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9575   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9576 $as_echo_n "checking for $ac_header... " >&6; }
    9577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9578   $as_echo_n "(cached) " >&6
    9579 fi
    9580 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9581                  $as_echo "$as_val"'`
    9582                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9583 $as_echo "$ac_res" >&6; }
    9584 else
    9585   # Is the header compilable?
    9586 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9587 $as_echo_n "checking $ac_header usability... " >&6; }
    9588 cat >conftest.$ac_ext <<_ACEOF
    9589 /* confdefs.h.  */
    9590 _ACEOF
    9591 cat confdefs.h >>conftest.$ac_ext
    9592 cat >>conftest.$ac_ext <<_ACEOF
    9593 /* end confdefs.h.  */
    9594 $ac_includes_default
    9595 #include <$ac_header>
    9596 _ACEOF
    9597 rm -f conftest.$ac_objext
    9598 if { (ac_try="$ac_compile"
    9599 case "(($ac_try" in
    9600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9601   *) ac_try_echo=$ac_try;;
    9602 esac
    9603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9604 $as_echo "$ac_try_echo") >&5
    9605   (eval "$ac_compile") 2>conftest.er1
    9606   ac_status=$?
    9607   grep -v '^ *+' conftest.er1 >conftest.err
    9608   rm -f conftest.er1
    9609   cat conftest.err >&5
    9610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9611   (exit $ac_status); } && {
    9612          test -z "$ac_cxx_werror_flag" ||
    9613          test ! -s conftest.err
    9614        } && test -s conftest.$ac_objext; then
    9615   ac_header_compiler=yes
    9616 else
    9617   $as_echo "$as_me: failed program was:" >&5
    9618 sed 's/^/| /' conftest.$ac_ext >&5
    9619 
    9620         ac_header_compiler=no
    9621 fi
    9622 
    9623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9624 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9625 $as_echo "$ac_header_compiler" >&6; }
    9626 
    9627 # Is the header present?
    9628 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9629 $as_echo_n "checking $ac_header presence... " >&6; }
    9630 cat >conftest.$ac_ext <<_ACEOF
    9631 /* confdefs.h.  */
    9632 _ACEOF
    9633 cat confdefs.h >>conftest.$ac_ext
    9634 cat >>conftest.$ac_ext <<_ACEOF
    9635 /* end confdefs.h.  */
    9636 #include <$ac_header>
    9637 _ACEOF
    9638 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9639 case "(($ac_try" in
    9640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9641   *) ac_try_echo=$ac_try;;
    9642 esac
    9643 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9644 $as_echo "$ac_try_echo") >&5
    9645   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9646   ac_status=$?
    9647   grep -v '^ *+' conftest.er1 >conftest.err
    9648   rm -f conftest.er1
    9649   cat conftest.err >&5
    9650   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9651   (exit $ac_status); } >/dev/null && {
    9652          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9653          test ! -s conftest.err
    9654        }; then
    9655   ac_header_preproc=yes
    9656 else
    9657   $as_echo "$as_me: failed program was:" >&5
    9658 sed 's/^/| /' conftest.$ac_ext >&5
    9659 
    9660   ac_header_preproc=no
    9661 fi
    9662 
    9663 rm -f conftest.err conftest.$ac_ext
    9664 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9665 $as_echo "$ac_header_preproc" >&6; }
    9666 
    9667 # So?  What about this header?
    9668 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9669   yes:no: )
    9670     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9671 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9672     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9673 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9674     ac_header_preproc=yes
    9675     ;;
    9676   no:yes:* )
    9677     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9678 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9679     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9680 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9681     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9682 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9683     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9684 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9685     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9687     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9688 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9689     ( cat <<\_ASBOX
    9690 ## ----------------------------------- ##
    9691 ## Report this to rappture@nanohub.org ##
    9692 ## ----------------------------------- ##
    9693 _ASBOX
    9694      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9695     ;;
    9696 esac
    9697 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9698 $as_echo_n "checking for $ac_header... " >&6; }
    9699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9700   $as_echo_n "(cached) " >&6
    9701 else
    9702   eval "$as_ac_Header=\$ac_header_preproc"
    9703 fi
    9704 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9705                  $as_echo "$as_val"'`
    9706                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9707 $as_echo "$ac_res" >&6; }
    9708 
    9709 fi
    9710 as_val=`eval 'as_val=${'$as_ac_Header'}
    9711                  $as_echo "$as_val"'`
    9712    if test "x$as_val" = x""yes; then
     5454do :
     5455  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
     5456if test "x$ac_cv_header_unistd_h" = xyes; then :
    97135457  cat >>confdefs.h <<_ACEOF
    9714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9715 _ACEOF
    9716 
    9717 else
    9718   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5458#define HAVE_UNISTD_H 1
     5459_ACEOF
     5460
     5461else
     5462  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    97195463$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    97205464fi
     
    97235467
    97245468
    9725 
    97265469for ac_header in inttypes.h
    9727 do
    9728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9730   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9731 $as_echo_n "checking for $ac_header... " >&6; }
    9732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9733   $as_echo_n "(cached) " >&6
    9734 fi
    9735 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9736                  $as_echo "$as_val"'`
    9737                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9738 $as_echo "$ac_res" >&6; }
    9739 else
    9740   # Is the header compilable?
    9741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9742 $as_echo_n "checking $ac_header usability... " >&6; }
    9743 cat >conftest.$ac_ext <<_ACEOF
    9744 /* confdefs.h.  */
    9745 _ACEOF
    9746 cat confdefs.h >>conftest.$ac_ext
    9747 cat >>conftest.$ac_ext <<_ACEOF
    9748 /* end confdefs.h.  */
    9749 $ac_includes_default
    9750 #include <$ac_header>
    9751 _ACEOF
    9752 rm -f conftest.$ac_objext
    9753 if { (ac_try="$ac_compile"
    9754 case "(($ac_try" in
    9755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9756   *) ac_try_echo=$ac_try;;
    9757 esac
    9758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9759 $as_echo "$ac_try_echo") >&5
    9760   (eval "$ac_compile") 2>conftest.er1
    9761   ac_status=$?
    9762   grep -v '^ *+' conftest.er1 >conftest.err
    9763   rm -f conftest.er1
    9764   cat conftest.err >&5
    9765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9766   (exit $ac_status); } && {
    9767          test -z "$ac_cxx_werror_flag" ||
    9768          test ! -s conftest.err
    9769        } && test -s conftest.$ac_objext; then
    9770   ac_header_compiler=yes
    9771 else
    9772   $as_echo "$as_me: failed program was:" >&5
    9773 sed 's/^/| /' conftest.$ac_ext >&5
    9774 
    9775         ac_header_compiler=no
    9776 fi
    9777 
    9778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9780 $as_echo "$ac_header_compiler" >&6; }
    9781 
    9782 # Is the header present?
    9783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9784 $as_echo_n "checking $ac_header presence... " >&6; }
    9785 cat >conftest.$ac_ext <<_ACEOF
    9786 /* confdefs.h.  */
    9787 _ACEOF
    9788 cat confdefs.h >>conftest.$ac_ext
    9789 cat >>conftest.$ac_ext <<_ACEOF
    9790 /* end confdefs.h.  */
    9791 #include <$ac_header>
    9792 _ACEOF
    9793 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9794 case "(($ac_try" in
    9795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9796   *) ac_try_echo=$ac_try;;
    9797 esac
    9798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9799 $as_echo "$ac_try_echo") >&5
    9800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9801   ac_status=$?
    9802   grep -v '^ *+' conftest.er1 >conftest.err
    9803   rm -f conftest.er1
    9804   cat conftest.err >&5
    9805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9806   (exit $ac_status); } >/dev/null && {
    9807          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9808          test ! -s conftest.err
    9809        }; then
    9810   ac_header_preproc=yes
    9811 else
    9812   $as_echo "$as_me: failed program was:" >&5
    9813 sed 's/^/| /' conftest.$ac_ext >&5
    9814 
    9815   ac_header_preproc=no
    9816 fi
    9817 
    9818 rm -f conftest.err conftest.$ac_ext
    9819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9820 $as_echo "$ac_header_preproc" >&6; }
    9821 
    9822 # So?  What about this header?
    9823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9824   yes:no: )
    9825     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9827     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9829     ac_header_preproc=yes
    9830     ;;
    9831   no:yes:* )
    9832     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9834     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9835 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9836     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9838     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9839 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9840     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9842     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9844     ( cat <<\_ASBOX
    9845 ## ----------------------------------- ##
    9846 ## Report this to rappture@nanohub.org ##
    9847 ## ----------------------------------- ##
    9848 _ASBOX
    9849      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9850     ;;
    9851 esac
    9852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9853 $as_echo_n "checking for $ac_header... " >&6; }
    9854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9855   $as_echo_n "(cached) " >&6
    9856 else
    9857   eval "$as_ac_Header=\$ac_header_preproc"
    9858 fi
    9859 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9860                  $as_echo "$as_val"'`
    9861                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9862 $as_echo "$ac_res" >&6; }
    9863 
    9864 fi
    9865 as_val=`eval 'as_val=${'$as_ac_Header'}
    9866                  $as_echo "$as_val"'`
    9867    if test "x$as_val" = x""yes; then
     5470do :
     5471  ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
     5472if test "x$ac_cv_header_inttypes_h" = xyes; then :
    98685473  cat >>confdefs.h <<_ACEOF
    9869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9870 _ACEOF
    9871 
    9872 else
    9873   { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
     5474#define HAVE_INTTYPES_H 1
     5475_ACEOF
     5476
     5477else
     5478  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
    98745479$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    98755480fi
     
    98885493    # Step 0.a: Enable 64 bit support?
    98895494
    9890     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     5495    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    98915496$as_echo_n "checking if 64bit support is requested... " >&6; }
    98925497    # Check whether --enable-64bit was given.
    9893 if test "${enable_64bit+set}" = set; then
     5498if test "${enable_64bit+set}" = set; then :
    98945499  enableval=$enable_64bit; do64bit=$enableval
    98955500else
     
    98975502fi
    98985503
    9899     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     5504    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    99005505$as_echo "$do64bit" >&6; }
    99015506
    99025507    # Step 0.b: Enable Solaris 64 bit VIS support?
    99035508
    9904     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     5509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    99055510$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    99065511    # Check whether --enable-64bit-vis was given.
    9907 if test "${enable_64bit_vis+set}" = set; then
     5512if test "${enable_64bit_vis+set}" = set; then :
    99085513  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    99095514else
     
    99115516fi
    99125517
    9913     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     5518    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    99145519$as_echo "$do64bitVIS" >&6; }
    99155520
     
    99235528
    99245529
    9925     { $as_echo "$as_me:$LINENO: checking system version" >&5
     5530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    99265531$as_echo_n "checking system version... " >&6; }
    9927 if test "${tcl_cv_sys_version+set}" = set; then
     5532if ${tcl_cv_sys_version+:} false; then :
    99285533  $as_echo_n "(cached) " >&6
    99295534else
     
    99345539            tcl_cv_sys_version=`uname -s`-`uname -r`
    99355540            if test "$?" -ne 0 ; then
    9936                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     5541                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    99375542$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    99385543                tcl_cv_sys_version=unknown
     
    99515556
    99525557fi
    9953 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     5558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    99545559$as_echo "$tcl_cv_sys_version" >&6; }
    99555560    system=$tcl_cv_sys_version
     
    99595564    # Linux can use either -ldl or -ldld for dynamic loading.
    99605565
    9961     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     5566    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    99625567$as_echo_n "checking for dlopen in -ldl... " >&6; }
    9963 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     5568if ${ac_cv_lib_dl_dlopen+:} false; then :
    99645569  $as_echo_n "(cached) " >&6
    99655570else
    99665571  ac_check_lib_save_LIBS=$LIBS
    99675572LIBS="-ldl  $LIBS"
    9968 cat >conftest.$ac_ext <<_ACEOF
    9969 /* confdefs.h.  */
    9970 _ACEOF
    9971 cat confdefs.h >>conftest.$ac_ext
    9972 cat >>conftest.$ac_ext <<_ACEOF
     5573cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    99735574/* end confdefs.h.  */
    99745575
     
    99885589}
    99895590_ACEOF
    9990 rm -f conftest.$ac_objext conftest$ac_exeext
    9991 if { (ac_try="$ac_link"
    9992 case "(($ac_try" in
    9993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9994   *) ac_try_echo=$ac_try;;
    9995 esac
    9996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9997 $as_echo "$ac_try_echo") >&5
    9998   (eval "$ac_link") 2>conftest.er1
    9999   ac_status=$?
    10000   grep -v '^ *+' conftest.er1 >conftest.err
    10001   rm -f conftest.er1
    10002   cat conftest.err >&5
    10003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10004   (exit $ac_status); } && {
    10005          test -z "$ac_cxx_werror_flag" ||
    10006          test ! -s conftest.err
    10007        } && test -s conftest$ac_exeext && {
    10008          test "$cross_compiling" = yes ||
    10009          $as_test_x conftest$ac_exeext
    10010        }; then
     5591if ac_fn_cxx_try_link "$LINENO"; then :
    100115592  ac_cv_lib_dl_dlopen=yes
    100125593else
    10013   $as_echo "$as_me: failed program was:" >&5
    10014 sed 's/^/| /' conftest.$ac_ext >&5
    10015 
    10016         ac_cv_lib_dl_dlopen=no
    10017 fi
    10018 
    10019 rm -rf conftest.dSYM
    10020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10021       conftest$ac_exeext conftest.$ac_ext
     5594  ac_cv_lib_dl_dlopen=no
     5595fi
     5596rm -f core conftest.err conftest.$ac_objext \
     5597    conftest$ac_exeext conftest.$ac_ext
    100225598LIBS=$ac_check_lib_save_LIBS
    100235599fi
    10024 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     5600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    100255601$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    10026 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     5602if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    100275603  have_dl=yes
    100285604else
     
    100565632    # Extract the first word of "ar", so it can be a program name with args.
    100575633set dummy ar; ac_word=$2
    10058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    100595635$as_echo_n "checking for $ac_word... " >&6; }
    10060 if test "${ac_cv_prog_AR+set}" = set; then
     5636if ${ac_cv_prog_AR+:} false; then :
    100615637  $as_echo_n "(cached) " >&6
    100625638else
     
    100695645  IFS=$as_save_IFS
    100705646  test -z "$as_dir" && as_dir=.
    10071   for ac_exec_ext in '' $ac_executable_extensions; do
    10072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5647    for ac_exec_ext in '' $ac_executable_extensions; do
     5648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    100735649    ac_cv_prog_AR="ar"
    10074     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    100755651    break 2
    100765652  fi
    100775653done
    10078 done
     5654  done
    100795655IFS=$as_save_IFS
    100805656
     
    100835659AR=$ac_cv_prog_AR
    100845660if test -n "$AR"; then
    10085   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     5661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    100865662$as_echo "$AR" >&6; }
    100875663else
    10088   { $as_echo "$as_me:$LINENO: result: no" >&5
     5664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    100895665$as_echo "no" >&6; }
    100905666fi
     
    100925668
    100935669    if test "${AR}" = "" ; then
    10094         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    10095 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    10096    { (exit 1); exit 1; }; }
     5670        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    100975671    fi
    100985672    STLIB_LD='${AR} cr'
     
    101125686                        ;;
    101135687                esac
    10114                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     5688                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    101155689$as_echo "Using $CC for compiling with threads" >&6; }
    101165690            fi
     
    101285702            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    101295703                if test "$GCC" = "yes" ; then
    10130                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5704                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    101315705$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    101325706                else
     
    101835757            # known GMT value.
    101845758
    10185             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     5759            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    101865760$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    10187 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     5761if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    101885762  $as_echo_n "(cached) " >&6
    101895763else
    101905764  ac_check_lib_save_LIBS=$LIBS
    101915765LIBS="-lbsd  $LIBS"
    10192 cat >conftest.$ac_ext <<_ACEOF
    10193 /* confdefs.h.  */
    10194 _ACEOF
    10195 cat confdefs.h >>conftest.$ac_ext
    10196 cat >>conftest.$ac_ext <<_ACEOF
     5766cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    101975767/* end confdefs.h.  */
    101985768
     
    102125782}
    102135783_ACEOF
    10214 rm -f conftest.$ac_objext conftest$ac_exeext
    10215 if { (ac_try="$ac_link"
    10216 case "(($ac_try" in
    10217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10218   *) ac_try_echo=$ac_try;;
    10219 esac
    10220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10221 $as_echo "$ac_try_echo") >&5
    10222   (eval "$ac_link") 2>conftest.er1
    10223   ac_status=$?
    10224   grep -v '^ *+' conftest.er1 >conftest.err
    10225   rm -f conftest.er1
    10226   cat conftest.err >&5
    10227   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10228   (exit $ac_status); } && {
    10229          test -z "$ac_cxx_werror_flag" ||
    10230          test ! -s conftest.err
    10231        } && test -s conftest$ac_exeext && {
    10232          test "$cross_compiling" = yes ||
    10233          $as_test_x conftest$ac_exeext
    10234        }; then
     5784if ac_fn_cxx_try_link "$LINENO"; then :
    102355785  ac_cv_lib_bsd_gettimeofday=yes
    102365786else
    10237   $as_echo "$as_me: failed program was:" >&5
    10238 sed 's/^/| /' conftest.$ac_ext >&5
    10239 
    10240         ac_cv_lib_bsd_gettimeofday=no
    10241 fi
    10242 
    10243 rm -rf conftest.dSYM
    10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10245       conftest$ac_exeext conftest.$ac_ext
     5787  ac_cv_lib_bsd_gettimeofday=no
     5788fi
     5789rm -f core conftest.err conftest.$ac_objext \
     5790    conftest$ac_exeext conftest.$ac_ext
    102465791LIBS=$ac_check_lib_save_LIBS
    102475792fi
    10248 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     5793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    102495794$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    10250 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     5795if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    102515796  libbsd=yes
    102525797else
     
    102565801            if test $libbsd = yes; then
    102575802                MATH_LIBS="$MATH_LIBS -lbsd"
    10258                 cat >>confdefs.h <<\_ACEOF
    10259 #define USE_DELTA_FOR_TZ 1
    10260 _ACEOF
     5803                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    102615804
    102625805            fi
     
    102755818            # is always linked to, for compatibility.
    102765819            #-----------------------------------------------------------
    10277             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     5820            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    102785821$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    10279 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     5822if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    102805823  $as_echo_n "(cached) " >&6
    102815824else
    102825825  ac_check_lib_save_LIBS=$LIBS
    102835826LIBS="-lbind  $LIBS"
    10284 cat >conftest.$ac_ext <<_ACEOF
    10285 /* confdefs.h.  */
    10286 _ACEOF
    10287 cat confdefs.h >>conftest.$ac_ext
    10288 cat >>conftest.$ac_ext <<_ACEOF
     5827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    102895828/* end confdefs.h.  */
    102905829
     
    103045843}
    103055844_ACEOF
    10306 rm -f conftest.$ac_objext conftest$ac_exeext
    10307 if { (ac_try="$ac_link"
    10308 case "(($ac_try" in
    10309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10310   *) ac_try_echo=$ac_try;;
    10311 esac
    10312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10313 $as_echo "$ac_try_echo") >&5
    10314   (eval "$ac_link") 2>conftest.er1
    10315   ac_status=$?
    10316   grep -v '^ *+' conftest.er1 >conftest.err
    10317   rm -f conftest.er1
    10318   cat conftest.err >&5
    10319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10320   (exit $ac_status); } && {
    10321          test -z "$ac_cxx_werror_flag" ||
    10322          test ! -s conftest.err
    10323        } && test -s conftest$ac_exeext && {
    10324          test "$cross_compiling" = yes ||
    10325          $as_test_x conftest$ac_exeext
    10326        }; then
     5845if ac_fn_cxx_try_link "$LINENO"; then :
    103275846  ac_cv_lib_bind_inet_ntoa=yes
    103285847else
    10329   $as_echo "$as_me: failed program was:" >&5
    10330 sed 's/^/| /' conftest.$ac_ext >&5
    10331 
    10332         ac_cv_lib_bind_inet_ntoa=no
    10333 fi
    10334 
    10335 rm -rf conftest.dSYM
    10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10337       conftest$ac_exeext conftest.$ac_ext
     5848  ac_cv_lib_bind_inet_ntoa=no
     5849fi
     5850rm -f core conftest.err conftest.$ac_objext \
     5851    conftest$ac_exeext conftest.$ac_ext
    103385852LIBS=$ac_check_lib_save_LIBS
    103395853fi
    10340 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     5854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    103415855$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    10342 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     5856if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    103435857  LIBS="$LIBS -lbind -lsocket"
    103445858fi
     
    103785892        HP-UX-*.11.*)
    103795893            # Use updated header definitions where possible
    10380             cat >>confdefs.h <<\_ACEOF
    10381 #define _XOPEN_SOURCE 1
    10382 _ACEOF
     5894            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    103835895          # Use the XOPEN network library
    10384             cat >>confdefs.h <<\_ACEOF
    10385 #define _XOPEN_SOURCE_EXTENDED 1
    10386 _ACEOF
     5896            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    103875897 # Use the XOPEN network library
    103885898            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    103935903                SHLIB_SUFFIX=".sl"
    103945904            fi
    10395             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     5905            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    103965906$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10397 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     5907if ${ac_cv_lib_dld_shl_load+:} false; then :
    103985908  $as_echo_n "(cached) " >&6
    103995909else
    104005910  ac_check_lib_save_LIBS=$LIBS
    104015911LIBS="-ldld  $LIBS"
    10402 cat >conftest.$ac_ext <<_ACEOF
    10403 /* confdefs.h.  */
    10404 _ACEOF
    10405 cat confdefs.h >>conftest.$ac_ext
    10406 cat >>conftest.$ac_ext <<_ACEOF
     5912cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    104075913/* end confdefs.h.  */
    104085914
     
    104225928}
    104235929_ACEOF
    10424 rm -f conftest.$ac_objext conftest$ac_exeext
    10425 if { (ac_try="$ac_link"
    10426 case "(($ac_try" in
    10427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10428   *) ac_try_echo=$ac_try;;
    10429 esac
    10430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10431 $as_echo "$ac_try_echo") >&5
    10432   (eval "$ac_link") 2>conftest.er1
    10433   ac_status=$?
    10434   grep -v '^ *+' conftest.er1 >conftest.err
    10435   rm -f conftest.er1
    10436   cat conftest.err >&5
    10437   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10438   (exit $ac_status); } && {
    10439          test -z "$ac_cxx_werror_flag" ||
    10440          test ! -s conftest.err
    10441        } && test -s conftest$ac_exeext && {
    10442          test "$cross_compiling" = yes ||
    10443          $as_test_x conftest$ac_exeext
    10444        }; then
     5930if ac_fn_cxx_try_link "$LINENO"; then :
    104455931  ac_cv_lib_dld_shl_load=yes
    104465932else
    10447   $as_echo "$as_me: failed program was:" >&5
    10448 sed 's/^/| /' conftest.$ac_ext >&5
    10449 
    10450         ac_cv_lib_dld_shl_load=no
    10451 fi
    10452 
    10453 rm -rf conftest.dSYM
    10454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10455       conftest$ac_exeext conftest.$ac_ext
     5933  ac_cv_lib_dld_shl_load=no
     5934fi
     5935rm -f core conftest.err conftest.$ac_objext \
     5936    conftest$ac_exeext conftest.$ac_ext
    104565937LIBS=$ac_check_lib_save_LIBS
    104575938fi
    10458 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     5939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    104595940$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10460 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     5941if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    104615942  tcl_ok=yes
    104625943else
     
    104985979                            ;;
    104995980                        *)
    10500                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5981                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    105015982$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    105025983                            ;;
     
    105115992        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    105125993            SHLIB_SUFFIX=".sl"
    10513             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     5994            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    105145995$as_echo_n "checking for shl_load in -ldld... " >&6; }
    10515 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     5996if ${ac_cv_lib_dld_shl_load+:} false; then :
    105165997  $as_echo_n "(cached) " >&6
    105175998else
    105185999  ac_check_lib_save_LIBS=$LIBS
    105196000LIBS="-ldld  $LIBS"
    10520 cat >conftest.$ac_ext <<_ACEOF
    10521 /* confdefs.h.  */
    10522 _ACEOF
    10523 cat confdefs.h >>conftest.$ac_ext
    10524 cat >>conftest.$ac_ext <<_ACEOF
     6001cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    105256002/* end confdefs.h.  */
    105266003
     
    105406017}
    105416018_ACEOF
    10542 rm -f conftest.$ac_objext conftest$ac_exeext
    10543 if { (ac_try="$ac_link"
    10544 case "(($ac_try" in
    10545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10546   *) ac_try_echo=$ac_try;;
    10547 esac
    10548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10549 $as_echo "$ac_try_echo") >&5
    10550   (eval "$ac_link") 2>conftest.er1
    10551   ac_status=$?
    10552   grep -v '^ *+' conftest.er1 >conftest.err
    10553   rm -f conftest.er1
    10554   cat conftest.err >&5
    10555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10556   (exit $ac_status); } && {
    10557          test -z "$ac_cxx_werror_flag" ||
    10558          test ! -s conftest.err
    10559        } && test -s conftest$ac_exeext && {
    10560          test "$cross_compiling" = yes ||
    10561          $as_test_x conftest$ac_exeext
    10562        }; then
     6019if ac_fn_cxx_try_link "$LINENO"; then :
    105636020  ac_cv_lib_dld_shl_load=yes
    105646021else
    10565   $as_echo "$as_me: failed program was:" >&5
    10566 sed 's/^/| /' conftest.$ac_ext >&5
    10567 
    10568         ac_cv_lib_dld_shl_load=no
    10569 fi
    10570 
    10571 rm -rf conftest.dSYM
    10572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10573       conftest$ac_exeext conftest.$ac_ext
     6022  ac_cv_lib_dld_shl_load=no
     6023fi
     6024rm -f core conftest.err conftest.$ac_objext \
     6025    conftest$ac_exeext conftest.$ac_ext
    105746026LIBS=$ac_check_lib_save_LIBS
    105756027fi
    10576 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     6028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    105776029$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    10578 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     6030if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    105796031  tcl_ok=yes
    105806032else
     
    106556107            if test "$do64bit" = "yes" ; then
    106566108                if test "$GCC" = "yes" ; then
    10657                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     6109                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    106586110$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    106596111                else
     
    106846136                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    106856137            else
    10686                 if test "${ac_cv_header_dld_h+set}" = set; then
    10687   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10688 $as_echo_n "checking for dld.h... " >&6; }
    10689 if test "${ac_cv_header_dld_h+set}" = set; then
    10690   $as_echo_n "(cached) " >&6
    10691 fi
    10692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10693 $as_echo "$ac_cv_header_dld_h" >&6; }
    10694 else
    10695   # Is the header compilable?
    10696 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    10697 $as_echo_n "checking dld.h usability... " >&6; }
    10698 cat >conftest.$ac_ext <<_ACEOF
    10699 /* confdefs.h.  */
    10700 _ACEOF
    10701 cat confdefs.h >>conftest.$ac_ext
    10702 cat >>conftest.$ac_ext <<_ACEOF
    10703 /* end confdefs.h.  */
    10704 $ac_includes_default
    10705 #include <dld.h>
    10706 _ACEOF
    10707 rm -f conftest.$ac_objext
    10708 if { (ac_try="$ac_compile"
    10709 case "(($ac_try" in
    10710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10711   *) ac_try_echo=$ac_try;;
    10712 esac
    10713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10714 $as_echo "$ac_try_echo") >&5
    10715   (eval "$ac_compile") 2>conftest.er1
    10716   ac_status=$?
    10717   grep -v '^ *+' conftest.er1 >conftest.err
    10718   rm -f conftest.er1
    10719   cat conftest.err >&5
    10720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10721   (exit $ac_status); } && {
    10722          test -z "$ac_cxx_werror_flag" ||
    10723          test ! -s conftest.err
    10724        } && test -s conftest.$ac_objext; then
    10725   ac_header_compiler=yes
    10726 else
    10727   $as_echo "$as_me: failed program was:" >&5
    10728 sed 's/^/| /' conftest.$ac_ext >&5
    10729 
    10730         ac_header_compiler=no
    10731 fi
    10732 
    10733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10734 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10735 $as_echo "$ac_header_compiler" >&6; }
    10736 
    10737 # Is the header present?
    10738 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    10739 $as_echo_n "checking dld.h presence... " >&6; }
    10740 cat >conftest.$ac_ext <<_ACEOF
    10741 /* confdefs.h.  */
    10742 _ACEOF
    10743 cat confdefs.h >>conftest.$ac_ext
    10744 cat >>conftest.$ac_ext <<_ACEOF
    10745 /* end confdefs.h.  */
    10746 #include <dld.h>
    10747 _ACEOF
    10748 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10749 case "(($ac_try" in
    10750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10751   *) ac_try_echo=$ac_try;;
    10752 esac
    10753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10754 $as_echo "$ac_try_echo") >&5
    10755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10756   ac_status=$?
    10757   grep -v '^ *+' conftest.er1 >conftest.err
    10758   rm -f conftest.er1
    10759   cat conftest.err >&5
    10760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10761   (exit $ac_status); } >/dev/null && {
    10762          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10763          test ! -s conftest.err
    10764        }; then
    10765   ac_header_preproc=yes
    10766 else
    10767   $as_echo "$as_me: failed program was:" >&5
    10768 sed 's/^/| /' conftest.$ac_ext >&5
    10769 
    10770   ac_header_preproc=no
    10771 fi
    10772 
    10773 rm -f conftest.err conftest.$ac_ext
    10774 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10775 $as_echo "$ac_header_preproc" >&6; }
    10776 
    10777 # So?  What about this header?
    10778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10779   yes:no: )
    10780     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    10781 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10782     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    10783 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    10784     ac_header_preproc=yes
    10785     ;;
    10786   no:yes:* )
    10787     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    10788 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    10789     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    10790 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    10791     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    10792 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    10793     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    10794 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    10795     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    10796 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    10797     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    10798 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    10799     ( cat <<\_ASBOX
    10800 ## ----------------------------------- ##
    10801 ## Report this to rappture@nanohub.org ##
    10802 ## ----------------------------------- ##
    10803 _ASBOX
    10804      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10805     ;;
    10806 esac
    10807 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10808 $as_echo_n "checking for dld.h... " >&6; }
    10809 if test "${ac_cv_header_dld_h+set}" = set; then
    10810   $as_echo_n "(cached) " >&6
    10811 else
    10812   ac_cv_header_dld_h=$ac_header_preproc
    10813 fi
    10814 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10815 $as_echo "$ac_cv_header_dld_h" >&6; }
    10816 
    10817 fi
    10818 if test "x$ac_cv_header_dld_h" = x""yes; then
     6138                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     6139if test "x$ac_cv_header_dld_h" = xyes; then :
    108196140
    108206141                    SHLIB_LD="ld -shared"
     
    108316152            fi
    108326153            if test $do64bit = yes; then
    10833                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     6154                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    108346155$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    10835 if test "${tcl_cv_cc_m64+set}" = set; then
     6156if ${tcl_cv_cc_m64+:} false; then :
    108366157  $as_echo_n "(cached) " >&6
    108376158else
     
    108396160                    hold_cflags=$CFLAGS
    108406161                    CFLAGS="$CFLAGS -m64"
    10841                     cat >conftest.$ac_ext <<_ACEOF
    10842 /* confdefs.h.  */
    10843 _ACEOF
    10844 cat confdefs.h >>conftest.$ac_ext
    10845 cat >>conftest.$ac_ext <<_ACEOF
     6162                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108466163/* end confdefs.h.  */
    108476164
     
    108546171}
    108556172_ACEOF
    10856 rm -f conftest.$ac_objext conftest$ac_exeext
    10857 if { (ac_try="$ac_link"
    10858 case "(($ac_try" in
    10859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10860   *) ac_try_echo=$ac_try;;
    10861 esac
    10862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10863 $as_echo "$ac_try_echo") >&5
    10864   (eval "$ac_link") 2>conftest.er1
    10865   ac_status=$?
    10866   grep -v '^ *+' conftest.er1 >conftest.err
    10867   rm -f conftest.er1
    10868   cat conftest.err >&5
    10869   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10870   (exit $ac_status); } && {
    10871          test -z "$ac_cxx_werror_flag" ||
    10872          test ! -s conftest.err
    10873        } && test -s conftest$ac_exeext && {
    10874          test "$cross_compiling" = yes ||
    10875          $as_test_x conftest$ac_exeext
    10876        }; then
     6173if ac_fn_cxx_try_link "$LINENO"; then :
    108776174  tcl_cv_cc_m64=yes
    108786175else
    10879   $as_echo "$as_me: failed program was:" >&5
    10880 sed 's/^/| /' conftest.$ac_ext >&5
    10881 
    10882         tcl_cv_cc_m64=no
    10883 fi
    10884 
    10885 rm -rf conftest.dSYM
    10886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10887       conftest$ac_exeext conftest.$ac_ext
     6176  tcl_cv_cc_m64=no
     6177fi
     6178rm -f core conftest.err conftest.$ac_objext \
     6179    conftest$ac_exeext conftest.$ac_ext
    108886180                    CFLAGS=$hold_cflags
    108896181fi
    10890 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     6182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    108916183$as_echo "$tcl_cv_cc_m64" >&6; }
    108926184                if test $tcl_cv_cc_m64 = yes; then
     
    109086200
    109096201            # XIM peeking works under XFree86.
    10910             cat >>confdefs.h <<\_ACEOF
    10911 #define PEEK_XCLOSEIM 1
    10912 _ACEOF
     6202            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    109136203
    109146204
     
    109276217                LD_SEARCH_FLAGS=""
    109286218            else
    10929                 if test "${ac_cv_header_dld_h+set}" = set; then
    10930   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    10931 $as_echo_n "checking for dld.h... " >&6; }
    10932 if test "${ac_cv_header_dld_h+set}" = set; then
    10933   $as_echo_n "(cached) " >&6
    10934 fi
    10935 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10936 $as_echo "$ac_cv_header_dld_h" >&6; }
    10937 else
    10938   # Is the header compilable?
    10939 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    10940 $as_echo_n "checking dld.h usability... " >&6; }
    10941 cat >conftest.$ac_ext <<_ACEOF
    10942 /* confdefs.h.  */
    10943 _ACEOF
    10944 cat confdefs.h >>conftest.$ac_ext
    10945 cat >>conftest.$ac_ext <<_ACEOF
    10946 /* end confdefs.h.  */
    10947 $ac_includes_default
    10948 #include <dld.h>
    10949 _ACEOF
    10950 rm -f conftest.$ac_objext
    10951 if { (ac_try="$ac_compile"
    10952 case "(($ac_try" in
    10953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10954   *) ac_try_echo=$ac_try;;
    10955 esac
    10956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10957 $as_echo "$ac_try_echo") >&5
    10958   (eval "$ac_compile") 2>conftest.er1
    10959   ac_status=$?
    10960   grep -v '^ *+' conftest.er1 >conftest.err
    10961   rm -f conftest.er1
    10962   cat conftest.err >&5
    10963   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10964   (exit $ac_status); } && {
    10965          test -z "$ac_cxx_werror_flag" ||
    10966          test ! -s conftest.err
    10967        } && test -s conftest.$ac_objext; then
    10968   ac_header_compiler=yes
    10969 else
    10970   $as_echo "$as_me: failed program was:" >&5
    10971 sed 's/^/| /' conftest.$ac_ext >&5
    10972 
    10973         ac_header_compiler=no
    10974 fi
    10975 
    10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10977 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10978 $as_echo "$ac_header_compiler" >&6; }
    10979 
    10980 # Is the header present?
    10981 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    10982 $as_echo_n "checking dld.h presence... " >&6; }
    10983 cat >conftest.$ac_ext <<_ACEOF
    10984 /* confdefs.h.  */
    10985 _ACEOF
    10986 cat confdefs.h >>conftest.$ac_ext
    10987 cat >>conftest.$ac_ext <<_ACEOF
    10988 /* end confdefs.h.  */
    10989 #include <dld.h>
    10990 _ACEOF
    10991 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10992 case "(($ac_try" in
    10993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10994   *) ac_try_echo=$ac_try;;
    10995 esac
    10996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10997 $as_echo "$ac_try_echo") >&5
    10998   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10999   ac_status=$?
    11000   grep -v '^ *+' conftest.er1 >conftest.err
    11001   rm -f conftest.er1
    11002   cat conftest.err >&5
    11003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11004   (exit $ac_status); } >/dev/null && {
    11005          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11006          test ! -s conftest.err
    11007        }; then
    11008   ac_header_preproc=yes
    11009 else
    11010   $as_echo "$as_me: failed program was:" >&5
    11011 sed 's/^/| /' conftest.$ac_ext >&5
    11012 
    11013   ac_header_preproc=no
    11014 fi
    11015 
    11016 rm -f conftest.err conftest.$ac_ext
    11017 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11018 $as_echo "$ac_header_preproc" >&6; }
    11019 
    11020 # So?  What about this header?
    11021 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11022   yes:no: )
    11023     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11024 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11025     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    11026 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    11027     ac_header_preproc=yes
    11028     ;;
    11029   no:yes:* )
    11030     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    11031 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    11032     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    11033 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    11034     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    11035 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    11036     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    11037 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11038     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    11039 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    11040     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    11041 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    11042     ( cat <<\_ASBOX
    11043 ## ----------------------------------- ##
    11044 ## Report this to rappture@nanohub.org ##
    11045 ## ----------------------------------- ##
    11046 _ASBOX
    11047      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11048     ;;
    11049 esac
    11050 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    11051 $as_echo_n "checking for dld.h... " >&6; }
    11052 if test "${ac_cv_header_dld_h+set}" = set; then
    11053   $as_echo_n "(cached) " >&6
    11054 else
    11055   ac_cv_header_dld_h=$ac_header_preproc
    11056 fi
    11057 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    11058 $as_echo "$ac_cv_header_dld_h" >&6; }
    11059 
    11060 fi
    11061 if test "x$ac_cv_header_dld_h" = x""yes; then
     6219                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     6220if test "x$ac_cv_header_dld_h" = xyes; then :
    110626221
    110636222                    SHLIB_LD="ld -shared"
     
    111096268        NetBSD-*|FreeBSD-[1-2].*)
    111106269            # Not available on all versions:  check for include file.
    11111             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11112   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    11113 $as_echo_n "checking for dlfcn.h... " >&6; }
    11114 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11115   $as_echo_n "(cached) " >&6
    11116 fi
    11117 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    11118 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    11119 else
    11120   # Is the header compilable?
    11121 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    11122 $as_echo_n "checking dlfcn.h usability... " >&6; }
    11123 cat >conftest.$ac_ext <<_ACEOF
    11124 /* confdefs.h.  */
    11125 _ACEOF
    11126 cat confdefs.h >>conftest.$ac_ext
    11127 cat >>conftest.$ac_ext <<_ACEOF
    11128 /* end confdefs.h.  */
    11129 $ac_includes_default
    11130 #include <dlfcn.h>
    11131 _ACEOF
    11132 rm -f conftest.$ac_objext
    11133 if { (ac_try="$ac_compile"
    11134 case "(($ac_try" in
    11135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11136   *) ac_try_echo=$ac_try;;
    11137 esac
    11138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11139 $as_echo "$ac_try_echo") >&5
    11140   (eval "$ac_compile") 2>conftest.er1
    11141   ac_status=$?
    11142   grep -v '^ *+' conftest.er1 >conftest.err
    11143   rm -f conftest.er1
    11144   cat conftest.err >&5
    11145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11146   (exit $ac_status); } && {
    11147          test -z "$ac_cxx_werror_flag" ||
    11148          test ! -s conftest.err
    11149        } && test -s conftest.$ac_objext; then
    11150   ac_header_compiler=yes
    11151 else
    11152   $as_echo "$as_me: failed program was:" >&5
    11153 sed 's/^/| /' conftest.$ac_ext >&5
    11154 
    11155         ac_header_compiler=no
    11156 fi
    11157 
    11158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11159 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11160 $as_echo "$ac_header_compiler" >&6; }
    11161 
    11162 # Is the header present?
    11163 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    11164 $as_echo_n "checking dlfcn.h presence... " >&6; }
    11165 cat >conftest.$ac_ext <<_ACEOF
    11166 /* confdefs.h.  */
    11167 _ACEOF
    11168 cat confdefs.h >>conftest.$ac_ext
    11169 cat >>conftest.$ac_ext <<_ACEOF
    11170 /* end confdefs.h.  */
    11171 #include <dlfcn.h>
    11172 _ACEOF
    11173 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11174 case "(($ac_try" in
    11175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11176   *) ac_try_echo=$ac_try;;
    11177 esac
    11178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11179 $as_echo "$ac_try_echo") >&5
    11180   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11181   ac_status=$?
    11182   grep -v '^ *+' conftest.er1 >conftest.err
    11183   rm -f conftest.er1
    11184   cat conftest.err >&5
    11185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11186   (exit $ac_status); } >/dev/null && {
    11187          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11188          test ! -s conftest.err
    11189        }; then
    11190   ac_header_preproc=yes
    11191 else
    11192   $as_echo "$as_me: failed program was:" >&5
    11193 sed 's/^/| /' conftest.$ac_ext >&5
    11194 
    11195   ac_header_preproc=no
    11196 fi
    11197 
    11198 rm -f conftest.err conftest.$ac_ext
    11199 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11200 $as_echo "$ac_header_preproc" >&6; }
    11201 
    11202 # So?  What about this header?
    11203 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11204   yes:no: )
    11205     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11206 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11207     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    11208 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    11209     ac_header_preproc=yes
    11210     ;;
    11211   no:yes:* )
    11212     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    11213 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    11214     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    11215 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    11216     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    11217 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    11218     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    11219 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11220     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    11221 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    11222     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    11223 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    11224     ( cat <<\_ASBOX
    11225 ## ----------------------------------- ##
    11226 ## Report this to rappture@nanohub.org ##
    11227 ## ----------------------------------- ##
    11228 _ASBOX
    11229      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11230     ;;
    11231 esac
    11232 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    11233 $as_echo_n "checking for dlfcn.h... " >&6; }
    11234 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    11235   $as_echo_n "(cached) " >&6
    11236 else
    11237   ac_cv_header_dlfcn_h=$ac_header_preproc
    11238 fi
    11239 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    11240 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    11241 
    11242 fi
    11243 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     6270            ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     6271if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    112446272
    112456273                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    112526280                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    112536281                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    11254                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     6282                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    112556283$as_echo_n "checking for ELF... " >&6; }
    11256 if test "${tcl_cv_ld_elf+set}" = set; then
     6284if ${tcl_cv_ld_elf+:} false; then :
    112576285  $as_echo_n "(cached) " >&6
    112586286else
    112596287
    11260                     cat >conftest.$ac_ext <<_ACEOF
    11261 /* confdefs.h.  */
    11262 _ACEOF
    11263 cat confdefs.h >>conftest.$ac_ext
    11264 cat >>conftest.$ac_ext <<_ACEOF
     6288                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    112656289/* end confdefs.h.  */
    112666290
     
    112716295_ACEOF
    112726296if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    11273   $EGREP "yes" >/dev/null 2>&1; then
     6297  $EGREP "yes" >/dev/null 2>&1; then :
    112746298  tcl_cv_ld_elf=yes
    112756299else
     
    112796303
    112806304fi
    11281 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     6305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    112826306$as_echo "$tcl_cv_ld_elf" >&6; }
    112836307                if test $tcl_cv_ld_elf = yes; then
     
    113386362                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    113396363                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    11340                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     6364                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    113416365$as_echo_n "checking for ELF... " >&6; }
    11342 if test "${tcl_cv_ld_elf+set}" = set; then
     6366if ${tcl_cv_ld_elf+:} false; then :
    113436367  $as_echo_n "(cached) " >&6
    113446368else
    113456369
    11346                     cat >conftest.$ac_ext <<_ACEOF
    11347 /* confdefs.h.  */
    11348 _ACEOF
    11349 cat confdefs.h >>conftest.$ac_ext
    11350 cat >>conftest.$ac_ext <<_ACEOF
     6370                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    113516371/* end confdefs.h.  */
    113526372
     
    113576377_ACEOF
    113586378if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    11359   $EGREP "yes" >/dev/null 2>&1; then
     6379  $EGREP "yes" >/dev/null 2>&1; then :
    113606380  tcl_cv_ld_elf=yes
    113616381else
     
    113656385
    113666386fi
    11367 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     6387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    113686388$as_echo "$tcl_cv_ld_elf" >&6; }
    113696389                if test $tcl_cv_ld_elf = yes; then
     
    114206440                case `arch` in
    114216441                    ppc)
    11422                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     6442                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    114236443$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    11424 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     6444if ${tcl_cv_cc_arch_ppc64+:} false; then :
    114256445  $as_echo_n "(cached) " >&6
    114266446else
     
    114286448                            hold_cflags=$CFLAGS
    114296449                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    11430                             cat >conftest.$ac_ext <<_ACEOF
    11431 /* confdefs.h.  */
    11432 _ACEOF
    11433 cat confdefs.h >>conftest.$ac_ext
    11434 cat >>conftest.$ac_ext <<_ACEOF
     6450                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114356451/* end confdefs.h.  */
    114366452
     
    114436459}
    114446460_ACEOF
    11445 rm -f conftest.$ac_objext conftest$ac_exeext
    11446 if { (ac_try="$ac_link"
    11447 case "(($ac_try" in
    11448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11449   *) ac_try_echo=$ac_try;;
    11450 esac
    11451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11452 $as_echo "$ac_try_echo") >&5
    11453   (eval "$ac_link") 2>conftest.er1
    11454   ac_status=$?
    11455   grep -v '^ *+' conftest.er1 >conftest.err
    11456   rm -f conftest.er1
    11457   cat conftest.err >&5
    11458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11459   (exit $ac_status); } && {
    11460          test -z "$ac_cxx_werror_flag" ||
    11461          test ! -s conftest.err
    11462        } && test -s conftest$ac_exeext && {
    11463          test "$cross_compiling" = yes ||
    11464          $as_test_x conftest$ac_exeext
    11465        }; then
     6461if ac_fn_cxx_try_link "$LINENO"; then :
    114666462  tcl_cv_cc_arch_ppc64=yes
    114676463else
    11468   $as_echo "$as_me: failed program was:" >&5
    11469 sed 's/^/| /' conftest.$ac_ext >&5
    11470 
    11471         tcl_cv_cc_arch_ppc64=no
    11472 fi
    11473 
    11474 rm -rf conftest.dSYM
    11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11476       conftest$ac_exeext conftest.$ac_ext
     6464  tcl_cv_cc_arch_ppc64=no
     6465fi
     6466rm -f core conftest.err conftest.$ac_objext \
     6467    conftest$ac_exeext conftest.$ac_ext
    114776468                            CFLAGS=$hold_cflags
    114786469fi
    11479 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     6470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    114806471$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    114816472                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    114846475                        fi;;
    114856476                    i386)
    11486                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     6477                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    114876478$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    11488 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     6479if ${tcl_cv_cc_arch_x86_64+:} false; then :
    114896480  $as_echo_n "(cached) " >&6
    114906481else
     
    114926483                            hold_cflags=$CFLAGS
    114936484                            CFLAGS="$CFLAGS -arch x86_64"
    11494                             cat >conftest.$ac_ext <<_ACEOF
    11495 /* confdefs.h.  */
    11496 _ACEOF
    11497 cat confdefs.h >>conftest.$ac_ext
    11498 cat >>conftest.$ac_ext <<_ACEOF
     6485                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114996486/* end confdefs.h.  */
    115006487
     
    115076494}
    115086495_ACEOF
    11509 rm -f conftest.$ac_objext conftest$ac_exeext
    11510 if { (ac_try="$ac_link"
    11511 case "(($ac_try" in
    11512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11513   *) ac_try_echo=$ac_try;;
    11514 esac
    11515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11516 $as_echo "$ac_try_echo") >&5
    11517   (eval "$ac_link") 2>conftest.er1
    11518   ac_status=$?
    11519   grep -v '^ *+' conftest.er1 >conftest.err
    11520   rm -f conftest.er1
    11521   cat conftest.err >&5
    11522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11523   (exit $ac_status); } && {
    11524          test -z "$ac_cxx_werror_flag" ||
    11525          test ! -s conftest.err
    11526        } && test -s conftest$ac_exeext && {
    11527          test "$cross_compiling" = yes ||
    11528          $as_test_x conftest$ac_exeext
    11529        }; then
     6496if ac_fn_cxx_try_link "$LINENO"; then :
    115306497  tcl_cv_cc_arch_x86_64=yes
    115316498else
    11532   $as_echo "$as_me: failed program was:" >&5
    11533 sed 's/^/| /' conftest.$ac_ext >&5
    11534 
    11535         tcl_cv_cc_arch_x86_64=no
    11536 fi
    11537 
    11538 rm -rf conftest.dSYM
    11539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11540       conftest$ac_exeext conftest.$ac_ext
     6499  tcl_cv_cc_arch_x86_64=no
     6500fi
     6501rm -f core conftest.err conftest.$ac_objext \
     6502    conftest$ac_exeext conftest.$ac_ext
    115416503                            CFLAGS=$hold_cflags
    115426504fi
    11543 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     6505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    115446506$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    115456507                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    115486510                        fi;;
    115496511                    *)
    11550                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     6512                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    115516513$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    115526514                esac
     
    115586520            fi
    115596521            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    11560             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     6522            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    115616523$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    11562 if test "${tcl_cv_ld_single_module+set}" = set; then
     6524if ${tcl_cv_ld_single_module+:} false; then :
    115636525  $as_echo_n "(cached) " >&6
    115646526else
     
    115666528                hold_ldflags=$LDFLAGS
    115676529                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    11568                 cat >conftest.$ac_ext <<_ACEOF
    11569 /* confdefs.h.  */
    11570 _ACEOF
    11571 cat confdefs.h >>conftest.$ac_ext
    11572 cat >>conftest.$ac_ext <<_ACEOF
     6530                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115736531/* end confdefs.h.  */
    115746532
     
    115816539}
    115826540_ACEOF
    11583 rm -f conftest.$ac_objext conftest$ac_exeext
    11584 if { (ac_try="$ac_link"
    11585 case "(($ac_try" in
    11586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11587   *) ac_try_echo=$ac_try;;
    11588 esac
    11589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11590 $as_echo "$ac_try_echo") >&5
    11591   (eval "$ac_link") 2>conftest.er1
    11592   ac_status=$?
    11593   grep -v '^ *+' conftest.er1 >conftest.err
    11594   rm -f conftest.er1
    11595   cat conftest.err >&5
    11596   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11597   (exit $ac_status); } && {
    11598          test -z "$ac_cxx_werror_flag" ||
    11599          test ! -s conftest.err
    11600        } && test -s conftest$ac_exeext && {
    11601          test "$cross_compiling" = yes ||
    11602          $as_test_x conftest$ac_exeext
    11603        }; then
     6541if ac_fn_cxx_try_link "$LINENO"; then :
    116046542  tcl_cv_ld_single_module=yes
    116056543else
    11606   $as_echo "$as_me: failed program was:" >&5
    11607 sed 's/^/| /' conftest.$ac_ext >&5
    11608 
    11609         tcl_cv_ld_single_module=no
    11610 fi
    11611 
    11612 rm -rf conftest.dSYM
    11613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11614       conftest$ac_exeext conftest.$ac_ext
     6544  tcl_cv_ld_single_module=no
     6545fi
     6546rm -f core conftest.err conftest.$ac_objext \
     6547    conftest$ac_exeext conftest.$ac_ext
    116156548                LDFLAGS=$hold_ldflags
    116166549fi
    11617 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     6550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    116186551$as_echo "$tcl_cv_ld_single_module" >&6; }
    116196552            if test $tcl_cv_ld_single_module = yes; then
     
    116296562                LDFLAGS="$LDFLAGS -prebind"
    116306563            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    11631             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     6564            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    116326565$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    11633 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     6566if ${tcl_cv_ld_search_paths_first+:} false; then :
    116346567  $as_echo_n "(cached) " >&6
    116356568else
     
    116376570                hold_ldflags=$LDFLAGS
    116386571                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    11639                 cat >conftest.$ac_ext <<_ACEOF
    11640 /* confdefs.h.  */
    11641 _ACEOF
    11642 cat confdefs.h >>conftest.$ac_ext
    11643 cat >>conftest.$ac_ext <<_ACEOF
     6572                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116446573/* end confdefs.h.  */
    116456574
     
    116526581}
    116536582_ACEOF
    11654 rm -f conftest.$ac_objext conftest$ac_exeext
    11655 if { (ac_try="$ac_link"
    11656 case "(($ac_try" in
    11657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11658   *) ac_try_echo=$ac_try;;
    11659 esac
    11660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11661 $as_echo "$ac_try_echo") >&5
    11662   (eval "$ac_link") 2>conftest.er1
    11663   ac_status=$?
    11664   grep -v '^ *+' conftest.er1 >conftest.err
    11665   rm -f conftest.er1
    11666   cat conftest.err >&5
    11667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11668   (exit $ac_status); } && {
    11669          test -z "$ac_cxx_werror_flag" ||
    11670          test ! -s conftest.err
    11671        } && test -s conftest$ac_exeext && {
    11672          test "$cross_compiling" = yes ||
    11673          $as_test_x conftest$ac_exeext
    11674        }; then
     6583if ac_fn_cxx_try_link "$LINENO"; then :
    116756584  tcl_cv_ld_search_paths_first=yes
    116766585else
    11677   $as_echo "$as_me: failed program was:" >&5
    11678 sed 's/^/| /' conftest.$ac_ext >&5
    11679 
    11680         tcl_cv_ld_search_paths_first=no
    11681 fi
    11682 
    11683 rm -rf conftest.dSYM
    11684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11685       conftest$ac_exeext conftest.$ac_ext
     6586  tcl_cv_ld_search_paths_first=no
     6587fi
     6588rm -f core conftest.err conftest.$ac_objext \
     6589    conftest$ac_exeext conftest.$ac_ext
    116866590                LDFLAGS=$hold_ldflags
    116876591fi
    11688 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     6592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    116896593$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    116906594            if test $tcl_cv_ld_search_paths_first = yes; then
     
    116966600            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    116976601            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    11698             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     6602            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    116996603$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    117006604            # Check whether --enable-corefoundation was given.
    11701 if test "${enable_corefoundation+set}" = set; then
     6605if test "${enable_corefoundation+set}" = set; then :
    117026606  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    117036607else
     
    117056609fi
    117066610
    11707             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     6611            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    117086612$as_echo "$tcl_corefoundation" >&6; }
    117096613            if test $tcl_corefoundation = yes; then
    11710                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     6614                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    117116615$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    11712 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     6616if ${tcl_cv_lib_corefoundation+:} false; then :
    117136617  $as_echo_n "(cached) " >&6
    117146618else
     
    117226626                    done; fi
    117236627                    LIBS="$LIBS -framework CoreFoundation"
    11724                     cat >conftest.$ac_ext <<_ACEOF
    11725 /* confdefs.h.  */
    11726 _ACEOF
    11727 cat confdefs.h >>conftest.$ac_ext
    11728 cat >>conftest.$ac_ext <<_ACEOF
     6628                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117296629/* end confdefs.h.  */
    117306630#include <CoreFoundation/CoreFoundation.h>
     
    117376637}
    117386638_ACEOF
    11739 rm -f conftest.$ac_objext conftest$ac_exeext
    11740 if { (ac_try="$ac_link"
    11741 case "(($ac_try" in
    11742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11743   *) ac_try_echo=$ac_try;;
    11744 esac
    11745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11746 $as_echo "$ac_try_echo") >&5
    11747   (eval "$ac_link") 2>conftest.er1
    11748   ac_status=$?
    11749   grep -v '^ *+' conftest.er1 >conftest.err
    11750   rm -f conftest.er1
    11751   cat conftest.err >&5
    11752   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11753   (exit $ac_status); } && {
    11754          test -z "$ac_cxx_werror_flag" ||
    11755          test ! -s conftest.err
    11756        } && test -s conftest$ac_exeext && {
    11757          test "$cross_compiling" = yes ||
    11758          $as_test_x conftest$ac_exeext
    11759        }; then
     6639if ac_fn_cxx_try_link "$LINENO"; then :
    117606640  tcl_cv_lib_corefoundation=yes
    117616641else
    11762   $as_echo "$as_me: failed program was:" >&5
    11763 sed 's/^/| /' conftest.$ac_ext >&5
    11764 
    11765         tcl_cv_lib_corefoundation=no
    11766 fi
    11767 
    11768 rm -rf conftest.dSYM
    11769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11770       conftest$ac_exeext conftest.$ac_ext
     6642  tcl_cv_lib_corefoundation=no
     6643fi
     6644rm -f core conftest.err conftest.$ac_objext \
     6645    conftest$ac_exeext conftest.$ac_ext
    117716646                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    117726647                        eval $v'="$hold_'$v'"'
    117736648                    done; fi; LIBS=$hold_libs
    117746649fi
    11775 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     6650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    117766651$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    117776652                if test $tcl_cv_lib_corefoundation = yes; then
    117786653                    LIBS="$LIBS -framework CoreFoundation"
    11779                     cat >>confdefs.h <<\_ACEOF
    11780 #define HAVE_COREFOUNDATION 1
    11781 _ACEOF
     6654                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    117826655
    117836656                else
     
    117856658                fi
    117866659                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    11787                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     6660                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    117886661$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    11789 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     6662if ${tcl_cv_lib_corefoundation_64+:} false; then :
    117906663  $as_echo_n "(cached) " >&6
    117916664else
     
    117946667                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    117956668                        done
    11796                         cat >conftest.$ac_ext <<_ACEOF
    11797 /* confdefs.h.  */
    11798 _ACEOF
    11799 cat confdefs.h >>conftest.$ac_ext
    11800 cat >>conftest.$ac_ext <<_ACEOF
     6669                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    118016670/* end confdefs.h.  */
    118026671#include <CoreFoundation/CoreFoundation.h>
     
    118096678}
    118106679_ACEOF
    11811 rm -f conftest.$ac_objext conftest$ac_exeext
    11812 if { (ac_try="$ac_link"
    11813 case "(($ac_try" in
    11814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11815   *) ac_try_echo=$ac_try;;
    11816 esac
    11817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11818 $as_echo "$ac_try_echo") >&5
    11819   (eval "$ac_link") 2>conftest.er1
    11820   ac_status=$?
    11821   grep -v '^ *+' conftest.er1 >conftest.err
    11822   rm -f conftest.er1
    11823   cat conftest.err >&5
    11824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11825   (exit $ac_status); } && {
    11826          test -z "$ac_cxx_werror_flag" ||
    11827          test ! -s conftest.err
    11828        } && test -s conftest$ac_exeext && {
    11829          test "$cross_compiling" = yes ||
    11830          $as_test_x conftest$ac_exeext
    11831        }; then
     6680if ac_fn_cxx_try_link "$LINENO"; then :
    118326681  tcl_cv_lib_corefoundation_64=yes
    118336682else
    11834   $as_echo "$as_me: failed program was:" >&5
    11835 sed 's/^/| /' conftest.$ac_ext >&5
    11836 
    11837         tcl_cv_lib_corefoundation_64=no
    11838 fi
    11839 
    11840 rm -rf conftest.dSYM
    11841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11842       conftest$ac_exeext conftest.$ac_ext
     6683  tcl_cv_lib_corefoundation_64=no
     6684fi
     6685rm -f core conftest.err conftest.$ac_objext \
     6686    conftest$ac_exeext conftest.$ac_ext
    118436687                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    118446688                            eval $v'="$hold_'$v'"'
    118456689                        done
    118466690fi
    11847 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     6691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    118486692$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    118496693                    if test $tcl_cv_lib_corefoundation_64 = no; then
    11850                         cat >>confdefs.h <<\_ACEOF
    11851 #define NO_COREFOUNDATION_64 1
    11852 _ACEOF
     6694                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    118536695
    118546696                    fi
    118556697                fi
    118566698            fi
    11857             cat >>confdefs.h <<\_ACEOF
    11858 #define MAC_OSX_TCL 1
    11859 _ACEOF
     6699            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    118606700
    118616701            ;;
     
    118726712        OS/390-*)
    118736713            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    11874             cat >>confdefs.h <<\_ACEOF
    11875 #define _OE_SOCKETS 1
    11876 _ACEOF
     6714            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    118776715        # needed in sys/socket.h
    118786716            ;;
     
    120156853            # won't define thread-safe library routines.
    120166854
    12017             cat >>confdefs.h <<\_ACEOF
    12018 #define _REENTRANT 1
    12019 _ACEOF
    12020 
    12021             cat >>confdefs.h <<\_ACEOF
    12022 #define _POSIX_PTHREAD_SEMANTICS 1
    12023 _ACEOF
     6855            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6856
     6857            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    120246858
    120256859
     
    120476881            # won't define thread-safe library routines.
    120486882
    12049             cat >>confdefs.h <<\_ACEOF
    12050 #define _REENTRANT 1
    12051 _ACEOF
    12052 
    12053             cat >>confdefs.h <<\_ACEOF
    12054 #define _POSIX_PTHREAD_SEMANTICS 1
    12055 _ACEOF
     6883            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6884
     6885            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    120566886
    120576887
     
    120646894                        if test "$GCC" = "yes" ; then
    120656895                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    12066                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     6896                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    120676897$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    120686898                            else
     
    120866916                elif test "$arch" = "amd64 i386" ; then
    120876917                    if test "$GCC" = "yes" ; then
    12088                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     6918                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    120896919$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    120906920                    else
     
    120946924                    fi
    120956925                else
    12096                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     6926                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    120976927$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    120986928                fi
     
    121536983            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    121546984            # that don't grok the -Bexport option.  Test that it does.
    12155             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     6985            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    121566986$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    12157 if test "${tcl_cv_ld_Bexport+set}" = set; then
     6987if ${tcl_cv_ld_Bexport+:} false; then :
    121586988  $as_echo_n "(cached) " >&6
    121596989else
     
    121616991                hold_ldflags=$LDFLAGS
    121626992                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    12163                 cat >conftest.$ac_ext <<_ACEOF
    12164 /* confdefs.h.  */
    12165 _ACEOF
    12166 cat confdefs.h >>conftest.$ac_ext
    12167 cat >>conftest.$ac_ext <<_ACEOF
     6993                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    121686994/* end confdefs.h.  */
    121696995
     
    121767002}
    121777003_ACEOF
    12178 rm -f conftest.$ac_objext conftest$ac_exeext
    12179 if { (ac_try="$ac_link"
    12180 case "(($ac_try" in
    12181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12182   *) ac_try_echo=$ac_try;;
    12183 esac
    12184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12185 $as_echo "$ac_try_echo") >&5
    12186   (eval "$ac_link") 2>conftest.er1
    12187   ac_status=$?
    12188   grep -v '^ *+' conftest.er1 >conftest.err
    12189   rm -f conftest.er1
    12190   cat conftest.err >&5
    12191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12192   (exit $ac_status); } && {
    12193          test -z "$ac_cxx_werror_flag" ||
    12194          test ! -s conftest.err
    12195        } && test -s conftest$ac_exeext && {
    12196          test "$cross_compiling" = yes ||
    12197          $as_test_x conftest$ac_exeext
    12198        }; then
     7004if ac_fn_cxx_try_link "$LINENO"; then :
    121997005  tcl_cv_ld_Bexport=yes
    122007006else
    12201   $as_echo "$as_me: failed program was:" >&5
    12202 sed 's/^/| /' conftest.$ac_ext >&5
    12203 
    12204         tcl_cv_ld_Bexport=no
    12205 fi
    12206 
    12207 rm -rf conftest.dSYM
    12208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12209       conftest$ac_exeext conftest.$ac_ext
     7007  tcl_cv_ld_Bexport=no
     7008fi
     7009rm -f core conftest.err conftest.$ac_objext \
     7010    conftest$ac_exeext conftest.$ac_ext
    122107011                LDFLAGS=$hold_ldflags
    122117012fi
    12212 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     7013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    122137014$as_echo "$tcl_cv_ld_Bexport" >&6; }
    122147015            if test $tcl_cv_ld_Bexport = yes; then
     
    122217022
    122227023    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    12223         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     7024        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    122247025$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    122257026    fi
     
    122487049
    122497050    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    12250         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     7051        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    122517052$as_echo_n "checking sys/exec.h... " >&6; }
    12252 if test "${tcl_cv_sysexec_h+set}" = set; then
     7053if ${tcl_cv_sysexec_h+:} false; then :
    122537054  $as_echo_n "(cached) " >&6
    122547055else
    122557056
    12256         cat >conftest.$ac_ext <<_ACEOF
    12257 /* confdefs.h.  */
    12258 _ACEOF
    12259 cat confdefs.h >>conftest.$ac_ext
    12260 cat >>conftest.$ac_ext <<_ACEOF
     7057        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    122617058/* end confdefs.h.  */
    122627059#include <sys/exec.h>
     
    122807077}
    122817078_ACEOF
    12282 rm -f conftest.$ac_objext
    12283 if { (ac_try="$ac_compile"
    12284 case "(($ac_try" in
    12285   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12286   *) ac_try_echo=$ac_try;;
    12287 esac
    12288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12289 $as_echo "$ac_try_echo") >&5
    12290   (eval "$ac_compile") 2>conftest.er1
    12291   ac_status=$?
    12292   grep -v '^ *+' conftest.er1 >conftest.err
    12293   rm -f conftest.er1
    12294   cat conftest.err >&5
    12295   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12296   (exit $ac_status); } && {
    12297          test -z "$ac_cxx_werror_flag" ||
    12298          test ! -s conftest.err
    12299        } && test -s conftest.$ac_objext; then
     7079if ac_fn_cxx_try_compile "$LINENO"; then :
    123007080  tcl_cv_sysexec_h=usable
    123017081else
    12302   $as_echo "$as_me: failed program was:" >&5
    12303 sed 's/^/| /' conftest.$ac_ext >&5
    12304 
    12305         tcl_cv_sysexec_h=unusable
    12306 fi
    12307 
     7082  tcl_cv_sysexec_h=unusable
     7083fi
    123087084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    123097085fi
    12310 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     7086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    123117087$as_echo "$tcl_cv_sysexec_h" >&6; }
    123127088        if test $tcl_cv_sysexec_h = usable; then
    12313             cat >>confdefs.h <<\_ACEOF
    12314 #define USE_SYS_EXEC_H 1
    12315 _ACEOF
     7089            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    123167090
    123177091        else
    12318             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     7092            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    123197093$as_echo_n "checking a.out.h... " >&6; }
    12320 if test "${tcl_cv_aout_h+set}" = set; then
     7094if ${tcl_cv_aout_h+:} false; then :
    123217095  $as_echo_n "(cached) " >&6
    123227096else
    123237097
    12324             cat >conftest.$ac_ext <<_ACEOF
    12325 /* confdefs.h.  */
    12326 _ACEOF
    12327 cat confdefs.h >>conftest.$ac_ext
    12328 cat >>conftest.$ac_ext <<_ACEOF
     7098            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    123297099/* end confdefs.h.  */
    123307100#include <a.out.h>
     
    123487118}
    123497119_ACEOF
    12350 rm -f conftest.$ac_objext
    12351 if { (ac_try="$ac_compile"
    12352 case "(($ac_try" in
    12353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12354   *) ac_try_echo=$ac_try;;
    12355 esac
    12356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12357 $as_echo "$ac_try_echo") >&5
    12358   (eval "$ac_compile") 2>conftest.er1
    12359   ac_status=$?
    12360   grep -v '^ *+' conftest.er1 >conftest.err
    12361   rm -f conftest.er1
    12362   cat conftest.err >&5
    12363   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12364   (exit $ac_status); } && {
    12365          test -z "$ac_cxx_werror_flag" ||
    12366          test ! -s conftest.err
    12367        } && test -s conftest.$ac_objext; then
     7120if ac_fn_cxx_try_compile "$LINENO"; then :
    123687121  tcl_cv_aout_h=usable
    123697122else
    12370   $as_echo "$as_me: failed program was:" >&5
    12371 sed 's/^/| /' conftest.$ac_ext >&5
    12372 
    12373         tcl_cv_aout_h=unusable
    12374 fi
    12375 
     7123  tcl_cv_aout_h=unusable
     7124fi
    123767125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    123777126fi
    12378 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     7127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    123797128$as_echo "$tcl_cv_aout_h" >&6; }
    123807129            if test $tcl_cv_aout_h = usable; then
    12381                 cat >>confdefs.h <<\_ACEOF
    12382 #define USE_A_OUT_H 1
    12383 _ACEOF
     7130                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    123847131
    123857132            else
    12386                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     7133                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    123877134$as_echo_n "checking sys/exec_aout.h... " >&6; }
    12388 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     7135if ${tcl_cv_sysexecaout_h+:} false; then :
    123897136  $as_echo_n "(cached) " >&6
    123907137else
    123917138
    12392                 cat >conftest.$ac_ext <<_ACEOF
    12393 /* confdefs.h.  */
    12394 _ACEOF
    12395 cat confdefs.h >>conftest.$ac_ext
    12396 cat >>conftest.$ac_ext <<_ACEOF
     7139                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    123977140/* end confdefs.h.  */
    123987141#include <sys/exec_aout.h>
     
    124167159}
    124177160_ACEOF
    12418 rm -f conftest.$ac_objext
    12419 if { (ac_try="$ac_compile"
    12420 case "(($ac_try" in
    12421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12422   *) ac_try_echo=$ac_try;;
    12423 esac
    12424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12425 $as_echo "$ac_try_echo") >&5
    12426   (eval "$ac_compile") 2>conftest.er1
    12427   ac_status=$?
    12428   grep -v '^ *+' conftest.er1 >conftest.err
    12429   rm -f conftest.er1
    12430   cat conftest.err >&5
    12431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12432   (exit $ac_status); } && {
    12433          test -z "$ac_cxx_werror_flag" ||
    12434          test ! -s conftest.err
    12435        } && test -s conftest.$ac_objext; then
     7161if ac_fn_cxx_try_compile "$LINENO"; then :
    124367162  tcl_cv_sysexecaout_h=usable
    124377163else
    12438   $as_echo "$as_me: failed program was:" >&5
    12439 sed 's/^/| /' conftest.$ac_ext >&5
    12440 
    12441         tcl_cv_sysexecaout_h=unusable
    12442 fi
    12443 
     7164  tcl_cv_sysexecaout_h=unusable
     7165fi
    124447166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    124457167fi
    12446 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     7168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    124477169$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    124487170                if test $tcl_cv_sysexecaout_h = usable; then
    12449                     cat >>confdefs.h <<\_ACEOF
    12450 #define USE_SYS_EXEC_AOUT_H 1
    12451 _ACEOF
     7171                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    124527172
    124537173                else
     
    124617181
    124627182    # Check whether --enable-load was given.
    12463 if test "${enable_load+set}" = set; then
     7183if test "${enable_load+set}" = set; then :
    124647184  enableval=$enable_load; tcl_ok=$enableval
    124657185else
     
    125927312done
    125937313if test "x${make_command}" = "x" ; then
    12594   { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5
    12595 $as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;}
    12596    { (exit 1); exit 1; }; }
     7314  as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
    125977315fi
    125987316
    125997317# Check whether --enable-gui was given.
    12600 if test "${enable_gui+set}" = set; then
     7318if test "${enable_gui+set}" = set; then :
    126017319  enableval=$enable_gui;
    126027320else
     
    126237341
    126247342# Check whether --with-ffmpeg was given.
    12625 if test "${with_ffmpeg+set}" = set; then
     7343if test "${with_ffmpeg+set}" = set; then :
    126267344  withval=$with_ffmpeg;
    126277345else
     
    126327350
    126337351# Check whether --with-tclsh was given.
    12634 if test "${with_tclsh+set}" = set; then
     7352if test "${with_tclsh+set}" = set; then :
    126357353  withval=$with_tclsh;
    126367354else
     
    126457363    # Extract the first word of "${tclsh}", so it can be a program name with args.
    126467364set dummy ${tclsh}; ac_word=$2
    12647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    126487366$as_echo_n "checking for $ac_word... " >&6; }
    12649 if test "${ac_cv_path_TCLSH+set}" = set; then
     7367if ${ac_cv_path_TCLSH+:} false; then :
    126507368  $as_echo_n "(cached) " >&6
    126517369else
     
    126617379  IFS=$as_save_IFS
    126627380  test -z "$as_dir" && as_dir=.
    12663   for ac_exec_ext in '' $ac_executable_extensions; do
    12664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7381    for ac_exec_ext in '' $ac_executable_extensions; do
     7382  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    126657383    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    12666     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7384    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    126677385    break 2
    126687386  fi
    126697387done
    12670 done
     7388  done
    126717389IFS=$as_save_IFS
    126727390
     
    126767394TCLSH=$ac_cv_path_TCLSH
    126777395if test -n "$TCLSH"; then
    12678   { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
     7396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    126797397$as_echo "$TCLSH" >&6; }
    126807398else
    12681   { $as_echo "$as_me:$LINENO: result: no" >&5
     7399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    126827400$as_echo "no" >&6; }
    126837401fi
     
    126877405    # Extract the first word of "${tclsh}", so it can be a program name with args.
    126887406set dummy ${tclsh}; ac_word=$2
    12689 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    126907408$as_echo_n "checking for $ac_word... " >&6; }
    12691 if test "${ac_cv_path_TCLSH+set}" = set; then
     7409if ${ac_cv_path_TCLSH+:} false; then :
    126927410  $as_echo_n "(cached) " >&6
    126937411else
     
    127037421  IFS=$as_save_IFS
    127047422  test -z "$as_dir" && as_dir=.
    12705   for ac_exec_ext in '' $ac_executable_extensions; do
    12706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7423    for ac_exec_ext in '' $ac_executable_extensions; do
     7424  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    127077425    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    12708     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7426    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    127097427    break 2
    127107428  fi
    127117429done
    12712 done
     7430  done
    127137431IFS=$as_save_IFS
    127147432
     
    127187436TCLSH=$ac_cv_path_TCLSH
    127197437if test -n "$TCLSH"; then
    12720   { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
     7438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
    127217439$as_echo "$TCLSH" >&6; }
    127227440else
    12723   { $as_echo "$as_me:$LINENO: result: no" >&5
     7441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    127247442$as_echo "no" >&6; }
    127257443fi
     
    127287446  fi
    127297447  if test "x${TCLSH}" = "x" ; then
    12730     { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5
    12731 $as_echo "$as_me: error: can't find tclsh" >&2;}
    12732    { (exit 1); exit 1; }; }
     7448    as_fn_error $? "can't find tclsh" "$LINENO" 5
    127337449  fi
    127347450fi
     
    127397455
    127407456# Check whether --with-vtk was given.
    12741 if test "${with_vtk+set}" = set; then
     7457if test "${with_vtk+set}" = set; then :
    127427458  withval=$with_vtk;
    127437459else
     
    127467462
    127477463
    12748 { $as_echo "$as_me:$LINENO: checking for vtk" >&5
     7464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5
    127497465$as_echo_n "checking for vtk... " >&6; }
    127507466VTKDIR=""
     
    127707486  fi
    127717487fi
    12772 { $as_echo "$as_me:$LINENO: result: $VTKDIR" >&5
     7488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5
    127737489$as_echo "$VTKDIR" >&6; }
    127747490
     
    127767492
    127777493# Check whether --with-matlab was given.
    12778 if test "${with_matlab+set}" = set; then
     7494if test "${with_matlab+set}" = set; then :
    127797495  withval=$with_matlab;
    127807496else
     
    127927508    # Extract the first word of "matlab", so it can be a program name with args.
    127937509set dummy matlab; ac_word=$2
    12794 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    127957511$as_echo_n "checking for $ac_word... " >&6; }
    12796 if test "${ac_cv_path_MATLAB+set}" = set; then
     7512if ${ac_cv_path_MATLAB+:} false; then :
    127977513  $as_echo_n "(cached) " >&6
    127987514else
     
    128077523  IFS=$as_save_IFS
    128087524  test -z "$as_dir" && as_dir=.
    12809   for ac_exec_ext in '' $ac_executable_extensions; do
    12810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7525    for ac_exec_ext in '' $ac_executable_extensions; do
     7526  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    128117527    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12812     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    128137529    break 2
    128147530  fi
    128157531done
    12816 done
     7532  done
    128177533IFS=$as_save_IFS
    128187534
     
    128227538MATLAB=$ac_cv_path_MATLAB
    128237539if test -n "$MATLAB"; then
    12824   { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
     7540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    128257541$as_echo "$MATLAB" >&6; }
    128267542else
    12827   { $as_echo "$as_me:$LINENO: result: no" >&5
     7543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    128287544$as_echo "no" >&6; }
    128297545fi
     
    128337549    # Extract the first word of "matlab", so it can be a program name with args.
    128347550set dummy matlab; ac_word=$2
    12835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    128367552$as_echo_n "checking for $ac_word... " >&6; }
    12837 if test "${ac_cv_path_MATLAB+set}" = set; then
     7553if ${ac_cv_path_MATLAB+:} false; then :
    128387554  $as_echo_n "(cached) " >&6
    128397555else
     
    128497565  IFS=$as_save_IFS
    128507566  test -z "$as_dir" && as_dir=.
    12851   for ac_exec_ext in '' $ac_executable_extensions; do
    12852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7567    for ac_exec_ext in '' $ac_executable_extensions; do
     7568  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    128537569    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12854     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    128557571    break 2
    128567572  fi
    128577573done
    12858 done
     7574  done
    128597575IFS=$as_save_IFS
    128607576
     
    128647580MATLAB=$ac_cv_path_MATLAB
    128657581if test -n "$MATLAB"; then
    12866   { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
     7582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
    128677583$as_echo "$MATLAB" >&6; }
    128687584else
    12869   { $as_echo "$as_me:$LINENO: result: no" >&5
     7585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    128707586$as_echo "no" >&6; }
    128717587fi
     
    128847600  # Extract the first word of "mex", so it can be a program name with args.
    128857601set dummy mex; ac_word=$2
    12886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    128877603$as_echo_n "checking for $ac_word... " >&6; }
    12888 if test "${ac_cv_path_MEX+set}" = set; then
     7604if ${ac_cv_path_MEX+:} false; then :
    128897605  $as_echo_n "(cached) " >&6
    128907606else
     
    128997615  IFS=$as_save_IFS
    129007616  test -z "$as_dir" && as_dir=.
    12901   for ac_exec_ext in '' $ac_executable_extensions; do
    12902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7617    for ac_exec_ext in '' $ac_executable_extensions; do
     7618  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    129037619    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    12904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129057621    break 2
    129067622  fi
    129077623done
    12908 done
     7624  done
    129097625IFS=$as_save_IFS
    129107626
     
    129147630MEX=$ac_cv_path_MEX
    129157631if test -n "$MEX"; then
    12916   { $as_echo "$as_me:$LINENO: result: $MEX" >&5
     7632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
    129177633$as_echo "$MEX" >&6; }
    129187634else
    12919   { $as_echo "$as_me:$LINENO: result: no" >&5
     7635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    129207636$as_echo "no" >&6; }
    129217637fi
     
    129247640  # Extract the first word of "mexext", so it can be a program name with args.
    129257641set dummy mexext; ac_word=$2
    12926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    129277643$as_echo_n "checking for $ac_word... " >&6; }
    12928 if test "${ac_cv_path_MEXEXT+set}" = set; then
     7644if ${ac_cv_path_MEXEXT+:} false; then :
    129297645  $as_echo_n "(cached) " >&6
    129307646else
     
    129397655  IFS=$as_save_IFS
    129407656  test -z "$as_dir" && as_dir=.
    12941   for ac_exec_ext in '' $ac_executable_extensions; do
    12942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7657    for ac_exec_ext in '' $ac_executable_extensions; do
     7658  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    129437659    ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"
    12944     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7660    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129457661    break 2
    129467662  fi
    129477663done
    12948 done
     7664  done
    129497665IFS=$as_save_IFS
    129507666
     
    129547670MEXEXT=$ac_cv_path_MEXEXT
    129557671if test -n "$MEXEXT"; then
    12956   { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
     7672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    129577673$as_echo "$MEXEXT" >&6; }
    129587674else
    12959   { $as_echo "$as_me:$LINENO: result: no" >&5
     7675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    129607676$as_echo "no" >&6; }
    129617677fi
     
    129647680
    129657681  # Run "mexext" to get the expected module extension for this platform.
    12966   { $as_echo "$as_me:$LINENO: checking for mex extension" >&5
     7682  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5
    129677683$as_echo_n "checking for mex extension... " >&6; }
    129687684  if test "x$MEXEXT" != "x" ; then
     
    129717687    MEXEXT="mexglx"
    129727688  fi
    12973   { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
     7689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
    129747690$as_echo "$MEXEXT" >&6; }
    129757691  # Extract the first word of "mcc", so it can be a program name with args.
    129767692set dummy mcc; ac_word=$2
    12977 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    129787694$as_echo_n "checking for $ac_word... " >&6; }
    12979 if test "${ac_cv_path_MCC+set}" = set; then
     7695if ${ac_cv_path_MCC+:} false; then :
    129807696  $as_echo_n "(cached) " >&6
    129817697else
     
    129907706  IFS=$as_save_IFS
    129917707  test -z "$as_dir" && as_dir=.
    12992   for ac_exec_ext in '' $ac_executable_extensions; do
    12993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7708    for ac_exec_ext in '' $ac_executable_extensions; do
     7709  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    129947710    ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"
    12995     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7711    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129967712    break 2
    129977713  fi
    129987714done
    12999 done
     7715  done
    130007716IFS=$as_save_IFS
    130017717
     
    130057721MCC=$ac_cv_path_MCC
    130067722if test -n "$MCC"; then
    13007   { $as_echo "$as_me:$LINENO: result: $MCC" >&5
     7723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
    130087724$as_echo "$MCC" >&6; }
    130097725else
    13010   { $as_echo "$as_me:$LINENO: result: no" >&5
     7726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    130117727$as_echo "no" >&6; }
    130127728fi
    130137729
    130147730
    13015   { $as_echo "$as_me:$LINENO: checking for mcc extension" >&5
     7731  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
    130167732$as_echo_n "checking for mcc extension... " >&6; }
    130177733fi
     
    130207736
    130217737# Check whether --with-octave was given.
    13022 if test "${with_octave+set}" = set; then
     7738if test "${with_octave+set}" = set; then :
    130237739  withval=$with_octave;
    130247740else
     
    130377753    # Extract the first word of "octave", so it can be a program name with args.
    130387754set dummy octave; ac_word=$2
    13039 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    130407756$as_echo_n "checking for $ac_word... " >&6; }
    13041 if test "${ac_cv_path_OCTAVE+set}" = set; then
     7757if ${ac_cv_path_OCTAVE+:} false; then :
    130427758  $as_echo_n "(cached) " >&6
    130437759else
     
    130527768  IFS=$as_save_IFS
    130537769  test -z "$as_dir" && as_dir=.
    13054   for ac_exec_ext in '' $ac_executable_extensions; do
    13055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7770    for ac_exec_ext in '' $ac_executable_extensions; do
     7771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    130567772    ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    13057     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    130587774    break 2
    130597775  fi
    130607776done
    13061 done
     7777  done
    130627778IFS=$as_save_IFS
    130637779
     
    130677783OCTAVE=$ac_cv_path_OCTAVE
    130687784if test -n "$OCTAVE"; then
    13069   { $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5
     7785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
    130707786$as_echo "$OCTAVE" >&6; }
    130717787else
    13072   { $as_echo "$as_me:$LINENO: result: no" >&5
     7788  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    130737789$as_echo "no" >&6; }
    130747790fi
     
    130777793    # Extract the first word of "mkoctfile", so it can be a program name with args.
    130787794set dummy mkoctfile; ac_word=$2
    13079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    130807796$as_echo_n "checking for $ac_word... " >&6; }
    13081 if test "${ac_cv_path_MKOCTFILE+set}" = set; then
     7797if ${ac_cv_path_MKOCTFILE+:} false; then :
    130827798  $as_echo_n "(cached) " >&6
    130837799else
     
    130927808  IFS=$as_save_IFS
    130937809  test -z "$as_dir" && as_dir=.
    13094   for ac_exec_ext in '' $ac_executable_extensions; do
    13095   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7810    for ac_exec_ext in '' $ac_executable_extensions; do
     7811  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    130967812    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    13097     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7813    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    130987814    break 2
    130997815  fi
    131007816done
    13101 done
     7817  done
    131027818IFS=$as_save_IFS
    131037819
     
    131077823MKOCTFILE=$ac_cv_path_MKOCTFILE
    131087824if test -n "$MKOCTFILE"; then
    13109   { $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
     7825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
    131107826$as_echo "$MKOCTFILE" >&6; }
    131117827else
    13112   { $as_echo "$as_me:$LINENO: result: no" >&5
     7828  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    131137829$as_echo "no" >&6; }
    131147830fi
     
    131537869
    131547870# Check whether --with-mkoctfile3 was given.
    13155 if test "${with_mkoctfile3+set}" = set; then
     7871if test "${with_mkoctfile3+set}" = set; then :
    131567872  withval=$with_mkoctfile3;
    131577873else
     
    131647880    # Extract the first word of "mkoctfile", so it can be a program name with args.
    131657881set dummy mkoctfile; ac_word=$2
    13166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    131677883$as_echo_n "checking for $ac_word... " >&6; }
    13168 if test "${ac_cv_path_mkoctfile3+set}" = set; then
     7884if ${ac_cv_path_mkoctfile3+:} false; then :
    131697885  $as_echo_n "(cached) " >&6
    131707886else
     
    131797895  IFS=$as_save_IFS
    131807896  test -z "$as_dir" && as_dir=.
    13181   for ac_exec_ext in '' $ac_executable_extensions; do
    13182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7897    for ac_exec_ext in '' $ac_executable_extensions; do
     7898  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    131837899    ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"
    13184     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7900    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    131857901    break 2
    131867902  fi
    131877903done
    13188 done
     7904  done
    131897905IFS=$as_save_IFS
    131907906
     
    131947910mkoctfile3=$ac_cv_path_mkoctfile3
    131957911if test -n "$mkoctfile3"; then
    13196   { $as_echo "$as_me:$LINENO: result: $mkoctfile3" >&5
     7912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
    131977913$as_echo "$mkoctfile3" >&6; }
    131987914else
    13199   { $as_echo "$as_me:$LINENO: result: no" >&5
     7915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    132007916$as_echo "no" >&6; }
    132017917fi
     
    132137929
    132147930# Check whether --with-mkoctfile2 was given.
    13215 if test "${with_mkoctfile2+set}" = set; then
     7931if test "${with_mkoctfile2+set}" = set; then :
    132167932  withval=$with_mkoctfile2;
    132177933else
     
    132247940    # Extract the first word of "mkoctfile", so it can be a program name with args.
    132257941set dummy mkoctfile; ac_word=$2
    13226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    132277943$as_echo_n "checking for $ac_word... " >&6; }
    13228 if test "${ac_cv_path_mkoctfile2+set}" = set; then
     7944if ${ac_cv_path_mkoctfile2+:} false; then :
    132297945  $as_echo_n "(cached) " >&6
    132307946else
     
    132397955  IFS=$as_save_IFS
    132407956  test -z "$as_dir" && as_dir=.
    13241   for ac_exec_ext in '' $ac_executable_extensions; do
    13242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7957    for ac_exec_ext in '' $ac_executable_extensions; do
     7958  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    132437959    ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"
    13244     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7960    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    132457961    break 2
    132467962  fi
    132477963done
    13248 done
     7964  done
    132497965IFS=$as_save_IFS
    132507966
     
    132547970mkoctfile2=$ac_cv_path_mkoctfile2
    132557971if test -n "$mkoctfile2"; then
    13256   { $as_echo "$as_me:$LINENO: result: $mkoctfile2" >&5
     7972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
    132577973$as_echo "$mkoctfile2" >&6; }
    132587974else
    13259   { $as_echo "$as_me:$LINENO: result: no" >&5
     7975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    132607976$as_echo "no" >&6; }
    132617977fi
     
    132747990
    132757991# Check whether --with-perl was given.
    13276 if test "${with_perl+set}" = set; then
     7992if test "${with_perl+set}" = set; then :
    132777993  withval=$with_perl;
    132787994else
     
    132978013    # Extract the first word of "perl", so it can be a program name with args.
    132988014set dummy perl; ac_word=$2
    13299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    133008016$as_echo_n "checking for $ac_word... " >&6; }
    13301 if test "${ac_cv_path_PERL+set}" = set; then
     8017if ${ac_cv_path_PERL+:} false; then :
    133028018  $as_echo_n "(cached) " >&6
    133038019else
     
    133138029  IFS=$as_save_IFS
    133148030  test -z "$as_dir" && as_dir=.
    13315   for ac_exec_ext in '' $ac_executable_extensions; do
    13316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8031    for ac_exec_ext in '' $ac_executable_extensions; do
     8032  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    133178033    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    13318     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    133198035    break 2
    133208036  fi
    133218037done
    13322 done
     8038  done
    133238039IFS=$as_save_IFS
    133248040
     
    133288044PERL=$ac_cv_path_PERL
    133298045if test -n "$PERL"; then
    13330   { $as_echo "$as_me:$LINENO: result: $PERL" >&5
     8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    133318047$as_echo "$PERL" >&6; }
    133328048else
    13333   { $as_echo "$as_me:$LINENO: result: no" >&5
     8049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    133348050$as_echo "no" >&6; }
    133358051fi
     
    133388054    # Extract the first word of "xsubpp", so it can be a program name with args.
    133398055set dummy xsubpp; ac_word=$2
    13340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    133418057$as_echo_n "checking for $ac_word... " >&6; }
    13342 if test "${ac_cv_path_XSUBPP+set}" = set; then
     8058if ${ac_cv_path_XSUBPP+:} false; then :
    133438059  $as_echo_n "(cached) " >&6
    133448060else
     
    133548070  IFS=$as_save_IFS
    133558071  test -z "$as_dir" && as_dir=.
    13356   for ac_exec_ext in '' $ac_executable_extensions; do
    13357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8072    for ac_exec_ext in '' $ac_executable_extensions; do
     8073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    133588074    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    13359     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    133608076    break 2
    133618077  fi
    133628078done
    13363 done
     8079  done
    133648080IFS=$as_save_IFS
    133658081
     
    133698085XSUBPP=$ac_cv_path_XSUBPP
    133708086if test -n "$XSUBPP"; then
    13371   { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
     8087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    133728088$as_echo "$XSUBPP" >&6; }
    133738089else
    13374   { $as_echo "$as_me:$LINENO: result: no" >&5
     8090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    133758091$as_echo "no" >&6; }
    133768092fi
     
    133808096    # Extract the first word of "perl", so it can be a program name with args.
    133818097set dummy perl; ac_word=$2
    13382 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    133838099$as_echo_n "checking for $ac_word... " >&6; }
    13384 if test "${ac_cv_path_PERL+set}" = set; then
     8100if ${ac_cv_path_PERL+:} false; then :
    133858101  $as_echo_n "(cached) " >&6
    133868102else
     
    133958111  IFS=$as_save_IFS
    133968112  test -z "$as_dir" && as_dir=.
    13397   for ac_exec_ext in '' $ac_executable_extensions; do
    13398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8113    for ac_exec_ext in '' $ac_executable_extensions; do
     8114  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    133998115    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    13400     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8116    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    134018117    break 2
    134028118  fi
    134038119done
    13404 done
     8120  done
    134058121IFS=$as_save_IFS
    134068122
     
    134108126PERL=$ac_cv_path_PERL
    134118127if test -n "$PERL"; then
    13412   { $as_echo "$as_me:$LINENO: result: $PERL" >&5
     8128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
    134138129$as_echo "$PERL" >&6; }
    134148130else
    13415   { $as_echo "$as_me:$LINENO: result: no" >&5
     8131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    134168132$as_echo "no" >&6; }
    134178133fi
     
    134208136    # Extract the first word of "xsubpp", so it can be a program name with args.
    134218137set dummy xsubpp; ac_word=$2
    13422 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    134238139$as_echo_n "checking for $ac_word... " >&6; }
    13424 if test "${ac_cv_path_XSUBPP+set}" = set; then
     8140if ${ac_cv_path_XSUBPP+:} false; then :
    134258141  $as_echo_n "(cached) " >&6
    134268142else
     
    134358151  IFS=$as_save_IFS
    134368152  test -z "$as_dir" && as_dir=.
    13437   for ac_exec_ext in '' $ac_executable_extensions; do
    13438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8153    for ac_exec_ext in '' $ac_executable_extensions; do
     8154  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    134398155    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    13440     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8156    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    134418157    break 2
    134428158  fi
    134438159done
    13444 done
     8160  done
    134458161IFS=$as_save_IFS
    134468162
     
    134508166XSUBPP=$ac_cv_path_XSUBPP
    134518167if test -n "$XSUBPP"; then
    13452   { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
     8168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
    134538169$as_echo "$XSUBPP" >&6; }
    134548170else
    13455   { $as_echo "$as_me:$LINENO: result: no" >&5
     8171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    134568172$as_echo "no" >&6; }
    134578173fi
     
    134918207
    134928208# Check whether --with-python was given.
    13493 if test "${with_python+set}" = set; then
     8209if test "${with_python+set}" = set; then :
    134948210  withval=$with_python;
    134958211else
     
    135028218    # 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.
    135038219set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    13504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    135058221$as_echo_n "checking for $ac_word... " >&6; }
    13506 if test "${ac_cv_path_PYTHON+set}" = set; then
     8222if ${ac_cv_path_PYTHON+:} false; then :
    135078223  $as_echo_n "(cached) " >&6
    135088224else
     
    135178233  IFS=$as_save_IFS
    135188234  test -z "$as_dir" && as_dir=.
    13519   for ac_exec_ext in '' $ac_executable_extensions; do
    13520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8235    for ac_exec_ext in '' $ac_executable_extensions; do
     8236  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    135218237    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    13522     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    135238239    break 2
    135248240  fi
    135258241done
    13526 done
     8242  done
    135278243IFS=$as_save_IFS
    135288244
     
    135328248PYTHON=$ac_cv_path_PYTHON
    135338249if test -n "$PYTHON"; then
    13534   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     8250  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    135358251$as_echo "$PYTHON" >&6; }
    135368252else
    13537   { $as_echo "$as_me:$LINENO: result: no" >&5
     8253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    135388254$as_echo "no" >&6; }
    135398255fi
     
    135438259    # Extract the first word of "python", so it can be a program name with args.
    135448260set dummy python; ac_word=$2
    13545 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    135468262$as_echo_n "checking for $ac_word... " >&6; }
    13547 if test "${ac_cv_path_PYTHON+set}" = set; then
     8263if ${ac_cv_path_PYTHON+:} false; then :
    135488264  $as_echo_n "(cached) " >&6
    135498265else
     
    135598275  IFS=$as_save_IFS
    135608276  test -z "$as_dir" && as_dir=.
    13561   for ac_exec_ext in '' $ac_executable_extensions; do
    13562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8277    for ac_exec_ext in '' $ac_executable_extensions; do
     8278  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    135638279    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    13564     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    135658281    break 2
    135668282  fi
    135678283done
    13568 done
     8284  done
    135698285IFS=$as_save_IFS
    135708286
     
    135748290PYTHON=$ac_cv_path_PYTHON
    135758291if test -n "$PYTHON"; then
    13576   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     8292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    135778293$as_echo "$PYTHON" >&6; }
    135788294else
    13579   { $as_echo "$as_me:$LINENO: result: no" >&5
     8295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    135808296$as_echo "no" >&6; }
    135818297fi
     
    135838299
    135848300  fi
    13585   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     8301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    135868302$as_echo_n "checking for Python version... " >&6; }
    135878303  if test "x${PYTHON}" != "x"; then
    135888304    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    135898305  fi
    13590   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     8306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    135918307$as_echo "$PYTHON_VERSION" >&6; }
    135928308fi
     
    135948310if test "x${PYTHON_VERSION}" != "x"; then
    135958311  PYTHON_INCLUDES=$incdir
    13596   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     8312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    135978313$as_echo_n "checking for Python distutils... " >&6; }
    135988314  PYTHON_DISTUTILS=""
     
    136028318    PYTHON_DISTUTILS="yes"
    136038319  fi
    13604   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     8320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    136058321$as_echo "$PYTHON_DISTUTILS" >&6; }
    136068322  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    136098325    # Check for Python include path
    136108326    #
    13611     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     8327    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    136128328$as_echo_n "checking path to Python headers... " >&6; }
    136138329    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    136148330     print distutils.sysconfig.get_python_inc();"`
    13615     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     8331    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    136168332$as_echo "$PYTHON_INCDIR" >&6; }
    136178333    #
     
    136268342    save_CPPFLAGS=$CPPFLAGS
    136278343    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    13628 
    13629 for ac_header in Python.h
    13630 do
    13631 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13633   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13634 $as_echo_n "checking for $ac_header... " >&6; }
    13635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13636   $as_echo_n "(cached) " >&6
    13637 fi
    13638 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13639                  $as_echo "$as_val"'`
    13640                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13641 $as_echo "$ac_res" >&6; }
    13642 else
    13643   # Is the header compilable?
    13644 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13645 $as_echo_n "checking $ac_header usability... " >&6; }
    13646 cat >conftest.$ac_ext <<_ACEOF
    13647 /* confdefs.h.  */
    13648 _ACEOF
    13649 cat confdefs.h >>conftest.$ac_ext
    13650 cat >>conftest.$ac_ext <<_ACEOF
    13651 /* end confdefs.h.  */
    13652 $ac_includes_default
    13653 #include <$ac_header>
    13654 _ACEOF
    13655 rm -f conftest.$ac_objext
    13656 if { (ac_try="$ac_compile"
    13657 case "(($ac_try" in
    13658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13659   *) ac_try_echo=$ac_try;;
    13660 esac
    13661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13662 $as_echo "$ac_try_echo") >&5
    13663   (eval "$ac_compile") 2>conftest.er1
    13664   ac_status=$?
    13665   grep -v '^ *+' conftest.er1 >conftest.err
    13666   rm -f conftest.er1
    13667   cat conftest.err >&5
    13668   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13669   (exit $ac_status); } && {
    13670          test -z "$ac_cxx_werror_flag" ||
    13671          test ! -s conftest.err
    13672        } && test -s conftest.$ac_objext; then
    13673   ac_header_compiler=yes
    13674 else
    13675   $as_echo "$as_me: failed program was:" >&5
    13676 sed 's/^/| /' conftest.$ac_ext >&5
    13677 
    13678         ac_header_compiler=no
    13679 fi
    13680 
    13681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13682 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13683 $as_echo "$ac_header_compiler" >&6; }
    13684 
    13685 # Is the header present?
    13686 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13687 $as_echo_n "checking $ac_header presence... " >&6; }
    13688 cat >conftest.$ac_ext <<_ACEOF
    13689 /* confdefs.h.  */
    13690 _ACEOF
    13691 cat confdefs.h >>conftest.$ac_ext
    13692 cat >>conftest.$ac_ext <<_ACEOF
    13693 /* end confdefs.h.  */
    13694 #include <$ac_header>
    13695 _ACEOF
    13696 if { (ac_try="$ac_cpp conftest.$ac_ext"
    13697 case "(($ac_try" in
    13698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13699   *) ac_try_echo=$ac_try;;
    13700 esac
    13701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13702 $as_echo "$ac_try_echo") >&5
    13703   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    13704   ac_status=$?
    13705   grep -v '^ *+' conftest.er1 >conftest.err
    13706   rm -f conftest.er1
    13707   cat conftest.err >&5
    13708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13709   (exit $ac_status); } >/dev/null && {
    13710          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    13711          test ! -s conftest.err
    13712        }; then
    13713   ac_header_preproc=yes
    13714 else
    13715   $as_echo "$as_me: failed program was:" >&5
    13716 sed 's/^/| /' conftest.$ac_ext >&5
    13717 
    13718   ac_header_preproc=no
    13719 fi
    13720 
    13721 rm -f conftest.err conftest.$ac_ext
    13722 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13723 $as_echo "$ac_header_preproc" >&6; }
    13724 
    13725 # So?  What about this header?
    13726 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13727   yes:no: )
    13728     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13729 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13730     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13731 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13732     ac_header_preproc=yes
    13733     ;;
    13734   no:yes:* )
    13735     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13736 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13737     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13738 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13739     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13740 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13741     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13742 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13743     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13744 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13745     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13746 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13747     ( cat <<\_ASBOX
    13748 ## ----------------------------------- ##
    13749 ## Report this to rappture@nanohub.org ##
    13750 ## ----------------------------------- ##
    13751 _ASBOX
    13752      ) | sed "s/^/$as_me: WARNING:     /" >&2
    13753     ;;
    13754 esac
    13755 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13756 $as_echo_n "checking for $ac_header... " >&6; }
    13757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13758   $as_echo_n "(cached) " >&6
    13759 else
    13760   eval "$as_ac_Header=\$ac_header_preproc"
    13761 fi
    13762 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13763                  $as_echo "$as_val"'`
    13764                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13765 $as_echo "$ac_res" >&6; }
    13766 
    13767 fi
    13768 as_val=`eval 'as_val=${'$as_ac_Header'}
    13769                  $as_echo "$as_val"'`
    13770    if test "x$as_val" = x""yes; then
     8344    for ac_header in Python.h
     8345do :
     8346  ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     8347if test "x$ac_cv_header_Python_h" = xyes; then :
    137718348  cat >>confdefs.h <<_ACEOF
    13772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8349#define HAVE_PYTHON_H 1
    137738350_ACEOF
    137748351 found=yes
     
    137898366
    137908367# Check whether --with-java was given.
    13791 if test "${with_java+set}" = set; then
     8368if test "${with_java+set}" = set; then :
    137928369  withval=$with_java;
    137938370else
     
    138048381    # Extract the first word of "java", so it can be a program name with args.
    138058382set dummy java; ac_word=$2
    13806 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    138078384$as_echo_n "checking for $ac_word... " >&6; }
    13808 if test "${ac_cv_path_JAVA+set}" = set; then
     8385if ${ac_cv_path_JAVA+:} false; then :
    138098386  $as_echo_n "(cached) " >&6
    138108387else
     
    138198396  IFS=$as_save_IFS
    138208397  test -z "$as_dir" && as_dir=.
    13821   for ac_exec_ext in '' $ac_executable_extensions; do
    13822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8398    for ac_exec_ext in '' $ac_executable_extensions; do
     8399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    138238400    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    13824     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    138258402    break 2
    138268403  fi
    138278404done
    13828 done
     8405  done
    138298406IFS=$as_save_IFS
    138308407
     
    138348411JAVA=$ac_cv_path_JAVA
    138358412if test -n "$JAVA"; then
    13836   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     8413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    138378414$as_echo "$JAVA" >&6; }
    138388415else
    13839   { $as_echo "$as_me:$LINENO: result: no" >&5
     8416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    138408417$as_echo "no" >&6; }
    138418418fi
     
    138448421    # Extract the first word of "javac", so it can be a program name with args.
    138458422set dummy javac; ac_word=$2
    13846 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    138478424$as_echo_n "checking for $ac_word... " >&6; }
    13848 if test "${ac_cv_path_JAVAC+set}" = set; then
     8425if ${ac_cv_path_JAVAC+:} false; then :
    138498426  $as_echo_n "(cached) " >&6
    138508427else
     
    138598436  IFS=$as_save_IFS
    138608437  test -z "$as_dir" && as_dir=.
    13861   for ac_exec_ext in '' $ac_executable_extensions; do
    13862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8438    for ac_exec_ext in '' $ac_executable_extensions; do
     8439  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    138638440    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    13864     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    138658442    break 2
    138668443  fi
    138678444done
    13868 done
     8445  done
    138698446IFS=$as_save_IFS
    138708447
     
    138748451JAVAC=$ac_cv_path_JAVAC
    138758452if test -n "$JAVAC"; then
    13876   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     8453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    138778454$as_echo "$JAVAC" >&6; }
    138788455else
    13879   { $as_echo "$as_me:$LINENO: result: no" >&5
     8456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    138808457$as_echo "no" >&6; }
    138818458fi
     
    138848461    # Extract the first word of "javah", so it can be a program name with args.
    138858462set dummy javah; ac_word=$2
    13886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    138878464$as_echo_n "checking for $ac_word... " >&6; }
    13888 if test "${ac_cv_path_JAVAH+set}" = set; then
     8465if ${ac_cv_path_JAVAH+:} false; then :
    138898466  $as_echo_n "(cached) " >&6
    138908467else
     
    138998476  IFS=$as_save_IFS
    139008477  test -z "$as_dir" && as_dir=.
    13901   for ac_exec_ext in '' $ac_executable_extensions; do
    13902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8478    for ac_exec_ext in '' $ac_executable_extensions; do
     8479  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    139038480    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    13904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8481    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    139058482    break 2
    139068483  fi
    139078484done
    13908 done
     8485  done
    139098486IFS=$as_save_IFS
    139108487
     
    139148491JAVAH=$ac_cv_path_JAVAH
    139158492if test -n "$JAVAH"; then
    13916   { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
     8493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    139178494$as_echo "$JAVAH" >&6; }
    139188495else
    13919   { $as_echo "$as_me:$LINENO: result: no" >&5
     8496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    139208497$as_echo "no" >&6; }
    139218498fi
     
    139258502    # Extract the first word of "java", so it can be a program name with args.
    139268503set dummy java; ac_word=$2
    13927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    139288505$as_echo_n "checking for $ac_word... " >&6; }
    13929 if test "${ac_cv_path_JAVA+set}" = set; then
     8506if ${ac_cv_path_JAVA+:} false; then :
    139308507  $as_echo_n "(cached) " >&6
    139318508else
     
    139418518  IFS=$as_save_IFS
    139428519  test -z "$as_dir" && as_dir=.
    13943   for ac_exec_ext in '' $ac_executable_extensions; do
    13944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8520    for ac_exec_ext in '' $ac_executable_extensions; do
     8521  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    139458522    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    13946     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8523    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    139478524    break 2
    139488525  fi
    139498526done
    13950 done
     8527  done
    139518528IFS=$as_save_IFS
    139528529
     
    139568533JAVA=$ac_cv_path_JAVA
    139578534if test -n "$JAVA"; then
    13958   { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
     8535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
    139598536$as_echo "$JAVA" >&6; }
    139608537else
    13961   { $as_echo "$as_me:$LINENO: result: no" >&5
     8538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    139628539$as_echo "no" >&6; }
    139638540fi
     
    139668543    # Extract the first word of "javac", so it can be a program name with args.
    139678544set dummy javac; ac_word=$2
    13968 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    139698546$as_echo_n "checking for $ac_word... " >&6; }
    13970 if test "${ac_cv_path_JAVAC+set}" = set; then
     8547if ${ac_cv_path_JAVAC+:} false; then :
    139718548  $as_echo_n "(cached) " >&6
    139728549else
     
    139828559  IFS=$as_save_IFS
    139838560  test -z "$as_dir" && as_dir=.
    13984   for ac_exec_ext in '' $ac_executable_extensions; do
    13985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8561    for ac_exec_ext in '' $ac_executable_extensions; do
     8562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    139868563    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    13987     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    139888565    break 2
    139898566  fi
    139908567done
    13991 done
     8568  done
    139928569IFS=$as_save_IFS
    139938570
     
    139978574JAVAC=$ac_cv_path_JAVAC
    139988575if test -n "$JAVAC"; then
    13999   { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
     8576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
    140008577$as_echo "$JAVAC" >&6; }
    140018578else
    14002   { $as_echo "$as_me:$LINENO: result: no" >&5
     8579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    140038580$as_echo "no" >&6; }
    140048581fi
     
    140078584    # Extract the first word of "javah", so it can be a program name with args.
    140088585set dummy javah; ac_word=$2
    14009 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    140108587$as_echo_n "checking for $ac_word... " >&6; }
    14011 if test "${ac_cv_path_JAVAH+set}" = set; then
     8588if ${ac_cv_path_JAVAH+:} false; then :
    140128589  $as_echo_n "(cached) " >&6
    140138590else
     
    140238600  IFS=$as_save_IFS
    140248601  test -z "$as_dir" && as_dir=.
    14025   for ac_exec_ext in '' $ac_executable_extensions; do
    14026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8602    for ac_exec_ext in '' $ac_executable_extensions; do
     8603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    140278604    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    14028     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    140298606    break 2
    140308607  fi
    140318608done
    14032 done
     8609  done
    140338610IFS=$as_save_IFS
    140348611
     
    140388615JAVAH=$ac_cv_path_JAVAH
    140398616if test -n "$JAVAH"; then
    14040   { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
     8617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
    140418618$as_echo "$JAVAH" >&6; }
    140428619else
    14043   { $as_echo "$as_me:$LINENO: result: no" >&5
     8620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    140448621$as_echo "no" >&6; }
    140458622fi
     
    140858662
    140868663# Check whether --with-R was given.
    14087 if test "${with_R+set}" = set; then
     8664if test "${with_R+set}" = set; then :
    140888665  withval=$with_R;
    140898666else
     
    140978674    # Extract the first word of "R", so it can be a program name with args.
    140988675set dummy R; ac_word=$2
    14099 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    141008677$as_echo_n "checking for $ac_word... " >&6; }
    14101 if test "${ac_cv_path_R+set}" = set; then
     8678if ${ac_cv_path_R+:} false; then :
    141028679  $as_echo_n "(cached) " >&6
    141038680else
     
    141128689  IFS=$as_save_IFS
    141138690  test -z "$as_dir" && as_dir=.
    14114   for ac_exec_ext in '' $ac_executable_extensions; do
    14115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8691    for ac_exec_ext in '' $ac_executable_extensions; do
     8692  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    141168693    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    14117     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8694    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    141188695    break 2
    141198696  fi
    141208697done
    14121 done
     8698  done
    141228699IFS=$as_save_IFS
    141238700
     
    141278704R=$ac_cv_path_R
    141288705if test -n "$R"; then
    14129   { $as_echo "$as_me:$LINENO: result: $R" >&5
     8706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    141308707$as_echo "$R" >&6; }
    141318708else
    14132   { $as_echo "$as_me:$LINENO: result: no" >&5
     8709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    141338710$as_echo "no" >&6; }
    141348711fi
     
    141388715    # Extract the first word of "R", so it can be a program name with args.
    141398716set dummy R; ac_word=$2
    14140 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    141418718$as_echo_n "checking for $ac_word... " >&6; }
    14142 if test "${ac_cv_path_R+set}" = set; then
     8719if ${ac_cv_path_R+:} false; then :
    141438720  $as_echo_n "(cached) " >&6
    141448721else
     
    141548731  IFS=$as_save_IFS
    141558732  test -z "$as_dir" && as_dir=.
    14156   for ac_exec_ext in '' $ac_executable_extensions; do
    14157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8733    for ac_exec_ext in '' $ac_executable_extensions; do
     8734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    141588735    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    14159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    141608737    break 2
    141618738  fi
    141628739done
    14163 done
     8740  done
    141648741IFS=$as_save_IFS
    141658742
     
    141698746R=$ac_cv_path_R
    141708747if test -n "$R"; then
    14171   { $as_echo "$as_me:$LINENO: result: $R" >&5
     8748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
    141728749$as_echo "$R" >&6; }
    141738750else
    14174   { $as_echo "$as_me:$LINENO: result: no" >&5
     8751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    141758752$as_echo "no" >&6; }
    141768753fi
     
    141818758
    141828759
    14183 
    14184 RUBY=""
    14185 RUBY_DEV_PKG="no"
     8760# Make sure we can run config.sub.
     8761$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     8762  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     8763
     8764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     8765$as_echo_n "checking build system type... " >&6; }
     8766if ${ac_cv_build+:} false; then :
     8767  $as_echo_n "(cached) " >&6
     8768else
     8769  ac_build_alias=$build_alias
     8770test "x$ac_build_alias" = x &&
     8771  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     8772test "x$ac_build_alias" = x &&
     8773  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     8774ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     8775  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     8776
     8777fi
     8778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     8779$as_echo "$ac_cv_build" >&6; }
     8780case $ac_cv_build in
     8781*-*-*) ;;
     8782*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     8783esac
     8784build=$ac_cv_build
     8785ac_save_IFS=$IFS; IFS='-'
     8786set x $ac_cv_build
     8787shift
     8788build_cpu=$1
     8789build_vendor=$2
     8790shift; shift
     8791# Remember, the first character of IFS is used to create $*,
     8792# except with old shells:
     8793build_os=$*
     8794IFS=$ac_save_IFS
     8795case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     8796
     8797
     8798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     8799$as_echo_n "checking host system type... " >&6; }
     8800if ${ac_cv_host+:} false; then :
     8801  $as_echo_n "(cached) " >&6
     8802else
     8803  if test "x$host_alias" = x; then
     8804  ac_cv_host=$ac_cv_build
     8805else
     8806  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     8807    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     8808fi
     8809
     8810fi
     8811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     8812$as_echo "$ac_cv_host" >&6; }
     8813case $ac_cv_host in
     8814*-*-*) ;;
     8815*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     8816esac
     8817host=$ac_cv_host
     8818ac_save_IFS=$IFS; IFS='-'
     8819set x $ac_cv_host
     8820shift
     8821host_cpu=$1
     8822host_vendor=$2
     8823shift; shift
     8824# Remember, the first character of IFS is used to create $*,
     8825# except with old shells:
     8826host_os=$*
     8827IFS=$ac_save_IFS
     8828case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     8829
     8830
     8831
    141868832
    141878833
    141888834# Check whether --with-ruby was given.
    14189 if test "${with_ruby+set}" = set; then
    14190   withval=$with_ruby;
    14191 else
    14192   with_ruby="yes"
    14193 fi
    14194 
    14195 
    14196 if test "${with_ruby}" != "no" ; then
    14197   if test "${with_ruby}" = "yes" ; then
    14198     # Extract the first word of "ruby", so it can be a program name with args.
    14199 set dummy ruby; ac_word=$2
    14200 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14201 $as_echo_n "checking for $ac_word... " >&6; }
    14202 if test "${ac_cv_path_RUBY+set}" = set; then
    14203   $as_echo_n "(cached) " >&6
    14204 else
    14205   case $RUBY in
    14206   [\\/]* | ?:[\\/]*)
    14207   ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
    14208   ;;
    14209   *)
    14210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14211 for as_dir in $PATH
    14212 do
    14213   IFS=$as_save_IFS
    14214   test -z "$as_dir" && as_dir=.
    14215   for ac_exec_ext in '' $ac_executable_extensions; do
    14216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14217     ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    14218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14219     break 2
     8835if test "${with_ruby+set}" = set; then :
     8836  withval=$with_ruby;  RUBY=$withval
     8837else
     8838   RUBY=ruby
     8839fi
     8840
     8841
     8842# Check whether --with-ruby_sitelibdir was given.
     8843if test "${with_ruby_sitelibdir+set}" = set; then :
     8844  withval=$with_ruby_sitelibdir;  ruby_sitelibdir=$withval
     8845else
     8846   ruby_sitelibdir=NONE
     8847fi
     8848
     8849
     8850
     8851
     8852RUBY_VERSION_CODE=`$RUBY -e "puts RUBY_VERSION.gsub(/\./, '')"`
     8853
     8854
     8855RUBY_CONFIG_SO_NAME=`
     8856          $RUBY -rrbconfig -e "puts(Config::CONFIG['RUBY_SO_NAME'] || '')"`
     8857RUBY_CONFIG_ARCHDIR=`
     8858          $RUBY -rrbconfig -e "puts(Config::CONFIG['archdir'] || '')"`
     8859RUBY_CONFIG_ARCH=`
     8860          $RUBY -rrbconfig -e "puts(Config::CONFIG['arch'] || '')"`
     8861RUBY_CONFIG_LIBDIR=`
     8862          $RUBY -rrbconfig -e "puts(Config::CONFIG['libdir'] || '')"`
     8863RUBY_CONFIG_BINDIR=`
     8864          $RUBY -rrbconfig -e "puts(Config::CONFIG['bindir'] || '')"`
     8865RUBY_CONFIG_RUBYHDRDIR=`
     8866          $RUBY -rrbconfig -e "puts(Config::CONFIG['rubyhdrdir'] || '')"`
     8867RUBY_CONFIG_CFLAGS=`
     8868          $RUBY -rrbconfig -e "puts(Config::CONFIG['CFLAGS'] || '')"`
     8869RUBY_CONFIG_LIBS=`
     8870          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBS'] || '')"`
     8871RUBY_CONFIG_DLDLIBS=`
     8872          $RUBY -rrbconfig -e "puts(Config::CONFIG['DLDLIBS'] || '')"`
     8873RUBY_CONFIG_LDFLAGS=`
     8874          $RUBY -rrbconfig -e "puts(Config::CONFIG['LDFLAGS'] || '')"`
     8875RUBY_CONFIG_LIBRUBYARG=`
     8876          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG'] || '')"`
     8877RUBY_CONFIG_LIBRUBYARG_STATIC=`
     8878          $RUBY -rrbconfig -e "puts(Config::CONFIG['LIBRUBYARG_STATIC'] || '')"`
     8879RUBY_CONFIG_CCDLFLAGS=`
     8880          $RUBY -rrbconfig -e "puts(Config::CONFIG['CCDLFLAGS'] || '')"`
     8881
     8882if test "x${RUBY_CONFIG_RUBYHDRDIR}x" != "xx"; then
     8883  # 1.9
     8884  RUBY_CPPFLAGS="-I${RUBY_CONFIG_RUBYHDRDIR}"
     8885  RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYHDRDIR}/${RUBY_CONFIG_ARCH}"
     8886else
     8887  # 1.8
     8888  RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
     8889fi
     8890
     8891
     8892RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
     8893
     8894
     8895RUBY_CXXFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
     8896
     8897
     8898RUBY_LDFLAGS="-L${RUBY_CONFIG_ARCHDIR} -L${RUBY_CONFIG_LIBDIR} ${RUBY_CONFIG_LDFLAGS}"
     8899
     8900
     8901RUBY_LIBS="${RUBY_CONFIG_LIBS} ${RUBY_CONFIG_DLDLIBS}"
     8902
     8903
     8904RUBY_LIBRUBYARG="${RUBY_CONFIG_LIBRUBYARG}"
     8905
     8906
     8907RUBY_LIBRUBYARG_STATIC="${RUBY_CONFIG_LIBRUBYARG_STATIC}"
     8908
     8909
     8910if test "x${ruby_sitelibdir}x" != "xNONEx"
     8911then
     8912  RUBY_SITELIBDIR="${ruby_sitelibdir}"
     8913else
     8914  if test "x${prefix}x" = "xNONEx"
     8915  then
     8916    RUBY_SITELIBDIR=`
     8917          $RUBY -rrbconfig -e "puts(Config::CONFIG['sitelibdir'] || '')"`
     8918  else
     8919    sitelibdir_no_prefix=`$RUBY -rrbconfig \
     8920    -e "include Config; \
     8921    puts CONFIG['sitelibdir'].sub(CONFIG['prefix'], '')"`
     8922    RUBY_SITELIBDIR="${prefix}/${sitelibdir_no_prefix}"
    142208923  fi
    14221 done
    14222 done
    14223 IFS=$as_save_IFS
    14224 
    14225   ;;
     8924fi
     8925
     8926
     8927CPPFLAGS_save="${CPPFLAGS}"
     8928CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
     8929CXXFLAGS="${CPPFLAGS}"
     8930for ac_header in ruby.h
     8931do :
     8932  ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
     8933if test "x$ac_cv_header_ruby_h" = xyes; then :
     8934  cat >>confdefs.h <<_ACEOF
     8935#define HAVE_RUBY_H 1
     8936_ACEOF
     8937
     8938fi
     8939
     8940done
     8941
     8942HAVE_RUBY_H=${ac_cv_header_ruby_h}
     8943
     8944
     8945for ac_header in node.h
     8946do :
     8947  ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" "
     8948#include <ruby.h>
     8949
     8950"
     8951if test "x$ac_cv_header_node_h" = xyes; then :
     8952  cat >>confdefs.h <<_ACEOF
     8953#define HAVE_NODE_H 1
     8954_ACEOF
     8955
     8956fi
     8957
     8958done
     8959
     8960for ac_header in ruby/node.h
     8961do :
     8962  ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" "
     8963                             #include <ruby.h>
     8964
     8965"
     8966if test "x$ac_cv_header_ruby_node_h" = xyes; then :
     8967  cat >>confdefs.h <<_ACEOF
     8968#define HAVE_RUBY_NODE_H 1
     8969_ACEOF
     8970
     8971$as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h
     8972
     8973fi
     8974
     8975done
     8976
     8977for ac_header in version.h
     8978do :
     8979  ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" "
     8980#include <ruby.h>
     8981
     8982"
     8983if test "x$ac_cv_header_version_h" = xyes; then :
     8984  cat >>confdefs.h <<_ACEOF
     8985#define HAVE_VERSION_H 1
     8986_ACEOF
     8987
     8988fi
     8989
     8990done
     8991
     8992for ac_header in env.h
     8993do :
     8994  ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" "
     8995#include <ruby.h>
     8996
     8997"
     8998if test "x$ac_cv_header_env_h" = xyes; then :
     8999  cat >>confdefs.h <<_ACEOF
     9000#define HAVE_ENV_H 1
     9001_ACEOF
     9002
     9003fi
     9004
     9005done
     9006
     9007
     9008CPPFLAGS="${CPPFLAGS_save}"
     9009
     9010
     9011case $host_os in
     9012  *mingw32* ) MINGW32=yes;;
     9013          * ) MINGW32=no;;
    142269014esac
    14227 fi
    14228 RUBY=$ac_cv_path_RUBY
    14229 if test -n "$RUBY"; then
    14230   { $as_echo "$as_me:$LINENO: result: $RUBY" >&5
    14231 $as_echo "$RUBY" >&6; }
    14232 else
    14233   { $as_echo "$as_me:$LINENO: result: no" >&5
    14234 $as_echo "no" >&6; }
    14235 fi
    14236 
    14237 
    14238   else
    14239     # Extract the first word of "ruby", so it can be a program name with args.
    14240 set dummy ruby; ac_word=$2
    14241 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14242 $as_echo_n "checking for $ac_word... " >&6; }
    14243 if test "${ac_cv_path_RUBY+set}" = set; then
    14244   $as_echo_n "(cached) " >&6
    14245 else
    14246   case $RUBY in
    14247   [\\/]* | ?:[\\/]*)
    14248   ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
    14249   ;;
    14250   *)
    14251   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14252 as_dummy="${with_ruby}/bin:${with_ruby}"
    14253 for as_dir in $as_dummy
    14254 do
    14255   IFS=$as_save_IFS
    14256   test -z "$as_dir" && as_dir=.
    14257   for ac_exec_ext in '' $ac_executable_extensions; do
    14258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14259     ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    14260     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14261     break 2
    14262   fi
    14263 done
    14264 done
    14265 IFS=$as_save_IFS
    14266 
    14267   ;;
    14268 esac
    14269 fi
    14270 RUBY=$ac_cv_path_RUBY
    14271 if test -n "$RUBY"; then
    14272   { $as_echo "$as_me:$LINENO: result: $RUBY" >&5
    14273 $as_echo "$RUBY" >&6; }
    14274 else
    14275   { $as_echo "$as_me:$LINENO: result: no" >&5
    14276 $as_echo "no" >&6; }
    14277 fi
    14278 
    14279 
    14280   fi
    14281 fi
    14282 
    14283 RUBY_VERSION_RV=
    14284 RUBY_PLATFORM=
    14285 if test "x${RUBY}" != "x" ; then
    14286   { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    14287 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
    14288 if test "${ac_cv_path_SED+set}" = set; then
    14289   $as_echo_n "(cached) " >&6
    14290 else
    14291             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
    14292      for ac_i in 1 2 3 4 5 6 7; do
    14293        ac_script="$ac_script$as_nl$ac_script"
    14294      done
    14295      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
    14296      $as_unset ac_script || ac_script=
    14297      if test -z "$SED"; then
    14298   ac_path_SED_found=false
    14299   # Loop through the user's path and test for each of PROGNAME-LIST
    14300   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14301 for as_dir in $PATH
    14302 do
    14303   IFS=$as_save_IFS
    14304   test -z "$as_dir" && as_dir=.
    14305   for ac_prog in sed gsed; do
    14306     for ac_exec_ext in '' $ac_executable_extensions; do
    14307       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    14308       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
    14309 # Check for GNU ac_path_SED and select it if it is found.
    14310   # Check for GNU $ac_path_SED
    14311 case `"$ac_path_SED" --version 2>&1` in
    14312 *GNU*)
    14313   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
    14314 *)
    14315   ac_count=0
    14316   $as_echo_n 0123456789 >"conftest.in"
    14317   while :
    14318   do
    14319     cat "conftest.in" "conftest.in" >"conftest.tmp"
    14320     mv "conftest.tmp" "conftest.in"
    14321     cp "conftest.in" "conftest.nl"
    14322     $as_echo '' >> "conftest.nl"
    14323     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    14324     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    14325     ac_count=`expr $ac_count + 1`
    14326     if test $ac_count -gt ${ac_path_SED_max-0}; then
    14327       # Best one so far, save it but keep looking for a better one
    14328       ac_cv_path_SED="$ac_path_SED"
    14329       ac_path_SED_max=$ac_count
    14330     fi
    14331     # 10*(2^10) chars as input seems more than enough
    14332     test $ac_count -gt 10 && break
    14333   done
    14334   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    14335 esac
    14336 
    14337       $ac_path_SED_found && break 3
    14338     done
    14339   done
    14340 done
    14341 IFS=$as_save_IFS
    14342   if test -z "$ac_cv_path_SED"; then
    14343     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
    14344 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
    14345    { (exit 1); exit 1; }; }
    14346   fi
    14347 else
    14348   ac_cv_path_SED=$SED
    14349 fi
    14350 
    14351 fi
    14352 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
    14353 $as_echo "$ac_cv_path_SED" >&6; }
    14354  SED="$ac_cv_path_SED"
    14355   rm -f conftest.sed
    14356 
    14357 
    14358 
    14359 
    14360 
    14361     if test -n "$RUBY"; then
    14362 
    14363         ax_ruby_version=""
    14364 
    14365         { $as_echo "$as_me:$LINENO: checking for ruby version" >&5
    14366 $as_echo_n "checking for ruby version... " >&6; }
    14367 
    14368         ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
    14369 
    14370         { $as_echo "$as_me:$LINENO: result: $ruby_version" >&5
    14371 $as_echo "$ruby_version" >&6; }
    14372 
    14373         RUBY_VERSION=$ruby_version
    14374 
    14375 
    14376 
    14377   for ac_prog in gawk mawk nawk awk
    14378 do
    14379   # Extract the first word of "$ac_prog", so it can be a program name with args.
    14380 set dummy $ac_prog; ac_word=$2
    14381 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    14382 $as_echo_n "checking for $ac_word... " >&6; }
    14383 if test "${ac_cv_prog_AWK+set}" = set; then
    14384   $as_echo_n "(cached) " >&6
    14385 else
    14386   if test -n "$AWK"; then
    14387   ac_cv_prog_AWK="$AWK" # Let the user override the test.
    14388 else
    14389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    14390 for as_dir in $PATH
    14391 do
    14392   IFS=$as_save_IFS
    14393   test -z "$as_dir" && as_dir=.
    14394   for ac_exec_ext in '' $ac_executable_extensions; do
    14395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14396     ac_cv_prog_AWK="$ac_prog"
    14397     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    14398     break 2
    14399   fi
    14400 done
    14401 done
    14402 IFS=$as_save_IFS
    14403 
    14404 fi
    14405 fi
    14406 AWK=$ac_cv_prog_AWK
    14407 if test -n "$AWK"; then
    14408   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
    14409 $as_echo "$AWK" >&6; }
    14410 else
    14411   { $as_echo "$as_me:$LINENO: result: no" >&5
    14412 $as_echo "no" >&6; }
    14413 fi
    14414 
    14415 
    14416   test -n "$AWK" && break
    14417 done
    14418 
    14419 
    14420   # Used to indicate true or false condition
    14421   ax_compare_version=false
    14422 
    14423   # Convert the two version strings to be compared into a format that
    14424   # allows a simple string comparison.  The end result is that a version
    14425   # string of the form 1.12.5-r617 will be converted to the form
    14426   # 0001001200050617.  In other words, each number is zero padded to four
    14427   # digits, and non digits are removed.
    14428 
    14429   ax_compare_version_A=`echo "$ax_ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
    14430                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
    14431                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
    14432                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
    14433                      -e 's/[^0-9]//g'`
    14434 
    14435 
    14436   ax_compare_version_B=`echo "$ruby_version" | sed -e 's/\([0-9]*\)/Z\1Z/g' \
    14437                      -e 's/Z\([0-9]\)Z/Z0\1Z/g' \
    14438                      -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \
    14439                      -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \
    14440                      -e 's/[^0-9]//g'`
    14441 
    14442 
    14443     ax_compare_version=`echo "x$ax_compare_version_A
    14444 x$ax_compare_version_B" | sed 's/^ *//' | sort | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"`
    14445 
    14446 
    14447 
    14448     if test "$ax_compare_version" = "true" ; then
    14449 
    14450             :
    14451 
    14452 
    14453     else
    14454             :
    14455 
    14456 
    14457   fi
    14458 
    14459 
    14460 else
    14461 
    14462         { $as_echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5
    14463 $as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;}
    14464 
    14465 
    14466 fi
    14467 
    14468 
    14469   RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2`
    14470   RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'`
    14471   ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1`
    14472   if test -z "$ac_mkmf_result"; then
    14473     HAVE_RUBY_DEVEL="yes"
    14474 
    14475     #
    14476     # Check for Ruby include path
    14477     #
    14478     { $as_echo "$as_me:$LINENO: checking for Ruby include path" >&5
    14479 $as_echo_n "checking for Ruby include path... " >&6; }
    14480     if test -z "$RUBY_CPPFLAGS"; then
    14481         ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'`
    14482         if test -n "${ruby_path}"; then
    14483                 ruby_path="-I$ruby_path"
    14484         fi
    14485         RUBY_CPPFLAGS=$ruby_path
    14486     fi
    14487     { $as_echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&5
    14488 $as_echo "$RUBY_CPPFLAGS" >&6; }
    14489 
    14490 
    14491     #
    14492     # Check for Ruby library path
    14493     #
    14494     { $as_echo "$as_me:$LINENO: checking for Ruby library path" >&5
    14495 $as_echo_n "checking for Ruby library path... " >&6; }
    14496     if test -z "$RUBY_LDFLAGS"; then
    14497         RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'`
    14498     fi
    14499     { $as_echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&5
    14500 $as_echo "$RUBY_LDFLAGS" >&6; }
    14501 
    14502 
    14503     #
    14504     # Check for site packages
    14505     #
    14506     { $as_echo "$as_me:$LINENO: checking for Ruby site-packages path" >&5
    14507 $as_echo_n "checking for Ruby site-packages path... " >&6; }
    14508     if test -z "$RUBY_SITE_PKG"; then
    14509         RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'`
    14510     fi
    14511     { $as_echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&5
    14512 $as_echo "$RUBY_SITE_PKG" >&6; }
    14513 
    14514 
    14515     #
    14516     # libraries which must be linked in when embedding
    14517     #
    14518     { $as_echo "$as_me:$LINENO: checking ruby extra libraries" >&5
    14519 $as_echo_n "checking ruby extra libraries... " >&6; }
    14520     if test -z "$RUBY_EXTRA_LIBS"; then
    14521        RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'`
    14522     fi
    14523     { $as_echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&5
    14524 $as_echo "$RUBY_EXTRA_LIBS" >&6; }
    14525 
    14526 
    14527     #
    14528     # linking flags needed when embedding
    14529     # (is it even needed for Ruby?)
    14530     #
    14531     # AC_MSG_CHECKING(ruby extra linking flags)
    14532     # if test -z "$RUBY_EXTRA_LDFLAGS"; then
    14533     # RUBY_EXTRA_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG[["LINKFORSHARED"]]'`
    14534     # fi
    14535     # AC_MSG_RESULT([$RUBY_EXTRA_LDFLAGS])
    14536     # AC_SUBST(RUBY_EXTRA_LDFLAGS)
    14537 
    14538     # this flags breaks ruby.h, and is sometimes defined by KDE m4 macros
    14539     CFLAGS="`echo "$CFLAGS" | sed -e 's/-std=iso9899:1990//g;'`"
    14540     #
    14541     # final check to see if everything compiles alright
    14542     #
    14543     { $as_echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&5
    14544 $as_echo_n "checking consistency of all components of ruby development environment... " >&6; }
    14545     ac_ext=c
    14546 ac_cpp='$CPP $CPPFLAGS'
    14547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    14550 
    14551     # save current global flags
    14552     ac_save_LIBS="$LIBS"
    14553     LIBS="$ac_save_LIBS $RUBY_LDFLAGS"
    14554     ac_save_CPPFLAGS="$CPPFLAGS"
    14555     CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS"
    14556     cat >conftest.$ac_ext <<_ACEOF
    14557 /* confdefs.h.  */
    14558 _ACEOF
    14559 cat confdefs.h >>conftest.$ac_ext
    14560 cat >>conftest.$ac_ext <<_ACEOF
    14561 /* end confdefs.h.  */
    14562 
    14563         #include <ruby.h>
    14564 
    14565 int
    14566 main ()
    14567 {
    14568 
    14569         ruby_init();
    14570 
    14571   ;
    14572   return 0;
    14573 }
    14574 _ACEOF
    14575 rm -f conftest.$ac_objext conftest$ac_exeext
    14576 if { (ac_try="$ac_link"
    14577 case "(($ac_try" in
    14578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14579   *) ac_try_echo=$ac_try;;
    14580 esac
    14581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14582 $as_echo "$ac_try_echo") >&5
    14583   (eval "$ac_link") 2>conftest.er1
    14584   ac_status=$?
    14585   grep -v '^ *+' conftest.er1 >conftest.err
    14586   rm -f conftest.er1
    14587   cat conftest.err >&5
    14588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14589   (exit $ac_status); } && {
    14590          test -z "$ac_c_werror_flag" ||
    14591          test ! -s conftest.err
    14592        } && test -s conftest$ac_exeext && {
    14593          test "$cross_compiling" = yes ||
    14594          $as_test_x conftest$ac_exeext
    14595        }; then
    14596   rubyexists=yes
    14597 else
    14598   $as_echo "$as_me: failed program was:" >&5
    14599 sed 's/^/| /' conftest.$ac_ext >&5
    14600 
    14601         rubyexists=no
    14602 fi
    14603 
    14604 rm -rf conftest.dSYM
    14605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14606       conftest$ac_exeext conftest.$ac_ext
    14607 
    14608     { $as_echo "$as_me:$LINENO: result: $rubyexists" >&5
    14609 $as_echo "$rubyexists" >&6; }
    14610 
    14611     if test "$rubyexists" = "no"; then
    14612       HAVE_RUBY_DEVEL="no"
    14613     fi
    14614     ac_ext=cpp
    14615 ac_cpp='$CXXCPP $CPPFLAGS'
    14616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    14617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    14618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    14619 
    14620     # turn back to default flags
    14621     CPPFLAGS="$ac_save_CPPFLAGS"
    14622     LIBS="$ac_save_LIBS"
    14623 
    14624     #
    14625     # all done!
    14626     #
    14627 
    14628   fi
    14629 fi
     9015
     9016
     9017if test x"${MINGW32}"x = xyesx; then
     9018
     9019RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%oldnames.lib%-lmoldname%"`
     9020RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%user32.lib%-luser32%"`
     9021RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%advapi32.lib%-ladvapi32%"`
     9022RUBY_LIBS=`echo ${RUBY_LIBS} | sed -e "s%ws2_32.lib%-lws2_32%"`
     9023RUBY_LIBRUBYARG=`echo ${RUBY_LIBRUBYARG} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_BINDIR}/\1.dll%"`
     9024RUBY_LIBRUBYARG_STATIC=`echo ${RUBY_LIBRUBYARG_STATIC} | sed -e "s%\(msvcrt-ruby.*\).lib%${RUBY_CONFIG_LIBDIR}/\1.lib%"`
     9025
     9026fi
     9027
    146309028
    146319029
     
    146339031
    146349032
    14635     { $as_echo "$as_me:$LINENO: checking how to build libraries" >&5
     9033    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
    146369034$as_echo_n "checking how to build libraries... " >&6; }
    146379035    # Check whether --enable-shared was given.
    14638 if test "${enable_shared+set}" = set; then
     9036if test "${enable_shared+set}" = set; then :
    146399037  enableval=$enable_shared; tcl_ok=$enableval
    146409038else
     
    146519049
    146529050    if test "$tcl_ok" = "yes" ; then
    14653         { $as_echo "$as_me:$LINENO: result: shared" >&5
     9051        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
    146549052$as_echo "shared" >&6; }
    146559053        SHARED_BUILD=1
    146569054    else
    14657         { $as_echo "$as_me:$LINENO: result: static" >&5
     9055        { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
    146589056$as_echo "static" >&6; }
    146599057        SHARED_BUILD=0
    14660         cat >>confdefs.h <<\_ACEOF
    14661 #define STATIC_BUILD 1
    14662 _ACEOF
     9058        $as_echo "#define STATIC_BUILD 1" >>confdefs.h
    146639059
    146649060    fi
     
    146859081# -----------------------------------------------------------------------
    146869082
    14687 
    14688  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    146899084$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    14690 if test "${ac_cv_c_bigendian+set}" = set; then
     9085if ${ac_cv_c_bigendian+:} false; then :
    146919086  $as_echo_n "(cached) " >&6
    146929087else
    146939088  ac_cv_c_bigendian=unknown
    146949089    # See if we're dealing with a universal compiler.
    14695     cat >conftest.$ac_ext <<_ACEOF
    14696 /* confdefs.h.  */
    14697 _ACEOF
    14698 cat confdefs.h >>conftest.$ac_ext
    14699 cat >>conftest.$ac_ext <<_ACEOF
     9090    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    147009091/* end confdefs.h.  */
    147019092#ifndef __APPLE_CC__
     
    147059096
    147069097_ACEOF
    14707 rm -f conftest.$ac_objext
    14708 if { (ac_try="$ac_compile"
    14709 case "(($ac_try" in
    14710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14711   *) ac_try_echo=$ac_try;;
    14712 esac
    14713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14714 $as_echo "$ac_try_echo") >&5
    14715   (eval "$ac_compile") 2>conftest.er1
    14716   ac_status=$?
    14717   grep -v '^ *+' conftest.er1 >conftest.err
    14718   rm -f conftest.er1
    14719   cat conftest.err >&5
    14720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14721   (exit $ac_status); } && {
    14722          test -z "$ac_cxx_werror_flag" ||
    14723          test ! -s conftest.err
    14724        } && test -s conftest.$ac_objext; then
     9098if ac_fn_cxx_try_compile "$LINENO"; then :
    147259099
    147269100        # Check for potential -arch flags.  It is not universal unless
    14727         # there are some -arch flags.  Note that *ppc* also matches
    14728         # ppc64.  This check is also rather less than ideal.
    14729         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    14730           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    14731         esac
    14732 else
    14733   $as_echo "$as_me: failed program was:" >&5
    14734 sed 's/^/| /' conftest.$ac_ext >&5
    14735 
    14736 
    14737 fi
    14738 
     9101        # there are at least two -arch flags with different values.
     9102        ac_arch=
     9103        ac_prev=
     9104        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     9105         if test -n "$ac_prev"; then
     9106           case $ac_word in
     9107             i?86 | x86_64 | ppc | ppc64)
     9108               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     9109                 ac_arch=$ac_word
     9110               else
     9111                 ac_cv_c_bigendian=universal
     9112                 break
     9113               fi
     9114               ;;
     9115           esac
     9116           ac_prev=
     9117         elif test "x$ac_word" = "x-arch"; then
     9118           ac_prev=arch
     9119         fi
     9120       done
     9121fi
    147399122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    147409123    if test $ac_cv_c_bigendian = unknown; then
    147419124      # See if sys/param.h defines the BYTE_ORDER macro.
    14742       cat >conftest.$ac_ext <<_ACEOF
    14743 /* confdefs.h.  */
    14744 _ACEOF
    14745 cat confdefs.h >>conftest.$ac_ext
    14746 cat >>conftest.$ac_ext <<_ACEOF
     9125      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    147479126/* end confdefs.h.  */
    147489127#include <sys/types.h>
     
    147629141}
    147639142_ACEOF
    14764 rm -f conftest.$ac_objext
    14765 if { (ac_try="$ac_compile"
    14766 case "(($ac_try" in
    14767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14768   *) ac_try_echo=$ac_try;;
    14769 esac
    14770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14771 $as_echo "$ac_try_echo") >&5
    14772   (eval "$ac_compile") 2>conftest.er1
    14773   ac_status=$?
    14774   grep -v '^ *+' conftest.er1 >conftest.err
    14775   rm -f conftest.er1
    14776   cat conftest.err >&5
    14777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14778   (exit $ac_status); } && {
    14779          test -z "$ac_cxx_werror_flag" ||
    14780          test ! -s conftest.err
    14781        } && test -s conftest.$ac_objext; then
     9143if ac_fn_cxx_try_compile "$LINENO"; then :
    147829144  # It does; now see whether it defined to BIG_ENDIAN or not.
    14783          cat >conftest.$ac_ext <<_ACEOF
    14784 /* confdefs.h.  */
    14785 _ACEOF
    14786 cat confdefs.h >>conftest.$ac_ext
    14787 cat >>conftest.$ac_ext <<_ACEOF
     9145         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    147889146/* end confdefs.h.  */
    147899147#include <sys/types.h>
     
    148019159}
    148029160_ACEOF
    14803 rm -f conftest.$ac_objext
    14804 if { (ac_try="$ac_compile"
    14805 case "(($ac_try" in
    14806   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14807   *) ac_try_echo=$ac_try;;
    14808 esac
    14809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14810 $as_echo "$ac_try_echo") >&5
    14811   (eval "$ac_compile") 2>conftest.er1
    14812   ac_status=$?
    14813   grep -v '^ *+' conftest.er1 >conftest.err
    14814   rm -f conftest.er1
    14815   cat conftest.err >&5
    14816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14817   (exit $ac_status); } && {
    14818          test -z "$ac_cxx_werror_flag" ||
    14819          test ! -s conftest.err
    14820        } && test -s conftest.$ac_objext; then
     9161if ac_fn_cxx_try_compile "$LINENO"; then :
    148219162  ac_cv_c_bigendian=yes
    148229163else
    14823   $as_echo "$as_me: failed program was:" >&5
    14824 sed 's/^/| /' conftest.$ac_ext >&5
    14825 
    14826         ac_cv_c_bigendian=no
    14827 fi
    14828 
     9164  ac_cv_c_bigendian=no
     9165fi
    148299166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14830 else
    14831   $as_echo "$as_me: failed program was:" >&5
    14832 sed 's/^/| /' conftest.$ac_ext >&5
    14833 
    14834 
    14835 fi
    14836 
     9167fi
    148379168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    148389169    fi
    148399170    if test $ac_cv_c_bigendian = unknown; then
    148409171      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    14841       cat >conftest.$ac_ext <<_ACEOF
    14842 /* confdefs.h.  */
    14843 _ACEOF
    14844 cat confdefs.h >>conftest.$ac_ext
    14845 cat >>conftest.$ac_ext <<_ACEOF
     9172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    148469173/* end confdefs.h.  */
    148479174#include <limits.h>
     
    148589185}
    148599186_ACEOF
    14860 rm -f conftest.$ac_objext
    14861 if { (ac_try="$ac_compile"
    14862 case "(($ac_try" in
    14863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14864   *) ac_try_echo=$ac_try;;
    14865 esac
    14866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14867 $as_echo "$ac_try_echo") >&5
    14868   (eval "$ac_compile") 2>conftest.er1
    14869   ac_status=$?
    14870   grep -v '^ *+' conftest.er1 >conftest.err
    14871   rm -f conftest.er1
    14872   cat conftest.err >&5
    14873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14874   (exit $ac_status); } && {
    14875          test -z "$ac_cxx_werror_flag" ||
    14876          test ! -s conftest.err
    14877        } && test -s conftest.$ac_objext; then
     9187if ac_fn_cxx_try_compile "$LINENO"; then :
    148789188  # It does; now see whether it defined to _BIG_ENDIAN or not.
    14879          cat >conftest.$ac_ext <<_ACEOF
    14880 /* confdefs.h.  */
    14881 _ACEOF
    14882 cat confdefs.h >>conftest.$ac_ext
    14883 cat >>conftest.$ac_ext <<_ACEOF
     9189         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    148849190/* end confdefs.h.  */
    148859191#include <limits.h>
     
    148969202}
    148979203_ACEOF
    14898 rm -f conftest.$ac_objext
    14899 if { (ac_try="$ac_compile"
    14900 case "(($ac_try" in
    14901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14902   *) ac_try_echo=$ac_try;;
    14903 esac
    14904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14905 $as_echo "$ac_try_echo") >&5
    14906   (eval "$ac_compile") 2>conftest.er1
    14907   ac_status=$?
    14908   grep -v '^ *+' conftest.er1 >conftest.err
    14909   rm -f conftest.er1
    14910   cat conftest.err >&5
    14911   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14912   (exit $ac_status); } && {
    14913          test -z "$ac_cxx_werror_flag" ||
    14914          test ! -s conftest.err
    14915        } && test -s conftest.$ac_objext; then
     9204if ac_fn_cxx_try_compile "$LINENO"; then :
    149169205  ac_cv_c_bigendian=yes
    149179206else
    14918   $as_echo "$as_me: failed program was:" >&5
    14919 sed 's/^/| /' conftest.$ac_ext >&5
    14920 
    14921         ac_cv_c_bigendian=no
    14922 fi
    14923 
     9207  ac_cv_c_bigendian=no
     9208fi
    149249209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14925 else
    14926   $as_echo "$as_me: failed program was:" >&5
    14927 sed 's/^/| /' conftest.$ac_ext >&5
    14928 
    14929 
    14930 fi
    14931 
     9210fi
    149329211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    149339212    fi
    149349213    if test $ac_cv_c_bigendian = unknown; then
    149359214      # Compile a test program.
    14936       if test "$cross_compiling" = yes; then
     9215      if test "$cross_compiling" = yes; then :
    149379216  # Try to guess by grepping values from an object file.
    14938          cat >conftest.$ac_ext <<_ACEOF
    14939 /* confdefs.h.  */
    14940 _ACEOF
    14941 cat confdefs.h >>conftest.$ac_ext
    14942 cat >>conftest.$ac_ext <<_ACEOF
     9217         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    149439218/* end confdefs.h.  */
    149449219short int ascii_mm[] =
     
    149669241}
    149679242_ACEOF
    14968 rm -f conftest.$ac_objext
    14969 if { (ac_try="$ac_compile"
    14970 case "(($ac_try" in
    14971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14972   *) ac_try_echo=$ac_try;;
    14973 esac
    14974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14975 $as_echo "$ac_try_echo") >&5
    14976   (eval "$ac_compile") 2>conftest.er1
    14977   ac_status=$?
    14978   grep -v '^ *+' conftest.er1 >conftest.err
    14979   rm -f conftest.er1
    14980   cat conftest.err >&5
    14981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14982   (exit $ac_status); } && {
    14983          test -z "$ac_cxx_werror_flag" ||
    14984          test ! -s conftest.err
    14985        } && test -s conftest.$ac_objext; then
     9243if ac_fn_cxx_try_compile "$LINENO"; then :
    149869244  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    149879245              ac_cv_c_bigendian=yes
     
    149959253              fi
    149969254            fi
    14997 else
    14998   $as_echo "$as_me: failed program was:" >&5
    14999 sed 's/^/| /' conftest.$ac_ext >&5
    15000 
    15001 
    15002 fi
    15003 
     9255fi
    150049256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    150059257else
    15006   cat >conftest.$ac_ext <<_ACEOF
    15007 /* confdefs.h.  */
    15008 _ACEOF
    15009 cat confdefs.h >>conftest.$ac_ext
    15010 cat >>conftest.$ac_ext <<_ACEOF
     9258  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    150119259/* end confdefs.h.  */
    150129260$ac_includes_default
     
    150289276}
    150299277_ACEOF
    15030 rm -f conftest$ac_exeext
    15031 if { (ac_try="$ac_link"
    15032 case "(($ac_try" in
    15033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15034   *) ac_try_echo=$ac_try;;
    15035 esac
    15036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15037 $as_echo "$ac_try_echo") >&5
    15038   (eval "$ac_link") 2>&5
    15039   ac_status=$?
    15040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15041   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15042   { (case "(($ac_try" in
    15043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15044   *) ac_try_echo=$ac_try;;
    15045 esac
    15046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15047 $as_echo "$ac_try_echo") >&5
    15048   (eval "$ac_try") 2>&5
    15049   ac_status=$?
    15050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15051   (exit $ac_status); }; }; then
     9278if ac_fn_cxx_try_run "$LINENO"; then :
    150529279  ac_cv_c_bigendian=no
    150539280else
    15054   $as_echo "$as_me: program exited with status $ac_status" >&5
    15055 $as_echo "$as_me: failed program was:" >&5
    15056 sed 's/^/| /' conftest.$ac_ext >&5
    15057 
    15058 ( exit $ac_status )
    15059 ac_cv_c_bigendian=yes
    15060 fi
    15061 rm -rf conftest.dSYM
    15062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15063 fi
    15064 
     9281  ac_cv_c_bigendian=yes
     9282fi
     9283rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     9284  conftest.$ac_objext conftest.beam conftest.$ac_ext
     9285fi
    150659286
    150669287    fi
    150679288fi
    15068 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     9289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    150699290$as_echo "$ac_cv_c_bigendian" >&6; }
    150709291 case $ac_cv_c_bigendian in #(
    150719292   yes)
    15072      cat >>confdefs.h <<\_ACEOF
    15073 #define WORDS_BIGENDIAN 1
    15074 _ACEOF
     9293     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    150759294;; #(
    150769295   no)
     
    150789297   universal)
    150799298
    15080 cat >>confdefs.h <<\_ACEOF
    15081 #define AC_APPLE_UNIVERSAL_BUILD 1
    15082 _ACEOF
     9299$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    150839300
    150849301     ;; #(
    150859302   *)
    15086      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    15087  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    15088 $as_echo "$as_me: error: unknown endianness
    15089  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    15090    { (exit 1); exit 1; }; } ;;
     9303     as_fn_error $? "unknown endianness
     9304 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    150919305 esac
    150929306
     
    150959309# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    150969310# This bug is HP SR number 8606223364.
    15097 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     9311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    150989312$as_echo_n "checking size of int... " >&6; }
    15099 if test "${ac_cv_sizeof_int+set}" = set; then
     9313if ${ac_cv_sizeof_int+:} false; then :
    151009314  $as_echo_n "(cached) " >&6
    151019315else
    15102   if test "$cross_compiling" = yes; then
    15103   # Depending upon the size, compute the lo and hi bounds.
    15104 cat >conftest.$ac_ext <<_ACEOF
    15105 /* confdefs.h.  */
    15106 _ACEOF
    15107 cat confdefs.h >>conftest.$ac_ext
    15108 cat >>conftest.$ac_ext <<_ACEOF
    15109 /* end confdefs.h.  */
    15110 $ac_includes_default
    15111 int
    15112 main ()
    15113 {
    15114 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
    15115 test_array [0] = 0
    15116 
    15117   ;
    15118   return 0;
    15119 }
    15120 _ACEOF
    15121 rm -f conftest.$ac_objext
    15122 if { (ac_try="$ac_compile"
    15123 case "(($ac_try" in
    15124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15125   *) ac_try_echo=$ac_try;;
    15126 esac
    15127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15128 $as_echo "$ac_try_echo") >&5
    15129   (eval "$ac_compile") 2>conftest.er1
    15130   ac_status=$?
    15131   grep -v '^ *+' conftest.er1 >conftest.err
    15132   rm -f conftest.er1
    15133   cat conftest.err >&5
    15134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15135   (exit $ac_status); } && {
    15136          test -z "$ac_cxx_werror_flag" ||
    15137          test ! -s conftest.err
    15138        } && test -s conftest.$ac_objext; then
    15139   ac_lo=0 ac_mid=0
    15140   while :; do
    15141     cat >conftest.$ac_ext <<_ACEOF
    15142 /* confdefs.h.  */
    15143 _ACEOF
    15144 cat confdefs.h >>conftest.$ac_ext
    15145 cat >>conftest.$ac_ext <<_ACEOF
    15146 /* end confdefs.h.  */
    15147 $ac_includes_default
    15148 int
    15149 main ()
    15150 {
    15151 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    15152 test_array [0] = 0
    15153 
    15154   ;
    15155   return 0;
    15156 }
    15157 _ACEOF
    15158 rm -f conftest.$ac_objext
    15159 if { (ac_try="$ac_compile"
    15160 case "(($ac_try" in
    15161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15162   *) ac_try_echo=$ac_try;;
    15163 esac
    15164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15165 $as_echo "$ac_try_echo") >&5
    15166   (eval "$ac_compile") 2>conftest.er1
    15167   ac_status=$?
    15168   grep -v '^ *+' conftest.er1 >conftest.err
    15169   rm -f conftest.er1
    15170   cat conftest.err >&5
    15171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15172   (exit $ac_status); } && {
    15173          test -z "$ac_cxx_werror_flag" ||
    15174          test ! -s conftest.err
    15175        } && test -s conftest.$ac_objext; then
    15176   ac_hi=$ac_mid; break
    15177 else
    15178   $as_echo "$as_me: failed program was:" >&5
    15179 sed 's/^/| /' conftest.$ac_ext >&5
    15180 
    15181         ac_lo=`expr $ac_mid + 1`
    15182                         if test $ac_lo -le $ac_mid; then
    15183                           ac_lo= ac_hi=
    15184                           break
    15185                         fi
    15186                         ac_mid=`expr 2 '*' $ac_mid + 1`
    15187 fi
    15188 
    15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15190   done
    15191 else
    15192   $as_echo "$as_me: failed program was:" >&5
    15193 sed 's/^/| /' conftest.$ac_ext >&5
    15194 
    15195         cat >conftest.$ac_ext <<_ACEOF
    15196 /* confdefs.h.  */
    15197 _ACEOF
    15198 cat confdefs.h >>conftest.$ac_ext
    15199 cat >>conftest.$ac_ext <<_ACEOF
    15200 /* end confdefs.h.  */
    15201 $ac_includes_default
    15202 int
    15203 main ()
    15204 {
    15205 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
    15206 test_array [0] = 0
    15207 
    15208   ;
    15209   return 0;
    15210 }
    15211 _ACEOF
    15212 rm -f conftest.$ac_objext
    15213 if { (ac_try="$ac_compile"
    15214 case "(($ac_try" in
    15215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15216   *) ac_try_echo=$ac_try;;
    15217 esac
    15218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15219 $as_echo "$ac_try_echo") >&5
    15220   (eval "$ac_compile") 2>conftest.er1
    15221   ac_status=$?
    15222   grep -v '^ *+' conftest.er1 >conftest.err
    15223   rm -f conftest.er1
    15224   cat conftest.err >&5
    15225   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15226   (exit $ac_status); } && {
    15227          test -z "$ac_cxx_werror_flag" ||
    15228          test ! -s conftest.err
    15229        } && test -s conftest.$ac_objext; then
    15230   ac_hi=-1 ac_mid=-1
    15231   while :; do
    15232     cat >conftest.$ac_ext <<_ACEOF
    15233 /* confdefs.h.  */
    15234 _ACEOF
    15235 cat confdefs.h >>conftest.$ac_ext
    15236 cat >>conftest.$ac_ext <<_ACEOF
    15237 /* end confdefs.h.  */
    15238 $ac_includes_default
    15239 int
    15240 main ()
    15241 {
    15242 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
    15243 test_array [0] = 0
    15244 
    15245   ;
    15246   return 0;
    15247 }
    15248 _ACEOF
    15249 rm -f conftest.$ac_objext
    15250 if { (ac_try="$ac_compile"
    15251 case "(($ac_try" in
    15252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15253   *) ac_try_echo=$ac_try;;
    15254 esac
    15255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15256 $as_echo "$ac_try_echo") >&5
    15257   (eval "$ac_compile") 2>conftest.er1
    15258   ac_status=$?
    15259   grep -v '^ *+' conftest.er1 >conftest.err
    15260   rm -f conftest.er1
    15261   cat conftest.err >&5
    15262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15263   (exit $ac_status); } && {
    15264          test -z "$ac_cxx_werror_flag" ||
    15265          test ! -s conftest.err
    15266        } && test -s conftest.$ac_objext; then
    15267   ac_lo=$ac_mid; break
    15268 else
    15269   $as_echo "$as_me: failed program was:" >&5
    15270 sed 's/^/| /' conftest.$ac_ext >&5
    15271 
    15272         ac_hi=`expr '(' $ac_mid ')' - 1`
    15273                         if test $ac_mid -le $ac_hi; then
    15274                           ac_lo= ac_hi=
    15275                           break
    15276                         fi
    15277                         ac_mid=`expr 2 '*' $ac_mid`
    15278 fi
    15279 
    15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15281   done
    15282 else
    15283   $as_echo "$as_me: failed program was:" >&5
    15284 sed 's/^/| /' conftest.$ac_ext >&5
    15285 
    15286         ac_lo= ac_hi=
    15287 fi
    15288 
    15289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15290 fi
    15291 
    15292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15293 # Binary search between lo and hi bounds.
    15294 while test "x$ac_lo" != "x$ac_hi"; do
    15295   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    15296   cat >conftest.$ac_ext <<_ACEOF
    15297 /* confdefs.h.  */
    15298 _ACEOF
    15299 cat confdefs.h >>conftest.$ac_ext
    15300 cat >>conftest.$ac_ext <<_ACEOF
    15301 /* end confdefs.h.  */
    15302 $ac_includes_default
    15303 int
    15304 main ()
    15305 {
    15306 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    15307 test_array [0] = 0
    15308 
    15309   ;
    15310   return 0;
    15311 }
    15312 _ACEOF
    15313 rm -f conftest.$ac_objext
    15314 if { (ac_try="$ac_compile"
    15315 case "(($ac_try" in
    15316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15317   *) ac_try_echo=$ac_try;;
    15318 esac
    15319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15320 $as_echo "$ac_try_echo") >&5
    15321   (eval "$ac_compile") 2>conftest.er1
    15322   ac_status=$?
    15323   grep -v '^ *+' conftest.er1 >conftest.err
    15324   rm -f conftest.er1
    15325   cat conftest.err >&5
    15326   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15327   (exit $ac_status); } && {
    15328          test -z "$ac_cxx_werror_flag" ||
    15329          test ! -s conftest.err
    15330        } && test -s conftest.$ac_objext; then
    15331   ac_hi=$ac_mid
    15332 else
    15333   $as_echo "$as_me: failed program was:" >&5
    15334 sed 's/^/| /' conftest.$ac_ext >&5
    15335 
    15336         ac_lo=`expr '(' $ac_mid ')' + 1`
    15337 fi
    15338 
    15339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15340 done
    15341 case $ac_lo in
    15342 ?*) ac_cv_sizeof_int=$ac_lo;;
    15343 '') if test "$ac_cv_type_int" = yes; then
    15344      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9316  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     9317
     9318else
     9319  if test "$ac_cv_type_int" = yes; then
     9320     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    153459321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15346 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    15347 See \`config.log' for more details." >&5
    15348 $as_echo "$as_me: error: cannot compute sizeof (int)
    15349 See \`config.log' for more details." >&2;}
    15350    { (exit 77); exit 77; }; }; }
    15351    else
    15352      ac_cv_sizeof_int=0
    15353    fi ;;
    15354 esac
    15355 else
    15356   cat >conftest.$ac_ext <<_ACEOF
    15357 /* confdefs.h.  */
    15358 _ACEOF
    15359 cat confdefs.h >>conftest.$ac_ext
    15360 cat >>conftest.$ac_ext <<_ACEOF
    15361 /* end confdefs.h.  */
    15362 $ac_includes_default
    15363 static long int longval () { return (long int) (sizeof (int)); }
    15364 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
    15365 #include <stdio.h>
    15366 #include <stdlib.h>
    15367 int
    15368 main ()
    15369 {
    15370 
    15371   FILE *f = fopen ("conftest.val", "w");
    15372   if (! f)
    15373     return 1;
    15374   if (((long int) (sizeof (int))) < 0)
    15375     {
    15376       long int i = longval ();
    15377       if (i != ((long int) (sizeof (int))))
    15378         return 1;
    15379       fprintf (f, "%ld", i);
    15380     }
    15381   else
    15382     {
    15383       unsigned long int i = ulongval ();
    15384       if (i != ((long int) (sizeof (int))))
    15385         return 1;
    15386       fprintf (f, "%lu", i);
    15387     }
    15388   /* Do not output a trailing newline, as this causes \r\n confusion
    15389      on some platforms.  */
    15390   return ferror (f) || fclose (f) != 0;
    15391 
    15392   ;
    15393   return 0;
    15394 }
    15395 _ACEOF
    15396 rm -f conftest$ac_exeext
    15397 if { (ac_try="$ac_link"
    15398 case "(($ac_try" in
    15399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15400   *) ac_try_echo=$ac_try;;
    15401 esac
    15402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15403 $as_echo "$ac_try_echo") >&5
    15404   (eval "$ac_link") 2>&5
    15405   ac_status=$?
    15406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15407   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15408   { (case "(($ac_try" in
    15409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15410   *) ac_try_echo=$ac_try;;
    15411 esac
    15412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15413 $as_echo "$ac_try_echo") >&5
    15414   (eval "$ac_try") 2>&5
    15415   ac_status=$?
    15416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15417   (exit $ac_status); }; }; then
    15418   ac_cv_sizeof_int=`cat conftest.val`
    15419 else
    15420   $as_echo "$as_me: program exited with status $ac_status" >&5
    15421 $as_echo "$as_me: failed program was:" >&5
    15422 sed 's/^/| /' conftest.$ac_ext >&5
    15423 
    15424 ( exit $ac_status )
    15425 if test "$ac_cv_type_int" = yes; then
    15426      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    15427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15428 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    15429 See \`config.log' for more details." >&5
    15430 $as_echo "$as_me: error: cannot compute sizeof (int)
    15431 See \`config.log' for more details." >&2;}
    15432    { (exit 77); exit 77; }; }; }
     9322as_fn_error 77 "cannot compute sizeof (int)
     9323See \`config.log' for more details" "$LINENO" 5; }
    154339324   else
    154349325     ac_cv_sizeof_int=0
    154359326   fi
    154369327fi
    15437 rm -rf conftest.dSYM
    15438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15439 fi
    15440 rm -f conftest.val
    15441 fi
    15442 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
     9328
     9329fi
     9330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    154439331$as_echo "$ac_cv_sizeof_int" >&6; }
    154449332
     
    154549342# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    154559343# This bug is HP SR number 8606223364.
    15456 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     9344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    154579345$as_echo_n "checking size of long... " >&6; }
    15458 if test "${ac_cv_sizeof_long+set}" = set; then
     9346if ${ac_cv_sizeof_long+:} false; then :
    154599347  $as_echo_n "(cached) " >&6
    154609348else
    15461   if test "$cross_compiling" = yes; then
    15462   # Depending upon the size, compute the lo and hi bounds.
    15463 cat >conftest.$ac_ext <<_ACEOF
    15464 /* confdefs.h.  */
    15465 _ACEOF
    15466 cat confdefs.h >>conftest.$ac_ext
    15467 cat >>conftest.$ac_ext <<_ACEOF
    15468 /* end confdefs.h.  */
    15469 $ac_includes_default
    15470 int
    15471 main ()
    15472 {
    15473 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
    15474 test_array [0] = 0
    15475 
    15476   ;
    15477   return 0;
    15478 }
    15479 _ACEOF
    15480 rm -f conftest.$ac_objext
    15481 if { (ac_try="$ac_compile"
    15482 case "(($ac_try" in
    15483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15484   *) ac_try_echo=$ac_try;;
    15485 esac
    15486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15487 $as_echo "$ac_try_echo") >&5
    15488   (eval "$ac_compile") 2>conftest.er1
    15489   ac_status=$?
    15490   grep -v '^ *+' conftest.er1 >conftest.err
    15491   rm -f conftest.er1
    15492   cat conftest.err >&5
    15493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15494   (exit $ac_status); } && {
    15495          test -z "$ac_cxx_werror_flag" ||
    15496          test ! -s conftest.err
    15497        } && test -s conftest.$ac_objext; then
    15498   ac_lo=0 ac_mid=0
    15499   while :; do
    15500     cat >conftest.$ac_ext <<_ACEOF
    15501 /* confdefs.h.  */
    15502 _ACEOF
    15503 cat confdefs.h >>conftest.$ac_ext
    15504 cat >>conftest.$ac_ext <<_ACEOF
    15505 /* end confdefs.h.  */
    15506 $ac_includes_default
    15507 int
    15508 main ()
    15509 {
    15510 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    15511 test_array [0] = 0
    15512 
    15513   ;
    15514   return 0;
    15515 }
    15516 _ACEOF
    15517 rm -f conftest.$ac_objext
    15518 if { (ac_try="$ac_compile"
    15519 case "(($ac_try" in
    15520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15521   *) ac_try_echo=$ac_try;;
    15522 esac
    15523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15524 $as_echo "$ac_try_echo") >&5
    15525   (eval "$ac_compile") 2>conftest.er1
    15526   ac_status=$?
    15527   grep -v '^ *+' conftest.er1 >conftest.err
    15528   rm -f conftest.er1
    15529   cat conftest.err >&5
    15530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15531   (exit $ac_status); } && {
    15532          test -z "$ac_cxx_werror_flag" ||
    15533          test ! -s conftest.err
    15534        } && test -s conftest.$ac_objext; then
    15535   ac_hi=$ac_mid; break
    15536 else
    15537   $as_echo "$as_me: failed program was:" >&5
    15538 sed 's/^/| /' conftest.$ac_ext >&5
    15539 
    15540         ac_lo=`expr $ac_mid + 1`
    15541                         if test $ac_lo -le $ac_mid; then
    15542                           ac_lo= ac_hi=
    15543                           break
    15544                         fi
    15545                         ac_mid=`expr 2 '*' $ac_mid + 1`
    15546 fi
    15547 
    15548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15549   done
    15550 else
    15551   $as_echo "$as_me: failed program was:" >&5
    15552 sed 's/^/| /' conftest.$ac_ext >&5
    15553 
    15554         cat >conftest.$ac_ext <<_ACEOF
    15555 /* confdefs.h.  */
    15556 _ACEOF
    15557 cat confdefs.h >>conftest.$ac_ext
    15558 cat >>conftest.$ac_ext <<_ACEOF
    15559 /* end confdefs.h.  */
    15560 $ac_includes_default
    15561 int
    15562 main ()
    15563 {
    15564 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
    15565 test_array [0] = 0
    15566 
    15567   ;
    15568   return 0;
    15569 }
    15570 _ACEOF
    15571 rm -f conftest.$ac_objext
    15572 if { (ac_try="$ac_compile"
    15573 case "(($ac_try" in
    15574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15575   *) ac_try_echo=$ac_try;;
    15576 esac
    15577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15578 $as_echo "$ac_try_echo") >&5
    15579   (eval "$ac_compile") 2>conftest.er1
    15580   ac_status=$?
    15581   grep -v '^ *+' conftest.er1 >conftest.err
    15582   rm -f conftest.er1
    15583   cat conftest.err >&5
    15584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15585   (exit $ac_status); } && {
    15586          test -z "$ac_cxx_werror_flag" ||
    15587          test ! -s conftest.err
    15588        } && test -s conftest.$ac_objext; then
    15589   ac_hi=-1 ac_mid=-1
    15590   while :; do
    15591     cat >conftest.$ac_ext <<_ACEOF
    15592 /* confdefs.h.  */
    15593 _ACEOF
    15594 cat confdefs.h >>conftest.$ac_ext
    15595 cat >>conftest.$ac_ext <<_ACEOF
    15596 /* end confdefs.h.  */
    15597 $ac_includes_default
    15598 int
    15599 main ()
    15600 {
    15601 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
    15602 test_array [0] = 0
    15603 
    15604   ;
    15605   return 0;
    15606 }
    15607 _ACEOF
    15608 rm -f conftest.$ac_objext
    15609 if { (ac_try="$ac_compile"
    15610 case "(($ac_try" in
    15611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15612   *) ac_try_echo=$ac_try;;
    15613 esac
    15614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15615 $as_echo "$ac_try_echo") >&5
    15616   (eval "$ac_compile") 2>conftest.er1
    15617   ac_status=$?
    15618   grep -v '^ *+' conftest.er1 >conftest.err
    15619   rm -f conftest.er1
    15620   cat conftest.err >&5
    15621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15622   (exit $ac_status); } && {
    15623          test -z "$ac_cxx_werror_flag" ||
    15624          test ! -s conftest.err
    15625        } && test -s conftest.$ac_objext; then
    15626   ac_lo=$ac_mid; break
    15627 else
    15628   $as_echo "$as_me: failed program was:" >&5
    15629 sed 's/^/| /' conftest.$ac_ext >&5
    15630 
    15631         ac_hi=`expr '(' $ac_mid ')' - 1`
    15632                         if test $ac_mid -le $ac_hi; then
    15633                           ac_lo= ac_hi=
    15634                           break
    15635                         fi
    15636                         ac_mid=`expr 2 '*' $ac_mid`
    15637 fi
    15638 
    15639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15640   done
    15641 else
    15642   $as_echo "$as_me: failed program was:" >&5
    15643 sed 's/^/| /' conftest.$ac_ext >&5
    15644 
    15645         ac_lo= ac_hi=
    15646 fi
    15647 
    15648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15649 fi
    15650 
    15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15652 # Binary search between lo and hi bounds.
    15653 while test "x$ac_lo" != "x$ac_hi"; do
    15654   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    15655   cat >conftest.$ac_ext <<_ACEOF
    15656 /* confdefs.h.  */
    15657 _ACEOF
    15658 cat confdefs.h >>conftest.$ac_ext
    15659 cat >>conftest.$ac_ext <<_ACEOF
    15660 /* end confdefs.h.  */
    15661 $ac_includes_default
    15662 int
    15663 main ()
    15664 {
    15665 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    15666 test_array [0] = 0
    15667 
    15668   ;
    15669   return 0;
    15670 }
    15671 _ACEOF
    15672 rm -f conftest.$ac_objext
    15673 if { (ac_try="$ac_compile"
    15674 case "(($ac_try" in
    15675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15676   *) ac_try_echo=$ac_try;;
    15677 esac
    15678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15679 $as_echo "$ac_try_echo") >&5
    15680   (eval "$ac_compile") 2>conftest.er1
    15681   ac_status=$?
    15682   grep -v '^ *+' conftest.er1 >conftest.err
    15683   rm -f conftest.er1
    15684   cat conftest.err >&5
    15685   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15686   (exit $ac_status); } && {
    15687          test -z "$ac_cxx_werror_flag" ||
    15688          test ! -s conftest.err
    15689        } && test -s conftest.$ac_objext; then
    15690   ac_hi=$ac_mid
    15691 else
    15692   $as_echo "$as_me: failed program was:" >&5
    15693 sed 's/^/| /' conftest.$ac_ext >&5
    15694 
    15695         ac_lo=`expr '(' $ac_mid ')' + 1`
    15696 fi
    15697 
    15698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15699 done
    15700 case $ac_lo in
    15701 ?*) ac_cv_sizeof_long=$ac_lo;;
    15702 '') if test "$ac_cv_type_long" = yes; then
    15703      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9349  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     9350
     9351else
     9352  if test "$ac_cv_type_long" = yes; then
     9353     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    157049354$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15705 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    15706 See \`config.log' for more details." >&5
    15707 $as_echo "$as_me: error: cannot compute sizeof (long)
    15708 See \`config.log' for more details." >&2;}
    15709    { (exit 77); exit 77; }; }; }
    15710    else
    15711      ac_cv_sizeof_long=0
    15712    fi ;;
    15713 esac
    15714 else
    15715   cat >conftest.$ac_ext <<_ACEOF
    15716 /* confdefs.h.  */
    15717 _ACEOF
    15718 cat confdefs.h >>conftest.$ac_ext
    15719 cat >>conftest.$ac_ext <<_ACEOF
    15720 /* end confdefs.h.  */
    15721 $ac_includes_default
    15722 static long int longval () { return (long int) (sizeof (long)); }
    15723 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
    15724 #include <stdio.h>
    15725 #include <stdlib.h>
    15726 int
    15727 main ()
    15728 {
    15729 
    15730   FILE *f = fopen ("conftest.val", "w");
    15731   if (! f)
    15732     return 1;
    15733   if (((long int) (sizeof (long))) < 0)
    15734     {
    15735       long int i = longval ();
    15736       if (i != ((long int) (sizeof (long))))
    15737         return 1;
    15738       fprintf (f, "%ld", i);
    15739     }
    15740   else
    15741     {
    15742       unsigned long int i = ulongval ();
    15743       if (i != ((long int) (sizeof (long))))
    15744         return 1;
    15745       fprintf (f, "%lu", i);
    15746     }
    15747   /* Do not output a trailing newline, as this causes \r\n confusion
    15748      on some platforms.  */
    15749   return ferror (f) || fclose (f) != 0;
    15750 
    15751   ;
    15752   return 0;
    15753 }
    15754 _ACEOF
    15755 rm -f conftest$ac_exeext
    15756 if { (ac_try="$ac_link"
    15757 case "(($ac_try" in
    15758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15759   *) ac_try_echo=$ac_try;;
    15760 esac
    15761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15762 $as_echo "$ac_try_echo") >&5
    15763   (eval "$ac_link") 2>&5
    15764   ac_status=$?
    15765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15766   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15767   { (case "(($ac_try" in
    15768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15769   *) ac_try_echo=$ac_try;;
    15770 esac
    15771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15772 $as_echo "$ac_try_echo") >&5
    15773   (eval "$ac_try") 2>&5
    15774   ac_status=$?
    15775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15776   (exit $ac_status); }; }; then
    15777   ac_cv_sizeof_long=`cat conftest.val`
    15778 else
    15779   $as_echo "$as_me: program exited with status $ac_status" >&5
    15780 $as_echo "$as_me: failed program was:" >&5
    15781 sed 's/^/| /' conftest.$ac_ext >&5
    15782 
    15783 ( exit $ac_status )
    15784 if test "$ac_cv_type_long" = yes; then
    15785      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    15786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    15787 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    15788 See \`config.log' for more details." >&5
    15789 $as_echo "$as_me: error: cannot compute sizeof (long)
    15790 See \`config.log' for more details." >&2;}
    15791    { (exit 77); exit 77; }; }; }
     9355as_fn_error 77 "cannot compute sizeof (long)
     9356See \`config.log' for more details" "$LINENO" 5; }
    157929357   else
    157939358     ac_cv_sizeof_long=0
    157949359   fi
    157959360fi
    15796 rm -rf conftest.dSYM
    15797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15798 fi
    15799 rm -f conftest.val
    15800 fi
    15801 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
     9361
     9362fi
     9363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    158029364$as_echo "$ac_cv_sizeof_long" >&6; }
    158039365
     
    158139375# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    158149376# This bug is HP SR number 8606223364.
    15815 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     9377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    158169378$as_echo_n "checking size of long long... " >&6; }
    15817 if test "${ac_cv_sizeof_long_long+set}" = set; then
     9379if ${ac_cv_sizeof_long_long+:} false; then :
    158189380  $as_echo_n "(cached) " >&6
    158199381else
    15820   if test "$cross_compiling" = yes; then
    15821   # Depending upon the size, compute the lo and hi bounds.
    15822 cat >conftest.$ac_ext <<_ACEOF
    15823 /* confdefs.h.  */
    15824 _ACEOF
    15825 cat confdefs.h >>conftest.$ac_ext
    15826 cat >>conftest.$ac_ext <<_ACEOF
    15827 /* end confdefs.h.  */
    15828 $ac_includes_default
    15829 int
    15830 main ()
    15831 {
    15832 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
    15833 test_array [0] = 0
    15834 
    15835   ;
    15836   return 0;
    15837 }
    15838 _ACEOF
    15839 rm -f conftest.$ac_objext
    15840 if { (ac_try="$ac_compile"
    15841 case "(($ac_try" in
    15842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15843   *) ac_try_echo=$ac_try;;
    15844 esac
    15845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15846 $as_echo "$ac_try_echo") >&5
    15847   (eval "$ac_compile") 2>conftest.er1
    15848   ac_status=$?
    15849   grep -v '^ *+' conftest.er1 >conftest.err
    15850   rm -f conftest.er1
    15851   cat conftest.err >&5
    15852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15853   (exit $ac_status); } && {
    15854          test -z "$ac_cxx_werror_flag" ||
    15855          test ! -s conftest.err
    15856        } && test -s conftest.$ac_objext; then
    15857   ac_lo=0 ac_mid=0
    15858   while :; do
    15859     cat >conftest.$ac_ext <<_ACEOF
    15860 /* confdefs.h.  */
    15861 _ACEOF
    15862 cat confdefs.h >>conftest.$ac_ext
    15863 cat >>conftest.$ac_ext <<_ACEOF
    15864 /* end confdefs.h.  */
    15865 $ac_includes_default
    15866 int
    15867 main ()
    15868 {
    15869 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    15870 test_array [0] = 0
    15871 
    15872   ;
    15873   return 0;
    15874 }
    15875 _ACEOF
    15876 rm -f conftest.$ac_objext
    15877 if { (ac_try="$ac_compile"
    15878 case "(($ac_try" in
    15879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15880   *) ac_try_echo=$ac_try;;
    15881 esac
    15882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15883 $as_echo "$ac_try_echo") >&5
    15884   (eval "$ac_compile") 2>conftest.er1
    15885   ac_status=$?
    15886   grep -v '^ *+' conftest.er1 >conftest.err
    15887   rm -f conftest.er1
    15888   cat conftest.err >&5
    15889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15890   (exit $ac_status); } && {
    15891          test -z "$ac_cxx_werror_flag" ||
    15892          test ! -s conftest.err
    15893        } && test -s conftest.$ac_objext; then
    15894   ac_hi=$ac_mid; break
    15895 else
    15896   $as_echo "$as_me: failed program was:" >&5
    15897 sed 's/^/| /' conftest.$ac_ext >&5
    15898 
    15899         ac_lo=`expr $ac_mid + 1`
    15900                         if test $ac_lo -le $ac_mid; then
    15901                           ac_lo= ac_hi=
    15902                           break
    15903                         fi
    15904                         ac_mid=`expr 2 '*' $ac_mid + 1`
    15905 fi
    15906 
    15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15908   done
    15909 else
    15910   $as_echo "$as_me: failed program was:" >&5
    15911 sed 's/^/| /' conftest.$ac_ext >&5
    15912 
    15913         cat >conftest.$ac_ext <<_ACEOF
    15914 /* confdefs.h.  */
    15915 _ACEOF
    15916 cat confdefs.h >>conftest.$ac_ext
    15917 cat >>conftest.$ac_ext <<_ACEOF
    15918 /* end confdefs.h.  */
    15919 $ac_includes_default
    15920 int
    15921 main ()
    15922 {
    15923 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
    15924 test_array [0] = 0
    15925 
    15926   ;
    15927   return 0;
    15928 }
    15929 _ACEOF
    15930 rm -f conftest.$ac_objext
    15931 if { (ac_try="$ac_compile"
    15932 case "(($ac_try" in
    15933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15934   *) ac_try_echo=$ac_try;;
    15935 esac
    15936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15937 $as_echo "$ac_try_echo") >&5
    15938   (eval "$ac_compile") 2>conftest.er1
    15939   ac_status=$?
    15940   grep -v '^ *+' conftest.er1 >conftest.err
    15941   rm -f conftest.er1
    15942   cat conftest.err >&5
    15943   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15944   (exit $ac_status); } && {
    15945          test -z "$ac_cxx_werror_flag" ||
    15946          test ! -s conftest.err
    15947        } && test -s conftest.$ac_objext; then
    15948   ac_hi=-1 ac_mid=-1
    15949   while :; do
    15950     cat >conftest.$ac_ext <<_ACEOF
    15951 /* confdefs.h.  */
    15952 _ACEOF
    15953 cat confdefs.h >>conftest.$ac_ext
    15954 cat >>conftest.$ac_ext <<_ACEOF
    15955 /* end confdefs.h.  */
    15956 $ac_includes_default
    15957 int
    15958 main ()
    15959 {
    15960 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
    15961 test_array [0] = 0
    15962 
    15963   ;
    15964   return 0;
    15965 }
    15966 _ACEOF
    15967 rm -f conftest.$ac_objext
    15968 if { (ac_try="$ac_compile"
    15969 case "(($ac_try" in
    15970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15971   *) ac_try_echo=$ac_try;;
    15972 esac
    15973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15974 $as_echo "$ac_try_echo") >&5
    15975   (eval "$ac_compile") 2>conftest.er1
    15976   ac_status=$?
    15977   grep -v '^ *+' conftest.er1 >conftest.err
    15978   rm -f conftest.er1
    15979   cat conftest.err >&5
    15980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15981   (exit $ac_status); } && {
    15982          test -z "$ac_cxx_werror_flag" ||
    15983          test ! -s conftest.err
    15984        } && test -s conftest.$ac_objext; then
    15985   ac_lo=$ac_mid; break
    15986 else
    15987   $as_echo "$as_me: failed program was:" >&5
    15988 sed 's/^/| /' conftest.$ac_ext >&5
    15989 
    15990         ac_hi=`expr '(' $ac_mid ')' - 1`
    15991                         if test $ac_mid -le $ac_hi; then
    15992                           ac_lo= ac_hi=
    15993                           break
    15994                         fi
    15995                         ac_mid=`expr 2 '*' $ac_mid`
    15996 fi
    15997 
    15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15999   done
    16000 else
    16001   $as_echo "$as_me: failed program was:" >&5
    16002 sed 's/^/| /' conftest.$ac_ext >&5
    16003 
    16004         ac_lo= ac_hi=
    16005 fi
    16006 
    16007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16008 fi
    16009 
    16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16011 # Binary search between lo and hi bounds.
    16012 while test "x$ac_lo" != "x$ac_hi"; do
    16013   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    16014   cat >conftest.$ac_ext <<_ACEOF
    16015 /* confdefs.h.  */
    16016 _ACEOF
    16017 cat confdefs.h >>conftest.$ac_ext
    16018 cat >>conftest.$ac_ext <<_ACEOF
    16019 /* end confdefs.h.  */
    16020 $ac_includes_default
    16021 int
    16022 main ()
    16023 {
    16024 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    16025 test_array [0] = 0
    16026 
    16027   ;
    16028   return 0;
    16029 }
    16030 _ACEOF
    16031 rm -f conftest.$ac_objext
    16032 if { (ac_try="$ac_compile"
    16033 case "(($ac_try" in
    16034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16035   *) ac_try_echo=$ac_try;;
    16036 esac
    16037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16038 $as_echo "$ac_try_echo") >&5
    16039   (eval "$ac_compile") 2>conftest.er1
    16040   ac_status=$?
    16041   grep -v '^ *+' conftest.er1 >conftest.err
    16042   rm -f conftest.er1
    16043   cat conftest.err >&5
    16044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16045   (exit $ac_status); } && {
    16046          test -z "$ac_cxx_werror_flag" ||
    16047          test ! -s conftest.err
    16048        } && test -s conftest.$ac_objext; then
    16049   ac_hi=$ac_mid
    16050 else
    16051   $as_echo "$as_me: failed program was:" >&5
    16052 sed 's/^/| /' conftest.$ac_ext >&5
    16053 
    16054         ac_lo=`expr '(' $ac_mid ')' + 1`
    16055 fi
    16056 
    16057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16058 done
    16059 case $ac_lo in
    16060 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    16061 '') if test "$ac_cv_type_long_long" = yes; then
    16062      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9382  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     9383
     9384else
     9385  if test "$ac_cv_type_long_long" = yes; then
     9386     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    160639387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16064 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    16065 See \`config.log' for more details." >&5
    16066 $as_echo "$as_me: error: cannot compute sizeof (long long)
    16067 See \`config.log' for more details." >&2;}
    16068    { (exit 77); exit 77; }; }; }
    16069    else
    16070      ac_cv_sizeof_long_long=0
    16071    fi ;;
    16072 esac
    16073 else
    16074   cat >conftest.$ac_ext <<_ACEOF
    16075 /* confdefs.h.  */
    16076 _ACEOF
    16077 cat confdefs.h >>conftest.$ac_ext
    16078 cat >>conftest.$ac_ext <<_ACEOF
    16079 /* end confdefs.h.  */
    16080 $ac_includes_default
    16081 static long int longval () { return (long int) (sizeof (long long)); }
    16082 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
    16083 #include <stdio.h>
    16084 #include <stdlib.h>
    16085 int
    16086 main ()
    16087 {
    16088 
    16089   FILE *f = fopen ("conftest.val", "w");
    16090   if (! f)
    16091     return 1;
    16092   if (((long int) (sizeof (long long))) < 0)
    16093     {
    16094       long int i = longval ();
    16095       if (i != ((long int) (sizeof (long long))))
    16096         return 1;
    16097       fprintf (f, "%ld", i);
    16098     }
    16099   else
    16100     {
    16101       unsigned long int i = ulongval ();
    16102       if (i != ((long int) (sizeof (long long))))
    16103         return 1;
    16104       fprintf (f, "%lu", i);
    16105     }
    16106   /* Do not output a trailing newline, as this causes \r\n confusion
    16107      on some platforms.  */
    16108   return ferror (f) || fclose (f) != 0;
    16109 
    16110   ;
    16111   return 0;
    16112 }
    16113 _ACEOF
    16114 rm -f conftest$ac_exeext
    16115 if { (ac_try="$ac_link"
    16116 case "(($ac_try" in
    16117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16118   *) ac_try_echo=$ac_try;;
    16119 esac
    16120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16121 $as_echo "$ac_try_echo") >&5
    16122   (eval "$ac_link") 2>&5
    16123   ac_status=$?
    16124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16125   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    16126   { (case "(($ac_try" in
    16127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16128   *) ac_try_echo=$ac_try;;
    16129 esac
    16130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16131 $as_echo "$ac_try_echo") >&5
    16132   (eval "$ac_try") 2>&5
    16133   ac_status=$?
    16134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16135   (exit $ac_status); }; }; then
    16136   ac_cv_sizeof_long_long=`cat conftest.val`
    16137 else
    16138   $as_echo "$as_me: program exited with status $ac_status" >&5
    16139 $as_echo "$as_me: failed program was:" >&5
    16140 sed 's/^/| /' conftest.$ac_ext >&5
    16141 
    16142 ( exit $ac_status )
    16143 if test "$ac_cv_type_long_long" = yes; then
    16144      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    16145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16146 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    16147 See \`config.log' for more details." >&5
    16148 $as_echo "$as_me: error: cannot compute sizeof (long long)
    16149 See \`config.log' for more details." >&2;}
    16150    { (exit 77); exit 77; }; }; }
     9388as_fn_error 77 "cannot compute sizeof (long long)
     9389See \`config.log' for more details" "$LINENO" 5; }
    161519390   else
    161529391     ac_cv_sizeof_long_long=0
    161539392   fi
    161549393fi
    16155 rm -rf conftest.dSYM
    16156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    16157 fi
    16158 rm -f conftest.val
    16159 fi
    16160 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
     9394
     9395fi
     9396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    161619397$as_echo "$ac_cv_sizeof_long_long" >&6; }
    161629398
     
    161729408# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    161739409# This bug is HP SR number 8606223364.
    16174 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     9410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    161759411$as_echo_n "checking size of void *... " >&6; }
    16176 if test "${ac_cv_sizeof_void_p+set}" = set; then
     9412if ${ac_cv_sizeof_void_p+:} false; then :
    161779413  $as_echo_n "(cached) " >&6
    161789414else
    16179   if test "$cross_compiling" = yes; then
    16180   # Depending upon the size, compute the lo and hi bounds.
    16181 cat >conftest.$ac_ext <<_ACEOF
    16182 /* confdefs.h.  */
    16183 _ACEOF
    16184 cat confdefs.h >>conftest.$ac_ext
    16185 cat >>conftest.$ac_ext <<_ACEOF
    16186 /* end confdefs.h.  */
    16187 $ac_includes_default
    16188 int
    16189 main ()
    16190 {
    16191 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
    16192 test_array [0] = 0
    16193 
    16194   ;
    16195   return 0;
    16196 }
    16197 _ACEOF
    16198 rm -f conftest.$ac_objext
    16199 if { (ac_try="$ac_compile"
    16200 case "(($ac_try" in
    16201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16202   *) ac_try_echo=$ac_try;;
    16203 esac
    16204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16205 $as_echo "$ac_try_echo") >&5
    16206   (eval "$ac_compile") 2>conftest.er1
    16207   ac_status=$?
    16208   grep -v '^ *+' conftest.er1 >conftest.err
    16209   rm -f conftest.er1
    16210   cat conftest.err >&5
    16211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16212   (exit $ac_status); } && {
    16213          test -z "$ac_cxx_werror_flag" ||
    16214          test ! -s conftest.err
    16215        } && test -s conftest.$ac_objext; then
    16216   ac_lo=0 ac_mid=0
    16217   while :; do
    16218     cat >conftest.$ac_ext <<_ACEOF
    16219 /* confdefs.h.  */
    16220 _ACEOF
    16221 cat confdefs.h >>conftest.$ac_ext
    16222 cat >>conftest.$ac_ext <<_ACEOF
    16223 /* end confdefs.h.  */
    16224 $ac_includes_default
    16225 int
    16226 main ()
    16227 {
    16228 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    16229 test_array [0] = 0
    16230 
    16231   ;
    16232   return 0;
    16233 }
    16234 _ACEOF
    16235 rm -f conftest.$ac_objext
    16236 if { (ac_try="$ac_compile"
    16237 case "(($ac_try" in
    16238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16239   *) ac_try_echo=$ac_try;;
    16240 esac
    16241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16242 $as_echo "$ac_try_echo") >&5
    16243   (eval "$ac_compile") 2>conftest.er1
    16244   ac_status=$?
    16245   grep -v '^ *+' conftest.er1 >conftest.err
    16246   rm -f conftest.er1
    16247   cat conftest.err >&5
    16248   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16249   (exit $ac_status); } && {
    16250          test -z "$ac_cxx_werror_flag" ||
    16251          test ! -s conftest.err
    16252        } && test -s conftest.$ac_objext; then
    16253   ac_hi=$ac_mid; break
    16254 else
    16255   $as_echo "$as_me: failed program was:" >&5
    16256 sed 's/^/| /' conftest.$ac_ext >&5
    16257 
    16258         ac_lo=`expr $ac_mid + 1`
    16259                         if test $ac_lo -le $ac_mid; then
    16260                           ac_lo= ac_hi=
    16261                           break
    16262                         fi
    16263                         ac_mid=`expr 2 '*' $ac_mid + 1`
    16264 fi
    16265 
    16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16267   done
    16268 else
    16269   $as_echo "$as_me: failed program was:" >&5
    16270 sed 's/^/| /' conftest.$ac_ext >&5
    16271 
    16272         cat >conftest.$ac_ext <<_ACEOF
    16273 /* confdefs.h.  */
    16274 _ACEOF
    16275 cat confdefs.h >>conftest.$ac_ext
    16276 cat >>conftest.$ac_ext <<_ACEOF
    16277 /* end confdefs.h.  */
    16278 $ac_includes_default
    16279 int
    16280 main ()
    16281 {
    16282 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
    16283 test_array [0] = 0
    16284 
    16285   ;
    16286   return 0;
    16287 }
    16288 _ACEOF
    16289 rm -f conftest.$ac_objext
    16290 if { (ac_try="$ac_compile"
    16291 case "(($ac_try" in
    16292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16293   *) ac_try_echo=$ac_try;;
    16294 esac
    16295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16296 $as_echo "$ac_try_echo") >&5
    16297   (eval "$ac_compile") 2>conftest.er1
    16298   ac_status=$?
    16299   grep -v '^ *+' conftest.er1 >conftest.err
    16300   rm -f conftest.er1
    16301   cat conftest.err >&5
    16302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16303   (exit $ac_status); } && {
    16304          test -z "$ac_cxx_werror_flag" ||
    16305          test ! -s conftest.err
    16306        } && test -s conftest.$ac_objext; then
    16307   ac_hi=-1 ac_mid=-1
    16308   while :; do
    16309     cat >conftest.$ac_ext <<_ACEOF
    16310 /* confdefs.h.  */
    16311 _ACEOF
    16312 cat confdefs.h >>conftest.$ac_ext
    16313 cat >>conftest.$ac_ext <<_ACEOF
    16314 /* end confdefs.h.  */
    16315 $ac_includes_default
    16316 int
    16317 main ()
    16318 {
    16319 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
    16320 test_array [0] = 0
    16321 
    16322   ;
    16323   return 0;
    16324 }
    16325 _ACEOF
    16326 rm -f conftest.$ac_objext
    16327 if { (ac_try="$ac_compile"
    16328 case "(($ac_try" in
    16329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16330   *) ac_try_echo=$ac_try;;
    16331 esac
    16332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16333 $as_echo "$ac_try_echo") >&5
    16334   (eval "$ac_compile") 2>conftest.er1
    16335   ac_status=$?
    16336   grep -v '^ *+' conftest.er1 >conftest.err
    16337   rm -f conftest.er1
    16338   cat conftest.err >&5
    16339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16340   (exit $ac_status); } && {
    16341          test -z "$ac_cxx_werror_flag" ||
    16342          test ! -s conftest.err
    16343        } && test -s conftest.$ac_objext; then
    16344   ac_lo=$ac_mid; break
    16345 else
    16346   $as_echo "$as_me: failed program was:" >&5
    16347 sed 's/^/| /' conftest.$ac_ext >&5
    16348 
    16349         ac_hi=`expr '(' $ac_mid ')' - 1`
    16350                         if test $ac_mid -le $ac_hi; then
    16351                           ac_lo= ac_hi=
    16352                           break
    16353                         fi
    16354                         ac_mid=`expr 2 '*' $ac_mid`
    16355 fi
    16356 
    16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16358   done
    16359 else
    16360   $as_echo "$as_me: failed program was:" >&5
    16361 sed 's/^/| /' conftest.$ac_ext >&5
    16362 
    16363         ac_lo= ac_hi=
    16364 fi
    16365 
    16366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16367 fi
    16368 
    16369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16370 # Binary search between lo and hi bounds.
    16371 while test "x$ac_lo" != "x$ac_hi"; do
    16372   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    16373   cat >conftest.$ac_ext <<_ACEOF
    16374 /* confdefs.h.  */
    16375 _ACEOF
    16376 cat confdefs.h >>conftest.$ac_ext
    16377 cat >>conftest.$ac_ext <<_ACEOF
    16378 /* end confdefs.h.  */
    16379 $ac_includes_default
    16380 int
    16381 main ()
    16382 {
    16383 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    16384 test_array [0] = 0
    16385 
    16386   ;
    16387   return 0;
    16388 }
    16389 _ACEOF
    16390 rm -f conftest.$ac_objext
    16391 if { (ac_try="$ac_compile"
    16392 case "(($ac_try" in
    16393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16394   *) ac_try_echo=$ac_try;;
    16395 esac
    16396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16397 $as_echo "$ac_try_echo") >&5
    16398   (eval "$ac_compile") 2>conftest.er1
    16399   ac_status=$?
    16400   grep -v '^ *+' conftest.er1 >conftest.err
    16401   rm -f conftest.er1
    16402   cat conftest.err >&5
    16403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16404   (exit $ac_status); } && {
    16405          test -z "$ac_cxx_werror_flag" ||
    16406          test ! -s conftest.err
    16407        } && test -s conftest.$ac_objext; then
    16408   ac_hi=$ac_mid
    16409 else
    16410   $as_echo "$as_me: failed program was:" >&5
    16411 sed 's/^/| /' conftest.$ac_ext >&5
    16412 
    16413         ac_lo=`expr '(' $ac_mid ')' + 1`
    16414 fi
    16415 
    16416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16417 done
    16418 case $ac_lo in
    16419 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    16420 '') if test "$ac_cv_type_void_p" = yes; then
    16421      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9415  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     9416
     9417else
     9418  if test "$ac_cv_type_void_p" = yes; then
     9419     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    164229420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16423 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    16424 See \`config.log' for more details." >&5
    16425 $as_echo "$as_me: error: cannot compute sizeof (void *)
    16426 See \`config.log' for more details." >&2;}
    16427    { (exit 77); exit 77; }; }; }
    16428    else
    16429      ac_cv_sizeof_void_p=0
    16430    fi ;;
    16431 esac
    16432 else
    16433   cat >conftest.$ac_ext <<_ACEOF
    16434 /* confdefs.h.  */
    16435 _ACEOF
    16436 cat confdefs.h >>conftest.$ac_ext
    16437 cat >>conftest.$ac_ext <<_ACEOF
    16438 /* end confdefs.h.  */
    16439 $ac_includes_default
    16440 static long int longval () { return (long int) (sizeof (void *)); }
    16441 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
    16442 #include <stdio.h>
    16443 #include <stdlib.h>
    16444 int
    16445 main ()
    16446 {
    16447 
    16448   FILE *f = fopen ("conftest.val", "w");
    16449   if (! f)
    16450     return 1;
    16451   if (((long int) (sizeof (void *))) < 0)
    16452     {
    16453       long int i = longval ();
    16454       if (i != ((long int) (sizeof (void *))))
    16455         return 1;
    16456       fprintf (f, "%ld", i);
    16457     }
    16458   else
    16459     {
    16460       unsigned long int i = ulongval ();
    16461       if (i != ((long int) (sizeof (void *))))
    16462         return 1;
    16463       fprintf (f, "%lu", i);
    16464     }
    16465   /* Do not output a trailing newline, as this causes \r\n confusion
    16466      on some platforms.  */
    16467   return ferror (f) || fclose (f) != 0;
    16468 
    16469   ;
    16470   return 0;
    16471 }
    16472 _ACEOF
    16473 rm -f conftest$ac_exeext
    16474 if { (ac_try="$ac_link"
    16475 case "(($ac_try" in
    16476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16477   *) ac_try_echo=$ac_try;;
    16478 esac
    16479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16480 $as_echo "$ac_try_echo") >&5
    16481   (eval "$ac_link") 2>&5
    16482   ac_status=$?
    16483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16484   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    16485   { (case "(($ac_try" in
    16486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16487   *) ac_try_echo=$ac_try;;
    16488 esac
    16489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16490 $as_echo "$ac_try_echo") >&5
    16491   (eval "$ac_try") 2>&5
    16492   ac_status=$?
    16493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16494   (exit $ac_status); }; }; then
    16495   ac_cv_sizeof_void_p=`cat conftest.val`
    16496 else
    16497   $as_echo "$as_me: program exited with status $ac_status" >&5
    16498 $as_echo "$as_me: failed program was:" >&5
    16499 sed 's/^/| /' conftest.$ac_ext >&5
    16500 
    16501 ( exit $ac_status )
    16502 if test "$ac_cv_type_void_p" = yes; then
    16503      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    16504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16505 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    16506 See \`config.log' for more details." >&5
    16507 $as_echo "$as_me: error: cannot compute sizeof (void *)
    16508 See \`config.log' for more details." >&2;}
    16509    { (exit 77); exit 77; }; }; }
     9421as_fn_error 77 "cannot compute sizeof (void *)
     9422See \`config.log' for more details" "$LINENO" 5; }
    165109423   else
    165119424     ac_cv_sizeof_void_p=0
    165129425   fi
    165139426fi
    16514 rm -rf conftest.dSYM
    16515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    16516 fi
    16517 rm -f conftest.val
    16518 fi
    16519 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
     9427
     9428fi
     9429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    165209430$as_echo "$ac_cv_sizeof_void_p" >&6; }
    165219431
     
    165409450
    165419451
    16542     { $as_echo "$as_me:$LINENO: checking for build with symbols" >&5
     9452    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
    165439453$as_echo_n "checking for build with symbols... " >&6; }
    165449454    # Check whether --enable-symbols was given.
    16545 if test "${enable_symbols+set}" = set; then
     9455if test "${enable_symbols+set}" = set; then :
    165469456  enableval=$enable_symbols; tcl_ok=$enableval
    165479457else
     
    165549464        LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
    165559465        DBGX=""
    16556         { $as_echo "$as_me:$LINENO: result: no" >&5
     9466        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    165579467$as_echo "no" >&6; }
    165589468    else
     
    165619471        DBGX=g
    165629472        if test "$tcl_ok" = "yes"; then
    16563             { $as_echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
     9473            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
    165649474$as_echo "yes (standard debugging)" >&6; }
    165659475        fi
     
    165699479
    165709480    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
    16571         cat >>confdefs.h <<\_ACEOF
    16572 #define TCL_MEM_DEBUG 1
    16573 _ACEOF
     9481        $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
    165749482
    165759483    fi
    165769484
    165779485    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
    16578         cat >>confdefs.h <<\_ACEOF
    16579 #define TCL_COMPILE_DEBUG 1
    16580 _ACEOF
    16581 
    16582         cat >>confdefs.h <<\_ACEOF
    16583 #define TCL_COMPILE_STATS 1
    16584 _ACEOF
     9486        $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h
     9487
     9488        $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h
    165859489
    165869490    fi
     
    165889492    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
    165899493        if test "$tcl_ok" = "all"; then
    16590             { $as_echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
     9494            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5
    165919495$as_echo "enabled symbols mem compile debugging" >&6; }
    165929496        else
    16593             { $as_echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
     9497            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
    165949498$as_echo "enabled $tcl_ok debugging" >&6; }
    165959499        fi
     
    166019505# search for ffmpeg libraries libavcodec, libavformat, libswscale
    166029506#--------------------------------------------------------------------
    16603 
    16604 
    16605 
    16606 
    16607 
    16608 
    16609 
    16610 
     9507if test "${with_ffmpeg}" != "no" ; then
     9508  if test "${with_tclsh}" = "yes" ; then
     9509    # Extract the first word of "ffmpeg", so it can be a program name with args.
     9510set dummy ffmpeg; ac_word=$2
     9511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9512$as_echo_n "checking for $ac_word... " >&6; }
     9513if ${ac_cv_path_FFMPEG+:} false; then :
     9514  $as_echo_n "(cached) " >&6
     9515else
     9516  case $FFMPEG in
     9517  [\\/]* | ?:[\\/]*)
     9518  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     9519  ;;
     9520  *)
     9521  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9522for as_dir in $PATH
     9523do
     9524  IFS=$as_save_IFS
     9525  test -z "$as_dir" && as_dir=.
     9526    for ac_exec_ext in '' $ac_executable_extensions; do
     9527  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     9528    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     9529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9530    break 2
     9531  fi
     9532done
     9533  done
     9534IFS=$as_save_IFS
     9535
     9536  ;;
     9537esac
     9538fi
     9539FFMPEG=$ac_cv_path_FFMPEG
     9540if test -n "$FFMPEG"; then
     9541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     9542$as_echo "$FFMPEG" >&6; }
     9543else
     9544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9545$as_echo "no" >&6; }
     9546fi
     9547
     9548
     9549  else
     9550    # Extract the first word of "ffmpeg", so it can be a program name with args.
     9551set dummy ffmpeg; ac_word=$2
     9552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     9553$as_echo_n "checking for $ac_word... " >&6; }
     9554if ${ac_cv_path_FFMPEG+:} false; then :
     9555  $as_echo_n "(cached) " >&6
     9556else
     9557  case $FFMPEG in
     9558  [\\/]* | ?:[\\/]*)
     9559  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     9560  ;;
     9561  *)
     9562  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     9563as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
     9564for as_dir in $as_dummy
     9565do
     9566  IFS=$as_save_IFS
     9567  test -z "$as_dir" && as_dir=.
     9568    for ac_exec_ext in '' $ac_executable_extensions; do
     9569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     9570    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     9571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     9572    break 2
     9573  fi
     9574done
     9575  done
     9576IFS=$as_save_IFS
     9577
     9578  ;;
     9579esac
     9580fi
     9581FFMPEG=$ac_cv_path_FFMPEG
     9582if test -n "$FFMPEG"; then
     9583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     9584$as_echo "$FFMPEG" >&6; }
     9585else
     9586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9587$as_echo "no" >&6; }
     9588fi
     9589
     9590
     9591  fi
     9592  if text "${FFMPEG}x" != "x" ; then
     9593
     9594$as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
     9595
     9596  fi
     9597fi
    166119598
    166129599for 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
    16613 do
    16614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    16615 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    16616 $as_echo_n "checking for $ac_header... " >&6; }
    16617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    16618   $as_echo_n "(cached) " >&6
    16619 else
    16620   cat >conftest.$ac_ext <<_ACEOF
    16621 /* confdefs.h.  */
    16622 _ACEOF
    16623 cat confdefs.h >>conftest.$ac_ext
    16624 cat >>conftest.$ac_ext <<_ACEOF
    16625 /* end confdefs.h.  */
    16626 
     9600do :
     9601  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9602ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
    166279603#define __STDC_CONSTANT_MACROS 1
    166289604
    16629 
    16630 #include <$ac_header>
    16631 _ACEOF
    16632 rm -f conftest.$ac_objext
    16633 if { (ac_try="$ac_compile"
    16634 case "(($ac_try" in
    16635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16636   *) ac_try_echo=$ac_try;;
    16637 esac
    16638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16639 $as_echo "$ac_try_echo") >&5
    16640   (eval "$ac_compile") 2>conftest.er1
    16641   ac_status=$?
    16642   grep -v '^ *+' conftest.er1 >conftest.err
    16643   rm -f conftest.er1
    16644   cat conftest.err >&5
    16645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16646   (exit $ac_status); } && {
    16647          test -z "$ac_cxx_werror_flag" ||
    16648          test ! -s conftest.err
    16649        } && test -s conftest.$ac_objext; then
    16650   eval "$as_ac_Header=yes"
    16651 else
    16652   $as_echo "$as_me: failed program was:" >&5
    16653 sed 's/^/| /' conftest.$ac_ext >&5
    16654 
    16655         eval "$as_ac_Header=no"
    16656 fi
    16657 
    16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16659 fi
    16660 ac_res=`eval 'as_val=${'$as_ac_Header'}
    16661                  $as_echo "$as_val"'`
    16662                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    16663 $as_echo "$ac_res" >&6; }
    16664 as_val=`eval 'as_val=${'$as_ac_Header'}
    16665                  $as_echo "$as_val"'`
    16666    if test "x$as_val" = x""yes; then
     9605"
     9606if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    166679607  cat >>confdefs.h <<_ACEOF
    166689608#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    166869626    HAVE_FFMPEG_LIBS="yes"
    166879627
    16688 cat >>confdefs.h <<\_ACEOF
    16689 #define BUILD_with_ffmpeg 1
    16690 _ACEOF
     9628$as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
    166919629
    166929630  fi
    16693 
    16694 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5
     9631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
    166959632$as_echo_n "checking for main in -lavcodec... " >&6; }
    16696 if test "${ac_cv_lib_avcodec_main+set}" = set; then
     9633if ${ac_cv_lib_avcodec_main+:} false; then :
    166979634  $as_echo_n "(cached) " >&6
    166989635else
    166999636  ac_check_lib_save_LIBS=$LIBS
    167009637LIBS="-lavcodec  $LIBS"
    16701 cat >conftest.$ac_ext <<_ACEOF
    16702 /* confdefs.h.  */
    16703 _ACEOF
    16704 cat confdefs.h >>conftest.$ac_ext
    16705 cat >>conftest.$ac_ext <<_ACEOF
     9638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    167069639/* end confdefs.h.  */
    167079640
     
    167159648}
    167169649_ACEOF
    16717 rm -f conftest.$ac_objext conftest$ac_exeext
    16718 if { (ac_try="$ac_link"
    16719 case "(($ac_try" in
    16720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16721   *) ac_try_echo=$ac_try;;
    16722 esac
    16723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16724 $as_echo "$ac_try_echo") >&5
    16725   (eval "$ac_link") 2>conftest.er1
    16726   ac_status=$?
    16727   grep -v '^ *+' conftest.er1 >conftest.err
    16728   rm -f conftest.er1
    16729   cat conftest.err >&5
    16730   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16731   (exit $ac_status); } && {
    16732          test -z "$ac_cxx_werror_flag" ||
    16733          test ! -s conftest.err
    16734        } && test -s conftest$ac_exeext && {
    16735          test "$cross_compiling" = yes ||
    16736          $as_test_x conftest$ac_exeext
    16737        }; then
     9650if ac_fn_cxx_try_link "$LINENO"; then :
    167389651  ac_cv_lib_avcodec_main=yes
    167399652else
    16740   $as_echo "$as_me: failed program was:" >&5
    16741 sed 's/^/| /' conftest.$ac_ext >&5
    16742 
    16743         ac_cv_lib_avcodec_main=no
    16744 fi
    16745 
    16746 rm -rf conftest.dSYM
    16747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16748       conftest$ac_exeext conftest.$ac_ext
     9653  ac_cv_lib_avcodec_main=no
     9654fi
     9655rm -f core conftest.err conftest.$ac_objext \
     9656    conftest$ac_exeext conftest.$ac_ext
    167499657LIBS=$ac_check_lib_save_LIBS
    167509658fi
    16751 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5
     9659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
    167529660$as_echo "$ac_cv_lib_avcodec_main" >&6; }
    16753 if test "x$ac_cv_lib_avcodec_main" = x""yes; then
     9661if test "x$ac_cv_lib_avcodec_main" = xyes; then :
    167549662  cat >>confdefs.h <<_ACEOF
    167559663#define HAVE_LIBAVCODEC 1
     
    167599667
    167609668else
    16761   { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5
    16762 $as_echo "$as_me: error: librappture requires libavcodec" >&2;}
    16763    { (exit 1); exit 1; }; }
    16764 fi
    16765 
    16766 
    16767 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5
     9669  as_fn_error $? "librappture requires libavcodec" "$LINENO" 5
     9670fi
     9671
     9672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
    167689673$as_echo_n "checking for main in -lavutil... " >&6; }
    16769 if test "${ac_cv_lib_avutil_main+set}" = set; then
     9674if ${ac_cv_lib_avutil_main+:} false; then :
    167709675  $as_echo_n "(cached) " >&6
    167719676else
    167729677  ac_check_lib_save_LIBS=$LIBS
    167739678LIBS="-lavutil  $LIBS"
    16774 cat >conftest.$ac_ext <<_ACEOF
    16775 /* confdefs.h.  */
    16776 _ACEOF
    16777 cat confdefs.h >>conftest.$ac_ext
    16778 cat >>conftest.$ac_ext <<_ACEOF
     9679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    167799680/* end confdefs.h.  */
    167809681
     
    167889689}
    167899690_ACEOF
    16790 rm -f conftest.$ac_objext conftest$ac_exeext
    16791 if { (ac_try="$ac_link"
    16792 case "(($ac_try" in
    16793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16794   *) ac_try_echo=$ac_try;;
    16795 esac
    16796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16797 $as_echo "$ac_try_echo") >&5
    16798   (eval "$ac_link") 2>conftest.er1
    16799   ac_status=$?
    16800   grep -v '^ *+' conftest.er1 >conftest.err
    16801   rm -f conftest.er1
    16802   cat conftest.err >&5
    16803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16804   (exit $ac_status); } && {
    16805          test -z "$ac_cxx_werror_flag" ||
    16806          test ! -s conftest.err
    16807        } && test -s conftest$ac_exeext && {
    16808          test "$cross_compiling" = yes ||
    16809          $as_test_x conftest$ac_exeext
    16810        }; then
     9691if ac_fn_cxx_try_link "$LINENO"; then :
    168119692  ac_cv_lib_avutil_main=yes
    168129693else
    16813   $as_echo "$as_me: failed program was:" >&5
    16814 sed 's/^/| /' conftest.$ac_ext >&5
    16815 
    16816         ac_cv_lib_avutil_main=no
    16817 fi
    16818 
    16819 rm -rf conftest.dSYM
    16820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16821       conftest$ac_exeext conftest.$ac_ext
     9694  ac_cv_lib_avutil_main=no
     9695fi
     9696rm -f core conftest.err conftest.$ac_objext \
     9697    conftest$ac_exeext conftest.$ac_ext
    168229698LIBS=$ac_check_lib_save_LIBS
    168239699fi
    16824 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5
     9700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
    168259701$as_echo "$ac_cv_lib_avutil_main" >&6; }
    16826 if test "x$ac_cv_lib_avutil_main" = x""yes; then
     9702if test "x$ac_cv_lib_avutil_main" = xyes; then :
    168279703  cat >>confdefs.h <<_ACEOF
    168289704#define HAVE_LIBAVUTIL 1
     
    168329708
    168339709else
    16834   { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5
    16835 $as_echo "$as_me: error: librappture requires libavutil" >&2;}
    16836    { (exit 1); exit 1; }; }
    16837 fi
    16838 
    16839 
    16840 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5
     9710  as_fn_error $? "librappture requires libavutil" "$LINENO" 5
     9711fi
     9712
     9713  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
    168419714$as_echo_n "checking for main in -lavformat... " >&6; }
    16842 if test "${ac_cv_lib_avformat_main+set}" = set; then
     9715if ${ac_cv_lib_avformat_main+:} false; then :
    168439716  $as_echo_n "(cached) " >&6
    168449717else
    168459718  ac_check_lib_save_LIBS=$LIBS
    168469719LIBS="-lavformat  $LIBS"
    16847 cat >conftest.$ac_ext <<_ACEOF
    16848 /* confdefs.h.  */
    16849 _ACEOF
    16850 cat confdefs.h >>conftest.$ac_ext
    16851 cat >>conftest.$ac_ext <<_ACEOF
     9720cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    168529721/* end confdefs.h.  */
    168539722
     
    168619730}
    168629731_ACEOF
    16863 rm -f conftest.$ac_objext conftest$ac_exeext
    16864 if { (ac_try="$ac_link"
    16865 case "(($ac_try" in
    16866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16867   *) ac_try_echo=$ac_try;;
    16868 esac
    16869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16870 $as_echo "$ac_try_echo") >&5
    16871   (eval "$ac_link") 2>conftest.er1
    16872   ac_status=$?
    16873   grep -v '^ *+' conftest.er1 >conftest.err
    16874   rm -f conftest.er1
    16875   cat conftest.err >&5
    16876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16877   (exit $ac_status); } && {
    16878          test -z "$ac_cxx_werror_flag" ||
    16879          test ! -s conftest.err
    16880        } && test -s conftest$ac_exeext && {
    16881          test "$cross_compiling" = yes ||
    16882          $as_test_x conftest$ac_exeext
    16883        }; then
     9732if ac_fn_cxx_try_link "$LINENO"; then :
    168849733  ac_cv_lib_avformat_main=yes
    168859734else
    16886   $as_echo "$as_me: failed program was:" >&5
    16887 sed 's/^/| /' conftest.$ac_ext >&5
    16888 
    16889         ac_cv_lib_avformat_main=no
    16890 fi
    16891 
    16892 rm -rf conftest.dSYM
    16893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16894       conftest$ac_exeext conftest.$ac_ext
     9735  ac_cv_lib_avformat_main=no
     9736fi
     9737rm -f core conftest.err conftest.$ac_objext \
     9738    conftest$ac_exeext conftest.$ac_ext
    168959739LIBS=$ac_check_lib_save_LIBS
    168969740fi
    16897 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5
     9741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
    168989742$as_echo "$ac_cv_lib_avformat_main" >&6; }
    16899 if test "x$ac_cv_lib_avformat_main" = x""yes; then
     9743if test "x$ac_cv_lib_avformat_main" = xyes; then :
    169009744  cat >>confdefs.h <<_ACEOF
    169019745#define HAVE_LIBAVFORMAT 1
     
    169059749
    169069750else
    16907   { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5
    16908 $as_echo "$as_me: error: librappture requires libavformat" >&2;}
    16909    { (exit 1); exit 1; }; }
    16910 fi
    16911 
    16912 
    16913 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5
     9751  as_fn_error $? "librappture requires libavformat" "$LINENO" 5
     9752fi
     9753
     9754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
    169149755$as_echo_n "checking for main in -lswscale... " >&6; }
    16915 if test "${ac_cv_lib_swscale_main+set}" = set; then
     9756if ${ac_cv_lib_swscale_main+:} false; then :
    169169757  $as_echo_n "(cached) " >&6
    169179758else
    169189759  ac_check_lib_save_LIBS=$LIBS
    169199760LIBS="-lswscale  $LIBS"
    16920 cat >conftest.$ac_ext <<_ACEOF
    16921 /* confdefs.h.  */
    16922 _ACEOF
    16923 cat confdefs.h >>conftest.$ac_ext
    16924 cat >>conftest.$ac_ext <<_ACEOF
     9761cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    169259762/* end confdefs.h.  */
    169269763
     
    169349771}
    169359772_ACEOF
    16936 rm -f conftest.$ac_objext conftest$ac_exeext
    16937 if { (ac_try="$ac_link"
    16938 case "(($ac_try" in
    16939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16940   *) ac_try_echo=$ac_try;;
    16941 esac
    16942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16943 $as_echo "$ac_try_echo") >&5
    16944   (eval "$ac_link") 2>conftest.er1
    16945   ac_status=$?
    16946   grep -v '^ *+' conftest.er1 >conftest.err
    16947   rm -f conftest.er1
    16948   cat conftest.err >&5
    16949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16950   (exit $ac_status); } && {
    16951          test -z "$ac_cxx_werror_flag" ||
    16952          test ! -s conftest.err
    16953        } && test -s conftest$ac_exeext && {
    16954          test "$cross_compiling" = yes ||
    16955          $as_test_x conftest$ac_exeext
    16956        }; then
     9773if ac_fn_cxx_try_link "$LINENO"; then :
    169579774  ac_cv_lib_swscale_main=yes
    169589775else
    16959   $as_echo "$as_me: failed program was:" >&5
    16960 sed 's/^/| /' conftest.$ac_ext >&5
    16961 
    16962         ac_cv_lib_swscale_main=no
    16963 fi
    16964 
    16965 rm -rf conftest.dSYM
    16966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16967       conftest$ac_exeext conftest.$ac_ext
     9776  ac_cv_lib_swscale_main=no
     9777fi
     9778rm -f core conftest.err conftest.$ac_objext \
     9779    conftest$ac_exeext conftest.$ac_ext
    169689780LIBS=$ac_check_lib_save_LIBS
    169699781fi
    16970 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5
     9782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
    169719783$as_echo "$ac_cv_lib_swscale_main" >&6; }
    16972 if test "x$ac_cv_lib_swscale_main" = x""yes; then
     9784if test "x$ac_cv_lib_swscale_main" = xyes; then :
    169739785  cat >>confdefs.h <<_ACEOF
    169749786#define HAVE_LIBSWSCALE 1
     
    169799791fi
    169809792
    16981 
    16982 for ac_func in av_find_stream_info
    16983 do
    16984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    16985 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    16986 $as_echo_n "checking for $ac_func... " >&6; }
    16987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    16988   $as_echo_n "(cached) " >&6
    16989 else
    16990   cat >conftest.$ac_ext <<_ACEOF
    16991 /* confdefs.h.  */
    16992 _ACEOF
    16993 cat confdefs.h >>conftest.$ac_ext
    16994 cat >>conftest.$ac_ext <<_ACEOF
    16995 /* end confdefs.h.  */
    16996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    16997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    16998 #define $ac_func innocuous_$ac_func
    16999 
    17000 /* System header to define __stub macros and hopefully few prototypes,
    17001     which can conflict with char $ac_func (); below.
    17002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17003     <limits.h> exists even on freestanding compilers.  */
    17004 
    17005 #ifdef __STDC__
    17006 # include <limits.h>
    17007 #else
    17008 # include <assert.h>
    17009 #endif
    17010 
    17011 #undef $ac_func
    17012 
    17013 /* Override any GCC internal prototype to avoid an error.
    17014    Use char because int might match the return type of a GCC
    17015    builtin and then its argument prototype would still apply.  */
    17016 #ifdef __cplusplus
    17017 extern "C"
    17018 #endif
    17019 char $ac_func ();
    17020 /* The GNU C library defines this for functions which it implements
    17021     to always fail with ENOSYS.  Some functions are actually named
    17022     something starting with __ and the normal name is an alias.  */
    17023 #if defined __stub_$ac_func || defined __stub___$ac_func
    17024 choke me
    17025 #endif
    17026 
    17027 int
    17028 main ()
    17029 {
    17030 return $ac_func ();
    17031   ;
    17032   return 0;
    17033 }
    17034 _ACEOF
    17035 rm -f conftest.$ac_objext conftest$ac_exeext
    17036 if { (ac_try="$ac_link"
    17037 case "(($ac_try" in
    17038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17039   *) ac_try_echo=$ac_try;;
    17040 esac
    17041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17042 $as_echo "$ac_try_echo") >&5
    17043   (eval "$ac_link") 2>conftest.er1
    17044   ac_status=$?
    17045   grep -v '^ *+' conftest.er1 >conftest.err
    17046   rm -f conftest.er1
    17047   cat conftest.err >&5
    17048   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17049   (exit $ac_status); } && {
    17050          test -z "$ac_cxx_werror_flag" ||
    17051          test ! -s conftest.err
    17052        } && test -s conftest$ac_exeext && {
    17053          test "$cross_compiling" = yes ||
    17054          $as_test_x conftest$ac_exeext
    17055        }; then
    17056   eval "$as_ac_var=yes"
    17057 else
    17058   $as_echo "$as_me: failed program was:" >&5
    17059 sed 's/^/| /' conftest.$ac_ext >&5
    17060 
    17061         eval "$as_ac_var=no"
    17062 fi
    17063 
    17064 rm -rf conftest.dSYM
    17065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17066       conftest$ac_exeext conftest.$ac_ext
    17067 fi
    17068 ac_res=`eval 'as_val=${'$as_ac_var'}
    17069                  $as_echo "$as_val"'`
    17070                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17071 $as_echo "$ac_res" >&6; }
    17072 as_val=`eval 'as_val=${'$as_ac_var'}
    17073                  $as_echo "$as_val"'`
    17074    if test "x$as_val" = x""yes; then
     9793  for ac_func in av_find_stream_info
     9794do :
     9795  ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
     9796if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
    170759797  cat >>confdefs.h <<_ACEOF
    17076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17077 _ACEOF
    17078 
    17079 fi
    17080 done
    17081 
    17082 
    17083 for ac_func in av_open_input_file
    17084 do
    17085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17086 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17087 $as_echo_n "checking for $ac_func... " >&6; }
    17088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17089   $as_echo_n "(cached) " >&6
    17090 else
    17091   cat >conftest.$ac_ext <<_ACEOF
    17092 /* confdefs.h.  */
    17093 _ACEOF
    17094 cat confdefs.h >>conftest.$ac_ext
    17095 cat >>conftest.$ac_ext <<_ACEOF
    17096 /* end confdefs.h.  */
    17097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17099 #define $ac_func innocuous_$ac_func
    17100 
    17101 /* System header to define __stub macros and hopefully few prototypes,
    17102     which can conflict with char $ac_func (); below.
    17103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17104     <limits.h> exists even on freestanding compilers.  */
    17105 
    17106 #ifdef __STDC__
    17107 # include <limits.h>
    17108 #else
    17109 # include <assert.h>
    17110 #endif
    17111 
    17112 #undef $ac_func
    17113 
    17114 /* Override any GCC internal prototype to avoid an error.
    17115    Use char because int might match the return type of a GCC
    17116    builtin and then its argument prototype would still apply.  */
    17117 #ifdef __cplusplus
    17118 extern "C"
    17119 #endif
    17120 char $ac_func ();
    17121 /* The GNU C library defines this for functions which it implements
    17122     to always fail with ENOSYS.  Some functions are actually named
    17123     something starting with __ and the normal name is an alias.  */
    17124 #if defined __stub_$ac_func || defined __stub___$ac_func
    17125 choke me
    17126 #endif
    17127 
    17128 int
    17129 main ()
    17130 {
    17131 return $ac_func ();
    17132   ;
    17133   return 0;
    17134 }
    17135 _ACEOF
    17136 rm -f conftest.$ac_objext conftest$ac_exeext
    17137 if { (ac_try="$ac_link"
    17138 case "(($ac_try" in
    17139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17140   *) ac_try_echo=$ac_try;;
    17141 esac
    17142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17143 $as_echo "$ac_try_echo") >&5
    17144   (eval "$ac_link") 2>conftest.er1
    17145   ac_status=$?
    17146   grep -v '^ *+' conftest.er1 >conftest.err
    17147   rm -f conftest.er1
    17148   cat conftest.err >&5
    17149   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17150   (exit $ac_status); } && {
    17151          test -z "$ac_cxx_werror_flag" ||
    17152          test ! -s conftest.err
    17153        } && test -s conftest$ac_exeext && {
    17154          test "$cross_compiling" = yes ||
    17155          $as_test_x conftest$ac_exeext
    17156        }; then
    17157   eval "$as_ac_var=yes"
    17158 else
    17159   $as_echo "$as_me: failed program was:" >&5
    17160 sed 's/^/| /' conftest.$ac_ext >&5
    17161 
    17162         eval "$as_ac_var=no"
    17163 fi
    17164 
    17165 rm -rf conftest.dSYM
    17166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17167       conftest$ac_exeext conftest.$ac_ext
    17168 fi
    17169 ac_res=`eval 'as_val=${'$as_ac_var'}
    17170                  $as_echo "$as_val"'`
    17171                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17172 $as_echo "$ac_res" >&6; }
    17173 as_val=`eval 'as_val=${'$as_ac_var'}
    17174                  $as_echo "$as_val"'`
    17175    if test "x$as_val" = x""yes; then
     9798#define HAVE_AV_FIND_STREAM_INFO 1
     9799_ACEOF
     9800
     9801fi
     9802done
     9803
     9804  for ac_func in av_open_input_file
     9805do :
     9806  ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
     9807if test "x$ac_cv_func_av_open_input_file" = xyes; then :
    171769808  cat >>confdefs.h <<_ACEOF
    17177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17178 _ACEOF
    17179 
    17180 fi
    17181 done
    17182 
    17183 
    17184 for ac_func in avcodec_decode_video
    17185 do
    17186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17187 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17188 $as_echo_n "checking for $ac_func... " >&6; }
    17189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17190   $as_echo_n "(cached) " >&6
    17191 else
    17192   cat >conftest.$ac_ext <<_ACEOF
    17193 /* confdefs.h.  */
    17194 _ACEOF
    17195 cat confdefs.h >>conftest.$ac_ext
    17196 cat >>conftest.$ac_ext <<_ACEOF
    17197 /* end confdefs.h.  */
    17198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17200 #define $ac_func innocuous_$ac_func
    17201 
    17202 /* System header to define __stub macros and hopefully few prototypes,
    17203     which can conflict with char $ac_func (); below.
    17204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17205     <limits.h> exists even on freestanding compilers.  */
    17206 
    17207 #ifdef __STDC__
    17208 # include <limits.h>
    17209 #else
    17210 # include <assert.h>
    17211 #endif
    17212 
    17213 #undef $ac_func
    17214 
    17215 /* Override any GCC internal prototype to avoid an error.
    17216    Use char because int might match the return type of a GCC
    17217    builtin and then its argument prototype would still apply.  */
    17218 #ifdef __cplusplus
    17219 extern "C"
    17220 #endif
    17221 char $ac_func ();
    17222 /* The GNU C library defines this for functions which it implements
    17223     to always fail with ENOSYS.  Some functions are actually named
    17224     something starting with __ and the normal name is an alias.  */
    17225 #if defined __stub_$ac_func || defined __stub___$ac_func
    17226 choke me
    17227 #endif
    17228 
    17229 int
    17230 main ()
    17231 {
    17232 return $ac_func ();
    17233   ;
    17234   return 0;
    17235 }
    17236 _ACEOF
    17237 rm -f conftest.$ac_objext conftest$ac_exeext
    17238 if { (ac_try="$ac_link"
    17239 case "(($ac_try" in
    17240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17241   *) ac_try_echo=$ac_try;;
    17242 esac
    17243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17244 $as_echo "$ac_try_echo") >&5
    17245   (eval "$ac_link") 2>conftest.er1
    17246   ac_status=$?
    17247   grep -v '^ *+' conftest.er1 >conftest.err
    17248   rm -f conftest.er1
    17249   cat conftest.err >&5
    17250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17251   (exit $ac_status); } && {
    17252          test -z "$ac_cxx_werror_flag" ||
    17253          test ! -s conftest.err
    17254        } && test -s conftest$ac_exeext && {
    17255          test "$cross_compiling" = yes ||
    17256          $as_test_x conftest$ac_exeext
    17257        }; then
    17258   eval "$as_ac_var=yes"
    17259 else
    17260   $as_echo "$as_me: failed program was:" >&5
    17261 sed 's/^/| /' conftest.$ac_ext >&5
    17262 
    17263         eval "$as_ac_var=no"
    17264 fi
    17265 
    17266 rm -rf conftest.dSYM
    17267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17268       conftest$ac_exeext conftest.$ac_ext
    17269 fi
    17270 ac_res=`eval 'as_val=${'$as_ac_var'}
    17271                  $as_echo "$as_val"'`
    17272                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17273 $as_echo "$ac_res" >&6; }
    17274 as_val=`eval 'as_val=${'$as_ac_var'}
    17275                  $as_echo "$as_val"'`
    17276    if test "x$as_val" = x""yes; then
     9809#define HAVE_AV_OPEN_INPUT_FILE 1
     9810_ACEOF
     9811
     9812fi
     9813done
     9814
     9815  for ac_func in avcodec_decode_video
     9816do :
     9817  ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
     9818if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
    172779819  cat >>confdefs.h <<_ACEOF
    17278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17279 _ACEOF
    17280 
    17281 fi
    17282 done
    17283 
    17284 
    17285 for ac_func in avcodec_decode_video2
    17286 do
    17287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17288 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17289 $as_echo_n "checking for $ac_func... " >&6; }
    17290 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17291   $as_echo_n "(cached) " >&6
    17292 else
    17293   cat >conftest.$ac_ext <<_ACEOF
    17294 /* confdefs.h.  */
    17295 _ACEOF
    17296 cat confdefs.h >>conftest.$ac_ext
    17297 cat >>conftest.$ac_ext <<_ACEOF
    17298 /* end confdefs.h.  */
    17299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17301 #define $ac_func innocuous_$ac_func
    17302 
    17303 /* System header to define __stub macros and hopefully few prototypes,
    17304     which can conflict with char $ac_func (); below.
    17305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17306     <limits.h> exists even on freestanding compilers.  */
    17307 
    17308 #ifdef __STDC__
    17309 # include <limits.h>
    17310 #else
    17311 # include <assert.h>
    17312 #endif
    17313 
    17314 #undef $ac_func
    17315 
    17316 /* Override any GCC internal prototype to avoid an error.
    17317    Use char because int might match the return type of a GCC
    17318    builtin and then its argument prototype would still apply.  */
    17319 #ifdef __cplusplus
    17320 extern "C"
    17321 #endif
    17322 char $ac_func ();
    17323 /* The GNU C library defines this for functions which it implements
    17324     to always fail with ENOSYS.  Some functions are actually named
    17325     something starting with __ and the normal name is an alias.  */
    17326 #if defined __stub_$ac_func || defined __stub___$ac_func
    17327 choke me
    17328 #endif
    17329 
    17330 int
    17331 main ()
    17332 {
    17333 return $ac_func ();
    17334   ;
    17335   return 0;
    17336 }
    17337 _ACEOF
    17338 rm -f conftest.$ac_objext conftest$ac_exeext
    17339 if { (ac_try="$ac_link"
    17340 case "(($ac_try" in
    17341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17342   *) ac_try_echo=$ac_try;;
    17343 esac
    17344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17345 $as_echo "$ac_try_echo") >&5
    17346   (eval "$ac_link") 2>conftest.er1
    17347   ac_status=$?
    17348   grep -v '^ *+' conftest.er1 >conftest.err
    17349   rm -f conftest.er1
    17350   cat conftest.err >&5
    17351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17352   (exit $ac_status); } && {
    17353          test -z "$ac_cxx_werror_flag" ||
    17354          test ! -s conftest.err
    17355        } && test -s conftest$ac_exeext && {
    17356          test "$cross_compiling" = yes ||
    17357          $as_test_x conftest$ac_exeext
    17358        }; then
    17359   eval "$as_ac_var=yes"
    17360 else
    17361   $as_echo "$as_me: failed program was:" >&5
    17362 sed 's/^/| /' conftest.$ac_ext >&5
    17363 
    17364         eval "$as_ac_var=no"
    17365 fi
    17366 
    17367 rm -rf conftest.dSYM
    17368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17369       conftest$ac_exeext conftest.$ac_ext
    17370 fi
    17371 ac_res=`eval 'as_val=${'$as_ac_var'}
    17372                  $as_echo "$as_val"'`
    17373                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17374 $as_echo "$ac_res" >&6; }
    17375 as_val=`eval 'as_val=${'$as_ac_var'}
    17376                  $as_echo "$as_val"'`
    17377    if test "x$as_val" = x""yes; then
     9820#define HAVE_AVCODEC_DECODE_VIDEO 1
     9821_ACEOF
     9822
     9823fi
     9824done
     9825
     9826  for ac_func in avcodec_decode_video2
     9827do :
     9828  ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"
     9829if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :
    173789830  cat >>confdefs.h <<_ACEOF
    17379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17380 _ACEOF
    17381 
    17382 fi
    17383 done
    17384 
    17385 
    17386 for ac_func in avcodec_open
    17387 do
    17388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17389 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17390 $as_echo_n "checking for $ac_func... " >&6; }
    17391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17392   $as_echo_n "(cached) " >&6
    17393 else
    17394   cat >conftest.$ac_ext <<_ACEOF
    17395 /* confdefs.h.  */
    17396 _ACEOF
    17397 cat confdefs.h >>conftest.$ac_ext
    17398 cat >>conftest.$ac_ext <<_ACEOF
    17399 /* end confdefs.h.  */
    17400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17402 #define $ac_func innocuous_$ac_func
    17403 
    17404 /* System header to define __stub macros and hopefully few prototypes,
    17405     which can conflict with char $ac_func (); below.
    17406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17407     <limits.h> exists even on freestanding compilers.  */
    17408 
    17409 #ifdef __STDC__
    17410 # include <limits.h>
    17411 #else
    17412 # include <assert.h>
    17413 #endif
    17414 
    17415 #undef $ac_func
    17416 
    17417 /* Override any GCC internal prototype to avoid an error.
    17418    Use char because int might match the return type of a GCC
    17419    builtin and then its argument prototype would still apply.  */
    17420 #ifdef __cplusplus
    17421 extern "C"
    17422 #endif
    17423 char $ac_func ();
    17424 /* The GNU C library defines this for functions which it implements
    17425     to always fail with ENOSYS.  Some functions are actually named
    17426     something starting with __ and the normal name is an alias.  */
    17427 #if defined __stub_$ac_func || defined __stub___$ac_func
    17428 choke me
    17429 #endif
    17430 
    17431 int
    17432 main ()
    17433 {
    17434 return $ac_func ();
    17435   ;
    17436   return 0;
    17437 }
    17438 _ACEOF
    17439 rm -f conftest.$ac_objext conftest$ac_exeext
    17440 if { (ac_try="$ac_link"
    17441 case "(($ac_try" in
    17442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17443   *) ac_try_echo=$ac_try;;
    17444 esac
    17445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17446 $as_echo "$ac_try_echo") >&5
    17447   (eval "$ac_link") 2>conftest.er1
    17448   ac_status=$?
    17449   grep -v '^ *+' conftest.er1 >conftest.err
    17450   rm -f conftest.er1
    17451   cat conftest.err >&5
    17452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17453   (exit $ac_status); } && {
    17454          test -z "$ac_cxx_werror_flag" ||
    17455          test ! -s conftest.err
    17456        } && test -s conftest$ac_exeext && {
    17457          test "$cross_compiling" = yes ||
    17458          $as_test_x conftest$ac_exeext
    17459        }; then
    17460   eval "$as_ac_var=yes"
    17461 else
    17462   $as_echo "$as_me: failed program was:" >&5
    17463 sed 's/^/| /' conftest.$ac_ext >&5
    17464 
    17465         eval "$as_ac_var=no"
    17466 fi
    17467 
    17468 rm -rf conftest.dSYM
    17469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17470       conftest$ac_exeext conftest.$ac_ext
    17471 fi
    17472 ac_res=`eval 'as_val=${'$as_ac_var'}
    17473                  $as_echo "$as_val"'`
    17474                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17475 $as_echo "$ac_res" >&6; }
    17476 as_val=`eval 'as_val=${'$as_ac_var'}
    17477                  $as_echo "$as_val"'`
    17478    if test "x$as_val" = x""yes; then
     9831#define HAVE_AVCODEC_DECODE_VIDEO2 1
     9832_ACEOF
     9833
     9834fi
     9835done
     9836
     9837  for ac_func in avcodec_open
     9838do :
     9839  ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
     9840if test "x$ac_cv_func_avcodec_open" = xyes; then :
    174799841  cat >>confdefs.h <<_ACEOF
    17480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17481 _ACEOF
    17482 
    17483 fi
    17484 done
    17485 
    17486 
    17487 for ac_func in avcodec_open2
    17488 do
    17489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17490 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17491 $as_echo_n "checking for $ac_func... " >&6; }
    17492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17493   $as_echo_n "(cached) " >&6
    17494 else
    17495   cat >conftest.$ac_ext <<_ACEOF
    17496 /* confdefs.h.  */
    17497 _ACEOF
    17498 cat confdefs.h >>conftest.$ac_ext
    17499 cat >>conftest.$ac_ext <<_ACEOF
    17500 /* end confdefs.h.  */
    17501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17503 #define $ac_func innocuous_$ac_func
    17504 
    17505 /* System header to define __stub macros and hopefully few prototypes,
    17506     which can conflict with char $ac_func (); below.
    17507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17508     <limits.h> exists even on freestanding compilers.  */
    17509 
    17510 #ifdef __STDC__
    17511 # include <limits.h>
    17512 #else
    17513 # include <assert.h>
    17514 #endif
    17515 
    17516 #undef $ac_func
    17517 
    17518 /* Override any GCC internal prototype to avoid an error.
    17519    Use char because int might match the return type of a GCC
    17520    builtin and then its argument prototype would still apply.  */
    17521 #ifdef __cplusplus
    17522 extern "C"
    17523 #endif
    17524 char $ac_func ();
    17525 /* The GNU C library defines this for functions which it implements
    17526     to always fail with ENOSYS.  Some functions are actually named
    17527     something starting with __ and the normal name is an alias.  */
    17528 #if defined __stub_$ac_func || defined __stub___$ac_func
    17529 choke me
    17530 #endif
    17531 
    17532 int
    17533 main ()
    17534 {
    17535 return $ac_func ();
    17536   ;
    17537   return 0;
    17538 }
    17539 _ACEOF
    17540 rm -f conftest.$ac_objext conftest$ac_exeext
    17541 if { (ac_try="$ac_link"
    17542 case "(($ac_try" in
    17543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17544   *) ac_try_echo=$ac_try;;
    17545 esac
    17546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17547 $as_echo "$ac_try_echo") >&5
    17548   (eval "$ac_link") 2>conftest.er1
    17549   ac_status=$?
    17550   grep -v '^ *+' conftest.er1 >conftest.err
    17551   rm -f conftest.er1
    17552   cat conftest.err >&5
    17553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17554   (exit $ac_status); } && {
    17555          test -z "$ac_cxx_werror_flag" ||
    17556          test ! -s conftest.err
    17557        } && test -s conftest$ac_exeext && {
    17558          test "$cross_compiling" = yes ||
    17559          $as_test_x conftest$ac_exeext
    17560        }; then
    17561   eval "$as_ac_var=yes"
    17562 else
    17563   $as_echo "$as_me: failed program was:" >&5
    17564 sed 's/^/| /' conftest.$ac_ext >&5
    17565 
    17566         eval "$as_ac_var=no"
    17567 fi
    17568 
    17569 rm -rf conftest.dSYM
    17570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17571       conftest$ac_exeext conftest.$ac_ext
    17572 fi
    17573 ac_res=`eval 'as_val=${'$as_ac_var'}
    17574                  $as_echo "$as_val"'`
    17575                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17576 $as_echo "$ac_res" >&6; }
    17577 as_val=`eval 'as_val=${'$as_ac_var'}
    17578                  $as_echo "$as_val"'`
    17579    if test "x$as_val" = x""yes; then
     9842#define HAVE_AVCODEC_OPEN 1
     9843_ACEOF
     9844
     9845fi
     9846done
     9847
     9848  for ac_func in avcodec_open2
     9849do :
     9850  ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"
     9851if test "x$ac_cv_func_avcodec_open2" = xyes; then :
    175809852  cat >>confdefs.h <<_ACEOF
    17581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17582 _ACEOF
    17583 
    17584 fi
    17585 done
    17586 
    17587 
    17588 for ac_func in avformat_find_stream_info
    17589 do
    17590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17591 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17592 $as_echo_n "checking for $ac_func... " >&6; }
    17593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17594   $as_echo_n "(cached) " >&6
    17595 else
    17596   cat >conftest.$ac_ext <<_ACEOF
    17597 /* confdefs.h.  */
    17598 _ACEOF
    17599 cat confdefs.h >>conftest.$ac_ext
    17600 cat >>conftest.$ac_ext <<_ACEOF
    17601 /* end confdefs.h.  */
    17602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17604 #define $ac_func innocuous_$ac_func
    17605 
    17606 /* System header to define __stub macros and hopefully few prototypes,
    17607     which can conflict with char $ac_func (); below.
    17608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17609     <limits.h> exists even on freestanding compilers.  */
    17610 
    17611 #ifdef __STDC__
    17612 # include <limits.h>
    17613 #else
    17614 # include <assert.h>
    17615 #endif
    17616 
    17617 #undef $ac_func
    17618 
    17619 /* Override any GCC internal prototype to avoid an error.
    17620    Use char because int might match the return type of a GCC
    17621    builtin and then its argument prototype would still apply.  */
    17622 #ifdef __cplusplus
    17623 extern "C"
    17624 #endif
    17625 char $ac_func ();
    17626 /* The GNU C library defines this for functions which it implements
    17627     to always fail with ENOSYS.  Some functions are actually named
    17628     something starting with __ and the normal name is an alias.  */
    17629 #if defined __stub_$ac_func || defined __stub___$ac_func
    17630 choke me
    17631 #endif
    17632 
    17633 int
    17634 main ()
    17635 {
    17636 return $ac_func ();
    17637   ;
    17638   return 0;
    17639 }
    17640 _ACEOF
    17641 rm -f conftest.$ac_objext conftest$ac_exeext
    17642 if { (ac_try="$ac_link"
    17643 case "(($ac_try" in
    17644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17645   *) ac_try_echo=$ac_try;;
    17646 esac
    17647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17648 $as_echo "$ac_try_echo") >&5
    17649   (eval "$ac_link") 2>conftest.er1
    17650   ac_status=$?
    17651   grep -v '^ *+' conftest.er1 >conftest.err
    17652   rm -f conftest.er1
    17653   cat conftest.err >&5
    17654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17655   (exit $ac_status); } && {
    17656          test -z "$ac_cxx_werror_flag" ||
    17657          test ! -s conftest.err
    17658        } && test -s conftest$ac_exeext && {
    17659          test "$cross_compiling" = yes ||
    17660          $as_test_x conftest$ac_exeext
    17661        }; then
    17662   eval "$as_ac_var=yes"
    17663 else
    17664   $as_echo "$as_me: failed program was:" >&5
    17665 sed 's/^/| /' conftest.$ac_ext >&5
    17666 
    17667         eval "$as_ac_var=no"
    17668 fi
    17669 
    17670 rm -rf conftest.dSYM
    17671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17672       conftest$ac_exeext conftest.$ac_ext
    17673 fi
    17674 ac_res=`eval 'as_val=${'$as_ac_var'}
    17675                  $as_echo "$as_val"'`
    17676                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17677 $as_echo "$ac_res" >&6; }
    17678 as_val=`eval 'as_val=${'$as_ac_var'}
    17679                  $as_echo "$as_val"'`
    17680    if test "x$as_val" = x""yes; then
     9853#define HAVE_AVCODEC_OPEN2 1
     9854_ACEOF
     9855
     9856fi
     9857done
     9858
     9859  for ac_func in avformat_find_stream_info
     9860do :
     9861  ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"
     9862if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :
    176819863  cat >>confdefs.h <<_ACEOF
    17682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17683 _ACEOF
    17684 
    17685 fi
    17686 done
    17687 
    17688 
    17689 for ac_func in avformat_open_input
    17690 do
    17691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17692 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17693 $as_echo_n "checking for $ac_func... " >&6; }
    17694 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17695   $as_echo_n "(cached) " >&6
    17696 else
    17697   cat >conftest.$ac_ext <<_ACEOF
    17698 /* confdefs.h.  */
    17699 _ACEOF
    17700 cat confdefs.h >>conftest.$ac_ext
    17701 cat >>conftest.$ac_ext <<_ACEOF
    17702 /* end confdefs.h.  */
    17703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17705 #define $ac_func innocuous_$ac_func
    17706 
    17707 /* System header to define __stub macros and hopefully few prototypes,
    17708     which can conflict with char $ac_func (); below.
    17709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17710     <limits.h> exists even on freestanding compilers.  */
    17711 
    17712 #ifdef __STDC__
    17713 # include <limits.h>
    17714 #else
    17715 # include <assert.h>
    17716 #endif
    17717 
    17718 #undef $ac_func
    17719 
    17720 /* Override any GCC internal prototype to avoid an error.
    17721    Use char because int might match the return type of a GCC
    17722    builtin and then its argument prototype would still apply.  */
    17723 #ifdef __cplusplus
    17724 extern "C"
    17725 #endif
    17726 char $ac_func ();
    17727 /* The GNU C library defines this for functions which it implements
    17728     to always fail with ENOSYS.  Some functions are actually named
    17729     something starting with __ and the normal name is an alias.  */
    17730 #if defined __stub_$ac_func || defined __stub___$ac_func
    17731 choke me
    17732 #endif
    17733 
    17734 int
    17735 main ()
    17736 {
    17737 return $ac_func ();
    17738   ;
    17739   return 0;
    17740 }
    17741 _ACEOF
    17742 rm -f conftest.$ac_objext conftest$ac_exeext
    17743 if { (ac_try="$ac_link"
    17744 case "(($ac_try" in
    17745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17746   *) ac_try_echo=$ac_try;;
    17747 esac
    17748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17749 $as_echo "$ac_try_echo") >&5
    17750   (eval "$ac_link") 2>conftest.er1
    17751   ac_status=$?
    17752   grep -v '^ *+' conftest.er1 >conftest.err
    17753   rm -f conftest.er1
    17754   cat conftest.err >&5
    17755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17756   (exit $ac_status); } && {
    17757          test -z "$ac_cxx_werror_flag" ||
    17758          test ! -s conftest.err
    17759        } && test -s conftest$ac_exeext && {
    17760          test "$cross_compiling" = yes ||
    17761          $as_test_x conftest$ac_exeext
    17762        }; then
    17763   eval "$as_ac_var=yes"
    17764 else
    17765   $as_echo "$as_me: failed program was:" >&5
    17766 sed 's/^/| /' conftest.$ac_ext >&5
    17767 
    17768         eval "$as_ac_var=no"
    17769 fi
    17770 
    17771 rm -rf conftest.dSYM
    17772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17773       conftest$ac_exeext conftest.$ac_ext
    17774 fi
    17775 ac_res=`eval 'as_val=${'$as_ac_var'}
    17776                  $as_echo "$as_val"'`
    17777                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17778 $as_echo "$ac_res" >&6; }
    17779 as_val=`eval 'as_val=${'$as_ac_var'}
    17780                  $as_echo "$as_val"'`
    17781    if test "x$as_val" = x""yes; then
     9864#define HAVE_AVFORMAT_FIND_STREAM_INFO 1
     9865_ACEOF
     9866
     9867fi
     9868done
     9869
     9870  for ac_func in avformat_open_input
     9871do :
     9872  ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"
     9873if test "x$ac_cv_func_avformat_open_input" = xyes; then :
    177829874  cat >>confdefs.h <<_ACEOF
    17783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17784 _ACEOF
    17785 
    17786 fi
    17787 done
    17788 
    17789 
    17790 for ac_func in avio_close
    17791 do
    17792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17793 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17794 $as_echo_n "checking for $ac_func... " >&6; }
    17795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17796   $as_echo_n "(cached) " >&6
    17797 else
    17798   cat >conftest.$ac_ext <<_ACEOF
    17799 /* confdefs.h.  */
    17800 _ACEOF
    17801 cat confdefs.h >>conftest.$ac_ext
    17802 cat >>conftest.$ac_ext <<_ACEOF
    17803 /* end confdefs.h.  */
    17804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17806 #define $ac_func innocuous_$ac_func
    17807 
    17808 /* System header to define __stub macros and hopefully few prototypes,
    17809     which can conflict with char $ac_func (); below.
    17810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17811     <limits.h> exists even on freestanding compilers.  */
    17812 
    17813 #ifdef __STDC__
    17814 # include <limits.h>
    17815 #else
    17816 # include <assert.h>
    17817 #endif
    17818 
    17819 #undef $ac_func
    17820 
    17821 /* Override any GCC internal prototype to avoid an error.
    17822    Use char because int might match the return type of a GCC
    17823    builtin and then its argument prototype would still apply.  */
    17824 #ifdef __cplusplus
    17825 extern "C"
    17826 #endif
    17827 char $ac_func ();
    17828 /* The GNU C library defines this for functions which it implements
    17829     to always fail with ENOSYS.  Some functions are actually named
    17830     something starting with __ and the normal name is an alias.  */
    17831 #if defined __stub_$ac_func || defined __stub___$ac_func
    17832 choke me
    17833 #endif
    17834 
    17835 int
    17836 main ()
    17837 {
    17838 return $ac_func ();
    17839   ;
    17840   return 0;
    17841 }
    17842 _ACEOF
    17843 rm -f conftest.$ac_objext conftest$ac_exeext
    17844 if { (ac_try="$ac_link"
    17845 case "(($ac_try" in
    17846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17847   *) ac_try_echo=$ac_try;;
    17848 esac
    17849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17850 $as_echo "$ac_try_echo") >&5
    17851   (eval "$ac_link") 2>conftest.er1
    17852   ac_status=$?
    17853   grep -v '^ *+' conftest.er1 >conftest.err
    17854   rm -f conftest.er1
    17855   cat conftest.err >&5
    17856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17857   (exit $ac_status); } && {
    17858          test -z "$ac_cxx_werror_flag" ||
    17859          test ! -s conftest.err
    17860        } && test -s conftest$ac_exeext && {
    17861          test "$cross_compiling" = yes ||
    17862          $as_test_x conftest$ac_exeext
    17863        }; then
    17864   eval "$as_ac_var=yes"
    17865 else
    17866   $as_echo "$as_me: failed program was:" >&5
    17867 sed 's/^/| /' conftest.$ac_ext >&5
    17868 
    17869         eval "$as_ac_var=no"
    17870 fi
    17871 
    17872 rm -rf conftest.dSYM
    17873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17874       conftest$ac_exeext conftest.$ac_ext
    17875 fi
    17876 ac_res=`eval 'as_val=${'$as_ac_var'}
    17877                  $as_echo "$as_val"'`
    17878                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17879 $as_echo "$ac_res" >&6; }
    17880 as_val=`eval 'as_val=${'$as_ac_var'}
    17881                  $as_echo "$as_val"'`
    17882    if test "x$as_val" = x""yes; then
     9875#define HAVE_AVFORMAT_OPEN_INPUT 1
     9876_ACEOF
     9877
     9878fi
     9879done
     9880
     9881  for ac_func in avio_close
     9882do :
     9883  ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"
     9884if test "x$ac_cv_func_avio_close" = xyes; then :
    178839885  cat >>confdefs.h <<_ACEOF
    17884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17885 _ACEOF
    17886 
    17887 fi
    17888 done
    17889 
    17890 
    17891 for ac_func in img_convert
    17892 do
    17893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17894 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17895 $as_echo_n "checking for $ac_func... " >&6; }
    17896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17897   $as_echo_n "(cached) " >&6
    17898 else
    17899   cat >conftest.$ac_ext <<_ACEOF
    17900 /* confdefs.h.  */
    17901 _ACEOF
    17902 cat confdefs.h >>conftest.$ac_ext
    17903 cat >>conftest.$ac_ext <<_ACEOF
    17904 /* end confdefs.h.  */
    17905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    17906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    17907 #define $ac_func innocuous_$ac_func
    17908 
    17909 /* System header to define __stub macros and hopefully few prototypes,
    17910     which can conflict with char $ac_func (); below.
    17911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    17912     <limits.h> exists even on freestanding compilers.  */
    17913 
    17914 #ifdef __STDC__
    17915 # include <limits.h>
    17916 #else
    17917 # include <assert.h>
    17918 #endif
    17919 
    17920 #undef $ac_func
    17921 
    17922 /* Override any GCC internal prototype to avoid an error.
    17923    Use char because int might match the return type of a GCC
    17924    builtin and then its argument prototype would still apply.  */
    17925 #ifdef __cplusplus
    17926 extern "C"
    17927 #endif
    17928 char $ac_func ();
    17929 /* The GNU C library defines this for functions which it implements
    17930     to always fail with ENOSYS.  Some functions are actually named
    17931     something starting with __ and the normal name is an alias.  */
    17932 #if defined __stub_$ac_func || defined __stub___$ac_func
    17933 choke me
    17934 #endif
    17935 
    17936 int
    17937 main ()
    17938 {
    17939 return $ac_func ();
    17940   ;
    17941   return 0;
    17942 }
    17943 _ACEOF
    17944 rm -f conftest.$ac_objext conftest$ac_exeext
    17945 if { (ac_try="$ac_link"
    17946 case "(($ac_try" in
    17947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    17948   *) ac_try_echo=$ac_try;;
    17949 esac
    17950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    17951 $as_echo "$ac_try_echo") >&5
    17952   (eval "$ac_link") 2>conftest.er1
    17953   ac_status=$?
    17954   grep -v '^ *+' conftest.er1 >conftest.err
    17955   rm -f conftest.er1
    17956   cat conftest.err >&5
    17957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    17958   (exit $ac_status); } && {
    17959          test -z "$ac_cxx_werror_flag" ||
    17960          test ! -s conftest.err
    17961        } && test -s conftest$ac_exeext && {
    17962          test "$cross_compiling" = yes ||
    17963          $as_test_x conftest$ac_exeext
    17964        }; then
    17965   eval "$as_ac_var=yes"
    17966 else
    17967   $as_echo "$as_me: failed program was:" >&5
    17968 sed 's/^/| /' conftest.$ac_ext >&5
    17969 
    17970         eval "$as_ac_var=no"
    17971 fi
    17972 
    17973 rm -rf conftest.dSYM
    17974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    17975       conftest$ac_exeext conftest.$ac_ext
    17976 fi
    17977 ac_res=`eval 'as_val=${'$as_ac_var'}
    17978                  $as_echo "$as_val"'`
    17979                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    17980 $as_echo "$ac_res" >&6; }
    17981 as_val=`eval 'as_val=${'$as_ac_var'}
    17982                  $as_echo "$as_val"'`
    17983    if test "x$as_val" = x""yes; then
     9886#define HAVE_AVIO_CLOSE 1
     9887_ACEOF
     9888
     9889fi
     9890done
     9891
     9892  for ac_func in img_convert
     9893do :
     9894  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     9895if test "x$ac_cv_func_img_convert" = xyes; then :
    179849896  cat >>confdefs.h <<_ACEOF
    17985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    17986 _ACEOF
    17987 
    17988 fi
    17989 done
    17990 
    17991 
    17992 for ac_func in sws_getCachedContext
    17993 do
    17994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    17995 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    17996 $as_echo_n "checking for $ac_func... " >&6; }
    17997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    17998   $as_echo_n "(cached) " >&6
    17999 else
    18000   cat >conftest.$ac_ext <<_ACEOF
    18001 /* confdefs.h.  */
    18002 _ACEOF
    18003 cat confdefs.h >>conftest.$ac_ext
    18004 cat >>conftest.$ac_ext <<_ACEOF
    18005 /* end confdefs.h.  */
    18006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18008 #define $ac_func innocuous_$ac_func
    18009 
    18010 /* System header to define __stub macros and hopefully few prototypes,
    18011     which can conflict with char $ac_func (); below.
    18012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18013     <limits.h> exists even on freestanding compilers.  */
    18014 
    18015 #ifdef __STDC__
    18016 # include <limits.h>
    18017 #else
    18018 # include <assert.h>
    18019 #endif
    18020 
    18021 #undef $ac_func
    18022 
    18023 /* Override any GCC internal prototype to avoid an error.
    18024    Use char because int might match the return type of a GCC
    18025    builtin and then its argument prototype would still apply.  */
    18026 #ifdef __cplusplus
    18027 extern "C"
    18028 #endif
    18029 char $ac_func ();
    18030 /* The GNU C library defines this for functions which it implements
    18031     to always fail with ENOSYS.  Some functions are actually named
    18032     something starting with __ and the normal name is an alias.  */
    18033 #if defined __stub_$ac_func || defined __stub___$ac_func
    18034 choke me
    18035 #endif
    18036 
    18037 int
    18038 main ()
    18039 {
    18040 return $ac_func ();
    18041   ;
    18042   return 0;
    18043 }
    18044 _ACEOF
    18045 rm -f conftest.$ac_objext conftest$ac_exeext
    18046 if { (ac_try="$ac_link"
    18047 case "(($ac_try" in
    18048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18049   *) ac_try_echo=$ac_try;;
    18050 esac
    18051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18052 $as_echo "$ac_try_echo") >&5
    18053   (eval "$ac_link") 2>conftest.er1
    18054   ac_status=$?
    18055   grep -v '^ *+' conftest.er1 >conftest.err
    18056   rm -f conftest.er1
    18057   cat conftest.err >&5
    18058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18059   (exit $ac_status); } && {
    18060          test -z "$ac_cxx_werror_flag" ||
    18061          test ! -s conftest.err
    18062        } && test -s conftest$ac_exeext && {
    18063          test "$cross_compiling" = yes ||
    18064          $as_test_x conftest$ac_exeext
    18065        }; then
    18066   eval "$as_ac_var=yes"
    18067 else
    18068   $as_echo "$as_me: failed program was:" >&5
    18069 sed 's/^/| /' conftest.$ac_ext >&5
    18070 
    18071         eval "$as_ac_var=no"
    18072 fi
    18073 
    18074 rm -rf conftest.dSYM
    18075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18076       conftest$ac_exeext conftest.$ac_ext
    18077 fi
    18078 ac_res=`eval 'as_val=${'$as_ac_var'}
    18079                  $as_echo "$as_val"'`
    18080                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18081 $as_echo "$ac_res" >&6; }
    18082 as_val=`eval 'as_val=${'$as_ac_var'}
    18083                  $as_echo "$as_val"'`
    18084    if test "x$as_val" = x""yes; then
     9897#define HAVE_IMG_CONVERT 1
     9898_ACEOF
     9899
     9900fi
     9901done
     9902
     9903  for ac_func in sws_getCachedContext
     9904do :
     9905  ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
     9906if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
    180859907  cat >>confdefs.h <<_ACEOF
    18086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18087 _ACEOF
    18088 
    18089 fi
    18090 done
    18091 
    18092 
    18093 for ac_func in sws_scale
    18094 do
    18095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18096 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18097 $as_echo_n "checking for $ac_func... " >&6; }
    18098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18099   $as_echo_n "(cached) " >&6
    18100 else
    18101   cat >conftest.$ac_ext <<_ACEOF
    18102 /* confdefs.h.  */
    18103 _ACEOF
    18104 cat confdefs.h >>conftest.$ac_ext
    18105 cat >>conftest.$ac_ext <<_ACEOF
    18106 /* end confdefs.h.  */
    18107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18109 #define $ac_func innocuous_$ac_func
    18110 
    18111 /* System header to define __stub macros and hopefully few prototypes,
    18112     which can conflict with char $ac_func (); below.
    18113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18114     <limits.h> exists even on freestanding compilers.  */
    18115 
    18116 #ifdef __STDC__
    18117 # include <limits.h>
    18118 #else
    18119 # include <assert.h>
    18120 #endif
    18121 
    18122 #undef $ac_func
    18123 
    18124 /* Override any GCC internal prototype to avoid an error.
    18125    Use char because int might match the return type of a GCC
    18126    builtin and then its argument prototype would still apply.  */
    18127 #ifdef __cplusplus
    18128 extern "C"
    18129 #endif
    18130 char $ac_func ();
    18131 /* The GNU C library defines this for functions which it implements
    18132     to always fail with ENOSYS.  Some functions are actually named
    18133     something starting with __ and the normal name is an alias.  */
    18134 #if defined __stub_$ac_func || defined __stub___$ac_func
    18135 choke me
    18136 #endif
    18137 
    18138 int
    18139 main ()
    18140 {
    18141 return $ac_func ();
    18142   ;
    18143   return 0;
    18144 }
    18145 _ACEOF
    18146 rm -f conftest.$ac_objext conftest$ac_exeext
    18147 if { (ac_try="$ac_link"
    18148 case "(($ac_try" in
    18149   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18150   *) ac_try_echo=$ac_try;;
    18151 esac
    18152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18153 $as_echo "$ac_try_echo") >&5
    18154   (eval "$ac_link") 2>conftest.er1
    18155   ac_status=$?
    18156   grep -v '^ *+' conftest.er1 >conftest.err
    18157   rm -f conftest.er1
    18158   cat conftest.err >&5
    18159   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18160   (exit $ac_status); } && {
    18161          test -z "$ac_cxx_werror_flag" ||
    18162          test ! -s conftest.err
    18163        } && test -s conftest$ac_exeext && {
    18164          test "$cross_compiling" = yes ||
    18165          $as_test_x conftest$ac_exeext
    18166        }; then
    18167   eval "$as_ac_var=yes"
    18168 else
    18169   $as_echo "$as_me: failed program was:" >&5
    18170 sed 's/^/| /' conftest.$ac_ext >&5
    18171 
    18172         eval "$as_ac_var=no"
    18173 fi
    18174 
    18175 rm -rf conftest.dSYM
    18176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18177       conftest$ac_exeext conftest.$ac_ext
    18178 fi
    18179 ac_res=`eval 'as_val=${'$as_ac_var'}
    18180                  $as_echo "$as_val"'`
    18181                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18182 $as_echo "$ac_res" >&6; }
    18183 as_val=`eval 'as_val=${'$as_ac_var'}
    18184                  $as_echo "$as_val"'`
    18185    if test "x$as_val" = x""yes; then
     9908#define HAVE_SWS_GETCACHEDCONTEXT 1
     9909_ACEOF
     9910
     9911fi
     9912done
     9913
     9914  for ac_func in sws_scale
     9915do :
     9916  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     9917if test "x$ac_cv_func_sws_scale" = xyes; then :
    181869918  cat >>confdefs.h <<_ACEOF
    18187 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18188 _ACEOF
    18189 
    18190 fi
    18191 done
    18192 
    18193 
    18194 for ac_func in url_close
    18195 do
    18196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18197 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18198 $as_echo_n "checking for $ac_func... " >&6; }
    18199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18200   $as_echo_n "(cached) " >&6
    18201 else
    18202   cat >conftest.$ac_ext <<_ACEOF
    18203 /* confdefs.h.  */
    18204 _ACEOF
    18205 cat confdefs.h >>conftest.$ac_ext
    18206 cat >>conftest.$ac_ext <<_ACEOF
    18207 /* end confdefs.h.  */
    18208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18210 #define $ac_func innocuous_$ac_func
    18211 
    18212 /* System header to define __stub macros and hopefully few prototypes,
    18213     which can conflict with char $ac_func (); below.
    18214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18215     <limits.h> exists even on freestanding compilers.  */
    18216 
    18217 #ifdef __STDC__
    18218 # include <limits.h>
    18219 #else
    18220 # include <assert.h>
    18221 #endif
    18222 
    18223 #undef $ac_func
    18224 
    18225 /* Override any GCC internal prototype to avoid an error.
    18226    Use char because int might match the return type of a GCC
    18227    builtin and then its argument prototype would still apply.  */
    18228 #ifdef __cplusplus
    18229 extern "C"
    18230 #endif
    18231 char $ac_func ();
    18232 /* The GNU C library defines this for functions which it implements
    18233     to always fail with ENOSYS.  Some functions are actually named
    18234     something starting with __ and the normal name is an alias.  */
    18235 #if defined __stub_$ac_func || defined __stub___$ac_func
    18236 choke me
    18237 #endif
    18238 
    18239 int
    18240 main ()
    18241 {
    18242 return $ac_func ();
    18243   ;
    18244   return 0;
    18245 }
    18246 _ACEOF
    18247 rm -f conftest.$ac_objext conftest$ac_exeext
    18248 if { (ac_try="$ac_link"
    18249 case "(($ac_try" in
    18250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18251   *) ac_try_echo=$ac_try;;
    18252 esac
    18253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18254 $as_echo "$ac_try_echo") >&5
    18255   (eval "$ac_link") 2>conftest.er1
    18256   ac_status=$?
    18257   grep -v '^ *+' conftest.er1 >conftest.err
    18258   rm -f conftest.er1
    18259   cat conftest.err >&5
    18260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18261   (exit $ac_status); } && {
    18262          test -z "$ac_cxx_werror_flag" ||
    18263          test ! -s conftest.err
    18264        } && test -s conftest$ac_exeext && {
    18265          test "$cross_compiling" = yes ||
    18266          $as_test_x conftest$ac_exeext
    18267        }; then
    18268   eval "$as_ac_var=yes"
    18269 else
    18270   $as_echo "$as_me: failed program was:" >&5
    18271 sed 's/^/| /' conftest.$ac_ext >&5
    18272 
    18273         eval "$as_ac_var=no"
    18274 fi
    18275 
    18276 rm -rf conftest.dSYM
    18277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18278       conftest$ac_exeext conftest.$ac_ext
    18279 fi
    18280 ac_res=`eval 'as_val=${'$as_ac_var'}
    18281                  $as_echo "$as_val"'`
    18282                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18283 $as_echo "$ac_res" >&6; }
    18284 as_val=`eval 'as_val=${'$as_ac_var'}
    18285                  $as_echo "$as_val"'`
    18286    if test "x$as_val" = x""yes; then
     9919#define HAVE_SWS_SCALE 1
     9920_ACEOF
     9921
     9922fi
     9923done
     9924
     9925  for ac_func in url_close
     9926do :
     9927  ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close"
     9928if test "x$ac_cv_func_url_close" = xyes; then :
    182879929  cat >>confdefs.h <<_ACEOF
    18288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18289 _ACEOF
    18290 
    18291 fi
    18292 done
    18293 
    18294 
    18295 for ac_func in av_close_input_file
    18296 do
    18297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18298 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18299 $as_echo_n "checking for $ac_func... " >&6; }
    18300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18301   $as_echo_n "(cached) " >&6
    18302 else
    18303   cat >conftest.$ac_ext <<_ACEOF
    18304 /* confdefs.h.  */
    18305 _ACEOF
    18306 cat confdefs.h >>conftest.$ac_ext
    18307 cat >>conftest.$ac_ext <<_ACEOF
    18308 /* end confdefs.h.  */
    18309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18311 #define $ac_func innocuous_$ac_func
    18312 
    18313 /* System header to define __stub macros and hopefully few prototypes,
    18314     which can conflict with char $ac_func (); below.
    18315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18316     <limits.h> exists even on freestanding compilers.  */
    18317 
    18318 #ifdef __STDC__
    18319 # include <limits.h>
    18320 #else
    18321 # include <assert.h>
    18322 #endif
    18323 
    18324 #undef $ac_func
    18325 
    18326 /* Override any GCC internal prototype to avoid an error.
    18327    Use char because int might match the return type of a GCC
    18328    builtin and then its argument prototype would still apply.  */
    18329 #ifdef __cplusplus
    18330 extern "C"
    18331 #endif
    18332 char $ac_func ();
    18333 /* The GNU C library defines this for functions which it implements
    18334     to always fail with ENOSYS.  Some functions are actually named
    18335     something starting with __ and the normal name is an alias.  */
    18336 #if defined __stub_$ac_func || defined __stub___$ac_func
    18337 choke me
    18338 #endif
    18339 
    18340 int
    18341 main ()
    18342 {
    18343 return $ac_func ();
    18344   ;
    18345   return 0;
    18346 }
    18347 _ACEOF
    18348 rm -f conftest.$ac_objext conftest$ac_exeext
    18349 if { (ac_try="$ac_link"
    18350 case "(($ac_try" in
    18351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18352   *) ac_try_echo=$ac_try;;
    18353 esac
    18354 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18355 $as_echo "$ac_try_echo") >&5
    18356   (eval "$ac_link") 2>conftest.er1
    18357   ac_status=$?
    18358   grep -v '^ *+' conftest.er1 >conftest.err
    18359   rm -f conftest.er1
    18360   cat conftest.err >&5
    18361   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18362   (exit $ac_status); } && {
    18363          test -z "$ac_cxx_werror_flag" ||
    18364          test ! -s conftest.err
    18365        } && test -s conftest$ac_exeext && {
    18366          test "$cross_compiling" = yes ||
    18367          $as_test_x conftest$ac_exeext
    18368        }; then
    18369   eval "$as_ac_var=yes"
    18370 else
    18371   $as_echo "$as_me: failed program was:" >&5
    18372 sed 's/^/| /' conftest.$ac_ext >&5
    18373 
    18374         eval "$as_ac_var=no"
    18375 fi
    18376 
    18377 rm -rf conftest.dSYM
    18378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18379       conftest$ac_exeext conftest.$ac_ext
    18380 fi
    18381 ac_res=`eval 'as_val=${'$as_ac_var'}
    18382                  $as_echo "$as_val"'`
    18383                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18384 $as_echo "$ac_res" >&6; }
    18385 as_val=`eval 'as_val=${'$as_ac_var'}
    18386                  $as_echo "$as_val"'`
    18387    if test "x$as_val" = x""yes; then
     9930#define HAVE_URL_CLOSE 1
     9931_ACEOF
     9932
     9933fi
     9934done
     9935
     9936  for ac_func in av_close_input_file
     9937do :
     9938  ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"
     9939if test "x$ac_cv_func_av_close_input_file" = xyes; then :
    183889940  cat >>confdefs.h <<_ACEOF
    18389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18390 _ACEOF
    18391 
    18392 fi
    18393 done
    18394 
    18395 
    18396 for ac_func in avformat_close_input
    18397 do
    18398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    18399 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    18400 $as_echo_n "checking for $ac_func... " >&6; }
    18401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    18402   $as_echo_n "(cached) " >&6
    18403 else
    18404   cat >conftest.$ac_ext <<_ACEOF
    18405 /* confdefs.h.  */
    18406 _ACEOF
    18407 cat confdefs.h >>conftest.$ac_ext
    18408 cat >>conftest.$ac_ext <<_ACEOF
    18409 /* end confdefs.h.  */
    18410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    18411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18412 #define $ac_func innocuous_$ac_func
    18413 
    18414 /* System header to define __stub macros and hopefully few prototypes,
    18415     which can conflict with char $ac_func (); below.
    18416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18417     <limits.h> exists even on freestanding compilers.  */
    18418 
    18419 #ifdef __STDC__
    18420 # include <limits.h>
    18421 #else
    18422 # include <assert.h>
    18423 #endif
    18424 
    18425 #undef $ac_func
    18426 
    18427 /* Override any GCC internal prototype to avoid an error.
    18428    Use char because int might match the return type of a GCC
    18429    builtin and then its argument prototype would still apply.  */
    18430 #ifdef __cplusplus
    18431 extern "C"
    18432 #endif
    18433 char $ac_func ();
    18434 /* The GNU C library defines this for functions which it implements
    18435     to always fail with ENOSYS.  Some functions are actually named
    18436     something starting with __ and the normal name is an alias.  */
    18437 #if defined __stub_$ac_func || defined __stub___$ac_func
    18438 choke me
    18439 #endif
    18440 
    18441 int
    18442 main ()
    18443 {
    18444 return $ac_func ();
    18445   ;
    18446   return 0;
    18447 }
    18448 _ACEOF
    18449 rm -f conftest.$ac_objext conftest$ac_exeext
    18450 if { (ac_try="$ac_link"
    18451 case "(($ac_try" in
    18452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18453   *) ac_try_echo=$ac_try;;
    18454 esac
    18455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18456 $as_echo "$ac_try_echo") >&5
    18457   (eval "$ac_link") 2>conftest.er1
    18458   ac_status=$?
    18459   grep -v '^ *+' conftest.er1 >conftest.err
    18460   rm -f conftest.er1
    18461   cat conftest.err >&5
    18462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18463   (exit $ac_status); } && {
    18464          test -z "$ac_cxx_werror_flag" ||
    18465          test ! -s conftest.err
    18466        } && test -s conftest$ac_exeext && {
    18467          test "$cross_compiling" = yes ||
    18468          $as_test_x conftest$ac_exeext
    18469        }; then
    18470   eval "$as_ac_var=yes"
    18471 else
    18472   $as_echo "$as_me: failed program was:" >&5
    18473 sed 's/^/| /' conftest.$ac_ext >&5
    18474 
    18475         eval "$as_ac_var=no"
    18476 fi
    18477 
    18478 rm -rf conftest.dSYM
    18479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18480       conftest$ac_exeext conftest.$ac_ext
    18481 fi
    18482 ac_res=`eval 'as_val=${'$as_ac_var'}
    18483                  $as_echo "$as_val"'`
    18484                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    18485 $as_echo "$ac_res" >&6; }
    18486 as_val=`eval 'as_val=${'$as_ac_var'}
    18487                  $as_echo "$as_val"'`
    18488    if test "x$as_val" = x""yes; then
     9941#define HAVE_AV_CLOSE_INPUT_FILE 1
     9942_ACEOF
     9943
     9944fi
     9945done
     9946
     9947  for ac_func in avformat_close_input
     9948do :
     9949  ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"
     9950if test "x$ac_cv_func_avformat_close_input" = xyes; then :
    184899951  cat >>confdefs.h <<_ACEOF
    18490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    18491 _ACEOF
    18492 
    18493 fi
    18494 done
    18495 
    18496 
    18497   { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5
    18498 $as_echo_n "checking for avcodec_find_decoder... " >&6; }
    18499 if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then
    18500   $as_echo_n "(cached) " >&6
    18501 else
    18502   cat >conftest.$ac_ext <<_ACEOF
    18503 /* confdefs.h.  */
    18504 _ACEOF
    18505 cat confdefs.h >>conftest.$ac_ext
    18506 cat >>conftest.$ac_ext <<_ACEOF
    18507 /* end confdefs.h.  */
    18508 /* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder.
    18509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18510 #define avcodec_find_decoder innocuous_avcodec_find_decoder
    18511 
    18512 /* System header to define __stub macros and hopefully few prototypes,
    18513     which can conflict with char avcodec_find_decoder (); below.
    18514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18515     <limits.h> exists even on freestanding compilers.  */
    18516 
    18517 #ifdef __STDC__
    18518 # include <limits.h>
    18519 #else
    18520 # include <assert.h>
    18521 #endif
    18522 
    18523 #undef avcodec_find_decoder
    18524 
    18525 /* Override any GCC internal prototype to avoid an error.
    18526    Use char because int might match the return type of a GCC
    18527    builtin and then its argument prototype would still apply.  */
    18528 #ifdef __cplusplus
    18529 extern "C"
    18530 #endif
    18531 char avcodec_find_decoder ();
    18532 /* The GNU C library defines this for functions which it implements
    18533     to always fail with ENOSYS.  Some functions are actually named
    18534     something starting with __ and the normal name is an alias.  */
    18535 #if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder
    18536 choke me
    18537 #endif
    18538 
    18539 int
    18540 main ()
    18541 {
    18542 return avcodec_find_decoder ();
    18543   ;
    18544   return 0;
    18545 }
    18546 _ACEOF
    18547 rm -f conftest.$ac_objext conftest$ac_exeext
    18548 if { (ac_try="$ac_link"
    18549 case "(($ac_try" in
    18550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18551   *) ac_try_echo=$ac_try;;
    18552 esac
    18553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18554 $as_echo "$ac_try_echo") >&5
    18555   (eval "$ac_link") 2>conftest.er1
    18556   ac_status=$?
    18557   grep -v '^ *+' conftest.er1 >conftest.err
    18558   rm -f conftest.er1
    18559   cat conftest.err >&5
    18560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18561   (exit $ac_status); } && {
    18562          test -z "$ac_cxx_werror_flag" ||
    18563          test ! -s conftest.err
    18564        } && test -s conftest$ac_exeext && {
    18565          test "$cross_compiling" = yes ||
    18566          $as_test_x conftest$ac_exeext
    18567        }; then
    18568   ac_cv_func_avcodec_find_decoder=yes
    18569 else
    18570   $as_echo "$as_me: failed program was:" >&5
    18571 sed 's/^/| /' conftest.$ac_ext >&5
    18572 
    18573         ac_cv_func_avcodec_find_decoder=no
    18574 fi
    18575 
    18576 rm -rf conftest.dSYM
    18577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18578       conftest$ac_exeext conftest.$ac_ext
    18579 fi
    18580 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5
    18581 $as_echo "$ac_cv_func_avcodec_find_decoder" >&6; }
    18582 if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then
    18583   :
    18584 else
    18585   { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5
    18586 $as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;}
    18587    { (exit 1); exit 1; }; }
    18588 fi
    18589 
    18590   { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5
    18591 $as_echo_n "checking for avcodec_alloc_frame... " >&6; }
    18592 if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then
    18593   $as_echo_n "(cached) " >&6
    18594 else
    18595   cat >conftest.$ac_ext <<_ACEOF
    18596 /* confdefs.h.  */
    18597 _ACEOF
    18598 cat confdefs.h >>conftest.$ac_ext
    18599 cat >>conftest.$ac_ext <<_ACEOF
    18600 /* end confdefs.h.  */
    18601 /* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame.
    18602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18603 #define avcodec_alloc_frame innocuous_avcodec_alloc_frame
    18604 
    18605 /* System header to define __stub macros and hopefully few prototypes,
    18606     which can conflict with char avcodec_alloc_frame (); below.
    18607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18608     <limits.h> exists even on freestanding compilers.  */
    18609 
    18610 #ifdef __STDC__
    18611 # include <limits.h>
    18612 #else
    18613 # include <assert.h>
    18614 #endif
    18615 
    18616 #undef avcodec_alloc_frame
    18617 
    18618 /* Override any GCC internal prototype to avoid an error.
    18619    Use char because int might match the return type of a GCC
    18620    builtin and then its argument prototype would still apply.  */
    18621 #ifdef __cplusplus
    18622 extern "C"
    18623 #endif
    18624 char avcodec_alloc_frame ();
    18625 /* The GNU C library defines this for functions which it implements
    18626     to always fail with ENOSYS.  Some functions are actually named
    18627     something starting with __ and the normal name is an alias.  */
    18628 #if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame
    18629 choke me
    18630 #endif
    18631 
    18632 int
    18633 main ()
    18634 {
    18635 return avcodec_alloc_frame ();
    18636   ;
    18637   return 0;
    18638 }
    18639 _ACEOF
    18640 rm -f conftest.$ac_objext conftest$ac_exeext
    18641 if { (ac_try="$ac_link"
    18642 case "(($ac_try" in
    18643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18644   *) ac_try_echo=$ac_try;;
    18645 esac
    18646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18647 $as_echo "$ac_try_echo") >&5
    18648   (eval "$ac_link") 2>conftest.er1
    18649   ac_status=$?
    18650   grep -v '^ *+' conftest.er1 >conftest.err
    18651   rm -f conftest.er1
    18652   cat conftest.err >&5
    18653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18654   (exit $ac_status); } && {
    18655          test -z "$ac_cxx_werror_flag" ||
    18656          test ! -s conftest.err
    18657        } && test -s conftest$ac_exeext && {
    18658          test "$cross_compiling" = yes ||
    18659          $as_test_x conftest$ac_exeext
    18660        }; then
    18661   ac_cv_func_avcodec_alloc_frame=yes
    18662 else
    18663   $as_echo "$as_me: failed program was:" >&5
    18664 sed 's/^/| /' conftest.$ac_ext >&5
    18665 
    18666         ac_cv_func_avcodec_alloc_frame=no
    18667 fi
    18668 
    18669 rm -rf conftest.dSYM
    18670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18671       conftest$ac_exeext conftest.$ac_ext
    18672 fi
    18673 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5
    18674 $as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; }
    18675 if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then
    18676   :
    18677 else
    18678   { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5
    18679 $as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;}
    18680    { (exit 1); exit 1; }; }
    18681 fi
    18682 
    18683   { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5
    18684 $as_echo_n "checking for av_rescale_q... " >&6; }
    18685 if test "${ac_cv_func_av_rescale_q+set}" = set; then
    18686   $as_echo_n "(cached) " >&6
    18687 else
    18688   cat >conftest.$ac_ext <<_ACEOF
    18689 /* confdefs.h.  */
    18690 _ACEOF
    18691 cat confdefs.h >>conftest.$ac_ext
    18692 cat >>conftest.$ac_ext <<_ACEOF
    18693 /* end confdefs.h.  */
    18694 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q.
    18695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18696 #define av_rescale_q innocuous_av_rescale_q
    18697 
    18698 /* System header to define __stub macros and hopefully few prototypes,
    18699     which can conflict with char av_rescale_q (); below.
    18700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18701     <limits.h> exists even on freestanding compilers.  */
    18702 
    18703 #ifdef __STDC__
    18704 # include <limits.h>
    18705 #else
    18706 # include <assert.h>
    18707 #endif
    18708 
    18709 #undef av_rescale_q
    18710 
    18711 /* Override any GCC internal prototype to avoid an error.
    18712    Use char because int might match the return type of a GCC
    18713    builtin and then its argument prototype would still apply.  */
    18714 #ifdef __cplusplus
    18715 extern "C"
    18716 #endif
    18717 char av_rescale_q ();
    18718 /* The GNU C library defines this for functions which it implements
    18719     to always fail with ENOSYS.  Some functions are actually named
    18720     something starting with __ and the normal name is an alias.  */
    18721 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q
    18722 choke me
    18723 #endif
    18724 
    18725 int
    18726 main ()
    18727 {
    18728 return av_rescale_q ();
    18729   ;
    18730   return 0;
    18731 }
    18732 _ACEOF
    18733 rm -f conftest.$ac_objext conftest$ac_exeext
    18734 if { (ac_try="$ac_link"
    18735 case "(($ac_try" in
    18736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18737   *) ac_try_echo=$ac_try;;
    18738 esac
    18739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18740 $as_echo "$ac_try_echo") >&5
    18741   (eval "$ac_link") 2>conftest.er1
    18742   ac_status=$?
    18743   grep -v '^ *+' conftest.er1 >conftest.err
    18744   rm -f conftest.er1
    18745   cat conftest.err >&5
    18746   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18747   (exit $ac_status); } && {
    18748          test -z "$ac_cxx_werror_flag" ||
    18749          test ! -s conftest.err
    18750        } && test -s conftest$ac_exeext && {
    18751          test "$cross_compiling" = yes ||
    18752          $as_test_x conftest$ac_exeext
    18753        }; then
    18754   ac_cv_func_av_rescale_q=yes
    18755 else
    18756   $as_echo "$as_me: failed program was:" >&5
    18757 sed 's/^/| /' conftest.$ac_ext >&5
    18758 
    18759         ac_cv_func_av_rescale_q=no
    18760 fi
    18761 
    18762 rm -rf conftest.dSYM
    18763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18764       conftest$ac_exeext conftest.$ac_ext
    18765 fi
    18766 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5
    18767 $as_echo "$ac_cv_func_av_rescale_q" >&6; }
    18768 if test "x$ac_cv_func_av_rescale_q" = x""yes; then
    18769   :
    18770 else
    18771   { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5
    18772 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;}
    18773    { (exit 1); exit 1; }; }
    18774 fi
    18775 
    18776   { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5
    18777 $as_echo_n "checking for av_read_frame... " >&6; }
    18778 if test "${ac_cv_func_av_read_frame+set}" = set; then
    18779   $as_echo_n "(cached) " >&6
    18780 else
    18781   cat >conftest.$ac_ext <<_ACEOF
    18782 /* confdefs.h.  */
    18783 _ACEOF
    18784 cat confdefs.h >>conftest.$ac_ext
    18785 cat >>conftest.$ac_ext <<_ACEOF
    18786 /* end confdefs.h.  */
    18787 /* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame.
    18788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18789 #define av_read_frame innocuous_av_read_frame
    18790 
    18791 /* System header to define __stub macros and hopefully few prototypes,
    18792     which can conflict with char av_read_frame (); below.
    18793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18794     <limits.h> exists even on freestanding compilers.  */
    18795 
    18796 #ifdef __STDC__
    18797 # include <limits.h>
    18798 #else
    18799 # include <assert.h>
    18800 #endif
    18801 
    18802 #undef av_read_frame
    18803 
    18804 /* Override any GCC internal prototype to avoid an error.
    18805    Use char because int might match the return type of a GCC
    18806    builtin and then its argument prototype would still apply.  */
    18807 #ifdef __cplusplus
    18808 extern "C"
    18809 #endif
    18810 char av_read_frame ();
    18811 /* The GNU C library defines this for functions which it implements
    18812     to always fail with ENOSYS.  Some functions are actually named
    18813     something starting with __ and the normal name is an alias.  */
    18814 #if defined __stub_av_read_frame || defined __stub___av_read_frame
    18815 choke me
    18816 #endif
    18817 
    18818 int
    18819 main ()
    18820 {
    18821 return av_read_frame ();
    18822   ;
    18823   return 0;
    18824 }
    18825 _ACEOF
    18826 rm -f conftest.$ac_objext conftest$ac_exeext
    18827 if { (ac_try="$ac_link"
    18828 case "(($ac_try" in
    18829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18830   *) ac_try_echo=$ac_try;;
    18831 esac
    18832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18833 $as_echo "$ac_try_echo") >&5
    18834   (eval "$ac_link") 2>conftest.er1
    18835   ac_status=$?
    18836   grep -v '^ *+' conftest.er1 >conftest.err
    18837   rm -f conftest.er1
    18838   cat conftest.err >&5
    18839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18840   (exit $ac_status); } && {
    18841          test -z "$ac_cxx_werror_flag" ||
    18842          test ! -s conftest.err
    18843        } && test -s conftest$ac_exeext && {
    18844          test "$cross_compiling" = yes ||
    18845          $as_test_x conftest$ac_exeext
    18846        }; then
    18847   ac_cv_func_av_read_frame=yes
    18848 else
    18849   $as_echo "$as_me: failed program was:" >&5
    18850 sed 's/^/| /' conftest.$ac_ext >&5
    18851 
    18852         ac_cv_func_av_read_frame=no
    18853 fi
    18854 
    18855 rm -rf conftest.dSYM
    18856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18857       conftest$ac_exeext conftest.$ac_ext
    18858 fi
    18859 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5
    18860 $as_echo "$ac_cv_func_av_read_frame" >&6; }
    18861 if test "x$ac_cv_func_av_read_frame" = x""yes; then
    18862   :
    18863 else
    18864   { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5
    18865 $as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;}
    18866    { (exit 1); exit 1; }; }
    18867 fi
    18868 
    18869   { $as_echo "$as_me:$LINENO: checking for av_free" >&5
    18870 $as_echo_n "checking for av_free... " >&6; }
    18871 if test "${ac_cv_func_av_free+set}" = set; then
    18872   $as_echo_n "(cached) " >&6
    18873 else
    18874   cat >conftest.$ac_ext <<_ACEOF
    18875 /* confdefs.h.  */
    18876 _ACEOF
    18877 cat confdefs.h >>conftest.$ac_ext
    18878 cat >>conftest.$ac_ext <<_ACEOF
    18879 /* end confdefs.h.  */
    18880 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free.
    18881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18882 #define av_free innocuous_av_free
    18883 
    18884 /* System header to define __stub macros and hopefully few prototypes,
    18885     which can conflict with char av_free (); below.
    18886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18887     <limits.h> exists even on freestanding compilers.  */
    18888 
    18889 #ifdef __STDC__
    18890 # include <limits.h>
    18891 #else
    18892 # include <assert.h>
    18893 #endif
    18894 
    18895 #undef av_free
    18896 
    18897 /* Override any GCC internal prototype to avoid an error.
    18898    Use char because int might match the return type of a GCC
    18899    builtin and then its argument prototype would still apply.  */
    18900 #ifdef __cplusplus
    18901 extern "C"
    18902 #endif
    18903 char av_free ();
    18904 /* The GNU C library defines this for functions which it implements
    18905     to always fail with ENOSYS.  Some functions are actually named
    18906     something starting with __ and the normal name is an alias.  */
    18907 #if defined __stub_av_free || defined __stub___av_free
    18908 choke me
    18909 #endif
    18910 
    18911 int
    18912 main ()
    18913 {
    18914 return av_free ();
    18915   ;
    18916   return 0;
    18917 }
    18918 _ACEOF
    18919 rm -f conftest.$ac_objext conftest$ac_exeext
    18920 if { (ac_try="$ac_link"
    18921 case "(($ac_try" in
    18922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    18923   *) ac_try_echo=$ac_try;;
    18924 esac
    18925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    18926 $as_echo "$ac_try_echo") >&5
    18927   (eval "$ac_link") 2>conftest.er1
    18928   ac_status=$?
    18929   grep -v '^ *+' conftest.er1 >conftest.err
    18930   rm -f conftest.er1
    18931   cat conftest.err >&5
    18932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18933   (exit $ac_status); } && {
    18934          test -z "$ac_cxx_werror_flag" ||
    18935          test ! -s conftest.err
    18936        } && test -s conftest$ac_exeext && {
    18937          test "$cross_compiling" = yes ||
    18938          $as_test_x conftest$ac_exeext
    18939        }; then
    18940   ac_cv_func_av_free=yes
    18941 else
    18942   $as_echo "$as_me: failed program was:" >&5
    18943 sed 's/^/| /' conftest.$ac_ext >&5
    18944 
    18945         ac_cv_func_av_free=no
    18946 fi
    18947 
    18948 rm -rf conftest.dSYM
    18949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    18950       conftest$ac_exeext conftest.$ac_ext
    18951 fi
    18952 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5
    18953 $as_echo "$ac_cv_func_av_free" >&6; }
    18954 if test "x$ac_cv_func_av_free" = x""yes; then
    18955   :
    18956 else
    18957   { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5
    18958 $as_echo "$as_me: error: oops! no av_frame ?!?" >&2;}
    18959    { (exit 1); exit 1; }; }
    18960 fi
    18961 
    18962   { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5
    18963 $as_echo_n "checking for avcodec_default_release_buffer... " >&6; }
    18964 if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then
    18965   $as_echo_n "(cached) " >&6
    18966 else
    18967   cat >conftest.$ac_ext <<_ACEOF
    18968 /* confdefs.h.  */
    18969 _ACEOF
    18970 cat confdefs.h >>conftest.$ac_ext
    18971 cat >>conftest.$ac_ext <<_ACEOF
    18972 /* end confdefs.h.  */
    18973 /* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer.
    18974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    18975 #define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer
    18976 
    18977 /* System header to define __stub macros and hopefully few prototypes,
    18978     which can conflict with char avcodec_default_release_buffer (); below.
    18979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    18980     <limits.h> exists even on freestanding compilers.  */
    18981 
    18982 #ifdef __STDC__
    18983 # include <limits.h>
    18984 #else
    18985 # include <assert.h>
    18986 #endif
    18987 
    18988 #undef avcodec_default_release_buffer
    18989 
    18990 /* Override any GCC internal prototype to avoid an error.
    18991    Use char because int might match the return type of a GCC
    18992    builtin and then its argument prototype would still apply.  */
    18993 #ifdef __cplusplus
    18994 extern "C"
    18995 #endif
    18996 char avcodec_default_release_buffer ();
    18997 /* The GNU C library defines this for functions which it implements
    18998     to always fail with ENOSYS.  Some functions are actually named
    18999     something starting with __ and the normal name is an alias.  */
    19000 #if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer
    19001 choke me
    19002 #endif
    19003 
    19004 int
    19005 main ()
    19006 {
    19007 return avcodec_default_release_buffer ();
    19008   ;
    19009   return 0;
    19010 }
    19011 _ACEOF
    19012 rm -f conftest.$ac_objext conftest$ac_exeext
    19013 if { (ac_try="$ac_link"
    19014 case "(($ac_try" in
    19015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19016   *) ac_try_echo=$ac_try;;
    19017 esac
    19018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19019 $as_echo "$ac_try_echo") >&5
    19020   (eval "$ac_link") 2>conftest.er1
    19021   ac_status=$?
    19022   grep -v '^ *+' conftest.er1 >conftest.err
    19023   rm -f conftest.er1
    19024   cat conftest.err >&5
    19025   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19026   (exit $ac_status); } && {
    19027          test -z "$ac_cxx_werror_flag" ||
    19028          test ! -s conftest.err
    19029        } && test -s conftest$ac_exeext && {
    19030          test "$cross_compiling" = yes ||
    19031          $as_test_x conftest$ac_exeext
    19032        }; then
    19033   ac_cv_func_avcodec_default_release_buffer=yes
    19034 else
    19035   $as_echo "$as_me: failed program was:" >&5
    19036 sed 's/^/| /' conftest.$ac_ext >&5
    19037 
    19038         ac_cv_func_avcodec_default_release_buffer=no
    19039 fi
    19040 
    19041 rm -rf conftest.dSYM
    19042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19043       conftest$ac_exeext conftest.$ac_ext
    19044 fi
    19045 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5
    19046 $as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; }
    19047 if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then
    19048   :
    19049 else
    19050   { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5
    19051 $as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;}
    19052    { (exit 1); exit 1; }; }
    19053 fi
    19054 
    19055   { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5
    19056 $as_echo_n "checking for avpicture_get_size... " >&6; }
    19057 if test "${ac_cv_func_avpicture_get_size+set}" = set; then
    19058   $as_echo_n "(cached) " >&6
    19059 else
    19060   cat >conftest.$ac_ext <<_ACEOF
    19061 /* confdefs.h.  */
    19062 _ACEOF
    19063 cat confdefs.h >>conftest.$ac_ext
    19064 cat >>conftest.$ac_ext <<_ACEOF
    19065 /* end confdefs.h.  */
    19066 /* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size.
    19067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19068 #define avpicture_get_size innocuous_avpicture_get_size
    19069 
    19070 /* System header to define __stub macros and hopefully few prototypes,
    19071     which can conflict with char avpicture_get_size (); below.
    19072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19073     <limits.h> exists even on freestanding compilers.  */
    19074 
    19075 #ifdef __STDC__
    19076 # include <limits.h>
    19077 #else
    19078 # include <assert.h>
    19079 #endif
    19080 
    19081 #undef avpicture_get_size
    19082 
    19083 /* Override any GCC internal prototype to avoid an error.
    19084    Use char because int might match the return type of a GCC
    19085    builtin and then its argument prototype would still apply.  */
    19086 #ifdef __cplusplus
    19087 extern "C"
    19088 #endif
    19089 char avpicture_get_size ();
    19090 /* The GNU C library defines this for functions which it implements
    19091     to always fail with ENOSYS.  Some functions are actually named
    19092     something starting with __ and the normal name is an alias.  */
    19093 #if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size
    19094 choke me
    19095 #endif
    19096 
    19097 int
    19098 main ()
    19099 {
    19100 return avpicture_get_size ();
    19101   ;
    19102   return 0;
    19103 }
    19104 _ACEOF
    19105 rm -f conftest.$ac_objext conftest$ac_exeext
    19106 if { (ac_try="$ac_link"
    19107 case "(($ac_try" in
    19108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19109   *) ac_try_echo=$ac_try;;
    19110 esac
    19111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19112 $as_echo "$ac_try_echo") >&5
    19113   (eval "$ac_link") 2>conftest.er1
    19114   ac_status=$?
    19115   grep -v '^ *+' conftest.er1 >conftest.err
    19116   rm -f conftest.er1
    19117   cat conftest.err >&5
    19118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19119   (exit $ac_status); } && {
    19120          test -z "$ac_cxx_werror_flag" ||
    19121          test ! -s conftest.err
    19122        } && test -s conftest$ac_exeext && {
    19123          test "$cross_compiling" = yes ||
    19124          $as_test_x conftest$ac_exeext
    19125        }; then
    19126   ac_cv_func_avpicture_get_size=yes
    19127 else
    19128   $as_echo "$as_me: failed program was:" >&5
    19129 sed 's/^/| /' conftest.$ac_ext >&5
    19130 
    19131         ac_cv_func_avpicture_get_size=no
    19132 fi
    19133 
    19134 rm -rf conftest.dSYM
    19135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19136       conftest$ac_exeext conftest.$ac_ext
    19137 fi
    19138 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5
    19139 $as_echo "$ac_cv_func_avpicture_get_size" >&6; }
    19140 if test "x$ac_cv_func_avpicture_get_size" = x""yes; then
    19141   :
    19142 else
    19143   { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5
    19144 $as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;}
    19145    { (exit 1); exit 1; }; }
    19146 fi
    19147 
    19148   { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5
    19149 $as_echo_n "checking for avpicture_fill... " >&6; }
    19150 if test "${ac_cv_func_avpicture_fill+set}" = set; then
    19151   $as_echo_n "(cached) " >&6
    19152 else
    19153   cat >conftest.$ac_ext <<_ACEOF
    19154 /* confdefs.h.  */
    19155 _ACEOF
    19156 cat confdefs.h >>conftest.$ac_ext
    19157 cat >>conftest.$ac_ext <<_ACEOF
    19158 /* end confdefs.h.  */
    19159 /* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill.
    19160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19161 #define avpicture_fill innocuous_avpicture_fill
    19162 
    19163 /* System header to define __stub macros and hopefully few prototypes,
    19164     which can conflict with char avpicture_fill (); below.
    19165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19166     <limits.h> exists even on freestanding compilers.  */
    19167 
    19168 #ifdef __STDC__
    19169 # include <limits.h>
    19170 #else
    19171 # include <assert.h>
    19172 #endif
    19173 
    19174 #undef avpicture_fill
    19175 
    19176 /* Override any GCC internal prototype to avoid an error.
    19177    Use char because int might match the return type of a GCC
    19178    builtin and then its argument prototype would still apply.  */
    19179 #ifdef __cplusplus
    19180 extern "C"
    19181 #endif
    19182 char avpicture_fill ();
    19183 /* The GNU C library defines this for functions which it implements
    19184     to always fail with ENOSYS.  Some functions are actually named
    19185     something starting with __ and the normal name is an alias.  */
    19186 #if defined __stub_avpicture_fill || defined __stub___avpicture_fill
    19187 choke me
    19188 #endif
    19189 
    19190 int
    19191 main ()
    19192 {
    19193 return avpicture_fill ();
    19194   ;
    19195   return 0;
    19196 }
    19197 _ACEOF
    19198 rm -f conftest.$ac_objext conftest$ac_exeext
    19199 if { (ac_try="$ac_link"
    19200 case "(($ac_try" in
    19201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19202   *) ac_try_echo=$ac_try;;
    19203 esac
    19204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19205 $as_echo "$ac_try_echo") >&5
    19206   (eval "$ac_link") 2>conftest.er1
    19207   ac_status=$?
    19208   grep -v '^ *+' conftest.er1 >conftest.err
    19209   rm -f conftest.er1
    19210   cat conftest.err >&5
    19211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19212   (exit $ac_status); } && {
    19213          test -z "$ac_cxx_werror_flag" ||
    19214          test ! -s conftest.err
    19215        } && test -s conftest$ac_exeext && {
    19216          test "$cross_compiling" = yes ||
    19217          $as_test_x conftest$ac_exeext
    19218        }; then
    19219   ac_cv_func_avpicture_fill=yes
    19220 else
    19221   $as_echo "$as_me: failed program was:" >&5
    19222 sed 's/^/| /' conftest.$ac_ext >&5
    19223 
    19224         ac_cv_func_avpicture_fill=no
    19225 fi
    19226 
    19227 rm -rf conftest.dSYM
    19228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19229       conftest$ac_exeext conftest.$ac_ext
    19230 fi
    19231 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5
    19232 $as_echo "$ac_cv_func_avpicture_fill" >&6; }
    19233 if test "x$ac_cv_func_avpicture_fill" = x""yes; then
    19234   :
    19235 else
    19236   { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5
    19237 $as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;}
    19238    { (exit 1); exit 1; }; }
    19239 fi
    19240 
    19241 
    19242 for ac_func in sws_getCachedContext
    19243 do
    19244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19245 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19246 $as_echo_n "checking for $ac_func... " >&6; }
    19247 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19248   $as_echo_n "(cached) " >&6
    19249 else
    19250   cat >conftest.$ac_ext <<_ACEOF
    19251 /* confdefs.h.  */
    19252 _ACEOF
    19253 cat confdefs.h >>conftest.$ac_ext
    19254 cat >>conftest.$ac_ext <<_ACEOF
    19255 /* end confdefs.h.  */
    19256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19258 #define $ac_func innocuous_$ac_func
    19259 
    19260 /* System header to define __stub macros and hopefully few prototypes,
    19261     which can conflict with char $ac_func (); below.
    19262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19263     <limits.h> exists even on freestanding compilers.  */
    19264 
    19265 #ifdef __STDC__
    19266 # include <limits.h>
    19267 #else
    19268 # include <assert.h>
    19269 #endif
    19270 
    19271 #undef $ac_func
    19272 
    19273 /* Override any GCC internal prototype to avoid an error.
    19274    Use char because int might match the return type of a GCC
    19275    builtin and then its argument prototype would still apply.  */
    19276 #ifdef __cplusplus
    19277 extern "C"
    19278 #endif
    19279 char $ac_func ();
    19280 /* The GNU C library defines this for functions which it implements
    19281     to always fail with ENOSYS.  Some functions are actually named
    19282     something starting with __ and the normal name is an alias.  */
    19283 #if defined __stub_$ac_func || defined __stub___$ac_func
    19284 choke me
    19285 #endif
    19286 
    19287 int
    19288 main ()
    19289 {
    19290 return $ac_func ();
    19291   ;
    19292   return 0;
    19293 }
    19294 _ACEOF
    19295 rm -f conftest.$ac_objext conftest$ac_exeext
    19296 if { (ac_try="$ac_link"
    19297 case "(($ac_try" in
    19298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19299   *) ac_try_echo=$ac_try;;
    19300 esac
    19301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19302 $as_echo "$ac_try_echo") >&5
    19303   (eval "$ac_link") 2>conftest.er1
    19304   ac_status=$?
    19305   grep -v '^ *+' conftest.er1 >conftest.err
    19306   rm -f conftest.er1
    19307   cat conftest.err >&5
    19308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19309   (exit $ac_status); } && {
    19310          test -z "$ac_cxx_werror_flag" ||
    19311          test ! -s conftest.err
    19312        } && test -s conftest$ac_exeext && {
    19313          test "$cross_compiling" = yes ||
    19314          $as_test_x conftest$ac_exeext
    19315        }; then
    19316   eval "$as_ac_var=yes"
    19317 else
    19318   $as_echo "$as_me: failed program was:" >&5
    19319 sed 's/^/| /' conftest.$ac_ext >&5
    19320 
    19321         eval "$as_ac_var=no"
    19322 fi
    19323 
    19324 rm -rf conftest.dSYM
    19325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19326       conftest$ac_exeext conftest.$ac_ext
    19327 fi
    19328 ac_res=`eval 'as_val=${'$as_ac_var'}
    19329                  $as_echo "$as_val"'`
    19330                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19331 $as_echo "$ac_res" >&6; }
    19332 as_val=`eval 'as_val=${'$as_ac_var'}
    19333                  $as_echo "$as_val"'`
    19334    if test "x$as_val" = x""yes; then
     9952#define HAVE_AVFORMAT_CLOSE_INPUT 1
     9953_ACEOF
     9954
     9955fi
     9956done
     9957
     9958
     9959  ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"
     9960if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then :
     9961
     9962else
     9963  as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
     9964fi
     9965
     9966  ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame"
     9967if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then :
     9968
     9969else
     9970  as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5
     9971fi
     9972
     9973  ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"
     9974if test "x$ac_cv_func_av_rescale_q" = xyes; then :
     9975
     9976else
     9977  as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
     9978fi
     9979
     9980  ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame"
     9981if test "x$ac_cv_func_av_read_frame" = xyes; then :
     9982
     9983else
     9984  as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5
     9985fi
     9986
     9987  ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"
     9988if test "x$ac_cv_func_av_free" = xyes; then :
     9989
     9990else
     9991  as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5
     9992fi
     9993
     9994  ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer"
     9995if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then :
     9996
     9997else
     9998  as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5
     9999fi
     10000
     10001  ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size"
     10002if test "x$ac_cv_func_avpicture_get_size" = xyes; then :
     10003
     10004else
     10005  as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5
     10006fi
     10007
     10008  ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill"
     10009if test "x$ac_cv_func_avpicture_fill" = xyes; then :
     10010
     10011else
     10012  as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5
     10013fi
     10014
     10015  for ac_func in sws_getCachedContext
     10016do :
     10017  ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
     10018if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
    1933510019  cat >>confdefs.h <<_ACEOF
    19336 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19337 _ACEOF
    19338 
    19339 fi
    19340 done
    19341 
    19342 
    19343 for ac_func in img_convert
    19344 do
    19345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19346 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19347 $as_echo_n "checking for $ac_func... " >&6; }
    19348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19349   $as_echo_n "(cached) " >&6
    19350 else
    19351   cat >conftest.$ac_ext <<_ACEOF
    19352 /* confdefs.h.  */
    19353 _ACEOF
    19354 cat confdefs.h >>conftest.$ac_ext
    19355 cat >>conftest.$ac_ext <<_ACEOF
    19356 /* end confdefs.h.  */
    19357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19359 #define $ac_func innocuous_$ac_func
    19360 
    19361 /* System header to define __stub macros and hopefully few prototypes,
    19362     which can conflict with char $ac_func (); below.
    19363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19364     <limits.h> exists even on freestanding compilers.  */
    19365 
    19366 #ifdef __STDC__
    19367 # include <limits.h>
    19368 #else
    19369 # include <assert.h>
    19370 #endif
    19371 
    19372 #undef $ac_func
    19373 
    19374 /* Override any GCC internal prototype to avoid an error.
    19375    Use char because int might match the return type of a GCC
    19376    builtin and then its argument prototype would still apply.  */
    19377 #ifdef __cplusplus
    19378 extern "C"
    19379 #endif
    19380 char $ac_func ();
    19381 /* The GNU C library defines this for functions which it implements
    19382     to always fail with ENOSYS.  Some functions are actually named
    19383     something starting with __ and the normal name is an alias.  */
    19384 #if defined __stub_$ac_func || defined __stub___$ac_func
    19385 choke me
    19386 #endif
    19387 
    19388 int
    19389 main ()
    19390 {
    19391 return $ac_func ();
    19392   ;
    19393   return 0;
    19394 }
    19395 _ACEOF
    19396 rm -f conftest.$ac_objext conftest$ac_exeext
    19397 if { (ac_try="$ac_link"
    19398 case "(($ac_try" in
    19399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19400   *) ac_try_echo=$ac_try;;
    19401 esac
    19402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19403 $as_echo "$ac_try_echo") >&5
    19404   (eval "$ac_link") 2>conftest.er1
    19405   ac_status=$?
    19406   grep -v '^ *+' conftest.er1 >conftest.err
    19407   rm -f conftest.er1
    19408   cat conftest.err >&5
    19409   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19410   (exit $ac_status); } && {
    19411          test -z "$ac_cxx_werror_flag" ||
    19412          test ! -s conftest.err
    19413        } && test -s conftest$ac_exeext && {
    19414          test "$cross_compiling" = yes ||
    19415          $as_test_x conftest$ac_exeext
    19416        }; then
    19417   eval "$as_ac_var=yes"
    19418 else
    19419   $as_echo "$as_me: failed program was:" >&5
    19420 sed 's/^/| /' conftest.$ac_ext >&5
    19421 
    19422         eval "$as_ac_var=no"
    19423 fi
    19424 
    19425 rm -rf conftest.dSYM
    19426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19427       conftest$ac_exeext conftest.$ac_ext
    19428 fi
    19429 ac_res=`eval 'as_val=${'$as_ac_var'}
    19430                  $as_echo "$as_val"'`
    19431                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19432 $as_echo "$ac_res" >&6; }
    19433 as_val=`eval 'as_val=${'$as_ac_var'}
    19434                  $as_echo "$as_val"'`
    19435    if test "x$as_val" = x""yes; then
     10020#define HAVE_SWS_GETCACHEDCONTEXT 1
     10021_ACEOF
     10022
     10023fi
     10024done
     10025
     10026  for ac_func in img_convert
     10027do :
     10028  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     10029if test "x$ac_cv_func_img_convert" = xyes; then :
    1943610030  cat >>confdefs.h <<_ACEOF
    19437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19438 _ACEOF
    19439 
    19440 fi
    19441 done
    19442 
    19443 
    19444 for ac_func in sws_scale
    19445 do
    19446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    19447 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    19448 $as_echo_n "checking for $ac_func... " >&6; }
    19449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    19450   $as_echo_n "(cached) " >&6
    19451 else
    19452   cat >conftest.$ac_ext <<_ACEOF
    19453 /* confdefs.h.  */
    19454 _ACEOF
    19455 cat confdefs.h >>conftest.$ac_ext
    19456 cat >>conftest.$ac_ext <<_ACEOF
    19457 /* end confdefs.h.  */
    19458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    19459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    19460 #define $ac_func innocuous_$ac_func
    19461 
    19462 /* System header to define __stub macros and hopefully few prototypes,
    19463     which can conflict with char $ac_func (); below.
    19464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    19465     <limits.h> exists even on freestanding compilers.  */
    19466 
    19467 #ifdef __STDC__
    19468 # include <limits.h>
    19469 #else
    19470 # include <assert.h>
    19471 #endif
    19472 
    19473 #undef $ac_func
    19474 
    19475 /* Override any GCC internal prototype to avoid an error.
    19476    Use char because int might match the return type of a GCC
    19477    builtin and then its argument prototype would still apply.  */
    19478 #ifdef __cplusplus
    19479 extern "C"
    19480 #endif
    19481 char $ac_func ();
    19482 /* The GNU C library defines this for functions which it implements
    19483     to always fail with ENOSYS.  Some functions are actually named
    19484     something starting with __ and the normal name is an alias.  */
    19485 #if defined __stub_$ac_func || defined __stub___$ac_func
    19486 choke me
    19487 #endif
    19488 
    19489 int
    19490 main ()
    19491 {
    19492 return $ac_func ();
    19493   ;
    19494   return 0;
    19495 }
    19496 _ACEOF
    19497 rm -f conftest.$ac_objext conftest$ac_exeext
    19498 if { (ac_try="$ac_link"
    19499 case "(($ac_try" in
    19500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19501   *) ac_try_echo=$ac_try;;
    19502 esac
    19503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19504 $as_echo "$ac_try_echo") >&5
    19505   (eval "$ac_link") 2>conftest.er1
    19506   ac_status=$?
    19507   grep -v '^ *+' conftest.er1 >conftest.err
    19508   rm -f conftest.er1
    19509   cat conftest.err >&5
    19510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19511   (exit $ac_status); } && {
    19512          test -z "$ac_cxx_werror_flag" ||
    19513          test ! -s conftest.err
    19514        } && test -s conftest$ac_exeext && {
    19515          test "$cross_compiling" = yes ||
    19516          $as_test_x conftest$ac_exeext
    19517        }; then
    19518   eval "$as_ac_var=yes"
    19519 else
    19520   $as_echo "$as_me: failed program was:" >&5
    19521 sed 's/^/| /' conftest.$ac_ext >&5
    19522 
    19523         eval "$as_ac_var=no"
    19524 fi
    19525 
    19526 rm -rf conftest.dSYM
    19527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    19528       conftest$ac_exeext conftest.$ac_ext
    19529 fi
    19530 ac_res=`eval 'as_val=${'$as_ac_var'}
    19531                  $as_echo "$as_val"'`
    19532                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    19533 $as_echo "$ac_res" >&6; }
    19534 as_val=`eval 'as_val=${'$as_ac_var'}
    19535                  $as_echo "$as_val"'`
    19536    if test "x$as_val" = x""yes; then
     10031#define HAVE_IMG_CONVERT 1
     10032_ACEOF
     10033
     10034fi
     10035done
     10036
     10037  for ac_func in sws_scale
     10038do :
     10039  ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
     10040if test "x$ac_cv_func_sws_scale" = xyes; then :
    1953710041  cat >>confdefs.h <<_ACEOF
    19538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    19539 _ACEOF
    19540 
    19541 fi
    19542 done
    19543 
    19544   cat >conftest.$ac_ext <<_ACEOF
    19545 /* confdefs.h.  */
    19546 _ACEOF
    19547 cat confdefs.h >>conftest.$ac_ext
    19548 cat >>conftest.$ac_ext <<_ACEOF
     10042#define HAVE_SWS_SCALE 1
     10043_ACEOF
     10044
     10045fi
     10046done
     10047
     10048  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1954910049/* end confdefs.h.  */
    1955010050
     
    1956710067}
    1956810068_ACEOF
    19569 rm -f conftest.$ac_objext
    19570 if { (ac_try="$ac_compile"
    19571 case "(($ac_try" in
    19572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    19573   *) ac_try_echo=$ac_try;;
    19574 esac
    19575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    19576 $as_echo "$ac_try_echo") >&5
    19577   (eval "$ac_compile") 2>conftest.er1
    19578   ac_status=$?
    19579   grep -v '^ *+' conftest.er1 >conftest.err
    19580   rm -f conftest.er1
    19581   cat conftest.err >&5
    19582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    19583   (exit $ac_status); } && {
    19584          test -z "$ac_cxx_werror_flag" ||
    19585          test ! -s conftest.err
    19586        } && test -s conftest.$ac_objext; then
     10069if ac_fn_cxx_try_compile "$LINENO"; then :
    1958710070  ac_avmedia_type_video="yes"
    1958810071else
    19589   $as_echo "$as_me: failed program was:" >&5
    19590 sed 's/^/| /' conftest.$ac_ext >&5
    19591 
    19592         ac_avmedia_type_video="no"
    19593 fi
    19594 
     10072  ac_avmedia_type_video="no"
     10073fi
    1959510074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1959610075  if test "$ac_avmedia_type_video" == "yes" ; then
    1959710076
    19598 cat >>confdefs.h <<\_ACEOF
    19599 #define HAVE_AVMEDIA_TYPE_VIDEO 1
    19600 _ACEOF
     10077$as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
    1960110078
    1960210079  fi
    1960310080fi
     10081
    1960410082
    1960510083
     
    1972310201    *${as_nl}*)
    1972410202      case $ac_var in #(
    19725       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     10203      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    1972610204$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    1972710205      esac
     
    1972910207      _ | IFS | as_nl) ;; #(
    1973010208      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    19731       *) $as_unset $ac_var ;;
     10209      *) { eval $ac_var=; unset $ac_var;} ;;
    1973210210      esac ;;
    1973310211    esac
     
    1973710215    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    1973810216    *${as_nl}ac_space=\ *)
    19739       # `set' does not quote correctly, so add quotes (double-quote
    19740       # substitution turns \\\\ into \\, and sed turns \\ into \).
     10217      # `set' does not quote correctly, so add quotes: double-quote
     10218      # substitution turns \\\\ into \\, and sed turns \\ into \.
    1974110219      sed -n \
    1974210220        "s/'/'\\\\''/g;
     
    1976010238if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    1976110239  if test -w "$cache_file"; then
    19762     test "x$cache_file" != "x/dev/null" &&
    19763       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     10240    if test "x$cache_file" != "x/dev/null"; then
     10241      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    1976410242$as_echo "$as_me: updating cache $cache_file" >&6;}
    19765     cat confcache >$cache_file
     10243      if test ! -f "$cache_file" || test -h "$cache_file"; then
     10244        cat confcache >"$cache_file"
     10245      else
     10246        case $cache_file in #(
     10247        */* | ?:*)
     10248          mv -f confcache "$cache_file"$$ &&
     10249          mv -f "$cache_file"$$ "$cache_file" ;; #(
     10250        *)
     10251          mv -f confcache "$cache_file" ;;
     10252        esac
     10253      fi
     10254    fi
    1976610255  else
    19767     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     10256    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    1976810257$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    1976910258  fi
     
    1977910268ac_libobjs=
    1978010269ac_ltlibobjs=
     10270U=
    1978110271for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    1978210272  # 1. Remove the extension, and $U if already installed.
     
    1978510275  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    1978610276  #    will be set to the directory where LIBOBJS objects are built.
    19787   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    19788   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     10277  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     10278  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    1978910279done
    1979010280LIBOBJS=$ac_libobjs
     
    1979510285
    1979610286
    19797 : ${CONFIG_STATUS=./config.status}
     10287: "${CONFIG_STATUS=./config.status}"
    1979810288ac_write_fail=0
    1979910289ac_clean_files_save=$ac_clean_files
    1980010290ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    19801 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     10291{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    1980210292$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    19803 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10293as_write_fail=0
     10294cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    1980410295#! $SHELL
    1980510296# Generated by $as_me.
     
    1981110302ac_cs_recheck=false
    1981210303ac_cs_silent=false
     10304
    1981310305SHELL=\${CONFIG_SHELL-$SHELL}
    19814 _ACEOF
    19815 
    19816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    19817 ## --------------------- ##
    19818 ## M4sh Initialization.  ##
    19819 ## --------------------- ##
     10306export SHELL
     10307_ASEOF
     10308cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     10309## -------------------- ##
     10310## M4sh Initialization. ##
     10311## -------------------- ##
    1982010312
    1982110313# Be more Bourne compatible
    1982210314DUALCASE=1; export DUALCASE # for MKS sh
    19823 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     10315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1982410316  emulate sh
    1982510317  NULLCMD=:
     
    1982910321  setopt NO_GLOB_SUBST
    1983010322else
    19831   case `(set -o) 2>/dev/null` in
    19832   *posix*) set -o posix ;;
     10323  case `(set -o) 2>/dev/null` in #(
     10324  *posix*) :
     10325    set -o posix ;; #(
     10326  *) :
     10327     ;;
    1983310328esac
    19834 
    19835 fi
    19836 
    19837 
    19838 
    19839 
    19840 # PATH needs CR
    19841 # Avoid depending upon Character Ranges.
    19842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    19843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    19844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    19845 as_cr_digits='0123456789'
    19846 as_cr_alnum=$as_cr_Letters$as_cr_digits
     10329fi
     10330
    1984710331
    1984810332as_nl='
     
    1985310337as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1985410338as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    19855 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     10339# Prefer a ksh shell builtin over an external printf program on Solaris,
     10340# but without wasting forks for bash or zsh.
     10341if test -z "$BASH_VERSION$ZSH_VERSION" \
     10342    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     10343  as_echo='print -r --'
     10344  as_echo_n='print -rn --'
     10345elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1985610346  as_echo='printf %s\n'
    1985710347  as_echo_n='printf %s'
     
    1986410354    as_echo_n_body='eval
    1986510355      arg=$1;
    19866       case $arg in
     10356      case $arg in #(
    1986710357      *"$as_nl"*)
    1986810358        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    1988710377fi
    1988810378
    19889 # Support unset when possible.
    19890 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    19891   as_unset=unset
    19892 else
    19893   as_unset=false
    19894 fi
    19895 
    1989610379
    1989710380# IFS
     
    1990310386
    1990410387# Find who we are.  Look in the path if we contain no directory separator.
    19905 case $0 in
     10388as_myself=
     10389case $0 in #((
    1990610390  *[\\/]* ) as_myself=$0 ;;
    1990710391  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    1991010394  IFS=$as_save_IFS
    1991110395  test -z "$as_dir" && as_dir=.
    19912   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    19913 done
     10396    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     10397  done
    1991410398IFS=$as_save_IFS
    1991510399
     
    1992310407if test ! -f "$as_myself"; then
    1992410408  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    19925   { (exit 1); exit 1; }
    19926 fi
    19927 
    19928 # Work around bugs in pre-3.0 UWIN ksh.
    19929 for as_var in ENV MAIL MAILPATH
    19930 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     10409  exit 1
     10410fi
     10411
     10412# Unset variables that we do not need and which cause bugs (e.g. in
     10413# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     10414# suppresses any "Segmentation fault" message there.  '((' could
     10415# trigger a bug in pdksh 5.2.14.
     10416for as_var in BASH_ENV ENV MAIL MAILPATH
     10417do eval test x\${$as_var+set} = xset \
     10418  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    1993110419done
    1993210420PS1='$ '
     
    1994010428export LANGUAGE
    1994110429
    19942 # Required to use basename.
     10430# CDPATH.
     10431(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     10432
     10433
     10434# as_fn_error STATUS ERROR [LINENO LOG_FD]
     10435# ----------------------------------------
     10436# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     10437# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     10438# script with STATUS, using 1 if that was 0.
     10439as_fn_error ()
     10440{
     10441  as_status=$1; test $as_status -eq 0 && as_status=1
     10442  if test "$4"; then
     10443    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     10444    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     10445  fi
     10446  $as_echo "$as_me: error: $2" >&2
     10447  as_fn_exit $as_status
     10448} # as_fn_error
     10449
     10450
     10451# as_fn_set_status STATUS
     10452# -----------------------
     10453# Set $? to STATUS, without forking.
     10454as_fn_set_status ()
     10455{
     10456  return $1
     10457} # as_fn_set_status
     10458
     10459# as_fn_exit STATUS
     10460# -----------------
     10461# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     10462as_fn_exit ()
     10463{
     10464  set +e
     10465  as_fn_set_status $1
     10466  exit $1
     10467} # as_fn_exit
     10468
     10469# as_fn_unset VAR
     10470# ---------------
     10471# Portably unset VAR.
     10472as_fn_unset ()
     10473{
     10474  { eval $1=; unset $1;}
     10475}
     10476as_unset=as_fn_unset
     10477# as_fn_append VAR VALUE
     10478# ----------------------
     10479# Append the text in VALUE to the end of the definition contained in VAR. Take
     10480# advantage of any shell optimizations that allow amortized linear growth over
     10481# repeated appends, instead of the typical quadratic growth present in naive
     10482# implementations.
     10483if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     10484  eval 'as_fn_append ()
     10485  {
     10486    eval $1+=\$2
     10487  }'
     10488else
     10489  as_fn_append ()
     10490  {
     10491    eval $1=\$$1\$2
     10492  }
     10493fi # as_fn_append
     10494
     10495# as_fn_arith ARG...
     10496# ------------------
     10497# Perform arithmetic evaluation on the ARGs, and store the result in the
     10498# global $as_val. Take advantage of shells that can avoid forks. The arguments
     10499# must be portable across $(()) and expr.
     10500if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     10501  eval 'as_fn_arith ()
     10502  {
     10503    as_val=$(( $* ))
     10504  }'
     10505else
     10506  as_fn_arith ()
     10507  {
     10508    as_val=`expr "$@" || test $? -eq 1`
     10509  }
     10510fi # as_fn_arith
     10511
     10512
    1994310513if expr a : '\(a\)' >/dev/null 2>&1 &&
    1994410514   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    1995410524fi
    1995510525
    19956 
    19957 # Name of the executable.
     10526if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     10527  as_dirname=dirname
     10528else
     10529  as_dirname=false
     10530fi
     10531
    1995810532as_me=`$as_basename -- "$0" ||
    1995910533$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    1997510549          s/.*/./; q'`
    1997610550
    19977 # CDPATH.
    19978 $as_unset CDPATH
    19979 
    19980 
    19981 
    19982   as_lineno_1=$LINENO
    19983   as_lineno_2=$LINENO
    19984   test "x$as_lineno_1" != "x$as_lineno_2" &&
    19985   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    19986 
    19987   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    19988   # uniformly replaced by the line number.  The first 'sed' inserts a
    19989   # line-number line after each line using $LINENO; the second 'sed'
    19990   # does the real work.  The second script uses 'N' to pair each
    19991   # line-number line with the line containing $LINENO, and appends
    19992   # trailing '-' during substitution so that $LINENO is not a special
    19993   # case at line end.
    19994   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    19995   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    19996   # E. McMahon (1931-1989) for sed's syntax.  :-)
    19997   sed -n '
    19998     p
    19999     /[$]LINENO/=
    20000   ' <$as_myself |
    20001     sed '
    20002       s/[$]LINENO.*/&-/
    20003       t lineno
    20004       b
    20005       :lineno
    20006       N
    20007       :loop
    20008       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    20009       t loop
    20010       s/-\n.*//
    20011     ' >$as_me.lineno &&
    20012   chmod +x "$as_me.lineno" ||
    20013     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    20014    { (exit 1); exit 1; }; }
    20015 
    20016   # Don't try to exec as it changes $[0], causing all sort of problems
    20017   # (the dirname of $[0] is not the place where we might find the
    20018   # original and so on.  Autoconf is especially sensitive to this).
    20019   . "./$as_me.lineno"
    20020   # Exit status is that of the last command.
    20021   exit
    20022 }
    20023 
    20024 
    20025 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    20026   as_dirname=dirname
    20027 else
    20028   as_dirname=false
    20029 fi
     10551# Avoid depending upon Character Ranges.
     10552as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     10553as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     10554as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     10555as_cr_digits='0123456789'
     10556as_cr_alnum=$as_cr_Letters$as_cr_digits
    2003010557
    2003110558ECHO_C= ECHO_N= ECHO_T=
    20032 case `echo -n x` in
     10559case `echo -n x` in #(((((
    2003310560-n*)
    20034   case `echo 'x\c'` in
     10561  case `echo 'xy\c'` in
    2003510562  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    20036   *)   ECHO_C='\c';;
     10563  xy)  ECHO_C='\c';;
     10564  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     10565       ECHO_T=' ';;
    2003710566  esac;;
    2003810567*)
    2003910568  ECHO_N='-n';;
    2004010569esac
    20041 if expr a : '\(a\)' >/dev/null 2>&1 &&
    20042    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    20043   as_expr=expr
    20044 else
    20045   as_expr=false
    20046 fi
    2004710570
    2004810571rm -f conf$$ conf$$.exe conf$$.file
     
    2005910582    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    2006010583    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    20061     # In both cases, we have to default to `cp -p'.
     10584    # In both cases, we have to default to `cp -pR'.
    2006210585    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    20063       as_ln_s='cp -p'
     10586      as_ln_s='cp -pR'
    2006410587  elif ln conf$$.file conf$$ 2>/dev/null; then
    2006510588    as_ln_s=ln
    2006610589  else
    20067     as_ln_s='cp -p'
     10590    as_ln_s='cp -pR'
    2006810591  fi
    2006910592else
    20070   as_ln_s='cp -p'
     10593  as_ln_s='cp -pR'
    2007110594fi
    2007210595rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    2007310596rmdir conf$$.dir 2>/dev/null
    2007410597
     10598
     10599# as_fn_mkdir_p
     10600# -------------
     10601# Create "$as_dir" as a directory, including parents if necessary.
     10602as_fn_mkdir_p ()
     10603{
     10604
     10605  case $as_dir in #(
     10606  -*) as_dir=./$as_dir;;
     10607  esac
     10608  test -d "$as_dir" || eval $as_mkdir_p || {
     10609    as_dirs=
     10610    while :; do
     10611      case $as_dir in #(
     10612      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10613      *) as_qdir=$as_dir;;
     10614      esac
     10615      as_dirs="'$as_qdir' $as_dirs"
     10616      as_dir=`$as_dirname -- "$as_dir" ||
     10617$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     10618         X"$as_dir" : 'X\(//\)[^/]' \| \
     10619         X"$as_dir" : 'X\(//\)$' \| \
     10620         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     10621$as_echo X"$as_dir" |
     10622    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     10623            s//\1/
     10624            q
     10625          }
     10626          /^X\(\/\/\)[^/].*/{
     10627            s//\1/
     10628            q
     10629          }
     10630          /^X\(\/\/\)$/{
     10631            s//\1/
     10632            q
     10633          }
     10634          /^X\(\/\).*/{
     10635            s//\1/
     10636            q
     10637          }
     10638          s/.*/./; q'`
     10639      test -d "$as_dir" && break
     10640    done
     10641    test -z "$as_dirs" || eval "mkdir $as_dirs"
     10642  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     10643
     10644
     10645} # as_fn_mkdir_p
    2007510646if mkdir -p . 2>/dev/null; then
    20076   as_mkdir_p=:
     10647  as_mkdir_p='mkdir -p "$as_dir"'
    2007710648else
    2007810649  test -d ./-p && rmdir ./-p
     
    2008010651fi
    2008110652
    20082 if test -x / >/dev/null 2>&1; then
    20083   as_test_x='test -x'
    20084 else
    20085   if ls -dL / >/dev/null 2>&1; then
    20086     as_ls_L_option=L
    20087   else
    20088     as_ls_L_option=
    20089   fi
    20090   as_test_x='
    20091     eval sh -c '\''
    20092       if test -d "$1"; then
    20093         test -d "$1/.";
    20094       else
    20095         case $1 in
    20096         -*)set "./$1";;
    20097         esac;
    20098         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    20099         ???[sx]*):;;*)false;;esac;fi
    20100     '\'' sh
    20101   '
    20102 fi
    20103 as_executable_p=$as_test_x
     10653
     10654# as_fn_executable_p FILE
     10655# -----------------------
     10656# Test if FILE is an executable regular file.
     10657as_fn_executable_p ()
     10658{
     10659  test -f "$1" && test -x "$1"
     10660} # as_fn_executable_p
     10661as_test_x='test -x'
     10662as_executable_p=as_fn_executable_p
    2010410663
    2010510664# Sed expression to map a string onto a valid CPP name.
     
    2011110670
    2011210671exec 6>&1
    20113 
    20114 # Save the log message, to keep $[0] and so on meaningful, and to
     10672## ----------------------------------- ##
     10673## Main body of $CONFIG_STATUS script. ##
     10674## ----------------------------------- ##
     10675_ASEOF
     10676test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     10677
     10678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10679# Save the log message, to keep $0 and so on meaningful, and to
    2011510680# report actual input values of CONFIG_FILES etc. instead of their
    2011610681# values after options handling.
    2011710682ac_log="
    2011810683This file was extended by Rappture $as_me 1.2, which was
    20119 generated by GNU Autoconf 2.63.  Invocation command line was
     10684generated by GNU Autoconf 2.69.  Invocation command line was
    2012010685
    2012110686  CONFIG_FILES    = $CONFIG_FILES
     
    2014810713cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    2014910714ac_cs_usage="\
    20150 \`$as_me' instantiates files from templates according to the
    20151 current configuration.
    20152 
    20153 Usage: $0 [OPTION]... [FILE]...
     10715\`$as_me' instantiates files and other configuration actions
     10716from templates according to the current configuration.  Unless the files
     10717and actions are specified as TAGs, all are instantiated by default.
     10718
     10719Usage: $0 [OPTION]... [TAG]...
    2015410720
    2015510721  -h, --help       print this help, then exit
    2015610722  -V, --version    print version number and configuration settings, then exit
     10723      --config     print configuration, then exit
    2015710724  -q, --quiet, --silent
    2015810725                   do not print progress messages
     
    2017010737$config_headers
    2017110738
    20172 Report bugs to <bug-autoconf@gnu.org>."
     10739Report bugs to <rappture@nanohub.org>."
    2017310740
    2017410741_ACEOF
    2017510742cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10743ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    2017610744ac_cs_version="\\
    2017710745Rappture config.status 1.2
    20178 configured by $0, generated by GNU Autoconf 2.63,
    20179   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    20180 
    20181 Copyright (C) 2008 Free Software Foundation, Inc.
     10746configured by $0, generated by GNU Autoconf 2.69,
     10747  with options \\"\$ac_cs_config\\"
     10748
     10749Copyright (C) 2012 Free Software Foundation, Inc.
    2018210750This config.status script is free software; the Free Software Foundation
    2018310751gives unlimited permission to copy, distribute and modify it."
     
    2018710755INSTALL='$INSTALL'
    2018810756MKDIR_P='$MKDIR_P'
    20189 AWK='$AWK'
    2019010757test -n "\$AWK" || AWK=awk
    2019110758_ACEOF
     
    2019710764do
    2019810765  case $1 in
    20199   --*=*)
     10766  --*=?*)
    2020010767    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    2020110768    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     10769    ac_shift=:
     10770    ;;
     10771  --*=)
     10772    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     10773    ac_optarg=
    2020210774    ac_shift=:
    2020310775    ;;
     
    2021510787  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    2021610788    $as_echo "$ac_cs_version"; exit ;;
     10789  --config | --confi | --conf | --con | --co | --c )
     10790    $as_echo "$ac_cs_config"; exit ;;
    2021710791  --debug | --debu | --deb | --de | --d | -d )
    2021810792    debug=: ;;
     
    2022110795    case $ac_optarg in
    2022210796    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10797    '') as_fn_error $? "missing file argument" ;;
    2022310798    esac
    20224     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     10799    as_fn_append CONFIG_FILES " '$ac_optarg'"
    2022510800    ac_need_defaults=false;;
    2022610801  --header | --heade | --head | --hea )
     
    2022910804    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    2023010805    esac
    20231     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     10806    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    2023210807    ac_need_defaults=false;;
    2023310808  --he | --h)
    2023410809    # Conflict between --help and --header
    20235     { $as_echo "$as_me: error: ambiguous option: $1
    20236 Try \`$0 --help' for more information." >&2
    20237    { (exit 1); exit 1; }; };;
     10810    as_fn_error $? "ambiguous option: \`$1'
     10811Try \`$0 --help' for more information.";;
    2023810812  --help | --hel | -h )
    2023910813    $as_echo "$ac_cs_usage"; exit ;;
     
    2024310817
    2024410818  # This is an error.
    20245   -*) { $as_echo "$as_me: error: unrecognized option: $1
    20246 Try \`$0 --help' for more information." >&2
    20247    { (exit 1); exit 1; }; } ;;
    20248 
    20249   *) ac_config_targets="$ac_config_targets $1"
     10819  -*) as_fn_error $? "unrecognized option: \`$1'
     10820Try \`$0 --help' for more information." ;;
     10821
     10822  *) as_fn_append ac_config_targets " $1"
    2025010823     ac_need_defaults=false ;;
    2025110824
     
    2026410837cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2026510838if \$ac_cs_recheck; then
    20266   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     10839  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    2026710840  shift
    2026810841  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    2042711000    "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;;
    2042811001
    20429   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    20430 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    20431    { (exit 1); exit 1; }; };;
     11002  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    2043211003  esac
    2043311004done
     
    2045111022$debug ||
    2045211023{
    20453   tmp=
     11024  tmp= ac_tmp=
    2045411025  trap 'exit_status=$?
    20455   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     11026  : "${ac_tmp:=$tmp}"
     11027  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    2045611028' 0
    20457   trap '{ (exit 1); exit 1; }' 1 2 13 15
     11029  trap 'as_fn_exit 1' 1 2 13 15
    2045811030}
    2045911031# Create a (secure) tmp directory for tmp files.
     
    2046111033{
    2046211034  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    20463   test -n "$tmp" && test -d "$tmp"
     11035  test -d "$tmp"
    2046411036}  ||
    2046511037{
    2046611038  tmp=./conf$$-$RANDOM
    2046711039  (umask 077 && mkdir "$tmp")
    20468 } ||
    20469 {
    20470    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    20471    { (exit 1); exit 1; }
    20472 }
     11040} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     11041ac_tmp=$tmp
    2047311042
    2047411043# Set up the scripts for CONFIG_FILES section.
     
    2047811047
    2047911048
    20480 ac_cr='
    20481 '
     11049ac_cr=`echo X | tr X '\015'`
     11050# On cygwin, bash can eat \r inside `` if the user requested igncr.
     11051# But we know of no other shell where ac_cr would be empty at this
     11052# point, so we can use a bashism as a fallback.
     11053if test "x$ac_cr" = x; then
     11054  eval ac_cr=\$\'\\r\'
     11055fi
    2048211056ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    2048311057if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    2048711061fi
    2048811062
    20489 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     11063echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    2049011064_ACEOF
    2049111065
     
    2049611070  echo "_ACEOF"
    2049711071} >conf$$subs.sh ||
    20498   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20499 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20500    { (exit 1); exit 1; }; }
    20501 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     11072  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     11073ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    2050211074ac_delim='%!_!# '
    2050311075for ac_last_try in false false false false false :; do
    2050411076  . ./conf$$subs.sh ||
    20505     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20506 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20507    { (exit 1); exit 1; }; }
     11077    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    2050811078
    2050911079  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    2051111081    break
    2051211082  elif $ac_last_try; then
    20513     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    20514 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    20515    { (exit 1); exit 1; }; }
     11083    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    2051611084  else
    2051711085    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    2052111089
    2052211090cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    20523 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     11091cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    2052411092_ACEOF
    2052511093sed -n '
     
    2053511103:nl
    2053611104h
    20537 s/\(.\{148\}\).*/\1/
     11105s/\(.\{148\}\)..*/\1/
    2053811106t more1
    2053911107s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    2054911117:delim
    2055011118h
    20551 s/\(.\{148\}\).*/\1/
     11119s/\(.\{148\}\)..*/\1/
    2055211120t more2
    2055311121s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    2056911137cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2057011138_ACAWK
    20571 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     11139cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    2057211140  for (key in S) S_is_set[key] = 1
    2057311141  FS = ""
     
    2060111169else
    2060211170  cat
    20603 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    20604   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    20605 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    20606    { (exit 1); exit 1; }; }
    20607 _ACEOF
    20608 
    20609 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    20610 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     11171fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     11172  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     11173_ACEOF
     11174
     11175# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     11176# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    2061111177# trailing colons and then remove the whole line if VPATH becomes empty
    2061211178# (actually we leave an empty line to preserve line numbers).
    2061311179if test "x$srcdir" = x.; then
    20614   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    20615 s/:*\$(srcdir):*/:/
    20616 s/:*\${srcdir}:*/:/
    20617 s/:*@srcdir@:*/:/
    20618 s/^\([^=]*=[     ]*\):*/\1/
     11180  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     11181h
     11182s///
     11183s/^/:/
     11184s/[      ]*$/:/
     11185s/:\$(srcdir):/:/g
     11186s/:\${srcdir}:/:/g
     11187s/:@srcdir@:/:/g
     11188s/^:*//
    2061911189s/:*$//
     11190x
     11191s/\(=[   ]*\).*/\1/
     11192G
     11193s/\n//
    2062011194s/^[^=]*=[       ]*$//
    2062111195}'
     
    2062911203# This happens for instance with `./config.status Makefile'.
    2063011204if test -n "$CONFIG_HEADERS"; then
    20631 cat >"$tmp/defines.awk" <<\_ACAWK ||
     11205cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    2063211206BEGIN {
    2063311207_ACEOF
     
    2064111215ac_delim='%!_!# '
    2064211216for ac_last_try in false false :; do
    20643   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    20644   if test -z "$ac_t"; then
     11217  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     11218  if test -z "$ac_tt"; then
    2064511219    break
    2064611220  elif $ac_last_try; then
    20647     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    20648 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    20649    { (exit 1); exit 1; }; }
     11221    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    2065011222  else
    2065111223    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    2073211304_ACEOF
    2073311305cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    20734   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    20735 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    20736    { (exit 1); exit 1; }; }
     11306  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    2073711307fi # test -n "$CONFIG_HEADERS"
    2073811308
     
    2074711317  case $ac_mode$ac_tag in
    2074811318  :[FHL]*:*);;
    20749   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    20750 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    20751    { (exit 1); exit 1; }; };;
     11319  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    2075211320  :[FH]-) ac_tag=-:-;;
    2075311321  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    2076811336    do
    2076911337      case $ac_f in
    20770       -) ac_f="$tmp/stdin";;
     11338      -) ac_f="$ac_tmp/stdin";;
    2077111339      *) # Look for the file first in the build tree, then in the source tree
    2077211340         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    2077711345           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    2077811346           esac ||
    20779            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    20780 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    20781    { (exit 1); exit 1; }; };;
     11347           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    2078211348      esac
    2078311349      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    20784       ac_file_inputs="$ac_file_inputs '$ac_f'"
     11350      as_fn_append ac_file_inputs " '$ac_f'"
    2078511351    done
    2078611352
     
    2079311359    if test x"$ac_file" != x-; then
    2079411360      configure_input="$ac_file.  $configure_input"
    20795       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     11361      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    2079611362$as_echo "$as_me: creating $ac_file" >&6;}
    2079711363    fi
     
    2080511371
    2080611372    case $ac_tag in
    20807     *:-:* | *:-) cat >"$tmp/stdin" \
    20808       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    20809 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    20810    { (exit 1); exit 1; }; } ;;
     11373    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     11374      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    2081111375    esac
    2081211376    ;;
     
    2083611400          }
    2083711401          s/.*/./; q'`
    20838   { as_dir="$ac_dir"
    20839   case $as_dir in #(
    20840   -*) as_dir=./$as_dir;;
    20841   esac
    20842   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    20843     as_dirs=
    20844     while :; do
    20845       case $as_dir in #(
    20846       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    20847       *) as_qdir=$as_dir;;
    20848       esac
    20849       as_dirs="'$as_qdir' $as_dirs"
    20850       as_dir=`$as_dirname -- "$as_dir" ||
    20851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    20852          X"$as_dir" : 'X\(//\)[^/]' \| \
    20853          X"$as_dir" : 'X\(//\)$' \| \
    20854          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    20855 $as_echo X"$as_dir" |
    20856     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    20857             s//\1/
    20858             q
    20859           }
    20860           /^X\(\/\/\)[^/].*/{
    20861             s//\1/
    20862             q
    20863           }
    20864           /^X\(\/\/\)$/{
    20865             s//\1/
    20866             q
    20867           }
    20868           /^X\(\/\).*/{
    20869             s//\1/
    20870             q
    20871           }
    20872           s/.*/./; q'`
    20873       test -d "$as_dir" && break
    20874     done
    20875     test -z "$as_dirs" || eval "mkdir $as_dirs"
    20876   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    20877 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    20878    { (exit 1); exit 1; }; }; }
     11402  as_dir="$ac_dir"; as_fn_mkdir_p
    2087911403  ac_builddir=.
    2088011404
     
    2093311457# FIXME: This hack should be removed a few years after 2.60.
    2093411458ac_datarootdir_hack=; ac_datarootdir_seen=
    20935 
    2093611459ac_sed_dataroot='
    2093711460/datarootdir/ {
     
    2094311466/@infodir@/p
    2094411467/@localedir@/p
    20945 /@mandir@/p
    20946 '
     11468/@mandir@/p'
    2094711469case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    2094811470*datarootdir*) ac_datarootdir_seen=yes;;
    2094911471*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    20950   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     11472  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    2095111473$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    2095211474_ACEOF
     
    2095811480  s&@localedir@&$localedir&g
    2095911481  s&@mandir@&$mandir&g
    20960     s&\\\${datarootdir}&$datarootdir&g' ;;
     11482  s&\\\${datarootdir}&$datarootdir&g' ;;
    2096111483esac
    2096211484_ACEOF
     
    2098611508$ac_datarootdir_hack
    2098711509"
    20988 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    20989   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    20990 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    20991    { (exit 1); exit 1; }; }
     11510eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     11511  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2099211512
    2099311513test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    20994   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    20995   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    20996   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    20997 which seems to be undefined.  Please make sure it is defined." >&5
     11514  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     11515  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     11516      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     11517  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     11518which seems to be undefined.  Please make sure it is defined" >&5
    2099811519$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    20999 which seems to be undefined.  Please make sure it is defined." >&2;}
    21000 
    21001   rm -f "$tmp/stdin"
     11520which seems to be undefined.  Please make sure it is defined" >&2;}
     11521
     11522  rm -f "$ac_tmp/stdin"
    2100211523  case $ac_file in
    21003   -) cat "$tmp/out" && rm -f "$tmp/out";;
    21004   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     11524  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     11525  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    2100511526  esac \
    21006   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21007 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21008    { (exit 1); exit 1; }; }
     11527  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2100911528 ;;
    2101011529  :H)
     
    2101511534    {
    2101611535      $as_echo "/* $configure_input  */" \
    21017       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    21018     } >"$tmp/config.h" \
    21019       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21020 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21021    { (exit 1); exit 1; }; }
    21022     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    21023       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     11536      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     11537    } >"$ac_tmp/config.h" \
     11538      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     11539    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     11540      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    2102411541$as_echo "$as_me: $ac_file is unchanged" >&6;}
    2102511542    else
    2102611543      rm -f "$ac_file"
    21027       mv "$tmp/config.h" "$ac_file" \
    21028         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    21029 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    21030    { (exit 1); exit 1; }; }
     11544      mv "$ac_tmp/config.h" "$ac_file" \
     11545        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    2103111546    fi
    2103211547  else
    2103311548    $as_echo "/* $configure_input  */" \
    21034       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    21035       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    21036 $as_echo "$as_me: error: could not create -" >&2;}
    21037    { (exit 1); exit 1; }; }
     11549      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     11550      || as_fn_error $? "could not create -" "$LINENO" 5
    2103811551  fi
    2103911552 ;;
     
    2104511558
    2104611559
    21047 { (exit 0); exit 0; }
    21048 _ACEOF
    21049 chmod +x $CONFIG_STATUS
     11560as_fn_exit 0
     11561_ACEOF
    2105011562ac_clean_files=$ac_clean_files_save
    2105111563
    2105211564test $ac_write_fail = 0 ||
    21053   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    21054 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    21055    { (exit 1); exit 1; }; }
     11565  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    2105611566
    2105711567
     
    2107411584  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    2107511585  # would make configure fail if this is the last instruction.
    21076   $ac_cs_success || { (exit 1); exit 1; }
     11586  $ac_cs_success || as_fn_exit 1
    2107711587fi
    2107811588
     
    2111811628      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    2111911629      esac
    21120       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     11630      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    2112111631    esac
    2112211632  done
     
    2114711657
    2114811658    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    21149     $as_echo "$as_me:$LINENO: $ac_msg" >&5
     11659    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
    2115011660    $as_echo "$ac_msg" >&6
    21151     { as_dir="$ac_dir"
    21152   case $as_dir in #(
    21153   -*) as_dir=./$as_dir;;
    21154   esac
    21155   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    21156     as_dirs=
    21157     while :; do
    21158       case $as_dir in #(
    21159       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    21160       *) as_qdir=$as_dir;;
    21161       esac
    21162       as_dirs="'$as_qdir' $as_dirs"
    21163       as_dir=`$as_dirname -- "$as_dir" ||
    21164 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    21165          X"$as_dir" : 'X\(//\)[^/]' \| \
    21166          X"$as_dir" : 'X\(//\)$' \| \
    21167          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    21168 $as_echo X"$as_dir" |
    21169     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    21170             s//\1/
    21171             q
    21172           }
    21173           /^X\(\/\/\)[^/].*/{
    21174             s//\1/
    21175             q
    21176           }
    21177           /^X\(\/\/\)$/{
    21178             s//\1/
    21179             q
    21180           }
    21181           /^X\(\/\).*/{
    21182             s//\1/
    21183             q
    21184           }
    21185           s/.*/./; q'`
    21186       test -d "$as_dir" && break
    21187     done
    21188     test -z "$as_dirs" || eval "mkdir $as_dirs"
    21189   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    21190 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    21191    { (exit 1); exit 1; }; }; }
     11661    as_dir="$ac_dir"; as_fn_mkdir_p
    2119211662    ac_builddir=.
    2119311663
     
    2123611706      ac_sub_configure=$ac_aux_dir/configure
    2123711707    else
    21238       { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     11708      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
    2123911709$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    2124011710      ac_sub_configure=
     
    2125011720      esac
    2125111721
    21252       { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     11722      { $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
    2125311723$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    2125411724      # The eval makes quoting arguments work.
    2125511725      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    2125611726           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    21257         { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    21258 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    21259    { (exit 1); exit 1; }; }
     11727        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    2126011728    fi
    2126111729
     
    2126411732fi
    2126511733if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    21266   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     11734  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    2126711735$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    2126811736fi
  • branches/1.2/configure.in

    r3570 r3601  
    207207RP_LANG_JAVA
    208208RP_LANG_R
    209 
    210 RUBY=""
    211 RUBY_DEV_PKG="no"
    212 
    213 AC_ARG_WITH(
    214     [ruby],
    215     [AS_HELP_STRING([--with-ruby=DIR], [location of ruby @<:@default=yes@:>@])],
    216     [],
    217     [with_ruby="yes"])
    218 
    219 if test "${with_ruby}" != "no" ; then
    220   if test "${with_ruby}" = "yes" ; then
    221     AC_PATH_PROG(RUBY, ruby)
    222   else
    223     AC_PATH_PROG(RUBY, ruby, [], [${with_ruby}/bin:${with_ruby}])
    224   fi
    225 fi
    226 
    227 RUBY_VERSION_RV=
    228 RUBY_PLATFORM=
    229 if test "x${RUBY}" != "x" ; then
    230   AX_PROG_RUBY_VERSION
    231   RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2`
    232   RUBY_PLATFORM=`ruby -e 'puts RUBY_PLATFORM'`
    233   ac_mkmf_result=`${RUBY} -r mkmf -e ";" 2>&1`
    234   if test -z "$ac_mkmf_result"; then
    235     HAVE_RUBY_DEVEL="yes"
    236     AX_RUBY_DEV_FLAGS([${RUBY}])
    237   fi
    238 fi
    239 
     209RP_LANG_RUBY
    240210
    241211RP_BASE=`pwd`
  • branches/1.2/src/core/config.h.in

    r3373 r3601  
    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
     
    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.