Changeset 3931


Ignore:
Timestamp:
Sep 17, 2013 12:32:27 PM (11 years ago)
Author:
ldelgass
Message:

Fix warnings

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r3733 r3931  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for Rappture 1.4.
     3# Generated by GNU Autoconf 2.63 for Rappture 1.4.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 #
    8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    9 #
    10 #
     7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    119# This configure script is free software; the Free Software Foundation
    1210# gives unlimited permission to copy, distribute and modify it.
    13 ## -------------------- ##
    14 ## M4sh Initialization. ##
    15 ## -------------------- ##
     11## --------------------- ##
     12## M4sh Initialization.  ##
     13## --------------------- ##
    1614
    1715# Be more Bourne compatible
    1816DUALCASE=1; export DUALCASE # for MKS sh
    19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2018  emulate sh
    2119  NULLCMD=:
     
    2523  setopt NO_GLOB_SUBST
    2624else
    27   case `(set -o) 2>/dev/null` in #(
    28   *posix*) :
    29     set -o posix ;; #(
    30   *) :
    31      ;;
    32 esac
    33 fi
    34 
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
    3541
    3642as_nl='
     
    4147as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4248as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43 # Prefer a ksh shell builtin over an external printf program on Solaris,
    44 # but without wasting forks for bash or zsh.
    45 if 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 --'
    49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     49if (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.
     84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85  as_unset=unset
     86else
     87  as_unset=false
     88fi
     89
    8390
    8491# IFS
     
    9097
    9198# Find who we are.  Look in the path if we contain no directory separator.
    92 as_myself=
    93 case $0 in #((
     99case $0 in
    94100  *[\\/]* ) as_myself=$0 ;;
    95101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    98104  IFS=$as_save_IFS
    99105  test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
     106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107done
    102108IFS=$as_save_IFS
    103109
     
    111117if test ! -f "$as_myself"; then
    112118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    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.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     119  { (exit 1); exit 1; }
     120fi
     121
     122# Work around bugs in pre-3.0 UWIN ksh.
     123for as_var in ENV MAIL MAILPATH
     124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    123125done
    124126PS1='$ '
     
    132134export LANGUAGE
    133135
    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.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $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
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if 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
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -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
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    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
    227 fi
    228 fi
    229            done;;
    230        esac
    231   as_found=false
    232 done
    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
    236 fi; }
    237 IFS=$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.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $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
    259 exit 255
    260 fi
    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
    276 fi
    277 fi
    278 fi
    279 SHELL=${CONFIG_SHELL-/bin/sh}
    280 export SHELL
    281 # Unset more variables known to interfere with behavior of common tools.
    282 CLICOLOR_FORCE= GREP_OPTIONS=
    283 unset CLICOLOR_FORCE GREP_OPTIONS
    284 
    285 ## --------------------- ##
    286 ## M4sh Shell Functions. ##
    287 ## --------------------- ##
    288 # as_fn_unset VAR
    289 # ---------------
    290 # Portably unset VAR.
    291 as_fn_unset ()
    292 {
    293   { eval $1=; unset $1;}
    294 }
    295 as_unset=as_fn_unset
    296 
    297 # as_fn_set_status STATUS
    298 # -----------------------
    299 # Set $? to STATUS, without forking.
    300 as_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.
    308 as_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.
    318 as_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.
    366 as_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.
    376 if (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   }'
    381 else
    382   as_fn_append ()
    383   {
    384     eval $1=\$$1\$2
    385   }
    386 fi # 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.
    393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    394   eval 'as_fn_arith ()
    395   {
    396     as_val=$(( $* ))
    397   }'
    398 else
    399   as_fn_arith ()
    400   {
    401     as_val=`expr "$@" || test $? -eq 1`
    402   }
    403 fi # 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.
    411 as_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 
     136# Required to use basename.
    422137if expr a : '\(a\)' >/dev/null 2>&1 &&
    423138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    433148fi
    434149
    435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    436   as_dirname=dirname
    437 else
    438   as_dirname=false
    439 fi
    440 
     150
     151# Name of the executable.
    441152as_me=`$as_basename -- "$0" ||
    442153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    458169          s/.*/./; q'`
    459170
    460 # Avoid depending upon Character Ranges.
    461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    464 as_cr_digits='0123456789'
    465 as_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.  :-)
     171# CDPATH.
     172$as_unset CDPATH
     173
     174
     175if test "x$CONFIG_SHELL" = x; then
     176  if (eval ":") 2>/dev/null; then
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181
     182  if test $as_have_required = yes &&     (eval ":
     183(as_func_return () {
     184  (exit \$1)
     185}
     186as_func_success () {
     187  as_func_return 0
     188}
     189as_func_failure () {
     190  as_func_return 1
     191}
     192as_func_ret_success () {
     193  return 0
     194}
     195as_func_ret_failure () {
     196  return 1
     197}
     198
     199exitcode=0
     200if as_func_success; then
     201  :
     202else
     203  exitcode=1
     204  echo as_func_success failed.
     205fi
     206
     207if as_func_failure; then
     208  exitcode=1
     209  echo as_func_failure succeeded.
     210fi
     211
     212if as_func_ret_success; then
     213  :
     214else
     215  exitcode=1
     216  echo as_func_ret_success failed.
     217fi
     218
     219if as_func_ret_failure; then
     220  exitcode=1
     221  echo as_func_ret_failure succeeded.
     222fi
     223
     224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     225  :
     226else
     227  exitcode=1
     228  echo positional parameters were not saved.
     229fi
     230
     231test \$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  :
     240else
     241  as_candidate_shells=
     242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     244do
     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
     253done
     254IFS=$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
     261if 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
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     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
     282if 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
     289else
     290  case `(set -o) 2>/dev/null` in
     291  *posix*) set -o posix ;;
     292esac
     293
     294fi
     295
     296
     297:
     298(as_func_return () {
     299  (exit $1)
     300}
     301as_func_success () {
     302  as_func_return 0
     303}
     304as_func_failure () {
     305  as_func_return 1
     306}
     307as_func_ret_success () {
     308  return 0
     309}
     310as_func_ret_failure () {
     311  return 1
     312}
     313
     314exitcode=0
     315if as_func_success; then
     316  :
     317else
     318  exitcode=1
     319  echo as_func_success failed.
     320fi
     321
     322if as_func_failure; then
     323  exitcode=1
     324  echo as_func_failure succeeded.
     325fi
     326
     327if as_func_ret_success; then
     328  :
     329else
     330  exitcode=1
     331  echo as_func_ret_success failed.
     332fi
     333
     334if as_func_ret_failure; then
     335  exitcode=1
     336  echo as_func_ret_failure succeeded.
     337fi
     338
     339if ( set x; as_func_ret_success y && test x = "$1" ); then
     340  :
     341else
     342  exitcode=1
     343  echo positional parameters were not saved.
     344fi
     345
     346test $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
     357fi
     358
     359fi
     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+"$@"}
     369fi
     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; }
     378fi
     379
     380
     381fi
     382
     383fi
     384
     385
     386
     387(eval "as_func_return () {
     388  (exit \$1)
     389}
     390as_func_success () {
     391  as_func_return 0
     392}
     393as_func_failure () {
     394  as_func_return 1
     395}
     396as_func_ret_success () {
     397  return 0
     398}
     399as_func_ret_failure () {
     400  return 1
     401}
     402
     403exitcode=0
     404if as_func_success; then
     405  :
     406else
     407  exitcode=1
     408  echo as_func_success failed.
     409fi
     410
     411if as_func_failure; then
     412  exitcode=1
     413  echo as_func_failure succeeded.
     414fi
     415
     416if as_func_ret_success; then
     417  :
     418else
     419  exitcode=1
     420  echo as_func_ret_success failed.
     421fi
     422
     423if as_func_ret_failure; then
     424  exitcode=1
     425  echo as_func_ret_failure succeeded.
     426fi
     427
     428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     429  :
     430else
     431  exitcode=1
     432  echo positional parameters were not saved.
     433fi
     434
     435test \$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.  :-)
    473460  sed -n '
    474461    p
     
    487474    ' >$as_me.lineno &&
    488475  chmod +x "$as_me.lineno" ||
    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
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     477   { (exit 1); exit 1; }; }
     478
    495479  # Don't try to exec as it changes $[0], causing all sort of problems
    496480  # (the dirname of $[0] is not the place where we might find the
     
    501485}
    502486
     487
     488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     489  as_dirname=dirname
     490else
     491  as_dirname=false
     492fi
     493
    503494ECHO_C= ECHO_N= ECHO_T=
    504 case `echo -n x` in #(((((
     495case `echo -n x` in
    505496-n*)
    506   case `echo 'xy\c'` in
     497  case `echo 'x\c'` in
    507498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    508   xy)  ECHO_C='\c';;
    509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    510        ECHO_T=' ';;
     499  *)   ECHO_C='\c';;
    511500  esac;;
    512501*)
    513502  ECHO_N='-n';;
    514503esac
     504if expr a : '\(a\)' >/dev/null 2>&1 &&
     505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     506  as_expr=expr
     507else
     508  as_expr=false
     509fi
    515510
    516511rm -f conf$$ conf$$.exe conf$$.file
     
    527522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    528523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    529     # In both cases, we have to default to `cp -pR'.
     524    # In both cases, we have to default to `cp -p'.
    530525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    531       as_ln_s='cp -pR'
     526      as_ln_s='cp -p'
    532527  elif ln conf$$.file conf$$ 2>/dev/null; then
    533528    as_ln_s=ln
    534529  else
    535     as_ln_s='cp -pR'
     530    as_ln_s='cp -p'
    536531  fi
    537532else
    538   as_ln_s='cp -pR'
     533  as_ln_s='cp -p'
    539534fi
    540535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    542537
    543538if mkdir -p . 2>/dev/null; then
    544   as_mkdir_p='mkdir -p "$as_dir"'
     539  as_mkdir_p=:
    545540else
    546541  test -d ./-p && rmdir ./-p
     
    548543fi
    549544
    550 as_test_x='test -x'
    551 as_executable_p=as_fn_executable_p
     545if test -x / >/dev/null 2>&1; then
     546  as_test_x='test -x'
     547else
     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  '
     565fi
     566as_executable_p=$as_test_x
    552567
    553568# Sed expression to map a string onto a valid CPP name.
     
    558573
    559574
    560 test -n "$DJDIR" || exec 7<&0 </dev/null
    561 exec 6>&1
     575
     576exec 7<&0 </dev/null 6>&1
    562577
    563578# Name of the host.
    564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    565580# so uname gets run too.
    566581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    577592MFLAGS=
    578593MAKEFLAGS=
     594SHELL=${CONFIG_SHELL-/bin/sh}
    579595
    580596# Identity of this package.
     
    584600PACKAGE_STRING='Rappture 1.4'
    585601PACKAGE_BUGREPORT='rappture@nanohub.org'
    586 PACKAGE_URL=''
    587602
    588603# Factoring default headers for most tests.
     
    800815prefix
    801816exec_prefix
    802 PACKAGE_URL
    803817PACKAGE_BUGREPORT
    804818PACKAGE_STRING
     
    910924
    911925  case $ac_option in
    912   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *=)   ac_optarg= ;;
    914   *)    ac_optarg=yes ;;
     926  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     927  *)    ac_optarg=yes ;;
    915928  esac
    916929
     
    957970    # Reject names that are not valid shell variable names.
    958971    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    959       as_fn_error $? "invalid feature name: $ac_useropt"
     972      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     973   { (exit 1); exit 1; }; }
    960974    ac_useropt_orig=$ac_useropt
    961975    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    983997    # Reject names that are not valid shell variable names.
    984998    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       as_fn_error $? "invalid feature name: $ac_useropt"
     999      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     1000   { (exit 1); exit 1; }; }
    9861001    ac_useropt_orig=$ac_useropt
    9871002    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11871202    # Reject names that are not valid shell variable names.
    11881203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1189       as_fn_error $? "invalid package name: $ac_useropt"
     1204      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1205   { (exit 1); exit 1; }; }
    11901206    ac_useropt_orig=$ac_useropt
    11911207    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12031219    # Reject names that are not valid shell variable names.
    12041220    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1205       as_fn_error $? "invalid package name: $ac_useropt"
     1221      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1222   { (exit 1); exit 1; }; }
    12061223    ac_useropt_orig=$ac_useropt
    12071224    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12331250    x_libraries=$ac_optarg ;;
    12341251
    1235   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1236 Try \`$0 --help' for more information"
     1252  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1253Try \`$0 --help' for more information." >&2
     1254   { (exit 1); exit 1; }; }
    12371255    ;;
    12381256
     
    12401258    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12411259    # Reject names that are not valid shell variable names.
    1242     case $ac_envvar in #(
    1243       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1244       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1245     esac
     1260    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     1261      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1262   { (exit 1); exit 1; }; }
    12461263    eval $ac_envvar=\$ac_optarg
    12471264    export $ac_envvar ;;
     
    12521269    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12531270      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1254     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     1271    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    12551272    ;;
    12561273
     
    12601277if test -n "$ac_prev"; then
    12611278  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1262   as_fn_error $? "missing argument to $ac_option"
     1279  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1280   { (exit 1); exit 1; }; }
    12631281fi
    12641282
     
    12661284  case $enable_option_checking in
    12671285    no) ;;
    1268     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1286    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1287   { (exit 1); exit 1; }; } ;;
    12691288    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12701289  esac
     
    12891308    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12901309  esac
    1291   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     1310  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1311   { (exit 1); exit 1; }; }
    12921312done
    12931313
     
    13031323  if test "x$build_alias" = x; then
    13041324    cross_compiling=maybe
     1325    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1326    If a cross compiler is detected then cross compile mode will be used." >&2
    13051327  elif test "x$build_alias" != "x$host_alias"; then
    13061328    cross_compiling=yes
     
    13171339ac_ls_di=`ls -di .` &&
    13181340ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1319   as_fn_error $? "working directory cannot be determined"
     1341  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1342   { (exit 1); exit 1; }; }
    13201343test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1321   as_fn_error $? "pwd does not report name of working directory"
     1344  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1345   { (exit 1); exit 1; }; }
    13221346
    13231347
     
    13581382if test ! -r "$srcdir/$ac_unique_file"; then
    13591383  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1360   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1384  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1385   { (exit 1); exit 1; }; }
    13611386fi
    13621387ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13631388ac_abs_confdir=`(
    1364         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1389        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1390   { (exit 1); exit 1; }; }
    13651391        pwd)`
    13661392# When building in place, set srcdir=.
     
    14021428      --help=recursive    display the short help of all the included packages
    14031429  -V, --version           display version information and exit
    1404   -q, --quiet, --silent   do not print \`checking ...' messages
     1430  -q, --quiet, --silent   do not print \`checking...' messages
    14051431      --cache-file=FILE   cache test results in FILE [disabled]
    14061432  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14861512  --with-java=DIR         location of java [default=yes]
    14871513  --with-R=DIR            location of R interpreter [default=yes]
    1488   --with-ruby=PATH        path to the ruby interpreter [[ruby]]
     1514  --with-ruby=PATH        path to the ruby interpreter [ruby]
    14891515  --with-ruby-sitelibdir=PATH
    1490                           path to install ruby scripts [[auto-detect]]
     1516                          path to install ruby scripts [auto-detect]
    14911517
    14921518Some influential environment variables:
     
    14961522              nonstandard directory <lib dir>
    14971523  LIBS        libraries to pass to the linker, e.g. -l<library>
    1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1524  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    14991525              you have headers in a nonstandard directory <include dir>
    15001526  CXX         C++ compiler command
     
    15721598  cat <<\_ACEOF
    15731599Rappture configure 1.4
    1574 generated by GNU Autoconf 2.69
    1575 
    1576 Copyright (C) 2012 Free Software Foundation, Inc.
     1600generated by GNU Autoconf 2.63
     1601
     1602Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     16032002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    15771604This configure script is free software; the Free Software Foundation
    15781605gives unlimited permission to copy, distribute and modify it.
     
    15801607  exit
    15811608fi
    1582 
    1583 ## ------------------------ ##
    1584 ## Autoconf initialization. ##
    1585 ## ------------------------ ##
    1586 
    1587 # ac_fn_c_try_compile LINENO
    1588 # --------------------------
    1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1590 ac_fn_c_try_compile ()
    1591 {
    1592   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1593   rm -f conftest.$ac_objext
    1594   if { { ac_try="$ac_compile"
    1595 case "(($ac_try" in
    1596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1597   *) ac_try_echo=$ac_try;;
    1598 esac
    1599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1600 $as_echo "$ac_try_echo"; } >&5
    1601   (eval "$ac_compile") 2>conftest.err
    1602   ac_status=$?
    1603   if test -s conftest.err; then
    1604     grep -v '^ *+' conftest.err >conftest.er1
    1605     cat conftest.er1 >&5
    1606     mv -f conftest.er1 conftest.err
    1607   fi
    1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1609   test $ac_status = 0; } && {
    1610          test -z "$ac_c_werror_flag" ||
    1611          test ! -s conftest.err
    1612        } && test -s conftest.$ac_objext; then :
    1613   ac_retval=0
    1614 else
    1615   $as_echo "$as_me: failed program was:" >&5
    1616 sed 's/^/| /' conftest.$ac_ext >&5
    1617 
    1618         ac_retval=1
    1619 fi
    1620   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1621   as_fn_set_status $ac_retval
    1622 
    1623 } # ac_fn_c_try_compile
    1624 
    1625 # ac_fn_cxx_try_compile LINENO
    1626 # ----------------------------
    1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1628 ac_fn_cxx_try_compile ()
    1629 {
    1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1631   rm -f conftest.$ac_objext
    1632   if { { ac_try="$ac_compile"
    1633 case "(($ac_try" in
    1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1635   *) ac_try_echo=$ac_try;;
    1636 esac
    1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1638 $as_echo "$ac_try_echo"; } >&5
    1639   (eval "$ac_compile") 2>conftest.err
    1640   ac_status=$?
    1641   if test -s conftest.err; then
    1642     grep -v '^ *+' conftest.err >conftest.er1
    1643     cat conftest.er1 >&5
    1644     mv -f conftest.er1 conftest.err
    1645   fi
    1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1647   test $ac_status = 0; } && {
    1648          test -z "$ac_cxx_werror_flag" ||
    1649          test ! -s conftest.err
    1650        } && test -s conftest.$ac_objext; then :
    1651   ac_retval=0
    1652 else
    1653   $as_echo "$as_me: failed program was:" >&5
    1654 sed 's/^/| /' conftest.$ac_ext >&5
    1655 
    1656         ac_retval=1
    1657 fi
    1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1659   as_fn_set_status $ac_retval
    1660 
    1661 } # ac_fn_cxx_try_compile
    1662 
    1663 # ac_fn_f77_try_compile LINENO
    1664 # ----------------------------
    1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1666 ac_fn_f77_try_compile ()
    1667 {
    1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1669   rm -f conftest.$ac_objext
    1670   if { { ac_try="$ac_compile"
    1671 case "(($ac_try" in
    1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1673   *) ac_try_echo=$ac_try;;
    1674 esac
    1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1676 $as_echo "$ac_try_echo"; } >&5
    1677   (eval "$ac_compile") 2>conftest.err
    1678   ac_status=$?
    1679   if test -s conftest.err; then
    1680     grep -v '^ *+' conftest.err >conftest.er1
    1681     cat conftest.er1 >&5
    1682     mv -f conftest.er1 conftest.err
    1683   fi
    1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1685   test $ac_status = 0; } && {
    1686          test -z "$ac_f77_werror_flag" ||
    1687          test ! -s conftest.err
    1688        } && test -s conftest.$ac_objext; then :
    1689   ac_retval=0
    1690 else
    1691   $as_echo "$as_me: failed program was:" >&5
    1692 sed 's/^/| /' conftest.$ac_ext >&5
    1693 
    1694         ac_retval=1
    1695 fi
    1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1697   as_fn_set_status $ac_retval
    1698 
    1699 } # ac_fn_f77_try_compile
    1700 
    1701 # ac_fn_c_try_cpp LINENO
    1702 # ----------------------
    1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1704 ac_fn_c_try_cpp ()
    1705 {
    1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1707   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1708 case "(($ac_try" in
    1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1710   *) ac_try_echo=$ac_try;;
    1711 esac
    1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1713 $as_echo "$ac_try_echo"; } >&5
    1714   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1715   ac_status=$?
    1716   if test -s conftest.err; then
    1717     grep -v '^ *+' conftest.err >conftest.er1
    1718     cat conftest.er1 >&5
    1719     mv -f conftest.er1 conftest.err
    1720   fi
    1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1722   test $ac_status = 0; } > conftest.i && {
    1723          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1724          test ! -s conftest.err
    1725        }; then :
    1726   ac_retval=0
    1727 else
    1728   $as_echo "$as_me: failed program was:" >&5
    1729 sed 's/^/| /' conftest.$ac_ext >&5
    1730 
    1731     ac_retval=1
    1732 fi
    1733   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1734   as_fn_set_status $ac_retval
    1735 
    1736 } # ac_fn_c_try_cpp
    1737 
    1738 # ac_fn_c_try_run LINENO
    1739 # ----------------------
    1740 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1741 # that executables *can* be run.
    1742 ac_fn_c_try_run ()
    1743 {
    1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1745   if { { ac_try="$ac_link"
    1746 case "(($ac_try" in
    1747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1748   *) ac_try_echo=$ac_try;;
    1749 esac
    1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1751 $as_echo "$ac_try_echo"; } >&5
    1752   (eval "$ac_link") 2>&5
    1753   ac_status=$?
    1754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1755   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1756   { { case "(($ac_try" in
    1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1758   *) ac_try_echo=$ac_try;;
    1759 esac
    1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1761 $as_echo "$ac_try_echo"; } >&5
    1762   (eval "$ac_try") 2>&5
    1763   ac_status=$?
    1764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1765   test $ac_status = 0; }; }; then :
    1766   ac_retval=0
    1767 else
    1768   $as_echo "$as_me: program exited with status $ac_status" >&5
    1769        $as_echo "$as_me: failed program was:" >&5
    1770 sed 's/^/| /' conftest.$ac_ext >&5
    1771 
    1772        ac_retval=$ac_status
    1773 fi
    1774   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1776   as_fn_set_status $ac_retval
    1777 
    1778 } # ac_fn_c_try_run
    1779 
    1780 # ac_fn_c_try_link LINENO
    1781 # -----------------------
    1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1783 ac_fn_c_try_link ()
    1784 {
    1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1786   rm -f conftest.$ac_objext conftest$ac_exeext
    1787   if { { ac_try="$ac_link"
    1788 case "(($ac_try" in
    1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1790   *) ac_try_echo=$ac_try;;
    1791 esac
    1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1793 $as_echo "$ac_try_echo"; } >&5
    1794   (eval "$ac_link") 2>conftest.err
    1795   ac_status=$?
    1796   if test -s conftest.err; then
    1797     grep -v '^ *+' conftest.err >conftest.er1
    1798     cat conftest.er1 >&5
    1799     mv -f conftest.er1 conftest.err
    1800   fi
    1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1802   test $ac_status = 0; } && {
    1803          test -z "$ac_c_werror_flag" ||
    1804          test ! -s conftest.err
    1805        } && test -s conftest$ac_exeext && {
    1806          test "$cross_compiling" = yes ||
    1807          test -x conftest$ac_exeext
    1808        }; then :
    1809   ac_retval=0
    1810 else
    1811   $as_echo "$as_me: failed program was:" >&5
    1812 sed 's/^/| /' conftest.$ac_ext >&5
    1813 
    1814         ac_retval=1
    1815 fi
    1816   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1817   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1818   # interfere with the next link command; also delete a directory that is
    1819   # left behind by Apple's compiler.  We do this before executing the actions.
    1820   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1822   as_fn_set_status $ac_retval
    1823 
    1824 } # ac_fn_c_try_link
    1825 
    1826 # ac_fn_c_check_func LINENO FUNC VAR
    1827 # ----------------------------------
    1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1829 ac_fn_c_check_func ()
    1830 {
    1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1833 $as_echo_n "checking for $2... " >&6; }
    1834 if eval \${$3+:} false; then :
    1835   $as_echo_n "(cached) " >&6
    1836 else
    1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1838 /* end confdefs.h.  */
    1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1841 #define $2 innocuous_$2
    1842 
    1843 /* System header to define __stub macros and hopefully few prototypes,
    1844     which can conflict with char $2 (); below.
    1845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1846     <limits.h> exists even on freestanding compilers.  */
    1847 
    1848 #ifdef __STDC__
    1849 # include <limits.h>
    1850 #else
    1851 # include <assert.h>
    1852 #endif
    1853 
    1854 #undef $2
    1855 
    1856 /* Override any GCC internal prototype to avoid an error.
    1857    Use char because int might match the return type of a GCC
    1858    builtin and then its argument prototype would still apply.  */
    1859 #ifdef __cplusplus
    1860 extern "C"
    1861 #endif
    1862 char $2 ();
    1863 /* The GNU C library defines this for functions which it implements
    1864     to always fail with ENOSYS.  Some functions are actually named
    1865     something starting with __ and the normal name is an alias.  */
    1866 #if defined __stub_$2 || defined __stub___$2
    1867 choke me
    1868 #endif
    1869 
    1870 int
    1871 main ()
    1872 {
    1873 return $2 ();
    1874   ;
    1875   return 0;
    1876 }
    1877 _ACEOF
    1878 if ac_fn_c_try_link "$LINENO"; then :
    1879   eval "$3=yes"
    1880 else
    1881   eval "$3=no"
    1882 fi
    1883 rm -f core conftest.err conftest.$ac_objext \
    1884     conftest$ac_exeext conftest.$ac_ext
    1885 fi
    1886 eval ac_res=\$$3
    1887                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1888 $as_echo "$ac_res" >&6; }
    1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1890 
    1891 } # ac_fn_c_check_func
    1892 
    1893 # ac_fn_cxx_try_link LINENO
    1894 # -------------------------
    1895 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1896 ac_fn_cxx_try_link ()
    1897 {
    1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1899   rm -f conftest.$ac_objext conftest$ac_exeext
    1900   if { { ac_try="$ac_link"
    1901 case "(($ac_try" in
    1902   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1903   *) ac_try_echo=$ac_try;;
    1904 esac
    1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1906 $as_echo "$ac_try_echo"; } >&5
    1907   (eval "$ac_link") 2>conftest.err
    1908   ac_status=$?
    1909   if test -s conftest.err; then
    1910     grep -v '^ *+' conftest.err >conftest.er1
    1911     cat conftest.er1 >&5
    1912     mv -f conftest.er1 conftest.err
    1913   fi
    1914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1915   test $ac_status = 0; } && {
    1916          test -z "$ac_cxx_werror_flag" ||
    1917          test ! -s conftest.err
    1918        } && test -s conftest$ac_exeext && {
    1919          test "$cross_compiling" = yes ||
    1920          test -x conftest$ac_exeext
    1921        }; then :
    1922   ac_retval=0
    1923 else
    1924   $as_echo "$as_me: failed program was:" >&5
    1925 sed 's/^/| /' conftest.$ac_ext >&5
    1926 
    1927         ac_retval=1
    1928 fi
    1929   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1930   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1931   # interfere with the next link command; also delete a directory that is
    1932   # left behind by Apple's compiler.  We do this before executing the actions.
    1933   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1935   as_fn_set_status $ac_retval
    1936 
    1937 } # ac_fn_cxx_try_link
    1938 
    1939 # ac_fn_cxx_check_func LINENO FUNC VAR
    1940 # ------------------------------------
    1941 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1942 ac_fn_cxx_check_func ()
    1943 {
    1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1946 $as_echo_n "checking for $2... " >&6; }
    1947 if eval \${$3+:} false; then :
    1948   $as_echo_n "(cached) " >&6
    1949 else
    1950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1951 /* end confdefs.h.  */
    1952 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1954 #define $2 innocuous_$2
    1955 
    1956 /* System header to define __stub macros and hopefully few prototypes,
    1957     which can conflict with char $2 (); below.
    1958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1959     <limits.h> exists even on freestanding compilers.  */
    1960 
    1961 #ifdef __STDC__
    1962 # include <limits.h>
    1963 #else
    1964 # include <assert.h>
    1965 #endif
    1966 
    1967 #undef $2
    1968 
    1969 /* Override any GCC internal prototype to avoid an error.
    1970    Use char because int might match the return type of a GCC
    1971    builtin and then its argument prototype would still apply.  */
    1972 #ifdef __cplusplus
    1973 extern "C"
    1974 #endif
    1975 char $2 ();
    1976 /* The GNU C library defines this for functions which it implements
    1977     to always fail with ENOSYS.  Some functions are actually named
    1978     something starting with __ and the normal name is an alias.  */
    1979 #if defined __stub_$2 || defined __stub___$2
    1980 choke me
    1981 #endif
    1982 
    1983 int
    1984 main ()
    1985 {
    1986 return $2 ();
    1987   ;
    1988   return 0;
    1989 }
    1990 _ACEOF
    1991 if ac_fn_cxx_try_link "$LINENO"; then :
    1992   eval "$3=yes"
    1993 else
    1994   eval "$3=no"
    1995 fi
    1996 rm -f core conftest.err conftest.$ac_objext \
    1997     conftest$ac_exeext conftest.$ac_ext
    1998 fi
    1999 eval ac_res=\$$3
    2000                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2001 $as_echo "$ac_res" >&6; }
    2002   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2003 
    2004 } # ac_fn_cxx_check_func
    2005 
    2006 # ac_fn_cxx_try_cpp LINENO
    2007 # ------------------------
    2008 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    2009 ac_fn_cxx_try_cpp ()
    2010 {
    2011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2012   if { { ac_try="$ac_cpp conftest.$ac_ext"
    2013 case "(($ac_try" in
    2014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2015   *) ac_try_echo=$ac_try;;
    2016 esac
    2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2018 $as_echo "$ac_try_echo"; } >&5
    2019   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    2020   ac_status=$?
    2021   if test -s conftest.err; then
    2022     grep -v '^ *+' conftest.err >conftest.er1
    2023     cat conftest.er1 >&5
    2024     mv -f conftest.er1 conftest.err
    2025   fi
    2026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2027   test $ac_status = 0; } > conftest.i && {
    2028          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    2029          test ! -s conftest.err
    2030        }; then :
    2031   ac_retval=0
    2032 else
    2033   $as_echo "$as_me: failed program was:" >&5
    2034 sed 's/^/| /' conftest.$ac_ext >&5
    2035 
    2036     ac_retval=1
    2037 fi
    2038   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2039   as_fn_set_status $ac_retval
    2040 
    2041 } # ac_fn_cxx_try_cpp
    2042 
    2043 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2044 # ---------------------------------------------------------
    2045 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2046 # the include files in INCLUDES and setting the cache variable VAR
    2047 # accordingly.
    2048 ac_fn_cxx_check_header_mongrel ()
    2049 {
    2050   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2051   if eval \${$3+:} false; then :
    2052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2053 $as_echo_n "checking for $2... " >&6; }
    2054 if eval \${$3+:} false; then :
    2055   $as_echo_n "(cached) " >&6
    2056 fi
    2057 eval ac_res=\$$3
    2058                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2059 $as_echo "$ac_res" >&6; }
    2060 else
    2061   # Is the header compilable?
    2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2063 $as_echo_n "checking $2 usability... " >&6; }
    2064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2065 /* end confdefs.h.  */
    2066 $4
    2067 #include <$2>
    2068 _ACEOF
    2069 if ac_fn_cxx_try_compile "$LINENO"; then :
    2070   ac_header_compiler=yes
    2071 else
    2072   ac_header_compiler=no
    2073 fi
    2074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2076 $as_echo "$ac_header_compiler" >&6; }
    2077 
    2078 # Is the header present?
    2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2080 $as_echo_n "checking $2 presence... " >&6; }
    2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2082 /* end confdefs.h.  */
    2083 #include <$2>
    2084 _ACEOF
    2085 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2086   ac_header_preproc=yes
    2087 else
    2088   ac_header_preproc=no
    2089 fi
    2090 rm -f conftest.err conftest.i conftest.$ac_ext
    2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2092 $as_echo "$ac_header_preproc" >&6; }
    2093 
    2094 # So?  What about this header?
    2095 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2096   yes:no: )
    2097     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2098 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2100 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2101     ;;
    2102   no:yes:* )
    2103     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2104 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2106 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2107     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2108 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2109     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2110 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2111     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2112 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2113 ( $as_echo "## ----------------------------------- ##
    2114 ## Report this to rappture@nanohub.org ##
    2115 ## ----------------------------------- ##"
    2116      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2117     ;;
    2118 esac
    2119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2120 $as_echo_n "checking for $2... " >&6; }
    2121 if eval \${$3+:} false; then :
    2122   $as_echo_n "(cached) " >&6
    2123 else
    2124   eval "$3=\$ac_header_compiler"
    2125 fi
    2126 eval ac_res=\$$3
    2127                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2128 $as_echo "$ac_res" >&6; }
    2129 fi
    2130   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2131 
    2132 } # ac_fn_cxx_check_header_mongrel
    2133 
    2134 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2135 # ---------------------------------------------------------
    2136 # Tests whether HEADER exists and can be compiled using the include files in
    2137 # INCLUDES, setting the cache variable VAR accordingly.
    2138 ac_fn_cxx_check_header_compile ()
    2139 {
    2140   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2142 $as_echo_n "checking for $2... " >&6; }
    2143 if eval \${$3+:} false; then :
    2144   $as_echo_n "(cached) " >&6
    2145 else
    2146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2147 /* end confdefs.h.  */
    2148 $4
    2149 #include <$2>
    2150 _ACEOF
    2151 if ac_fn_cxx_try_compile "$LINENO"; then :
    2152   eval "$3=yes"
    2153 else
    2154   eval "$3=no"
    2155 fi
    2156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2157 fi
    2158 eval ac_res=\$$3
    2159                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2160 $as_echo "$ac_res" >&6; }
    2161   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2162 
    2163 } # ac_fn_cxx_check_header_compile
    2164 
    2165 # ac_fn_cxx_try_run LINENO
    2166 # ------------------------
    2167 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    2168 # that executables *can* be run.
    2169 ac_fn_cxx_try_run ()
    2170 {
    2171   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2172   if { { ac_try="$ac_link"
    2173 case "(($ac_try" in
    2174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2175   *) ac_try_echo=$ac_try;;
    2176 esac
    2177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2178 $as_echo "$ac_try_echo"; } >&5
    2179   (eval "$ac_link") 2>&5
    2180   ac_status=$?
    2181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2182   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    2183   { { case "(($ac_try" in
    2184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2185   *) ac_try_echo=$ac_try;;
    2186 esac
    2187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2188 $as_echo "$ac_try_echo"; } >&5
    2189   (eval "$ac_try") 2>&5
    2190   ac_status=$?
    2191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2192   test $ac_status = 0; }; }; then :
    2193   ac_retval=0
    2194 else
    2195   $as_echo "$as_me: program exited with status $ac_status" >&5
    2196        $as_echo "$as_me: failed program was:" >&5
    2197 sed 's/^/| /' conftest.$ac_ext >&5
    2198 
    2199        ac_retval=$ac_status
    2200 fi
    2201   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2202   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2203   as_fn_set_status $ac_retval
    2204 
    2205 } # ac_fn_cxx_try_run
    2206 
    2207 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    2208 # ----------------------------------------------
    2209 # Tries to find the compile-time value of EXPR in a program that includes
    2210 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    2211 # computed
    2212 ac_fn_cxx_compute_int ()
    2213 {
    2214   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2215   if test "$cross_compiling" = yes; then
    2216     # Depending upon the size, compute the lo and hi bounds.
    2217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2218 /* end confdefs.h.  */
    2219 $4
    2220 int
    2221 main ()
    2222 {
    2223 static int test_array [1 - 2 * !(($2) >= 0)];
    2224 test_array [0] = 0;
    2225 return test_array [0];
    2226 
    2227   ;
    2228   return 0;
    2229 }
    2230 _ACEOF
    2231 if ac_fn_cxx_try_compile "$LINENO"; then :
    2232   ac_lo=0 ac_mid=0
    2233   while :; do
    2234     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2235 /* end confdefs.h.  */
    2236 $4
    2237 int
    2238 main ()
    2239 {
    2240 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    2241 test_array [0] = 0;
    2242 return test_array [0];
    2243 
    2244   ;
    2245   return 0;
    2246 }
    2247 _ACEOF
    2248 if ac_fn_cxx_try_compile "$LINENO"; then :
    2249   ac_hi=$ac_mid; break
    2250 else
    2251   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    2252                         if test $ac_lo -le $ac_mid; then
    2253                           ac_lo= ac_hi=
    2254                           break
    2255                         fi
    2256                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    2257 fi
    2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2259   done
    2260 else
    2261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2262 /* end confdefs.h.  */
    2263 $4
    2264 int
    2265 main ()
    2266 {
    2267 static int test_array [1 - 2 * !(($2) < 0)];
    2268 test_array [0] = 0;
    2269 return test_array [0];
    2270 
    2271   ;
    2272   return 0;
    2273 }
    2274 _ACEOF
    2275 if ac_fn_cxx_try_compile "$LINENO"; then :
    2276   ac_hi=-1 ac_mid=-1
    2277   while :; do
    2278     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2279 /* end confdefs.h.  */
    2280 $4
    2281 int
    2282 main ()
    2283 {
    2284 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    2285 test_array [0] = 0;
    2286 return test_array [0];
    2287 
    2288   ;
    2289   return 0;
    2290 }
    2291 _ACEOF
    2292 if ac_fn_cxx_try_compile "$LINENO"; then :
    2293   ac_lo=$ac_mid; break
    2294 else
    2295   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    2296                         if test $ac_mid -le $ac_hi; then
    2297                           ac_lo= ac_hi=
    2298                           break
    2299                         fi
    2300                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    2301 fi
    2302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2303   done
    2304 else
    2305   ac_lo= ac_hi=
    2306 fi
    2307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2308 fi
    2309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2310 # Binary search between lo and hi bounds.
    2311 while test "x$ac_lo" != "x$ac_hi"; do
    2312   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    2313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2314 /* end confdefs.h.  */
    2315 $4
    2316 int
    2317 main ()
    2318 {
    2319 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    2320 test_array [0] = 0;
    2321 return test_array [0];
    2322 
    2323   ;
    2324   return 0;
    2325 }
    2326 _ACEOF
    2327 if ac_fn_cxx_try_compile "$LINENO"; then :
    2328   ac_hi=$ac_mid
    2329 else
    2330   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    2331 fi
    2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2333 done
    2334 case $ac_lo in #((
    2335 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    2336 '') ac_retval=1 ;;
    2337 esac
    2338   else
    2339     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2340 /* end confdefs.h.  */
    2341 $4
    2342 static long int longval () { return $2; }
    2343 static unsigned long int ulongval () { return $2; }
    2344 #include <stdio.h>
    2345 #include <stdlib.h>
    2346 int
    2347 main ()
    2348 {
    2349 
    2350   FILE *f = fopen ("conftest.val", "w");
    2351   if (! f)
    2352     return 1;
    2353   if (($2) < 0)
    2354     {
    2355       long int i = longval ();
    2356       if (i != ($2))
    2357         return 1;
    2358       fprintf (f, "%ld", i);
    2359     }
    2360   else
    2361     {
    2362       unsigned long int i = ulongval ();
    2363       if (i != ($2))
    2364         return 1;
    2365       fprintf (f, "%lu", i);
    2366     }
    2367   /* Do not output a trailing newline, as this causes \r\n confusion
    2368      on some platforms.  */
    2369   return ferror (f) || fclose (f) != 0;
    2370 
    2371   ;
    2372   return 0;
    2373 }
    2374 _ACEOF
    2375 if ac_fn_cxx_try_run "$LINENO"; then :
    2376   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2377 else
    2378   ac_retval=1
    2379 fi
    2380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2381   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2382 rm -f conftest.val
    2383 
    2384   fi
    2385   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2386   as_fn_set_status $ac_retval
    2387 
    2388 } # ac_fn_cxx_compute_int
    23891609cat >config.log <<_ACEOF
    23901610This file contains any messages produced by compilers while
     
    23921612
    23931613It was created by Rappture $as_me 1.4, which was
    2394 generated by GNU Autoconf 2.69.  Invocation command line was
     1614generated by GNU Autoconf 2.63.  Invocation command line was
    23951615
    23961616  $ $0 $@
     
    24281648  IFS=$as_save_IFS
    24291649  test -z "$as_dir" && as_dir=.
    2430     $as_echo "PATH: $as_dir"
    2431   done
     1650  $as_echo "PATH: $as_dir"
     1651done
    24321652IFS=$as_save_IFS
    24331653
     
    24661686    esac
    24671687    case $ac_pass in
    2468     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1688    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    24691689    2)
    2470       as_fn_append ac_configure_args1 " '$ac_arg'"
     1690      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    24711691      if test $ac_must_keep_next = true; then
    24721692        ac_must_keep_next=false # Got value, back to normal.
     
    24841704        esac
    24851705      fi
    2486       as_fn_append ac_configure_args " '$ac_arg'"
     1706      ac_configure_args="$ac_configure_args '$ac_arg'"
    24871707      ;;
    24881708    esac
    24891709  done
    24901710done
    2491 { ac_configure_args0=; unset ac_configure_args0;}
    2492 { ac_configure_args1=; unset ac_configure_args1;}
     1711$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1712$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    24931713
    24941714# When interrupted or exit'd, cleanup temporary files, and complete
     
    25021722    echo
    25031723
    2504     $as_echo "## ---------------- ##
     1724    cat <<\_ASBOX
     1725## ---------------- ##
    25051726## Cache variables. ##
    2506 ## ---------------- ##"
     1727## ---------------- ##
     1728_ASBOX
    25071729    echo
    25081730    # The following way of writing the cache mishandles newlines in values,
     
    25131735    *${as_nl}*)
    25141736      case $ac_var in #(
    2515       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1737      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    25161738$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    25171739      esac
     
    25191741      _ | IFS | as_nl) ;; #(
    25201742      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2521       *) { eval $ac_var=; unset $ac_var;} ;;
     1743      *) $as_unset $ac_var ;;
    25221744      esac ;;
    25231745    esac
     
    25381760    echo
    25391761
    2540     $as_echo "## ----------------- ##
     1762    cat <<\_ASBOX
     1763## ----------------- ##
    25411764## Output variables. ##
    2542 ## ----------------- ##"
     1765## ----------------- ##
     1766_ASBOX
    25431767    echo
    25441768    for ac_var in $ac_subst_vars
     
    25531777
    25541778    if test -n "$ac_subst_files"; then
    2555       $as_echo "## ------------------- ##
     1779      cat <<\_ASBOX
     1780## ------------------- ##
    25561781## File substitutions. ##
    2557 ## ------------------- ##"
     1782## ------------------- ##
     1783_ASBOX
    25581784      echo
    25591785      for ac_var in $ac_subst_files
     
    25691795
    25701796    if test -s confdefs.h; then
    2571       $as_echo "## ----------- ##
     1797      cat <<\_ASBOX
     1798## ----------- ##
    25721799## confdefs.h. ##
    2573 ## ----------- ##"
     1800## ----------- ##
     1801_ASBOX
    25741802      echo
    25751803      cat confdefs.h
     
    25851813' 0
    25861814for ac_signal in 1 2 13 15; do
    2587   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1815  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    25881816done
    25891817ac_signal=0
     
    25921820rm -f -r conftest* confdefs.h
    25931821
    2594 $as_echo "/* confdefs.h */" > confdefs.h
    2595 
    25961822# Predefined preprocessor variables.
    25971823
     
    26001826_ACEOF
    26011827
     1828
    26021829cat >>confdefs.h <<_ACEOF
    26031830#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    26041831_ACEOF
    26051832
     1833
    26061834cat >>confdefs.h <<_ACEOF
    26071835#define PACKAGE_VERSION "$PACKAGE_VERSION"
    26081836_ACEOF
    26091837
     1838
    26101839cat >>confdefs.h <<_ACEOF
    26111840#define PACKAGE_STRING "$PACKAGE_STRING"
    26121841_ACEOF
    26131842
     1843
    26141844cat >>confdefs.h <<_ACEOF
    26151845#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2616 _ACEOF
    2617 
    2618 cat >>confdefs.h <<_ACEOF
    2619 #define PACKAGE_URL "$PACKAGE_URL"
    26201846_ACEOF
    26211847
     
    26261852ac_site_file2=NONE
    26271853if test -n "$CONFIG_SITE"; then
    2628   # We do not want a PATH search for config.site.
    2629   case $CONFIG_SITE in #((
    2630     -*)  ac_site_file1=./$CONFIG_SITE;;
    2631     */*) ac_site_file1=$CONFIG_SITE;;
    2632     *)   ac_site_file1=./$CONFIG_SITE;;
    2633   esac
     1854  ac_site_file1=$CONFIG_SITE
    26341855elif test "x$prefix" != xNONE; then
    26351856  ac_site_file1=$prefix/share/config.site
     
    26421863do
    26431864  test "x$ac_site_file" = xNONE && continue
    2644   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2645     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1865  if test -r "$ac_site_file"; then
     1866    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    26461867$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    26471868    sed 's/^/| /' "$ac_site_file" >&5
    2648     . "$ac_site_file" \
    2649       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2651 as_fn_error $? "failed to load site script $ac_site_file
    2652 See \`config.log' for more details" "$LINENO" 5; }
     1869    . "$ac_site_file"
    26531870  fi
    26541871done
    26551872
    26561873if test -r "$cache_file"; then
    2657   # Some versions of bash will fail to source /dev/null (special files
    2658   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2659   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2660     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1874  # Some versions of bash will fail to source /dev/null (special
     1875  # files actually), so we avoid doing that.
     1876  if test -f "$cache_file"; then
     1877    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    26611878$as_echo "$as_me: loading cache $cache_file" >&6;}
    26621879    case $cache_file in
     
    26661883  fi
    26671884else
    2668   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1885  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    26691886$as_echo "$as_me: creating cache $cache_file" >&6;}
    26701887  >$cache_file
     
    26811898  case $ac_old_set,$ac_new_set in
    26821899    set,)
    2683       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1900      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    26841901$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    26851902      ac_cache_corrupted=: ;;
    26861903    ,set)
    2687       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1904      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    26881905$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    26891906      ac_cache_corrupted=: ;;
     
    26951912        ac_new_val_w=`echo x $ac_new_val`
    26961913        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2697           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1914          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    26981915$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    26991916          ac_cache_corrupted=:
    27001917        else
    2701           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1918          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    27021919$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    27031920          eval $ac_var=\$ac_old_val
    27041921        fi
    2705         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1922        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    27061923$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2707         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1924        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    27081925$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    27091926      fi;;
     
    27171934    case " $ac_configure_args " in
    27181935      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2719       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1936      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    27201937    esac
    27211938  fi
    27221939done
    27231940if $ac_cache_corrupted; then
    2724   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1941  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    27251942$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2726   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1943  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    27271944$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2728   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2729 fi
    2730 ## -------------------- ##
    2731 ## Main body of script. ##
    2732 ## -------------------- ##
     1945  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1946$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1947   { (exit 1); exit 1; }; }
     1948fi
     1949
     1950
     1951
     1952
     1953
     1954
     1955
     1956
     1957
     1958
     1959
     1960
     1961
     1962
     1963
     1964
     1965
     1966
     1967
     1968
     1969
     1970
     1971
     1972
    27331973
    27341974ac_ext=c
     
    27561996done
    27571997if test -z "$ac_aux_dir"; then
    2758   as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     1998  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
     1999$as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
     2000   { (exit 1); exit 1; }; }
    27592001fi
    27602002
     
    27842026
    27852027# Check whether --with-install was given.
    2786 if test "${with_install+set}" = set; then :
     2028if test "${with_install+set}" = set; then
    27872029  withval=$with_install;
    27882030else
     
    28192061# ./install, which can be erroneously created by make from ./install.sh.
    28202062# Reject install programs that cannot install multiple files.
    2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     2063{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    28222064$as_echo_n "checking for a BSD-compatible install... " >&6; }
    28232065if test -z "$INSTALL"; then
    2824 if ${ac_cv_path_install+:} false; then :
     2066if test "${ac_cv_path_install+set}" = set; then
    28252067  $as_echo_n "(cached) " >&6
    28262068else
     
    28302072  IFS=$as_save_IFS
    28312073  test -z "$as_dir" && as_dir=.
    2832     # Account for people who put trailing slashes in PATH elements.
    2833 case $as_dir/ in #((
    2834   ./ | .// | /[cC]/* | \
     2074  # Account for people who put trailing slashes in PATH elements.
     2075case $as_dir/ in
     2076  ./ | .// | /cC/* | \
    28352077  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2836   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     2078  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    28372079  /usr/ucb/* ) ;;
    28382080  *)
     
    28422084    for ac_prog in ginstall scoinst install; do
    28432085      for ac_exec_ext in '' $ac_executable_extensions; do
    2844         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2086        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    28452087          if test $ac_prog = install &&
    28462088            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    28712113esac
    28722114
    2873   done
     2115done
    28742116IFS=$as_save_IFS
    28752117
     
    28872129  fi
    28882130fi
    2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     2131{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    28902132$as_echo "$INSTALL" >&6; }
    28912133
     
    28982140test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    28992141
     2142# Find a good install program.  We prefer a C program (faster),
     2143# so one script is as good as another.  But avoid the broken or
     2144# incompatible versions:
     2145# SysV /etc/install, /usr/sbin/install
     2146# SunOS /usr/etc/install
     2147# IRIX /sbin/install
     2148# AIX /bin/install
     2149# AmigaOS /C/install, which installs bootblocks on floppy discs
     2150# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
     2151# AFS /usr/afsws/bin/install, which mishandles nonexistent args
     2152# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2153# OS/2's system install, which has a completely different semantic
     2154# ./install, which can be erroneously created by make from ./install.sh.
     2155# Reject install programs that cannot install multiple files.
     2156{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2157$as_echo_n "checking for a BSD-compatible install... " >&6; }
     2158if test -z "$INSTALL"; then
     2159if test "${ac_cv_path_install+set}" = set; then
     2160  $as_echo_n "(cached) " >&6
     2161else
     2162  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2163for as_dir in $PATH
     2164do
     2165  IFS=$as_save_IFS
     2166  test -z "$as_dir" && as_dir=.
     2167  # Account for people who put trailing slashes in PATH elements.
     2168case $as_dir/ in
     2169  ./ | .// | /cC/* | \
     2170  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2171  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2172  /usr/ucb/* ) ;;
     2173  *)
     2174    # OSF1 and SCO ODT 3.0 have their own names for install.
     2175    # Don't use installbsd from OSF since it installs stuff as root
     2176    # by default.
     2177    for ac_prog in ginstall scoinst install; do
     2178      for ac_exec_ext in '' $ac_executable_extensions; do
     2179        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2180          if test $ac_prog = install &&
     2181            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2182            # AIX install.  It has an incompatible calling convention.
     2183            :
     2184          elif test $ac_prog = install &&
     2185            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2186            # program-specific install script used by HP pwplus--don't use.
     2187            :
     2188          else
     2189            rm -rf conftest.one conftest.two conftest.dir
     2190            echo one > conftest.one
     2191            echo two > conftest.two
     2192            mkdir conftest.dir
     2193            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     2194              test -s conftest.one && test -s conftest.two &&
     2195              test -s conftest.dir/conftest.one &&
     2196              test -s conftest.dir/conftest.two
     2197            then
     2198              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2199              break 3
     2200            fi
     2201          fi
     2202        fi
     2203      done
     2204    done
     2205    ;;
     2206esac
     2207
     2208done
     2209IFS=$as_save_IFS
     2210
     2211rm -rf conftest.one conftest.two conftest.dir
     2212
     2213fi
     2214  if test "${ac_cv_path_install+set}" = set; then
     2215    INSTALL=$ac_cv_path_install
     2216  else
     2217    # As a last resort, use the slow shell script.  Don't cache a
     2218    # value for INSTALL within a source directory, because that will
     2219    # break other packages using the cache if that directory is
     2220    # removed, or if the value is a relative name.
     2221    INSTALL=$ac_install_sh
     2222  fi
     2223fi
     2224{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2225$as_echo "$INSTALL" >&6; }
     2226
     2227# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     2228# It thinks the first close brace ends the variable substitution.
     2229test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
     2230
     2231test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     2232
     2233test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    29002234
    29012235if test -n "$ac_tool_prefix"; then
    29022236  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    29032237set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2238{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29052239$as_echo_n "checking for $ac_word... " >&6; }
    2906 if ${ac_cv_prog_RANLIB+:} false; then :
     2240if test "${ac_cv_prog_RANLIB+set}" = set; then
    29072241  $as_echo_n "(cached) " >&6
    29082242else
     
    29152249  IFS=$as_save_IFS
    29162250  test -z "$as_dir" && as_dir=.
    2917     for ac_exec_ext in '' $ac_executable_extensions; do
    2918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2251  for ac_exec_ext in '' $ac_executable_extensions; do
     2252  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29192253    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2254    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29212255    break 2
    29222256  fi
    29232257done
    2924   done
     2258done
    29252259IFS=$as_save_IFS
    29262260
     
    29292263RANLIB=$ac_cv_prog_RANLIB
    29302264if test -n "$RANLIB"; then
    2931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     2265  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    29322266$as_echo "$RANLIB" >&6; }
    29332267else
    2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2268  { $as_echo "$as_me:$LINENO: result: no" >&5
    29352269$as_echo "no" >&6; }
    29362270fi
     
    29422276  # Extract the first word of "ranlib", so it can be a program name with args.
    29432277set dummy ranlib; ac_word=$2
    2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2278{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29452279$as_echo_n "checking for $ac_word... " >&6; }
    2946 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     2280if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    29472281  $as_echo_n "(cached) " >&6
    29482282else
     
    29552289  IFS=$as_save_IFS
    29562290  test -z "$as_dir" && as_dir=.
    2957     for ac_exec_ext in '' $ac_executable_extensions; do
    2958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2291  for ac_exec_ext in '' $ac_executable_extensions; do
     2292  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29592293    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2294    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29612295    break 2
    29622296  fi
    29632297done
    2964   done
     2298done
    29652299IFS=$as_save_IFS
    29662300
     
    29692303ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    29702304if test -n "$ac_ct_RANLIB"; then
    2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     2305  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    29722306$as_echo "$ac_ct_RANLIB" >&6; }
    29732307else
    2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2308  { $as_echo "$as_me:$LINENO: result: no" >&5
    29752309$as_echo "no" >&6; }
    29762310fi
     
    29812315    case $cross_compiling:$ac_tool_warned in
    29822316yes:)
    2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2317{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29842318$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    29852319ac_tool_warned=yes ;;
     
    29912325fi
    29922326
    2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     2327{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
    29942328$as_echo_n "checking whether ln -s works... " >&6; }
    29952329LN_S=$as_ln_s
    29962330if test "$LN_S" = "ln -s"; then
    2997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2331  { $as_echo "$as_me:$LINENO: result: yes" >&5
    29982332$as_echo "yes" >&6; }
    29992333else
    3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     2334  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    30012335$as_echo "no, using $LN_S" >&6; }
    30022336fi
    30032337
    3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     2338{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    30052339$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    30062340if test -z "$MKDIR_P"; then
    3007   if ${ac_cv_path_mkdir+:} false; then :
     2341  if test "${ac_cv_path_mkdir+set}" = set; then
    30082342  $as_echo_n "(cached) " >&6
    30092343else
     
    30132347  IFS=$as_save_IFS
    30142348  test -z "$as_dir" && as_dir=.
    3015     for ac_prog in mkdir gmkdir; do
     2349  for ac_prog in mkdir gmkdir; do
    30162350         for ac_exec_ext in '' $ac_executable_extensions; do
    3017            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
     2351           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
    30182352           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    30192353             'mkdir (GNU coreutils) '* | \
     
    30252359         done
    30262360       done
    3027   done
     2361done
    30282362IFS=$as_save_IFS
    30292363
    30302364fi
    30312365
    3032   test -d ./--version && rmdir ./--version
    30332366  if test "${ac_cv_path_mkdir+set}" = set; then
    30342367    MKDIR_P="$ac_cv_path_mkdir -p"
     
    30382371    # break other packages using the cache if that directory is
    30392372    # removed, or if the value is a relative name.
     2373    test -d ./--version && rmdir ./--version
    30402374    MKDIR_P="$ac_install_sh -d"
    30412375  fi
    30422376fi
    3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     2377{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    30442378$as_echo "$MKDIR_P" >&6; }
    30452379
    3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2380{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    30472381$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    30482382set x ${MAKE-make}
    30492383ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    3050 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     2384if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    30512385  $as_echo_n "(cached) " >&6
    30522386else
     
    30562390        @echo '@@@%%%=$(MAKE)=@@@%%%'
    30572391_ACEOF
    3058 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     2392# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    30592393case `${MAKE-make} -f conftest.make 2>/dev/null` in
    30602394  *@@@%%%=?*=@@@%%%*)
     
    30662400fi
    30672401if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    3068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2402  { $as_echo "$as_me:$LINENO: result: yes" >&5
    30692403$as_echo "yes" >&6; }
    30702404  SET_MAKE=
    30712405else
    3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2406  { $as_echo "$as_me:$LINENO: result: no" >&5
    30732407$as_echo "no" >&6; }
    30742408  SET_MAKE="MAKE=${MAKE-make}"
     
    30852419  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    30862420set dummy ${ac_tool_prefix}gcc; ac_word=$2
    3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2421{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    30882422$as_echo_n "checking for $ac_word... " >&6; }
    3089 if ${ac_cv_prog_CC+:} false; then :
     2423if test "${ac_cv_prog_CC+set}" = set; then
    30902424  $as_echo_n "(cached) " >&6
    30912425else
     
    30982432  IFS=$as_save_IFS
    30992433  test -z "$as_dir" && as_dir=.
    3100     for ac_exec_ext in '' $ac_executable_extensions; do
    3101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2434  for ac_exec_ext in '' $ac_executable_extensions; do
     2435  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31022436    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    3103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2437    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31042438    break 2
    31052439  fi
    31062440done
    3107   done
     2441done
    31082442IFS=$as_save_IFS
    31092443
     
    31122446CC=$ac_cv_prog_CC
    31132447if test -n "$CC"; then
    3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2448  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    31152449$as_echo "$CC" >&6; }
    31162450else
    3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2451  { $as_echo "$as_me:$LINENO: result: no" >&5
    31182452$as_echo "no" >&6; }
    31192453fi
     
    31252459  # Extract the first word of "gcc", so it can be a program name with args.
    31262460set dummy gcc; ac_word=$2
    3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2461{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    31282462$as_echo_n "checking for $ac_word... " >&6; }
    3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2463if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    31302464  $as_echo_n "(cached) " >&6
    31312465else
     
    31382472  IFS=$as_save_IFS
    31392473  test -z "$as_dir" && as_dir=.
    3140     for ac_exec_ext in '' $ac_executable_extensions; do
    3141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2474  for ac_exec_ext in '' $ac_executable_extensions; do
     2475  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31422476    ac_cv_prog_ac_ct_CC="gcc"
    3143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2477    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31442478    break 2
    31452479  fi
    31462480done
    3147   done
     2481done
    31482482IFS=$as_save_IFS
    31492483
     
    31522486ac_ct_CC=$ac_cv_prog_ac_ct_CC
    31532487if test -n "$ac_ct_CC"; then
    3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2488  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    31552489$as_echo "$ac_ct_CC" >&6; }
    31562490else
    3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2491  { $as_echo "$as_me:$LINENO: result: no" >&5
    31582492$as_echo "no" >&6; }
    31592493fi
     
    31642498    case $cross_compiling:$ac_tool_warned in
    31652499yes:)
    3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2500{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    31672501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    31682502ac_tool_warned=yes ;;
     
    31782512    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    31792513set dummy ${ac_tool_prefix}cc; ac_word=$2
    3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2514{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    31812515$as_echo_n "checking for $ac_word... " >&6; }
    3182 if ${ac_cv_prog_CC+:} false; then :
     2516if test "${ac_cv_prog_CC+set}" = set; then
    31832517  $as_echo_n "(cached) " >&6
    31842518else
     
    31912525  IFS=$as_save_IFS
    31922526  test -z "$as_dir" && as_dir=.
    3193     for ac_exec_ext in '' $ac_executable_extensions; do
    3194   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2527  for ac_exec_ext in '' $ac_executable_extensions; do
     2528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31952529    ac_cv_prog_CC="${ac_tool_prefix}cc"
    3196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2530    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    31972531    break 2
    31982532  fi
    31992533done
    3200   done
     2534done
    32012535IFS=$as_save_IFS
    32022536
     
    32052539CC=$ac_cv_prog_CC
    32062540if test -n "$CC"; then
    3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2541  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    32082542$as_echo "$CC" >&6; }
    32092543else
    3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2544  { $as_echo "$as_me:$LINENO: result: no" >&5
    32112545$as_echo "no" >&6; }
    32122546fi
     
    32182552  # Extract the first word of "cc", so it can be a program name with args.
    32192553set dummy cc; ac_word=$2
    3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2554{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    32212555$as_echo_n "checking for $ac_word... " >&6; }
    3222 if ${ac_cv_prog_CC+:} false; then :
     2556if test "${ac_cv_prog_CC+set}" = set; then
    32232557  $as_echo_n "(cached) " >&6
    32242558else
     
    32322566  IFS=$as_save_IFS
    32332567  test -z "$as_dir" && as_dir=.
    3234     for ac_exec_ext in '' $ac_executable_extensions; do
    3235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2568  for ac_exec_ext in '' $ac_executable_extensions; do
     2569  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32362570    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    32372571       ac_prog_rejected=yes
     
    32392573     fi
    32402574    ac_cv_prog_CC="cc"
    3241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2575    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32422576    break 2
    32432577  fi
    32442578done
    3245   done
     2579done
    32462580IFS=$as_save_IFS
    32472581
     
    32622596CC=$ac_cv_prog_CC
    32632597if test -n "$CC"; then
    3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2598  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    32652599$as_echo "$CC" >&6; }
    32662600else
    3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2601  { $as_echo "$as_me:$LINENO: result: no" >&5
    32682602$as_echo "no" >&6; }
    32692603fi
     
    32772611    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    32782612set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2613{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    32802614$as_echo_n "checking for $ac_word... " >&6; }
    3281 if ${ac_cv_prog_CC+:} false; then :
     2615if test "${ac_cv_prog_CC+set}" = set; then
    32822616  $as_echo_n "(cached) " >&6
    32832617else
     
    32902624  IFS=$as_save_IFS
    32912625  test -z "$as_dir" && as_dir=.
    3292     for ac_exec_ext in '' $ac_executable_extensions; do
    3293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2626  for ac_exec_ext in '' $ac_executable_extensions; do
     2627  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32942628    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2629    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    32962630    break 2
    32972631  fi
    32982632done
    3299   done
     2633done
    33002634IFS=$as_save_IFS
    33012635
     
    33042638CC=$ac_cv_prog_CC
    33052639if test -n "$CC"; then
    3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2640  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    33072641$as_echo "$CC" >&6; }
    33082642else
    3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2643  { $as_echo "$as_me:$LINENO: result: no" >&5
    33102644$as_echo "no" >&6; }
    33112645fi
     
    33212655  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33222656set dummy $ac_prog; ac_word=$2
    3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2657{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    33242658$as_echo_n "checking for $ac_word... " >&6; }
    3325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2659if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    33262660  $as_echo_n "(cached) " >&6
    33272661else
     
    33342668  IFS=$as_save_IFS
    33352669  test -z "$as_dir" && as_dir=.
    3336     for ac_exec_ext in '' $ac_executable_extensions; do
    3337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2670  for ac_exec_ext in '' $ac_executable_extensions; do
     2671  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33382672    ac_cv_prog_ac_ct_CC="$ac_prog"
    3339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2673    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    33402674    break 2
    33412675  fi
    33422676done
    3343   done
     2677done
    33442678IFS=$as_save_IFS
    33452679
     
    33482682ac_ct_CC=$ac_cv_prog_ac_ct_CC
    33492683if test -n "$ac_ct_CC"; then
    3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2684  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    33512685$as_echo "$ac_ct_CC" >&6; }
    33522686else
    3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2687  { $as_echo "$as_me:$LINENO: result: no" >&5
    33542688$as_echo "no" >&6; }
    33552689fi
     
    33642698    case $cross_compiling:$ac_tool_warned in
    33652699yes:)
    3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2700{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    33672701$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    33682702ac_tool_warned=yes ;;
     
    33752709
    33762710
    3377 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2711test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    33782712$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3379 as_fn_error $? "no acceptable C compiler found in \$PATH
    3380 See \`config.log' for more details" "$LINENO" 5; }
     2713{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2714See \`config.log' for more details." >&5
     2715$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2716See \`config.log' for more details." >&2;}
     2717   { (exit 1); exit 1; }; }; }
    33812718
    33822719# Provide some information about the compiler.
    3383 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2720$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    33842721set X $ac_compile
    33852722ac_compiler=$2
    3386 for ac_option in --version -v -V -qversion; do
    3387   { { ac_try="$ac_compiler $ac_option >&5"
     2723{ (ac_try="$ac_compiler --version >&5"
    33882724case "(($ac_try" in
    33892725  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    33902726  *) ac_try_echo=$ac_try;;
    33912727esac
    3392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3393 $as_echo "$ac_try_echo"; } >&5
    3394   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     2728eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2729$as_echo "$ac_try_echo") >&5
     2730  (eval "$ac_compiler --version >&5") 2>&5
    33952731  ac_status=$?
    3396   if test -s conftest.err; then
    3397     sed '10a\
    3398 ... rest of stderr output deleted ...
    3399          10q' conftest.err >conftest.er1
    3400     cat conftest.er1 >&5
    3401   fi
    3402   rm -f conftest.er1 conftest.err
    3403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3404   test $ac_status = 0; }
    3405 done
    3406 
    3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2732  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2733  (exit $ac_status); }
     2734{ (ac_try="$ac_compiler -v >&5"
     2735case "(($ac_try" in
     2736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2737  *) ac_try_echo=$ac_try;;
     2738esac
     2739eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2740$as_echo "$ac_try_echo") >&5
     2741  (eval "$ac_compiler -v >&5") 2>&5
     2742  ac_status=$?
     2743  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2744  (exit $ac_status); }
     2745{ (ac_try="$ac_compiler -V >&5"
     2746case "(($ac_try" in
     2747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2748  *) ac_try_echo=$ac_try;;
     2749esac
     2750eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2751$as_echo "$ac_try_echo") >&5
     2752  (eval "$ac_compiler -V >&5") 2>&5
     2753  ac_status=$?
     2754  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2755  (exit $ac_status); }
     2756
     2757cat >conftest.$ac_ext <<_ACEOF
     2758/* confdefs.h.  */
     2759_ACEOF
     2760cat confdefs.h >>conftest.$ac_ext
     2761cat >>conftest.$ac_ext <<_ACEOF
    34082762/* end confdefs.h.  */
    34092763
     
    34212775# It will help us diagnose broken compilers, and finding out an intuition
    34222776# of exeext.
    3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3424 $as_echo_n "checking whether the C compiler works... " >&6; }
     2777{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2778$as_echo_n "checking for C compiler default output file name... " >&6; }
    34252779ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    34262780
     
    34382792rm -f $ac_rmfiles
    34392793
    3440 if { { ac_try="$ac_link_default"
     2794if { (ac_try="$ac_link_default"
    34412795case "(($ac_try" in
    34422796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34432797  *) ac_try_echo=$ac_try;;
    34442798esac
    3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3446 $as_echo "$ac_try_echo"; } >&5
     2799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2800$as_echo "$ac_try_echo") >&5
    34472801  (eval "$ac_link_default") 2>&5
    34482802  ac_status=$?
    3449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3450   test $ac_status = 0; }; then :
     2803  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2804  (exit $ac_status); }; then
    34512805  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    34522806# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    34652819        break;;
    34662820    *.* )
    3467         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2821        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    34682822        then :; else
    34692823           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    34842838  ac_file=''
    34852839fi
    3486 if test -z "$ac_file"; then :
    3487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3488 $as_echo "no" >&6; }
    3489 $as_echo "$as_me: failed program was:" >&5
     2840
     2841{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2842$as_echo "$ac_file" >&6; }
     2843if test -z "$ac_file"; then
     2844  $as_echo "$as_me: failed program was:" >&5
    34902845sed 's/^/| /' conftest.$ac_ext >&5
    34912846
    3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2847{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    34932848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3494 as_fn_error 77 "C compiler cannot create executables
    3495 See \`config.log' for more details" "$LINENO" 5; }
    3496 else
    3497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2849{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2850See \`config.log' for more details." >&5
     2851$as_echo "$as_me: error: C compiler cannot create executables
     2852See \`config.log' for more details." >&2;}
     2853   { (exit 77); exit 77; }; }; }
     2854fi
     2855
     2856ac_exeext=$ac_cv_exeext
     2857
     2858# Check that the compiler produces executables we can run.  If not, either
     2859# the compiler is broken, or we cross compile.
     2860{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2861$as_echo_n "checking whether the C compiler works... " >&6; }
     2862# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2863# If not cross compiling, check that we can run a simple program.
     2864if test "$cross_compiling" != yes; then
     2865  if { ac_try='./$ac_file'
     2866  { (case "(($ac_try" in
     2867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2868  *) ac_try_echo=$ac_try;;
     2869esac
     2870eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2871$as_echo "$ac_try_echo") >&5
     2872  (eval "$ac_try") 2>&5
     2873  ac_status=$?
     2874  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2875  (exit $ac_status); }; }; then
     2876    cross_compiling=no
     2877  else
     2878    if test "$cross_compiling" = maybe; then
     2879        cross_compiling=yes
     2880    else
     2881        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2882$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2883{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2884If you meant to cross compile, use \`--host'.
     2885See \`config.log' for more details." >&5
     2886$as_echo "$as_me: error: cannot run C compiled programs.
     2887If you meant to cross compile, use \`--host'.
     2888See \`config.log' for more details." >&2;}
     2889   { (exit 1); exit 1; }; }; }
     2890    fi
     2891  fi
     2892fi
     2893{ $as_echo "$as_me:$LINENO: result: yes" >&5
    34982894$as_echo "yes" >&6; }
    3499 fi
    3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3501 $as_echo_n "checking for C compiler default output file name... " >&6; }
    3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3503 $as_echo "$ac_file" >&6; }
    3504 ac_exeext=$ac_cv_exeext
    35052895
    35062896rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    35072897ac_clean_files=$ac_clean_files_save
    3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2898# Check that the compiler produces executables we can run.  If not, either
     2899# the compiler is broken, or we cross compile.
     2900{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2901$as_echo_n "checking whether we are cross compiling... " >&6; }
     2902{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2903$as_echo "$cross_compiling" >&6; }
     2904
     2905{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    35092906$as_echo_n "checking for suffix of executables... " >&6; }
    3510 if { { ac_try="$ac_link"
     2907if { (ac_try="$ac_link"
    35112908case "(($ac_try" in
    35122909  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    35132910  *) ac_try_echo=$ac_try;;
    35142911esac
    3515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3516 $as_echo "$ac_try_echo"; } >&5
     2912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2913$as_echo "$ac_try_echo") >&5
    35172914  (eval "$ac_link") 2>&5
    35182915  ac_status=$?
    3519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3520   test $ac_status = 0; }; then :
     2916  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2917  (exit $ac_status); }; then
    35212918  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    35222919# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    35332930done
    35342931else
    3535   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2932  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    35362933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3537 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3538 See \`config.log' for more details" "$LINENO" 5; }
    3539 fi
    3540 rm -f conftest conftest$ac_cv_exeext
    3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2934{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2935See \`config.log' for more details." >&5
     2936$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2937See \`config.log' for more details." >&2;}
     2938   { (exit 1); exit 1; }; }; }
     2939fi
     2940
     2941rm -f conftest$ac_cv_exeext
     2942{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    35422943$as_echo "$ac_cv_exeext" >&6; }
    35432944
     
    35452946EXEEXT=$ac_cv_exeext
    35462947ac_exeext=$EXEEXT
    3547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2948{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2949$as_echo_n "checking for suffix of object files... " >&6; }
     2950if test "${ac_cv_objext+set}" = set; then
     2951  $as_echo_n "(cached) " >&6
     2952else
     2953  cat >conftest.$ac_ext <<_ACEOF
     2954/* confdefs.h.  */
     2955_ACEOF
     2956cat confdefs.h >>conftest.$ac_ext
     2957cat >>conftest.$ac_ext <<_ACEOF
    35482958/* end confdefs.h.  */
    3549 #include <stdio.h>
     2959
    35502960int
    35512961main ()
    35522962{
    3553 FILE *f = fopen ("conftest.out", "w");
    3554  return ferror (f) || fclose (f) != 0;
    35552963
    35562964  ;
     
    35582966}
    35592967_ACEOF
    3560 ac_clean_files="$ac_clean_files conftest.out"
    3561 # Check that the compiler produces executables we can run.  If not, either
    3562 # the compiler is broken, or we cross compile.
    3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3564 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3565 if test "$cross_compiling" != yes; then
    3566   { { ac_try="$ac_link"
     2968rm -f conftest.o conftest.obj
     2969if { (ac_try="$ac_compile"
    35672970case "(($ac_try" in
    35682971  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    35692972  *) ac_try_echo=$ac_try;;
    35702973esac
    3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3572 $as_echo "$ac_try_echo"; } >&5
    3573   (eval "$ac_link") 2>&5
    3574   ac_status=$?
    3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3576   test $ac_status = 0; }
    3577   if { ac_try='./conftest$ac_cv_exeext'
    3578   { { case "(($ac_try" in
    3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3580   *) ac_try_echo=$ac_try;;
    3581 esac
    3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3583 $as_echo "$ac_try_echo"; } >&5
    3584   (eval "$ac_try") 2>&5
    3585   ac_status=$?
    3586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3587   test $ac_status = 0; }; }; then
    3588     cross_compiling=no
    3589   else
    3590     if test "$cross_compiling" = maybe; then
    3591         cross_compiling=yes
    3592     else
    3593         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3595 as_fn_error $? "cannot run C compiled programs.
    3596 If you meant to cross compile, use \`--host'.
    3597 See \`config.log' for more details" "$LINENO" 5; }
    3598     fi
    3599   fi
    3600 fi
    3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3602 $as_echo "$cross_compiling" >&6; }
    3603 
    3604 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3605 ac_clean_files=$ac_clean_files_save
    3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3607 $as_echo_n "checking for suffix of object files... " >&6; }
    3608 if ${ac_cv_objext+:} false; then :
    3609   $as_echo_n "(cached) " >&6
    3610 else
    3611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3612 /* end confdefs.h.  */
    3613 
    3614 int
    3615 main ()
    3616 {
    3617 
    3618   ;
    3619   return 0;
    3620 }
    3621 _ACEOF
    3622 rm -f conftest.o conftest.obj
    3623 if { { ac_try="$ac_compile"
    3624 case "(($ac_try" in
    3625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3626   *) ac_try_echo=$ac_try;;
    3627 esac
    3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3629 $as_echo "$ac_try_echo"; } >&5
     2974eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2975$as_echo "$ac_try_echo") >&5
    36302976  (eval "$ac_compile") 2>&5
    36312977  ac_status=$?
    3632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3633   test $ac_status = 0; }; then :
     2978  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2979  (exit $ac_status); }; then
    36342980  for ac_file in conftest.o conftest.obj conftest.*; do
    36352981  test -f "$ac_file" || continue;
     
    36442990sed 's/^/| /' conftest.$ac_ext >&5
    36452991
    3646 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2992{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    36472993$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3648 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3649 See \`config.log' for more details" "$LINENO" 5; }
    3650 fi
     2994{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2995See \`config.log' for more details." >&5
     2996$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2997See \`config.log' for more details." >&2;}
     2998   { (exit 1); exit 1; }; }; }
     2999fi
     3000
    36513001rm -f conftest.$ac_cv_objext conftest.$ac_ext
    36523002fi
    3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3003{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    36543004$as_echo "$ac_cv_objext" >&6; }
    36553005OBJEXT=$ac_cv_objext
    36563006ac_objext=$OBJEXT
    3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3007{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    36583008$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3659 if ${ac_cv_c_compiler_gnu+:} false; then :
     3009if test "${ac_cv_c_compiler_gnu+set}" = set; then
    36603010  $as_echo_n "(cached) " >&6
    36613011else
    3662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3012  cat >conftest.$ac_ext <<_ACEOF
     3013/* confdefs.h.  */
     3014_ACEOF
     3015cat confdefs.h >>conftest.$ac_ext
     3016cat >>conftest.$ac_ext <<_ACEOF
    36633017/* end confdefs.h.  */
    36643018
     
    36743028}
    36753029_ACEOF
    3676 if ac_fn_c_try_compile "$LINENO"; then :
     3030rm -f conftest.$ac_objext
     3031if { (ac_try="$ac_compile"
     3032case "(($ac_try" in
     3033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3034  *) ac_try_echo=$ac_try;;
     3035esac
     3036eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3037$as_echo "$ac_try_echo") >&5
     3038  (eval "$ac_compile") 2>conftest.er1
     3039  ac_status=$?
     3040  grep -v '^ *+' conftest.er1 >conftest.err
     3041  rm -f conftest.er1
     3042  cat conftest.err >&5
     3043  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3044  (exit $ac_status); } && {
     3045         test -z "$ac_c_werror_flag" ||
     3046         test ! -s conftest.err
     3047       } && test -s conftest.$ac_objext; then
    36773048  ac_compiler_gnu=yes
    36783049else
    3679   ac_compiler_gnu=no
    3680 fi
     3050  $as_echo "$as_me: failed program was:" >&5
     3051sed 's/^/| /' conftest.$ac_ext >&5
     3052
     3053        ac_compiler_gnu=no
     3054fi
     3055
    36813056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36823057ac_cv_c_compiler_gnu=$ac_compiler_gnu
    36833058
    36843059fi
    3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3060{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    36863061$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    36873062if test $ac_compiler_gnu = yes; then
     
    36923067ac_test_CFLAGS=${CFLAGS+set}
    36933068ac_save_CFLAGS=$CFLAGS
    3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3069{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    36953070$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3696 if ${ac_cv_prog_cc_g+:} false; then :
     3071if test "${ac_cv_prog_cc_g+set}" = set; then
    36973072  $as_echo_n "(cached) " >&6
    36983073else
     
    37013076   ac_cv_prog_cc_g=no
    37023077   CFLAGS="-g"
    3703    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3078   cat >conftest.$ac_ext <<_ACEOF
     3079/* confdefs.h.  */
     3080_ACEOF
     3081cat confdefs.h >>conftest.$ac_ext
     3082cat >>conftest.$ac_ext <<_ACEOF
    37043083/* end confdefs.h.  */
    37053084
     
    37123091}
    37133092_ACEOF
    3714 if ac_fn_c_try_compile "$LINENO"; then :
     3093rm -f conftest.$ac_objext
     3094if { (ac_try="$ac_compile"
     3095case "(($ac_try" in
     3096  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3097  *) ac_try_echo=$ac_try;;
     3098esac
     3099eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3100$as_echo "$ac_try_echo") >&5
     3101  (eval "$ac_compile") 2>conftest.er1
     3102  ac_status=$?
     3103  grep -v '^ *+' conftest.er1 >conftest.err
     3104  rm -f conftest.er1
     3105  cat conftest.err >&5
     3106  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3107  (exit $ac_status); } && {
     3108         test -z "$ac_c_werror_flag" ||
     3109         test ! -s conftest.err
     3110       } && test -s conftest.$ac_objext; then
    37153111  ac_cv_prog_cc_g=yes
    37163112else
    3717   CFLAGS=""
    3718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3113  $as_echo "$as_me: failed program was:" >&5
     3114sed 's/^/| /' conftest.$ac_ext >&5
     3115
     3116        CFLAGS=""
     3117      cat >conftest.$ac_ext <<_ACEOF
     3118/* confdefs.h.  */
     3119_ACEOF
     3120cat confdefs.h >>conftest.$ac_ext
     3121cat >>conftest.$ac_ext <<_ACEOF
    37193122/* end confdefs.h.  */
    37203123
     
    37273130}
    37283131_ACEOF
    3729 if ac_fn_c_try_compile "$LINENO"; then :
    3730 
    3731 else
    3732   ac_c_werror_flag=$ac_save_c_werror_flag
     3132rm -f conftest.$ac_objext
     3133if { (ac_try="$ac_compile"
     3134case "(($ac_try" in
     3135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3136  *) ac_try_echo=$ac_try;;
     3137esac
     3138eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3139$as_echo "$ac_try_echo") >&5
     3140  (eval "$ac_compile") 2>conftest.er1
     3141  ac_status=$?
     3142  grep -v '^ *+' conftest.er1 >conftest.err
     3143  rm -f conftest.er1
     3144  cat conftest.err >&5
     3145  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3146  (exit $ac_status); } && {
     3147         test -z "$ac_c_werror_flag" ||
     3148         test ! -s conftest.err
     3149       } && test -s conftest.$ac_objext; then
     3150  :
     3151else
     3152  $as_echo "$as_me: failed program was:" >&5
     3153sed 's/^/| /' conftest.$ac_ext >&5
     3154
     3155        ac_c_werror_flag=$ac_save_c_werror_flag
    37333156         CFLAGS="-g"
    3734          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3157         cat >conftest.$ac_ext <<_ACEOF
     3158/* confdefs.h.  */
     3159_ACEOF
     3160cat confdefs.h >>conftest.$ac_ext
     3161cat >>conftest.$ac_ext <<_ACEOF
    37353162/* end confdefs.h.  */
    37363163
     
    37433170}
    37443171_ACEOF
    3745 if ac_fn_c_try_compile "$LINENO"; then :
     3172rm -f conftest.$ac_objext
     3173if { (ac_try="$ac_compile"
     3174case "(($ac_try" in
     3175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3176  *) ac_try_echo=$ac_try;;
     3177esac
     3178eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3179$as_echo "$ac_try_echo") >&5
     3180  (eval "$ac_compile") 2>conftest.er1
     3181  ac_status=$?
     3182  grep -v '^ *+' conftest.er1 >conftest.err
     3183  rm -f conftest.er1
     3184  cat conftest.err >&5
     3185  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3186  (exit $ac_status); } && {
     3187         test -z "$ac_c_werror_flag" ||
     3188         test ! -s conftest.err
     3189       } && test -s conftest.$ac_objext; then
    37463190  ac_cv_prog_cc_g=yes
    3747 fi
     3191else
     3192  $as_echo "$as_me: failed program was:" >&5
     3193sed 's/^/| /' conftest.$ac_ext >&5
     3194
     3195
     3196fi
     3197
    37483198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37493199fi
     3200
    37503201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37513202fi
     3203
    37523204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37533205   ac_c_werror_flag=$ac_save_c_werror_flag
    37543206fi
    3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3207{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    37563208$as_echo "$ac_cv_prog_cc_g" >&6; }
    37573209if test "$ac_test_CFLAGS" = set; then
     
    37703222  fi
    37713223fi
    3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3224{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    37733225$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3774 if ${ac_cv_prog_cc_c89+:} false; then :
     3226if test "${ac_cv_prog_cc_c89+set}" = set; then
    37753227  $as_echo_n "(cached) " >&6
    37763228else
    37773229  ac_cv_prog_cc_c89=no
    37783230ac_save_CC=$CC
    3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3231cat >conftest.$ac_ext <<_ACEOF
     3232/* confdefs.h.  */
     3233_ACEOF
     3234cat confdefs.h >>conftest.$ac_ext
     3235cat >>conftest.$ac_ext <<_ACEOF
    37803236/* end confdefs.h.  */
    37813237#include <stdarg.h>
    37823238#include <stdio.h>
    3783 struct stat;
     3239#include <sys/types.h>
     3240#include <sys/stat.h>
    37843241/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    37853242struct buf { int x; };
     
    38333290do
    38343291  CC="$ac_save_CC $ac_arg"
    3835   if ac_fn_c_try_compile "$LINENO"; then :
     3292  rm -f conftest.$ac_objext
     3293if { (ac_try="$ac_compile"
     3294case "(($ac_try" in
     3295  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3296  *) ac_try_echo=$ac_try;;
     3297esac
     3298eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3299$as_echo "$ac_try_echo") >&5
     3300  (eval "$ac_compile") 2>conftest.er1
     3301  ac_status=$?
     3302  grep -v '^ *+' conftest.er1 >conftest.err
     3303  rm -f conftest.er1
     3304  cat conftest.err >&5
     3305  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3306  (exit $ac_status); } && {
     3307         test -z "$ac_c_werror_flag" ||
     3308         test ! -s conftest.err
     3309       } && test -s conftest.$ac_objext; then
    38363310  ac_cv_prog_cc_c89=$ac_arg
    3837 fi
     3311else
     3312  $as_echo "$as_me: failed program was:" >&5
     3313sed 's/^/| /' conftest.$ac_ext >&5
     3314
     3315
     3316fi
     3317
    38383318rm -f core conftest.err conftest.$ac_objext
    38393319  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    38463326case "x$ac_cv_prog_cc_c89" in
    38473327  x)
    3848     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3328    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    38493329$as_echo "none needed" >&6; } ;;
    38503330  xno)
    3851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3331    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    38523332$as_echo "unsupported" >&6; } ;;
    38533333  *)
    38543334    CC="$CC $ac_cv_prog_cc_c89"
    3855     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3335    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    38563336$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    38573337esac
    3858 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3859 
    3860 fi
     3338
    38613339
    38623340ac_ext=c
     
    38803358    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    38813359set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3360{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    38833361$as_echo_n "checking for $ac_word... " >&6; }
    3884 if ${ac_cv_prog_CXX+:} false; then :
     3362if test "${ac_cv_prog_CXX+set}" = set; then
    38853363  $as_echo_n "(cached) " >&6
    38863364else
     
    38933371  IFS=$as_save_IFS
    38943372  test -z "$as_dir" && as_dir=.
    3895     for ac_exec_ext in '' $ac_executable_extensions; do
    3896   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3373  for ac_exec_ext in '' $ac_executable_extensions; do
     3374  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    38973375    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3898     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3376    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    38993377    break 2
    39003378  fi
    39013379done
    3902   done
     3380done
    39033381IFS=$as_save_IFS
    39043382
     
    39073385CXX=$ac_cv_prog_CXX
    39083386if test -n "$CXX"; then
    3909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3387  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    39103388$as_echo "$CXX" >&6; }
    39113389else
    3912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3390  { $as_echo "$as_me:$LINENO: result: no" >&5
    39133391$as_echo "no" >&6; }
    39143392fi
     
    39243402  # Extract the first word of "$ac_prog", so it can be a program name with args.
    39253403set dummy $ac_prog; ac_word=$2
    3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3404{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39273405$as_echo_n "checking for $ac_word... " >&6; }
    3928 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3406if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    39293407  $as_echo_n "(cached) " >&6
    39303408else
     
    39373415  IFS=$as_save_IFS
    39383416  test -z "$as_dir" && as_dir=.
    3939     for ac_exec_ext in '' $ac_executable_extensions; do
    3940   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3417  for ac_exec_ext in '' $ac_executable_extensions; do
     3418  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39413419    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3420    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39433421    break 2
    39443422  fi
    39453423done
    3946   done
     3424done
    39473425IFS=$as_save_IFS
    39483426
     
    39513429ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    39523430if test -n "$ac_ct_CXX"; then
    3953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3431  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    39543432$as_echo "$ac_ct_CXX" >&6; }
    39553433else
    3956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3434  { $as_echo "$as_me:$LINENO: result: no" >&5
    39573435$as_echo "no" >&6; }
    39583436fi
     
    39673445    case $cross_compiling:$ac_tool_warned in
    39683446yes:)
    3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3447{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    39703448$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39713449ac_tool_warned=yes ;;
     
    39783456fi
    39793457# Provide some information about the compiler.
    3980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3458$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    39813459set X $ac_compile
    39823460ac_compiler=$2
    3983 for ac_option in --version -v -V -qversion; do
    3984   { { ac_try="$ac_compiler $ac_option >&5"
     3461{ (ac_try="$ac_compiler --version >&5"
    39853462case "(($ac_try" in
    39863463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    39873464  *) ac_try_echo=$ac_try;;
    39883465esac
    3989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3990 $as_echo "$ac_try_echo"; } >&5
    3991   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3467$as_echo "$ac_try_echo") >&5
     3468  (eval "$ac_compiler --version >&5") 2>&5
    39923469  ac_status=$?
    3993   if test -s conftest.err; then
    3994     sed '10a\
    3995 ... rest of stderr output deleted ...
    3996          10q' conftest.err >conftest.er1
    3997     cat conftest.er1 >&5
    3998   fi
    3999   rm -f conftest.er1 conftest.err
    4000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4001   test $ac_status = 0; }
    4002 done
    4003 
    4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3470  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3471  (exit $ac_status); }
     3472{ (ac_try="$ac_compiler -v >&5"
     3473case "(($ac_try" in
     3474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3475  *) ac_try_echo=$ac_try;;
     3476esac
     3477eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3478$as_echo "$ac_try_echo") >&5
     3479  (eval "$ac_compiler -v >&5") 2>&5
     3480  ac_status=$?
     3481  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3482  (exit $ac_status); }
     3483{ (ac_try="$ac_compiler -V >&5"
     3484case "(($ac_try" in
     3485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3486  *) ac_try_echo=$ac_try;;
     3487esac
     3488eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3489$as_echo "$ac_try_echo") >&5
     3490  (eval "$ac_compiler -V >&5") 2>&5
     3491  ac_status=$?
     3492  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3493  (exit $ac_status); }
     3494
     3495{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    40053496$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    4006 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3497if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    40073498  $as_echo_n "(cached) " >&6
    40083499else
    4009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3500  cat >conftest.$ac_ext <<_ACEOF
     3501/* confdefs.h.  */
     3502_ACEOF
     3503cat confdefs.h >>conftest.$ac_ext
     3504cat >>conftest.$ac_ext <<_ACEOF
    40103505/* end confdefs.h.  */
    40113506
     
    40213516}
    40223517_ACEOF
    4023 if ac_fn_cxx_try_compile "$LINENO"; then :
     3518rm -f conftest.$ac_objext
     3519if { (ac_try="$ac_compile"
     3520case "(($ac_try" in
     3521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3522  *) ac_try_echo=$ac_try;;
     3523esac
     3524eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3525$as_echo "$ac_try_echo") >&5
     3526  (eval "$ac_compile") 2>conftest.er1
     3527  ac_status=$?
     3528  grep -v '^ *+' conftest.er1 >conftest.err
     3529  rm -f conftest.er1
     3530  cat conftest.err >&5
     3531  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3532  (exit $ac_status); } && {
     3533         test -z "$ac_cxx_werror_flag" ||
     3534         test ! -s conftest.err
     3535       } && test -s conftest.$ac_objext; then
    40243536  ac_compiler_gnu=yes
    40253537else
    4026   ac_compiler_gnu=no
    4027 fi
     3538  $as_echo "$as_me: failed program was:" >&5
     3539sed 's/^/| /' conftest.$ac_ext >&5
     3540
     3541        ac_compiler_gnu=no
     3542fi
     3543
    40283544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40293545ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    40303546
    40313547fi
    4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3548{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    40333549$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    40343550if test $ac_compiler_gnu = yes; then
     
    40393555ac_test_CXXFLAGS=${CXXFLAGS+set}
    40403556ac_save_CXXFLAGS=$CXXFLAGS
    4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3557{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    40423558$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    4043 if ${ac_cv_prog_cxx_g+:} false; then :
     3559if test "${ac_cv_prog_cxx_g+set}" = set; then
    40443560  $as_echo_n "(cached) " >&6
    40453561else
     
    40483564   ac_cv_prog_cxx_g=no
    40493565   CXXFLAGS="-g"
    4050    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3566   cat >conftest.$ac_ext <<_ACEOF
     3567/* confdefs.h.  */
     3568_ACEOF
     3569cat confdefs.h >>conftest.$ac_ext
     3570cat >>conftest.$ac_ext <<_ACEOF
    40513571/* end confdefs.h.  */
    40523572
     
    40593579}
    40603580_ACEOF
    4061 if ac_fn_cxx_try_compile "$LINENO"; then :
     3581rm -f conftest.$ac_objext
     3582if { (ac_try="$ac_compile"
     3583case "(($ac_try" in
     3584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3585  *) ac_try_echo=$ac_try;;
     3586esac
     3587eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3588$as_echo "$ac_try_echo") >&5
     3589  (eval "$ac_compile") 2>conftest.er1
     3590  ac_status=$?
     3591  grep -v '^ *+' conftest.er1 >conftest.err
     3592  rm -f conftest.er1
     3593  cat conftest.err >&5
     3594  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3595  (exit $ac_status); } && {
     3596         test -z "$ac_cxx_werror_flag" ||
     3597         test ! -s conftest.err
     3598       } && test -s conftest.$ac_objext; then
    40623599  ac_cv_prog_cxx_g=yes
    40633600else
    4064   CXXFLAGS=""
    4065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3601  $as_echo "$as_me: failed program was:" >&5
     3602sed 's/^/| /' conftest.$ac_ext >&5
     3603
     3604        CXXFLAGS=""
     3605      cat >conftest.$ac_ext <<_ACEOF
     3606/* confdefs.h.  */
     3607_ACEOF
     3608cat confdefs.h >>conftest.$ac_ext
     3609cat >>conftest.$ac_ext <<_ACEOF
    40663610/* end confdefs.h.  */
    40673611
     
    40743618}
    40753619_ACEOF
    4076 if ac_fn_cxx_try_compile "$LINENO"; then :
    4077 
    4078 else
    4079   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3620rm -f conftest.$ac_objext
     3621if { (ac_try="$ac_compile"
     3622case "(($ac_try" in
     3623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3624  *) ac_try_echo=$ac_try;;
     3625esac
     3626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3627$as_echo "$ac_try_echo") >&5
     3628  (eval "$ac_compile") 2>conftest.er1
     3629  ac_status=$?
     3630  grep -v '^ *+' conftest.er1 >conftest.err
     3631  rm -f conftest.er1
     3632  cat conftest.err >&5
     3633  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3634  (exit $ac_status); } && {
     3635         test -z "$ac_cxx_werror_flag" ||
     3636         test ! -s conftest.err
     3637       } && test -s conftest.$ac_objext; then
     3638  :
     3639else
     3640  $as_echo "$as_me: failed program was:" >&5
     3641sed 's/^/| /' conftest.$ac_ext >&5
     3642
     3643        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    40803644         CXXFLAGS="-g"
    4081          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3645         cat >conftest.$ac_ext <<_ACEOF
     3646/* confdefs.h.  */
     3647_ACEOF
     3648cat confdefs.h >>conftest.$ac_ext
     3649cat >>conftest.$ac_ext <<_ACEOF
    40823650/* end confdefs.h.  */
    40833651
     
    40903658}
    40913659_ACEOF
    4092 if ac_fn_cxx_try_compile "$LINENO"; then :
     3660rm -f conftest.$ac_objext
     3661if { (ac_try="$ac_compile"
     3662case "(($ac_try" in
     3663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3664  *) ac_try_echo=$ac_try;;
     3665esac
     3666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3667$as_echo "$ac_try_echo") >&5
     3668  (eval "$ac_compile") 2>conftest.er1
     3669  ac_status=$?
     3670  grep -v '^ *+' conftest.er1 >conftest.err
     3671  rm -f conftest.er1
     3672  cat conftest.err >&5
     3673  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3674  (exit $ac_status); } && {
     3675         test -z "$ac_cxx_werror_flag" ||
     3676         test ! -s conftest.err
     3677       } && test -s conftest.$ac_objext; then
    40933678  ac_cv_prog_cxx_g=yes
    4094 fi
     3679else
     3680  $as_echo "$as_me: failed program was:" >&5
     3681sed 's/^/| /' conftest.$ac_ext >&5
     3682
     3683
     3684fi
     3685
    40953686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40963687fi
     3688
    40973689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    40983690fi
     3691
    40993692rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    41003693   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    41013694fi
    4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3695{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    41033696$as_echo "$ac_cv_prog_cxx_g" >&6; }
    41043697if test "$ac_test_CXXFLAGS" = set; then
     
    41333726    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    41343727set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3728{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41363729$as_echo_n "checking for $ac_word... " >&6; }
    4137 if ${ac_cv_prog_F77+:} false; then :
     3730if test "${ac_cv_prog_F77+set}" = set; then
    41383731  $as_echo_n "(cached) " >&6
    41393732else
     
    41463739  IFS=$as_save_IFS
    41473740  test -z "$as_dir" && as_dir=.
    4148     for ac_exec_ext in '' $ac_executable_extensions; do
    4149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3741  for ac_exec_ext in '' $ac_executable_extensions; do
     3742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41503743    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    4151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3744    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41523745    break 2
    41533746  fi
    41543747done
    4155   done
     3748done
    41563749IFS=$as_save_IFS
    41573750
     
    41603753F77=$ac_cv_prog_F77
    41613754if test -n "$F77"; then
    4162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
     3755  { $as_echo "$as_me:$LINENO: result: $F77" >&5
    41633756$as_echo "$F77" >&6; }
    41643757else
    4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3758  { $as_echo "$as_me:$LINENO: result: no" >&5
    41663759$as_echo "no" >&6; }
    41673760fi
     
    41773770  # Extract the first word of "$ac_prog", so it can be a program name with args.
    41783771set dummy $ac_prog; ac_word=$2
    4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3772{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41803773$as_echo_n "checking for $ac_word... " >&6; }
    4181 if ${ac_cv_prog_ac_ct_F77+:} false; then :
     3774if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    41823775  $as_echo_n "(cached) " >&6
    41833776else
     
    41903783  IFS=$as_save_IFS
    41913784  test -z "$as_dir" && as_dir=.
    4192     for ac_exec_ext in '' $ac_executable_extensions; do
    4193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3785  for ac_exec_ext in '' $ac_executable_extensions; do
     3786  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41943787    ac_cv_prog_ac_ct_F77="$ac_prog"
    4195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3788    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41963789    break 2
    41973790  fi
    41983791done
    4199   done
     3792done
    42003793IFS=$as_save_IFS
    42013794
     
    42043797ac_ct_F77=$ac_cv_prog_ac_ct_F77
    42053798if test -n "$ac_ct_F77"; then
    4206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
     3799  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    42073800$as_echo "$ac_ct_F77" >&6; }
    42083801else
    4209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3802  { $as_echo "$as_me:$LINENO: result: no" >&5
    42103803$as_echo "no" >&6; }
    42113804fi
     
    42203813    case $cross_compiling:$ac_tool_warned in
    42213814yes:)
    4222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3815{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    42233816$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    42243817ac_tool_warned=yes ;;
     
    42303823
    42313824# Provide some information about the compiler.
    4232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
     3825$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
    42333826set X $ac_compile
    42343827ac_compiler=$2
    4235 for ac_option in --version -v -V -qversion; do
    4236   { { ac_try="$ac_compiler $ac_option >&5"
     3828{ (ac_try="$ac_compiler --version >&5"
    42373829case "(($ac_try" in
    42383830  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    42393831  *) ac_try_echo=$ac_try;;
    42403832esac
    4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    4242 $as_echo "$ac_try_echo"; } >&5
    4243   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3833eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3834$as_echo "$ac_try_echo") >&5
     3835  (eval "$ac_compiler --version >&5") 2>&5
    42443836  ac_status=$?
    4245   if test -s conftest.err; then
    4246     sed '10a\
    4247 ... rest of stderr output deleted ...
    4248          10q' conftest.err >conftest.er1
    4249     cat conftest.er1 >&5
    4250   fi
    4251   rm -f conftest.er1 conftest.err
    4252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    4253   test $ac_status = 0; }
    4254 done
     3837  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3838  (exit $ac_status); }
     3839{ (ac_try="$ac_compiler -v >&5"
     3840case "(($ac_try" in
     3841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3842  *) ac_try_echo=$ac_try;;
     3843esac
     3844eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3845$as_echo "$ac_try_echo") >&5
     3846  (eval "$ac_compiler -v >&5") 2>&5
     3847  ac_status=$?
     3848  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3849  (exit $ac_status); }
     3850{ (ac_try="$ac_compiler -V >&5"
     3851case "(($ac_try" in
     3852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3853  *) ac_try_echo=$ac_try;;
     3854esac
     3855eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3856$as_echo "$ac_try_echo") >&5
     3857  (eval "$ac_compiler -V >&5") 2>&5
     3858  ac_status=$?
     3859  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3860  (exit $ac_status); }
    42553861rm -f a.out
    42563862
     
    42593865ac_save_ext=$ac_ext
    42603866ac_ext=F
    4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
     3867{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    42623868$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    4263 if ${ac_cv_f77_compiler_gnu+:} false; then :
     3869if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    42643870  $as_echo_n "(cached) " >&6
    42653871else
    4266   cat > conftest.$ac_ext <<_ACEOF
     3872  cat >conftest.$ac_ext <<_ACEOF
    42673873      program main
    42683874#ifndef __GNUC__
     
    42723878      end
    42733879_ACEOF
    4274 if ac_fn_f77_try_compile "$LINENO"; then :
     3880rm -f conftest.$ac_objext
     3881if { (ac_try="$ac_compile"
     3882case "(($ac_try" in
     3883  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3884  *) ac_try_echo=$ac_try;;
     3885esac
     3886eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3887$as_echo "$ac_try_echo") >&5
     3888  (eval "$ac_compile") 2>conftest.er1
     3889  ac_status=$?
     3890  grep -v '^ *+' conftest.er1 >conftest.err
     3891  rm -f conftest.er1
     3892  cat conftest.err >&5
     3893  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3894  (exit $ac_status); } && {
     3895         test -z "$ac_f77_werror_flag" ||
     3896         test ! -s conftest.err
     3897       } && test -s conftest.$ac_objext; then
    42753898  ac_compiler_gnu=yes
    42763899else
    4277   ac_compiler_gnu=no
    4278 fi
     3900  $as_echo "$as_me: failed program was:" >&5
     3901sed 's/^/| /' conftest.$ac_ext >&5
     3902
     3903        ac_compiler_gnu=no
     3904fi
     3905
    42793906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42803907ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    42813908
    42823909fi
    4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
     3910{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    42843911$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    42853912ac_ext=$ac_save_ext
     
    42873914ac_save_FFLAGS=$FFLAGS
    42883915FFLAGS=
    4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
     3916{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    42903917$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    4291 if ${ac_cv_prog_f77_g+:} false; then :
     3918if test "${ac_cv_prog_f77_g+set}" = set; then
    42923919  $as_echo_n "(cached) " >&6
    42933920else
    42943921  FFLAGS=-g
    4295 cat > conftest.$ac_ext <<_ACEOF
     3922cat >conftest.$ac_ext <<_ACEOF
    42963923      program main
    42973924
    42983925      end
    42993926_ACEOF
    4300 if ac_fn_f77_try_compile "$LINENO"; then :
     3927rm -f conftest.$ac_objext
     3928if { (ac_try="$ac_compile"
     3929case "(($ac_try" in
     3930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3931  *) ac_try_echo=$ac_try;;
     3932esac
     3933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3934$as_echo "$ac_try_echo") >&5
     3935  (eval "$ac_compile") 2>conftest.er1
     3936  ac_status=$?
     3937  grep -v '^ *+' conftest.er1 >conftest.err
     3938  rm -f conftest.er1
     3939  cat conftest.err >&5
     3940  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3941  (exit $ac_status); } && {
     3942         test -z "$ac_f77_werror_flag" ||
     3943         test ! -s conftest.err
     3944       } && test -s conftest.$ac_objext; then
    43013945  ac_cv_prog_f77_g=yes
    43023946else
    4303   ac_cv_prog_f77_g=no
    4304 fi
     3947  $as_echo "$as_me: failed program was:" >&5
     3948sed 's/^/| /' conftest.$ac_ext >&5
     3949
     3950        ac_cv_prog_f77_g=no
     3951fi
     3952
    43053953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    43063954
    43073955fi
    4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
     3956{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    43093957$as_echo "$ac_cv_prog_f77_g" >&6; }
    43103958if test "$ac_test_FFLAGS" = set; then
     
    43493997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    43503998ac_compiler_gnu=$ac_cv_c_compiler_gnu
    4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     3999{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    43524000$as_echo_n "checking how to run the C preprocessor... " >&6; }
    43534001# On Suns, sometimes $CPP names a directory.
     
    43564004fi
    43574005if test -z "$CPP"; then
    4358   if ${ac_cv_prog_CPP+:} false; then :
     4006  if test "${ac_cv_prog_CPP+set}" = set; then
    43594007  $as_echo_n "(cached) " >&6
    43604008else
     
    43714019  # On the NeXT, cc -E runs the code through the compiler's parser,
    43724020  # not just through cpp. "Syntax error" is here to catch this case.
    4373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4021  cat >conftest.$ac_ext <<_ACEOF
     4022/* confdefs.h.  */
     4023_ACEOF
     4024cat confdefs.h >>conftest.$ac_ext
     4025cat >>conftest.$ac_ext <<_ACEOF
    43744026/* end confdefs.h.  */
    43754027#ifdef __STDC__
     
    43804032                     Syntax error
    43814033_ACEOF
    4382 if ac_fn_c_try_cpp "$LINENO"; then :
    4383 
    4384 else
     4034if { (ac_try="$ac_cpp conftest.$ac_ext"
     4035case "(($ac_try" in
     4036  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4037  *) ac_try_echo=$ac_try;;
     4038esac
     4039eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4040$as_echo "$ac_try_echo") >&5
     4041  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4042  ac_status=$?
     4043  grep -v '^ *+' conftest.er1 >conftest.err
     4044  rm -f conftest.er1
     4045  cat conftest.err >&5
     4046  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4047  (exit $ac_status); } >/dev/null && {
     4048         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4049         test ! -s conftest.err
     4050       }; then
     4051  :
     4052else
     4053  $as_echo "$as_me: failed program was:" >&5
     4054sed 's/^/| /' conftest.$ac_ext >&5
     4055
    43854056  # Broken: fails on valid input.
    43864057continue
    43874058fi
    4388 rm -f conftest.err conftest.i conftest.$ac_ext
     4059
     4060rm -f conftest.err conftest.$ac_ext
    43894061
    43904062  # OK, works on sane cases.  Now check whether nonexistent headers
    43914063  # can be detected and how.
    4392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4064  cat >conftest.$ac_ext <<_ACEOF
     4065/* confdefs.h.  */
     4066_ACEOF
     4067cat confdefs.h >>conftest.$ac_ext
     4068cat >>conftest.$ac_ext <<_ACEOF
    43934069/* end confdefs.h.  */
    43944070#include <ac_nonexistent.h>
    43954071_ACEOF
    4396 if ac_fn_c_try_cpp "$LINENO"; then :
     4072if { (ac_try="$ac_cpp conftest.$ac_ext"
     4073case "(($ac_try" in
     4074  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4075  *) ac_try_echo=$ac_try;;
     4076esac
     4077eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4078$as_echo "$ac_try_echo") >&5
     4079  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4080  ac_status=$?
     4081  grep -v '^ *+' conftest.er1 >conftest.err
     4082  rm -f conftest.er1
     4083  cat conftest.err >&5
     4084  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4085  (exit $ac_status); } >/dev/null && {
     4086         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4087         test ! -s conftest.err
     4088       }; then
    43974089  # Broken: success on invalid input.
    43984090continue
    43994091else
     4092  $as_echo "$as_me: failed program was:" >&5
     4093sed 's/^/| /' conftest.$ac_ext >&5
     4094
    44004095  # Passes both tests.
    44014096ac_preproc_ok=:
    44024097break
    44034098fi
    4404 rm -f conftest.err conftest.i conftest.$ac_ext
     4099
     4100rm -f conftest.err conftest.$ac_ext
    44054101
    44064102done
    44074103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4408 rm -f conftest.i conftest.err conftest.$ac_ext
    4409 if $ac_preproc_ok; then :
     4104rm -f conftest.err conftest.$ac_ext
     4105if $ac_preproc_ok; then
    44104106  break
    44114107fi
     
    44194115  ac_cv_prog_CPP=$CPP
    44204116fi
    4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4117{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    44224118$as_echo "$CPP" >&6; }
    44234119ac_preproc_ok=false
     
    44304126  # On the NeXT, cc -E runs the code through the compiler's parser,
    44314127  # not just through cpp. "Syntax error" is here to catch this case.
    4432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4128  cat >conftest.$ac_ext <<_ACEOF
     4129/* confdefs.h.  */
     4130_ACEOF
     4131cat confdefs.h >>conftest.$ac_ext
     4132cat >>conftest.$ac_ext <<_ACEOF
    44334133/* end confdefs.h.  */
    44344134#ifdef __STDC__
     
    44394139                     Syntax error
    44404140_ACEOF
    4441 if ac_fn_c_try_cpp "$LINENO"; then :
    4442 
    4443 else
     4141if { (ac_try="$ac_cpp conftest.$ac_ext"
     4142case "(($ac_try" in
     4143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4144  *) ac_try_echo=$ac_try;;
     4145esac
     4146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4147$as_echo "$ac_try_echo") >&5
     4148  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4149  ac_status=$?
     4150  grep -v '^ *+' conftest.er1 >conftest.err
     4151  rm -f conftest.er1
     4152  cat conftest.err >&5
     4153  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4154  (exit $ac_status); } >/dev/null && {
     4155         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4156         test ! -s conftest.err
     4157       }; then
     4158  :
     4159else
     4160  $as_echo "$as_me: failed program was:" >&5
     4161sed 's/^/| /' conftest.$ac_ext >&5
     4162
    44444163  # Broken: fails on valid input.
    44454164continue
    44464165fi
    4447 rm -f conftest.err conftest.i conftest.$ac_ext
     4166
     4167rm -f conftest.err conftest.$ac_ext
    44484168
    44494169  # OK, works on sane cases.  Now check whether nonexistent headers
    44504170  # can be detected and how.
    4451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4171  cat >conftest.$ac_ext <<_ACEOF
     4172/* confdefs.h.  */
     4173_ACEOF
     4174cat confdefs.h >>conftest.$ac_ext
     4175cat >>conftest.$ac_ext <<_ACEOF
    44524176/* end confdefs.h.  */
    44534177#include <ac_nonexistent.h>
    44544178_ACEOF
    4455 if ac_fn_c_try_cpp "$LINENO"; then :
     4179if { (ac_try="$ac_cpp conftest.$ac_ext"
     4180case "(($ac_try" in
     4181  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4182  *) ac_try_echo=$ac_try;;
     4183esac
     4184eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4185$as_echo "$ac_try_echo") >&5
     4186  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4187  ac_status=$?
     4188  grep -v '^ *+' conftest.er1 >conftest.err
     4189  rm -f conftest.er1
     4190  cat conftest.err >&5
     4191  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4192  (exit $ac_status); } >/dev/null && {
     4193         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4194         test ! -s conftest.err
     4195       }; then
    44564196  # Broken: success on invalid input.
    44574197continue
    44584198else
     4199  $as_echo "$as_me: failed program was:" >&5
     4200sed 's/^/| /' conftest.$ac_ext >&5
     4201
    44594202  # Passes both tests.
    44604203ac_preproc_ok=:
    44614204break
    44624205fi
    4463 rm -f conftest.err conftest.i conftest.$ac_ext
     4206
     4207rm -f conftest.err conftest.$ac_ext
    44644208
    44654209done
    44664210# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4467 rm -f conftest.i conftest.err conftest.$ac_ext
    4468 if $ac_preproc_ok; then :
    4469 
    4470 else
    4471   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4211rm -f conftest.err conftest.$ac_ext
     4212if $ac_preproc_ok; then
     4213  :
     4214else
     4215  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    44724216$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4473 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    4474 See \`config.log' for more details" "$LINENO" 5; }
     4217{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     4218See \`config.log' for more details." >&5
     4219$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     4220See \`config.log' for more details." >&2;}
     4221   { (exit 1); exit 1; }; }; }
    44754222fi
    44764223
     
    44824229
    44834230
    4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4231{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    44854232$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4486 if ${ac_cv_path_GREP+:} false; then :
     4233if test "${ac_cv_path_GREP+set}" = set; then
    44874234  $as_echo_n "(cached) " >&6
    44884235else
     
    44954242  IFS=$as_save_IFS
    44964243  test -z "$as_dir" && as_dir=.
    4497     for ac_prog in grep ggrep; do
     4244  for ac_prog in grep ggrep; do
    44984245    for ac_exec_ext in '' $ac_executable_extensions; do
    44994246      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4500       as_fn_executable_p "$ac_path_GREP" || continue
     4247      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    45014248# Check for GNU ac_path_GREP and select it if it is found.
    45024249  # Check for GNU $ac_path_GREP
     
    45154262    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    45164263    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4517     as_fn_arith $ac_count + 1 && ac_count=$as_val
     4264    ac_count=`expr $ac_count + 1`
    45184265    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    45194266      # Best one so far, save it but keep looking for a better one
     
    45304277    done
    45314278  done
    4532   done
     4279done
    45334280IFS=$as_save_IFS
    45344281  if test -z "$ac_cv_path_GREP"; then
    4535     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4282    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4283$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4284   { (exit 1); exit 1; }; }
    45364285  fi
    45374286else
     
    45404289
    45414290fi
    4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4291{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    45434292$as_echo "$ac_cv_path_GREP" >&6; }
    45444293 GREP="$ac_cv_path_GREP"
    45454294
    45464295
    4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4296{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    45484297$as_echo_n "checking for egrep... " >&6; }
    4549 if ${ac_cv_path_EGREP+:} false; then :
     4298if test "${ac_cv_path_EGREP+set}" = set; then
    45504299  $as_echo_n "(cached) " >&6
    45514300else
     
    45614310  IFS=$as_save_IFS
    45624311  test -z "$as_dir" && as_dir=.
    4563     for ac_prog in egrep; do
     4312  for ac_prog in egrep; do
    45644313    for ac_exec_ext in '' $ac_executable_extensions; do
    45654314      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4566       as_fn_executable_p "$ac_path_EGREP" || continue
     4315      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    45674316# Check for GNU ac_path_EGREP and select it if it is found.
    45684317  # Check for GNU $ac_path_EGREP
     
    45814330    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    45824331    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4583     as_fn_arith $ac_count + 1 && ac_count=$as_val
     4332    ac_count=`expr $ac_count + 1`
    45844333    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    45854334      # Best one so far, save it but keep looking for a better one
     
    45964345    done
    45974346  done
    4598   done
     4347done
    45994348IFS=$as_save_IFS
    46004349  if test -z "$ac_cv_path_EGREP"; then
    4601     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4350    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     4351$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4352   { (exit 1); exit 1; }; }
    46024353  fi
    46034354else
     
    46074358   fi
    46084359fi
    4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4360{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    46104361$as_echo "$ac_cv_path_EGREP" >&6; }
    46114362 EGREP="$ac_cv_path_EGREP"
    46124363
    46134364
    4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4365{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    46154366$as_echo_n "checking for ANSI C header files... " >&6; }
    4616 if ${ac_cv_header_stdc+:} false; then :
     4367if test "${ac_cv_header_stdc+set}" = set; then
    46174368  $as_echo_n "(cached) " >&6
    46184369else
    4619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4370  cat >conftest.$ac_ext <<_ACEOF
     4371/* confdefs.h.  */
     4372_ACEOF
     4373cat confdefs.h >>conftest.$ac_ext
     4374cat >>conftest.$ac_ext <<_ACEOF
    46204375/* end confdefs.h.  */
    46214376#include <stdlib.h>
     
    46324387}
    46334388_ACEOF
    4634 if ac_fn_c_try_compile "$LINENO"; then :
     4389rm -f conftest.$ac_objext
     4390if { (ac_try="$ac_compile"
     4391case "(($ac_try" in
     4392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4393  *) ac_try_echo=$ac_try;;
     4394esac
     4395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4396$as_echo "$ac_try_echo") >&5
     4397  (eval "$ac_compile") 2>conftest.er1
     4398  ac_status=$?
     4399  grep -v '^ *+' conftest.er1 >conftest.err
     4400  rm -f conftest.er1
     4401  cat conftest.err >&5
     4402  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4403  (exit $ac_status); } && {
     4404         test -z "$ac_c_werror_flag" ||
     4405         test ! -s conftest.err
     4406       } && test -s conftest.$ac_objext; then
    46354407  ac_cv_header_stdc=yes
    46364408else
    4637   ac_cv_header_stdc=no
    4638 fi
     4409  $as_echo "$as_me: failed program was:" >&5
     4410sed 's/^/| /' conftest.$ac_ext >&5
     4411
     4412        ac_cv_header_stdc=no
     4413fi
     4414
    46394415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    46404416
    46414417if test $ac_cv_header_stdc = yes; then
    46424418  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4419  cat >conftest.$ac_ext <<_ACEOF
     4420/* confdefs.h.  */
     4421_ACEOF
     4422cat confdefs.h >>conftest.$ac_ext
     4423cat >>conftest.$ac_ext <<_ACEOF
    46444424/* end confdefs.h.  */
    46454425#include <string.h>
     
    46474427_ACEOF
    46484428if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4649   $EGREP "memchr" >/dev/null 2>&1; then :
    4650 
     4429  $EGREP "memchr" >/dev/null 2>&1; then
     4430  :
    46514431else
    46524432  ac_cv_header_stdc=no
     
    46584438if test $ac_cv_header_stdc = yes; then
    46594439  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4440  cat >conftest.$ac_ext <<_ACEOF
     4441/* confdefs.h.  */
     4442_ACEOF
     4443cat confdefs.h >>conftest.$ac_ext
     4444cat >>conftest.$ac_ext <<_ACEOF
    46614445/* end confdefs.h.  */
    46624446#include <stdlib.h>
     
    46644448_ACEOF
    46654449if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4666   $EGREP "free" >/dev/null 2>&1; then :
    4667 
     4450  $EGREP "free" >/dev/null 2>&1; then
     4451  :
    46684452else
    46694453  ac_cv_header_stdc=no
     
    46754459if test $ac_cv_header_stdc = yes; then
    46764460  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4677   if test "$cross_compiling" = yes; then :
     4461  if test "$cross_compiling" = yes; then
    46784462  :
    46794463else
    4680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4464  cat >conftest.$ac_ext <<_ACEOF
     4465/* confdefs.h.  */
     4466_ACEOF
     4467cat confdefs.h >>conftest.$ac_ext
     4468cat >>conftest.$ac_ext <<_ACEOF
    46814469/* end confdefs.h.  */
    46824470#include <ctype.h>
     
    47054493}
    47064494_ACEOF
    4707 if ac_fn_c_try_run "$LINENO"; then :
    4708 
    4709 else
    4710   ac_cv_header_stdc=no
    4711 fi
    4712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    4713   conftest.$ac_objext conftest.beam conftest.$ac_ext
    4714 fi
    4715 
    4716 fi
    4717 fi
    4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4495rm -f conftest$ac_exeext
     4496if { (ac_try="$ac_link"
     4497case "(($ac_try" in
     4498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4499  *) ac_try_echo=$ac_try;;
     4500esac
     4501eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4502$as_echo "$ac_try_echo") >&5
     4503  (eval "$ac_link") 2>&5
     4504  ac_status=$?
     4505  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4506  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     4507  { (case "(($ac_try" in
     4508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4509  *) ac_try_echo=$ac_try;;
     4510esac
     4511eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4512$as_echo "$ac_try_echo") >&5
     4513  (eval "$ac_try") 2>&5
     4514  ac_status=$?
     4515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4516  (exit $ac_status); }; }; then
     4517  :
     4518else
     4519  $as_echo "$as_me: program exited with status $ac_status" >&5
     4520$as_echo "$as_me: failed program was:" >&5
     4521sed 's/^/| /' conftest.$ac_ext >&5
     4522
     4523( exit $ac_status )
     4524ac_cv_header_stdc=no
     4525fi
     4526rm -rf conftest.dSYM
     4527rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4528fi
     4529
     4530
     4531fi
     4532fi
     4533{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    47194534$as_echo "$ac_cv_header_stdc" >&6; }
    47204535if test $ac_cv_header_stdc = yes; then
    47214536
    4722 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    4723 
    4724 fi
    4725 
    4726 ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
    4727 if test "x$ac_cv_func_atol" = xyes; then :
    4728 
    4729 else
    4730   as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
     4537cat >>confdefs.h <<\_ACEOF
     4538#define STDC_HEADERS 1
     4539_ACEOF
     4540
     4541fi
     4542
     4543{ $as_echo "$as_me:$LINENO: checking for atol" >&5
     4544$as_echo_n "checking for atol... " >&6; }
     4545if test "${ac_cv_func_atol+set}" = set; then
     4546  $as_echo_n "(cached) " >&6
     4547else
     4548  cat >conftest.$ac_ext <<_ACEOF
     4549/* confdefs.h.  */
     4550_ACEOF
     4551cat confdefs.h >>conftest.$ac_ext
     4552cat >>conftest.$ac_ext <<_ACEOF
     4553/* end confdefs.h.  */
     4554/* Define atol to an innocuous variant, in case <limits.h> declares atol.
     4555   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4556#define atol innocuous_atol
     4557
     4558/* System header to define __stub macros and hopefully few prototypes,
     4559    which can conflict with char atol (); below.
     4560    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4561    <limits.h> exists even on freestanding compilers.  */
     4562
     4563#ifdef __STDC__
     4564# include <limits.h>
     4565#else
     4566# include <assert.h>
     4567#endif
     4568
     4569#undef atol
     4570
     4571/* Override any GCC internal prototype to avoid an error.
     4572   Use char because int might match the return type of a GCC
     4573   builtin and then its argument prototype would still apply.  */
     4574#ifdef __cplusplus
     4575extern "C"
     4576#endif
     4577char atol ();
     4578/* The GNU C library defines this for functions which it implements
     4579    to always fail with ENOSYS.  Some functions are actually named
     4580    something starting with __ and the normal name is an alias.  */
     4581#if defined __stub_atol || defined __stub___atol
     4582choke me
     4583#endif
     4584
     4585int
     4586main ()
     4587{
     4588return atol ();
     4589  ;
     4590  return 0;
     4591}
     4592_ACEOF
     4593rm -f conftest.$ac_objext conftest$ac_exeext
     4594if { (ac_try="$ac_link"
     4595case "(($ac_try" in
     4596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4597  *) ac_try_echo=$ac_try;;
     4598esac
     4599eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4600$as_echo "$ac_try_echo") >&5
     4601  (eval "$ac_link") 2>conftest.er1
     4602  ac_status=$?
     4603  grep -v '^ *+' conftest.er1 >conftest.err
     4604  rm -f conftest.er1
     4605  cat conftest.err >&5
     4606  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4607  (exit $ac_status); } && {
     4608         test -z "$ac_c_werror_flag" ||
     4609         test ! -s conftest.err
     4610       } && test -s conftest$ac_exeext && {
     4611         test "$cross_compiling" = yes ||
     4612         $as_test_x conftest$ac_exeext
     4613       }; then
     4614  ac_cv_func_atol=yes
     4615else
     4616  $as_echo "$as_me: failed program was:" >&5
     4617sed 's/^/| /' conftest.$ac_ext >&5
     4618
     4619        ac_cv_func_atol=no
     4620fi
     4621
     4622rm -rf conftest.dSYM
     4623rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4624      conftest$ac_exeext conftest.$ac_ext
     4625fi
     4626{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
     4627$as_echo "$ac_cv_func_atol" >&6; }
     4628if test "x$ac_cv_func_atol" = x""yes; then
     4629  :
     4630else
     4631  { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
     4632$as_echo "$as_me: error: oops! no atol ?!?" >&2;}
     4633   { (exit 1); exit 1; }; }
    47314634fi
    47324635
     
    47404643
    47414644
     4645
    47424646for ac_func in sysinfo
    4743 do :
    4744   ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
    4745 if test "x$ac_cv_func_sysinfo" = xyes; then :
     4647do
     4648as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     4649{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     4650$as_echo_n "checking for $ac_func... " >&6; }
     4651if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     4652  $as_echo_n "(cached) " >&6
     4653else
     4654  cat >conftest.$ac_ext <<_ACEOF
     4655/* confdefs.h.  */
     4656_ACEOF
     4657cat confdefs.h >>conftest.$ac_ext
     4658cat >>conftest.$ac_ext <<_ACEOF
     4659/* end confdefs.h.  */
     4660/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     4661   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4662#define $ac_func innocuous_$ac_func
     4663
     4664/* System header to define __stub macros and hopefully few prototypes,
     4665    which can conflict with char $ac_func (); below.
     4666    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4667    <limits.h> exists even on freestanding compilers.  */
     4668
     4669#ifdef __STDC__
     4670# include <limits.h>
     4671#else
     4672# include <assert.h>
     4673#endif
     4674
     4675#undef $ac_func
     4676
     4677/* Override any GCC internal prototype to avoid an error.
     4678   Use char because int might match the return type of a GCC
     4679   builtin and then its argument prototype would still apply.  */
     4680#ifdef __cplusplus
     4681extern "C"
     4682#endif
     4683char $ac_func ();
     4684/* The GNU C library defines this for functions which it implements
     4685    to always fail with ENOSYS.  Some functions are actually named
     4686    something starting with __ and the normal name is an alias.  */
     4687#if defined __stub_$ac_func || defined __stub___$ac_func
     4688choke me
     4689#endif
     4690
     4691int
     4692main ()
     4693{
     4694return $ac_func ();
     4695  ;
     4696  return 0;
     4697}
     4698_ACEOF
     4699rm -f conftest.$ac_objext conftest$ac_exeext
     4700if { (ac_try="$ac_link"
     4701case "(($ac_try" in
     4702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4703  *) ac_try_echo=$ac_try;;
     4704esac
     4705eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4706$as_echo "$ac_try_echo") >&5
     4707  (eval "$ac_link") 2>conftest.er1
     4708  ac_status=$?
     4709  grep -v '^ *+' conftest.er1 >conftest.err
     4710  rm -f conftest.er1
     4711  cat conftest.err >&5
     4712  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4713  (exit $ac_status); } && {
     4714         test -z "$ac_cxx_werror_flag" ||
     4715         test ! -s conftest.err
     4716       } && test -s conftest$ac_exeext && {
     4717         test "$cross_compiling" = yes ||
     4718         $as_test_x conftest$ac_exeext
     4719       }; then
     4720  eval "$as_ac_var=yes"
     4721else
     4722  $as_echo "$as_me: failed program was:" >&5
     4723sed 's/^/| /' conftest.$ac_ext >&5
     4724
     4725        eval "$as_ac_var=no"
     4726fi
     4727
     4728rm -rf conftest.dSYM
     4729rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4730      conftest$ac_exeext conftest.$ac_ext
     4731fi
     4732ac_res=`eval 'as_val=${'$as_ac_var'}
     4733                 $as_echo "$as_val"'`
     4734               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4735$as_echo "$ac_res" >&6; }
     4736as_val=`eval 'as_val=${'$as_ac_var'}
     4737                 $as_echo "$as_val"'`
     4738   if test "x$as_val" = x""yes; then
    47464739  cat >>confdefs.h <<_ACEOF
    4747 #define HAVE_SYSINFO 1
     4740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    47484741_ACEOF
    47494742
     
    47514744done
    47524745
     4746
    47534747for ac_func in gettimeofday
    4754 do :
    4755   ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
    4756 if test "x$ac_cv_func_gettimeofday" = xyes; then :
     4748do
     4749as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     4750{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     4751$as_echo_n "checking for $ac_func... " >&6; }
     4752if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     4753  $as_echo_n "(cached) " >&6
     4754else
     4755  cat >conftest.$ac_ext <<_ACEOF
     4756/* confdefs.h.  */
     4757_ACEOF
     4758cat confdefs.h >>conftest.$ac_ext
     4759cat >>conftest.$ac_ext <<_ACEOF
     4760/* end confdefs.h.  */
     4761/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     4762   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4763#define $ac_func innocuous_$ac_func
     4764
     4765/* System header to define __stub macros and hopefully few prototypes,
     4766    which can conflict with char $ac_func (); below.
     4767    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4768    <limits.h> exists even on freestanding compilers.  */
     4769
     4770#ifdef __STDC__
     4771# include <limits.h>
     4772#else
     4773# include <assert.h>
     4774#endif
     4775
     4776#undef $ac_func
     4777
     4778/* Override any GCC internal prototype to avoid an error.
     4779   Use char because int might match the return type of a GCC
     4780   builtin and then its argument prototype would still apply.  */
     4781#ifdef __cplusplus
     4782extern "C"
     4783#endif
     4784char $ac_func ();
     4785/* The GNU C library defines this for functions which it implements
     4786    to always fail with ENOSYS.  Some functions are actually named
     4787    something starting with __ and the normal name is an alias.  */
     4788#if defined __stub_$ac_func || defined __stub___$ac_func
     4789choke me
     4790#endif
     4791
     4792int
     4793main ()
     4794{
     4795return $ac_func ();
     4796  ;
     4797  return 0;
     4798}
     4799_ACEOF
     4800rm -f conftest.$ac_objext conftest$ac_exeext
     4801if { (ac_try="$ac_link"
     4802case "(($ac_try" in
     4803  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4804  *) ac_try_echo=$ac_try;;
     4805esac
     4806eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4807$as_echo "$ac_try_echo") >&5
     4808  (eval "$ac_link") 2>conftest.er1
     4809  ac_status=$?
     4810  grep -v '^ *+' conftest.er1 >conftest.err
     4811  rm -f conftest.er1
     4812  cat conftest.err >&5
     4813  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4814  (exit $ac_status); } && {
     4815         test -z "$ac_cxx_werror_flag" ||
     4816         test ! -s conftest.err
     4817       } && test -s conftest$ac_exeext && {
     4818         test "$cross_compiling" = yes ||
     4819         $as_test_x conftest$ac_exeext
     4820       }; then
     4821  eval "$as_ac_var=yes"
     4822else
     4823  $as_echo "$as_me: failed program was:" >&5
     4824sed 's/^/| /' conftest.$ac_ext >&5
     4825
     4826        eval "$as_ac_var=no"
     4827fi
     4828
     4829rm -rf conftest.dSYM
     4830rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4831      conftest$ac_exeext conftest.$ac_ext
     4832fi
     4833ac_res=`eval 'as_val=${'$as_ac_var'}
     4834                 $as_echo "$as_val"'`
     4835               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     4836$as_echo "$ac_res" >&6; }
     4837as_val=`eval 'as_val=${'$as_ac_var'}
     4838                 $as_echo "$as_val"'`
     4839   if test "x$as_val" = x""yes; then
    47574840  cat >>confdefs.h <<_ACEOF
    4758 #define HAVE_GETTIMEOFDAY 1
     4841#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    47594842_ACEOF
    47604843
     
    47624845done
    47634846
    4764 ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
    4765 if test "x$ac_cv_func_localtime" = xyes; then :
    4766 
    4767 else
    4768   as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5
    4769 fi
    4770 
    4771 ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
    4772 if test "x$ac_cv_func_getenv" = xyes; then :
    4773 
    4774 else
    4775   as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5
    4776 fi
     4847{ $as_echo "$as_me:$LINENO: checking for localtime" >&5
     4848$as_echo_n "checking for localtime... " >&6; }
     4849if test "${ac_cv_func_localtime+set}" = set; then
     4850  $as_echo_n "(cached) " >&6
     4851else
     4852  cat >conftest.$ac_ext <<_ACEOF
     4853/* confdefs.h.  */
     4854_ACEOF
     4855cat confdefs.h >>conftest.$ac_ext
     4856cat >>conftest.$ac_ext <<_ACEOF
     4857/* end confdefs.h.  */
     4858/* Define localtime to an innocuous variant, in case <limits.h> declares localtime.
     4859   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4860#define localtime innocuous_localtime
     4861
     4862/* System header to define __stub macros and hopefully few prototypes,
     4863    which can conflict with char localtime (); below.
     4864    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4865    <limits.h> exists even on freestanding compilers.  */
     4866
     4867#ifdef __STDC__
     4868# include <limits.h>
     4869#else
     4870# include <assert.h>
     4871#endif
     4872
     4873#undef localtime
     4874
     4875/* Override any GCC internal prototype to avoid an error.
     4876   Use char because int might match the return type of a GCC
     4877   builtin and then its argument prototype would still apply.  */
     4878#ifdef __cplusplus
     4879extern "C"
     4880#endif
     4881char localtime ();
     4882/* The GNU C library defines this for functions which it implements
     4883    to always fail with ENOSYS.  Some functions are actually named
     4884    something starting with __ and the normal name is an alias.  */
     4885#if defined __stub_localtime || defined __stub___localtime
     4886choke me
     4887#endif
     4888
     4889int
     4890main ()
     4891{
     4892return localtime ();
     4893  ;
     4894  return 0;
     4895}
     4896_ACEOF
     4897rm -f conftest.$ac_objext conftest$ac_exeext
     4898if { (ac_try="$ac_link"
     4899case "(($ac_try" in
     4900  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4901  *) ac_try_echo=$ac_try;;
     4902esac
     4903eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4904$as_echo "$ac_try_echo") >&5
     4905  (eval "$ac_link") 2>conftest.er1
     4906  ac_status=$?
     4907  grep -v '^ *+' conftest.er1 >conftest.err
     4908  rm -f conftest.er1
     4909  cat conftest.err >&5
     4910  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4911  (exit $ac_status); } && {
     4912         test -z "$ac_cxx_werror_flag" ||
     4913         test ! -s conftest.err
     4914       } && test -s conftest$ac_exeext && {
     4915         test "$cross_compiling" = yes ||
     4916         $as_test_x conftest$ac_exeext
     4917       }; then
     4918  ac_cv_func_localtime=yes
     4919else
     4920  $as_echo "$as_me: failed program was:" >&5
     4921sed 's/^/| /' conftest.$ac_ext >&5
     4922
     4923        ac_cv_func_localtime=no
     4924fi
     4925
     4926rm -rf conftest.dSYM
     4927rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4928      conftest$ac_exeext conftest.$ac_ext
     4929fi
     4930{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_localtime" >&5
     4931$as_echo "$ac_cv_func_localtime" >&6; }
     4932if test "x$ac_cv_func_localtime" = x""yes; then
     4933  :
     4934else
     4935  { { $as_echo "$as_me:$LINENO: error: oops! no localtime ?!?" >&5
     4936$as_echo "$as_me: error: oops! no localtime ?!?" >&2;}
     4937   { (exit 1); exit 1; }; }
     4938fi
     4939
     4940{ $as_echo "$as_me:$LINENO: checking for getenv" >&5
     4941$as_echo_n "checking for getenv... " >&6; }
     4942if test "${ac_cv_func_getenv+set}" = set; then
     4943  $as_echo_n "(cached) " >&6
     4944else
     4945  cat >conftest.$ac_ext <<_ACEOF
     4946/* confdefs.h.  */
     4947_ACEOF
     4948cat confdefs.h >>conftest.$ac_ext
     4949cat >>conftest.$ac_ext <<_ACEOF
     4950/* end confdefs.h.  */
     4951/* Define getenv to an innocuous variant, in case <limits.h> declares getenv.
     4952   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     4953#define getenv innocuous_getenv
     4954
     4955/* System header to define __stub macros and hopefully few prototypes,
     4956    which can conflict with char getenv (); below.
     4957    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     4958    <limits.h> exists even on freestanding compilers.  */
     4959
     4960#ifdef __STDC__
     4961# include <limits.h>
     4962#else
     4963# include <assert.h>
     4964#endif
     4965
     4966#undef getenv
     4967
     4968/* Override any GCC internal prototype to avoid an error.
     4969   Use char because int might match the return type of a GCC
     4970   builtin and then its argument prototype would still apply.  */
     4971#ifdef __cplusplus
     4972extern "C"
     4973#endif
     4974char getenv ();
     4975/* The GNU C library defines this for functions which it implements
     4976    to always fail with ENOSYS.  Some functions are actually named
     4977    something starting with __ and the normal name is an alias.  */
     4978#if defined __stub_getenv || defined __stub___getenv
     4979choke me
     4980#endif
     4981
     4982int
     4983main ()
     4984{
     4985return getenv ();
     4986  ;
     4987  return 0;
     4988}
     4989_ACEOF
     4990rm -f conftest.$ac_objext conftest$ac_exeext
     4991if { (ac_try="$ac_link"
     4992case "(($ac_try" in
     4993  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4994  *) ac_try_echo=$ac_try;;
     4995esac
     4996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4997$as_echo "$ac_try_echo") >&5
     4998  (eval "$ac_link") 2>conftest.er1
     4999  ac_status=$?
     5000  grep -v '^ *+' conftest.er1 >conftest.err
     5001  rm -f conftest.er1
     5002  cat conftest.err >&5
     5003  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5004  (exit $ac_status); } && {
     5005         test -z "$ac_cxx_werror_flag" ||
     5006         test ! -s conftest.err
     5007       } && test -s conftest$ac_exeext && {
     5008         test "$cross_compiling" = yes ||
     5009         $as_test_x conftest$ac_exeext
     5010       }; then
     5011  ac_cv_func_getenv=yes
     5012else
     5013  $as_echo "$as_me: failed program was:" >&5
     5014sed 's/^/| /' conftest.$ac_ext >&5
     5015
     5016        ac_cv_func_getenv=no
     5017fi
     5018
     5019rm -rf conftest.dSYM
     5020rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5021      conftest$ac_exeext conftest.$ac_ext
     5022fi
     5023{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getenv" >&5
     5024$as_echo "$ac_cv_func_getenv" >&6; }
     5025if test "x$ac_cv_func_getenv" = x""yes; then
     5026  :
     5027else
     5028  { { $as_echo "$as_me:$LINENO: error: oops! no getenv ?!?" >&5
     5029$as_echo "$as_me: error: oops! no getenv ?!?" >&2;}
     5030   { (exit 1); exit 1; }; }
     5031fi
     5032
     5033
     5034# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     5035
     5036
     5037
     5038
     5039
     5040
     5041
     5042
     5043
     5044for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     5045                  inttypes.h stdint.h unistd.h
     5046do
     5047as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5048{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5049$as_echo_n "checking for $ac_header... " >&6; }
     5050if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5051  $as_echo_n "(cached) " >&6
     5052else
     5053  cat >conftest.$ac_ext <<_ACEOF
     5054/* confdefs.h.  */
     5055_ACEOF
     5056cat confdefs.h >>conftest.$ac_ext
     5057cat >>conftest.$ac_ext <<_ACEOF
     5058/* end confdefs.h.  */
     5059$ac_includes_default
     5060
     5061#include <$ac_header>
     5062_ACEOF
     5063rm -f conftest.$ac_objext
     5064if { (ac_try="$ac_compile"
     5065case "(($ac_try" in
     5066  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5067  *) ac_try_echo=$ac_try;;
     5068esac
     5069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5070$as_echo "$ac_try_echo") >&5
     5071  (eval "$ac_compile") 2>conftest.er1
     5072  ac_status=$?
     5073  grep -v '^ *+' conftest.er1 >conftest.err
     5074  rm -f conftest.er1
     5075  cat conftest.err >&5
     5076  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5077  (exit $ac_status); } && {
     5078         test -z "$ac_cxx_werror_flag" ||
     5079         test ! -s conftest.err
     5080       } && test -s conftest.$ac_objext; then
     5081  eval "$as_ac_Header=yes"
     5082else
     5083  $as_echo "$as_me: failed program was:" >&5
     5084sed 's/^/| /' conftest.$ac_ext >&5
     5085
     5086        eval "$as_ac_Header=no"
     5087fi
     5088
     5089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5090fi
     5091ac_res=`eval 'as_val=${'$as_ac_Header'}
     5092                 $as_echo "$as_val"'`
     5093               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5094$as_echo "$ac_res" >&6; }
     5095as_val=`eval 'as_val=${'$as_ac_Header'}
     5096                 $as_echo "$as_val"'`
     5097   if test "x$as_val" = x""yes; then
     5098  cat >>confdefs.h <<_ACEOF
     5099#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5100_ACEOF
     5101
     5102fi
     5103
     5104done
    47775105
    47785106
     
    47825110ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    47835111ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     5112{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    47855113$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    47865114if test -z "$CXXCPP"; then
    4787   if ${ac_cv_prog_CXXCPP+:} false; then :
     5115  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    47885116  $as_echo_n "(cached) " >&6
    47895117else
     
    48005128  # On the NeXT, cc -E runs the code through the compiler's parser,
    48015129  # not just through cpp. "Syntax error" is here to catch this case.
    4802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5130  cat >conftest.$ac_ext <<_ACEOF
     5131/* confdefs.h.  */
     5132_ACEOF
     5133cat confdefs.h >>conftest.$ac_ext
     5134cat >>conftest.$ac_ext <<_ACEOF
    48035135/* end confdefs.h.  */
    48045136#ifdef __STDC__
     
    48095141                     Syntax error
    48105142_ACEOF
    4811 if ac_fn_cxx_try_cpp "$LINENO"; then :
    4812 
    4813 else
     5143if { (ac_try="$ac_cpp conftest.$ac_ext"
     5144case "(($ac_try" in
     5145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5146  *) ac_try_echo=$ac_try;;
     5147esac
     5148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5149$as_echo "$ac_try_echo") >&5
     5150  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5151  ac_status=$?
     5152  grep -v '^ *+' conftest.er1 >conftest.err
     5153  rm -f conftest.er1
     5154  cat conftest.err >&5
     5155  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5156  (exit $ac_status); } >/dev/null && {
     5157         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5158         test ! -s conftest.err
     5159       }; then
     5160  :
     5161else
     5162  $as_echo "$as_me: failed program was:" >&5
     5163sed 's/^/| /' conftest.$ac_ext >&5
     5164
    48145165  # Broken: fails on valid input.
    48155166continue
    48165167fi
    4817 rm -f conftest.err conftest.i conftest.$ac_ext
     5168
     5169rm -f conftest.err conftest.$ac_ext
    48185170
    48195171  # OK, works on sane cases.  Now check whether nonexistent headers
    48205172  # can be detected and how.
    4821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5173  cat >conftest.$ac_ext <<_ACEOF
     5174/* confdefs.h.  */
     5175_ACEOF
     5176cat confdefs.h >>conftest.$ac_ext
     5177cat >>conftest.$ac_ext <<_ACEOF
    48225178/* end confdefs.h.  */
    48235179#include <ac_nonexistent.h>
    48245180_ACEOF
    4825 if ac_fn_cxx_try_cpp "$LINENO"; then :
     5181if { (ac_try="$ac_cpp conftest.$ac_ext"
     5182case "(($ac_try" in
     5183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5184  *) ac_try_echo=$ac_try;;
     5185esac
     5186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5187$as_echo "$ac_try_echo") >&5
     5188  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5189  ac_status=$?
     5190  grep -v '^ *+' conftest.er1 >conftest.err
     5191  rm -f conftest.er1
     5192  cat conftest.err >&5
     5193  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5194  (exit $ac_status); } >/dev/null && {
     5195         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5196         test ! -s conftest.err
     5197       }; then
    48265198  # Broken: success on invalid input.
    48275199continue
    48285200else
     5201  $as_echo "$as_me: failed program was:" >&5
     5202sed 's/^/| /' conftest.$ac_ext >&5
     5203
    48295204  # Passes both tests.
    48305205ac_preproc_ok=:
    48315206break
    48325207fi
    4833 rm -f conftest.err conftest.i conftest.$ac_ext
     5208
     5209rm -f conftest.err conftest.$ac_ext
    48345210
    48355211done
    48365212# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4837 rm -f conftest.i conftest.err conftest.$ac_ext
    4838 if $ac_preproc_ok; then :
     5213rm -f conftest.err conftest.$ac_ext
     5214if $ac_preproc_ok; then
    48395215  break
    48405216fi
     
    48485224  ac_cv_prog_CXXCPP=$CXXCPP
    48495225fi
    4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     5226{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
    48515227$as_echo "$CXXCPP" >&6; }
    48525228ac_preproc_ok=false
     
    48595235  # On the NeXT, cc -E runs the code through the compiler's parser,
    48605236  # not just through cpp. "Syntax error" is here to catch this case.
    4861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5237  cat >conftest.$ac_ext <<_ACEOF
     5238/* confdefs.h.  */
     5239_ACEOF
     5240cat confdefs.h >>conftest.$ac_ext
     5241cat >>conftest.$ac_ext <<_ACEOF
    48625242/* end confdefs.h.  */
    48635243#ifdef __STDC__
     
    48685248                     Syntax error
    48695249_ACEOF
    4870 if ac_fn_cxx_try_cpp "$LINENO"; then :
    4871 
    4872 else
     5250if { (ac_try="$ac_cpp conftest.$ac_ext"
     5251case "(($ac_try" in
     5252  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5253  *) ac_try_echo=$ac_try;;
     5254esac
     5255eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5256$as_echo "$ac_try_echo") >&5
     5257  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5258  ac_status=$?
     5259  grep -v '^ *+' conftest.er1 >conftest.err
     5260  rm -f conftest.er1
     5261  cat conftest.err >&5
     5262  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5263  (exit $ac_status); } >/dev/null && {
     5264         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5265         test ! -s conftest.err
     5266       }; then
     5267  :
     5268else
     5269  $as_echo "$as_me: failed program was:" >&5
     5270sed 's/^/| /' conftest.$ac_ext >&5
     5271
    48735272  # Broken: fails on valid input.
    48745273continue
    48755274fi
    4876 rm -f conftest.err conftest.i conftest.$ac_ext
     5275
     5276rm -f conftest.err conftest.$ac_ext
    48775277
    48785278  # OK, works on sane cases.  Now check whether nonexistent headers
    48795279  # can be detected and how.
    4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5280  cat >conftest.$ac_ext <<_ACEOF
     5281/* confdefs.h.  */
     5282_ACEOF
     5283cat confdefs.h >>conftest.$ac_ext
     5284cat >>conftest.$ac_ext <<_ACEOF
    48815285/* end confdefs.h.  */
    48825286#include <ac_nonexistent.h>
    48835287_ACEOF
    4884 if ac_fn_cxx_try_cpp "$LINENO"; then :
     5288if { (ac_try="$ac_cpp conftest.$ac_ext"
     5289case "(($ac_try" in
     5290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5291  *) ac_try_echo=$ac_try;;
     5292esac
     5293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5294$as_echo "$ac_try_echo") >&5
     5295  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5296  ac_status=$?
     5297  grep -v '^ *+' conftest.er1 >conftest.err
     5298  rm -f conftest.er1
     5299  cat conftest.err >&5
     5300  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5301  (exit $ac_status); } >/dev/null && {
     5302         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5303         test ! -s conftest.err
     5304       }; then
    48855305  # Broken: success on invalid input.
    48865306continue
    48875307else
     5308  $as_echo "$as_me: failed program was:" >&5
     5309sed 's/^/| /' conftest.$ac_ext >&5
     5310
    48885311  # Passes both tests.
    48895312ac_preproc_ok=:
    48905313break
    48915314fi
    4892 rm -f conftest.err conftest.i conftest.$ac_ext
     5315
     5316rm -f conftest.err conftest.$ac_ext
    48935317
    48945318done
    48955319# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4896 rm -f conftest.i conftest.err conftest.$ac_ext
    4897 if $ac_preproc_ok; then :
    4898 
    4899 else
    4900   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5320rm -f conftest.err conftest.$ac_ext
     5321if $ac_preproc_ok; then
     5322  :
     5323else
     5324  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    49015325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4902 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    4903 See \`config.log' for more details" "$LINENO" 5; }
     5326{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5327See \`config.log' for more details." >&5
     5328$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     5329See \`config.log' for more details." >&2;}
     5330   { (exit 1); exit 1; }; }; }
    49045331fi
    49055332
     
    49115338
    49125339
    4913 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4914 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4915                   inttypes.h stdint.h unistd.h
    4916 do :
    4917   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4918 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    4919 "
    4920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     5340
     5341for ac_header in sys/sysinfo.h
     5342do
     5343as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5344if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5345  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5346$as_echo_n "checking for $ac_header... " >&6; }
     5347if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5348  $as_echo_n "(cached) " >&6
     5349fi
     5350ac_res=`eval 'as_val=${'$as_ac_Header'}
     5351                 $as_echo "$as_val"'`
     5352               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5353$as_echo "$ac_res" >&6; }
     5354else
     5355  # Is the header compilable?
     5356{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5357$as_echo_n "checking $ac_header usability... " >&6; }
     5358cat >conftest.$ac_ext <<_ACEOF
     5359/* confdefs.h.  */
     5360_ACEOF
     5361cat confdefs.h >>conftest.$ac_ext
     5362cat >>conftest.$ac_ext <<_ACEOF
     5363/* end confdefs.h.  */
     5364$ac_includes_default
     5365#include <$ac_header>
     5366_ACEOF
     5367rm -f conftest.$ac_objext
     5368if { (ac_try="$ac_compile"
     5369case "(($ac_try" in
     5370  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5371  *) ac_try_echo=$ac_try;;
     5372esac
     5373eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5374$as_echo "$ac_try_echo") >&5
     5375  (eval "$ac_compile") 2>conftest.er1
     5376  ac_status=$?
     5377  grep -v '^ *+' conftest.er1 >conftest.err
     5378  rm -f conftest.er1
     5379  cat conftest.err >&5
     5380  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5381  (exit $ac_status); } && {
     5382         test -z "$ac_cxx_werror_flag" ||
     5383         test ! -s conftest.err
     5384       } && test -s conftest.$ac_objext; then
     5385  ac_header_compiler=yes
     5386else
     5387  $as_echo "$as_me: failed program was:" >&5
     5388sed 's/^/| /' conftest.$ac_ext >&5
     5389
     5390        ac_header_compiler=no
     5391fi
     5392
     5393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5394{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5395$as_echo "$ac_header_compiler" >&6; }
     5396
     5397# Is the header present?
     5398{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5399$as_echo_n "checking $ac_header presence... " >&6; }
     5400cat >conftest.$ac_ext <<_ACEOF
     5401/* confdefs.h.  */
     5402_ACEOF
     5403cat confdefs.h >>conftest.$ac_ext
     5404cat >>conftest.$ac_ext <<_ACEOF
     5405/* end confdefs.h.  */
     5406#include <$ac_header>
     5407_ACEOF
     5408if { (ac_try="$ac_cpp conftest.$ac_ext"
     5409case "(($ac_try" in
     5410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5411  *) ac_try_echo=$ac_try;;
     5412esac
     5413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5414$as_echo "$ac_try_echo") >&5
     5415  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5416  ac_status=$?
     5417  grep -v '^ *+' conftest.er1 >conftest.err
     5418  rm -f conftest.er1
     5419  cat conftest.err >&5
     5420  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5421  (exit $ac_status); } >/dev/null && {
     5422         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5423         test ! -s conftest.err
     5424       }; then
     5425  ac_header_preproc=yes
     5426else
     5427  $as_echo "$as_me: failed program was:" >&5
     5428sed 's/^/| /' conftest.$ac_ext >&5
     5429
     5430  ac_header_preproc=no
     5431fi
     5432
     5433rm -f conftest.err conftest.$ac_ext
     5434{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5435$as_echo "$ac_header_preproc" >&6; }
     5436
     5437# So?  What about this header?
     5438case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5439  yes:no: )
     5440    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5441$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5442    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5443$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5444    ac_header_preproc=yes
     5445    ;;
     5446  no:yes:* )
     5447    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5448$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5449    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5450$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5451    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5452$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5453    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5454$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5455    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5456$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5457    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5458$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5459    ( cat <<\_ASBOX
     5460## ----------------------------------- ##
     5461## Report this to rappture@nanohub.org ##
     5462## ----------------------------------- ##
     5463_ASBOX
     5464     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5465    ;;
     5466esac
     5467{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5468$as_echo_n "checking for $ac_header... " >&6; }
     5469if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5470  $as_echo_n "(cached) " >&6
     5471else
     5472  eval "$as_ac_Header=\$ac_header_preproc"
     5473fi
     5474ac_res=`eval 'as_val=${'$as_ac_Header'}
     5475                 $as_echo "$as_val"'`
     5476               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5477$as_echo "$ac_res" >&6; }
     5478
     5479fi
     5480as_val=`eval 'as_val=${'$as_ac_Header'}
     5481                 $as_echo "$as_val"'`
     5482   if test "x$as_val" = x""yes; then
    49215483  cat >>confdefs.h <<_ACEOF
    49225484#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    49285490
    49295491
    4930 for ac_header in sys/sysinfo.h
    4931 do :
    4932   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
    4933 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
    4934   cat >>confdefs.h <<_ACEOF
    4935 #define HAVE_SYS_SYSINFO_H 1
    4936 _ACEOF
    4937 
    4938 fi
    4939 
    4940 done
    4941 
    4942 
    4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
     5492
     5493{ $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
    49445494$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    4945 if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
     5495if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
    49465496  $as_echo_n "(cached) " >&6
    49475497else
    49485498  ac_check_lib_save_LIBS=$LIBS
    49495499LIBS="-lncurses  $LIBS"
    4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5500cat >conftest.$ac_ext <<_ACEOF
     5501/* confdefs.h.  */
     5502_ACEOF
     5503cat confdefs.h >>conftest.$ac_ext
     5504cat >>conftest.$ac_ext <<_ACEOF
    49515505/* end confdefs.h.  */
    49525506
     
    49665520}
    49675521_ACEOF
    4968 if ac_fn_cxx_try_link "$LINENO"; then :
     5522rm -f conftest.$ac_objext conftest$ac_exeext
     5523if { (ac_try="$ac_link"
     5524case "(($ac_try" in
     5525  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5526  *) ac_try_echo=$ac_try;;
     5527esac
     5528eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5529$as_echo "$ac_try_echo") >&5
     5530  (eval "$ac_link") 2>conftest.er1
     5531  ac_status=$?
     5532  grep -v '^ *+' conftest.er1 >conftest.err
     5533  rm -f conftest.er1
     5534  cat conftest.err >&5
     5535  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5536  (exit $ac_status); } && {
     5537         test -z "$ac_cxx_werror_flag" ||
     5538         test ! -s conftest.err
     5539       } && test -s conftest$ac_exeext && {
     5540         test "$cross_compiling" = yes ||
     5541         $as_test_x conftest$ac_exeext
     5542       }; then
    49695543  ac_cv_lib_ncurses_clrtoeol=yes
    49705544else
    4971   ac_cv_lib_ncurses_clrtoeol=no
    4972 fi
    4973 rm -f core conftest.err conftest.$ac_objext \
    4974     conftest$ac_exeext conftest.$ac_ext
     5545  $as_echo "$as_me: failed program was:" >&5
     5546sed 's/^/| /' conftest.$ac_ext >&5
     5547
     5548        ac_cv_lib_ncurses_clrtoeol=no
     5549fi
     5550
     5551rm -rf conftest.dSYM
     5552rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5553      conftest$ac_exeext conftest.$ac_ext
    49755554LIBS=$ac_check_lib_save_LIBS
    49765555fi
    4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     5556{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    49785557$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    4979 if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
     5558if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
    49805559  cat >>confdefs.h <<_ACEOF
    49815560#define HAVE_LIBNCURSES 1
     
    49855564
    49865565else
    4987   as_fn_error $? "ncurses library missing?" "$LINENO" 5
    4988 fi
     5566  { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
     5567$as_echo "$as_me: error: ncurses library missing?" >&2;}
     5568   { (exit 1); exit 1; }; }
     5569fi
     5570
    49895571
    49905572for ac_header in ncurses.h
    4991 do :
    4992   ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
    4993 if test "x$ac_cv_header_ncurses_h" = xyes; then :
     5573do
     5574as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5575if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5576  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5577$as_echo_n "checking for $ac_header... " >&6; }
     5578if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5579  $as_echo_n "(cached) " >&6
     5580fi
     5581ac_res=`eval 'as_val=${'$as_ac_Header'}
     5582                 $as_echo "$as_val"'`
     5583               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5584$as_echo "$ac_res" >&6; }
     5585else
     5586  # Is the header compilable?
     5587{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5588$as_echo_n "checking $ac_header usability... " >&6; }
     5589cat >conftest.$ac_ext <<_ACEOF
     5590/* confdefs.h.  */
     5591_ACEOF
     5592cat confdefs.h >>conftest.$ac_ext
     5593cat >>conftest.$ac_ext <<_ACEOF
     5594/* end confdefs.h.  */
     5595$ac_includes_default
     5596#include <$ac_header>
     5597_ACEOF
     5598rm -f conftest.$ac_objext
     5599if { (ac_try="$ac_compile"
     5600case "(($ac_try" in
     5601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5602  *) ac_try_echo=$ac_try;;
     5603esac
     5604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5605$as_echo "$ac_try_echo") >&5
     5606  (eval "$ac_compile") 2>conftest.er1
     5607  ac_status=$?
     5608  grep -v '^ *+' conftest.er1 >conftest.err
     5609  rm -f conftest.er1
     5610  cat conftest.err >&5
     5611  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5612  (exit $ac_status); } && {
     5613         test -z "$ac_cxx_werror_flag" ||
     5614         test ! -s conftest.err
     5615       } && test -s conftest.$ac_objext; then
     5616  ac_header_compiler=yes
     5617else
     5618  $as_echo "$as_me: failed program was:" >&5
     5619sed 's/^/| /' conftest.$ac_ext >&5
     5620
     5621        ac_header_compiler=no
     5622fi
     5623
     5624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5625{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5626$as_echo "$ac_header_compiler" >&6; }
     5627
     5628# Is the header present?
     5629{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5630$as_echo_n "checking $ac_header presence... " >&6; }
     5631cat >conftest.$ac_ext <<_ACEOF
     5632/* confdefs.h.  */
     5633_ACEOF
     5634cat confdefs.h >>conftest.$ac_ext
     5635cat >>conftest.$ac_ext <<_ACEOF
     5636/* end confdefs.h.  */
     5637#include <$ac_header>
     5638_ACEOF
     5639if { (ac_try="$ac_cpp conftest.$ac_ext"
     5640case "(($ac_try" in
     5641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5642  *) ac_try_echo=$ac_try;;
     5643esac
     5644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5645$as_echo "$ac_try_echo") >&5
     5646  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5647  ac_status=$?
     5648  grep -v '^ *+' conftest.er1 >conftest.err
     5649  rm -f conftest.er1
     5650  cat conftest.err >&5
     5651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5652  (exit $ac_status); } >/dev/null && {
     5653         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5654         test ! -s conftest.err
     5655       }; then
     5656  ac_header_preproc=yes
     5657else
     5658  $as_echo "$as_me: failed program was:" >&5
     5659sed 's/^/| /' conftest.$ac_ext >&5
     5660
     5661  ac_header_preproc=no
     5662fi
     5663
     5664rm -f conftest.err conftest.$ac_ext
     5665{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5666$as_echo "$ac_header_preproc" >&6; }
     5667
     5668# So?  What about this header?
     5669case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5670  yes:no: )
     5671    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5672$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5673    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5674$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5675    ac_header_preproc=yes
     5676    ;;
     5677  no:yes:* )
     5678    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5679$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5680    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5681$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5682    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5683$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5684    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5685$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5686    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5687$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5688    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5689$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5690    ( cat <<\_ASBOX
     5691## ----------------------------------- ##
     5692## Report this to rappture@nanohub.org ##
     5693## ----------------------------------- ##
     5694_ASBOX
     5695     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5696    ;;
     5697esac
     5698{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5699$as_echo_n "checking for $ac_header... " >&6; }
     5700if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5701  $as_echo_n "(cached) " >&6
     5702else
     5703  eval "$as_ac_Header=\$ac_header_preproc"
     5704fi
     5705ac_res=`eval 'as_val=${'$as_ac_Header'}
     5706                 $as_echo "$as_val"'`
     5707               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5708$as_echo "$ac_res" >&6; }
     5709
     5710fi
     5711as_val=`eval 'as_val=${'$as_ac_Header'}
     5712                 $as_echo "$as_val"'`
     5713   if test "x$as_val" = x""yes; then
    49945714  cat >>confdefs.h <<_ACEOF
    4995 #define HAVE_NCURSES_H 1
    4996 _ACEOF
    4997 
    4998 else
    4999   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
     5715#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5716_ACEOF
     5717
     5718else
     5719  { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
    50005720$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    50015721fi
     
    50045724
    50055725
    5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
     5726
     5727{ $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    50075728$as_echo_n "checking for main in -lstdc++... " >&6; }
    5008 if ${ac_cv_lib_stdcpp_main+:} false; then :
     5729if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    50095730  $as_echo_n "(cached) " >&6
    50105731else
    50115732  ac_check_lib_save_LIBS=$LIBS
    50125733LIBS="-lstdc++  $LIBS"
    5013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5734cat >conftest.$ac_ext <<_ACEOF
     5735/* confdefs.h.  */
     5736_ACEOF
     5737cat confdefs.h >>conftest.$ac_ext
     5738cat >>conftest.$ac_ext <<_ACEOF
    50145739/* end confdefs.h.  */
    50155740
     
    50235748}
    50245749_ACEOF
    5025 if ac_fn_cxx_try_link "$LINENO"; then :
     5750rm -f conftest.$ac_objext conftest$ac_exeext
     5751if { (ac_try="$ac_link"
     5752case "(($ac_try" in
     5753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5754  *) ac_try_echo=$ac_try;;
     5755esac
     5756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5757$as_echo "$ac_try_echo") >&5
     5758  (eval "$ac_link") 2>conftest.er1
     5759  ac_status=$?
     5760  grep -v '^ *+' conftest.er1 >conftest.err
     5761  rm -f conftest.er1
     5762  cat conftest.err >&5
     5763  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5764  (exit $ac_status); } && {
     5765         test -z "$ac_cxx_werror_flag" ||
     5766         test ! -s conftest.err
     5767       } && test -s conftest$ac_exeext && {
     5768         test "$cross_compiling" = yes ||
     5769         $as_test_x conftest$ac_exeext
     5770       }; then
    50265771  ac_cv_lib_stdcpp_main=yes
    50275772else
    5028   ac_cv_lib_stdcpp_main=no
    5029 fi
    5030 rm -f core conftest.err conftest.$ac_objext \
    5031     conftest$ac_exeext conftest.$ac_ext
     5773  $as_echo "$as_me: failed program was:" >&5
     5774sed 's/^/| /' conftest.$ac_ext >&5
     5775
     5776        ac_cv_lib_stdcpp_main=no
     5777fi
     5778
     5779rm -rf conftest.dSYM
     5780rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5781      conftest$ac_exeext conftest.$ac_ext
    50325782LIBS=$ac_check_lib_save_LIBS
    50335783fi
    5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
     5784{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    50355785$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5036 if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
     5786if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
    50375787  cat >>confdefs.h <<_ACEOF
    50385788#define HAVE_LIBSTDC__ 1
     
    50425792
    50435793else
    5044   as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
    5045 fi
     5794  { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
     5795$as_echo "$as_me: error: librappture requires libstdc++" >&2;}
     5796   { (exit 1); exit 1; }; }
     5797fi
     5798
    50465799
    50475800for ac_header in algorithm
    5048 do :
    5049   ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
    5050 if test "x$ac_cv_header_algorithm" = xyes; then :
     5801do
     5802as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5803if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5804  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5805$as_echo_n "checking for $ac_header... " >&6; }
     5806if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5807  $as_echo_n "(cached) " >&6
     5808fi
     5809ac_res=`eval 'as_val=${'$as_ac_Header'}
     5810                 $as_echo "$as_val"'`
     5811               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5812$as_echo "$ac_res" >&6; }
     5813else
     5814  # Is the header compilable?
     5815{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5816$as_echo_n "checking $ac_header usability... " >&6; }
     5817cat >conftest.$ac_ext <<_ACEOF
     5818/* confdefs.h.  */
     5819_ACEOF
     5820cat confdefs.h >>conftest.$ac_ext
     5821cat >>conftest.$ac_ext <<_ACEOF
     5822/* end confdefs.h.  */
     5823$ac_includes_default
     5824#include <$ac_header>
     5825_ACEOF
     5826rm -f conftest.$ac_objext
     5827if { (ac_try="$ac_compile"
     5828case "(($ac_try" in
     5829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5830  *) ac_try_echo=$ac_try;;
     5831esac
     5832eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5833$as_echo "$ac_try_echo") >&5
     5834  (eval "$ac_compile") 2>conftest.er1
     5835  ac_status=$?
     5836  grep -v '^ *+' conftest.er1 >conftest.err
     5837  rm -f conftest.er1
     5838  cat conftest.err >&5
     5839  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5840  (exit $ac_status); } && {
     5841         test -z "$ac_cxx_werror_flag" ||
     5842         test ! -s conftest.err
     5843       } && test -s conftest.$ac_objext; then
     5844  ac_header_compiler=yes
     5845else
     5846  $as_echo "$as_me: failed program was:" >&5
     5847sed 's/^/| /' conftest.$ac_ext >&5
     5848
     5849        ac_header_compiler=no
     5850fi
     5851
     5852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5853{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5854$as_echo "$ac_header_compiler" >&6; }
     5855
     5856# Is the header present?
     5857{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5858$as_echo_n "checking $ac_header presence... " >&6; }
     5859cat >conftest.$ac_ext <<_ACEOF
     5860/* confdefs.h.  */
     5861_ACEOF
     5862cat confdefs.h >>conftest.$ac_ext
     5863cat >>conftest.$ac_ext <<_ACEOF
     5864/* end confdefs.h.  */
     5865#include <$ac_header>
     5866_ACEOF
     5867if { (ac_try="$ac_cpp conftest.$ac_ext"
     5868case "(($ac_try" in
     5869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5870  *) ac_try_echo=$ac_try;;
     5871esac
     5872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5873$as_echo "$ac_try_echo") >&5
     5874  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5875  ac_status=$?
     5876  grep -v '^ *+' conftest.er1 >conftest.err
     5877  rm -f conftest.er1
     5878  cat conftest.err >&5
     5879  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5880  (exit $ac_status); } >/dev/null && {
     5881         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     5882         test ! -s conftest.err
     5883       }; then
     5884  ac_header_preproc=yes
     5885else
     5886  $as_echo "$as_me: failed program was:" >&5
     5887sed 's/^/| /' conftest.$ac_ext >&5
     5888
     5889  ac_header_preproc=no
     5890fi
     5891
     5892rm -f conftest.err conftest.$ac_ext
     5893{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5894$as_echo "$ac_header_preproc" >&6; }
     5895
     5896# So?  What about this header?
     5897case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     5898  yes:no: )
     5899    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5900$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5901    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     5902$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     5903    ac_header_preproc=yes
     5904    ;;
     5905  no:yes:* )
     5906    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5907$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5908    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     5909$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     5910    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     5911$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     5912    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     5913$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     5914    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5915$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5916    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     5917$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     5918    ( cat <<\_ASBOX
     5919## ----------------------------------- ##
     5920## Report this to rappture@nanohub.org ##
     5921## ----------------------------------- ##
     5922_ASBOX
     5923     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5924    ;;
     5925esac
     5926{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5927$as_echo_n "checking for $ac_header... " >&6; }
     5928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5929  $as_echo_n "(cached) " >&6
     5930else
     5931  eval "$as_ac_Header=\$ac_header_preproc"
     5932fi
     5933ac_res=`eval 'as_val=${'$as_ac_Header'}
     5934                 $as_echo "$as_val"'`
     5935               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5936$as_echo "$ac_res" >&6; }
     5937
     5938fi
     5939as_val=`eval 'as_val=${'$as_ac_Header'}
     5940                 $as_echo "$as_val"'`
     5941   if test "x$as_val" = x""yes; then
    50515942  cat >>confdefs.h <<_ACEOF
    5052 #define HAVE_ALGORITHM 1
    5053 _ACEOF
    5054 
    5055 else
    5056   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5943#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5944_ACEOF
     5945
     5946else
     5947  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    50575948$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    50585949fi
     
    50605951done
    50615952
     5953
    50625954for ac_header in cctype
    5063 do :
    5064   ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
    5065 if test "x$ac_cv_header_cctype" = xyes; then :
     5955do
     5956as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5957if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5958  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     5959$as_echo_n "checking for $ac_header... " >&6; }
     5960if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     5961  $as_echo_n "(cached) " >&6
     5962fi
     5963ac_res=`eval 'as_val=${'$as_ac_Header'}
     5964                 $as_echo "$as_val"'`
     5965               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     5966$as_echo "$ac_res" >&6; }
     5967else
     5968  # Is the header compilable?
     5969{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5970$as_echo_n "checking $ac_header usability... " >&6; }
     5971cat >conftest.$ac_ext <<_ACEOF
     5972/* confdefs.h.  */
     5973_ACEOF
     5974cat confdefs.h >>conftest.$ac_ext
     5975cat >>conftest.$ac_ext <<_ACEOF
     5976/* end confdefs.h.  */
     5977$ac_includes_default
     5978#include <$ac_header>
     5979_ACEOF
     5980rm -f conftest.$ac_objext
     5981if { (ac_try="$ac_compile"
     5982case "(($ac_try" in
     5983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5984  *) ac_try_echo=$ac_try;;
     5985esac
     5986eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5987$as_echo "$ac_try_echo") >&5
     5988  (eval "$ac_compile") 2>conftest.er1
     5989  ac_status=$?
     5990  grep -v '^ *+' conftest.er1 >conftest.err
     5991  rm -f conftest.er1
     5992  cat conftest.err >&5
     5993  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5994  (exit $ac_status); } && {
     5995         test -z "$ac_cxx_werror_flag" ||
     5996         test ! -s conftest.err
     5997       } && test -s conftest.$ac_objext; then
     5998  ac_header_compiler=yes
     5999else
     6000  $as_echo "$as_me: failed program was:" >&5
     6001sed 's/^/| /' conftest.$ac_ext >&5
     6002
     6003        ac_header_compiler=no
     6004fi
     6005
     6006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6007{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6008$as_echo "$ac_header_compiler" >&6; }
     6009
     6010# Is the header present?
     6011{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6012$as_echo_n "checking $ac_header presence... " >&6; }
     6013cat >conftest.$ac_ext <<_ACEOF
     6014/* confdefs.h.  */
     6015_ACEOF
     6016cat confdefs.h >>conftest.$ac_ext
     6017cat >>conftest.$ac_ext <<_ACEOF
     6018/* end confdefs.h.  */
     6019#include <$ac_header>
     6020_ACEOF
     6021if { (ac_try="$ac_cpp conftest.$ac_ext"
     6022case "(($ac_try" in
     6023  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6024  *) ac_try_echo=$ac_try;;
     6025esac
     6026eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6027$as_echo "$ac_try_echo") >&5
     6028  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6029  ac_status=$?
     6030  grep -v '^ *+' conftest.er1 >conftest.err
     6031  rm -f conftest.er1
     6032  cat conftest.err >&5
     6033  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6034  (exit $ac_status); } >/dev/null && {
     6035         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6036         test ! -s conftest.err
     6037       }; then
     6038  ac_header_preproc=yes
     6039else
     6040  $as_echo "$as_me: failed program was:" >&5
     6041sed 's/^/| /' conftest.$ac_ext >&5
     6042
     6043  ac_header_preproc=no
     6044fi
     6045
     6046rm -f conftest.err conftest.$ac_ext
     6047{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6048$as_echo "$ac_header_preproc" >&6; }
     6049
     6050# So?  What about this header?
     6051case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6052  yes:no: )
     6053    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6054$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6055    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6056$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6057    ac_header_preproc=yes
     6058    ;;
     6059  no:yes:* )
     6060    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6061$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6062    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6063$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6064    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6065$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6066    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6067$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6068    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6069$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6070    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6071$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6072    ( cat <<\_ASBOX
     6073## ----------------------------------- ##
     6074## Report this to rappture@nanohub.org ##
     6075## ----------------------------------- ##
     6076_ASBOX
     6077     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6078    ;;
     6079esac
     6080{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6081$as_echo_n "checking for $ac_header... " >&6; }
     6082if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6083  $as_echo_n "(cached) " >&6
     6084else
     6085  eval "$as_ac_Header=\$ac_header_preproc"
     6086fi
     6087ac_res=`eval 'as_val=${'$as_ac_Header'}
     6088                 $as_echo "$as_val"'`
     6089               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6090$as_echo "$ac_res" >&6; }
     6091
     6092fi
     6093as_val=`eval 'as_val=${'$as_ac_Header'}
     6094                 $as_echo "$as_val"'`
     6095   if test "x$as_val" = x""yes; then
    50666096  cat >>confdefs.h <<_ACEOF
    5067 #define HAVE_CCTYPE 1
    5068 _ACEOF
    5069 
    5070 else
    5071   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6097#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6098_ACEOF
     6099
     6100else
     6101  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    50726102$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    50736103fi
     
    50756105done
    50766106
     6107
    50776108for ac_header in cfloat
    5078 do :
    5079   ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
    5080 if test "x$ac_cv_header_cfloat" = xyes; then :
     6109do
     6110as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6111if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6112  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6113$as_echo_n "checking for $ac_header... " >&6; }
     6114if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6115  $as_echo_n "(cached) " >&6
     6116fi
     6117ac_res=`eval 'as_val=${'$as_ac_Header'}
     6118                 $as_echo "$as_val"'`
     6119               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6120$as_echo "$ac_res" >&6; }
     6121else
     6122  # Is the header compilable?
     6123{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6124$as_echo_n "checking $ac_header usability... " >&6; }
     6125cat >conftest.$ac_ext <<_ACEOF
     6126/* confdefs.h.  */
     6127_ACEOF
     6128cat confdefs.h >>conftest.$ac_ext
     6129cat >>conftest.$ac_ext <<_ACEOF
     6130/* end confdefs.h.  */
     6131$ac_includes_default
     6132#include <$ac_header>
     6133_ACEOF
     6134rm -f conftest.$ac_objext
     6135if { (ac_try="$ac_compile"
     6136case "(($ac_try" in
     6137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6138  *) ac_try_echo=$ac_try;;
     6139esac
     6140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6141$as_echo "$ac_try_echo") >&5
     6142  (eval "$ac_compile") 2>conftest.er1
     6143  ac_status=$?
     6144  grep -v '^ *+' conftest.er1 >conftest.err
     6145  rm -f conftest.er1
     6146  cat conftest.err >&5
     6147  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6148  (exit $ac_status); } && {
     6149         test -z "$ac_cxx_werror_flag" ||
     6150         test ! -s conftest.err
     6151       } && test -s conftest.$ac_objext; then
     6152  ac_header_compiler=yes
     6153else
     6154  $as_echo "$as_me: failed program was:" >&5
     6155sed 's/^/| /' conftest.$ac_ext >&5
     6156
     6157        ac_header_compiler=no
     6158fi
     6159
     6160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6161{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6162$as_echo "$ac_header_compiler" >&6; }
     6163
     6164# Is the header present?
     6165{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6166$as_echo_n "checking $ac_header presence... " >&6; }
     6167cat >conftest.$ac_ext <<_ACEOF
     6168/* confdefs.h.  */
     6169_ACEOF
     6170cat confdefs.h >>conftest.$ac_ext
     6171cat >>conftest.$ac_ext <<_ACEOF
     6172/* end confdefs.h.  */
     6173#include <$ac_header>
     6174_ACEOF
     6175if { (ac_try="$ac_cpp conftest.$ac_ext"
     6176case "(($ac_try" in
     6177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6178  *) ac_try_echo=$ac_try;;
     6179esac
     6180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6181$as_echo "$ac_try_echo") >&5
     6182  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6183  ac_status=$?
     6184  grep -v '^ *+' conftest.er1 >conftest.err
     6185  rm -f conftest.er1
     6186  cat conftest.err >&5
     6187  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6188  (exit $ac_status); } >/dev/null && {
     6189         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6190         test ! -s conftest.err
     6191       }; then
     6192  ac_header_preproc=yes
     6193else
     6194  $as_echo "$as_me: failed program was:" >&5
     6195sed 's/^/| /' conftest.$ac_ext >&5
     6196
     6197  ac_header_preproc=no
     6198fi
     6199
     6200rm -f conftest.err conftest.$ac_ext
     6201{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6202$as_echo "$ac_header_preproc" >&6; }
     6203
     6204# So?  What about this header?
     6205case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6206  yes:no: )
     6207    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6208$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6209    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6210$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6211    ac_header_preproc=yes
     6212    ;;
     6213  no:yes:* )
     6214    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6215$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6216    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6217$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6218    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6219$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6220    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6221$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6222    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6223$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6224    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6225$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6226    ( cat <<\_ASBOX
     6227## ----------------------------------- ##
     6228## Report this to rappture@nanohub.org ##
     6229## ----------------------------------- ##
     6230_ASBOX
     6231     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6232    ;;
     6233esac
     6234{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6235$as_echo_n "checking for $ac_header... " >&6; }
     6236if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6237  $as_echo_n "(cached) " >&6
     6238else
     6239  eval "$as_ac_Header=\$ac_header_preproc"
     6240fi
     6241ac_res=`eval 'as_val=${'$as_ac_Header'}
     6242                 $as_echo "$as_val"'`
     6243               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6244$as_echo "$ac_res" >&6; }
     6245
     6246fi
     6247as_val=`eval 'as_val=${'$as_ac_Header'}
     6248                 $as_echo "$as_val"'`
     6249   if test "x$as_val" = x""yes; then
    50816250  cat >>confdefs.h <<_ACEOF
    5082 #define HAVE_CFLOAT 1
    5083 _ACEOF
    5084 
    5085 else
    5086   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6251#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6252_ACEOF
     6253
     6254else
     6255  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    50876256$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    50886257fi
     
    50906259done
    50916260
     6261
    50926262for ac_header in cmath
    5093 do :
    5094   ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
    5095 if test "x$ac_cv_header_cmath" = xyes; then :
     6263do
     6264as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6265if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6266  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6267$as_echo_n "checking for $ac_header... " >&6; }
     6268if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6269  $as_echo_n "(cached) " >&6
     6270fi
     6271ac_res=`eval 'as_val=${'$as_ac_Header'}
     6272                 $as_echo "$as_val"'`
     6273               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6274$as_echo "$ac_res" >&6; }
     6275else
     6276  # Is the header compilable?
     6277{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6278$as_echo_n "checking $ac_header usability... " >&6; }
     6279cat >conftest.$ac_ext <<_ACEOF
     6280/* confdefs.h.  */
     6281_ACEOF
     6282cat confdefs.h >>conftest.$ac_ext
     6283cat >>conftest.$ac_ext <<_ACEOF
     6284/* end confdefs.h.  */
     6285$ac_includes_default
     6286#include <$ac_header>
     6287_ACEOF
     6288rm -f conftest.$ac_objext
     6289if { (ac_try="$ac_compile"
     6290case "(($ac_try" in
     6291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6292  *) ac_try_echo=$ac_try;;
     6293esac
     6294eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6295$as_echo "$ac_try_echo") >&5
     6296  (eval "$ac_compile") 2>conftest.er1
     6297  ac_status=$?
     6298  grep -v '^ *+' conftest.er1 >conftest.err
     6299  rm -f conftest.er1
     6300  cat conftest.err >&5
     6301  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6302  (exit $ac_status); } && {
     6303         test -z "$ac_cxx_werror_flag" ||
     6304         test ! -s conftest.err
     6305       } && test -s conftest.$ac_objext; then
     6306  ac_header_compiler=yes
     6307else
     6308  $as_echo "$as_me: failed program was:" >&5
     6309sed 's/^/| /' conftest.$ac_ext >&5
     6310
     6311        ac_header_compiler=no
     6312fi
     6313
     6314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6315{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6316$as_echo "$ac_header_compiler" >&6; }
     6317
     6318# Is the header present?
     6319{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6320$as_echo_n "checking $ac_header presence... " >&6; }
     6321cat >conftest.$ac_ext <<_ACEOF
     6322/* confdefs.h.  */
     6323_ACEOF
     6324cat confdefs.h >>conftest.$ac_ext
     6325cat >>conftest.$ac_ext <<_ACEOF
     6326/* end confdefs.h.  */
     6327#include <$ac_header>
     6328_ACEOF
     6329if { (ac_try="$ac_cpp conftest.$ac_ext"
     6330case "(($ac_try" in
     6331  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6332  *) ac_try_echo=$ac_try;;
     6333esac
     6334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6335$as_echo "$ac_try_echo") >&5
     6336  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6337  ac_status=$?
     6338  grep -v '^ *+' conftest.er1 >conftest.err
     6339  rm -f conftest.er1
     6340  cat conftest.err >&5
     6341  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6342  (exit $ac_status); } >/dev/null && {
     6343         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6344         test ! -s conftest.err
     6345       }; then
     6346  ac_header_preproc=yes
     6347else
     6348  $as_echo "$as_me: failed program was:" >&5
     6349sed 's/^/| /' conftest.$ac_ext >&5
     6350
     6351  ac_header_preproc=no
     6352fi
     6353
     6354rm -f conftest.err conftest.$ac_ext
     6355{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6356$as_echo "$ac_header_preproc" >&6; }
     6357
     6358# So?  What about this header?
     6359case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6360  yes:no: )
     6361    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6362$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6363    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6364$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6365    ac_header_preproc=yes
     6366    ;;
     6367  no:yes:* )
     6368    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6369$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6370    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6371$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6372    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6373$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6374    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6375$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6376    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6377$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6378    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6379$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6380    ( cat <<\_ASBOX
     6381## ----------------------------------- ##
     6382## Report this to rappture@nanohub.org ##
     6383## ----------------------------------- ##
     6384_ASBOX
     6385     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6386    ;;
     6387esac
     6388{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6389$as_echo_n "checking for $ac_header... " >&6; }
     6390if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6391  $as_echo_n "(cached) " >&6
     6392else
     6393  eval "$as_ac_Header=\$ac_header_preproc"
     6394fi
     6395ac_res=`eval 'as_val=${'$as_ac_Header'}
     6396                 $as_echo "$as_val"'`
     6397               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6398$as_echo "$ac_res" >&6; }
     6399
     6400fi
     6401as_val=`eval 'as_val=${'$as_ac_Header'}
     6402                 $as_echo "$as_val"'`
     6403   if test "x$as_val" = x""yes; then
    50966404  cat >>confdefs.h <<_ACEOF
    5097 #define HAVE_CMATH 1
    5098 _ACEOF
    5099 
    5100 else
    5101   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6405#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6406_ACEOF
     6407
     6408else
     6409  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51026410$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51036411fi
     
    51056413done
    51066414
     6415
    51076416for ac_header in cstdio
    5108 do :
    5109   ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default"
    5110 if test "x$ac_cv_header_cstdio" = xyes; then :
     6417do
     6418as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6419if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6420  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6421$as_echo_n "checking for $ac_header... " >&6; }
     6422if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6423  $as_echo_n "(cached) " >&6
     6424fi
     6425ac_res=`eval 'as_val=${'$as_ac_Header'}
     6426                 $as_echo "$as_val"'`
     6427               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6428$as_echo "$ac_res" >&6; }
     6429else
     6430  # Is the header compilable?
     6431{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6432$as_echo_n "checking $ac_header usability... " >&6; }
     6433cat >conftest.$ac_ext <<_ACEOF
     6434/* confdefs.h.  */
     6435_ACEOF
     6436cat confdefs.h >>conftest.$ac_ext
     6437cat >>conftest.$ac_ext <<_ACEOF
     6438/* end confdefs.h.  */
     6439$ac_includes_default
     6440#include <$ac_header>
     6441_ACEOF
     6442rm -f conftest.$ac_objext
     6443if { (ac_try="$ac_compile"
     6444case "(($ac_try" in
     6445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6446  *) ac_try_echo=$ac_try;;
     6447esac
     6448eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6449$as_echo "$ac_try_echo") >&5
     6450  (eval "$ac_compile") 2>conftest.er1
     6451  ac_status=$?
     6452  grep -v '^ *+' conftest.er1 >conftest.err
     6453  rm -f conftest.er1
     6454  cat conftest.err >&5
     6455  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6456  (exit $ac_status); } && {
     6457         test -z "$ac_cxx_werror_flag" ||
     6458         test ! -s conftest.err
     6459       } && test -s conftest.$ac_objext; then
     6460  ac_header_compiler=yes
     6461else
     6462  $as_echo "$as_me: failed program was:" >&5
     6463sed 's/^/| /' conftest.$ac_ext >&5
     6464
     6465        ac_header_compiler=no
     6466fi
     6467
     6468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6469{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6470$as_echo "$ac_header_compiler" >&6; }
     6471
     6472# Is the header present?
     6473{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6474$as_echo_n "checking $ac_header presence... " >&6; }
     6475cat >conftest.$ac_ext <<_ACEOF
     6476/* confdefs.h.  */
     6477_ACEOF
     6478cat confdefs.h >>conftest.$ac_ext
     6479cat >>conftest.$ac_ext <<_ACEOF
     6480/* end confdefs.h.  */
     6481#include <$ac_header>
     6482_ACEOF
     6483if { (ac_try="$ac_cpp conftest.$ac_ext"
     6484case "(($ac_try" in
     6485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6486  *) ac_try_echo=$ac_try;;
     6487esac
     6488eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6489$as_echo "$ac_try_echo") >&5
     6490  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6491  ac_status=$?
     6492  grep -v '^ *+' conftest.er1 >conftest.err
     6493  rm -f conftest.er1
     6494  cat conftest.err >&5
     6495  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6496  (exit $ac_status); } >/dev/null && {
     6497         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6498         test ! -s conftest.err
     6499       }; then
     6500  ac_header_preproc=yes
     6501else
     6502  $as_echo "$as_me: failed program was:" >&5
     6503sed 's/^/| /' conftest.$ac_ext >&5
     6504
     6505  ac_header_preproc=no
     6506fi
     6507
     6508rm -f conftest.err conftest.$ac_ext
     6509{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6510$as_echo "$ac_header_preproc" >&6; }
     6511
     6512# So?  What about this header?
     6513case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6514  yes:no: )
     6515    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6516$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6517    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6518$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6519    ac_header_preproc=yes
     6520    ;;
     6521  no:yes:* )
     6522    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6523$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6524    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6525$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6526    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6527$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6528    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6529$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6530    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6531$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6532    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6533$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6534    ( cat <<\_ASBOX
     6535## ----------------------------------- ##
     6536## Report this to rappture@nanohub.org ##
     6537## ----------------------------------- ##
     6538_ASBOX
     6539     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6540    ;;
     6541esac
     6542{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6543$as_echo_n "checking for $ac_header... " >&6; }
     6544if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6545  $as_echo_n "(cached) " >&6
     6546else
     6547  eval "$as_ac_Header=\$ac_header_preproc"
     6548fi
     6549ac_res=`eval 'as_val=${'$as_ac_Header'}
     6550                 $as_echo "$as_val"'`
     6551               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6552$as_echo "$ac_res" >&6; }
     6553
     6554fi
     6555as_val=`eval 'as_val=${'$as_ac_Header'}
     6556                 $as_echo "$as_val"'`
     6557   if test "x$as_val" = x""yes; then
    51116558  cat >>confdefs.h <<_ACEOF
    5112 #define HAVE_CSTDIO 1
    5113 _ACEOF
    5114 
    5115 else
    5116   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6559#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6560_ACEOF
     6561
     6562else
     6563  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51176564$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51186565fi
     
    51206567done
    51216568
     6569
    51226570for ac_header in cstdlib
    5123 do :
    5124   ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default"
    5125 if test "x$ac_cv_header_cstdlib" = xyes; then :
     6571do
     6572as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6573if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6574  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6575$as_echo_n "checking for $ac_header... " >&6; }
     6576if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6577  $as_echo_n "(cached) " >&6
     6578fi
     6579ac_res=`eval 'as_val=${'$as_ac_Header'}
     6580                 $as_echo "$as_val"'`
     6581               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6582$as_echo "$ac_res" >&6; }
     6583else
     6584  # Is the header compilable?
     6585{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6586$as_echo_n "checking $ac_header usability... " >&6; }
     6587cat >conftest.$ac_ext <<_ACEOF
     6588/* confdefs.h.  */
     6589_ACEOF
     6590cat confdefs.h >>conftest.$ac_ext
     6591cat >>conftest.$ac_ext <<_ACEOF
     6592/* end confdefs.h.  */
     6593$ac_includes_default
     6594#include <$ac_header>
     6595_ACEOF
     6596rm -f conftest.$ac_objext
     6597if { (ac_try="$ac_compile"
     6598case "(($ac_try" in
     6599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6600  *) ac_try_echo=$ac_try;;
     6601esac
     6602eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6603$as_echo "$ac_try_echo") >&5
     6604  (eval "$ac_compile") 2>conftest.er1
     6605  ac_status=$?
     6606  grep -v '^ *+' conftest.er1 >conftest.err
     6607  rm -f conftest.er1
     6608  cat conftest.err >&5
     6609  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6610  (exit $ac_status); } && {
     6611         test -z "$ac_cxx_werror_flag" ||
     6612         test ! -s conftest.err
     6613       } && test -s conftest.$ac_objext; then
     6614  ac_header_compiler=yes
     6615else
     6616  $as_echo "$as_me: failed program was:" >&5
     6617sed 's/^/| /' conftest.$ac_ext >&5
     6618
     6619        ac_header_compiler=no
     6620fi
     6621
     6622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6623{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6624$as_echo "$ac_header_compiler" >&6; }
     6625
     6626# Is the header present?
     6627{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6628$as_echo_n "checking $ac_header presence... " >&6; }
     6629cat >conftest.$ac_ext <<_ACEOF
     6630/* confdefs.h.  */
     6631_ACEOF
     6632cat confdefs.h >>conftest.$ac_ext
     6633cat >>conftest.$ac_ext <<_ACEOF
     6634/* end confdefs.h.  */
     6635#include <$ac_header>
     6636_ACEOF
     6637if { (ac_try="$ac_cpp conftest.$ac_ext"
     6638case "(($ac_try" in
     6639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6640  *) ac_try_echo=$ac_try;;
     6641esac
     6642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6643$as_echo "$ac_try_echo") >&5
     6644  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6645  ac_status=$?
     6646  grep -v '^ *+' conftest.er1 >conftest.err
     6647  rm -f conftest.er1
     6648  cat conftest.err >&5
     6649  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6650  (exit $ac_status); } >/dev/null && {
     6651         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6652         test ! -s conftest.err
     6653       }; then
     6654  ac_header_preproc=yes
     6655else
     6656  $as_echo "$as_me: failed program was:" >&5
     6657sed 's/^/| /' conftest.$ac_ext >&5
     6658
     6659  ac_header_preproc=no
     6660fi
     6661
     6662rm -f conftest.err conftest.$ac_ext
     6663{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6664$as_echo "$ac_header_preproc" >&6; }
     6665
     6666# So?  What about this header?
     6667case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6668  yes:no: )
     6669    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6670$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6671    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6672$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6673    ac_header_preproc=yes
     6674    ;;
     6675  no:yes:* )
     6676    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6677$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6678    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6679$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6680    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6681$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6682    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6683$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6684    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6685$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6686    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6687$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6688    ( cat <<\_ASBOX
     6689## ----------------------------------- ##
     6690## Report this to rappture@nanohub.org ##
     6691## ----------------------------------- ##
     6692_ASBOX
     6693     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6694    ;;
     6695esac
     6696{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6697$as_echo_n "checking for $ac_header... " >&6; }
     6698if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6699  $as_echo_n "(cached) " >&6
     6700else
     6701  eval "$as_ac_Header=\$ac_header_preproc"
     6702fi
     6703ac_res=`eval 'as_val=${'$as_ac_Header'}
     6704                 $as_echo "$as_val"'`
     6705               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6706$as_echo "$ac_res" >&6; }
     6707
     6708fi
     6709as_val=`eval 'as_val=${'$as_ac_Header'}
     6710                 $as_echo "$as_val"'`
     6711   if test "x$as_val" = x""yes; then
    51266712  cat >>confdefs.h <<_ACEOF
    5127 #define HAVE_CSTDLIB 1
    5128 _ACEOF
    5129 
    5130 else
    5131   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6713#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6714_ACEOF
     6715
     6716else
     6717  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51326718$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51336719fi
     
    51356721done
    51366722
     6723
    51376724for ac_header in cstring
    5138 do :
    5139   ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default"
    5140 if test "x$ac_cv_header_cstring" = xyes; then :
     6725do
     6726as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6727if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6728  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6729$as_echo_n "checking for $ac_header... " >&6; }
     6730if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6731  $as_echo_n "(cached) " >&6
     6732fi
     6733ac_res=`eval 'as_val=${'$as_ac_Header'}
     6734                 $as_echo "$as_val"'`
     6735               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6736$as_echo "$ac_res" >&6; }
     6737else
     6738  # Is the header compilable?
     6739{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6740$as_echo_n "checking $ac_header usability... " >&6; }
     6741cat >conftest.$ac_ext <<_ACEOF
     6742/* confdefs.h.  */
     6743_ACEOF
     6744cat confdefs.h >>conftest.$ac_ext
     6745cat >>conftest.$ac_ext <<_ACEOF
     6746/* end confdefs.h.  */
     6747$ac_includes_default
     6748#include <$ac_header>
     6749_ACEOF
     6750rm -f conftest.$ac_objext
     6751if { (ac_try="$ac_compile"
     6752case "(($ac_try" in
     6753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6754  *) ac_try_echo=$ac_try;;
     6755esac
     6756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6757$as_echo "$ac_try_echo") >&5
     6758  (eval "$ac_compile") 2>conftest.er1
     6759  ac_status=$?
     6760  grep -v '^ *+' conftest.er1 >conftest.err
     6761  rm -f conftest.er1
     6762  cat conftest.err >&5
     6763  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6764  (exit $ac_status); } && {
     6765         test -z "$ac_cxx_werror_flag" ||
     6766         test ! -s conftest.err
     6767       } && test -s conftest.$ac_objext; then
     6768  ac_header_compiler=yes
     6769else
     6770  $as_echo "$as_me: failed program was:" >&5
     6771sed 's/^/| /' conftest.$ac_ext >&5
     6772
     6773        ac_header_compiler=no
     6774fi
     6775
     6776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6777{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6778$as_echo "$ac_header_compiler" >&6; }
     6779
     6780# Is the header present?
     6781{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6782$as_echo_n "checking $ac_header presence... " >&6; }
     6783cat >conftest.$ac_ext <<_ACEOF
     6784/* confdefs.h.  */
     6785_ACEOF
     6786cat confdefs.h >>conftest.$ac_ext
     6787cat >>conftest.$ac_ext <<_ACEOF
     6788/* end confdefs.h.  */
     6789#include <$ac_header>
     6790_ACEOF
     6791if { (ac_try="$ac_cpp conftest.$ac_ext"
     6792case "(($ac_try" in
     6793  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6794  *) ac_try_echo=$ac_try;;
     6795esac
     6796eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6797$as_echo "$ac_try_echo") >&5
     6798  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6799  ac_status=$?
     6800  grep -v '^ *+' conftest.er1 >conftest.err
     6801  rm -f conftest.er1
     6802  cat conftest.err >&5
     6803  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6804  (exit $ac_status); } >/dev/null && {
     6805         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6806         test ! -s conftest.err
     6807       }; then
     6808  ac_header_preproc=yes
     6809else
     6810  $as_echo "$as_me: failed program was:" >&5
     6811sed 's/^/| /' conftest.$ac_ext >&5
     6812
     6813  ac_header_preproc=no
     6814fi
     6815
     6816rm -f conftest.err conftest.$ac_ext
     6817{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6818$as_echo "$ac_header_preproc" >&6; }
     6819
     6820# So?  What about this header?
     6821case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6822  yes:no: )
     6823    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6824$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6825    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6826$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6827    ac_header_preproc=yes
     6828    ;;
     6829  no:yes:* )
     6830    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6831$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6832    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6833$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6834    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6835$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6836    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6837$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6838    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6839$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6840    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6841$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6842    ( cat <<\_ASBOX
     6843## ----------------------------------- ##
     6844## Report this to rappture@nanohub.org ##
     6845## ----------------------------------- ##
     6846_ASBOX
     6847     ) | sed "s/^/$as_me: WARNING:     /" >&2
     6848    ;;
     6849esac
     6850{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6851$as_echo_n "checking for $ac_header... " >&6; }
     6852if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6853  $as_echo_n "(cached) " >&6
     6854else
     6855  eval "$as_ac_Header=\$ac_header_preproc"
     6856fi
     6857ac_res=`eval 'as_val=${'$as_ac_Header'}
     6858                 $as_echo "$as_val"'`
     6859               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6860$as_echo "$ac_res" >&6; }
     6861
     6862fi
     6863as_val=`eval 'as_val=${'$as_ac_Header'}
     6864                 $as_echo "$as_val"'`
     6865   if test "x$as_val" = x""yes; then
    51416866  cat >>confdefs.h <<_ACEOF
    5142 #define HAVE_CSTRING 1
    5143 _ACEOF
    5144 
    5145 else
    5146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     6867#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     6868_ACEOF
     6869
     6870else
     6871  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51476872$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51486873fi
     
    51506875done
    51516876
     6877
    51526878for ac_header in fstream
    5153 do :
    5154   ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default"
    5155 if test "x$ac_cv_header_fstream" = xyes; then :
     6879do
     6880as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     6881if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6882  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     6883$as_echo_n "checking for $ac_header... " >&6; }
     6884if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     6885  $as_echo_n "(cached) " >&6
     6886fi
     6887ac_res=`eval 'as_val=${'$as_ac_Header'}
     6888                 $as_echo "$as_val"'`
     6889               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     6890$as_echo "$ac_res" >&6; }
     6891else
     6892  # Is the header compilable?
     6893{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     6894$as_echo_n "checking $ac_header usability... " >&6; }
     6895cat >conftest.$ac_ext <<_ACEOF
     6896/* confdefs.h.  */
     6897_ACEOF
     6898cat confdefs.h >>conftest.$ac_ext
     6899cat >>conftest.$ac_ext <<_ACEOF
     6900/* end confdefs.h.  */
     6901$ac_includes_default
     6902#include <$ac_header>
     6903_ACEOF
     6904rm -f conftest.$ac_objext
     6905if { (ac_try="$ac_compile"
     6906case "(($ac_try" in
     6907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6908  *) ac_try_echo=$ac_try;;
     6909esac
     6910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6911$as_echo "$ac_try_echo") >&5
     6912  (eval "$ac_compile") 2>conftest.er1
     6913  ac_status=$?
     6914  grep -v '^ *+' conftest.er1 >conftest.err
     6915  rm -f conftest.er1
     6916  cat conftest.err >&5
     6917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6918  (exit $ac_status); } && {
     6919         test -z "$ac_cxx_werror_flag" ||
     6920         test ! -s conftest.err
     6921       } && test -s conftest.$ac_objext; then
     6922  ac_header_compiler=yes
     6923else
     6924  $as_echo "$as_me: failed program was:" >&5
     6925sed 's/^/| /' conftest.$ac_ext >&5
     6926
     6927        ac_header_compiler=no
     6928fi
     6929
     6930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6931{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     6932$as_echo "$ac_header_compiler" >&6; }
     6933
     6934# Is the header present?
     6935{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     6936$as_echo_n "checking $ac_header presence... " >&6; }
     6937cat >conftest.$ac_ext <<_ACEOF
     6938/* confdefs.h.  */
     6939_ACEOF
     6940cat confdefs.h >>conftest.$ac_ext
     6941cat >>conftest.$ac_ext <<_ACEOF
     6942/* end confdefs.h.  */
     6943#include <$ac_header>
     6944_ACEOF
     6945if { (ac_try="$ac_cpp conftest.$ac_ext"
     6946case "(($ac_try" in
     6947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6948  *) ac_try_echo=$ac_try;;
     6949esac
     6950eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6951$as_echo "$ac_try_echo") >&5
     6952  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6953  ac_status=$?
     6954  grep -v '^ *+' conftest.er1 >conftest.err
     6955  rm -f conftest.er1
     6956  cat conftest.err >&5
     6957  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6958  (exit $ac_status); } >/dev/null && {
     6959         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     6960         test ! -s conftest.err
     6961       }; then
     6962  ac_header_preproc=yes
     6963else
     6964  $as_echo "$as_me: failed program was:" >&5
     6965sed 's/^/| /' conftest.$ac_ext >&5
     6966
     6967  ac_header_preproc=no
     6968fi
     6969
     6970rm -f conftest.err conftest.$ac_ext
     6971{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     6972$as_echo "$ac_header_preproc" >&6; }
     6973
     6974# So?  What about this header?
     6975case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     6976  yes:no: )
     6977    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     6978$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     6979    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     6980$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     6981    ac_header_preproc=yes
     6982    ;;
     6983  no:yes:* )
     6984    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     6985$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     6986    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     6987$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     6988    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     6989$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     6990    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     6991$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     6992    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     6993$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     6994    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     6995$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     6996    ( cat <<\_ASBOX
     6997## ----------------------------------- ##
     6998## Report this to rappture@nanohub.org ##
     6999## ----------------------------------- ##
     7000_ASBOX
     7001     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7002    ;;
     7003esac
     7004{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7005$as_echo_n "checking for $ac_header... " >&6; }
     7006if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7007  $as_echo_n "(cached) " >&6
     7008else
     7009  eval "$as_ac_Header=\$ac_header_preproc"
     7010fi
     7011ac_res=`eval 'as_val=${'$as_ac_Header'}
     7012                 $as_echo "$as_val"'`
     7013               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7014$as_echo "$ac_res" >&6; }
     7015
     7016fi
     7017as_val=`eval 'as_val=${'$as_ac_Header'}
     7018                 $as_echo "$as_val"'`
     7019   if test "x$as_val" = x""yes; then
    51567020  cat >>confdefs.h <<_ACEOF
    5157 #define HAVE_FSTREAM 1
    5158 _ACEOF
    5159 
    5160 else
    5161   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7021#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7022_ACEOF
     7023
     7024else
     7025  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51627026$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51637027fi
     
    51657029done
    51667030
     7031
    51677032for ac_header in list
    5168 do :
    5169   ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default"
    5170 if test "x$ac_cv_header_list" = xyes; then :
     7033do
     7034as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7035if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7036  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7037$as_echo_n "checking for $ac_header... " >&6; }
     7038if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7039  $as_echo_n "(cached) " >&6
     7040fi
     7041ac_res=`eval 'as_val=${'$as_ac_Header'}
     7042                 $as_echo "$as_val"'`
     7043               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7044$as_echo "$ac_res" >&6; }
     7045else
     7046  # Is the header compilable?
     7047{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7048$as_echo_n "checking $ac_header usability... " >&6; }
     7049cat >conftest.$ac_ext <<_ACEOF
     7050/* confdefs.h.  */
     7051_ACEOF
     7052cat confdefs.h >>conftest.$ac_ext
     7053cat >>conftest.$ac_ext <<_ACEOF
     7054/* end confdefs.h.  */
     7055$ac_includes_default
     7056#include <$ac_header>
     7057_ACEOF
     7058rm -f conftest.$ac_objext
     7059if { (ac_try="$ac_compile"
     7060case "(($ac_try" in
     7061  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7062  *) ac_try_echo=$ac_try;;
     7063esac
     7064eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7065$as_echo "$ac_try_echo") >&5
     7066  (eval "$ac_compile") 2>conftest.er1
     7067  ac_status=$?
     7068  grep -v '^ *+' conftest.er1 >conftest.err
     7069  rm -f conftest.er1
     7070  cat conftest.err >&5
     7071  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7072  (exit $ac_status); } && {
     7073         test -z "$ac_cxx_werror_flag" ||
     7074         test ! -s conftest.err
     7075       } && test -s conftest.$ac_objext; then
     7076  ac_header_compiler=yes
     7077else
     7078  $as_echo "$as_me: failed program was:" >&5
     7079sed 's/^/| /' conftest.$ac_ext >&5
     7080
     7081        ac_header_compiler=no
     7082fi
     7083
     7084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7085{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7086$as_echo "$ac_header_compiler" >&6; }
     7087
     7088# Is the header present?
     7089{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7090$as_echo_n "checking $ac_header presence... " >&6; }
     7091cat >conftest.$ac_ext <<_ACEOF
     7092/* confdefs.h.  */
     7093_ACEOF
     7094cat confdefs.h >>conftest.$ac_ext
     7095cat >>conftest.$ac_ext <<_ACEOF
     7096/* end confdefs.h.  */
     7097#include <$ac_header>
     7098_ACEOF
     7099if { (ac_try="$ac_cpp conftest.$ac_ext"
     7100case "(($ac_try" in
     7101  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7102  *) ac_try_echo=$ac_try;;
     7103esac
     7104eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7105$as_echo "$ac_try_echo") >&5
     7106  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7107  ac_status=$?
     7108  grep -v '^ *+' conftest.er1 >conftest.err
     7109  rm -f conftest.er1
     7110  cat conftest.err >&5
     7111  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7112  (exit $ac_status); } >/dev/null && {
     7113         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7114         test ! -s conftest.err
     7115       }; then
     7116  ac_header_preproc=yes
     7117else
     7118  $as_echo "$as_me: failed program was:" >&5
     7119sed 's/^/| /' conftest.$ac_ext >&5
     7120
     7121  ac_header_preproc=no
     7122fi
     7123
     7124rm -f conftest.err conftest.$ac_ext
     7125{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7126$as_echo "$ac_header_preproc" >&6; }
     7127
     7128# So?  What about this header?
     7129case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7130  yes:no: )
     7131    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7132$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7133    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7134$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7135    ac_header_preproc=yes
     7136    ;;
     7137  no:yes:* )
     7138    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7139$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7140    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7141$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7142    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7143$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7144    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7145$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7146    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7147$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7148    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7149$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7150    ( cat <<\_ASBOX
     7151## ----------------------------------- ##
     7152## Report this to rappture@nanohub.org ##
     7153## ----------------------------------- ##
     7154_ASBOX
     7155     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7156    ;;
     7157esac
     7158{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7159$as_echo_n "checking for $ac_header... " >&6; }
     7160if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7161  $as_echo_n "(cached) " >&6
     7162else
     7163  eval "$as_ac_Header=\$ac_header_preproc"
     7164fi
     7165ac_res=`eval 'as_val=${'$as_ac_Header'}
     7166                 $as_echo "$as_val"'`
     7167               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7168$as_echo "$ac_res" >&6; }
     7169
     7170fi
     7171as_val=`eval 'as_val=${'$as_ac_Header'}
     7172                 $as_echo "$as_val"'`
     7173   if test "x$as_val" = x""yes; then
    51717174  cat >>confdefs.h <<_ACEOF
    5172 #define HAVE_LIST 1
    5173 _ACEOF
    5174 
    5175 else
    5176   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7175#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7176_ACEOF
     7177
     7178else
     7179  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51777180$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51787181fi
     
    51807183done
    51817184
     7185
    51827186for ac_header in iostream
    5183 do :
    5184   ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
    5185 if test "x$ac_cv_header_iostream" = xyes; then :
     7187do
     7188as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7189if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7190  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7191$as_echo_n "checking for $ac_header... " >&6; }
     7192if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7193  $as_echo_n "(cached) " >&6
     7194fi
     7195ac_res=`eval 'as_val=${'$as_ac_Header'}
     7196                 $as_echo "$as_val"'`
     7197               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7198$as_echo "$ac_res" >&6; }
     7199else
     7200  # Is the header compilable?
     7201{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7202$as_echo_n "checking $ac_header usability... " >&6; }
     7203cat >conftest.$ac_ext <<_ACEOF
     7204/* confdefs.h.  */
     7205_ACEOF
     7206cat confdefs.h >>conftest.$ac_ext
     7207cat >>conftest.$ac_ext <<_ACEOF
     7208/* end confdefs.h.  */
     7209$ac_includes_default
     7210#include <$ac_header>
     7211_ACEOF
     7212rm -f conftest.$ac_objext
     7213if { (ac_try="$ac_compile"
     7214case "(($ac_try" in
     7215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7216  *) ac_try_echo=$ac_try;;
     7217esac
     7218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7219$as_echo "$ac_try_echo") >&5
     7220  (eval "$ac_compile") 2>conftest.er1
     7221  ac_status=$?
     7222  grep -v '^ *+' conftest.er1 >conftest.err
     7223  rm -f conftest.er1
     7224  cat conftest.err >&5
     7225  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7226  (exit $ac_status); } && {
     7227         test -z "$ac_cxx_werror_flag" ||
     7228         test ! -s conftest.err
     7229       } && test -s conftest.$ac_objext; then
     7230  ac_header_compiler=yes
     7231else
     7232  $as_echo "$as_me: failed program was:" >&5
     7233sed 's/^/| /' conftest.$ac_ext >&5
     7234
     7235        ac_header_compiler=no
     7236fi
     7237
     7238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7239{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7240$as_echo "$ac_header_compiler" >&6; }
     7241
     7242# Is the header present?
     7243{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7244$as_echo_n "checking $ac_header presence... " >&6; }
     7245cat >conftest.$ac_ext <<_ACEOF
     7246/* confdefs.h.  */
     7247_ACEOF
     7248cat confdefs.h >>conftest.$ac_ext
     7249cat >>conftest.$ac_ext <<_ACEOF
     7250/* end confdefs.h.  */
     7251#include <$ac_header>
     7252_ACEOF
     7253if { (ac_try="$ac_cpp conftest.$ac_ext"
     7254case "(($ac_try" in
     7255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7256  *) ac_try_echo=$ac_try;;
     7257esac
     7258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7259$as_echo "$ac_try_echo") >&5
     7260  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7261  ac_status=$?
     7262  grep -v '^ *+' conftest.er1 >conftest.err
     7263  rm -f conftest.er1
     7264  cat conftest.err >&5
     7265  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7266  (exit $ac_status); } >/dev/null && {
     7267         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7268         test ! -s conftest.err
     7269       }; then
     7270  ac_header_preproc=yes
     7271else
     7272  $as_echo "$as_me: failed program was:" >&5
     7273sed 's/^/| /' conftest.$ac_ext >&5
     7274
     7275  ac_header_preproc=no
     7276fi
     7277
     7278rm -f conftest.err conftest.$ac_ext
     7279{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7280$as_echo "$ac_header_preproc" >&6; }
     7281
     7282# So?  What about this header?
     7283case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7284  yes:no: )
     7285    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7286$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7287    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7288$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7289    ac_header_preproc=yes
     7290    ;;
     7291  no:yes:* )
     7292    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7293$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7294    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7295$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7296    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7297$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7298    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7299$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7300    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7301$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7302    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7303$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7304    ( cat <<\_ASBOX
     7305## ----------------------------------- ##
     7306## Report this to rappture@nanohub.org ##
     7307## ----------------------------------- ##
     7308_ASBOX
     7309     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7310    ;;
     7311esac
     7312{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7313$as_echo_n "checking for $ac_header... " >&6; }
     7314if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7315  $as_echo_n "(cached) " >&6
     7316else
     7317  eval "$as_ac_Header=\$ac_header_preproc"
     7318fi
     7319ac_res=`eval 'as_val=${'$as_ac_Header'}
     7320                 $as_echo "$as_val"'`
     7321               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7322$as_echo "$ac_res" >&6; }
     7323
     7324fi
     7325as_val=`eval 'as_val=${'$as_ac_Header'}
     7326                 $as_echo "$as_val"'`
     7327   if test "x$as_val" = x""yes; then
    51867328  cat >>confdefs.h <<_ACEOF
    5187 #define HAVE_IOSTREAM 1
    5188 _ACEOF
    5189 
    5190 else
    5191   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7329#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7330_ACEOF
     7331
     7332else
     7333  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    51927334$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    51937335fi
     
    51957337done
    51967338
     7339
    51977340for ac_header in iterator
    5198 do :
    5199   ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default"
    5200 if test "x$ac_cv_header_iterator" = xyes; then :
     7341do
     7342as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7343if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7344  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7345$as_echo_n "checking for $ac_header... " >&6; }
     7346if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7347  $as_echo_n "(cached) " >&6
     7348fi
     7349ac_res=`eval 'as_val=${'$as_ac_Header'}
     7350                 $as_echo "$as_val"'`
     7351               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7352$as_echo "$ac_res" >&6; }
     7353else
     7354  # Is the header compilable?
     7355{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7356$as_echo_n "checking $ac_header usability... " >&6; }
     7357cat >conftest.$ac_ext <<_ACEOF
     7358/* confdefs.h.  */
     7359_ACEOF
     7360cat confdefs.h >>conftest.$ac_ext
     7361cat >>conftest.$ac_ext <<_ACEOF
     7362/* end confdefs.h.  */
     7363$ac_includes_default
     7364#include <$ac_header>
     7365_ACEOF
     7366rm -f conftest.$ac_objext
     7367if { (ac_try="$ac_compile"
     7368case "(($ac_try" in
     7369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7370  *) ac_try_echo=$ac_try;;
     7371esac
     7372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7373$as_echo "$ac_try_echo") >&5
     7374  (eval "$ac_compile") 2>conftest.er1
     7375  ac_status=$?
     7376  grep -v '^ *+' conftest.er1 >conftest.err
     7377  rm -f conftest.er1
     7378  cat conftest.err >&5
     7379  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7380  (exit $ac_status); } && {
     7381         test -z "$ac_cxx_werror_flag" ||
     7382         test ! -s conftest.err
     7383       } && test -s conftest.$ac_objext; then
     7384  ac_header_compiler=yes
     7385else
     7386  $as_echo "$as_me: failed program was:" >&5
     7387sed 's/^/| /' conftest.$ac_ext >&5
     7388
     7389        ac_header_compiler=no
     7390fi
     7391
     7392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7393{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7394$as_echo "$ac_header_compiler" >&6; }
     7395
     7396# Is the header present?
     7397{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7398$as_echo_n "checking $ac_header presence... " >&6; }
     7399cat >conftest.$ac_ext <<_ACEOF
     7400/* confdefs.h.  */
     7401_ACEOF
     7402cat confdefs.h >>conftest.$ac_ext
     7403cat >>conftest.$ac_ext <<_ACEOF
     7404/* end confdefs.h.  */
     7405#include <$ac_header>
     7406_ACEOF
     7407if { (ac_try="$ac_cpp conftest.$ac_ext"
     7408case "(($ac_try" in
     7409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7410  *) ac_try_echo=$ac_try;;
     7411esac
     7412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7413$as_echo "$ac_try_echo") >&5
     7414  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7415  ac_status=$?
     7416  grep -v '^ *+' conftest.er1 >conftest.err
     7417  rm -f conftest.er1
     7418  cat conftest.err >&5
     7419  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7420  (exit $ac_status); } >/dev/null && {
     7421         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7422         test ! -s conftest.err
     7423       }; then
     7424  ac_header_preproc=yes
     7425else
     7426  $as_echo "$as_me: failed program was:" >&5
     7427sed 's/^/| /' conftest.$ac_ext >&5
     7428
     7429  ac_header_preproc=no
     7430fi
     7431
     7432rm -f conftest.err conftest.$ac_ext
     7433{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7434$as_echo "$ac_header_preproc" >&6; }
     7435
     7436# So?  What about this header?
     7437case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7438  yes:no: )
     7439    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7440$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7441    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7442$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7443    ac_header_preproc=yes
     7444    ;;
     7445  no:yes:* )
     7446    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7447$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7448    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7449$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7450    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7451$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7452    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7453$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7454    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7455$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7456    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7457$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7458    ( cat <<\_ASBOX
     7459## ----------------------------------- ##
     7460## Report this to rappture@nanohub.org ##
     7461## ----------------------------------- ##
     7462_ASBOX
     7463     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7464    ;;
     7465esac
     7466{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7467$as_echo_n "checking for $ac_header... " >&6; }
     7468if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7469  $as_echo_n "(cached) " >&6
     7470else
     7471  eval "$as_ac_Header=\$ac_header_preproc"
     7472fi
     7473ac_res=`eval 'as_val=${'$as_ac_Header'}
     7474                 $as_echo "$as_val"'`
     7475               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7476$as_echo "$ac_res" >&6; }
     7477
     7478fi
     7479as_val=`eval 'as_val=${'$as_ac_Header'}
     7480                 $as_echo "$as_val"'`
     7481   if test "x$as_val" = x""yes; then
    52017482  cat >>confdefs.h <<_ACEOF
    5202 #define HAVE_ITERATOR 1
    5203 _ACEOF
    5204 
    5205 else
    5206   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7483#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7484_ACEOF
     7485
     7486else
     7487  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    52077488$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52087489fi
     
    52107491done
    52117492
     7493
    52127494for ac_header in sstream
    5213 do :
    5214   ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
    5215 if test "x$ac_cv_header_sstream" = xyes; then :
     7495do
     7496as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7497if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7498  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7499$as_echo_n "checking for $ac_header... " >&6; }
     7500if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7501  $as_echo_n "(cached) " >&6
     7502fi
     7503ac_res=`eval 'as_val=${'$as_ac_Header'}
     7504                 $as_echo "$as_val"'`
     7505               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7506$as_echo "$ac_res" >&6; }
     7507else
     7508  # Is the header compilable?
     7509{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7510$as_echo_n "checking $ac_header usability... " >&6; }
     7511cat >conftest.$ac_ext <<_ACEOF
     7512/* confdefs.h.  */
     7513_ACEOF
     7514cat confdefs.h >>conftest.$ac_ext
     7515cat >>conftest.$ac_ext <<_ACEOF
     7516/* end confdefs.h.  */
     7517$ac_includes_default
     7518#include <$ac_header>
     7519_ACEOF
     7520rm -f conftest.$ac_objext
     7521if { (ac_try="$ac_compile"
     7522case "(($ac_try" in
     7523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7524  *) ac_try_echo=$ac_try;;
     7525esac
     7526eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7527$as_echo "$ac_try_echo") >&5
     7528  (eval "$ac_compile") 2>conftest.er1
     7529  ac_status=$?
     7530  grep -v '^ *+' conftest.er1 >conftest.err
     7531  rm -f conftest.er1
     7532  cat conftest.err >&5
     7533  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7534  (exit $ac_status); } && {
     7535         test -z "$ac_cxx_werror_flag" ||
     7536         test ! -s conftest.err
     7537       } && test -s conftest.$ac_objext; then
     7538  ac_header_compiler=yes
     7539else
     7540  $as_echo "$as_me: failed program was:" >&5
     7541sed 's/^/| /' conftest.$ac_ext >&5
     7542
     7543        ac_header_compiler=no
     7544fi
     7545
     7546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7547{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7548$as_echo "$ac_header_compiler" >&6; }
     7549
     7550# Is the header present?
     7551{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7552$as_echo_n "checking $ac_header presence... " >&6; }
     7553cat >conftest.$ac_ext <<_ACEOF
     7554/* confdefs.h.  */
     7555_ACEOF
     7556cat confdefs.h >>conftest.$ac_ext
     7557cat >>conftest.$ac_ext <<_ACEOF
     7558/* end confdefs.h.  */
     7559#include <$ac_header>
     7560_ACEOF
     7561if { (ac_try="$ac_cpp conftest.$ac_ext"
     7562case "(($ac_try" in
     7563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7564  *) ac_try_echo=$ac_try;;
     7565esac
     7566eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7567$as_echo "$ac_try_echo") >&5
     7568  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7569  ac_status=$?
     7570  grep -v '^ *+' conftest.er1 >conftest.err
     7571  rm -f conftest.er1
     7572  cat conftest.err >&5
     7573  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7574  (exit $ac_status); } >/dev/null && {
     7575         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7576         test ! -s conftest.err
     7577       }; then
     7578  ac_header_preproc=yes
     7579else
     7580  $as_echo "$as_me: failed program was:" >&5
     7581sed 's/^/| /' conftest.$ac_ext >&5
     7582
     7583  ac_header_preproc=no
     7584fi
     7585
     7586rm -f conftest.err conftest.$ac_ext
     7587{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7588$as_echo "$ac_header_preproc" >&6; }
     7589
     7590# So?  What about this header?
     7591case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7592  yes:no: )
     7593    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7594$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7595    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7596$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7597    ac_header_preproc=yes
     7598    ;;
     7599  no:yes:* )
     7600    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7601$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7602    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7603$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7604    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7605$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7606    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7607$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7608    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7609$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7610    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7611$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7612    ( cat <<\_ASBOX
     7613## ----------------------------------- ##
     7614## Report this to rappture@nanohub.org ##
     7615## ----------------------------------- ##
     7616_ASBOX
     7617     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7618    ;;
     7619esac
     7620{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7621$as_echo_n "checking for $ac_header... " >&6; }
     7622if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7623  $as_echo_n "(cached) " >&6
     7624else
     7625  eval "$as_ac_Header=\$ac_header_preproc"
     7626fi
     7627ac_res=`eval 'as_val=${'$as_ac_Header'}
     7628                 $as_echo "$as_val"'`
     7629               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7630$as_echo "$ac_res" >&6; }
     7631
     7632fi
     7633as_val=`eval 'as_val=${'$as_ac_Header'}
     7634                 $as_echo "$as_val"'`
     7635   if test "x$as_val" = x""yes; then
    52167636  cat >>confdefs.h <<_ACEOF
    5217 #define HAVE_SSTREAM 1
    5218 _ACEOF
    5219 
    5220 else
    5221   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7637#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7638_ACEOF
     7639
     7640else
     7641  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    52227642$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52237643fi
     
    52257645done
    52267646
     7647
    52277648for ac_header in stack
    5228 do :
    5229   ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default"
    5230 if test "x$ac_cv_header_stack" = xyes; then :
     7649do
     7650as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7651if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7652  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7653$as_echo_n "checking for $ac_header... " >&6; }
     7654if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7655  $as_echo_n "(cached) " >&6
     7656fi
     7657ac_res=`eval 'as_val=${'$as_ac_Header'}
     7658                 $as_echo "$as_val"'`
     7659               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7660$as_echo "$ac_res" >&6; }
     7661else
     7662  # Is the header compilable?
     7663{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7664$as_echo_n "checking $ac_header usability... " >&6; }
     7665cat >conftest.$ac_ext <<_ACEOF
     7666/* confdefs.h.  */
     7667_ACEOF
     7668cat confdefs.h >>conftest.$ac_ext
     7669cat >>conftest.$ac_ext <<_ACEOF
     7670/* end confdefs.h.  */
     7671$ac_includes_default
     7672#include <$ac_header>
     7673_ACEOF
     7674rm -f conftest.$ac_objext
     7675if { (ac_try="$ac_compile"
     7676case "(($ac_try" in
     7677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7678  *) ac_try_echo=$ac_try;;
     7679esac
     7680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7681$as_echo "$ac_try_echo") >&5
     7682  (eval "$ac_compile") 2>conftest.er1
     7683  ac_status=$?
     7684  grep -v '^ *+' conftest.er1 >conftest.err
     7685  rm -f conftest.er1
     7686  cat conftest.err >&5
     7687  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7688  (exit $ac_status); } && {
     7689         test -z "$ac_cxx_werror_flag" ||
     7690         test ! -s conftest.err
     7691       } && test -s conftest.$ac_objext; then
     7692  ac_header_compiler=yes
     7693else
     7694  $as_echo "$as_me: failed program was:" >&5
     7695sed 's/^/| /' conftest.$ac_ext >&5
     7696
     7697        ac_header_compiler=no
     7698fi
     7699
     7700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7701{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7702$as_echo "$ac_header_compiler" >&6; }
     7703
     7704# Is the header present?
     7705{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7706$as_echo_n "checking $ac_header presence... " >&6; }
     7707cat >conftest.$ac_ext <<_ACEOF
     7708/* confdefs.h.  */
     7709_ACEOF
     7710cat confdefs.h >>conftest.$ac_ext
     7711cat >>conftest.$ac_ext <<_ACEOF
     7712/* end confdefs.h.  */
     7713#include <$ac_header>
     7714_ACEOF
     7715if { (ac_try="$ac_cpp conftest.$ac_ext"
     7716case "(($ac_try" in
     7717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7718  *) ac_try_echo=$ac_try;;
     7719esac
     7720eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7721$as_echo "$ac_try_echo") >&5
     7722  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7723  ac_status=$?
     7724  grep -v '^ *+' conftest.er1 >conftest.err
     7725  rm -f conftest.er1
     7726  cat conftest.err >&5
     7727  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7728  (exit $ac_status); } >/dev/null && {
     7729         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7730         test ! -s conftest.err
     7731       }; then
     7732  ac_header_preproc=yes
     7733else
     7734  $as_echo "$as_me: failed program was:" >&5
     7735sed 's/^/| /' conftest.$ac_ext >&5
     7736
     7737  ac_header_preproc=no
     7738fi
     7739
     7740rm -f conftest.err conftest.$ac_ext
     7741{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7742$as_echo "$ac_header_preproc" >&6; }
     7743
     7744# So?  What about this header?
     7745case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7746  yes:no: )
     7747    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7748$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7749    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7750$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7751    ac_header_preproc=yes
     7752    ;;
     7753  no:yes:* )
     7754    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7755$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7756    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7757$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7758    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7759$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7760    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7761$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7762    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7763$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7764    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7765$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7766    ( cat <<\_ASBOX
     7767## ----------------------------------- ##
     7768## Report this to rappture@nanohub.org ##
     7769## ----------------------------------- ##
     7770_ASBOX
     7771     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7772    ;;
     7773esac
     7774{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7775$as_echo_n "checking for $ac_header... " >&6; }
     7776if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7777  $as_echo_n "(cached) " >&6
     7778else
     7779  eval "$as_ac_Header=\$ac_header_preproc"
     7780fi
     7781ac_res=`eval 'as_val=${'$as_ac_Header'}
     7782                 $as_echo "$as_val"'`
     7783               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7784$as_echo "$ac_res" >&6; }
     7785
     7786fi
     7787as_val=`eval 'as_val=${'$as_ac_Header'}
     7788                 $as_echo "$as_val"'`
     7789   if test "x$as_val" = x""yes; then
    52317790  cat >>confdefs.h <<_ACEOF
    5232 #define HAVE_STACK 1
    5233 _ACEOF
    5234 
    5235 else
    5236   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7791#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7792_ACEOF
     7793
     7794else
     7795  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    52377796$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52387797fi
     
    52407799done
    52417800
     7801
    52427802for ac_header in string
    5243 do :
    5244   ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
    5245 if test "x$ac_cv_header_string" = xyes; then :
     7803do
     7804as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7805if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7806  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7807$as_echo_n "checking for $ac_header... " >&6; }
     7808if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7809  $as_echo_n "(cached) " >&6
     7810fi
     7811ac_res=`eval 'as_val=${'$as_ac_Header'}
     7812                 $as_echo "$as_val"'`
     7813               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7814$as_echo "$ac_res" >&6; }
     7815else
     7816  # Is the header compilable?
     7817{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7818$as_echo_n "checking $ac_header usability... " >&6; }
     7819cat >conftest.$ac_ext <<_ACEOF
     7820/* confdefs.h.  */
     7821_ACEOF
     7822cat confdefs.h >>conftest.$ac_ext
     7823cat >>conftest.$ac_ext <<_ACEOF
     7824/* end confdefs.h.  */
     7825$ac_includes_default
     7826#include <$ac_header>
     7827_ACEOF
     7828rm -f conftest.$ac_objext
     7829if { (ac_try="$ac_compile"
     7830case "(($ac_try" in
     7831  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7832  *) ac_try_echo=$ac_try;;
     7833esac
     7834eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7835$as_echo "$ac_try_echo") >&5
     7836  (eval "$ac_compile") 2>conftest.er1
     7837  ac_status=$?
     7838  grep -v '^ *+' conftest.er1 >conftest.err
     7839  rm -f conftest.er1
     7840  cat conftest.err >&5
     7841  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7842  (exit $ac_status); } && {
     7843         test -z "$ac_cxx_werror_flag" ||
     7844         test ! -s conftest.err
     7845       } && test -s conftest.$ac_objext; then
     7846  ac_header_compiler=yes
     7847else
     7848  $as_echo "$as_me: failed program was:" >&5
     7849sed 's/^/| /' conftest.$ac_ext >&5
     7850
     7851        ac_header_compiler=no
     7852fi
     7853
     7854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7855{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     7856$as_echo "$ac_header_compiler" >&6; }
     7857
     7858# Is the header present?
     7859{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     7860$as_echo_n "checking $ac_header presence... " >&6; }
     7861cat >conftest.$ac_ext <<_ACEOF
     7862/* confdefs.h.  */
     7863_ACEOF
     7864cat confdefs.h >>conftest.$ac_ext
     7865cat >>conftest.$ac_ext <<_ACEOF
     7866/* end confdefs.h.  */
     7867#include <$ac_header>
     7868_ACEOF
     7869if { (ac_try="$ac_cpp conftest.$ac_ext"
     7870case "(($ac_try" in
     7871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7872  *) ac_try_echo=$ac_try;;
     7873esac
     7874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7875$as_echo "$ac_try_echo") >&5
     7876  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7877  ac_status=$?
     7878  grep -v '^ *+' conftest.er1 >conftest.err
     7879  rm -f conftest.er1
     7880  cat conftest.err >&5
     7881  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7882  (exit $ac_status); } >/dev/null && {
     7883         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     7884         test ! -s conftest.err
     7885       }; then
     7886  ac_header_preproc=yes
     7887else
     7888  $as_echo "$as_me: failed program was:" >&5
     7889sed 's/^/| /' conftest.$ac_ext >&5
     7890
     7891  ac_header_preproc=no
     7892fi
     7893
     7894rm -f conftest.err conftest.$ac_ext
     7895{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     7896$as_echo "$ac_header_preproc" >&6; }
     7897
     7898# So?  What about this header?
     7899case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     7900  yes:no: )
     7901    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     7902$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     7903    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     7904$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     7905    ac_header_preproc=yes
     7906    ;;
     7907  no:yes:* )
     7908    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     7909$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     7910    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     7911$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     7912    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     7913$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     7914    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     7915$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     7916    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     7917$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     7918    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     7919$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     7920    ( cat <<\_ASBOX
     7921## ----------------------------------- ##
     7922## Report this to rappture@nanohub.org ##
     7923## ----------------------------------- ##
     7924_ASBOX
     7925     ) | sed "s/^/$as_me: WARNING:     /" >&2
     7926    ;;
     7927esac
     7928{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7929$as_echo_n "checking for $ac_header... " >&6; }
     7930if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7931  $as_echo_n "(cached) " >&6
     7932else
     7933  eval "$as_ac_Header=\$ac_header_preproc"
     7934fi
     7935ac_res=`eval 'as_val=${'$as_ac_Header'}
     7936                 $as_echo "$as_val"'`
     7937               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7938$as_echo "$ac_res" >&6; }
     7939
     7940fi
     7941as_val=`eval 'as_val=${'$as_ac_Header'}
     7942                 $as_echo "$as_val"'`
     7943   if test "x$as_val" = x""yes; then
    52467944  cat >>confdefs.h <<_ACEOF
    5247 #define HAVE_STRING 1
    5248 _ACEOF
    5249 
    5250 else
    5251   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     7945#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7946_ACEOF
     7947
     7948else
     7949  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    52527950$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52537951fi
     
    52557953done
    52567954
     7955
    52577956for ac_header in vector
    5258 do :
    5259   ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
    5260 if test "x$ac_cv_header_vector" = xyes; then :
     7957do
     7958as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7959if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7960  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     7961$as_echo_n "checking for $ac_header... " >&6; }
     7962if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     7963  $as_echo_n "(cached) " >&6
     7964fi
     7965ac_res=`eval 'as_val=${'$as_ac_Header'}
     7966                 $as_echo "$as_val"'`
     7967               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     7968$as_echo "$ac_res" >&6; }
     7969else
     7970  # Is the header compilable?
     7971{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     7972$as_echo_n "checking $ac_header usability... " >&6; }
     7973cat >conftest.$ac_ext <<_ACEOF
     7974/* confdefs.h.  */
     7975_ACEOF
     7976cat confdefs.h >>conftest.$ac_ext
     7977cat >>conftest.$ac_ext <<_ACEOF
     7978/* end confdefs.h.  */
     7979$ac_includes_default
     7980#include <$ac_header>
     7981_ACEOF
     7982rm -f conftest.$ac_objext
     7983if { (ac_try="$ac_compile"
     7984case "(($ac_try" in
     7985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7986  *) ac_try_echo=$ac_try;;
     7987esac
     7988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7989$as_echo "$ac_try_echo") >&5
     7990  (eval "$ac_compile") 2>conftest.er1
     7991  ac_status=$?
     7992  grep -v '^ *+' conftest.er1 >conftest.err
     7993  rm -f conftest.er1
     7994  cat conftest.err >&5
     7995  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7996  (exit $ac_status); } && {
     7997         test -z "$ac_cxx_werror_flag" ||
     7998         test ! -s conftest.err
     7999       } && test -s conftest.$ac_objext; then
     8000  ac_header_compiler=yes
     8001else
     8002  $as_echo "$as_me: failed program was:" >&5
     8003sed 's/^/| /' conftest.$ac_ext >&5
     8004
     8005        ac_header_compiler=no
     8006fi
     8007
     8008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8009{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8010$as_echo "$ac_header_compiler" >&6; }
     8011
     8012# Is the header present?
     8013{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8014$as_echo_n "checking $ac_header presence... " >&6; }
     8015cat >conftest.$ac_ext <<_ACEOF
     8016/* confdefs.h.  */
     8017_ACEOF
     8018cat confdefs.h >>conftest.$ac_ext
     8019cat >>conftest.$ac_ext <<_ACEOF
     8020/* end confdefs.h.  */
     8021#include <$ac_header>
     8022_ACEOF
     8023if { (ac_try="$ac_cpp conftest.$ac_ext"
     8024case "(($ac_try" in
     8025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8026  *) ac_try_echo=$ac_try;;
     8027esac
     8028eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8029$as_echo "$ac_try_echo") >&5
     8030  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8031  ac_status=$?
     8032  grep -v '^ *+' conftest.er1 >conftest.err
     8033  rm -f conftest.er1
     8034  cat conftest.err >&5
     8035  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8036  (exit $ac_status); } >/dev/null && {
     8037         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8038         test ! -s conftest.err
     8039       }; then
     8040  ac_header_preproc=yes
     8041else
     8042  $as_echo "$as_me: failed program was:" >&5
     8043sed 's/^/| /' conftest.$ac_ext >&5
     8044
     8045  ac_header_preproc=no
     8046fi
     8047
     8048rm -f conftest.err conftest.$ac_ext
     8049{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8050$as_echo "$ac_header_preproc" >&6; }
     8051
     8052# So?  What about this header?
     8053case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8054  yes:no: )
     8055    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8056$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8057    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8058$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8059    ac_header_preproc=yes
     8060    ;;
     8061  no:yes:* )
     8062    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8063$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8064    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8065$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8066    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8067$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8068    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8069$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8070    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8071$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8072    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8073$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8074    ( cat <<\_ASBOX
     8075## ----------------------------------- ##
     8076## Report this to rappture@nanohub.org ##
     8077## ----------------------------------- ##
     8078_ASBOX
     8079     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8080    ;;
     8081esac
     8082{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8083$as_echo_n "checking for $ac_header... " >&6; }
     8084if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8085  $as_echo_n "(cached) " >&6
     8086else
     8087  eval "$as_ac_Header=\$ac_header_preproc"
     8088fi
     8089ac_res=`eval 'as_val=${'$as_ac_Header'}
     8090                 $as_echo "$as_val"'`
     8091               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8092$as_echo "$ac_res" >&6; }
     8093
     8094fi
     8095as_val=`eval 'as_val=${'$as_ac_Header'}
     8096                 $as_echo "$as_val"'`
     8097   if test "x$as_val" = x""yes; then
    52618098  cat >>confdefs.h <<_ACEOF
    5262 #define HAVE_VECTOR 1
    5263 _ACEOF
    5264 
    5265 else
    5266   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     8099#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8100_ACEOF
     8101
     8102else
     8103  { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    52678104$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52688105fi
     
    52718108
    52728109
     8110
    52738111for ac_header in assert.h
    5274 do :
    5275   ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
    5276 if test "x$ac_cv_header_assert_h" = xyes; then :
     8112do
     8113as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8114if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8115  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8116$as_echo_n "checking for $ac_header... " >&6; }
     8117if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8118  $as_echo_n "(cached) " >&6
     8119fi
     8120ac_res=`eval 'as_val=${'$as_ac_Header'}
     8121                 $as_echo "$as_val"'`
     8122               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8123$as_echo "$ac_res" >&6; }
     8124else
     8125  # Is the header compilable?
     8126{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8127$as_echo_n "checking $ac_header usability... " >&6; }
     8128cat >conftest.$ac_ext <<_ACEOF
     8129/* confdefs.h.  */
     8130_ACEOF
     8131cat confdefs.h >>conftest.$ac_ext
     8132cat >>conftest.$ac_ext <<_ACEOF
     8133/* end confdefs.h.  */
     8134$ac_includes_default
     8135#include <$ac_header>
     8136_ACEOF
     8137rm -f conftest.$ac_objext
     8138if { (ac_try="$ac_compile"
     8139case "(($ac_try" in
     8140  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8141  *) ac_try_echo=$ac_try;;
     8142esac
     8143eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8144$as_echo "$ac_try_echo") >&5
     8145  (eval "$ac_compile") 2>conftest.er1
     8146  ac_status=$?
     8147  grep -v '^ *+' conftest.er1 >conftest.err
     8148  rm -f conftest.er1
     8149  cat conftest.err >&5
     8150  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8151  (exit $ac_status); } && {
     8152         test -z "$ac_cxx_werror_flag" ||
     8153         test ! -s conftest.err
     8154       } && test -s conftest.$ac_objext; then
     8155  ac_header_compiler=yes
     8156else
     8157  $as_echo "$as_me: failed program was:" >&5
     8158sed 's/^/| /' conftest.$ac_ext >&5
     8159
     8160        ac_header_compiler=no
     8161fi
     8162
     8163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8164{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8165$as_echo "$ac_header_compiler" >&6; }
     8166
     8167# Is the header present?
     8168{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8169$as_echo_n "checking $ac_header presence... " >&6; }
     8170cat >conftest.$ac_ext <<_ACEOF
     8171/* confdefs.h.  */
     8172_ACEOF
     8173cat confdefs.h >>conftest.$ac_ext
     8174cat >>conftest.$ac_ext <<_ACEOF
     8175/* end confdefs.h.  */
     8176#include <$ac_header>
     8177_ACEOF
     8178if { (ac_try="$ac_cpp conftest.$ac_ext"
     8179case "(($ac_try" in
     8180  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8181  *) ac_try_echo=$ac_try;;
     8182esac
     8183eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8184$as_echo "$ac_try_echo") >&5
     8185  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8186  ac_status=$?
     8187  grep -v '^ *+' conftest.er1 >conftest.err
     8188  rm -f conftest.er1
     8189  cat conftest.err >&5
     8190  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8191  (exit $ac_status); } >/dev/null && {
     8192         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8193         test ! -s conftest.err
     8194       }; then
     8195  ac_header_preproc=yes
     8196else
     8197  $as_echo "$as_me: failed program was:" >&5
     8198sed 's/^/| /' conftest.$ac_ext >&5
     8199
     8200  ac_header_preproc=no
     8201fi
     8202
     8203rm -f conftest.err conftest.$ac_ext
     8204{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8205$as_echo "$ac_header_preproc" >&6; }
     8206
     8207# So?  What about this header?
     8208case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8209  yes:no: )
     8210    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8211$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8212    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8213$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8214    ac_header_preproc=yes
     8215    ;;
     8216  no:yes:* )
     8217    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8218$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8219    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8220$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8221    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8222$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8223    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8224$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8225    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8226$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8227    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8228$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8229    ( cat <<\_ASBOX
     8230## ----------------------------------- ##
     8231## Report this to rappture@nanohub.org ##
     8232## ----------------------------------- ##
     8233_ASBOX
     8234     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8235    ;;
     8236esac
     8237{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8238$as_echo_n "checking for $ac_header... " >&6; }
     8239if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8240  $as_echo_n "(cached) " >&6
     8241else
     8242  eval "$as_ac_Header=\$ac_header_preproc"
     8243fi
     8244ac_res=`eval 'as_val=${'$as_ac_Header'}
     8245                 $as_echo "$as_val"'`
     8246               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8247$as_echo "$ac_res" >&6; }
     8248
     8249fi
     8250as_val=`eval 'as_val=${'$as_ac_Header'}
     8251                 $as_echo "$as_val"'`
     8252   if test "x$as_val" = x""yes; then
    52778253  cat >>confdefs.h <<_ACEOF
    5278 #define HAVE_ASSERT_H 1
    5279 _ACEOF
    5280 
    5281 else
    5282   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     8254#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8255_ACEOF
     8256
     8257else
     8258  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    52838259$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    52848260fi
     
    52868262done
    52878263
     8264
    52888265for ac_header in ctype.h
    5289 do :
    5290   ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
    5291 if test "x$ac_cv_header_ctype_h" = xyes; then :
     8266do
     8267as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8268if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8269  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8270$as_echo_n "checking for $ac_header... " >&6; }
     8271if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8272  $as_echo_n "(cached) " >&6
     8273fi
     8274ac_res=`eval 'as_val=${'$as_ac_Header'}
     8275                 $as_echo "$as_val"'`
     8276               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8277$as_echo "$ac_res" >&6; }
     8278else
     8279  # Is the header compilable?
     8280{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8281$as_echo_n "checking $ac_header usability... " >&6; }
     8282cat >conftest.$ac_ext <<_ACEOF
     8283/* confdefs.h.  */
     8284_ACEOF
     8285cat confdefs.h >>conftest.$ac_ext
     8286cat >>conftest.$ac_ext <<_ACEOF
     8287/* end confdefs.h.  */
     8288$ac_includes_default
     8289#include <$ac_header>
     8290_ACEOF
     8291rm -f conftest.$ac_objext
     8292if { (ac_try="$ac_compile"
     8293case "(($ac_try" in
     8294  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8295  *) ac_try_echo=$ac_try;;
     8296esac
     8297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8298$as_echo "$ac_try_echo") >&5
     8299  (eval "$ac_compile") 2>conftest.er1
     8300  ac_status=$?
     8301  grep -v '^ *+' conftest.er1 >conftest.err
     8302  rm -f conftest.er1
     8303  cat conftest.err >&5
     8304  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8305  (exit $ac_status); } && {
     8306         test -z "$ac_cxx_werror_flag" ||
     8307         test ! -s conftest.err
     8308       } && test -s conftest.$ac_objext; then
     8309  ac_header_compiler=yes
     8310else
     8311  $as_echo "$as_me: failed program was:" >&5
     8312sed 's/^/| /' conftest.$ac_ext >&5
     8313
     8314        ac_header_compiler=no
     8315fi
     8316
     8317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8318{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8319$as_echo "$ac_header_compiler" >&6; }
     8320
     8321# Is the header present?
     8322{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8323$as_echo_n "checking $ac_header presence... " >&6; }
     8324cat >conftest.$ac_ext <<_ACEOF
     8325/* confdefs.h.  */
     8326_ACEOF
     8327cat confdefs.h >>conftest.$ac_ext
     8328cat >>conftest.$ac_ext <<_ACEOF
     8329/* end confdefs.h.  */
     8330#include <$ac_header>
     8331_ACEOF
     8332if { (ac_try="$ac_cpp conftest.$ac_ext"
     8333case "(($ac_try" in
     8334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8335  *) ac_try_echo=$ac_try;;
     8336esac
     8337eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8338$as_echo "$ac_try_echo") >&5
     8339  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8340  ac_status=$?
     8341  grep -v '^ *+' conftest.er1 >conftest.err
     8342  rm -f conftest.er1
     8343  cat conftest.err >&5
     8344  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8345  (exit $ac_status); } >/dev/null && {
     8346         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8347         test ! -s conftest.err
     8348       }; then
     8349  ac_header_preproc=yes
     8350else
     8351  $as_echo "$as_me: failed program was:" >&5
     8352sed 's/^/| /' conftest.$ac_ext >&5
     8353
     8354  ac_header_preproc=no
     8355fi
     8356
     8357rm -f conftest.err conftest.$ac_ext
     8358{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8359$as_echo "$ac_header_preproc" >&6; }
     8360
     8361# So?  What about this header?
     8362case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8363  yes:no: )
     8364    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8365$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8366    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8367$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8368    ac_header_preproc=yes
     8369    ;;
     8370  no:yes:* )
     8371    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8372$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8373    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8374$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8375    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8376$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8377    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8378$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8379    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8380$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8381    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8382$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8383    ( cat <<\_ASBOX
     8384## ----------------------------------- ##
     8385## Report this to rappture@nanohub.org ##
     8386## ----------------------------------- ##
     8387_ASBOX
     8388     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8389    ;;
     8390esac
     8391{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8392$as_echo_n "checking for $ac_header... " >&6; }
     8393if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8394  $as_echo_n "(cached) " >&6
     8395else
     8396  eval "$as_ac_Header=\$ac_header_preproc"
     8397fi
     8398ac_res=`eval 'as_val=${'$as_ac_Header'}
     8399                 $as_echo "$as_val"'`
     8400               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8401$as_echo "$ac_res" >&6; }
     8402
     8403fi
     8404as_val=`eval 'as_val=${'$as_ac_Header'}
     8405                 $as_echo "$as_val"'`
     8406   if test "x$as_val" = x""yes; then
    52928407  cat >>confdefs.h <<_ACEOF
    5293 #define HAVE_CTYPE_H 1
    5294 _ACEOF
    5295 
    5296 else
    5297   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     8408#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8409_ACEOF
     8410
     8411else
     8412  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    52988413$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    52998414fi
     
    53018416done
    53028417
     8418
    53038419for ac_header in errno.h
    5304 do :
    5305   ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
    5306 if test "x$ac_cv_header_errno_h" = xyes; then :
     8420do
     8421as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8422if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8423  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8424$as_echo_n "checking for $ac_header... " >&6; }
     8425if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8426  $as_echo_n "(cached) " >&6
     8427fi
     8428ac_res=`eval 'as_val=${'$as_ac_Header'}
     8429                 $as_echo "$as_val"'`
     8430               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8431$as_echo "$ac_res" >&6; }
     8432else
     8433  # Is the header compilable?
     8434{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8435$as_echo_n "checking $ac_header usability... " >&6; }
     8436cat >conftest.$ac_ext <<_ACEOF
     8437/* confdefs.h.  */
     8438_ACEOF
     8439cat confdefs.h >>conftest.$ac_ext
     8440cat >>conftest.$ac_ext <<_ACEOF
     8441/* end confdefs.h.  */
     8442$ac_includes_default
     8443#include <$ac_header>
     8444_ACEOF
     8445rm -f conftest.$ac_objext
     8446if { (ac_try="$ac_compile"
     8447case "(($ac_try" in
     8448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8449  *) ac_try_echo=$ac_try;;
     8450esac
     8451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8452$as_echo "$ac_try_echo") >&5
     8453  (eval "$ac_compile") 2>conftest.er1
     8454  ac_status=$?
     8455  grep -v '^ *+' conftest.er1 >conftest.err
     8456  rm -f conftest.er1
     8457  cat conftest.err >&5
     8458  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8459  (exit $ac_status); } && {
     8460         test -z "$ac_cxx_werror_flag" ||
     8461         test ! -s conftest.err
     8462       } && test -s conftest.$ac_objext; then
     8463  ac_header_compiler=yes
     8464else
     8465  $as_echo "$as_me: failed program was:" >&5
     8466sed 's/^/| /' conftest.$ac_ext >&5
     8467
     8468        ac_header_compiler=no
     8469fi
     8470
     8471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8472{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8473$as_echo "$ac_header_compiler" >&6; }
     8474
     8475# Is the header present?
     8476{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8477$as_echo_n "checking $ac_header presence... " >&6; }
     8478cat >conftest.$ac_ext <<_ACEOF
     8479/* confdefs.h.  */
     8480_ACEOF
     8481cat confdefs.h >>conftest.$ac_ext
     8482cat >>conftest.$ac_ext <<_ACEOF
     8483/* end confdefs.h.  */
     8484#include <$ac_header>
     8485_ACEOF
     8486if { (ac_try="$ac_cpp conftest.$ac_ext"
     8487case "(($ac_try" in
     8488  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8489  *) ac_try_echo=$ac_try;;
     8490esac
     8491eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8492$as_echo "$ac_try_echo") >&5
     8493  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8494  ac_status=$?
     8495  grep -v '^ *+' conftest.er1 >conftest.err
     8496  rm -f conftest.er1
     8497  cat conftest.err >&5
     8498  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8499  (exit $ac_status); } >/dev/null && {
     8500         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8501         test ! -s conftest.err
     8502       }; then
     8503  ac_header_preproc=yes
     8504else
     8505  $as_echo "$as_me: failed program was:" >&5
     8506sed 's/^/| /' conftest.$ac_ext >&5
     8507
     8508  ac_header_preproc=no
     8509fi
     8510
     8511rm -f conftest.err conftest.$ac_ext
     8512{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8513$as_echo "$ac_header_preproc" >&6; }
     8514
     8515# So?  What about this header?
     8516case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8517  yes:no: )
     8518    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8519$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8520    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8521$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8522    ac_header_preproc=yes
     8523    ;;
     8524  no:yes:* )
     8525    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8526$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8527    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8528$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8529    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8530$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8531    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8532$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8533    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8534$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8535    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8536$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8537    ( cat <<\_ASBOX
     8538## ----------------------------------- ##
     8539## Report this to rappture@nanohub.org ##
     8540## ----------------------------------- ##
     8541_ASBOX
     8542     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8543    ;;
     8544esac
     8545{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8546$as_echo_n "checking for $ac_header... " >&6; }
     8547if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8548  $as_echo_n "(cached) " >&6
     8549else
     8550  eval "$as_ac_Header=\$ac_header_preproc"
     8551fi
     8552ac_res=`eval 'as_val=${'$as_ac_Header'}
     8553                 $as_echo "$as_val"'`
     8554               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8555$as_echo "$ac_res" >&6; }
     8556
     8557fi
     8558as_val=`eval 'as_val=${'$as_ac_Header'}
     8559                 $as_echo "$as_val"'`
     8560   if test "x$as_val" = x""yes; then
    53078561  cat >>confdefs.h <<_ACEOF
    5308 #define HAVE_ERRNO_H 1
    5309 _ACEOF
    5310 
    5311 else
    5312   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     8562#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8563_ACEOF
     8564
     8565else
     8566  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53138567$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53148568fi
     
    53168570done
    53178571
     8572
    53188573for ac_header in limits.h
    5319 do :
    5320   ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
    5321 if test "x$ac_cv_header_limits_h" = xyes; then :
     8574do
     8575as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8576if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8577  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8578$as_echo_n "checking for $ac_header... " >&6; }
     8579if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8580  $as_echo_n "(cached) " >&6
     8581fi
     8582ac_res=`eval 'as_val=${'$as_ac_Header'}
     8583                 $as_echo "$as_val"'`
     8584               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8585$as_echo "$ac_res" >&6; }
     8586else
     8587  # Is the header compilable?
     8588{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8589$as_echo_n "checking $ac_header usability... " >&6; }
     8590cat >conftest.$ac_ext <<_ACEOF
     8591/* confdefs.h.  */
     8592_ACEOF
     8593cat confdefs.h >>conftest.$ac_ext
     8594cat >>conftest.$ac_ext <<_ACEOF
     8595/* end confdefs.h.  */
     8596$ac_includes_default
     8597#include <$ac_header>
     8598_ACEOF
     8599rm -f conftest.$ac_objext
     8600if { (ac_try="$ac_compile"
     8601case "(($ac_try" in
     8602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8603  *) ac_try_echo=$ac_try;;
     8604esac
     8605eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8606$as_echo "$ac_try_echo") >&5
     8607  (eval "$ac_compile") 2>conftest.er1
     8608  ac_status=$?
     8609  grep -v '^ *+' conftest.er1 >conftest.err
     8610  rm -f conftest.er1
     8611  cat conftest.err >&5
     8612  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8613  (exit $ac_status); } && {
     8614         test -z "$ac_cxx_werror_flag" ||
     8615         test ! -s conftest.err
     8616       } && test -s conftest.$ac_objext; then
     8617  ac_header_compiler=yes
     8618else
     8619  $as_echo "$as_me: failed program was:" >&5
     8620sed 's/^/| /' conftest.$ac_ext >&5
     8621
     8622        ac_header_compiler=no
     8623fi
     8624
     8625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8626{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8627$as_echo "$ac_header_compiler" >&6; }
     8628
     8629# Is the header present?
     8630{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8631$as_echo_n "checking $ac_header presence... " >&6; }
     8632cat >conftest.$ac_ext <<_ACEOF
     8633/* confdefs.h.  */
     8634_ACEOF
     8635cat confdefs.h >>conftest.$ac_ext
     8636cat >>conftest.$ac_ext <<_ACEOF
     8637/* end confdefs.h.  */
     8638#include <$ac_header>
     8639_ACEOF
     8640if { (ac_try="$ac_cpp conftest.$ac_ext"
     8641case "(($ac_try" in
     8642  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8643  *) ac_try_echo=$ac_try;;
     8644esac
     8645eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8646$as_echo "$ac_try_echo") >&5
     8647  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8648  ac_status=$?
     8649  grep -v '^ *+' conftest.er1 >conftest.err
     8650  rm -f conftest.er1
     8651  cat conftest.err >&5
     8652  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8653  (exit $ac_status); } >/dev/null && {
     8654         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8655         test ! -s conftest.err
     8656       }; then
     8657  ac_header_preproc=yes
     8658else
     8659  $as_echo "$as_me: failed program was:" >&5
     8660sed 's/^/| /' conftest.$ac_ext >&5
     8661
     8662  ac_header_preproc=no
     8663fi
     8664
     8665rm -f conftest.err conftest.$ac_ext
     8666{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8667$as_echo "$ac_header_preproc" >&6; }
     8668
     8669# So?  What about this header?
     8670case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8671  yes:no: )
     8672    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8673$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8674    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8675$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8676    ac_header_preproc=yes
     8677    ;;
     8678  no:yes:* )
     8679    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8680$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8681    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8682$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8683    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8684$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8685    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8686$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8687    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8688$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8689    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8690$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8691    ( cat <<\_ASBOX
     8692## ----------------------------------- ##
     8693## Report this to rappture@nanohub.org ##
     8694## ----------------------------------- ##
     8695_ASBOX
     8696     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8697    ;;
     8698esac
     8699{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8700$as_echo_n "checking for $ac_header... " >&6; }
     8701if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8702  $as_echo_n "(cached) " >&6
     8703else
     8704  eval "$as_ac_Header=\$ac_header_preproc"
     8705fi
     8706ac_res=`eval 'as_val=${'$as_ac_Header'}
     8707                 $as_echo "$as_val"'`
     8708               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8709$as_echo "$ac_res" >&6; }
     8710
     8711fi
     8712as_val=`eval 'as_val=${'$as_ac_Header'}
     8713                 $as_echo "$as_val"'`
     8714   if test "x$as_val" = x""yes; then
    53228715  cat >>confdefs.h <<_ACEOF
    5323 #define HAVE_LIMITS_H 1
    5324 _ACEOF
    5325 
    5326 else
    5327   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     8716#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8717_ACEOF
     8718
     8719else
     8720  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53288721$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53298722fi
     
    53318724done
    53328725
     8726
    53338727for ac_header in string.h
    5334 do :
    5335   ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
    5336 if test "x$ac_cv_header_string_h" = xyes; then :
     8728do
     8729as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8730if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8731  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8732$as_echo_n "checking for $ac_header... " >&6; }
     8733if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8734  $as_echo_n "(cached) " >&6
     8735fi
     8736ac_res=`eval 'as_val=${'$as_ac_Header'}
     8737                 $as_echo "$as_val"'`
     8738               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8739$as_echo "$ac_res" >&6; }
     8740else
     8741  # Is the header compilable?
     8742{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8743$as_echo_n "checking $ac_header usability... " >&6; }
     8744cat >conftest.$ac_ext <<_ACEOF
     8745/* confdefs.h.  */
     8746_ACEOF
     8747cat confdefs.h >>conftest.$ac_ext
     8748cat >>conftest.$ac_ext <<_ACEOF
     8749/* end confdefs.h.  */
     8750$ac_includes_default
     8751#include <$ac_header>
     8752_ACEOF
     8753rm -f conftest.$ac_objext
     8754if { (ac_try="$ac_compile"
     8755case "(($ac_try" in
     8756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8757  *) ac_try_echo=$ac_try;;
     8758esac
     8759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8760$as_echo "$ac_try_echo") >&5
     8761  (eval "$ac_compile") 2>conftest.er1
     8762  ac_status=$?
     8763  grep -v '^ *+' conftest.er1 >conftest.err
     8764  rm -f conftest.er1
     8765  cat conftest.err >&5
     8766  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8767  (exit $ac_status); } && {
     8768         test -z "$ac_cxx_werror_flag" ||
     8769         test ! -s conftest.err
     8770       } && test -s conftest.$ac_objext; then
     8771  ac_header_compiler=yes
     8772else
     8773  $as_echo "$as_me: failed program was:" >&5
     8774sed 's/^/| /' conftest.$ac_ext >&5
     8775
     8776        ac_header_compiler=no
     8777fi
     8778
     8779rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8780{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8781$as_echo "$ac_header_compiler" >&6; }
     8782
     8783# Is the header present?
     8784{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8785$as_echo_n "checking $ac_header presence... " >&6; }
     8786cat >conftest.$ac_ext <<_ACEOF
     8787/* confdefs.h.  */
     8788_ACEOF
     8789cat confdefs.h >>conftest.$ac_ext
     8790cat >>conftest.$ac_ext <<_ACEOF
     8791/* end confdefs.h.  */
     8792#include <$ac_header>
     8793_ACEOF
     8794if { (ac_try="$ac_cpp conftest.$ac_ext"
     8795case "(($ac_try" in
     8796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8797  *) ac_try_echo=$ac_try;;
     8798esac
     8799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8800$as_echo "$ac_try_echo") >&5
     8801  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8802  ac_status=$?
     8803  grep -v '^ *+' conftest.er1 >conftest.err
     8804  rm -f conftest.er1
     8805  cat conftest.err >&5
     8806  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8807  (exit $ac_status); } >/dev/null && {
     8808         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8809         test ! -s conftest.err
     8810       }; then
     8811  ac_header_preproc=yes
     8812else
     8813  $as_echo "$as_me: failed program was:" >&5
     8814sed 's/^/| /' conftest.$ac_ext >&5
     8815
     8816  ac_header_preproc=no
     8817fi
     8818
     8819rm -f conftest.err conftest.$ac_ext
     8820{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8821$as_echo "$ac_header_preproc" >&6; }
     8822
     8823# So?  What about this header?
     8824case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8825  yes:no: )
     8826    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8827$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8828    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8829$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8830    ac_header_preproc=yes
     8831    ;;
     8832  no:yes:* )
     8833    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8834$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8835    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8836$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8837    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8838$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8839    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8840$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8841    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8842$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8843    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8844$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8845    ( cat <<\_ASBOX
     8846## ----------------------------------- ##
     8847## Report this to rappture@nanohub.org ##
     8848## ----------------------------------- ##
     8849_ASBOX
     8850     ) | sed "s/^/$as_me: WARNING:     /" >&2
     8851    ;;
     8852esac
     8853{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8854$as_echo_n "checking for $ac_header... " >&6; }
     8855if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8856  $as_echo_n "(cached) " >&6
     8857else
     8858  eval "$as_ac_Header=\$ac_header_preproc"
     8859fi
     8860ac_res=`eval 'as_val=${'$as_ac_Header'}
     8861                 $as_echo "$as_val"'`
     8862               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8863$as_echo "$ac_res" >&6; }
     8864
     8865fi
     8866as_val=`eval 'as_val=${'$as_ac_Header'}
     8867                 $as_echo "$as_val"'`
     8868   if test "x$as_val" = x""yes; then
    53378869  cat >>confdefs.h <<_ACEOF
    5338 #define HAVE_STRING_H 1
    5339 _ACEOF
    5340 
    5341 else
    5342   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     8870#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8871_ACEOF
     8872
     8873else
     8874  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53438875$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53448876fi
     
    53468878done
    53478879
     8880
    53488881for ac_header in stdlib.h
    5349 do :
    5350   ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
    5351 if test "x$ac_cv_header_stdlib_h" = xyes; then :
     8882do
     8883as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8884if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8885  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     8886$as_echo_n "checking for $ac_header... " >&6; }
     8887if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8888  $as_echo_n "(cached) " >&6
     8889fi
     8890ac_res=`eval 'as_val=${'$as_ac_Header'}
     8891                 $as_echo "$as_val"'`
     8892               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     8893$as_echo "$ac_res" >&6; }
     8894else
     8895  # Is the header compilable?
     8896{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8897$as_echo_n "checking $ac_header usability... " >&6; }
     8898cat >conftest.$ac_ext <<_ACEOF
     8899/* confdefs.h.  */
     8900_ACEOF
     8901cat confdefs.h >>conftest.$ac_ext
     8902cat >>conftest.$ac_ext <<_ACEOF
     8903/* end confdefs.h.  */
     8904$ac_includes_default
     8905#include <$ac_header>
     8906_ACEOF
     8907rm -f conftest.$ac_objext
     8908if { (ac_try="$ac_compile"
     8909case "(($ac_try" in
     8910  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8911  *) ac_try_echo=$ac_try;;
     8912esac
     8913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8914$as_echo "$ac_try_echo") >&5
     8915  (eval "$ac_compile") 2>conftest.er1
     8916  ac_status=$?
     8917  grep -v '^ *+' conftest.er1 >conftest.err
     8918  rm -f conftest.er1
     8919  cat conftest.err >&5
     8920  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8921  (exit $ac_status); } && {
     8922         test -z "$ac_cxx_werror_flag" ||
     8923         test ! -s conftest.err
     8924       } && test -s conftest.$ac_objext; then
     8925  ac_header_compiler=yes
     8926else
     8927  $as_echo "$as_me: failed program was:" >&5
     8928sed 's/^/| /' conftest.$ac_ext >&5
     8929
     8930        ac_header_compiler=no
     8931fi
     8932
     8933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8934{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8935$as_echo "$ac_header_compiler" >&6; }
     8936
     8937# Is the header present?
     8938{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8939$as_echo_n "checking $ac_header presence... " >&6; }
     8940cat >conftest.$ac_ext <<_ACEOF
     8941/* confdefs.h.  */
     8942_ACEOF
     8943cat confdefs.h >>conftest.$ac_ext
     8944cat >>conftest.$ac_ext <<_ACEOF
     8945/* end confdefs.h.  */
     8946#include <$ac_header>
     8947_ACEOF
     8948if { (ac_try="$ac_cpp conftest.$ac_ext"
     8949case "(($ac_try" in
     8950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8951  *) ac_try_echo=$ac_try;;
     8952esac
     8953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8954$as_echo "$ac_try_echo") >&5
     8955  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8956  ac_status=$?
     8957  grep -v '^ *+' conftest.er1 >conftest.err
     8958  rm -f conftest.er1
     8959  cat conftest.err >&5
     8960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8961  (exit $ac_status); } >/dev/null && {
     8962         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8963         test ! -s conftest.err
     8964       }; then
     8965  ac_header_preproc=yes
     8966else
     8967  $as_echo "$as_me: failed program was:" >&5
     8968sed 's/^/| /' conftest.$ac_ext >&5
     8969
     8970  ac_header_preproc=no
     8971fi
     8972
     8973rm -f conftest.err conftest.$ac_ext
     8974{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8975$as_echo "$ac_header_preproc" >&6; }
     8976
     8977# So?  What about this header?
     8978case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     8979  yes:no: )
     8980    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8981$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8982    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8983$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8984    ac_header_preproc=yes
     8985    ;;
     8986  no:yes:* )
     8987    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8988$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8989    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8990$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8991    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8992$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8993    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8994$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8995    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8996$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8997    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8998$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8999    ( cat <<\_ASBOX
     9000## ----------------------------------- ##
     9001## Report this to rappture@nanohub.org ##
     9002## ----------------------------------- ##
     9003_ASBOX
     9004     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9005    ;;
     9006esac
     9007{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9008$as_echo_n "checking for $ac_header... " >&6; }
     9009if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9010  $as_echo_n "(cached) " >&6
     9011else
     9012  eval "$as_ac_Header=\$ac_header_preproc"
     9013fi
     9014ac_res=`eval 'as_val=${'$as_ac_Header'}
     9015                 $as_echo "$as_val"'`
     9016               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9017$as_echo "$ac_res" >&6; }
     9018
     9019fi
     9020as_val=`eval 'as_val=${'$as_ac_Header'}
     9021                 $as_echo "$as_val"'`
     9022   if test "x$as_val" = x""yes; then
    53529023  cat >>confdefs.h <<_ACEOF
    5353 #define HAVE_STDLIB_H 1
    5354 _ACEOF
    5355 
    5356 else
    5357   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9024#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9025_ACEOF
     9026
     9027else
     9028  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53589029$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53599030fi
     
    53619032done
    53629033
     9034
    53639035for ac_header in stddef.h
    5364 do :
    5365   ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
    5366 if test "x$ac_cv_header_stddef_h" = xyes; then :
     9036do
     9037as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9038if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9039  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9040$as_echo_n "checking for $ac_header... " >&6; }
     9041if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9042  $as_echo_n "(cached) " >&6
     9043fi
     9044ac_res=`eval 'as_val=${'$as_ac_Header'}
     9045                 $as_echo "$as_val"'`
     9046               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9047$as_echo "$ac_res" >&6; }
     9048else
     9049  # Is the header compilable?
     9050{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9051$as_echo_n "checking $ac_header usability... " >&6; }
     9052cat >conftest.$ac_ext <<_ACEOF
     9053/* confdefs.h.  */
     9054_ACEOF
     9055cat confdefs.h >>conftest.$ac_ext
     9056cat >>conftest.$ac_ext <<_ACEOF
     9057/* end confdefs.h.  */
     9058$ac_includes_default
     9059#include <$ac_header>
     9060_ACEOF
     9061rm -f conftest.$ac_objext
     9062if { (ac_try="$ac_compile"
     9063case "(($ac_try" in
     9064  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9065  *) ac_try_echo=$ac_try;;
     9066esac
     9067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9068$as_echo "$ac_try_echo") >&5
     9069  (eval "$ac_compile") 2>conftest.er1
     9070  ac_status=$?
     9071  grep -v '^ *+' conftest.er1 >conftest.err
     9072  rm -f conftest.er1
     9073  cat conftest.err >&5
     9074  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9075  (exit $ac_status); } && {
     9076         test -z "$ac_cxx_werror_flag" ||
     9077         test ! -s conftest.err
     9078       } && test -s conftest.$ac_objext; then
     9079  ac_header_compiler=yes
     9080else
     9081  $as_echo "$as_me: failed program was:" >&5
     9082sed 's/^/| /' conftest.$ac_ext >&5
     9083
     9084        ac_header_compiler=no
     9085fi
     9086
     9087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9088{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9089$as_echo "$ac_header_compiler" >&6; }
     9090
     9091# Is the header present?
     9092{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9093$as_echo_n "checking $ac_header presence... " >&6; }
     9094cat >conftest.$ac_ext <<_ACEOF
     9095/* confdefs.h.  */
     9096_ACEOF
     9097cat confdefs.h >>conftest.$ac_ext
     9098cat >>conftest.$ac_ext <<_ACEOF
     9099/* end confdefs.h.  */
     9100#include <$ac_header>
     9101_ACEOF
     9102if { (ac_try="$ac_cpp conftest.$ac_ext"
     9103case "(($ac_try" in
     9104  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9105  *) ac_try_echo=$ac_try;;
     9106esac
     9107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9108$as_echo "$ac_try_echo") >&5
     9109  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9110  ac_status=$?
     9111  grep -v '^ *+' conftest.er1 >conftest.err
     9112  rm -f conftest.er1
     9113  cat conftest.err >&5
     9114  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9115  (exit $ac_status); } >/dev/null && {
     9116         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9117         test ! -s conftest.err
     9118       }; then
     9119  ac_header_preproc=yes
     9120else
     9121  $as_echo "$as_me: failed program was:" >&5
     9122sed 's/^/| /' conftest.$ac_ext >&5
     9123
     9124  ac_header_preproc=no
     9125fi
     9126
     9127rm -f conftest.err conftest.$ac_ext
     9128{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9129$as_echo "$ac_header_preproc" >&6; }
     9130
     9131# So?  What about this header?
     9132case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9133  yes:no: )
     9134    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9135$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9136    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9137$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9138    ac_header_preproc=yes
     9139    ;;
     9140  no:yes:* )
     9141    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9142$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9143    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9144$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9145    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9146$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9147    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9148$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9149    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9150$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9151    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9152$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9153    ( cat <<\_ASBOX
     9154## ----------------------------------- ##
     9155## Report this to rappture@nanohub.org ##
     9156## ----------------------------------- ##
     9157_ASBOX
     9158     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9159    ;;
     9160esac
     9161{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9162$as_echo_n "checking for $ac_header... " >&6; }
     9163if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9164  $as_echo_n "(cached) " >&6
     9165else
     9166  eval "$as_ac_Header=\$ac_header_preproc"
     9167fi
     9168ac_res=`eval 'as_val=${'$as_ac_Header'}
     9169                 $as_echo "$as_val"'`
     9170               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9171$as_echo "$ac_res" >&6; }
     9172
     9173fi
     9174as_val=`eval 'as_val=${'$as_ac_Header'}
     9175                 $as_echo "$as_val"'`
     9176   if test "x$as_val" = x""yes; then
    53679177  cat >>confdefs.h <<_ACEOF
    5368 #define HAVE_STDDEF_H 1
    5369 _ACEOF
    5370 
    5371 else
    5372   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9178#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9179_ACEOF
     9180
     9181else
     9182  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53739183$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53749184fi
     
    53769186done
    53779187
     9188
    53789189for ac_header in float.h
    5379 do :
    5380   ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
    5381 if test "x$ac_cv_header_float_h" = xyes; then :
     9190do
     9191as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9192if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9193  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9194$as_echo_n "checking for $ac_header... " >&6; }
     9195if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9196  $as_echo_n "(cached) " >&6
     9197fi
     9198ac_res=`eval 'as_val=${'$as_ac_Header'}
     9199                 $as_echo "$as_val"'`
     9200               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9201$as_echo "$ac_res" >&6; }
     9202else
     9203  # Is the header compilable?
     9204{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9205$as_echo_n "checking $ac_header usability... " >&6; }
     9206cat >conftest.$ac_ext <<_ACEOF
     9207/* confdefs.h.  */
     9208_ACEOF
     9209cat confdefs.h >>conftest.$ac_ext
     9210cat >>conftest.$ac_ext <<_ACEOF
     9211/* end confdefs.h.  */
     9212$ac_includes_default
     9213#include <$ac_header>
     9214_ACEOF
     9215rm -f conftest.$ac_objext
     9216if { (ac_try="$ac_compile"
     9217case "(($ac_try" in
     9218  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9219  *) ac_try_echo=$ac_try;;
     9220esac
     9221eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9222$as_echo "$ac_try_echo") >&5
     9223  (eval "$ac_compile") 2>conftest.er1
     9224  ac_status=$?
     9225  grep -v '^ *+' conftest.er1 >conftest.err
     9226  rm -f conftest.er1
     9227  cat conftest.err >&5
     9228  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9229  (exit $ac_status); } && {
     9230         test -z "$ac_cxx_werror_flag" ||
     9231         test ! -s conftest.err
     9232       } && test -s conftest.$ac_objext; then
     9233  ac_header_compiler=yes
     9234else
     9235  $as_echo "$as_me: failed program was:" >&5
     9236sed 's/^/| /' conftest.$ac_ext >&5
     9237
     9238        ac_header_compiler=no
     9239fi
     9240
     9241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9242{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9243$as_echo "$ac_header_compiler" >&6; }
     9244
     9245# Is the header present?
     9246{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9247$as_echo_n "checking $ac_header presence... " >&6; }
     9248cat >conftest.$ac_ext <<_ACEOF
     9249/* confdefs.h.  */
     9250_ACEOF
     9251cat confdefs.h >>conftest.$ac_ext
     9252cat >>conftest.$ac_ext <<_ACEOF
     9253/* end confdefs.h.  */
     9254#include <$ac_header>
     9255_ACEOF
     9256if { (ac_try="$ac_cpp conftest.$ac_ext"
     9257case "(($ac_try" in
     9258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9259  *) ac_try_echo=$ac_try;;
     9260esac
     9261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9262$as_echo "$ac_try_echo") >&5
     9263  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9264  ac_status=$?
     9265  grep -v '^ *+' conftest.er1 >conftest.err
     9266  rm -f conftest.er1
     9267  cat conftest.err >&5
     9268  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9269  (exit $ac_status); } >/dev/null && {
     9270         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9271         test ! -s conftest.err
     9272       }; then
     9273  ac_header_preproc=yes
     9274else
     9275  $as_echo "$as_me: failed program was:" >&5
     9276sed 's/^/| /' conftest.$ac_ext >&5
     9277
     9278  ac_header_preproc=no
     9279fi
     9280
     9281rm -f conftest.err conftest.$ac_ext
     9282{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9283$as_echo "$ac_header_preproc" >&6; }
     9284
     9285# So?  What about this header?
     9286case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9287  yes:no: )
     9288    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9289$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9290    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9291$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9292    ac_header_preproc=yes
     9293    ;;
     9294  no:yes:* )
     9295    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9296$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9297    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9298$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9299    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9300$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9301    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9302$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9303    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9304$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9305    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9306$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9307    ( cat <<\_ASBOX
     9308## ----------------------------------- ##
     9309## Report this to rappture@nanohub.org ##
     9310## ----------------------------------- ##
     9311_ASBOX
     9312     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9313    ;;
     9314esac
     9315{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9316$as_echo_n "checking for $ac_header... " >&6; }
     9317if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9318  $as_echo_n "(cached) " >&6
     9319else
     9320  eval "$as_ac_Header=\$ac_header_preproc"
     9321fi
     9322ac_res=`eval 'as_val=${'$as_ac_Header'}
     9323                 $as_echo "$as_val"'`
     9324               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9325$as_echo "$ac_res" >&6; }
     9326
     9327fi
     9328as_val=`eval 'as_val=${'$as_ac_Header'}
     9329                 $as_echo "$as_val"'`
     9330   if test "x$as_val" = x""yes; then
    53829331  cat >>confdefs.h <<_ACEOF
    5383 #define HAVE_FLOAT_H 1
    5384 _ACEOF
    5385 
    5386 else
    5387   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9332#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9333_ACEOF
     9334
     9335else
     9336  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    53889337$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    53899338fi
     
    53919340done
    53929341
     9342
    53939343for ac_header in math.h
    5394 do :
    5395   ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
    5396 if test "x$ac_cv_header_math_h" = xyes; then :
     9344do
     9345as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9346if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9347  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9348$as_echo_n "checking for $ac_header... " >&6; }
     9349if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9350  $as_echo_n "(cached) " >&6
     9351fi
     9352ac_res=`eval 'as_val=${'$as_ac_Header'}
     9353                 $as_echo "$as_val"'`
     9354               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9355$as_echo "$ac_res" >&6; }
     9356else
     9357  # Is the header compilable?
     9358{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9359$as_echo_n "checking $ac_header usability... " >&6; }
     9360cat >conftest.$ac_ext <<_ACEOF
     9361/* confdefs.h.  */
     9362_ACEOF
     9363cat confdefs.h >>conftest.$ac_ext
     9364cat >>conftest.$ac_ext <<_ACEOF
     9365/* end confdefs.h.  */
     9366$ac_includes_default
     9367#include <$ac_header>
     9368_ACEOF
     9369rm -f conftest.$ac_objext
     9370if { (ac_try="$ac_compile"
     9371case "(($ac_try" in
     9372  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9373  *) ac_try_echo=$ac_try;;
     9374esac
     9375eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9376$as_echo "$ac_try_echo") >&5
     9377  (eval "$ac_compile") 2>conftest.er1
     9378  ac_status=$?
     9379  grep -v '^ *+' conftest.er1 >conftest.err
     9380  rm -f conftest.er1
     9381  cat conftest.err >&5
     9382  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9383  (exit $ac_status); } && {
     9384         test -z "$ac_cxx_werror_flag" ||
     9385         test ! -s conftest.err
     9386       } && test -s conftest.$ac_objext; then
     9387  ac_header_compiler=yes
     9388else
     9389  $as_echo "$as_me: failed program was:" >&5
     9390sed 's/^/| /' conftest.$ac_ext >&5
     9391
     9392        ac_header_compiler=no
     9393fi
     9394
     9395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9396{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9397$as_echo "$ac_header_compiler" >&6; }
     9398
     9399# Is the header present?
     9400{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9401$as_echo_n "checking $ac_header presence... " >&6; }
     9402cat >conftest.$ac_ext <<_ACEOF
     9403/* confdefs.h.  */
     9404_ACEOF
     9405cat confdefs.h >>conftest.$ac_ext
     9406cat >>conftest.$ac_ext <<_ACEOF
     9407/* end confdefs.h.  */
     9408#include <$ac_header>
     9409_ACEOF
     9410if { (ac_try="$ac_cpp conftest.$ac_ext"
     9411case "(($ac_try" in
     9412  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9413  *) ac_try_echo=$ac_try;;
     9414esac
     9415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9416$as_echo "$ac_try_echo") >&5
     9417  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9418  ac_status=$?
     9419  grep -v '^ *+' conftest.er1 >conftest.err
     9420  rm -f conftest.er1
     9421  cat conftest.err >&5
     9422  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9423  (exit $ac_status); } >/dev/null && {
     9424         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9425         test ! -s conftest.err
     9426       }; then
     9427  ac_header_preproc=yes
     9428else
     9429  $as_echo "$as_me: failed program was:" >&5
     9430sed 's/^/| /' conftest.$ac_ext >&5
     9431
     9432  ac_header_preproc=no
     9433fi
     9434
     9435rm -f conftest.err conftest.$ac_ext
     9436{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9437$as_echo "$ac_header_preproc" >&6; }
     9438
     9439# So?  What about this header?
     9440case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9441  yes:no: )
     9442    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9443$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9444    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9445$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9446    ac_header_preproc=yes
     9447    ;;
     9448  no:yes:* )
     9449    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9450$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9451    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9452$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9453    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9454$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9455    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9456$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9457    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9458$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9459    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9460$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9461    ( cat <<\_ASBOX
     9462## ----------------------------------- ##
     9463## Report this to rappture@nanohub.org ##
     9464## ----------------------------------- ##
     9465_ASBOX
     9466     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9467    ;;
     9468esac
     9469{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9470$as_echo_n "checking for $ac_header... " >&6; }
     9471if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9472  $as_echo_n "(cached) " >&6
     9473else
     9474  eval "$as_ac_Header=\$ac_header_preproc"
     9475fi
     9476ac_res=`eval 'as_val=${'$as_ac_Header'}
     9477                 $as_echo "$as_val"'`
     9478               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9479$as_echo "$ac_res" >&6; }
     9480
     9481fi
     9482as_val=`eval 'as_val=${'$as_ac_Header'}
     9483                 $as_echo "$as_val"'`
     9484   if test "x$as_val" = x""yes; then
    53979485  cat >>confdefs.h <<_ACEOF
    5398 #define HAVE_MATH_H 1
    5399 _ACEOF
    5400 
    5401 else
    5402   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9486#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9487_ACEOF
     9488
     9489else
     9490  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    54039491$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    54049492fi
     
    54069494done
    54079495
     9496
    54089497for ac_header in malloc.h
    5409 do :
    5410   ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
    5411 if test "x$ac_cv_header_malloc_h" = xyes; then :
     9498do
     9499as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9500if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9501  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9502$as_echo_n "checking for $ac_header... " >&6; }
     9503if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9504  $as_echo_n "(cached) " >&6
     9505fi
     9506ac_res=`eval 'as_val=${'$as_ac_Header'}
     9507                 $as_echo "$as_val"'`
     9508               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9509$as_echo "$ac_res" >&6; }
     9510else
     9511  # Is the header compilable?
     9512{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9513$as_echo_n "checking $ac_header usability... " >&6; }
     9514cat >conftest.$ac_ext <<_ACEOF
     9515/* confdefs.h.  */
     9516_ACEOF
     9517cat confdefs.h >>conftest.$ac_ext
     9518cat >>conftest.$ac_ext <<_ACEOF
     9519/* end confdefs.h.  */
     9520$ac_includes_default
     9521#include <$ac_header>
     9522_ACEOF
     9523rm -f conftest.$ac_objext
     9524if { (ac_try="$ac_compile"
     9525case "(($ac_try" in
     9526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9527  *) ac_try_echo=$ac_try;;
     9528esac
     9529eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9530$as_echo "$ac_try_echo") >&5
     9531  (eval "$ac_compile") 2>conftest.er1
     9532  ac_status=$?
     9533  grep -v '^ *+' conftest.er1 >conftest.err
     9534  rm -f conftest.er1
     9535  cat conftest.err >&5
     9536  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9537  (exit $ac_status); } && {
     9538         test -z "$ac_cxx_werror_flag" ||
     9539         test ! -s conftest.err
     9540       } && test -s conftest.$ac_objext; then
     9541  ac_header_compiler=yes
     9542else
     9543  $as_echo "$as_me: failed program was:" >&5
     9544sed 's/^/| /' conftest.$ac_ext >&5
     9545
     9546        ac_header_compiler=no
     9547fi
     9548
     9549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9550{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9551$as_echo "$ac_header_compiler" >&6; }
     9552
     9553# Is the header present?
     9554{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9555$as_echo_n "checking $ac_header presence... " >&6; }
     9556cat >conftest.$ac_ext <<_ACEOF
     9557/* confdefs.h.  */
     9558_ACEOF
     9559cat confdefs.h >>conftest.$ac_ext
     9560cat >>conftest.$ac_ext <<_ACEOF
     9561/* end confdefs.h.  */
     9562#include <$ac_header>
     9563_ACEOF
     9564if { (ac_try="$ac_cpp conftest.$ac_ext"
     9565case "(($ac_try" in
     9566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9567  *) ac_try_echo=$ac_try;;
     9568esac
     9569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9570$as_echo "$ac_try_echo") >&5
     9571  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9572  ac_status=$?
     9573  grep -v '^ *+' conftest.er1 >conftest.err
     9574  rm -f conftest.er1
     9575  cat conftest.err >&5
     9576  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9577  (exit $ac_status); } >/dev/null && {
     9578         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9579         test ! -s conftest.err
     9580       }; then
     9581  ac_header_preproc=yes
     9582else
     9583  $as_echo "$as_me: failed program was:" >&5
     9584sed 's/^/| /' conftest.$ac_ext >&5
     9585
     9586  ac_header_preproc=no
     9587fi
     9588
     9589rm -f conftest.err conftest.$ac_ext
     9590{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9591$as_echo "$ac_header_preproc" >&6; }
     9592
     9593# So?  What about this header?
     9594case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9595  yes:no: )
     9596    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9597$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9598    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9599$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9600    ac_header_preproc=yes
     9601    ;;
     9602  no:yes:* )
     9603    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9604$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9605    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9606$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9607    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9608$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9609    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9610$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9611    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9612$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9613    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9614$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9615    ( cat <<\_ASBOX
     9616## ----------------------------------- ##
     9617## Report this to rappture@nanohub.org ##
     9618## ----------------------------------- ##
     9619_ASBOX
     9620     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9621    ;;
     9622esac
     9623{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9624$as_echo_n "checking for $ac_header... " >&6; }
     9625if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9626  $as_echo_n "(cached) " >&6
     9627else
     9628  eval "$as_ac_Header=\$ac_header_preproc"
     9629fi
     9630ac_res=`eval 'as_val=${'$as_ac_Header'}
     9631                 $as_echo "$as_val"'`
     9632               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9633$as_echo "$ac_res" >&6; }
     9634
     9635fi
     9636as_val=`eval 'as_val=${'$as_ac_Header'}
     9637                 $as_echo "$as_val"'`
     9638   if test "x$as_val" = x""yes; then
    54129639  cat >>confdefs.h <<_ACEOF
    5413 #define HAVE_MALLOC_H 1
    5414 _ACEOF
    5415 
    5416 else
    5417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9640#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9641_ACEOF
     9642
     9643else
     9644  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    54189645$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    54199646fi
     
    54219648done
    54229649
     9650
    54239651for ac_header in memory.h
    5424 do :
    5425   ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
    5426 if test "x$ac_cv_header_memory_h" = xyes; then :
     9652do
     9653as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9654if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9655  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9656$as_echo_n "checking for $ac_header... " >&6; }
     9657if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9658  $as_echo_n "(cached) " >&6
     9659fi
     9660ac_res=`eval 'as_val=${'$as_ac_Header'}
     9661                 $as_echo "$as_val"'`
     9662               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9663$as_echo "$ac_res" >&6; }
     9664else
     9665  # Is the header compilable?
     9666{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9667$as_echo_n "checking $ac_header usability... " >&6; }
     9668cat >conftest.$ac_ext <<_ACEOF
     9669/* confdefs.h.  */
     9670_ACEOF
     9671cat confdefs.h >>conftest.$ac_ext
     9672cat >>conftest.$ac_ext <<_ACEOF
     9673/* end confdefs.h.  */
     9674$ac_includes_default
     9675#include <$ac_header>
     9676_ACEOF
     9677rm -f conftest.$ac_objext
     9678if { (ac_try="$ac_compile"
     9679case "(($ac_try" in
     9680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9681  *) ac_try_echo=$ac_try;;
     9682esac
     9683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9684$as_echo "$ac_try_echo") >&5
     9685  (eval "$ac_compile") 2>conftest.er1
     9686  ac_status=$?
     9687  grep -v '^ *+' conftest.er1 >conftest.err
     9688  rm -f conftest.er1
     9689  cat conftest.err >&5
     9690  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9691  (exit $ac_status); } && {
     9692         test -z "$ac_cxx_werror_flag" ||
     9693         test ! -s conftest.err
     9694       } && test -s conftest.$ac_objext; then
     9695  ac_header_compiler=yes
     9696else
     9697  $as_echo "$as_me: failed program was:" >&5
     9698sed 's/^/| /' conftest.$ac_ext >&5
     9699
     9700        ac_header_compiler=no
     9701fi
     9702
     9703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9704{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9705$as_echo "$ac_header_compiler" >&6; }
     9706
     9707# Is the header present?
     9708{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9709$as_echo_n "checking $ac_header presence... " >&6; }
     9710cat >conftest.$ac_ext <<_ACEOF
     9711/* confdefs.h.  */
     9712_ACEOF
     9713cat confdefs.h >>conftest.$ac_ext
     9714cat >>conftest.$ac_ext <<_ACEOF
     9715/* end confdefs.h.  */
     9716#include <$ac_header>
     9717_ACEOF
     9718if { (ac_try="$ac_cpp conftest.$ac_ext"
     9719case "(($ac_try" in
     9720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9721  *) ac_try_echo=$ac_try;;
     9722esac
     9723eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9724$as_echo "$ac_try_echo") >&5
     9725  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9726  ac_status=$?
     9727  grep -v '^ *+' conftest.er1 >conftest.err
     9728  rm -f conftest.er1
     9729  cat conftest.err >&5
     9730  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9731  (exit $ac_status); } >/dev/null && {
     9732         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9733         test ! -s conftest.err
     9734       }; then
     9735  ac_header_preproc=yes
     9736else
     9737  $as_echo "$as_me: failed program was:" >&5
     9738sed 's/^/| /' conftest.$ac_ext >&5
     9739
     9740  ac_header_preproc=no
     9741fi
     9742
     9743rm -f conftest.err conftest.$ac_ext
     9744{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9745$as_echo "$ac_header_preproc" >&6; }
     9746
     9747# So?  What about this header?
     9748case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9749  yes:no: )
     9750    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9751$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9752    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9753$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9754    ac_header_preproc=yes
     9755    ;;
     9756  no:yes:* )
     9757    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9758$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9759    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9760$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9761    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9762$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9763    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9764$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9765    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9766$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9767    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9768$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9769    ( cat <<\_ASBOX
     9770## ----------------------------------- ##
     9771## Report this to rappture@nanohub.org ##
     9772## ----------------------------------- ##
     9773_ASBOX
     9774     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9775    ;;
     9776esac
     9777{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9778$as_echo_n "checking for $ac_header... " >&6; }
     9779if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9780  $as_echo_n "(cached) " >&6
     9781else
     9782  eval "$as_ac_Header=\$ac_header_preproc"
     9783fi
     9784ac_res=`eval 'as_val=${'$as_ac_Header'}
     9785                 $as_echo "$as_val"'`
     9786               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9787$as_echo "$ac_res" >&6; }
     9788
     9789fi
     9790as_val=`eval 'as_val=${'$as_ac_Header'}
     9791                 $as_echo "$as_val"'`
     9792   if test "x$as_val" = x""yes; then
    54279793  cat >>confdefs.h <<_ACEOF
    5428 #define HAVE_MEMORY_H 1
    5429 _ACEOF
    5430 
    5431 else
    5432   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9794#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9795_ACEOF
     9796
     9797else
     9798  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    54339799$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    54349800fi
     
    54369802done
    54379803
     9804
    54389805for ac_header in unistd.h
    5439 do :
    5440   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
    5441 if test "x$ac_cv_header_unistd_h" = xyes; then :
     9806do
     9807as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9808if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9809  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9810$as_echo_n "checking for $ac_header... " >&6; }
     9811if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9812  $as_echo_n "(cached) " >&6
     9813fi
     9814ac_res=`eval 'as_val=${'$as_ac_Header'}
     9815                 $as_echo "$as_val"'`
     9816               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9817$as_echo "$ac_res" >&6; }
     9818else
     9819  # Is the header compilable?
     9820{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9821$as_echo_n "checking $ac_header usability... " >&6; }
     9822cat >conftest.$ac_ext <<_ACEOF
     9823/* confdefs.h.  */
     9824_ACEOF
     9825cat confdefs.h >>conftest.$ac_ext
     9826cat >>conftest.$ac_ext <<_ACEOF
     9827/* end confdefs.h.  */
     9828$ac_includes_default
     9829#include <$ac_header>
     9830_ACEOF
     9831rm -f conftest.$ac_objext
     9832if { (ac_try="$ac_compile"
     9833case "(($ac_try" in
     9834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9835  *) ac_try_echo=$ac_try;;
     9836esac
     9837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9838$as_echo "$ac_try_echo") >&5
     9839  (eval "$ac_compile") 2>conftest.er1
     9840  ac_status=$?
     9841  grep -v '^ *+' conftest.er1 >conftest.err
     9842  rm -f conftest.er1
     9843  cat conftest.err >&5
     9844  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9845  (exit $ac_status); } && {
     9846         test -z "$ac_cxx_werror_flag" ||
     9847         test ! -s conftest.err
     9848       } && test -s conftest.$ac_objext; then
     9849  ac_header_compiler=yes
     9850else
     9851  $as_echo "$as_me: failed program was:" >&5
     9852sed 's/^/| /' conftest.$ac_ext >&5
     9853
     9854        ac_header_compiler=no
     9855fi
     9856
     9857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9858{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9859$as_echo "$ac_header_compiler" >&6; }
     9860
     9861# Is the header present?
     9862{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9863$as_echo_n "checking $ac_header presence... " >&6; }
     9864cat >conftest.$ac_ext <<_ACEOF
     9865/* confdefs.h.  */
     9866_ACEOF
     9867cat confdefs.h >>conftest.$ac_ext
     9868cat >>conftest.$ac_ext <<_ACEOF
     9869/* end confdefs.h.  */
     9870#include <$ac_header>
     9871_ACEOF
     9872if { (ac_try="$ac_cpp conftest.$ac_ext"
     9873case "(($ac_try" in
     9874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9875  *) ac_try_echo=$ac_try;;
     9876esac
     9877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9878$as_echo "$ac_try_echo") >&5
     9879  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9880  ac_status=$?
     9881  grep -v '^ *+' conftest.er1 >conftest.err
     9882  rm -f conftest.er1
     9883  cat conftest.err >&5
     9884  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9885  (exit $ac_status); } >/dev/null && {
     9886         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9887         test ! -s conftest.err
     9888       }; then
     9889  ac_header_preproc=yes
     9890else
     9891  $as_echo "$as_me: failed program was:" >&5
     9892sed 's/^/| /' conftest.$ac_ext >&5
     9893
     9894  ac_header_preproc=no
     9895fi
     9896
     9897rm -f conftest.err conftest.$ac_ext
     9898{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9899$as_echo "$ac_header_preproc" >&6; }
     9900
     9901# So?  What about this header?
     9902case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9903  yes:no: )
     9904    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9905$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9906    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9907$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9908    ac_header_preproc=yes
     9909    ;;
     9910  no:yes:* )
     9911    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9912$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9913    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9914$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9915    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9916$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9917    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9918$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9919    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9920$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9921    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9922$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9923    ( cat <<\_ASBOX
     9924## ----------------------------------- ##
     9925## Report this to rappture@nanohub.org ##
     9926## ----------------------------------- ##
     9927_ASBOX
     9928     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9929    ;;
     9930esac
     9931{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9932$as_echo_n "checking for $ac_header... " >&6; }
     9933if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9934  $as_echo_n "(cached) " >&6
     9935else
     9936  eval "$as_ac_Header=\$ac_header_preproc"
     9937fi
     9938ac_res=`eval 'as_val=${'$as_ac_Header'}
     9939                 $as_echo "$as_val"'`
     9940               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9941$as_echo "$ac_res" >&6; }
     9942
     9943fi
     9944as_val=`eval 'as_val=${'$as_ac_Header'}
     9945                 $as_echo "$as_val"'`
     9946   if test "x$as_val" = x""yes; then
    54429947  cat >>confdefs.h <<_ACEOF
    5443 #define HAVE_UNISTD_H 1
    5444 _ACEOF
    5445 
    5446 else
    5447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     9948#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9949_ACEOF
     9950
     9951else
     9952  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    54489953$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    54499954fi
     
    54529957
    54539958
     9959
    54549960for ac_header in inttypes.h
    5455 do :
    5456   ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
    5457 if test "x$ac_cv_header_inttypes_h" = xyes; then :
     9961do
     9962as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9963if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9964  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9965$as_echo_n "checking for $ac_header... " >&6; }
     9966if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9967  $as_echo_n "(cached) " >&6
     9968fi
     9969ac_res=`eval 'as_val=${'$as_ac_Header'}
     9970                 $as_echo "$as_val"'`
     9971               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9972$as_echo "$ac_res" >&6; }
     9973else
     9974  # Is the header compilable?
     9975{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9976$as_echo_n "checking $ac_header usability... " >&6; }
     9977cat >conftest.$ac_ext <<_ACEOF
     9978/* confdefs.h.  */
     9979_ACEOF
     9980cat confdefs.h >>conftest.$ac_ext
     9981cat >>conftest.$ac_ext <<_ACEOF
     9982/* end confdefs.h.  */
     9983$ac_includes_default
     9984#include <$ac_header>
     9985_ACEOF
     9986rm -f conftest.$ac_objext
     9987if { (ac_try="$ac_compile"
     9988case "(($ac_try" in
     9989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9990  *) ac_try_echo=$ac_try;;
     9991esac
     9992eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9993$as_echo "$ac_try_echo") >&5
     9994  (eval "$ac_compile") 2>conftest.er1
     9995  ac_status=$?
     9996  grep -v '^ *+' conftest.er1 >conftest.err
     9997  rm -f conftest.er1
     9998  cat conftest.err >&5
     9999  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10000  (exit $ac_status); } && {
     10001         test -z "$ac_cxx_werror_flag" ||
     10002         test ! -s conftest.err
     10003       } && test -s conftest.$ac_objext; then
     10004  ac_header_compiler=yes
     10005else
     10006  $as_echo "$as_me: failed program was:" >&5
     10007sed 's/^/| /' conftest.$ac_ext >&5
     10008
     10009        ac_header_compiler=no
     10010fi
     10011
     10012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10013{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     10014$as_echo "$ac_header_compiler" >&6; }
     10015
     10016# Is the header present?
     10017{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     10018$as_echo_n "checking $ac_header presence... " >&6; }
     10019cat >conftest.$ac_ext <<_ACEOF
     10020/* confdefs.h.  */
     10021_ACEOF
     10022cat confdefs.h >>conftest.$ac_ext
     10023cat >>conftest.$ac_ext <<_ACEOF
     10024/* end confdefs.h.  */
     10025#include <$ac_header>
     10026_ACEOF
     10027if { (ac_try="$ac_cpp conftest.$ac_ext"
     10028case "(($ac_try" in
     10029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10030  *) ac_try_echo=$ac_try;;
     10031esac
     10032eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10033$as_echo "$ac_try_echo") >&5
     10034  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     10035  ac_status=$?
     10036  grep -v '^ *+' conftest.er1 >conftest.err
     10037  rm -f conftest.er1
     10038  cat conftest.err >&5
     10039  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10040  (exit $ac_status); } >/dev/null && {
     10041         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     10042         test ! -s conftest.err
     10043       }; then
     10044  ac_header_preproc=yes
     10045else
     10046  $as_echo "$as_me: failed program was:" >&5
     10047sed 's/^/| /' conftest.$ac_ext >&5
     10048
     10049  ac_header_preproc=no
     10050fi
     10051
     10052rm -f conftest.err conftest.$ac_ext
     10053{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     10054$as_echo "$ac_header_preproc" >&6; }
     10055
     10056# So?  What about this header?
     10057case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     10058  yes:no: )
     10059    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     10060$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     10061    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     10062$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     10063    ac_header_preproc=yes
     10064    ;;
     10065  no:yes:* )
     10066    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     10067$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     10068    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     10069$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     10070    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     10071$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     10072    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     10073$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     10074    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     10075$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     10076    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     10077$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     10078    ( cat <<\_ASBOX
     10079## ----------------------------------- ##
     10080## Report this to rappture@nanohub.org ##
     10081## ----------------------------------- ##
     10082_ASBOX
     10083     ) | sed "s/^/$as_me: WARNING:     /" >&2
     10084    ;;
     10085esac
     10086{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     10087$as_echo_n "checking for $ac_header... " >&6; }
     10088if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     10089  $as_echo_n "(cached) " >&6
     10090else
     10091  eval "$as_ac_Header=\$ac_header_preproc"
     10092fi
     10093ac_res=`eval 'as_val=${'$as_ac_Header'}
     10094                 $as_echo "$as_val"'`
     10095               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     10096$as_echo "$ac_res" >&6; }
     10097
     10098fi
     10099as_val=`eval 'as_val=${'$as_ac_Header'}
     10100                 $as_echo "$as_val"'`
     10101   if test "x$as_val" = x""yes; then
    545810102  cat >>confdefs.h <<_ACEOF
    5459 #define HAVE_INTTYPES_H 1
    5460 _ACEOF
    5461 
    5462 else
    5463   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     10103#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     10104_ACEOF
     10105
     10106else
     10107  { $as_echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    546410108$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    546510109fi
     
    547810122    # Step 0.a: Enable 64 bit support?
    547910123
    5480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     10124    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    548110125$as_echo_n "checking if 64bit support is requested... " >&6; }
    548210126    # Check whether --enable-64bit was given.
    5483 if test "${enable_64bit+set}" = set; then :
     10127if test "${enable_64bit+set}" = set; then
    548410128  enableval=$enable_64bit; do64bit=$enableval
    548510129else
     
    548710131fi
    548810132
    5489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     10133    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    549010134$as_echo "$do64bit" >&6; }
    549110135
    549210136    # Step 0.b: Enable Solaris 64 bit VIS support?
    549310137
    5494     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     10138    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    549510139$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    549610140    # Check whether --enable-64bit-vis was given.
    5497 if test "${enable_64bit_vis+set}" = set; then :
     10141if test "${enable_64bit_vis+set}" = set; then
    549810142  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    549910143else
     
    550110145fi
    550210146
    5503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     10147    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    550410148$as_echo "$do64bitVIS" >&6; }
    550510149
     
    551310157
    551410158
    5515     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     10159    { $as_echo "$as_me:$LINENO: checking system version" >&5
    551610160$as_echo_n "checking system version... " >&6; }
    5517 if ${tcl_cv_sys_version+:} false; then :
     10161if test "${tcl_cv_sys_version+set}" = set; then
    551810162  $as_echo_n "(cached) " >&6
    551910163else
     
    552410168            tcl_cv_sys_version=`uname -s`-`uname -r`
    552510169            if test "$?" -ne 0 ; then
    5526                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     10170                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    552710171$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    552810172                tcl_cv_sys_version=unknown
     
    554110185
    554210186fi
    5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     10187{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    554410188$as_echo "$tcl_cv_sys_version" >&6; }
    554510189    system=$tcl_cv_sys_version
     
    554910193    # Linux can use either -ldl or -ldld for dynamic loading.
    555010194
    5551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     10195    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    555210196$as_echo_n "checking for dlopen in -ldl... " >&6; }
    5553 if ${ac_cv_lib_dl_dlopen+:} false; then :
     10197if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    555410198  $as_echo_n "(cached) " >&6
    555510199else
    555610200  ac_check_lib_save_LIBS=$LIBS
    555710201LIBS="-ldl  $LIBS"
    5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10202cat >conftest.$ac_ext <<_ACEOF
     10203/* confdefs.h.  */
     10204_ACEOF
     10205cat confdefs.h >>conftest.$ac_ext
     10206cat >>conftest.$ac_ext <<_ACEOF
    555910207/* end confdefs.h.  */
    556010208
     
    557410222}
    557510223_ACEOF
    5576 if ac_fn_cxx_try_link "$LINENO"; then :
     10224rm -f conftest.$ac_objext conftest$ac_exeext
     10225if { (ac_try="$ac_link"
     10226case "(($ac_try" in
     10227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10228  *) ac_try_echo=$ac_try;;
     10229esac
     10230eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10231$as_echo "$ac_try_echo") >&5
     10232  (eval "$ac_link") 2>conftest.er1
     10233  ac_status=$?
     10234  grep -v '^ *+' conftest.er1 >conftest.err
     10235  rm -f conftest.er1
     10236  cat conftest.err >&5
     10237  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10238  (exit $ac_status); } && {
     10239         test -z "$ac_cxx_werror_flag" ||
     10240         test ! -s conftest.err
     10241       } && test -s conftest$ac_exeext && {
     10242         test "$cross_compiling" = yes ||
     10243         $as_test_x conftest$ac_exeext
     10244       }; then
    557710245  ac_cv_lib_dl_dlopen=yes
    557810246else
    5579   ac_cv_lib_dl_dlopen=no
    5580 fi
    5581 rm -f core conftest.err conftest.$ac_objext \
    5582     conftest$ac_exeext conftest.$ac_ext
     10247  $as_echo "$as_me: failed program was:" >&5
     10248sed 's/^/| /' conftest.$ac_ext >&5
     10249
     10250        ac_cv_lib_dl_dlopen=no
     10251fi
     10252
     10253rm -rf conftest.dSYM
     10254rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     10255      conftest$ac_exeext conftest.$ac_ext
    558310256LIBS=$ac_check_lib_save_LIBS
    558410257fi
    5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     10258{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    558610259$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    5587 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     10260if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    558810261  have_dl=yes
    558910262else
     
    561710290    # Extract the first word of "ar", so it can be a program name with args.
    561810291set dummy ar; ac_word=$2
    5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     10292{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    562010293$as_echo_n "checking for $ac_word... " >&6; }
    5621 if ${ac_cv_prog_AR+:} false; then :
     10294if test "${ac_cv_prog_AR+set}" = set; then
    562210295  $as_echo_n "(cached) " >&6
    562310296else
     
    563010303  IFS=$as_save_IFS
    563110304  test -z "$as_dir" && as_dir=.
    5632     for ac_exec_ext in '' $ac_executable_extensions; do
    5633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     10305  for ac_exec_ext in '' $ac_executable_extensions; do
     10306  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    563410307    ac_cv_prog_AR="ar"
    5635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     10308    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    563610309    break 2
    563710310  fi
    563810311done
    5639   done
     10312done
    564010313IFS=$as_save_IFS
    564110314
     
    564410317AR=$ac_cv_prog_AR
    564510318if test -n "$AR"; then
    5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     10319  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    564710320$as_echo "$AR" >&6; }
    564810321else
    5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10322  { $as_echo "$as_me:$LINENO: result: no" >&5
    565010323$as_echo "no" >&6; }
    565110324fi
     
    565310326
    565410327    if test "${AR}" = "" ; then
    5655         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     10328        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     10329$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     10330   { (exit 1); exit 1; }; }
    565610331    fi
    565710332    STLIB_LD='${AR} cr'
     
    567110346                        ;;
    567210347                esac
    5673                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     10348                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    567410349$as_echo "Using $CC for compiling with threads" >&6; }
    567510350            fi
     
    568710362            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    568810363                if test "$GCC" = "yes" ; then
    5689                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     10364                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    569010365$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    569110366                else
     
    574210417            # known GMT value.
    574310418
    5744             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     10419            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    574510420$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    5746 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     10421if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    574710422  $as_echo_n "(cached) " >&6
    574810423else
    574910424  ac_check_lib_save_LIBS=$LIBS
    575010425LIBS="-lbsd  $LIBS"
    5751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10426cat >conftest.$ac_ext <<_ACEOF
     10427/* confdefs.h.  */
     10428_ACEOF
     10429cat confdefs.h >>conftest.$ac_ext
     10430cat >>conftest.$ac_ext <<_ACEOF
    575210431/* end confdefs.h.  */
    575310432
     
    576710446}
    576810447_ACEOF
    5769 if ac_fn_cxx_try_link "$LINENO"; then :
     10448rm -f conftest.$ac_objext conftest$ac_exeext
     10449if { (ac_try="$ac_link"
     10450case "(($ac_try" in
     10451  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10452  *) ac_try_echo=$ac_try;;
     10453esac
     10454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10455$as_echo "$ac_try_echo") >&5
     10456  (eval "$ac_link") 2>conftest.er1
     10457  ac_status=$?
     10458  grep -v '^ *+' conftest.er1 >conftest.err
     10459  rm -f conftest.er1
     10460  cat conftest.err >&5
     10461  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10462  (exit $ac_status); } && {
     10463         test -z "$ac_cxx_werror_flag" ||
     10464         test ! -s conftest.err
     10465       } && test -s conftest$ac_exeext && {
     10466         test "$cross_compiling" = yes ||
     10467         $as_test_x conftest$ac_exeext
     10468       }; then
    577010469  ac_cv_lib_bsd_gettimeofday=yes
    577110470else
    5772   ac_cv_lib_bsd_gettimeofday=no
    5773 fi
    5774 rm -f core conftest.err conftest.$ac_objext \
    5775     conftest$ac_exeext conftest.$ac_ext
     10471  $as_echo "$as_me: failed program was:" >&5
     10472sed 's/^/| /' conftest.$ac_ext >&5
     10473
     10474        ac_cv_lib_bsd_gettimeofday=no
     10475fi
     10476
     10477rm -rf conftest.dSYM
     10478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     10479      conftest$ac_exeext conftest.$ac_ext
    577610480LIBS=$ac_check_lib_save_LIBS
    577710481fi
    5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     10482{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    577910483$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    5780 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     10484if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    578110485  libbsd=yes
    578210486else
     
    578610490            if test $libbsd = yes; then
    578710491                MATH_LIBS="$MATH_LIBS -lbsd"
    5788                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     10492                cat >>confdefs.h <<\_ACEOF
     10493#define USE_DELTA_FOR_TZ 1
     10494_ACEOF
    578910495
    579010496            fi
     
    580310509            # is always linked to, for compatibility.
    580410510            #-----------------------------------------------------------
    5805             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     10511            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    580610512$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    5807 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     10513if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    580810514  $as_echo_n "(cached) " >&6
    580910515else
    581010516  ac_check_lib_save_LIBS=$LIBS
    581110517LIBS="-lbind  $LIBS"
    5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10518cat >conftest.$ac_ext <<_ACEOF
     10519/* confdefs.h.  */
     10520_ACEOF
     10521cat confdefs.h >>conftest.$ac_ext
     10522cat >>conftest.$ac_ext <<_ACEOF
    581310523/* end confdefs.h.  */
    581410524
     
    582810538}
    582910539_ACEOF
    5830 if ac_fn_cxx_try_link "$LINENO"; then :
     10540rm -f conftest.$ac_objext conftest$ac_exeext
     10541if { (ac_try="$ac_link"
     10542case "(($ac_try" in
     10543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10544  *) ac_try_echo=$ac_try;;
     10545esac
     10546eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10547$as_echo "$ac_try_echo") >&5
     10548  (eval "$ac_link") 2>conftest.er1
     10549  ac_status=$?
     10550  grep -v '^ *+' conftest.er1 >conftest.err
     10551  rm -f conftest.er1
     10552  cat conftest.err >&5
     10553  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10554  (exit $ac_status); } && {
     10555         test -z "$ac_cxx_werror_flag" ||
     10556         test ! -s conftest.err
     10557       } && test -s conftest$ac_exeext && {
     10558         test "$cross_compiling" = yes ||
     10559         $as_test_x conftest$ac_exeext
     10560       }; then
    583110561  ac_cv_lib_bind_inet_ntoa=yes
    583210562else
    5833   ac_cv_lib_bind_inet_ntoa=no
    5834 fi
    5835 rm -f core conftest.err conftest.$ac_objext \
    5836     conftest$ac_exeext conftest.$ac_ext
     10563  $as_echo "$as_me: failed program was:" >&5
     10564sed 's/^/| /' conftest.$ac_ext >&5
     10565
     10566        ac_cv_lib_bind_inet_ntoa=no
     10567fi
     10568
     10569rm -rf conftest.dSYM
     10570rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     10571      conftest$ac_exeext conftest.$ac_ext
    583710572LIBS=$ac_check_lib_save_LIBS
    583810573fi
    5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     10574{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    584010575$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    5841 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     10576if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    584210577  LIBS="$LIBS -lbind -lsocket"
    584310578fi
     
    587710612        HP-UX-*.11.*)
    587810613            # Use updated header definitions where possible
    5879             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     10614            cat >>confdefs.h <<\_ACEOF
     10615#define _XOPEN_SOURCE 1
     10616_ACEOF
    588010617          # Use the XOPEN network library
    5881             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     10618            cat >>confdefs.h <<\_ACEOF
     10619#define _XOPEN_SOURCE_EXTENDED 1
     10620_ACEOF
    588210621 # Use the XOPEN network library
    588310622            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    588810627                SHLIB_SUFFIX=".sl"
    588910628            fi
    5890             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     10629            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    589110630$as_echo_n "checking for shl_load in -ldld... " >&6; }
    5892 if ${ac_cv_lib_dld_shl_load+:} false; then :
     10631if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    589310632  $as_echo_n "(cached) " >&6
    589410633else
    589510634  ac_check_lib_save_LIBS=$LIBS
    589610635LIBS="-ldld  $LIBS"
    5897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10636cat >conftest.$ac_ext <<_ACEOF
     10637/* confdefs.h.  */
     10638_ACEOF
     10639cat confdefs.h >>conftest.$ac_ext
     10640cat >>conftest.$ac_ext <<_ACEOF
    589810641/* end confdefs.h.  */
    589910642
     
    591310656}
    591410657_ACEOF
    5915 if ac_fn_cxx_try_link "$LINENO"; then :
     10658rm -f conftest.$ac_objext conftest$ac_exeext
     10659if { (ac_try="$ac_link"
     10660case "(($ac_try" in
     10661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10662  *) ac_try_echo=$ac_try;;
     10663esac
     10664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10665$as_echo "$ac_try_echo") >&5
     10666  (eval "$ac_link") 2>conftest.er1
     10667  ac_status=$?
     10668  grep -v '^ *+' conftest.er1 >conftest.err
     10669  rm -f conftest.er1
     10670  cat conftest.err >&5
     10671  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10672  (exit $ac_status); } && {
     10673         test -z "$ac_cxx_werror_flag" ||
     10674         test ! -s conftest.err
     10675       } && test -s conftest$ac_exeext && {
     10676         test "$cross_compiling" = yes ||
     10677         $as_test_x conftest$ac_exeext
     10678       }; then
    591610679  ac_cv_lib_dld_shl_load=yes
    591710680else
    5918   ac_cv_lib_dld_shl_load=no
    5919 fi
    5920 rm -f core conftest.err conftest.$ac_objext \
    5921     conftest$ac_exeext conftest.$ac_ext
     10681  $as_echo "$as_me: failed program was:" >&5
     10682sed 's/^/| /' conftest.$ac_ext >&5
     10683
     10684        ac_cv_lib_dld_shl_load=no
     10685fi
     10686
     10687rm -rf conftest.dSYM
     10688rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     10689      conftest$ac_exeext conftest.$ac_ext
    592210690LIBS=$ac_check_lib_save_LIBS
    592310691fi
    5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     10692{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    592510693$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    5926 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     10694if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    592710695  tcl_ok=yes
    592810696else
     
    596410732                            ;;
    596510733                        *)
    5966                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     10734                            { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    596710735$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    596810736                            ;;
     
    597710745        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    597810746            SHLIB_SUFFIX=".sl"
    5979             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     10747            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    598010748$as_echo_n "checking for shl_load in -ldld... " >&6; }
    5981 if ${ac_cv_lib_dld_shl_load+:} false; then :
     10749if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    598210750  $as_echo_n "(cached) " >&6
    598310751else
    598410752  ac_check_lib_save_LIBS=$LIBS
    598510753LIBS="-ldld  $LIBS"
    5986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10754cat >conftest.$ac_ext <<_ACEOF
     10755/* confdefs.h.  */
     10756_ACEOF
     10757cat confdefs.h >>conftest.$ac_ext
     10758cat >>conftest.$ac_ext <<_ACEOF
    598710759/* end confdefs.h.  */
    598810760
     
    600210774}
    600310775_ACEOF
    6004 if ac_fn_cxx_try_link "$LINENO"; then :
     10776rm -f conftest.$ac_objext conftest$ac_exeext
     10777if { (ac_try="$ac_link"
     10778case "(($ac_try" in
     10779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10780  *) ac_try_echo=$ac_try;;
     10781esac
     10782eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10783$as_echo "$ac_try_echo") >&5
     10784  (eval "$ac_link") 2>conftest.er1
     10785  ac_status=$?
     10786  grep -v '^ *+' conftest.er1 >conftest.err
     10787  rm -f conftest.er1
     10788  cat conftest.err >&5
     10789  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10790  (exit $ac_status); } && {
     10791         test -z "$ac_cxx_werror_flag" ||
     10792         test ! -s conftest.err
     10793       } && test -s conftest$ac_exeext && {
     10794         test "$cross_compiling" = yes ||
     10795         $as_test_x conftest$ac_exeext
     10796       }; then
    600510797  ac_cv_lib_dld_shl_load=yes
    600610798else
    6007   ac_cv_lib_dld_shl_load=no
    6008 fi
    6009 rm -f core conftest.err conftest.$ac_objext \
    6010     conftest$ac_exeext conftest.$ac_ext
     10799  $as_echo "$as_me: failed program was:" >&5
     10800sed 's/^/| /' conftest.$ac_ext >&5
     10801
     10802        ac_cv_lib_dld_shl_load=no
     10803fi
     10804
     10805rm -rf conftest.dSYM
     10806rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     10807      conftest$ac_exeext conftest.$ac_ext
    601110808LIBS=$ac_check_lib_save_LIBS
    601210809fi
    6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     10810{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    601410811$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    6015 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     10812if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    601610813  tcl_ok=yes
    601710814else
     
    609210889            if test "$do64bit" = "yes" ; then
    609310890                if test "$GCC" = "yes" ; then
    6094                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     10891                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    609510892$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    609610893                else
     
    612110918                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    612210919            else
    6123                 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    6124 if test "x$ac_cv_header_dld_h" = xyes; then :
     10920                if test "${ac_cv_header_dld_h+set}" = set; then
     10921  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     10922$as_echo_n "checking for dld.h... " >&6; }
     10923if test "${ac_cv_header_dld_h+set}" = set; then
     10924  $as_echo_n "(cached) " >&6
     10925fi
     10926{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     10927$as_echo "$ac_cv_header_dld_h" >&6; }
     10928else
     10929  # Is the header compilable?
     10930{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     10931$as_echo_n "checking dld.h usability... " >&6; }
     10932cat >conftest.$ac_ext <<_ACEOF
     10933/* confdefs.h.  */
     10934_ACEOF
     10935cat confdefs.h >>conftest.$ac_ext
     10936cat >>conftest.$ac_ext <<_ACEOF
     10937/* end confdefs.h.  */
     10938$ac_includes_default
     10939#include <dld.h>
     10940_ACEOF
     10941rm -f conftest.$ac_objext
     10942if { (ac_try="$ac_compile"
     10943case "(($ac_try" in
     10944  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10945  *) ac_try_echo=$ac_try;;
     10946esac
     10947eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10948$as_echo "$ac_try_echo") >&5
     10949  (eval "$ac_compile") 2>conftest.er1
     10950  ac_status=$?
     10951  grep -v '^ *+' conftest.er1 >conftest.err
     10952  rm -f conftest.er1
     10953  cat conftest.err >&5
     10954  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10955  (exit $ac_status); } && {
     10956         test -z "$ac_cxx_werror_flag" ||
     10957         test ! -s conftest.err
     10958       } && test -s conftest.$ac_objext; then
     10959  ac_header_compiler=yes
     10960else
     10961  $as_echo "$as_me: failed program was:" >&5
     10962sed 's/^/| /' conftest.$ac_ext >&5
     10963
     10964        ac_header_compiler=no
     10965fi
     10966
     10967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10968{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     10969$as_echo "$ac_header_compiler" >&6; }
     10970
     10971# Is the header present?
     10972{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     10973$as_echo_n "checking dld.h presence... " >&6; }
     10974cat >conftest.$ac_ext <<_ACEOF
     10975/* confdefs.h.  */
     10976_ACEOF
     10977cat confdefs.h >>conftest.$ac_ext
     10978cat >>conftest.$ac_ext <<_ACEOF
     10979/* end confdefs.h.  */
     10980#include <dld.h>
     10981_ACEOF
     10982if { (ac_try="$ac_cpp conftest.$ac_ext"
     10983case "(($ac_try" in
     10984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10985  *) ac_try_echo=$ac_try;;
     10986esac
     10987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10988$as_echo "$ac_try_echo") >&5
     10989  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     10990  ac_status=$?
     10991  grep -v '^ *+' conftest.er1 >conftest.err
     10992  rm -f conftest.er1
     10993  cat conftest.err >&5
     10994  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10995  (exit $ac_status); } >/dev/null && {
     10996         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     10997         test ! -s conftest.err
     10998       }; then
     10999  ac_header_preproc=yes
     11000else
     11001  $as_echo "$as_me: failed program was:" >&5
     11002sed 's/^/| /' conftest.$ac_ext >&5
     11003
     11004  ac_header_preproc=no
     11005fi
     11006
     11007rm -f conftest.err conftest.$ac_ext
     11008{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11009$as_echo "$ac_header_preproc" >&6; }
     11010
     11011# So?  What about this header?
     11012case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11013  yes:no: )
     11014    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11015$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11016    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     11017$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     11018    ac_header_preproc=yes
     11019    ;;
     11020  no:yes:* )
     11021    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     11022$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     11023    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     11024$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     11025    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     11026$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     11027    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     11028$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11029    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     11030$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     11031    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     11032$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     11033    ( cat <<\_ASBOX
     11034## ----------------------------------- ##
     11035## Report this to rappture@nanohub.org ##
     11036## ----------------------------------- ##
     11037_ASBOX
     11038     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11039    ;;
     11040esac
     11041{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     11042$as_echo_n "checking for dld.h... " >&6; }
     11043if test "${ac_cv_header_dld_h+set}" = set; then
     11044  $as_echo_n "(cached) " >&6
     11045else
     11046  ac_cv_header_dld_h=$ac_header_preproc
     11047fi
     11048{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     11049$as_echo "$ac_cv_header_dld_h" >&6; }
     11050
     11051fi
     11052if test "x$ac_cv_header_dld_h" = x""yes; then
    612511053
    612611054                    SHLIB_LD="ld -shared"
     
    613711065            fi
    613811066            if test $do64bit = yes; then
    6139                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     11067                { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    614011068$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    6141 if ${tcl_cv_cc_m64+:} false; then :
     11069if test "${tcl_cv_cc_m64+set}" = set; then
    614211070  $as_echo_n "(cached) " >&6
    614311071else
     
    614511073                    hold_cflags=$CFLAGS
    614611074                    CFLAGS="$CFLAGS -m64"
    6147                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11075                    cat >conftest.$ac_ext <<_ACEOF
     11076/* confdefs.h.  */
     11077_ACEOF
     11078cat confdefs.h >>conftest.$ac_ext
     11079cat >>conftest.$ac_ext <<_ACEOF
    614811080/* end confdefs.h.  */
    614911081
     
    615611088}
    615711089_ACEOF
    6158 if ac_fn_cxx_try_link "$LINENO"; then :
     11090rm -f conftest.$ac_objext conftest$ac_exeext
     11091if { (ac_try="$ac_link"
     11092case "(($ac_try" in
     11093  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11094  *) ac_try_echo=$ac_try;;
     11095esac
     11096eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11097$as_echo "$ac_try_echo") >&5
     11098  (eval "$ac_link") 2>conftest.er1
     11099  ac_status=$?
     11100  grep -v '^ *+' conftest.er1 >conftest.err
     11101  rm -f conftest.er1
     11102  cat conftest.err >&5
     11103  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11104  (exit $ac_status); } && {
     11105         test -z "$ac_cxx_werror_flag" ||
     11106         test ! -s conftest.err
     11107       } && test -s conftest$ac_exeext && {
     11108         test "$cross_compiling" = yes ||
     11109         $as_test_x conftest$ac_exeext
     11110       }; then
    615911111  tcl_cv_cc_m64=yes
    616011112else
    6161   tcl_cv_cc_m64=no
    6162 fi
    6163 rm -f core conftest.err conftest.$ac_objext \
    6164     conftest$ac_exeext conftest.$ac_ext
     11113  $as_echo "$as_me: failed program was:" >&5
     11114sed 's/^/| /' conftest.$ac_ext >&5
     11115
     11116        tcl_cv_cc_m64=no
     11117fi
     11118
     11119rm -rf conftest.dSYM
     11120rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     11121      conftest$ac_exeext conftest.$ac_ext
    616511122                    CFLAGS=$hold_cflags
    616611123fi
    6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     11124{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    616811125$as_echo "$tcl_cv_cc_m64" >&6; }
    616911126                if test $tcl_cv_cc_m64 = yes; then
     
    618511142
    618611143            # XIM peeking works under XFree86.
    6187             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
     11144            cat >>confdefs.h <<\_ACEOF
     11145#define PEEK_XCLOSEIM 1
     11146_ACEOF
    618811147
    618911148
     
    620211161                LD_SEARCH_FLAGS=""
    620311162            else
    6204                 ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    6205 if test "x$ac_cv_header_dld_h" = xyes; then :
     11163                if test "${ac_cv_header_dld_h+set}" = set; then
     11164  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     11165$as_echo_n "checking for dld.h... " >&6; }
     11166if test "${ac_cv_header_dld_h+set}" = set; then
     11167  $as_echo_n "(cached) " >&6
     11168fi
     11169{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     11170$as_echo "$ac_cv_header_dld_h" >&6; }
     11171else
     11172  # Is the header compilable?
     11173{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     11174$as_echo_n "checking dld.h usability... " >&6; }
     11175cat >conftest.$ac_ext <<_ACEOF
     11176/* confdefs.h.  */
     11177_ACEOF
     11178cat confdefs.h >>conftest.$ac_ext
     11179cat >>conftest.$ac_ext <<_ACEOF
     11180/* end confdefs.h.  */
     11181$ac_includes_default
     11182#include <dld.h>
     11183_ACEOF
     11184rm -f conftest.$ac_objext
     11185if { (ac_try="$ac_compile"
     11186case "(($ac_try" in
     11187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11188  *) ac_try_echo=$ac_try;;
     11189esac
     11190eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11191$as_echo "$ac_try_echo") >&5
     11192  (eval "$ac_compile") 2>conftest.er1
     11193  ac_status=$?
     11194  grep -v '^ *+' conftest.er1 >conftest.err
     11195  rm -f conftest.er1
     11196  cat conftest.err >&5
     11197  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11198  (exit $ac_status); } && {
     11199         test -z "$ac_cxx_werror_flag" ||
     11200         test ! -s conftest.err
     11201       } && test -s conftest.$ac_objext; then
     11202  ac_header_compiler=yes
     11203else
     11204  $as_echo "$as_me: failed program was:" >&5
     11205sed 's/^/| /' conftest.$ac_ext >&5
     11206
     11207        ac_header_compiler=no
     11208fi
     11209
     11210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11211{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11212$as_echo "$ac_header_compiler" >&6; }
     11213
     11214# Is the header present?
     11215{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     11216$as_echo_n "checking dld.h presence... " >&6; }
     11217cat >conftest.$ac_ext <<_ACEOF
     11218/* confdefs.h.  */
     11219_ACEOF
     11220cat confdefs.h >>conftest.$ac_ext
     11221cat >>conftest.$ac_ext <<_ACEOF
     11222/* end confdefs.h.  */
     11223#include <dld.h>
     11224_ACEOF
     11225if { (ac_try="$ac_cpp conftest.$ac_ext"
     11226case "(($ac_try" in
     11227  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11228  *) ac_try_echo=$ac_try;;
     11229esac
     11230eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11231$as_echo "$ac_try_echo") >&5
     11232  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11233  ac_status=$?
     11234  grep -v '^ *+' conftest.er1 >conftest.err
     11235  rm -f conftest.er1
     11236  cat conftest.err >&5
     11237  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11238  (exit $ac_status); } >/dev/null && {
     11239         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11240         test ! -s conftest.err
     11241       }; then
     11242  ac_header_preproc=yes
     11243else
     11244  $as_echo "$as_me: failed program was:" >&5
     11245sed 's/^/| /' conftest.$ac_ext >&5
     11246
     11247  ac_header_preproc=no
     11248fi
     11249
     11250rm -f conftest.err conftest.$ac_ext
     11251{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11252$as_echo "$ac_header_preproc" >&6; }
     11253
     11254# So?  What about this header?
     11255case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11256  yes:no: )
     11257    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11258$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11259    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     11260$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     11261    ac_header_preproc=yes
     11262    ;;
     11263  no:yes:* )
     11264    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     11265$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     11266    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     11267$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     11268    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     11269$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     11270    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     11271$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11272    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     11273$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     11274    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     11275$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     11276    ( cat <<\_ASBOX
     11277## ----------------------------------- ##
     11278## Report this to rappture@nanohub.org ##
     11279## ----------------------------------- ##
     11280_ASBOX
     11281     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11282    ;;
     11283esac
     11284{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     11285$as_echo_n "checking for dld.h... " >&6; }
     11286if test "${ac_cv_header_dld_h+set}" = set; then
     11287  $as_echo_n "(cached) " >&6
     11288else
     11289  ac_cv_header_dld_h=$ac_header_preproc
     11290fi
     11291{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     11292$as_echo "$ac_cv_header_dld_h" >&6; }
     11293
     11294fi
     11295if test "x$ac_cv_header_dld_h" = x""yes; then
    620611296
    620711297                    SHLIB_LD="ld -shared"
     
    625311343        NetBSD-*|FreeBSD-[1-2].*)
    625411344            # Not available on all versions:  check for include file.
    6255             ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    6256 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     11345            if test "${ac_cv_header_dlfcn_h+set}" = set; then
     11346  { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     11347$as_echo_n "checking for dlfcn.h... " >&6; }
     11348if test "${ac_cv_header_dlfcn_h+set}" = set; then
     11349  $as_echo_n "(cached) " >&6
     11350fi
     11351{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     11352$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     11353else
     11354  # Is the header compilable?
     11355{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     11356$as_echo_n "checking dlfcn.h usability... " >&6; }
     11357cat >conftest.$ac_ext <<_ACEOF
     11358/* confdefs.h.  */
     11359_ACEOF
     11360cat confdefs.h >>conftest.$ac_ext
     11361cat >>conftest.$ac_ext <<_ACEOF
     11362/* end confdefs.h.  */
     11363$ac_includes_default
     11364#include <dlfcn.h>
     11365_ACEOF
     11366rm -f conftest.$ac_objext
     11367if { (ac_try="$ac_compile"
     11368case "(($ac_try" in
     11369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11370  *) ac_try_echo=$ac_try;;
     11371esac
     11372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11373$as_echo "$ac_try_echo") >&5
     11374  (eval "$ac_compile") 2>conftest.er1
     11375  ac_status=$?
     11376  grep -v '^ *+' conftest.er1 >conftest.err
     11377  rm -f conftest.er1
     11378  cat conftest.err >&5
     11379  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11380  (exit $ac_status); } && {
     11381         test -z "$ac_cxx_werror_flag" ||
     11382         test ! -s conftest.err
     11383       } && test -s conftest.$ac_objext; then
     11384  ac_header_compiler=yes
     11385else
     11386  $as_echo "$as_me: failed program was:" >&5
     11387sed 's/^/| /' conftest.$ac_ext >&5
     11388
     11389        ac_header_compiler=no
     11390fi
     11391
     11392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11393{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11394$as_echo "$ac_header_compiler" >&6; }
     11395
     11396# Is the header present?
     11397{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     11398$as_echo_n "checking dlfcn.h presence... " >&6; }
     11399cat >conftest.$ac_ext <<_ACEOF
     11400/* confdefs.h.  */
     11401_ACEOF
     11402cat confdefs.h >>conftest.$ac_ext
     11403cat >>conftest.$ac_ext <<_ACEOF
     11404/* end confdefs.h.  */
     11405#include <dlfcn.h>
     11406_ACEOF
     11407if { (ac_try="$ac_cpp conftest.$ac_ext"
     11408case "(($ac_try" in
     11409  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11410  *) ac_try_echo=$ac_try;;
     11411esac
     11412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11413$as_echo "$ac_try_echo") >&5
     11414  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11415  ac_status=$?
     11416  grep -v '^ *+' conftest.er1 >conftest.err
     11417  rm -f conftest.er1
     11418  cat conftest.err >&5
     11419  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11420  (exit $ac_status); } >/dev/null && {
     11421         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11422         test ! -s conftest.err
     11423       }; then
     11424  ac_header_preproc=yes
     11425else
     11426  $as_echo "$as_me: failed program was:" >&5
     11427sed 's/^/| /' conftest.$ac_ext >&5
     11428
     11429  ac_header_preproc=no
     11430fi
     11431
     11432rm -f conftest.err conftest.$ac_ext
     11433{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11434$as_echo "$ac_header_preproc" >&6; }
     11435
     11436# So?  What about this header?
     11437case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11438  yes:no: )
     11439    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11440$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11441    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     11442$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     11443    ac_header_preproc=yes
     11444    ;;
     11445  no:yes:* )
     11446    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     11447$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     11448    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     11449$as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     11450    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     11451$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     11452    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     11453$as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11454    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     11455$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     11456    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     11457$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     11458    ( cat <<\_ASBOX
     11459## ----------------------------------- ##
     11460## Report this to rappture@nanohub.org ##
     11461## ----------------------------------- ##
     11462_ASBOX
     11463     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11464    ;;
     11465esac
     11466{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     11467$as_echo_n "checking for dlfcn.h... " >&6; }
     11468if test "${ac_cv_header_dlfcn_h+set}" = set; then
     11469  $as_echo_n "(cached) " >&6
     11470else
     11471  ac_cv_header_dlfcn_h=$ac_header_preproc
     11472fi
     11473{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     11474$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     11475
     11476fi
     11477if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    625711478
    625811479                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    626511486                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    626611487                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    6267                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     11488                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    626811489$as_echo_n "checking for ELF... " >&6; }
    6269 if ${tcl_cv_ld_elf+:} false; then :
     11490if test "${tcl_cv_ld_elf+set}" = set; then
    627011491  $as_echo_n "(cached) " >&6
    627111492else
    627211493
    6273                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11494                    cat >conftest.$ac_ext <<_ACEOF
     11495/* confdefs.h.  */
     11496_ACEOF
     11497cat confdefs.h >>conftest.$ac_ext
     11498cat >>conftest.$ac_ext <<_ACEOF
    627411499/* end confdefs.h.  */
    627511500
     
    628011505_ACEOF
    628111506if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6282   $EGREP "yes" >/dev/null 2>&1; then :
     11507  $EGREP "yes" >/dev/null 2>&1; then
    628311508  tcl_cv_ld_elf=yes
    628411509else
     
    628811513
    628911514fi
    6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     11515{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    629111516$as_echo "$tcl_cv_ld_elf" >&6; }
    629211517                if test $tcl_cv_ld_elf = yes; then
     
    634711572                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    634811573                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    6349                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     11574                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    635011575$as_echo_n "checking for ELF... " >&6; }
    6351 if ${tcl_cv_ld_elf+:} false; then :
     11576if test "${tcl_cv_ld_elf+set}" = set; then
    635211577  $as_echo_n "(cached) " >&6
    635311578else
    635411579
    6355                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11580                    cat >conftest.$ac_ext <<_ACEOF
     11581/* confdefs.h.  */
     11582_ACEOF
     11583cat confdefs.h >>conftest.$ac_ext
     11584cat >>conftest.$ac_ext <<_ACEOF
    635611585/* end confdefs.h.  */
    635711586
     
    636211591_ACEOF
    636311592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    6364   $EGREP "yes" >/dev/null 2>&1; then :
     11593  $EGREP "yes" >/dev/null 2>&1; then
    636511594  tcl_cv_ld_elf=yes
    636611595else
     
    637011599
    637111600fi
    6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     11601{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    637311602$as_echo "$tcl_cv_ld_elf" >&6; }
    637411603                if test $tcl_cv_ld_elf = yes; then
     
    642511654                case `arch` in
    642611655                    ppc)
    6427                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     11656                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    642811657$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    6429 if ${tcl_cv_cc_arch_ppc64+:} false; then :
     11658if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    643011659  $as_echo_n "(cached) " >&6
    643111660else
     
    643311662                            hold_cflags=$CFLAGS
    643411663                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    6435                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11664                            cat >conftest.$ac_ext <<_ACEOF
     11665/* confdefs.h.  */
     11666_ACEOF
     11667cat confdefs.h >>conftest.$ac_ext
     11668cat >>conftest.$ac_ext <<_ACEOF
    643611669/* end confdefs.h.  */
    643711670
     
    644411677}
    644511678_ACEOF
    6446 if ac_fn_cxx_try_link "$LINENO"; then :
     11679rm -f conftest.$ac_objext conftest$ac_exeext
     11680if { (ac_try="$ac_link"
     11681case "(($ac_try" in
     11682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11683  *) ac_try_echo=$ac_try;;
     11684esac
     11685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11686$as_echo "$ac_try_echo") >&5
     11687  (eval "$ac_link") 2>conftest.er1
     11688  ac_status=$?
     11689  grep -v '^ *+' conftest.er1 >conftest.err
     11690  rm -f conftest.er1
     11691  cat conftest.err >&5
     11692  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11693  (exit $ac_status); } && {
     11694         test -z "$ac_cxx_werror_flag" ||
     11695         test ! -s conftest.err
     11696       } && test -s conftest$ac_exeext && {
     11697         test "$cross_compiling" = yes ||
     11698         $as_test_x conftest$ac_exeext
     11699       }; then
    644711700  tcl_cv_cc_arch_ppc64=yes
    644811701else
    6449   tcl_cv_cc_arch_ppc64=no
    6450 fi
    6451 rm -f core conftest.err conftest.$ac_objext \
    6452     conftest$ac_exeext conftest.$ac_ext
     11702  $as_echo "$as_me: failed program was:" >&5
     11703sed 's/^/| /' conftest.$ac_ext >&5
     11704
     11705        tcl_cv_cc_arch_ppc64=no
     11706fi
     11707
     11708rm -rf conftest.dSYM
     11709rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     11710      conftest$ac_exeext conftest.$ac_ext
    645311711                            CFLAGS=$hold_cflags
    645411712fi
    6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     11713{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    645611714$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    645711715                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    646011718                        fi;;
    646111719                    i386)
    6462                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     11720                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    646311721$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    6464 if ${tcl_cv_cc_arch_x86_64+:} false; then :
     11722if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    646511723  $as_echo_n "(cached) " >&6
    646611724else
     
    646811726                            hold_cflags=$CFLAGS
    646911727                            CFLAGS="$CFLAGS -arch x86_64"
    6470                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11728                            cat >conftest.$ac_ext <<_ACEOF
     11729/* confdefs.h.  */
     11730_ACEOF
     11731cat confdefs.h >>conftest.$ac_ext
     11732cat >>conftest.$ac_ext <<_ACEOF
    647111733/* end confdefs.h.  */
    647211734
     
    647911741}
    648011742_ACEOF
    6481 if ac_fn_cxx_try_link "$LINENO"; then :
     11743rm -f conftest.$ac_objext conftest$ac_exeext
     11744if { (ac_try="$ac_link"
     11745case "(($ac_try" in
     11746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11747  *) ac_try_echo=$ac_try;;
     11748esac
     11749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11750$as_echo "$ac_try_echo") >&5
     11751  (eval "$ac_link") 2>conftest.er1
     11752  ac_status=$?
     11753  grep -v '^ *+' conftest.er1 >conftest.err
     11754  rm -f conftest.er1
     11755  cat conftest.err >&5
     11756  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11757  (exit $ac_status); } && {
     11758         test -z "$ac_cxx_werror_flag" ||
     11759         test ! -s conftest.err
     11760       } && test -s conftest$ac_exeext && {
     11761         test "$cross_compiling" = yes ||
     11762         $as_test_x conftest$ac_exeext
     11763       }; then
    648211764  tcl_cv_cc_arch_x86_64=yes
    648311765else
    6484   tcl_cv_cc_arch_x86_64=no
    6485 fi
    6486 rm -f core conftest.err conftest.$ac_objext \
    6487     conftest$ac_exeext conftest.$ac_ext
     11766  $as_echo "$as_me: failed program was:" >&5
     11767sed 's/^/| /' conftest.$ac_ext >&5
     11768
     11769        tcl_cv_cc_arch_x86_64=no
     11770fi
     11771
     11772rm -rf conftest.dSYM
     11773rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     11774      conftest$ac_exeext conftest.$ac_ext
    648811775                            CFLAGS=$hold_cflags
    648911776fi
    6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     11777{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    649111778$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    649211779                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    649511782                        fi;;
    649611783                    *)
    6497                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     11784                        { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    649811785$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    649911786                esac
     
    650511792            fi
    650611793            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    6507             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     11794            { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    650811795$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    6509 if ${tcl_cv_ld_single_module+:} false; then :
     11796if test "${tcl_cv_ld_single_module+set}" = set; then
    651011797  $as_echo_n "(cached) " >&6
    651111798else
     
    651311800                hold_ldflags=$LDFLAGS
    651411801                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    6515                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11802                cat >conftest.$ac_ext <<_ACEOF
     11803/* confdefs.h.  */
     11804_ACEOF
     11805cat confdefs.h >>conftest.$ac_ext
     11806cat >>conftest.$ac_ext <<_ACEOF
    651611807/* end confdefs.h.  */
    651711808
     
    652411815}
    652511816_ACEOF
    6526 if ac_fn_cxx_try_link "$LINENO"; then :
     11817rm -f conftest.$ac_objext conftest$ac_exeext
     11818if { (ac_try="$ac_link"
     11819case "(($ac_try" in
     11820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11821  *) ac_try_echo=$ac_try;;
     11822esac
     11823eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11824$as_echo "$ac_try_echo") >&5
     11825  (eval "$ac_link") 2>conftest.er1
     11826  ac_status=$?
     11827  grep -v '^ *+' conftest.er1 >conftest.err
     11828  rm -f conftest.er1
     11829  cat conftest.err >&5
     11830  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11831  (exit $ac_status); } && {
     11832         test -z "$ac_cxx_werror_flag" ||
     11833         test ! -s conftest.err
     11834       } && test -s conftest$ac_exeext && {
     11835         test "$cross_compiling" = yes ||
     11836         $as_test_x conftest$ac_exeext
     11837       }; then
    652711838  tcl_cv_ld_single_module=yes
    652811839else
    6529   tcl_cv_ld_single_module=no
    6530 fi
    6531 rm -f core conftest.err conftest.$ac_objext \
    6532     conftest$ac_exeext conftest.$ac_ext
     11840  $as_echo "$as_me: failed program was:" >&5
     11841sed 's/^/| /' conftest.$ac_ext >&5
     11842
     11843        tcl_cv_ld_single_module=no
     11844fi
     11845
     11846rm -rf conftest.dSYM
     11847rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     11848      conftest$ac_exeext conftest.$ac_ext
    653311849                LDFLAGS=$hold_ldflags
    653411850fi
    6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     11851{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    653611852$as_echo "$tcl_cv_ld_single_module" >&6; }
    653711853            if test $tcl_cv_ld_single_module = yes; then
     
    654711863                LDFLAGS="$LDFLAGS -prebind"
    654811864            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    6549             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     11865            { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    655011866$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    6551 if ${tcl_cv_ld_search_paths_first+:} false; then :
     11867if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    655211868  $as_echo_n "(cached) " >&6
    655311869else
     
    655511871                hold_ldflags=$LDFLAGS
    655611872                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    6557                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11873                cat >conftest.$ac_ext <<_ACEOF
     11874/* confdefs.h.  */
     11875_ACEOF
     11876cat confdefs.h >>conftest.$ac_ext
     11877cat >>conftest.$ac_ext <<_ACEOF
    655811878/* end confdefs.h.  */
    655911879
     
    656611886}
    656711887_ACEOF
    6568 if ac_fn_cxx_try_link "$LINENO"; then :
     11888rm -f conftest.$ac_objext conftest$ac_exeext
     11889if { (ac_try="$ac_link"
     11890case "(($ac_try" in
     11891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11892  *) ac_try_echo=$ac_try;;
     11893esac
     11894eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11895$as_echo "$ac_try_echo") >&5
     11896  (eval "$ac_link") 2>conftest.er1
     11897  ac_status=$?
     11898  grep -v '^ *+' conftest.er1 >conftest.err
     11899  rm -f conftest.er1
     11900  cat conftest.err >&5
     11901  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11902  (exit $ac_status); } && {
     11903         test -z "$ac_cxx_werror_flag" ||
     11904         test ! -s conftest.err
     11905       } && test -s conftest$ac_exeext && {
     11906         test "$cross_compiling" = yes ||
     11907         $as_test_x conftest$ac_exeext
     11908       }; then
    656911909  tcl_cv_ld_search_paths_first=yes
    657011910else
    6571   tcl_cv_ld_search_paths_first=no
    6572 fi
    6573 rm -f core conftest.err conftest.$ac_objext \
    6574     conftest$ac_exeext conftest.$ac_ext
     11911  $as_echo "$as_me: failed program was:" >&5
     11912sed 's/^/| /' conftest.$ac_ext >&5
     11913
     11914        tcl_cv_ld_search_paths_first=no
     11915fi
     11916
     11917rm -rf conftest.dSYM
     11918rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     11919      conftest$ac_exeext conftest.$ac_ext
    657511920                LDFLAGS=$hold_ldflags
    657611921fi
    6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     11922{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    657811923$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    657911924            if test $tcl_cv_ld_search_paths_first = yes; then
     
    658511930            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    658611931            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    6587             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     11932            { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    658811933$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    658911934            # Check whether --enable-corefoundation was given.
    6590 if test "${enable_corefoundation+set}" = set; then :
     11935if test "${enable_corefoundation+set}" = set; then
    659111936  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    659211937else
     
    659411939fi
    659511940
    6596             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     11941            { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    659711942$as_echo "$tcl_corefoundation" >&6; }
    659811943            if test $tcl_corefoundation = yes; then
    6599                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     11944                { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    660011945$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    6601 if ${tcl_cv_lib_corefoundation+:} false; then :
     11946if test "${tcl_cv_lib_corefoundation+set}" = set; then
    660211947  $as_echo_n "(cached) " >&6
    660311948else
     
    661111956                    done; fi
    661211957                    LIBS="$LIBS -framework CoreFoundation"
    6613                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11958                    cat >conftest.$ac_ext <<_ACEOF
     11959/* confdefs.h.  */
     11960_ACEOF
     11961cat confdefs.h >>conftest.$ac_ext
     11962cat >>conftest.$ac_ext <<_ACEOF
    661411963/* end confdefs.h.  */
    661511964#include <CoreFoundation/CoreFoundation.h>
     
    662211971}
    662311972_ACEOF
    6624 if ac_fn_cxx_try_link "$LINENO"; then :
     11973rm -f conftest.$ac_objext conftest$ac_exeext
     11974if { (ac_try="$ac_link"
     11975case "(($ac_try" in
     11976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11977  *) ac_try_echo=$ac_try;;
     11978esac
     11979eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11980$as_echo "$ac_try_echo") >&5
     11981  (eval "$ac_link") 2>conftest.er1
     11982  ac_status=$?
     11983  grep -v '^ *+' conftest.er1 >conftest.err
     11984  rm -f conftest.er1
     11985  cat conftest.err >&5
     11986  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11987  (exit $ac_status); } && {
     11988         test -z "$ac_cxx_werror_flag" ||
     11989         test ! -s conftest.err
     11990       } && test -s conftest$ac_exeext && {
     11991         test "$cross_compiling" = yes ||
     11992         $as_test_x conftest$ac_exeext
     11993       }; then
    662511994  tcl_cv_lib_corefoundation=yes
    662611995else
    6627   tcl_cv_lib_corefoundation=no
    6628 fi
    6629 rm -f core conftest.err conftest.$ac_objext \
    6630     conftest$ac_exeext conftest.$ac_ext
     11996  $as_echo "$as_me: failed program was:" >&5
     11997sed 's/^/| /' conftest.$ac_ext >&5
     11998
     11999        tcl_cv_lib_corefoundation=no
     12000fi
     12001
     12002rm -rf conftest.dSYM
     12003rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12004      conftest$ac_exeext conftest.$ac_ext
    663112005                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    663212006                        eval $v'="$hold_'$v'"'
    663312007                    done; fi; LIBS=$hold_libs
    663412008fi
    6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     12009{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    663612010$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    663712011                if test $tcl_cv_lib_corefoundation = yes; then
    663812012                    LIBS="$LIBS -framework CoreFoundation"
    6639                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
     12013                    cat >>confdefs.h <<\_ACEOF
     12014#define HAVE_COREFOUNDATION 1
     12015_ACEOF
    664012016
    664112017                else
     
    664312019                fi
    664412020                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    6645                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     12021                    { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    664612022$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    6647 if ${tcl_cv_lib_corefoundation_64+:} false; then :
     12023if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    664812024  $as_echo_n "(cached) " >&6
    664912025else
     
    665212028                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    665312029                        done
    6654                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12030                        cat >conftest.$ac_ext <<_ACEOF
     12031/* confdefs.h.  */
     12032_ACEOF
     12033cat confdefs.h >>conftest.$ac_ext
     12034cat >>conftest.$ac_ext <<_ACEOF
    665512035/* end confdefs.h.  */
    665612036#include <CoreFoundation/CoreFoundation.h>
     
    666312043}
    666412044_ACEOF
    6665 if ac_fn_cxx_try_link "$LINENO"; then :
     12045rm -f conftest.$ac_objext conftest$ac_exeext
     12046if { (ac_try="$ac_link"
     12047case "(($ac_try" in
     12048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12049  *) ac_try_echo=$ac_try;;
     12050esac
     12051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12052$as_echo "$ac_try_echo") >&5
     12053  (eval "$ac_link") 2>conftest.er1
     12054  ac_status=$?
     12055  grep -v '^ *+' conftest.er1 >conftest.err
     12056  rm -f conftest.er1
     12057  cat conftest.err >&5
     12058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12059  (exit $ac_status); } && {
     12060         test -z "$ac_cxx_werror_flag" ||
     12061         test ! -s conftest.err
     12062       } && test -s conftest$ac_exeext && {
     12063         test "$cross_compiling" = yes ||
     12064         $as_test_x conftest$ac_exeext
     12065       }; then
    666612066  tcl_cv_lib_corefoundation_64=yes
    666712067else
    6668   tcl_cv_lib_corefoundation_64=no
    6669 fi
    6670 rm -f core conftest.err conftest.$ac_objext \
    6671     conftest$ac_exeext conftest.$ac_ext
     12068  $as_echo "$as_me: failed program was:" >&5
     12069sed 's/^/| /' conftest.$ac_ext >&5
     12070
     12071        tcl_cv_lib_corefoundation_64=no
     12072fi
     12073
     12074rm -rf conftest.dSYM
     12075rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12076      conftest$ac_exeext conftest.$ac_ext
    667212077                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    667312078                            eval $v'="$hold_'$v'"'
    667412079                        done
    667512080fi
    6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     12081{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    667712082$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    667812083                    if test $tcl_cv_lib_corefoundation_64 = no; then
    6679                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
     12084                        cat >>confdefs.h <<\_ACEOF
     12085#define NO_COREFOUNDATION_64 1
     12086_ACEOF
    668012087
    668112088                    fi
    668212089                fi
    668312090            fi
    6684             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
     12091            cat >>confdefs.h <<\_ACEOF
     12092#define MAC_OSX_TCL 1
     12093_ACEOF
    668512094
    668612095            ;;
     
    669712106        OS/390-*)
    669812107            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    6699             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
     12108            cat >>confdefs.h <<\_ACEOF
     12109#define _OE_SOCKETS 1
     12110_ACEOF
    670012111        # needed in sys/socket.h
    670112112            ;;
     
    683812249            # won't define thread-safe library routines.
    683912250
    6840             $as_echo "#define _REENTRANT 1" >>confdefs.h
    6841 
    6842             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     12251            cat >>confdefs.h <<\_ACEOF
     12252#define _REENTRANT 1
     12253_ACEOF
     12254
     12255            cat >>confdefs.h <<\_ACEOF
     12256#define _POSIX_PTHREAD_SEMANTICS 1
     12257_ACEOF
    684312258
    684412259
     
    686612281            # won't define thread-safe library routines.
    686712282
    6868             $as_echo "#define _REENTRANT 1" >>confdefs.h
    6869 
    6870             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     12283            cat >>confdefs.h <<\_ACEOF
     12284#define _REENTRANT 1
     12285_ACEOF
     12286
     12287            cat >>confdefs.h <<\_ACEOF
     12288#define _POSIX_PTHREAD_SEMANTICS 1
     12289_ACEOF
    687112290
    687212291
     
    687912298                        if test "$GCC" = "yes" ; then
    688012299                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6881                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     12300                                { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    688212301$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    688312302                            else
     
    690112320                elif test "$arch" = "amd64 i386" ; then
    690212321                    if test "$GCC" = "yes" ; then
    6903                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     12322                        { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    690412323$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    690512324                    else
     
    690912328                    fi
    691012329                else
    6911                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     12330                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    691212331$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    691312332                fi
     
    696812387            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    696912388            # that don't grok the -Bexport option.  Test that it does.
    6970             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     12389            { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    697112390$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6972 if ${tcl_cv_ld_Bexport+:} false; then :
     12391if test "${tcl_cv_ld_Bexport+set}" = set; then
    697312392  $as_echo_n "(cached) " >&6
    697412393else
     
    697612395                hold_ldflags=$LDFLAGS
    697712396                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6978                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12397                cat >conftest.$ac_ext <<_ACEOF
     12398/* confdefs.h.  */
     12399_ACEOF
     12400cat confdefs.h >>conftest.$ac_ext
     12401cat >>conftest.$ac_ext <<_ACEOF
    697912402/* end confdefs.h.  */
    698012403
     
    698712410}
    698812411_ACEOF
    6989 if ac_fn_cxx_try_link "$LINENO"; then :
     12412rm -f conftest.$ac_objext conftest$ac_exeext
     12413if { (ac_try="$ac_link"
     12414case "(($ac_try" in
     12415  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12416  *) ac_try_echo=$ac_try;;
     12417esac
     12418eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12419$as_echo "$ac_try_echo") >&5
     12420  (eval "$ac_link") 2>conftest.er1
     12421  ac_status=$?
     12422  grep -v '^ *+' conftest.er1 >conftest.err
     12423  rm -f conftest.er1
     12424  cat conftest.err >&5
     12425  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12426  (exit $ac_status); } && {
     12427         test -z "$ac_cxx_werror_flag" ||
     12428         test ! -s conftest.err
     12429       } && test -s conftest$ac_exeext && {
     12430         test "$cross_compiling" = yes ||
     12431         $as_test_x conftest$ac_exeext
     12432       }; then
    699012433  tcl_cv_ld_Bexport=yes
    699112434else
    6992   tcl_cv_ld_Bexport=no
    6993 fi
    6994 rm -f core conftest.err conftest.$ac_objext \
    6995     conftest$ac_exeext conftest.$ac_ext
     12435  $as_echo "$as_me: failed program was:" >&5
     12436sed 's/^/| /' conftest.$ac_ext >&5
     12437
     12438        tcl_cv_ld_Bexport=no
     12439fi
     12440
     12441rm -rf conftest.dSYM
     12442rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12443      conftest$ac_exeext conftest.$ac_ext
    699612444                LDFLAGS=$hold_ldflags
    699712445fi
    6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     12446{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    699912447$as_echo "$tcl_cv_ld_Bexport" >&6; }
    700012448            if test $tcl_cv_ld_Bexport = yes; then
     
    700712455
    700812456    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    7009         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     12457        { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    701012458$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    701112459    fi
     
    703412482
    703512483    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    7036         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     12484        { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    703712485$as_echo_n "checking sys/exec.h... " >&6; }
    7038 if ${tcl_cv_sysexec_h+:} false; then :
     12486if test "${tcl_cv_sysexec_h+set}" = set; then
    703912487  $as_echo_n "(cached) " >&6
    704012488else
    704112489
    7042         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12490        cat >conftest.$ac_ext <<_ACEOF
     12491/* confdefs.h.  */
     12492_ACEOF
     12493cat confdefs.h >>conftest.$ac_ext
     12494cat >>conftest.$ac_ext <<_ACEOF
    704312495/* end confdefs.h.  */
    704412496#include <sys/exec.h>
     
    706212514}
    706312515_ACEOF
    7064 if ac_fn_cxx_try_compile "$LINENO"; then :
     12516rm -f conftest.$ac_objext
     12517if { (ac_try="$ac_compile"
     12518case "(($ac_try" in
     12519  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12520  *) ac_try_echo=$ac_try;;
     12521esac
     12522eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12523$as_echo "$ac_try_echo") >&5
     12524  (eval "$ac_compile") 2>conftest.er1
     12525  ac_status=$?
     12526  grep -v '^ *+' conftest.er1 >conftest.err
     12527  rm -f conftest.er1
     12528  cat conftest.err >&5
     12529  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12530  (exit $ac_status); } && {
     12531         test -z "$ac_cxx_werror_flag" ||
     12532         test ! -s conftest.err
     12533       } && test -s conftest.$ac_objext; then
    706512534  tcl_cv_sysexec_h=usable
    706612535else
    7067   tcl_cv_sysexec_h=unusable
    7068 fi
     12536  $as_echo "$as_me: failed program was:" >&5
     12537sed 's/^/| /' conftest.$ac_ext >&5
     12538
     12539        tcl_cv_sysexec_h=unusable
     12540fi
     12541
    706912542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    707012543fi
    7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     12544{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    707212545$as_echo "$tcl_cv_sysexec_h" >&6; }
    707312546        if test $tcl_cv_sysexec_h = usable; then
    7074             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
     12547            cat >>confdefs.h <<\_ACEOF
     12548#define USE_SYS_EXEC_H 1
     12549_ACEOF
    707512550
    707612551        else
    7077             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     12552            { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    707812553$as_echo_n "checking a.out.h... " >&6; }
    7079 if ${tcl_cv_aout_h+:} false; then :
     12554if test "${tcl_cv_aout_h+set}" = set; then
    708012555  $as_echo_n "(cached) " >&6
    708112556else
    708212557
    7083             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12558            cat >conftest.$ac_ext <<_ACEOF
     12559/* confdefs.h.  */
     12560_ACEOF
     12561cat confdefs.h >>conftest.$ac_ext
     12562cat >>conftest.$ac_ext <<_ACEOF
    708412563/* end confdefs.h.  */
    708512564#include <a.out.h>
     
    710312582}
    710412583_ACEOF
    7105 if ac_fn_cxx_try_compile "$LINENO"; then :
     12584rm -f conftest.$ac_objext
     12585if { (ac_try="$ac_compile"
     12586case "(($ac_try" in
     12587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12588  *) ac_try_echo=$ac_try;;
     12589esac
     12590eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12591$as_echo "$ac_try_echo") >&5
     12592  (eval "$ac_compile") 2>conftest.er1
     12593  ac_status=$?
     12594  grep -v '^ *+' conftest.er1 >conftest.err
     12595  rm -f conftest.er1
     12596  cat conftest.err >&5
     12597  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12598  (exit $ac_status); } && {
     12599         test -z "$ac_cxx_werror_flag" ||
     12600         test ! -s conftest.err
     12601       } && test -s conftest.$ac_objext; then
    710612602  tcl_cv_aout_h=usable
    710712603else
    7108   tcl_cv_aout_h=unusable
    7109 fi
     12604  $as_echo "$as_me: failed program was:" >&5
     12605sed 's/^/| /' conftest.$ac_ext >&5
     12606
     12607        tcl_cv_aout_h=unusable
     12608fi
     12609
    711012610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    711112611fi
    7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     12612{ $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    711312613$as_echo "$tcl_cv_aout_h" >&6; }
    711412614            if test $tcl_cv_aout_h = usable; then
    7115                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
     12615                cat >>confdefs.h <<\_ACEOF
     12616#define USE_A_OUT_H 1
     12617_ACEOF
    711612618
    711712619            else
    7118                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     12620                { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    711912621$as_echo_n "checking sys/exec_aout.h... " >&6; }
    7120 if ${tcl_cv_sysexecaout_h+:} false; then :
     12622if test "${tcl_cv_sysexecaout_h+set}" = set; then
    712112623  $as_echo_n "(cached) " >&6
    712212624else
    712312625
    7124                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12626                cat >conftest.$ac_ext <<_ACEOF
     12627/* confdefs.h.  */
     12628_ACEOF
     12629cat confdefs.h >>conftest.$ac_ext
     12630cat >>conftest.$ac_ext <<_ACEOF
    712512631/* end confdefs.h.  */
    712612632#include <sys/exec_aout.h>
     
    714412650}
    714512651_ACEOF
    7146 if ac_fn_cxx_try_compile "$LINENO"; then :
     12652rm -f conftest.$ac_objext
     12653if { (ac_try="$ac_compile"
     12654case "(($ac_try" in
     12655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12656  *) ac_try_echo=$ac_try;;
     12657esac
     12658eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12659$as_echo "$ac_try_echo") >&5
     12660  (eval "$ac_compile") 2>conftest.er1
     12661  ac_status=$?
     12662  grep -v '^ *+' conftest.er1 >conftest.err
     12663  rm -f conftest.er1
     12664  cat conftest.err >&5
     12665  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12666  (exit $ac_status); } && {
     12667         test -z "$ac_cxx_werror_flag" ||
     12668         test ! -s conftest.err
     12669       } && test -s conftest.$ac_objext; then
    714712670  tcl_cv_sysexecaout_h=usable
    714812671else
    7149   tcl_cv_sysexecaout_h=unusable
    7150 fi
     12672  $as_echo "$as_me: failed program was:" >&5
     12673sed 's/^/| /' conftest.$ac_ext >&5
     12674
     12675        tcl_cv_sysexecaout_h=unusable
     12676fi
     12677
    715112678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    715212679fi
    7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     12680{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    715412681$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    715512682                if test $tcl_cv_sysexecaout_h = usable; then
    7156                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
     12683                    cat >>confdefs.h <<\_ACEOF
     12684#define USE_SYS_EXEC_AOUT_H 1
     12685_ACEOF
    715712686
    715812687                else
     
    716612695
    716712696    # Check whether --enable-load was given.
    7168 if test "${enable_load+set}" = set; then :
     12697if test "${enable_load+set}" = set; then
    716912698  enableval=$enable_load; tcl_ok=$enableval
    717012699else
     
    729912828done
    730012829if test "x${make_command}" = "x" ; then
    7301   as_fn_error $? "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
     12830  { { $as_echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5
     12831$as_echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;}
     12832   { (exit 1); exit 1; }; }
    730212833fi
    730312834
    730412835# Check whether --enable-gui was given.
    7305 if test "${enable_gui+set}" = set; then :
     12836if test "${enable_gui+set}" = set; then
    730612837  enableval=$enable_gui;
    730712838else
     
    732812859
    732912860# Check whether --with-ffmpeg was given.
    7330 if test "${with_ffmpeg+set}" = set; then :
     12861if test "${with_ffmpeg+set}" = set; then
    733112862  withval=$with_ffmpeg;
    733212863else
     
    733712868
    733812869# Check whether --with-tclsh was given.
    7339 if test "${with_tclsh+set}" = set; then :
     12870if test "${with_tclsh+set}" = set; then
    734012871  withval=$with_tclsh;
    734112872else
     
    735012881    # Extract the first word of "${tclsh}", so it can be a program name with args.
    735112882set dummy ${tclsh}; ac_word=$2
    7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12883{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    735312884$as_echo_n "checking for $ac_word... " >&6; }
    7354 if ${ac_cv_path_TCLSH+:} false; then :
     12885if test "${ac_cv_path_TCLSH+set}" = set; then
    735512886  $as_echo_n "(cached) " >&6
    735612887else
     
    736612897  IFS=$as_save_IFS
    736712898  test -z "$as_dir" && as_dir=.
    7368     for ac_exec_ext in '' $ac_executable_extensions; do
    7369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12899  for ac_exec_ext in '' $ac_executable_extensions; do
     12900  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    737012901    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12902    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    737212903    break 2
    737312904  fi
    737412905done
    7375   done
     12906done
    737612907IFS=$as_save_IFS
    737712908
     
    738112912TCLSH=$ac_cv_path_TCLSH
    738212913if test -n "$TCLSH"; then
    7383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
     12914  { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
    738412915$as_echo "$TCLSH" >&6; }
    738512916else
    7386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12917  { $as_echo "$as_me:$LINENO: result: no" >&5
    738712918$as_echo "no" >&6; }
    738812919fi
     
    739212923    # Extract the first word of "${tclsh}", so it can be a program name with args.
    739312924set dummy ${tclsh}; ac_word=$2
    7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12925{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    739512926$as_echo_n "checking for $ac_word... " >&6; }
    7396 if ${ac_cv_path_TCLSH+:} false; then :
     12927if test "${ac_cv_path_TCLSH+set}" = set; then
    739712928  $as_echo_n "(cached) " >&6
    739812929else
     
    740812939  IFS=$as_save_IFS
    740912940  test -z "$as_dir" && as_dir=.
    7410     for ac_exec_ext in '' $ac_executable_extensions; do
    7411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     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
    741212943    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    7413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12944    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    741412945    break 2
    741512946  fi
    741612947done
    7417   done
     12948done
    741812949IFS=$as_save_IFS
    741912950
     
    742312954TCLSH=$ac_cv_path_TCLSH
    742412955if test -n "$TCLSH"; then
    7425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
     12956  { $as_echo "$as_me:$LINENO: result: $TCLSH" >&5
    742612957$as_echo "$TCLSH" >&6; }
    742712958else
    7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12959  { $as_echo "$as_me:$LINENO: result: no" >&5
    742912960$as_echo "no" >&6; }
    743012961fi
     
    743312964  fi
    743412965  if test "x${TCLSH}" = "x" ; then
    7435     as_fn_error $? "can't find tclsh" "$LINENO" 5
     12966    { { $as_echo "$as_me:$LINENO: error: can't find tclsh" >&5
     12967$as_echo "$as_me: error: can't find tclsh" >&2;}
     12968   { (exit 1); exit 1; }; }
    743612969  fi
    743712970fi
     
    744212975
    744312976# Check whether --with-vtk was given.
    7444 if test "${with_vtk+set}" = set; then :
     12977if test "${with_vtk+set}" = set; then
    744512978  withval=$with_vtk;
    744612979else
     
    744912982
    745012983
    7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5
     12984{ $as_echo "$as_me:$LINENO: checking for vtk" >&5
    745212985$as_echo_n "checking for vtk... " >&6; }
    745312986VTKDIR=""
     
    747313006  fi
    747413007fi
    7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5
     13008{ $as_echo "$as_me:$LINENO: result: $VTKDIR" >&5
    747613009$as_echo "$VTKDIR" >&6; }
    747713010
     
    747913012
    748013013# Check whether --with-matlab was given.
    7481 if test "${with_matlab+set}" = set; then :
     13014if test "${with_matlab+set}" = set; then
    748213015  withval=$with_matlab;
    748313016else
     
    749513028    # Extract the first word of "matlab", so it can be a program name with args.
    749613029set dummy matlab; ac_word=$2
    7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13030{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    749813031$as_echo_n "checking for $ac_word... " >&6; }
    7499 if ${ac_cv_path_MATLAB+:} false; then :
     13032if test "${ac_cv_path_MATLAB+set}" = set; then
    750013033  $as_echo_n "(cached) " >&6
    750113034else
     
    751013043  IFS=$as_save_IFS
    751113044  test -z "$as_dir" && as_dir=.
    7512     for ac_exec_ext in '' $ac_executable_extensions; do
    7513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13045  for ac_exec_ext in '' $ac_executable_extensions; do
     13046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    751413047    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    7515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13048    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    751613049    break 2
    751713050  fi
    751813051done
    7519   done
     13052done
    752013053IFS=$as_save_IFS
    752113054
     
    752513058MATLAB=$ac_cv_path_MATLAB
    752613059if test -n "$MATLAB"; then
    7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
     13060  { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
    752813061$as_echo "$MATLAB" >&6; }
    752913062else
    7530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13063  { $as_echo "$as_me:$LINENO: result: no" >&5
    753113064$as_echo "no" >&6; }
    753213065fi
     
    753613069    # Extract the first word of "matlab", so it can be a program name with args.
    753713070set dummy matlab; ac_word=$2
    7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13071{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    753913072$as_echo_n "checking for $ac_word... " >&6; }
    7540 if ${ac_cv_path_MATLAB+:} false; then :
     13073if test "${ac_cv_path_MATLAB+set}" = set; then
    754113074  $as_echo_n "(cached) " >&6
    754213075else
     
    755213085  IFS=$as_save_IFS
    755313086  test -z "$as_dir" && as_dir=.
    7554     for ac_exec_ext in '' $ac_executable_extensions; do
    7555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13087  for ac_exec_ext in '' $ac_executable_extensions; do
     13088  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    755613089    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    7557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13090    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    755813091    break 2
    755913092  fi
    756013093done
    7561   done
     13094done
    756213095IFS=$as_save_IFS
    756313096
     
    756713100MATLAB=$ac_cv_path_MATLAB
    756813101if test -n "$MATLAB"; then
    7569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
     13102  { $as_echo "$as_me:$LINENO: result: $MATLAB" >&5
    757013103$as_echo "$MATLAB" >&6; }
    757113104else
    7572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13105  { $as_echo "$as_me:$LINENO: result: no" >&5
    757313106$as_echo "no" >&6; }
    757413107fi
     
    758713120  # Extract the first word of "mex", so it can be a program name with args.
    758813121set dummy mex; ac_word=$2
    7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13122{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    759013123$as_echo_n "checking for $ac_word... " >&6; }
    7591 if ${ac_cv_path_MEX+:} false; then :
     13124if test "${ac_cv_path_MEX+set}" = set; then
    759213125  $as_echo_n "(cached) " >&6
    759313126else
     
    760213135  IFS=$as_save_IFS
    760313136  test -z "$as_dir" && as_dir=.
    7604     for ac_exec_ext in '' $ac_executable_extensions; do
    7605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13137  for ac_exec_ext in '' $ac_executable_extensions; do
     13138  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    760613139    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    7607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13140    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    760813141    break 2
    760913142  fi
    761013143done
    7611   done
     13144done
    761213145IFS=$as_save_IFS
    761313146
     
    761713150MEX=$ac_cv_path_MEX
    761813151if test -n "$MEX"; then
    7619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
     13152  { $as_echo "$as_me:$LINENO: result: $MEX" >&5
    762013153$as_echo "$MEX" >&6; }
    762113154else
    7622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13155  { $as_echo "$as_me:$LINENO: result: no" >&5
    762313156$as_echo "no" >&6; }
    762413157fi
     
    762713160  # Extract the first word of "mexext", so it can be a program name with args.
    762813161set dummy mexext; ac_word=$2
    7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13162{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    763013163$as_echo_n "checking for $ac_word... " >&6; }
    7631 if ${ac_cv_path_MEXEXT+:} false; then :
     13164if test "${ac_cv_path_MEXEXT+set}" = set; then
    763213165  $as_echo_n "(cached) " >&6
    763313166else
     
    764213175  IFS=$as_save_IFS
    764313176  test -z "$as_dir" && as_dir=.
    7644     for ac_exec_ext in '' $ac_executable_extensions; do
    7645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13177  for ac_exec_ext in '' $ac_executable_extensions; do
     13178  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    764613179    ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"
    7647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13180    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    764813181    break 2
    764913182  fi
    765013183done
    7651   done
     13184done
    765213185IFS=$as_save_IFS
    765313186
     
    765713190MEXEXT=$ac_cv_path_MEXEXT
    765813191if test -n "$MEXEXT"; then
    7659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
     13192  { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
    766013193$as_echo "$MEXEXT" >&6; }
    766113194else
    7662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13195  { $as_echo "$as_me:$LINENO: result: no" >&5
    766313196$as_echo "no" >&6; }
    766413197fi
     
    766713200
    766813201  # Run "mexext" to get the expected module extension for this platform.
    7669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5
     13202  { $as_echo "$as_me:$LINENO: checking for mex extension" >&5
    767013203$as_echo_n "checking for mex extension... " >&6; }
    767113204  if test "x$MEXEXT" != "x" ; then
     
    767413207    MEXEXT="mexglx"
    767513208  fi
    7676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
     13209  { $as_echo "$as_me:$LINENO: result: $MEXEXT" >&5
    767713210$as_echo "$MEXEXT" >&6; }
    767813211  # Extract the first word of "mcc", so it can be a program name with args.
    767913212set dummy mcc; ac_word=$2
    7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13213{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    768113214$as_echo_n "checking for $ac_word... " >&6; }
    7682 if ${ac_cv_path_MCC+:} false; then :
     13215if test "${ac_cv_path_MCC+set}" = set; then
    768313216  $as_echo_n "(cached) " >&6
    768413217else
     
    769313226  IFS=$as_save_IFS
    769413227  test -z "$as_dir" && as_dir=.
    7695     for ac_exec_ext in '' $ac_executable_extensions; do
    7696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13228  for ac_exec_ext in '' $ac_executable_extensions; do
     13229  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    769713230    ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"
    7698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13231    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    769913232    break 2
    770013233  fi
    770113234done
    7702   done
     13235done
    770313236IFS=$as_save_IFS
    770413237
     
    770813241MCC=$ac_cv_path_MCC
    770913242if test -n "$MCC"; then
    7710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
     13243  { $as_echo "$as_me:$LINENO: result: $MCC" >&5
    771113244$as_echo "$MCC" >&6; }
    771213245else
    7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13246  { $as_echo "$as_me:$LINENO: result: no" >&5
    771413247$as_echo "no" >&6; }
    771513248fi
    771613249
    771713250
    7718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
     13251  { $as_echo "$as_me:$LINENO: checking for mcc extension" >&5
    771913252$as_echo_n "checking for mcc extension... " >&6; }
    772013253fi
     
    772313256
    772413257# Check whether --with-octave was given.
    7725 if test "${with_octave+set}" = set; then :
     13258if test "${with_octave+set}" = set; then
    772613259  withval=$with_octave;
    772713260else
     
    774013273    # Extract the first word of "octave", so it can be a program name with args.
    774113274set dummy octave; ac_word=$2
    7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13275{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    774313276$as_echo_n "checking for $ac_word... " >&6; }
    7744 if ${ac_cv_path_OCTAVE+:} false; then :
     13277if test "${ac_cv_path_OCTAVE+set}" = set; then
    774513278  $as_echo_n "(cached) " >&6
    774613279else
     
    775513288  IFS=$as_save_IFS
    775613289  test -z "$as_dir" && as_dir=.
    7757     for ac_exec_ext in '' $ac_executable_extensions; do
    7758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13290  for ac_exec_ext in '' $ac_executable_extensions; do
     13291  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    775913292    ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    7760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13293    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    776113294    break 2
    776213295  fi
    776313296done
    7764   done
     13297done
    776513298IFS=$as_save_IFS
    776613299
     
    777013303OCTAVE=$ac_cv_path_OCTAVE
    777113304if test -n "$OCTAVE"; then
    7772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
     13305  { $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5
    777313306$as_echo "$OCTAVE" >&6; }
    777413307else
    7775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13308  { $as_echo "$as_me:$LINENO: result: no" >&5
    777613309$as_echo "no" >&6; }
    777713310fi
     
    778013313    # Extract the first word of "mkoctfile", so it can be a program name with args.
    778113314set dummy mkoctfile; ac_word=$2
    7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13315{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    778313316$as_echo_n "checking for $ac_word... " >&6; }
    7784 if ${ac_cv_path_MKOCTFILE+:} false; then :
     13317if test "${ac_cv_path_MKOCTFILE+set}" = set; then
    778513318  $as_echo_n "(cached) " >&6
    778613319else
     
    779513328  IFS=$as_save_IFS
    779613329  test -z "$as_dir" && as_dir=.
    7797     for ac_exec_ext in '' $ac_executable_extensions; do
    7798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13330  for ac_exec_ext in '' $ac_executable_extensions; do
     13331  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    779913332    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    7800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13333    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    780113334    break 2
    780213335  fi
    780313336done
    7804   done
     13337done
    780513338IFS=$as_save_IFS
    780613339
     
    781013343MKOCTFILE=$ac_cv_path_MKOCTFILE
    781113344if test -n "$MKOCTFILE"; then
    7812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
     13345  { $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
    781313346$as_echo "$MKOCTFILE" >&6; }
    781413347else
    7815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13348  { $as_echo "$as_me:$LINENO: result: no" >&5
    781613349$as_echo "no" >&6; }
    781713350fi
     
    785613389
    785713390# Check whether --with-mkoctfile3 was given.
    7858 if test "${with_mkoctfile3+set}" = set; then :
     13391if test "${with_mkoctfile3+set}" = set; then
    785913392  withval=$with_mkoctfile3;
    786013393else
     
    786713400    # Extract the first word of "mkoctfile", so it can be a program name with args.
    786813401set dummy mkoctfile; ac_word=$2
    7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13402{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    787013403$as_echo_n "checking for $ac_word... " >&6; }
    7871 if ${ac_cv_path_mkoctfile3+:} false; then :
     13404if test "${ac_cv_path_mkoctfile3+set}" = set; then
    787213405  $as_echo_n "(cached) " >&6
    787313406else
     
    788213415  IFS=$as_save_IFS
    788313416  test -z "$as_dir" && as_dir=.
    7884     for ac_exec_ext in '' $ac_executable_extensions; do
    7885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13417  for ac_exec_ext in '' $ac_executable_extensions; do
     13418  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    788613419    ac_cv_path_mkoctfile3="$as_dir/$ac_word$ac_exec_ext"
    7887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13420    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    788813421    break 2
    788913422  fi
    789013423done
    7891   done
     13424done
    789213425IFS=$as_save_IFS
    789313426
     
    789713430mkoctfile3=$ac_cv_path_mkoctfile3
    789813431if test -n "$mkoctfile3"; then
    7899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile3" >&5
     13432  { $as_echo "$as_me:$LINENO: result: $mkoctfile3" >&5
    790013433$as_echo "$mkoctfile3" >&6; }
    790113434else
    7902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13435  { $as_echo "$as_me:$LINENO: result: no" >&5
    790313436$as_echo "no" >&6; }
    790413437fi
     
    791613449
    791713450# Check whether --with-mkoctfile2 was given.
    7918 if test "${with_mkoctfile2+set}" = set; then :
     13451if test "${with_mkoctfile2+set}" = set; then
    791913452  withval=$with_mkoctfile2;
    792013453else
     
    792713460    # Extract the first word of "mkoctfile", so it can be a program name with args.
    792813461set dummy mkoctfile; ac_word=$2
    7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13462{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    793013463$as_echo_n "checking for $ac_word... " >&6; }
    7931 if ${ac_cv_path_mkoctfile2+:} false; then :
     13464if test "${ac_cv_path_mkoctfile2+set}" = set; then
    793213465  $as_echo_n "(cached) " >&6
    793313466else
     
    794213475  IFS=$as_save_IFS
    794313476  test -z "$as_dir" && as_dir=.
    7944     for ac_exec_ext in '' $ac_executable_extensions; do
    7945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13477  for ac_exec_ext in '' $ac_executable_extensions; do
     13478  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    794613479    ac_cv_path_mkoctfile2="$as_dir/$ac_word$ac_exec_ext"
    7947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13480    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    794813481    break 2
    794913482  fi
    795013483done
    7951   done
     13484done
    795213485IFS=$as_save_IFS
    795313486
     
    795713490mkoctfile2=$ac_cv_path_mkoctfile2
    795813491if test -n "$mkoctfile2"; then
    7959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mkoctfile2" >&5
     13492  { $as_echo "$as_me:$LINENO: result: $mkoctfile2" >&5
    796013493$as_echo "$mkoctfile2" >&6; }
    796113494else
    7962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13495  { $as_echo "$as_me:$LINENO: result: no" >&5
    796313496$as_echo "no" >&6; }
    796413497fi
     
    797713510
    797813511# Check whether --with-perl was given.
    7979 if test "${with_perl+set}" = set; then :
     13512if test "${with_perl+set}" = set; then
    798013513  withval=$with_perl;
    798113514else
     
    800013533    # Extract the first word of "perl", so it can be a program name with args.
    800113534set dummy perl; ac_word=$2
    8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13535{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    800313536$as_echo_n "checking for $ac_word... " >&6; }
    8004 if ${ac_cv_path_PERL+:} false; then :
     13537if test "${ac_cv_path_PERL+set}" = set; then
    800513538  $as_echo_n "(cached) " >&6
    800613539else
     
    801613549  IFS=$as_save_IFS
    801713550  test -z "$as_dir" && as_dir=.
    8018     for ac_exec_ext in '' $ac_executable_extensions; do
    8019   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13551  for ac_exec_ext in '' $ac_executable_extensions; do
     13552  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    802013553    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    8021     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13554    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    802213555    break 2
    802313556  fi
    802413557done
    8025   done
     13558done
    802613559IFS=$as_save_IFS
    802713560
     
    803113564PERL=$ac_cv_path_PERL
    803213565if test -n "$PERL"; then
    8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
     13566  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
    803413567$as_echo "$PERL" >&6; }
    803513568else
    8036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13569  { $as_echo "$as_me:$LINENO: result: no" >&5
    803713570$as_echo "no" >&6; }
    803813571fi
     
    804113574    # Extract the first word of "xsubpp", so it can be a program name with args.
    804213575set dummy xsubpp; ac_word=$2
    8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13576{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    804413577$as_echo_n "checking for $ac_word... " >&6; }
    8045 if ${ac_cv_path_XSUBPP+:} false; then :
     13578if test "${ac_cv_path_XSUBPP+set}" = set; then
    804613579  $as_echo_n "(cached) " >&6
    804713580else
     
    805713590  IFS=$as_save_IFS
    805813591  test -z "$as_dir" && as_dir=.
    8059     for ac_exec_ext in '' $ac_executable_extensions; do
    8060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13592  for ac_exec_ext in '' $ac_executable_extensions; do
     13593  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    806113594    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    8062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13595    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    806313596    break 2
    806413597  fi
    806513598done
    8066   done
     13599done
    806713600IFS=$as_save_IFS
    806813601
     
    807213605XSUBPP=$ac_cv_path_XSUBPP
    807313606if test -n "$XSUBPP"; then
    8074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
     13607  { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
    807513608$as_echo "$XSUBPP" >&6; }
    807613609else
    8077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13610  { $as_echo "$as_me:$LINENO: result: no" >&5
    807813611$as_echo "no" >&6; }
    807913612fi
     
    808313616    # Extract the first word of "perl", so it can be a program name with args.
    808413617set dummy perl; ac_word=$2
    8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13618{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    808613619$as_echo_n "checking for $ac_word... " >&6; }
    8087 if ${ac_cv_path_PERL+:} false; then :
     13620if test "${ac_cv_path_PERL+set}" = set; then
    808813621  $as_echo_n "(cached) " >&6
    808913622else
     
    809813631  IFS=$as_save_IFS
    809913632  test -z "$as_dir" && as_dir=.
    8100     for ac_exec_ext in '' $ac_executable_extensions; do
    8101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13633  for ac_exec_ext in '' $ac_executable_extensions; do
     13634  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    810213635    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    8103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13636    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    810413637    break 2
    810513638  fi
    810613639done
    8107   done
     13640done
    810813641IFS=$as_save_IFS
    810913642
     
    811313646PERL=$ac_cv_path_PERL
    811413647if test -n "$PERL"; then
    8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
     13648  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
    811613649$as_echo "$PERL" >&6; }
    811713650else
    8118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13651  { $as_echo "$as_me:$LINENO: result: no" >&5
    811913652$as_echo "no" >&6; }
    812013653fi
     
    812313656    # Extract the first word of "xsubpp", so it can be a program name with args.
    812413657set dummy xsubpp; ac_word=$2
    8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13658{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    812613659$as_echo_n "checking for $ac_word... " >&6; }
    8127 if ${ac_cv_path_XSUBPP+:} false; then :
     13660if test "${ac_cv_path_XSUBPP+set}" = set; then
    812813661  $as_echo_n "(cached) " >&6
    812913662else
     
    813813671  IFS=$as_save_IFS
    813913672  test -z "$as_dir" && as_dir=.
    8140     for ac_exec_ext in '' $ac_executable_extensions; do
    8141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13673  for ac_exec_ext in '' $ac_executable_extensions; do
     13674  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    814213675    ac_cv_path_XSUBPP="$as_dir/$ac_word$ac_exec_ext"
    8143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13676    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    814413677    break 2
    814513678  fi
    814613679done
    8147   done
     13680done
    814813681IFS=$as_save_IFS
    814913682
     
    815313686XSUBPP=$ac_cv_path_XSUBPP
    815413687if test -n "$XSUBPP"; then
    8155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSUBPP" >&5
     13688  { $as_echo "$as_me:$LINENO: result: $XSUBPP" >&5
    815613689$as_echo "$XSUBPP" >&6; }
    815713690else
    8158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13691  { $as_echo "$as_me:$LINENO: result: no" >&5
    815913692$as_echo "no" >&6; }
    816013693fi
     
    819413727
    819513728# Check whether --with-python was given.
    8196 if test "${with_python+set}" = set; then :
     13729if test "${with_python+set}" = set; then
    819713730  withval=$with_python;
    819813731else
     
    820513738    # 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.
    820613739set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13740{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    820813741$as_echo_n "checking for $ac_word... " >&6; }
    8209 if ${ac_cv_path_PYTHON+:} false; then :
     13742if test "${ac_cv_path_PYTHON+set}" = set; then
    821013743  $as_echo_n "(cached) " >&6
    821113744else
     
    822013753  IFS=$as_save_IFS
    822113754  test -z "$as_dir" && as_dir=.
    8222     for ac_exec_ext in '' $ac_executable_extensions; do
    8223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13755  for ac_exec_ext in '' $ac_executable_extensions; do
     13756  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    822413757    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    8225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13758    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    822613759    break 2
    822713760  fi
    822813761done
    8229   done
     13762done
    823013763IFS=$as_save_IFS
    823113764
     
    823513768PYTHON=$ac_cv_path_PYTHON
    823613769if test -n "$PYTHON"; then
    8237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     13770  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    823813771$as_echo "$PYTHON" >&6; }
    823913772else
    8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13773  { $as_echo "$as_me:$LINENO: result: no" >&5
    824113774$as_echo "no" >&6; }
    824213775fi
     
    824613779    # Extract the first word of "python", so it can be a program name with args.
    824713780set dummy python; ac_word=$2
    8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     13781{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    824913782$as_echo_n "checking for $ac_word... " >&6; }
    8250 if ${ac_cv_path_PYTHON+:} false; then :
     13783if test "${ac_cv_path_PYTHON+set}" = set; then
    825113784  $as_echo_n "(cached) " >&6
    825213785else
     
    826213795  IFS=$as_save_IFS
    826313796  test -z "$as_dir" && as_dir=.
    8264     for ac_exec_ext in '' $ac_executable_extensions; do
    8265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     13797  for ac_exec_ext in '' $ac_executable_extensions; do
     13798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    826613799    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    8267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     13800    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    826813801    break 2
    826913802  fi
    827013803done
    8271   done
     13804done
    827213805IFS=$as_save_IFS
    827313806
     
    827713810PYTHON=$ac_cv_path_PYTHON
    827813811if test -n "$PYTHON"; then
    8279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     13812  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    828013813$as_echo "$PYTHON" >&6; }
    828113814else
    8282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13815  { $as_echo "$as_me:$LINENO: result: no" >&5
    828313816$as_echo "no" >&6; }
    828413817fi
     
    828613819
    828713820  fi
    8288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     13821  { $as_echo "$as_me:$LINENO: checking for Python version" >&5
    828913822$as_echo_n "checking for Python version... " >&6; }
    829013823  if test "x${PYTHON}" != "x"; then
    829113824    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    829213825  fi
    8293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     13826  { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
    829413827$as_echo "$PYTHON_VERSION" >&6; }
    829513828fi
     
    829713830if test "x${PYTHON_VERSION}" != "x"; then
    829813831  PYTHON_INCLUDES=$incdir
    8299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     13832  { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
    830013833$as_echo_n "checking for Python distutils... " >&6; }
    830113834  PYTHON_DISTUTILS=""
     
    830513838    PYTHON_DISTUTILS="yes"
    830613839  fi
    8307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     13840  { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
    830813841$as_echo "$PYTHON_DISTUTILS" >&6; }
    830913842  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    831213845    # Check for Python include path
    831313846    #
    8314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     13847    { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
    831513848$as_echo_n "checking path to Python headers... " >&6; }
    831613849    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    831713850     print distutils.sysconfig.get_python_inc();"`
    8318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     13851    { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
    831913852$as_echo "$PYTHON_INCDIR" >&6; }
    832013853    #
     
    832913862    save_CPPFLAGS=$CPPFLAGS
    833013863    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    8331     for ac_header in Python.h
    8332 do :
    8333   ac_fn_cxx_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
    8334 if test "x$ac_cv_header_Python_h" = xyes; then :
     13864
     13865for ac_header in Python.h
     13866do
     13867as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     13868if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13869  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     13870$as_echo_n "checking for $ac_header... " >&6; }
     13871if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13872  $as_echo_n "(cached) " >&6
     13873fi
     13874ac_res=`eval 'as_val=${'$as_ac_Header'}
     13875                 $as_echo "$as_val"'`
     13876               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13877$as_echo "$ac_res" >&6; }
     13878else
     13879  # Is the header compilable?
     13880{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     13881$as_echo_n "checking $ac_header usability... " >&6; }
     13882cat >conftest.$ac_ext <<_ACEOF
     13883/* confdefs.h.  */
     13884_ACEOF
     13885cat confdefs.h >>conftest.$ac_ext
     13886cat >>conftest.$ac_ext <<_ACEOF
     13887/* end confdefs.h.  */
     13888$ac_includes_default
     13889#include <$ac_header>
     13890_ACEOF
     13891rm -f conftest.$ac_objext
     13892if { (ac_try="$ac_compile"
     13893case "(($ac_try" in
     13894  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13895  *) ac_try_echo=$ac_try;;
     13896esac
     13897eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13898$as_echo "$ac_try_echo") >&5
     13899  (eval "$ac_compile") 2>conftest.er1
     13900  ac_status=$?
     13901  grep -v '^ *+' conftest.er1 >conftest.err
     13902  rm -f conftest.er1
     13903  cat conftest.err >&5
     13904  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13905  (exit $ac_status); } && {
     13906         test -z "$ac_cxx_werror_flag" ||
     13907         test ! -s conftest.err
     13908       } && test -s conftest.$ac_objext; then
     13909  ac_header_compiler=yes
     13910else
     13911  $as_echo "$as_me: failed program was:" >&5
     13912sed 's/^/| /' conftest.$ac_ext >&5
     13913
     13914        ac_header_compiler=no
     13915fi
     13916
     13917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     13918{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     13919$as_echo "$ac_header_compiler" >&6; }
     13920
     13921# Is the header present?
     13922{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     13923$as_echo_n "checking $ac_header presence... " >&6; }
     13924cat >conftest.$ac_ext <<_ACEOF
     13925/* confdefs.h.  */
     13926_ACEOF
     13927cat confdefs.h >>conftest.$ac_ext
     13928cat >>conftest.$ac_ext <<_ACEOF
     13929/* end confdefs.h.  */
     13930#include <$ac_header>
     13931_ACEOF
     13932if { (ac_try="$ac_cpp conftest.$ac_ext"
     13933case "(($ac_try" in
     13934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13935  *) ac_try_echo=$ac_try;;
     13936esac
     13937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13938$as_echo "$ac_try_echo") >&5
     13939  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     13940  ac_status=$?
     13941  grep -v '^ *+' conftest.er1 >conftest.err
     13942  rm -f conftest.er1
     13943  cat conftest.err >&5
     13944  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13945  (exit $ac_status); } >/dev/null && {
     13946         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     13947         test ! -s conftest.err
     13948       }; then
     13949  ac_header_preproc=yes
     13950else
     13951  $as_echo "$as_me: failed program was:" >&5
     13952sed 's/^/| /' conftest.$ac_ext >&5
     13953
     13954  ac_header_preproc=no
     13955fi
     13956
     13957rm -f conftest.err conftest.$ac_ext
     13958{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     13959$as_echo "$ac_header_preproc" >&6; }
     13960
     13961# So?  What about this header?
     13962case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     13963  yes:no: )
     13964    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     13965$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     13966    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     13967$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     13968    ac_header_preproc=yes
     13969    ;;
     13970  no:yes:* )
     13971    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     13972$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     13973    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     13974$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     13975    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     13976$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     13977    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     13978$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     13979    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     13980$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     13981    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     13982$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     13983    ( cat <<\_ASBOX
     13984## ----------------------------------- ##
     13985## Report this to rappture@nanohub.org ##
     13986## ----------------------------------- ##
     13987_ASBOX
     13988     ) | sed "s/^/$as_me: WARNING:     /" >&2
     13989    ;;
     13990esac
     13991{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     13992$as_echo_n "checking for $ac_header... " >&6; }
     13993if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13994  $as_echo_n "(cached) " >&6
     13995else
     13996  eval "$as_ac_Header=\$ac_header_preproc"
     13997fi
     13998ac_res=`eval 'as_val=${'$as_ac_Header'}
     13999                 $as_echo "$as_val"'`
     14000               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14001$as_echo "$ac_res" >&6; }
     14002
     14003fi
     14004as_val=`eval 'as_val=${'$as_ac_Header'}
     14005                 $as_echo "$as_val"'`
     14006   if test "x$as_val" = x""yes; then
    833514007  cat >>confdefs.h <<_ACEOF
    8336 #define HAVE_PYTHON_H 1
     14008#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    833714009_ACEOF
    833814010 found=yes
     
    835314025
    835414026# Check whether --with-java was given.
    8355 if test "${with_java+set}" = set; then :
     14027if test "${with_java+set}" = set; then
    835614028  withval=$with_java;
    835714029else
     
    836814040    # Extract the first word of "java", so it can be a program name with args.
    836914041set dummy java; ac_word=$2
    8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14042{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    837114043$as_echo_n "checking for $ac_word... " >&6; }
    8372 if ${ac_cv_path_JAVA+:} false; then :
     14044if test "${ac_cv_path_JAVA+set}" = set; then
    837314045  $as_echo_n "(cached) " >&6
    837414046else
     
    838314055  IFS=$as_save_IFS
    838414056  test -z "$as_dir" && as_dir=.
    8385     for ac_exec_ext in '' $ac_executable_extensions; do
    8386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14057  for ac_exec_ext in '' $ac_executable_extensions; do
     14058  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    838714059    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    8388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14060    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    838914061    break 2
    839014062  fi
    839114063done
    8392   done
     14064done
    839314065IFS=$as_save_IFS
    839414066
     
    839814070JAVA=$ac_cv_path_JAVA
    839914071if test -n "$JAVA"; then
    8400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
     14072  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
    840114073$as_echo "$JAVA" >&6; }
    840214074else
    8403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14075  { $as_echo "$as_me:$LINENO: result: no" >&5
    840414076$as_echo "no" >&6; }
    840514077fi
     
    840814080    # Extract the first word of "javac", so it can be a program name with args.
    840914081set dummy javac; ac_word=$2
    8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14082{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    841114083$as_echo_n "checking for $ac_word... " >&6; }
    8412 if ${ac_cv_path_JAVAC+:} false; then :
     14084if test "${ac_cv_path_JAVAC+set}" = set; then
    841314085  $as_echo_n "(cached) " >&6
    841414086else
     
    842314095  IFS=$as_save_IFS
    842414096  test -z "$as_dir" && as_dir=.
    8425     for ac_exec_ext in '' $ac_executable_extensions; do
    8426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14097  for ac_exec_ext in '' $ac_executable_extensions; do
     14098  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    842714099    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    8428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14100    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    842914101    break 2
    843014102  fi
    843114103done
    8432   done
     14104done
    843314105IFS=$as_save_IFS
    843414106
     
    843814110JAVAC=$ac_cv_path_JAVAC
    843914111if test -n "$JAVAC"; then
    8440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     14112  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
    844114113$as_echo "$JAVAC" >&6; }
    844214114else
    8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14115  { $as_echo "$as_me:$LINENO: result: no" >&5
    844414116$as_echo "no" >&6; }
    844514117fi
     
    844814120    # Extract the first word of "javah", so it can be a program name with args.
    844914121set dummy javah; ac_word=$2
    8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14122{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    845114123$as_echo_n "checking for $ac_word... " >&6; }
    8452 if ${ac_cv_path_JAVAH+:} false; then :
     14124if test "${ac_cv_path_JAVAH+set}" = set; then
    845314125  $as_echo_n "(cached) " >&6
    845414126else
     
    846314135  IFS=$as_save_IFS
    846414136  test -z "$as_dir" && as_dir=.
    8465     for ac_exec_ext in '' $ac_executable_extensions; do
    8466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14137  for ac_exec_ext in '' $ac_executable_extensions; do
     14138  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    846714139    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    8468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14140    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    846914141    break 2
    847014142  fi
    847114143done
    8472   done
     14144done
    847314145IFS=$as_save_IFS
    847414146
     
    847814150JAVAH=$ac_cv_path_JAVAH
    847914151if test -n "$JAVAH"; then
    8480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
     14152  { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
    848114153$as_echo "$JAVAH" >&6; }
    848214154else
    8483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14155  { $as_echo "$as_me:$LINENO: result: no" >&5
    848414156$as_echo "no" >&6; }
    848514157fi
     
    848914161    # Extract the first word of "java", so it can be a program name with args.
    849014162set dummy java; ac_word=$2
    8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14163{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    849214164$as_echo_n "checking for $ac_word... " >&6; }
    8493 if ${ac_cv_path_JAVA+:} false; then :
     14165if test "${ac_cv_path_JAVA+set}" = set; then
    849414166  $as_echo_n "(cached) " >&6
    849514167else
     
    850514177  IFS=$as_save_IFS
    850614178  test -z "$as_dir" && as_dir=.
    8507     for ac_exec_ext in '' $ac_executable_extensions; do
    8508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14179  for ac_exec_ext in '' $ac_executable_extensions; do
     14180  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    850914181    ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
    8510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14182    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    851114183    break 2
    851214184  fi
    851314185done
    8514   done
     14186done
    851514187IFS=$as_save_IFS
    851614188
     
    852014192JAVA=$ac_cv_path_JAVA
    852114193if test -n "$JAVA"; then
    8522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
     14194  { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
    852314195$as_echo "$JAVA" >&6; }
    852414196else
    8525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14197  { $as_echo "$as_me:$LINENO: result: no" >&5
    852614198$as_echo "no" >&6; }
    852714199fi
     
    853014202    # Extract the first word of "javac", so it can be a program name with args.
    853114203set dummy javac; ac_word=$2
    8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14204{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    853314205$as_echo_n "checking for $ac_word... " >&6; }
    8534 if ${ac_cv_path_JAVAC+:} false; then :
     14206if test "${ac_cv_path_JAVAC+set}" = set; then
    853514207  $as_echo_n "(cached) " >&6
    853614208else
     
    854614218  IFS=$as_save_IFS
    854714219  test -z "$as_dir" && as_dir=.
    8548     for ac_exec_ext in '' $ac_executable_extensions; do
    8549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14220  for ac_exec_ext in '' $ac_executable_extensions; do
     14221  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    855014222    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
    8551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14223    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    855214224    break 2
    855314225  fi
    855414226done
    8555   done
     14227done
    855614228IFS=$as_save_IFS
    855714229
     
    856114233JAVAC=$ac_cv_path_JAVAC
    856214234if test -n "$JAVAC"; then
    8563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
     14235  { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
    856414236$as_echo "$JAVAC" >&6; }
    856514237else
    8566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14238  { $as_echo "$as_me:$LINENO: result: no" >&5
    856714239$as_echo "no" >&6; }
    856814240fi
     
    857114243    # Extract the first word of "javah", so it can be a program name with args.
    857214244set dummy javah; ac_word=$2
    8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14245{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    857414246$as_echo_n "checking for $ac_word... " >&6; }
    8575 if ${ac_cv_path_JAVAH+:} false; then :
     14247if test "${ac_cv_path_JAVAH+set}" = set; then
    857614248  $as_echo_n "(cached) " >&6
    857714249else
     
    858714259  IFS=$as_save_IFS
    858814260  test -z "$as_dir" && as_dir=.
    8589     for ac_exec_ext in '' $ac_executable_extensions; do
    8590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14261  for ac_exec_ext in '' $ac_executable_extensions; do
     14262  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    859114263    ac_cv_path_JAVAH="$as_dir/$ac_word$ac_exec_ext"
    8592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14264    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    859314265    break 2
    859414266  fi
    859514267done
    8596   done
     14268done
    859714269IFS=$as_save_IFS
    859814270
     
    860214274JAVAH=$ac_cv_path_JAVAH
    860314275if test -n "$JAVAH"; then
    8604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAH" >&5
     14276  { $as_echo "$as_me:$LINENO: result: $JAVAH" >&5
    860514277$as_echo "$JAVAH" >&6; }
    860614278else
    8607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14279  { $as_echo "$as_me:$LINENO: result: no" >&5
    860814280$as_echo "no" >&6; }
    860914281fi
     
    864914321
    865014322# Check whether --with-R was given.
    8651 if test "${with_R+set}" = set; then :
     14323if test "${with_R+set}" = set; then
    865214324  withval=$with_R;
    865314325else
     
    866114333    # Extract the first word of "R", so it can be a program name with args.
    866214334set dummy R; ac_word=$2
    8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14335{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    866414336$as_echo_n "checking for $ac_word... " >&6; }
    8665 if ${ac_cv_path_R+:} false; then :
     14337if test "${ac_cv_path_R+set}" = set; then
    866614338  $as_echo_n "(cached) " >&6
    866714339else
     
    867614348  IFS=$as_save_IFS
    867714349  test -z "$as_dir" && as_dir=.
    8678     for ac_exec_ext in '' $ac_executable_extensions; do
    8679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14350  for ac_exec_ext in '' $ac_executable_extensions; do
     14351  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    868014352    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    8681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14353    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    868214354    break 2
    868314355  fi
    868414356done
    8685   done
     14357done
    868614358IFS=$as_save_IFS
    868714359
     
    869114363R=$ac_cv_path_R
    869214364if test -n "$R"; then
    8693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
     14365  { $as_echo "$as_me:$LINENO: result: $R" >&5
    869414366$as_echo "$R" >&6; }
    869514367else
    8696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14368  { $as_echo "$as_me:$LINENO: result: no" >&5
    869714369$as_echo "no" >&6; }
    869814370fi
     
    870214374    # Extract the first word of "R", so it can be a program name with args.
    870314375set dummy R; ac_word=$2
    8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     14376{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    870514377$as_echo_n "checking for $ac_word... " >&6; }
    8706 if ${ac_cv_path_R+:} false; then :
     14378if test "${ac_cv_path_R+set}" = set; then
    870714379  $as_echo_n "(cached) " >&6
    870814380else
     
    871814390  IFS=$as_save_IFS
    871914391  test -z "$as_dir" && as_dir=.
    8720     for ac_exec_ext in '' $ac_executable_extensions; do
    8721   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     14392  for ac_exec_ext in '' $ac_executable_extensions; do
     14393  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    872214394    ac_cv_path_R="$as_dir/$ac_word$ac_exec_ext"
    8723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     14395    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    872414396    break 2
    872514397  fi
    872614398done
    8727   done
     14399done
    872814400IFS=$as_save_IFS
    872914401
     
    873314405R=$ac_cv_path_R
    873414406if test -n "$R"; then
    8735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $R" >&5
     14407  { $as_echo "$as_me:$LINENO: result: $R" >&5
    873614408$as_echo "$R" >&6; }
    873714409else
    8738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     14410  { $as_echo "$as_me:$LINENO: result: no" >&5
    873914411$as_echo "no" >&6; }
    874014412fi
     
    874714419# Make sure we can run config.sub.
    874814420$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    8749   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    8750 
    8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     14421  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
     14422$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
     14423   { (exit 1); exit 1; }; }
     14424
     14425{ $as_echo "$as_me:$LINENO: checking build system type" >&5
    875214426$as_echo_n "checking build system type... " >&6; }
    8753 if ${ac_cv_build+:} false; then :
     14427if test "${ac_cv_build+set}" = set; then
    875414428  $as_echo_n "(cached) " >&6
    875514429else
     
    875814432  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    875914433test "x$ac_build_alias" = x &&
    8760   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     14434  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     14435$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     14436   { (exit 1); exit 1; }; }
    876114437ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    8762   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    8763 
    8764 fi
    8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     14438  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
     14439$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
     14440   { (exit 1); exit 1; }; }
     14441
     14442fi
     14443{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    876614444$as_echo "$ac_cv_build" >&6; }
    876714445case $ac_cv_build in
    876814446*-*-*) ;;
    8769 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     14447*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
     14448$as_echo "$as_me: error: invalid value of canonical build" >&2;}
     14449   { (exit 1); exit 1; }; };;
    877014450esac
    877114451build=$ac_cv_build
     
    878314463
    878414464
    8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    8786 $as_echo_n "checking host system type... " >&6; }
    8787 if ${ac_cv_host+:} false; then :
    8788   $as_echo_n "(cached) " >&6
    8789 else
    8790   if test "x$host_alias" = x; then
    8791   ac_cv_host=$ac_cv_build
    8792 else
    8793   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    8794     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    8795 fi
    8796 
    8797 fi
    8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    8799 $as_echo "$ac_cv_host" >&6; }
    8800 case $ac_cv_host in
    8801 *-*-*) ;;
    8802 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    8803 esac
    8804 host=$ac_cv_host
    8805 ac_save_IFS=$IFS; IFS='-'
    8806 set x $ac_cv_host
    8807 shift
    8808 host_cpu=$1
    8809 host_vendor=$2
    8810 shift; shift
    8811 # Remember, the first character of IFS is used to create $*,
    8812 # except with old shells:
    8813 host_os=$*
    8814 IFS=$ac_save_IFS
    8815 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    8816 
    8817 
    881814465
    881914466
    882014467
    882114468# Check whether --with-ruby was given.
    8822 if test "${with_ruby+set}" = set; then :
     14469if test "${with_ruby+set}" = set; then
    882314470  withval=$with_ruby;  RUBY=$withval
    882414471else
     
    882814475
    882914476# Check whether --with-ruby_sitelibdir was given.
    8830 if test "${with_ruby_sitelibdir+set}" = set; then :
     14477if test "${with_ruby_sitelibdir+set}" = set; then
    883114478  withval=$with_ruby_sitelibdir;  ruby_sitelibdir=$withval
    883214479else
     
    891514562CPPFLAGS="${CPPFLAGS} ${RUBY_CPPFLAGS}"
    891614563CXXFLAGS="${CPPFLAGS}"
     14564
    891714565for ac_header in ruby.h
    8918 do :
    8919   ac_fn_cxx_check_header_mongrel "$LINENO" "ruby.h" "ac_cv_header_ruby_h" "$ac_includes_default"
    8920 if test "x$ac_cv_header_ruby_h" = xyes; then :
     14566do
     14567as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14568if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14569  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14570$as_echo_n "checking for $ac_header... " >&6; }
     14571if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14572  $as_echo_n "(cached) " >&6
     14573fi
     14574ac_res=`eval 'as_val=${'$as_ac_Header'}
     14575                 $as_echo "$as_val"'`
     14576               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14577$as_echo "$ac_res" >&6; }
     14578else
     14579  # Is the header compilable?
     14580{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     14581$as_echo_n "checking $ac_header usability... " >&6; }
     14582cat >conftest.$ac_ext <<_ACEOF
     14583/* confdefs.h.  */
     14584_ACEOF
     14585cat confdefs.h >>conftest.$ac_ext
     14586cat >>conftest.$ac_ext <<_ACEOF
     14587/* end confdefs.h.  */
     14588$ac_includes_default
     14589#include <$ac_header>
     14590_ACEOF
     14591rm -f conftest.$ac_objext
     14592if { (ac_try="$ac_compile"
     14593case "(($ac_try" in
     14594  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14595  *) ac_try_echo=$ac_try;;
     14596esac
     14597eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14598$as_echo "$ac_try_echo") >&5
     14599  (eval "$ac_compile") 2>conftest.er1
     14600  ac_status=$?
     14601  grep -v '^ *+' conftest.er1 >conftest.err
     14602  rm -f conftest.er1
     14603  cat conftest.err >&5
     14604  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14605  (exit $ac_status); } && {
     14606         test -z "$ac_cxx_werror_flag" ||
     14607         test ! -s conftest.err
     14608       } && test -s conftest.$ac_objext; then
     14609  ac_header_compiler=yes
     14610else
     14611  $as_echo "$as_me: failed program was:" >&5
     14612sed 's/^/| /' conftest.$ac_ext >&5
     14613
     14614        ac_header_compiler=no
     14615fi
     14616
     14617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14618{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     14619$as_echo "$ac_header_compiler" >&6; }
     14620
     14621# Is the header present?
     14622{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     14623$as_echo_n "checking $ac_header presence... " >&6; }
     14624cat >conftest.$ac_ext <<_ACEOF
     14625/* confdefs.h.  */
     14626_ACEOF
     14627cat confdefs.h >>conftest.$ac_ext
     14628cat >>conftest.$ac_ext <<_ACEOF
     14629/* end confdefs.h.  */
     14630#include <$ac_header>
     14631_ACEOF
     14632if { (ac_try="$ac_cpp conftest.$ac_ext"
     14633case "(($ac_try" in
     14634  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14635  *) ac_try_echo=$ac_try;;
     14636esac
     14637eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14638$as_echo "$ac_try_echo") >&5
     14639  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     14640  ac_status=$?
     14641  grep -v '^ *+' conftest.er1 >conftest.err
     14642  rm -f conftest.er1
     14643  cat conftest.err >&5
     14644  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14645  (exit $ac_status); } >/dev/null && {
     14646         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     14647         test ! -s conftest.err
     14648       }; then
     14649  ac_header_preproc=yes
     14650else
     14651  $as_echo "$as_me: failed program was:" >&5
     14652sed 's/^/| /' conftest.$ac_ext >&5
     14653
     14654  ac_header_preproc=no
     14655fi
     14656
     14657rm -f conftest.err conftest.$ac_ext
     14658{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     14659$as_echo "$ac_header_preproc" >&6; }
     14660
     14661# So?  What about this header?
     14662case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     14663  yes:no: )
     14664    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     14665$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     14666    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     14667$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     14668    ac_header_preproc=yes
     14669    ;;
     14670  no:yes:* )
     14671    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     14672$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     14673    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     14674$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     14675    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     14676$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     14677    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     14678$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     14679    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     14680$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     14681    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     14682$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     14683    ( cat <<\_ASBOX
     14684## ----------------------------------- ##
     14685## Report this to rappture@nanohub.org ##
     14686## ----------------------------------- ##
     14687_ASBOX
     14688     ) | sed "s/^/$as_me: WARNING:     /" >&2
     14689    ;;
     14690esac
     14691{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14692$as_echo_n "checking for $ac_header... " >&6; }
     14693if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14694  $as_echo_n "(cached) " >&6
     14695else
     14696  eval "$as_ac_Header=\$ac_header_preproc"
     14697fi
     14698ac_res=`eval 'as_val=${'$as_ac_Header'}
     14699                 $as_echo "$as_val"'`
     14700               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14701$as_echo "$ac_res" >&6; }
     14702
     14703fi
     14704as_val=`eval 'as_val=${'$as_ac_Header'}
     14705                 $as_echo "$as_val"'`
     14706   if test "x$as_val" = x""yes; then
    892114707  cat >>confdefs.h <<_ACEOF
    8922 #define HAVE_RUBY_H 1
     14708#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    892314709_ACEOF
    892414710
     
    893014716
    893114717
     14718
    893214719for ac_header in node.h
    8933 do :
    8934   ac_fn_cxx_check_header_compile "$LINENO" "node.h" "ac_cv_header_node_h" "
     14720do
     14721as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14722{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14723$as_echo_n "checking for $ac_header... " >&6; }
     14724if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14725  $as_echo_n "(cached) " >&6
     14726else
     14727  cat >conftest.$ac_ext <<_ACEOF
     14728/* confdefs.h.  */
     14729_ACEOF
     14730cat confdefs.h >>conftest.$ac_ext
     14731cat >>conftest.$ac_ext <<_ACEOF
     14732/* end confdefs.h.  */
     14733
    893514734#include <ruby.h>
    893614735
    8937 "
    8938 if test "x$ac_cv_header_node_h" = xyes; then :
     14736
     14737#include <$ac_header>
     14738_ACEOF
     14739rm -f conftest.$ac_objext
     14740if { (ac_try="$ac_compile"
     14741case "(($ac_try" in
     14742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14743  *) ac_try_echo=$ac_try;;
     14744esac
     14745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14746$as_echo "$ac_try_echo") >&5
     14747  (eval "$ac_compile") 2>conftest.er1
     14748  ac_status=$?
     14749  grep -v '^ *+' conftest.er1 >conftest.err
     14750  rm -f conftest.er1
     14751  cat conftest.err >&5
     14752  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14753  (exit $ac_status); } && {
     14754         test -z "$ac_cxx_werror_flag" ||
     14755         test ! -s conftest.err
     14756       } && test -s conftest.$ac_objext; then
     14757  eval "$as_ac_Header=yes"
     14758else
     14759  $as_echo "$as_me: failed program was:" >&5
     14760sed 's/^/| /' conftest.$ac_ext >&5
     14761
     14762        eval "$as_ac_Header=no"
     14763fi
     14764
     14765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14766fi
     14767ac_res=`eval 'as_val=${'$as_ac_Header'}
     14768                 $as_echo "$as_val"'`
     14769               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14770$as_echo "$ac_res" >&6; }
     14771as_val=`eval 'as_val=${'$as_ac_Header'}
     14772                 $as_echo "$as_val"'`
     14773   if test "x$as_val" = x""yes; then
    893914774  cat >>confdefs.h <<_ACEOF
    8940 #define HAVE_NODE_H 1
     14775#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    894114776_ACEOF
    894214777
     
    894514780done
    894614781
     14782
    894714783for ac_header in ruby/node.h
    8948 do :
    8949   ac_fn_cxx_check_header_compile "$LINENO" "ruby/node.h" "ac_cv_header_ruby_node_h" "
     14784do
     14785as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14786{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14787$as_echo_n "checking for $ac_header... " >&6; }
     14788if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14789  $as_echo_n "(cached) " >&6
     14790else
     14791  cat >conftest.$ac_ext <<_ACEOF
     14792/* confdefs.h.  */
     14793_ACEOF
     14794cat confdefs.h >>conftest.$ac_ext
     14795cat >>conftest.$ac_ext <<_ACEOF
     14796/* end confdefs.h.  */
     14797
    895014798                             #include <ruby.h>
    895114799
    8952 "
    8953 if test "x$ac_cv_header_ruby_node_h" = xyes; then :
     14800
     14801#include <$ac_header>
     14802_ACEOF
     14803rm -f conftest.$ac_objext
     14804if { (ac_try="$ac_compile"
     14805case "(($ac_try" in
     14806  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14807  *) ac_try_echo=$ac_try;;
     14808esac
     14809eval 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
     14821  eval "$as_ac_Header=yes"
     14822else
     14823  $as_echo "$as_me: failed program was:" >&5
     14824sed 's/^/| /' conftest.$ac_ext >&5
     14825
     14826        eval "$as_ac_Header=no"
     14827fi
     14828
     14829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14830fi
     14831ac_res=`eval 'as_val=${'$as_ac_Header'}
     14832                 $as_echo "$as_val"'`
     14833               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14834$as_echo "$ac_res" >&6; }
     14835as_val=`eval 'as_val=${'$as_ac_Header'}
     14836                 $as_echo "$as_val"'`
     14837   if test "x$as_val" = x""yes; then
    895414838  cat >>confdefs.h <<_ACEOF
    8955 #define HAVE_RUBY_NODE_H 1
    8956 _ACEOF
    8957 
    8958 $as_echo "#define REALLY_HAVE_RUBY_NODE_H /**/" >>confdefs.h
     14839#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     14840_ACEOF
     14841
     14842cat >>confdefs.h <<\_ACEOF
     14843#define REALLY_HAVE_RUBY_NODE_H /**/
     14844_ACEOF
    895914845
    896014846fi
     
    896214848done
    896314849
     14850
    896414851for ac_header in version.h
    8965 do :
    8966   ac_fn_cxx_check_header_compile "$LINENO" "version.h" "ac_cv_header_version_h" "
     14852do
     14853as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14854{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14855$as_echo_n "checking for $ac_header... " >&6; }
     14856if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14857  $as_echo_n "(cached) " >&6
     14858else
     14859  cat >conftest.$ac_ext <<_ACEOF
     14860/* confdefs.h.  */
     14861_ACEOF
     14862cat confdefs.h >>conftest.$ac_ext
     14863cat >>conftest.$ac_ext <<_ACEOF
     14864/* end confdefs.h.  */
     14865
    896714866#include <ruby.h>
    896814867
    8969 "
    8970 if test "x$ac_cv_header_version_h" = xyes; then :
     14868
     14869#include <$ac_header>
     14870_ACEOF
     14871rm -f conftest.$ac_objext
     14872if { (ac_try="$ac_compile"
     14873case "(($ac_try" in
     14874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14875  *) ac_try_echo=$ac_try;;
     14876esac
     14877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14878$as_echo "$ac_try_echo") >&5
     14879  (eval "$ac_compile") 2>conftest.er1
     14880  ac_status=$?
     14881  grep -v '^ *+' conftest.er1 >conftest.err
     14882  rm -f conftest.er1
     14883  cat conftest.err >&5
     14884  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14885  (exit $ac_status); } && {
     14886         test -z "$ac_cxx_werror_flag" ||
     14887         test ! -s conftest.err
     14888       } && test -s conftest.$ac_objext; then
     14889  eval "$as_ac_Header=yes"
     14890else
     14891  $as_echo "$as_me: failed program was:" >&5
     14892sed 's/^/| /' conftest.$ac_ext >&5
     14893
     14894        eval "$as_ac_Header=no"
     14895fi
     14896
     14897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14898fi
     14899ac_res=`eval 'as_val=${'$as_ac_Header'}
     14900                 $as_echo "$as_val"'`
     14901               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14902$as_echo "$ac_res" >&6; }
     14903as_val=`eval 'as_val=${'$as_ac_Header'}
     14904                 $as_echo "$as_val"'`
     14905   if test "x$as_val" = x""yes; then
    897114906  cat >>confdefs.h <<_ACEOF
    8972 #define HAVE_VERSION_H 1
     14907#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    897314908_ACEOF
    897414909
     
    897714912done
    897814913
     14914
    897914915for ac_header in env.h
    8980 do :
    8981   ac_fn_cxx_check_header_compile "$LINENO" "env.h" "ac_cv_header_env_h" "
     14916do
     14917as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     14918{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     14919$as_echo_n "checking for $ac_header... " >&6; }
     14920if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     14921  $as_echo_n "(cached) " >&6
     14922else
     14923  cat >conftest.$ac_ext <<_ACEOF
     14924/* confdefs.h.  */
     14925_ACEOF
     14926cat confdefs.h >>conftest.$ac_ext
     14927cat >>conftest.$ac_ext <<_ACEOF
     14928/* end confdefs.h.  */
     14929
    898214930#include <ruby.h>
    898314931
    8984 "
    8985 if test "x$ac_cv_header_env_h" = xyes; then :
     14932
     14933#include <$ac_header>
     14934_ACEOF
     14935rm -f conftest.$ac_objext
     14936if { (ac_try="$ac_compile"
     14937case "(($ac_try" in
     14938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14939  *) ac_try_echo=$ac_try;;
     14940esac
     14941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14942$as_echo "$ac_try_echo") >&5
     14943  (eval "$ac_compile") 2>conftest.er1
     14944  ac_status=$?
     14945  grep -v '^ *+' conftest.er1 >conftest.err
     14946  rm -f conftest.er1
     14947  cat conftest.err >&5
     14948  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14949  (exit $ac_status); } && {
     14950         test -z "$ac_cxx_werror_flag" ||
     14951         test ! -s conftest.err
     14952       } && test -s conftest.$ac_objext; then
     14953  eval "$as_ac_Header=yes"
     14954else
     14955  $as_echo "$as_me: failed program was:" >&5
     14956sed 's/^/| /' conftest.$ac_ext >&5
     14957
     14958        eval "$as_ac_Header=no"
     14959fi
     14960
     14961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     14962fi
     14963ac_res=`eval 'as_val=${'$as_ac_Header'}
     14964                 $as_echo "$as_val"'`
     14965               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14966$as_echo "$ac_res" >&6; }
     14967as_val=`eval 'as_val=${'$as_ac_Header'}
     14968                 $as_echo "$as_val"'`
     14969   if test "x$as_val" = x""yes; then
    898614970  cat >>confdefs.h <<_ACEOF
    8987 #define HAVE_ENV_H 1
     14971#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    898814972_ACEOF
    898914973
     
    899414978
    899514979CPPFLAGS="${CPPFLAGS_save}"
     14980
     14981{ $as_echo "$as_me:$LINENO: checking host system type" >&5
     14982$as_echo_n "checking host system type... " >&6; }
     14983if test "${ac_cv_host+set}" = set; then
     14984  $as_echo_n "(cached) " >&6
     14985else
     14986  if test "x$host_alias" = x; then
     14987  ac_cv_host=$ac_cv_build
     14988else
     14989  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     14990    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
     14991$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
     14992   { (exit 1); exit 1; }; }
     14993fi
     14994
     14995fi
     14996{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     14997$as_echo "$ac_cv_host" >&6; }
     14998case $ac_cv_host in
     14999*-*-*) ;;
     15000*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
     15001$as_echo "$as_me: error: invalid value of canonical host" >&2;}
     15002   { (exit 1); exit 1; }; };;
     15003esac
     15004host=$ac_cv_host
     15005ac_save_IFS=$IFS; IFS='-'
     15006set x $ac_cv_host
     15007shift
     15008host_cpu=$1
     15009host_vendor=$2
     15010shift; shift
     15011# Remember, the first character of IFS is used to create $*,
     15012# except with old shells:
     15013host_os=$*
     15014IFS=$ac_save_IFS
     15015case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    899615016
    899715017
     
    901815038
    901915039
    9020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
     15040    { $as_echo "$as_me:$LINENO: checking how to build libraries" >&5
    902115041$as_echo_n "checking how to build libraries... " >&6; }
    902215042    # Check whether --enable-shared was given.
    9023 if test "${enable_shared+set}" = set; then :
     15043if test "${enable_shared+set}" = set; then
    902415044  enableval=$enable_shared; tcl_ok=$enableval
    902515045else
     
    903615056
    903715057    if test "$tcl_ok" = "yes" ; then
    9038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
     15058        { $as_echo "$as_me:$LINENO: result: shared" >&5
    903915059$as_echo "shared" >&6; }
    904015060        SHARED_BUILD=1
    904115061    else
    9042         { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
     15062        { $as_echo "$as_me:$LINENO: result: static" >&5
    904315063$as_echo "static" >&6; }
    904415064        SHARED_BUILD=0
    9045         $as_echo "#define STATIC_BUILD 1" >>confdefs.h
     15065        cat >>confdefs.h <<\_ACEOF
     15066#define STATIC_BUILD 1
     15067_ACEOF
    904615068
    904715069    fi
     
    906815090# -----------------------------------------------------------------------
    906915091
    9070  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     15092
     15093 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    907115094$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    9072 if ${ac_cv_c_bigendian+:} false; then :
     15095if test "${ac_cv_c_bigendian+set}" = set; then
    907315096  $as_echo_n "(cached) " >&6
    907415097else
    907515098  ac_cv_c_bigendian=unknown
    907615099    # See if we're dealing with a universal compiler.
    9077     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15100    cat >conftest.$ac_ext <<_ACEOF
     15101/* confdefs.h.  */
     15102_ACEOF
     15103cat confdefs.h >>conftest.$ac_ext
     15104cat >>conftest.$ac_ext <<_ACEOF
    907815105/* end confdefs.h.  */
    907915106#ifndef __APPLE_CC__
     
    908315110
    908415111_ACEOF
    9085 if ac_fn_cxx_try_compile "$LINENO"; then :
     15112rm -f conftest.$ac_objext
     15113if { (ac_try="$ac_compile"
     15114case "(($ac_try" in
     15115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15116  *) ac_try_echo=$ac_try;;
     15117esac
     15118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15119$as_echo "$ac_try_echo") >&5
     15120  (eval "$ac_compile") 2>conftest.er1
     15121  ac_status=$?
     15122  grep -v '^ *+' conftest.er1 >conftest.err
     15123  rm -f conftest.er1
     15124  cat conftest.err >&5
     15125  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15126  (exit $ac_status); } && {
     15127         test -z "$ac_cxx_werror_flag" ||
     15128         test ! -s conftest.err
     15129       } && test -s conftest.$ac_objext; then
    908615130
    908715131        # Check for potential -arch flags.  It is not universal unless
    9088         # there are at least two -arch flags with different values.
    9089         ac_arch=
    9090         ac_prev=
    9091         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    9092          if test -n "$ac_prev"; then
    9093            case $ac_word in
    9094              i?86 | x86_64 | ppc | ppc64)
    9095                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    9096                  ac_arch=$ac_word
    9097                else
    9098                  ac_cv_c_bigendian=universal
    9099                  break
    9100                fi
    9101                ;;
    9102            esac
    9103            ac_prev=
    9104          elif test "x$ac_word" = "x-arch"; then
    9105            ac_prev=arch
    9106          fi
    9107        done
    9108 fi
     15132        # there are some -arch flags.  Note that *ppc* also matches
     15133        # ppc64.  This check is also rather less than ideal.
     15134        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     15135          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     15136        esac
     15137else
     15138  $as_echo "$as_me: failed program was:" >&5
     15139sed 's/^/| /' conftest.$ac_ext >&5
     15140
     15141
     15142fi
     15143
    910915144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    911015145    if test $ac_cv_c_bigendian = unknown; then
    911115146      # See if sys/param.h defines the BYTE_ORDER macro.
    9112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15147      cat >conftest.$ac_ext <<_ACEOF
     15148/* confdefs.h.  */
     15149_ACEOF
     15150cat confdefs.h >>conftest.$ac_ext
     15151cat >>conftest.$ac_ext <<_ACEOF
    911315152/* end confdefs.h.  */
    911415153#include <sys/types.h>
     
    912815167}
    912915168_ACEOF
    9130 if ac_fn_cxx_try_compile "$LINENO"; then :
     15169rm -f conftest.$ac_objext
     15170if { (ac_try="$ac_compile"
     15171case "(($ac_try" in
     15172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15173  *) ac_try_echo=$ac_try;;
     15174esac
     15175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15176$as_echo "$ac_try_echo") >&5
     15177  (eval "$ac_compile") 2>conftest.er1
     15178  ac_status=$?
     15179  grep -v '^ *+' conftest.er1 >conftest.err
     15180  rm -f conftest.er1
     15181  cat conftest.err >&5
     15182  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15183  (exit $ac_status); } && {
     15184         test -z "$ac_cxx_werror_flag" ||
     15185         test ! -s conftest.err
     15186       } && test -s conftest.$ac_objext; then
    913115187  # It does; now see whether it defined to BIG_ENDIAN or not.
    9132          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15188         cat >conftest.$ac_ext <<_ACEOF
     15189/* confdefs.h.  */
     15190_ACEOF
     15191cat confdefs.h >>conftest.$ac_ext
     15192cat >>conftest.$ac_ext <<_ACEOF
    913315193/* end confdefs.h.  */
    913415194#include <sys/types.h>
     
    914615206}
    914715207_ACEOF
    9148 if ac_fn_cxx_try_compile "$LINENO"; then :
     15208rm -f conftest.$ac_objext
     15209if { (ac_try="$ac_compile"
     15210case "(($ac_try" in
     15211  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15212  *) ac_try_echo=$ac_try;;
     15213esac
     15214eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15215$as_echo "$ac_try_echo") >&5
     15216  (eval "$ac_compile") 2>conftest.er1
     15217  ac_status=$?
     15218  grep -v '^ *+' conftest.er1 >conftest.err
     15219  rm -f conftest.er1
     15220  cat conftest.err >&5
     15221  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15222  (exit $ac_status); } && {
     15223         test -z "$ac_cxx_werror_flag" ||
     15224         test ! -s conftest.err
     15225       } && test -s conftest.$ac_objext; then
    914915226  ac_cv_c_bigendian=yes
    915015227else
    9151   ac_cv_c_bigendian=no
    9152 fi
     15228  $as_echo "$as_me: failed program was:" >&5
     15229sed 's/^/| /' conftest.$ac_ext >&5
     15230
     15231        ac_cv_c_bigendian=no
     15232fi
     15233
    915315234rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9154 fi
     15235else
     15236  $as_echo "$as_me: failed program was:" >&5
     15237sed 's/^/| /' conftest.$ac_ext >&5
     15238
     15239
     15240fi
     15241
    915515242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    915615243    fi
    915715244    if test $ac_cv_c_bigendian = unknown; then
    915815245      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    9159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15246      cat >conftest.$ac_ext <<_ACEOF
     15247/* confdefs.h.  */
     15248_ACEOF
     15249cat confdefs.h >>conftest.$ac_ext
     15250cat >>conftest.$ac_ext <<_ACEOF
    916015251/* end confdefs.h.  */
    916115252#include <limits.h>
     
    917215263}
    917315264_ACEOF
    9174 if ac_fn_cxx_try_compile "$LINENO"; then :
     15265rm -f conftest.$ac_objext
     15266if { (ac_try="$ac_compile"
     15267case "(($ac_try" in
     15268  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15269  *) ac_try_echo=$ac_try;;
     15270esac
     15271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15272$as_echo "$ac_try_echo") >&5
     15273  (eval "$ac_compile") 2>conftest.er1
     15274  ac_status=$?
     15275  grep -v '^ *+' conftest.er1 >conftest.err
     15276  rm -f conftest.er1
     15277  cat conftest.err >&5
     15278  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15279  (exit $ac_status); } && {
     15280         test -z "$ac_cxx_werror_flag" ||
     15281         test ! -s conftest.err
     15282       } && test -s conftest.$ac_objext; then
    917515283  # It does; now see whether it defined to _BIG_ENDIAN or not.
    9176          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15284         cat >conftest.$ac_ext <<_ACEOF
     15285/* confdefs.h.  */
     15286_ACEOF
     15287cat confdefs.h >>conftest.$ac_ext
     15288cat >>conftest.$ac_ext <<_ACEOF
    917715289/* end confdefs.h.  */
    917815290#include <limits.h>
     
    918915301}
    919015302_ACEOF
    9191 if ac_fn_cxx_try_compile "$LINENO"; then :
     15303rm -f conftest.$ac_objext
     15304if { (ac_try="$ac_compile"
     15305case "(($ac_try" in
     15306  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15307  *) ac_try_echo=$ac_try;;
     15308esac
     15309eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15310$as_echo "$ac_try_echo") >&5
     15311  (eval "$ac_compile") 2>conftest.er1
     15312  ac_status=$?
     15313  grep -v '^ *+' conftest.er1 >conftest.err
     15314  rm -f conftest.er1
     15315  cat conftest.err >&5
     15316  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15317  (exit $ac_status); } && {
     15318         test -z "$ac_cxx_werror_flag" ||
     15319         test ! -s conftest.err
     15320       } && test -s conftest.$ac_objext; then
    919215321  ac_cv_c_bigendian=yes
    919315322else
    9194   ac_cv_c_bigendian=no
    9195 fi
     15323  $as_echo "$as_me: failed program was:" >&5
     15324sed 's/^/| /' conftest.$ac_ext >&5
     15325
     15326        ac_cv_c_bigendian=no
     15327fi
     15328
    919615329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9197 fi
     15330else
     15331  $as_echo "$as_me: failed program was:" >&5
     15332sed 's/^/| /' conftest.$ac_ext >&5
     15333
     15334
     15335fi
     15336
    919815337rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    919915338    fi
    920015339    if test $ac_cv_c_bigendian = unknown; then
    920115340      # Compile a test program.
    9202       if test "$cross_compiling" = yes; then :
     15341      if test "$cross_compiling" = yes; then
    920315342  # Try to guess by grepping values from an object file.
    9204          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15343         cat >conftest.$ac_ext <<_ACEOF
     15344/* confdefs.h.  */
     15345_ACEOF
     15346cat confdefs.h >>conftest.$ac_ext
     15347cat >>conftest.$ac_ext <<_ACEOF
    920515348/* end confdefs.h.  */
    920615349short int ascii_mm[] =
     
    922815371}
    922915372_ACEOF
    9230 if ac_fn_cxx_try_compile "$LINENO"; then :
     15373rm -f conftest.$ac_objext
     15374if { (ac_try="$ac_compile"
     15375case "(($ac_try" in
     15376  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15377  *) ac_try_echo=$ac_try;;
     15378esac
     15379eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15380$as_echo "$ac_try_echo") >&5
     15381  (eval "$ac_compile") 2>conftest.er1
     15382  ac_status=$?
     15383  grep -v '^ *+' conftest.er1 >conftest.err
     15384  rm -f conftest.er1
     15385  cat conftest.err >&5
     15386  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15387  (exit $ac_status); } && {
     15388         test -z "$ac_cxx_werror_flag" ||
     15389         test ! -s conftest.err
     15390       } && test -s conftest.$ac_objext; then
    923115391  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    923215392              ac_cv_c_bigendian=yes
     
    924015400              fi
    924115401            fi
    9242 fi
     15402else
     15403  $as_echo "$as_me: failed program was:" >&5
     15404sed 's/^/| /' conftest.$ac_ext >&5
     15405
     15406
     15407fi
     15408
    924315409rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    924415410else
    9245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15411  cat >conftest.$ac_ext <<_ACEOF
     15412/* confdefs.h.  */
     15413_ACEOF
     15414cat confdefs.h >>conftest.$ac_ext
     15415cat >>conftest.$ac_ext <<_ACEOF
    924615416/* end confdefs.h.  */
    924715417$ac_includes_default
     
    926315433}
    926415434_ACEOF
    9265 if ac_fn_cxx_try_run "$LINENO"; then :
     15435rm -f conftest$ac_exeext
     15436if { (ac_try="$ac_link"
     15437case "(($ac_try" in
     15438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15439  *) ac_try_echo=$ac_try;;
     15440esac
     15441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15442$as_echo "$ac_try_echo") >&5
     15443  (eval "$ac_link") 2>&5
     15444  ac_status=$?
     15445  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15446  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     15447  { (case "(($ac_try" in
     15448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15449  *) ac_try_echo=$ac_try;;
     15450esac
     15451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15452$as_echo "$ac_try_echo") >&5
     15453  (eval "$ac_try") 2>&5
     15454  ac_status=$?
     15455  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15456  (exit $ac_status); }; }; then
    926615457  ac_cv_c_bigendian=no
    926715458else
    9268   ac_cv_c_bigendian=yes
    9269 fi
    9270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    9271   conftest.$ac_objext conftest.beam conftest.$ac_ext
    9272 fi
     15459  $as_echo "$as_me: program exited with status $ac_status" >&5
     15460$as_echo "$as_me: failed program was:" >&5
     15461sed 's/^/| /' conftest.$ac_ext >&5
     15462
     15463( exit $ac_status )
     15464ac_cv_c_bigendian=yes
     15465fi
     15466rm -rf conftest.dSYM
     15467rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     15468fi
     15469
    927315470
    927415471    fi
    927515472fi
    9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     15473{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    927715474$as_echo "$ac_cv_c_bigendian" >&6; }
    927815475 case $ac_cv_c_bigendian in #(
    927915476   yes)
    9280      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     15477     cat >>confdefs.h <<\_ACEOF
     15478#define WORDS_BIGENDIAN 1
     15479_ACEOF
    928115480;; #(
    928215481   no)
     
    928415483   universal)
    928515484
    9286 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     15485cat >>confdefs.h <<\_ACEOF
     15486#define AC_APPLE_UNIVERSAL_BUILD 1
     15487_ACEOF
    928715488
    928815489     ;; #(
    928915490   *)
    9290      as_fn_error $? "unknown endianness
    9291  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     15491     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     15492 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     15493$as_echo "$as_me: error: unknown endianness
     15494 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     15495   { (exit 1); exit 1; }; } ;;
    929215496 esac
    929315497
     
    929615500# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    929715501# This bug is HP SR number 8606223364.
    9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     15502{ $as_echo "$as_me:$LINENO: checking size of int" >&5
    929915503$as_echo_n "checking size of int... " >&6; }
    9300 if ${ac_cv_sizeof_int+:} false; then :
     15504if test "${ac_cv_sizeof_int+set}" = set; then
    930115505  $as_echo_n "(cached) " >&6
    930215506else
    9303   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
    9304 
    9305 else
    9306   if test "$ac_cv_type_int" = yes; then
    9307      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     15507  if test "$cross_compiling" = yes; then
     15508  # Depending upon the size, compute the lo and hi bounds.
     15509cat >conftest.$ac_ext <<_ACEOF
     15510/* confdefs.h.  */
     15511_ACEOF
     15512cat confdefs.h >>conftest.$ac_ext
     15513cat >>conftest.$ac_ext <<_ACEOF
     15514/* end confdefs.h.  */
     15515$ac_includes_default
     15516int
     15517main ()
     15518{
     15519static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
     15520test_array [0] = 0
     15521
     15522  ;
     15523  return 0;
     15524}
     15525_ACEOF
     15526rm -f conftest.$ac_objext
     15527if { (ac_try="$ac_compile"
     15528case "(($ac_try" in
     15529  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15530  *) ac_try_echo=$ac_try;;
     15531esac
     15532eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15533$as_echo "$ac_try_echo") >&5
     15534  (eval "$ac_compile") 2>conftest.er1
     15535  ac_status=$?
     15536  grep -v '^ *+' conftest.er1 >conftest.err
     15537  rm -f conftest.er1
     15538  cat conftest.err >&5
     15539  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15540  (exit $ac_status); } && {
     15541         test -z "$ac_cxx_werror_flag" ||
     15542         test ! -s conftest.err
     15543       } && test -s conftest.$ac_objext; then
     15544  ac_lo=0 ac_mid=0
     15545  while :; do
     15546    cat >conftest.$ac_ext <<_ACEOF
     15547/* confdefs.h.  */
     15548_ACEOF
     15549cat confdefs.h >>conftest.$ac_ext
     15550cat >>conftest.$ac_ext <<_ACEOF
     15551/* end confdefs.h.  */
     15552$ac_includes_default
     15553int
     15554main ()
     15555{
     15556static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     15557test_array [0] = 0
     15558
     15559  ;
     15560  return 0;
     15561}
     15562_ACEOF
     15563rm -f conftest.$ac_objext
     15564if { (ac_try="$ac_compile"
     15565case "(($ac_try" in
     15566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15567  *) ac_try_echo=$ac_try;;
     15568esac
     15569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15570$as_echo "$ac_try_echo") >&5
     15571  (eval "$ac_compile") 2>conftest.er1
     15572  ac_status=$?
     15573  grep -v '^ *+' conftest.er1 >conftest.err
     15574  rm -f conftest.er1
     15575  cat conftest.err >&5
     15576  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15577  (exit $ac_status); } && {
     15578         test -z "$ac_cxx_werror_flag" ||
     15579         test ! -s conftest.err
     15580       } && test -s conftest.$ac_objext; then
     15581  ac_hi=$ac_mid; break
     15582else
     15583  $as_echo "$as_me: failed program was:" >&5
     15584sed 's/^/| /' conftest.$ac_ext >&5
     15585
     15586        ac_lo=`expr $ac_mid + 1`
     15587                        if test $ac_lo -le $ac_mid; then
     15588                          ac_lo= ac_hi=
     15589                          break
     15590                        fi
     15591                        ac_mid=`expr 2 '*' $ac_mid + 1`
     15592fi
     15593
     15594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15595  done
     15596else
     15597  $as_echo "$as_me: failed program was:" >&5
     15598sed 's/^/| /' conftest.$ac_ext >&5
     15599
     15600        cat >conftest.$ac_ext <<_ACEOF
     15601/* confdefs.h.  */
     15602_ACEOF
     15603cat confdefs.h >>conftest.$ac_ext
     15604cat >>conftest.$ac_ext <<_ACEOF
     15605/* end confdefs.h.  */
     15606$ac_includes_default
     15607int
     15608main ()
     15609{
     15610static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
     15611test_array [0] = 0
     15612
     15613  ;
     15614  return 0;
     15615}
     15616_ACEOF
     15617rm -f conftest.$ac_objext
     15618if { (ac_try="$ac_compile"
     15619case "(($ac_try" in
     15620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15621  *) ac_try_echo=$ac_try;;
     15622esac
     15623eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15624$as_echo "$ac_try_echo") >&5
     15625  (eval "$ac_compile") 2>conftest.er1
     15626  ac_status=$?
     15627  grep -v '^ *+' conftest.er1 >conftest.err
     15628  rm -f conftest.er1
     15629  cat conftest.err >&5
     15630  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15631  (exit $ac_status); } && {
     15632         test -z "$ac_cxx_werror_flag" ||
     15633         test ! -s conftest.err
     15634       } && test -s conftest.$ac_objext; then
     15635  ac_hi=-1 ac_mid=-1
     15636  while :; do
     15637    cat >conftest.$ac_ext <<_ACEOF
     15638/* confdefs.h.  */
     15639_ACEOF
     15640cat confdefs.h >>conftest.$ac_ext
     15641cat >>conftest.$ac_ext <<_ACEOF
     15642/* end confdefs.h.  */
     15643$ac_includes_default
     15644int
     15645main ()
     15646{
     15647static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
     15648test_array [0] = 0
     15649
     15650  ;
     15651  return 0;
     15652}
     15653_ACEOF
     15654rm -f conftest.$ac_objext
     15655if { (ac_try="$ac_compile"
     15656case "(($ac_try" in
     15657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15658  *) ac_try_echo=$ac_try;;
     15659esac
     15660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15661$as_echo "$ac_try_echo") >&5
     15662  (eval "$ac_compile") 2>conftest.er1
     15663  ac_status=$?
     15664  grep -v '^ *+' conftest.er1 >conftest.err
     15665  rm -f conftest.er1
     15666  cat conftest.err >&5
     15667  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15668  (exit $ac_status); } && {
     15669         test -z "$ac_cxx_werror_flag" ||
     15670         test ! -s conftest.err
     15671       } && test -s conftest.$ac_objext; then
     15672  ac_lo=$ac_mid; break
     15673else
     15674  $as_echo "$as_me: failed program was:" >&5
     15675sed 's/^/| /' conftest.$ac_ext >&5
     15676
     15677        ac_hi=`expr '(' $ac_mid ')' - 1`
     15678                        if test $ac_mid -le $ac_hi; then
     15679                          ac_lo= ac_hi=
     15680                          break
     15681                        fi
     15682                        ac_mid=`expr 2 '*' $ac_mid`
     15683fi
     15684
     15685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15686  done
     15687else
     15688  $as_echo "$as_me: failed program was:" >&5
     15689sed 's/^/| /' conftest.$ac_ext >&5
     15690
     15691        ac_lo= ac_hi=
     15692fi
     15693
     15694rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15695fi
     15696
     15697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15698# Binary search between lo and hi bounds.
     15699while test "x$ac_lo" != "x$ac_hi"; do
     15700  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     15701  cat >conftest.$ac_ext <<_ACEOF
     15702/* confdefs.h.  */
     15703_ACEOF
     15704cat confdefs.h >>conftest.$ac_ext
     15705cat >>conftest.$ac_ext <<_ACEOF
     15706/* end confdefs.h.  */
     15707$ac_includes_default
     15708int
     15709main ()
     15710{
     15711static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     15712test_array [0] = 0
     15713
     15714  ;
     15715  return 0;
     15716}
     15717_ACEOF
     15718rm -f conftest.$ac_objext
     15719if { (ac_try="$ac_compile"
     15720case "(($ac_try" in
     15721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15722  *) ac_try_echo=$ac_try;;
     15723esac
     15724eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15725$as_echo "$ac_try_echo") >&5
     15726  (eval "$ac_compile") 2>conftest.er1
     15727  ac_status=$?
     15728  grep -v '^ *+' conftest.er1 >conftest.err
     15729  rm -f conftest.er1
     15730  cat conftest.err >&5
     15731  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15732  (exit $ac_status); } && {
     15733         test -z "$ac_cxx_werror_flag" ||
     15734         test ! -s conftest.err
     15735       } && test -s conftest.$ac_objext; then
     15736  ac_hi=$ac_mid
     15737else
     15738  $as_echo "$as_me: failed program was:" >&5
     15739sed 's/^/| /' conftest.$ac_ext >&5
     15740
     15741        ac_lo=`expr '(' $ac_mid ')' + 1`
     15742fi
     15743
     15744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15745done
     15746case $ac_lo in
     15747?*) ac_cv_sizeof_int=$ac_lo;;
     15748'') if test "$ac_cv_type_int" = yes; then
     15749     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    930815750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9309 as_fn_error 77 "cannot compute sizeof (int)
    9310 See \`config.log' for more details" "$LINENO" 5; }
     15751{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     15752See \`config.log' for more details." >&5
     15753$as_echo "$as_me: error: cannot compute sizeof (int)
     15754See \`config.log' for more details." >&2;}
     15755   { (exit 77); exit 77; }; }; }
     15756   else
     15757     ac_cv_sizeof_int=0
     15758   fi ;;
     15759esac
     15760else
     15761  cat >conftest.$ac_ext <<_ACEOF
     15762/* confdefs.h.  */
     15763_ACEOF
     15764cat confdefs.h >>conftest.$ac_ext
     15765cat >>conftest.$ac_ext <<_ACEOF
     15766/* end confdefs.h.  */
     15767$ac_includes_default
     15768static long int longval () { return (long int) (sizeof (int)); }
     15769static unsigned long int ulongval () { return (long int) (sizeof (int)); }
     15770#include <stdio.h>
     15771#include <stdlib.h>
     15772int
     15773main ()
     15774{
     15775
     15776  FILE *f = fopen ("conftest.val", "w");
     15777  if (! f)
     15778    return 1;
     15779  if (((long int) (sizeof (int))) < 0)
     15780    {
     15781      long int i = longval ();
     15782      if (i != ((long int) (sizeof (int))))
     15783        return 1;
     15784      fprintf (f, "%ld", i);
     15785    }
     15786  else
     15787    {
     15788      unsigned long int i = ulongval ();
     15789      if (i != ((long int) (sizeof (int))))
     15790        return 1;
     15791      fprintf (f, "%lu", i);
     15792    }
     15793  /* Do not output a trailing newline, as this causes \r\n confusion
     15794     on some platforms.  */
     15795  return ferror (f) || fclose (f) != 0;
     15796
     15797  ;
     15798  return 0;
     15799}
     15800_ACEOF
     15801rm -f conftest$ac_exeext
     15802if { (ac_try="$ac_link"
     15803case "(($ac_try" in
     15804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15805  *) ac_try_echo=$ac_try;;
     15806esac
     15807eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15808$as_echo "$ac_try_echo") >&5
     15809  (eval "$ac_link") 2>&5
     15810  ac_status=$?
     15811  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15812  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     15813  { (case "(($ac_try" in
     15814  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15815  *) ac_try_echo=$ac_try;;
     15816esac
     15817eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15818$as_echo "$ac_try_echo") >&5
     15819  (eval "$ac_try") 2>&5
     15820  ac_status=$?
     15821  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15822  (exit $ac_status); }; }; then
     15823  ac_cv_sizeof_int=`cat conftest.val`
     15824else
     15825  $as_echo "$as_me: program exited with status $ac_status" >&5
     15826$as_echo "$as_me: failed program was:" >&5
     15827sed 's/^/| /' conftest.$ac_ext >&5
     15828
     15829( exit $ac_status )
     15830if test "$ac_cv_type_int" = yes; then
     15831     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     15832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     15833{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     15834See \`config.log' for more details." >&5
     15835$as_echo "$as_me: error: cannot compute sizeof (int)
     15836See \`config.log' for more details." >&2;}
     15837   { (exit 77); exit 77; }; }; }
    931115838   else
    931215839     ac_cv_sizeof_int=0
    931315840   fi
    931415841fi
    9315 
    9316 fi
    9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     15842rm -rf conftest.dSYM
     15843rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     15844fi
     15845rm -f conftest.val
     15846fi
     15847{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    931815848$as_echo "$ac_cv_sizeof_int" >&6; }
    931915849
     
    932915859# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    933015860# This bug is HP SR number 8606223364.
    9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     15861{ $as_echo "$as_me:$LINENO: checking size of long" >&5
    933215862$as_echo_n "checking size of long... " >&6; }
    9333 if ${ac_cv_sizeof_long+:} false; then :
     15863if test "${ac_cv_sizeof_long+set}" = set; then
    933415864  $as_echo_n "(cached) " >&6
    933515865else
    9336   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
    9337 
    9338 else
    9339   if test "$ac_cv_type_long" = yes; then
    9340      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     15866  if test "$cross_compiling" = yes; then
     15867  # Depending upon the size, compute the lo and hi bounds.
     15868cat >conftest.$ac_ext <<_ACEOF
     15869/* confdefs.h.  */
     15870_ACEOF
     15871cat confdefs.h >>conftest.$ac_ext
     15872cat >>conftest.$ac_ext <<_ACEOF
     15873/* end confdefs.h.  */
     15874$ac_includes_default
     15875int
     15876main ()
     15877{
     15878static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
     15879test_array [0] = 0
     15880
     15881  ;
     15882  return 0;
     15883}
     15884_ACEOF
     15885rm -f conftest.$ac_objext
     15886if { (ac_try="$ac_compile"
     15887case "(($ac_try" in
     15888  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15889  *) ac_try_echo=$ac_try;;
     15890esac
     15891eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15892$as_echo "$ac_try_echo") >&5
     15893  (eval "$ac_compile") 2>conftest.er1
     15894  ac_status=$?
     15895  grep -v '^ *+' conftest.er1 >conftest.err
     15896  rm -f conftest.er1
     15897  cat conftest.err >&5
     15898  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15899  (exit $ac_status); } && {
     15900         test -z "$ac_cxx_werror_flag" ||
     15901         test ! -s conftest.err
     15902       } && test -s conftest.$ac_objext; then
     15903  ac_lo=0 ac_mid=0
     15904  while :; do
     15905    cat >conftest.$ac_ext <<_ACEOF
     15906/* confdefs.h.  */
     15907_ACEOF
     15908cat confdefs.h >>conftest.$ac_ext
     15909cat >>conftest.$ac_ext <<_ACEOF
     15910/* end confdefs.h.  */
     15911$ac_includes_default
     15912int
     15913main ()
     15914{
     15915static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     15916test_array [0] = 0
     15917
     15918  ;
     15919  return 0;
     15920}
     15921_ACEOF
     15922rm -f conftest.$ac_objext
     15923if { (ac_try="$ac_compile"
     15924case "(($ac_try" in
     15925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15926  *) ac_try_echo=$ac_try;;
     15927esac
     15928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15929$as_echo "$ac_try_echo") >&5
     15930  (eval "$ac_compile") 2>conftest.er1
     15931  ac_status=$?
     15932  grep -v '^ *+' conftest.er1 >conftest.err
     15933  rm -f conftest.er1
     15934  cat conftest.err >&5
     15935  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15936  (exit $ac_status); } && {
     15937         test -z "$ac_cxx_werror_flag" ||
     15938         test ! -s conftest.err
     15939       } && test -s conftest.$ac_objext; then
     15940  ac_hi=$ac_mid; break
     15941else
     15942  $as_echo "$as_me: failed program was:" >&5
     15943sed 's/^/| /' conftest.$ac_ext >&5
     15944
     15945        ac_lo=`expr $ac_mid + 1`
     15946                        if test $ac_lo -le $ac_mid; then
     15947                          ac_lo= ac_hi=
     15948                          break
     15949                        fi
     15950                        ac_mid=`expr 2 '*' $ac_mid + 1`
     15951fi
     15952
     15953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     15954  done
     15955else
     15956  $as_echo "$as_me: failed program was:" >&5
     15957sed 's/^/| /' conftest.$ac_ext >&5
     15958
     15959        cat >conftest.$ac_ext <<_ACEOF
     15960/* confdefs.h.  */
     15961_ACEOF
     15962cat confdefs.h >>conftest.$ac_ext
     15963cat >>conftest.$ac_ext <<_ACEOF
     15964/* end confdefs.h.  */
     15965$ac_includes_default
     15966int
     15967main ()
     15968{
     15969static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
     15970test_array [0] = 0
     15971
     15972  ;
     15973  return 0;
     15974}
     15975_ACEOF
     15976rm -f conftest.$ac_objext
     15977if { (ac_try="$ac_compile"
     15978case "(($ac_try" in
     15979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15980  *) ac_try_echo=$ac_try;;
     15981esac
     15982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15983$as_echo "$ac_try_echo") >&5
     15984  (eval "$ac_compile") 2>conftest.er1
     15985  ac_status=$?
     15986  grep -v '^ *+' conftest.er1 >conftest.err
     15987  rm -f conftest.er1
     15988  cat conftest.err >&5
     15989  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15990  (exit $ac_status); } && {
     15991         test -z "$ac_cxx_werror_flag" ||
     15992         test ! -s conftest.err
     15993       } && test -s conftest.$ac_objext; then
     15994  ac_hi=-1 ac_mid=-1
     15995  while :; do
     15996    cat >conftest.$ac_ext <<_ACEOF
     15997/* confdefs.h.  */
     15998_ACEOF
     15999cat confdefs.h >>conftest.$ac_ext
     16000cat >>conftest.$ac_ext <<_ACEOF
     16001/* end confdefs.h.  */
     16002$ac_includes_default
     16003int
     16004main ()
     16005{
     16006static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
     16007test_array [0] = 0
     16008
     16009  ;
     16010  return 0;
     16011}
     16012_ACEOF
     16013rm -f conftest.$ac_objext
     16014if { (ac_try="$ac_compile"
     16015case "(($ac_try" in
     16016  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16017  *) ac_try_echo=$ac_try;;
     16018esac
     16019eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16020$as_echo "$ac_try_echo") >&5
     16021  (eval "$ac_compile") 2>conftest.er1
     16022  ac_status=$?
     16023  grep -v '^ *+' conftest.er1 >conftest.err
     16024  rm -f conftest.er1
     16025  cat conftest.err >&5
     16026  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16027  (exit $ac_status); } && {
     16028         test -z "$ac_cxx_werror_flag" ||
     16029         test ! -s conftest.err
     16030       } && test -s conftest.$ac_objext; then
     16031  ac_lo=$ac_mid; break
     16032else
     16033  $as_echo "$as_me: failed program was:" >&5
     16034sed 's/^/| /' conftest.$ac_ext >&5
     16035
     16036        ac_hi=`expr '(' $ac_mid ')' - 1`
     16037                        if test $ac_mid -le $ac_hi; then
     16038                          ac_lo= ac_hi=
     16039                          break
     16040                        fi
     16041                        ac_mid=`expr 2 '*' $ac_mid`
     16042fi
     16043
     16044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16045  done
     16046else
     16047  $as_echo "$as_me: failed program was:" >&5
     16048sed 's/^/| /' conftest.$ac_ext >&5
     16049
     16050        ac_lo= ac_hi=
     16051fi
     16052
     16053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16054fi
     16055
     16056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16057# Binary search between lo and hi bounds.
     16058while test "x$ac_lo" != "x$ac_hi"; do
     16059  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     16060  cat >conftest.$ac_ext <<_ACEOF
     16061/* confdefs.h.  */
     16062_ACEOF
     16063cat confdefs.h >>conftest.$ac_ext
     16064cat >>conftest.$ac_ext <<_ACEOF
     16065/* end confdefs.h.  */
     16066$ac_includes_default
     16067int
     16068main ()
     16069{
     16070static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     16071test_array [0] = 0
     16072
     16073  ;
     16074  return 0;
     16075}
     16076_ACEOF
     16077rm -f conftest.$ac_objext
     16078if { (ac_try="$ac_compile"
     16079case "(($ac_try" in
     16080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16081  *) ac_try_echo=$ac_try;;
     16082esac
     16083eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16084$as_echo "$ac_try_echo") >&5
     16085  (eval "$ac_compile") 2>conftest.er1
     16086  ac_status=$?
     16087  grep -v '^ *+' conftest.er1 >conftest.err
     16088  rm -f conftest.er1
     16089  cat conftest.err >&5
     16090  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16091  (exit $ac_status); } && {
     16092         test -z "$ac_cxx_werror_flag" ||
     16093         test ! -s conftest.err
     16094       } && test -s conftest.$ac_objext; then
     16095  ac_hi=$ac_mid
     16096else
     16097  $as_echo "$as_me: failed program was:" >&5
     16098sed 's/^/| /' conftest.$ac_ext >&5
     16099
     16100        ac_lo=`expr '(' $ac_mid ')' + 1`
     16101fi
     16102
     16103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16104done
     16105case $ac_lo in
     16106?*) ac_cv_sizeof_long=$ac_lo;;
     16107'') if test "$ac_cv_type_long" = yes; then
     16108     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    934116109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9342 as_fn_error 77 "cannot compute sizeof (long)
    9343 See \`config.log' for more details" "$LINENO" 5; }
     16110{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     16111See \`config.log' for more details." >&5
     16112$as_echo "$as_me: error: cannot compute sizeof (long)
     16113See \`config.log' for more details." >&2;}
     16114   { (exit 77); exit 77; }; }; }
     16115   else
     16116     ac_cv_sizeof_long=0
     16117   fi ;;
     16118esac
     16119else
     16120  cat >conftest.$ac_ext <<_ACEOF
     16121/* confdefs.h.  */
     16122_ACEOF
     16123cat confdefs.h >>conftest.$ac_ext
     16124cat >>conftest.$ac_ext <<_ACEOF
     16125/* end confdefs.h.  */
     16126$ac_includes_default
     16127static long int longval () { return (long int) (sizeof (long)); }
     16128static unsigned long int ulongval () { return (long int) (sizeof (long)); }
     16129#include <stdio.h>
     16130#include <stdlib.h>
     16131int
     16132main ()
     16133{
     16134
     16135  FILE *f = fopen ("conftest.val", "w");
     16136  if (! f)
     16137    return 1;
     16138  if (((long int) (sizeof (long))) < 0)
     16139    {
     16140      long int i = longval ();
     16141      if (i != ((long int) (sizeof (long))))
     16142        return 1;
     16143      fprintf (f, "%ld", i);
     16144    }
     16145  else
     16146    {
     16147      unsigned long int i = ulongval ();
     16148      if (i != ((long int) (sizeof (long))))
     16149        return 1;
     16150      fprintf (f, "%lu", i);
     16151    }
     16152  /* Do not output a trailing newline, as this causes \r\n confusion
     16153     on some platforms.  */
     16154  return ferror (f) || fclose (f) != 0;
     16155
     16156  ;
     16157  return 0;
     16158}
     16159_ACEOF
     16160rm -f conftest$ac_exeext
     16161if { (ac_try="$ac_link"
     16162case "(($ac_try" in
     16163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16164  *) ac_try_echo=$ac_try;;
     16165esac
     16166eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16167$as_echo "$ac_try_echo") >&5
     16168  (eval "$ac_link") 2>&5
     16169  ac_status=$?
     16170  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16171  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     16172  { (case "(($ac_try" in
     16173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16174  *) ac_try_echo=$ac_try;;
     16175esac
     16176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16177$as_echo "$ac_try_echo") >&5
     16178  (eval "$ac_try") 2>&5
     16179  ac_status=$?
     16180  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16181  (exit $ac_status); }; }; then
     16182  ac_cv_sizeof_long=`cat conftest.val`
     16183else
     16184  $as_echo "$as_me: program exited with status $ac_status" >&5
     16185$as_echo "$as_me: failed program was:" >&5
     16186sed 's/^/| /' conftest.$ac_ext >&5
     16187
     16188( exit $ac_status )
     16189if test "$ac_cv_type_long" = yes; then
     16190     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     16191$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     16192{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     16193See \`config.log' for more details." >&5
     16194$as_echo "$as_me: error: cannot compute sizeof (long)
     16195See \`config.log' for more details." >&2;}
     16196   { (exit 77); exit 77; }; }; }
    934416197   else
    934516198     ac_cv_sizeof_long=0
    934616199   fi
    934716200fi
    9348 
    9349 fi
    9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     16201rm -rf conftest.dSYM
     16202rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     16203fi
     16204rm -f conftest.val
     16205fi
     16206{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    935116207$as_echo "$ac_cv_sizeof_long" >&6; }
    935216208
     
    936216218# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    936316219# This bug is HP SR number 8606223364.
    9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     16220{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
    936516221$as_echo_n "checking size of long long... " >&6; }
    9366 if ${ac_cv_sizeof_long_long+:} false; then :
     16222if test "${ac_cv_sizeof_long_long+set}" = set; then
    936716223  $as_echo_n "(cached) " >&6
    936816224else
    9369   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
    9370 
    9371 else
    9372   if test "$ac_cv_type_long_long" = yes; then
    9373      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     16225  if test "$cross_compiling" = yes; then
     16226  # Depending upon the size, compute the lo and hi bounds.
     16227cat >conftest.$ac_ext <<_ACEOF
     16228/* confdefs.h.  */
     16229_ACEOF
     16230cat confdefs.h >>conftest.$ac_ext
     16231cat >>conftest.$ac_ext <<_ACEOF
     16232/* end confdefs.h.  */
     16233$ac_includes_default
     16234int
     16235main ()
     16236{
     16237static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
     16238test_array [0] = 0
     16239
     16240  ;
     16241  return 0;
     16242}
     16243_ACEOF
     16244rm -f conftest.$ac_objext
     16245if { (ac_try="$ac_compile"
     16246case "(($ac_try" in
     16247  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16248  *) ac_try_echo=$ac_try;;
     16249esac
     16250eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16251$as_echo "$ac_try_echo") >&5
     16252  (eval "$ac_compile") 2>conftest.er1
     16253  ac_status=$?
     16254  grep -v '^ *+' conftest.er1 >conftest.err
     16255  rm -f conftest.er1
     16256  cat conftest.err >&5
     16257  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16258  (exit $ac_status); } && {
     16259         test -z "$ac_cxx_werror_flag" ||
     16260         test ! -s conftest.err
     16261       } && test -s conftest.$ac_objext; then
     16262  ac_lo=0 ac_mid=0
     16263  while :; do
     16264    cat >conftest.$ac_ext <<_ACEOF
     16265/* confdefs.h.  */
     16266_ACEOF
     16267cat confdefs.h >>conftest.$ac_ext
     16268cat >>conftest.$ac_ext <<_ACEOF
     16269/* end confdefs.h.  */
     16270$ac_includes_default
     16271int
     16272main ()
     16273{
     16274static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     16275test_array [0] = 0
     16276
     16277  ;
     16278  return 0;
     16279}
     16280_ACEOF
     16281rm -f conftest.$ac_objext
     16282if { (ac_try="$ac_compile"
     16283case "(($ac_try" in
     16284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16285  *) ac_try_echo=$ac_try;;
     16286esac
     16287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16288$as_echo "$ac_try_echo") >&5
     16289  (eval "$ac_compile") 2>conftest.er1
     16290  ac_status=$?
     16291  grep -v '^ *+' conftest.er1 >conftest.err
     16292  rm -f conftest.er1
     16293  cat conftest.err >&5
     16294  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16295  (exit $ac_status); } && {
     16296         test -z "$ac_cxx_werror_flag" ||
     16297         test ! -s conftest.err
     16298       } && test -s conftest.$ac_objext; then
     16299  ac_hi=$ac_mid; break
     16300else
     16301  $as_echo "$as_me: failed program was:" >&5
     16302sed 's/^/| /' conftest.$ac_ext >&5
     16303
     16304        ac_lo=`expr $ac_mid + 1`
     16305                        if test $ac_lo -le $ac_mid; then
     16306                          ac_lo= ac_hi=
     16307                          break
     16308                        fi
     16309                        ac_mid=`expr 2 '*' $ac_mid + 1`
     16310fi
     16311
     16312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16313  done
     16314else
     16315  $as_echo "$as_me: failed program was:" >&5
     16316sed 's/^/| /' conftest.$ac_ext >&5
     16317
     16318        cat >conftest.$ac_ext <<_ACEOF
     16319/* confdefs.h.  */
     16320_ACEOF
     16321cat confdefs.h >>conftest.$ac_ext
     16322cat >>conftest.$ac_ext <<_ACEOF
     16323/* end confdefs.h.  */
     16324$ac_includes_default
     16325int
     16326main ()
     16327{
     16328static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
     16329test_array [0] = 0
     16330
     16331  ;
     16332  return 0;
     16333}
     16334_ACEOF
     16335rm -f conftest.$ac_objext
     16336if { (ac_try="$ac_compile"
     16337case "(($ac_try" in
     16338  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16339  *) ac_try_echo=$ac_try;;
     16340esac
     16341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16342$as_echo "$ac_try_echo") >&5
     16343  (eval "$ac_compile") 2>conftest.er1
     16344  ac_status=$?
     16345  grep -v '^ *+' conftest.er1 >conftest.err
     16346  rm -f conftest.er1
     16347  cat conftest.err >&5
     16348  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16349  (exit $ac_status); } && {
     16350         test -z "$ac_cxx_werror_flag" ||
     16351         test ! -s conftest.err
     16352       } && test -s conftest.$ac_objext; then
     16353  ac_hi=-1 ac_mid=-1
     16354  while :; do
     16355    cat >conftest.$ac_ext <<_ACEOF
     16356/* confdefs.h.  */
     16357_ACEOF
     16358cat confdefs.h >>conftest.$ac_ext
     16359cat >>conftest.$ac_ext <<_ACEOF
     16360/* end confdefs.h.  */
     16361$ac_includes_default
     16362int
     16363main ()
     16364{
     16365static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
     16366test_array [0] = 0
     16367
     16368  ;
     16369  return 0;
     16370}
     16371_ACEOF
     16372rm -f conftest.$ac_objext
     16373if { (ac_try="$ac_compile"
     16374case "(($ac_try" in
     16375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16376  *) ac_try_echo=$ac_try;;
     16377esac
     16378eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16379$as_echo "$ac_try_echo") >&5
     16380  (eval "$ac_compile") 2>conftest.er1
     16381  ac_status=$?
     16382  grep -v '^ *+' conftest.er1 >conftest.err
     16383  rm -f conftest.er1
     16384  cat conftest.err >&5
     16385  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16386  (exit $ac_status); } && {
     16387         test -z "$ac_cxx_werror_flag" ||
     16388         test ! -s conftest.err
     16389       } && test -s conftest.$ac_objext; then
     16390  ac_lo=$ac_mid; break
     16391else
     16392  $as_echo "$as_me: failed program was:" >&5
     16393sed 's/^/| /' conftest.$ac_ext >&5
     16394
     16395        ac_hi=`expr '(' $ac_mid ')' - 1`
     16396                        if test $ac_mid -le $ac_hi; then
     16397                          ac_lo= ac_hi=
     16398                          break
     16399                        fi
     16400                        ac_mid=`expr 2 '*' $ac_mid`
     16401fi
     16402
     16403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16404  done
     16405else
     16406  $as_echo "$as_me: failed program was:" >&5
     16407sed 's/^/| /' conftest.$ac_ext >&5
     16408
     16409        ac_lo= ac_hi=
     16410fi
     16411
     16412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16413fi
     16414
     16415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16416# Binary search between lo and hi bounds.
     16417while test "x$ac_lo" != "x$ac_hi"; do
     16418  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     16419  cat >conftest.$ac_ext <<_ACEOF
     16420/* confdefs.h.  */
     16421_ACEOF
     16422cat confdefs.h >>conftest.$ac_ext
     16423cat >>conftest.$ac_ext <<_ACEOF
     16424/* end confdefs.h.  */
     16425$ac_includes_default
     16426int
     16427main ()
     16428{
     16429static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     16430test_array [0] = 0
     16431
     16432  ;
     16433  return 0;
     16434}
     16435_ACEOF
     16436rm -f conftest.$ac_objext
     16437if { (ac_try="$ac_compile"
     16438case "(($ac_try" in
     16439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16440  *) ac_try_echo=$ac_try;;
     16441esac
     16442eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16443$as_echo "$ac_try_echo") >&5
     16444  (eval "$ac_compile") 2>conftest.er1
     16445  ac_status=$?
     16446  grep -v '^ *+' conftest.er1 >conftest.err
     16447  rm -f conftest.er1
     16448  cat conftest.err >&5
     16449  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16450  (exit $ac_status); } && {
     16451         test -z "$ac_cxx_werror_flag" ||
     16452         test ! -s conftest.err
     16453       } && test -s conftest.$ac_objext; then
     16454  ac_hi=$ac_mid
     16455else
     16456  $as_echo "$as_me: failed program was:" >&5
     16457sed 's/^/| /' conftest.$ac_ext >&5
     16458
     16459        ac_lo=`expr '(' $ac_mid ')' + 1`
     16460fi
     16461
     16462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16463done
     16464case $ac_lo in
     16465?*) ac_cv_sizeof_long_long=$ac_lo;;
     16466'') if test "$ac_cv_type_long_long" = yes; then
     16467     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    937416468$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9375 as_fn_error 77 "cannot compute sizeof (long long)
    9376 See \`config.log' for more details" "$LINENO" 5; }
     16469{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     16470See \`config.log' for more details." >&5
     16471$as_echo "$as_me: error: cannot compute sizeof (long long)
     16472See \`config.log' for more details." >&2;}
     16473   { (exit 77); exit 77; }; }; }
     16474   else
     16475     ac_cv_sizeof_long_long=0
     16476   fi ;;
     16477esac
     16478else
     16479  cat >conftest.$ac_ext <<_ACEOF
     16480/* confdefs.h.  */
     16481_ACEOF
     16482cat confdefs.h >>conftest.$ac_ext
     16483cat >>conftest.$ac_ext <<_ACEOF
     16484/* end confdefs.h.  */
     16485$ac_includes_default
     16486static long int longval () { return (long int) (sizeof (long long)); }
     16487static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
     16488#include <stdio.h>
     16489#include <stdlib.h>
     16490int
     16491main ()
     16492{
     16493
     16494  FILE *f = fopen ("conftest.val", "w");
     16495  if (! f)
     16496    return 1;
     16497  if (((long int) (sizeof (long long))) < 0)
     16498    {
     16499      long int i = longval ();
     16500      if (i != ((long int) (sizeof (long long))))
     16501        return 1;
     16502      fprintf (f, "%ld", i);
     16503    }
     16504  else
     16505    {
     16506      unsigned long int i = ulongval ();
     16507      if (i != ((long int) (sizeof (long long))))
     16508        return 1;
     16509      fprintf (f, "%lu", i);
     16510    }
     16511  /* Do not output a trailing newline, as this causes \r\n confusion
     16512     on some platforms.  */
     16513  return ferror (f) || fclose (f) != 0;
     16514
     16515  ;
     16516  return 0;
     16517}
     16518_ACEOF
     16519rm -f conftest$ac_exeext
     16520if { (ac_try="$ac_link"
     16521case "(($ac_try" in
     16522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16523  *) ac_try_echo=$ac_try;;
     16524esac
     16525eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16526$as_echo "$ac_try_echo") >&5
     16527  (eval "$ac_link") 2>&5
     16528  ac_status=$?
     16529  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16530  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     16531  { (case "(($ac_try" in
     16532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16533  *) ac_try_echo=$ac_try;;
     16534esac
     16535eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16536$as_echo "$ac_try_echo") >&5
     16537  (eval "$ac_try") 2>&5
     16538  ac_status=$?
     16539  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16540  (exit $ac_status); }; }; then
     16541  ac_cv_sizeof_long_long=`cat conftest.val`
     16542else
     16543  $as_echo "$as_me: program exited with status $ac_status" >&5
     16544$as_echo "$as_me: failed program was:" >&5
     16545sed 's/^/| /' conftest.$ac_ext >&5
     16546
     16547( exit $ac_status )
     16548if test "$ac_cv_type_long_long" = yes; then
     16549     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     16550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     16551{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     16552See \`config.log' for more details." >&5
     16553$as_echo "$as_me: error: cannot compute sizeof (long long)
     16554See \`config.log' for more details." >&2;}
     16555   { (exit 77); exit 77; }; }; }
    937716556   else
    937816557     ac_cv_sizeof_long_long=0
    937916558   fi
    938016559fi
    9381 
    9382 fi
    9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     16560rm -rf conftest.dSYM
     16561rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     16562fi
     16563rm -f conftest.val
     16564fi
     16565{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
    938416566$as_echo "$ac_cv_sizeof_long_long" >&6; }
    938516567
     
    939516577# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    939616578# This bug is HP SR number 8606223364.
    9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     16579{ $as_echo "$as_me:$LINENO: checking size of void *" >&5
    939816580$as_echo_n "checking size of void *... " >&6; }
    9399 if ${ac_cv_sizeof_void_p+:} false; then :
     16581if test "${ac_cv_sizeof_void_p+set}" = set; then
    940016582  $as_echo_n "(cached) " >&6
    940116583else
    9402   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
    9403 
    9404 else
    9405   if test "$ac_cv_type_void_p" = yes; then
    9406      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     16584  if test "$cross_compiling" = yes; then
     16585  # Depending upon the size, compute the lo and hi bounds.
     16586cat >conftest.$ac_ext <<_ACEOF
     16587/* confdefs.h.  */
     16588_ACEOF
     16589cat confdefs.h >>conftest.$ac_ext
     16590cat >>conftest.$ac_ext <<_ACEOF
     16591/* end confdefs.h.  */
     16592$ac_includes_default
     16593int
     16594main ()
     16595{
     16596static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
     16597test_array [0] = 0
     16598
     16599  ;
     16600  return 0;
     16601}
     16602_ACEOF
     16603rm -f conftest.$ac_objext
     16604if { (ac_try="$ac_compile"
     16605case "(($ac_try" in
     16606  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16607  *) ac_try_echo=$ac_try;;
     16608esac
     16609eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16610$as_echo "$ac_try_echo") >&5
     16611  (eval "$ac_compile") 2>conftest.er1
     16612  ac_status=$?
     16613  grep -v '^ *+' conftest.er1 >conftest.err
     16614  rm -f conftest.er1
     16615  cat conftest.err >&5
     16616  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16617  (exit $ac_status); } && {
     16618         test -z "$ac_cxx_werror_flag" ||
     16619         test ! -s conftest.err
     16620       } && test -s conftest.$ac_objext; then
     16621  ac_lo=0 ac_mid=0
     16622  while :; do
     16623    cat >conftest.$ac_ext <<_ACEOF
     16624/* confdefs.h.  */
     16625_ACEOF
     16626cat confdefs.h >>conftest.$ac_ext
     16627cat >>conftest.$ac_ext <<_ACEOF
     16628/* end confdefs.h.  */
     16629$ac_includes_default
     16630int
     16631main ()
     16632{
     16633static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     16634test_array [0] = 0
     16635
     16636  ;
     16637  return 0;
     16638}
     16639_ACEOF
     16640rm -f conftest.$ac_objext
     16641if { (ac_try="$ac_compile"
     16642case "(($ac_try" in
     16643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16644  *) ac_try_echo=$ac_try;;
     16645esac
     16646eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16647$as_echo "$ac_try_echo") >&5
     16648  (eval "$ac_compile") 2>conftest.er1
     16649  ac_status=$?
     16650  grep -v '^ *+' conftest.er1 >conftest.err
     16651  rm -f conftest.er1
     16652  cat conftest.err >&5
     16653  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16654  (exit $ac_status); } && {
     16655         test -z "$ac_cxx_werror_flag" ||
     16656         test ! -s conftest.err
     16657       } && test -s conftest.$ac_objext; then
     16658  ac_hi=$ac_mid; break
     16659else
     16660  $as_echo "$as_me: failed program was:" >&5
     16661sed 's/^/| /' conftest.$ac_ext >&5
     16662
     16663        ac_lo=`expr $ac_mid + 1`
     16664                        if test $ac_lo -le $ac_mid; then
     16665                          ac_lo= ac_hi=
     16666                          break
     16667                        fi
     16668                        ac_mid=`expr 2 '*' $ac_mid + 1`
     16669fi
     16670
     16671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16672  done
     16673else
     16674  $as_echo "$as_me: failed program was:" >&5
     16675sed 's/^/| /' conftest.$ac_ext >&5
     16676
     16677        cat >conftest.$ac_ext <<_ACEOF
     16678/* confdefs.h.  */
     16679_ACEOF
     16680cat confdefs.h >>conftest.$ac_ext
     16681cat >>conftest.$ac_ext <<_ACEOF
     16682/* end confdefs.h.  */
     16683$ac_includes_default
     16684int
     16685main ()
     16686{
     16687static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
     16688test_array [0] = 0
     16689
     16690  ;
     16691  return 0;
     16692}
     16693_ACEOF
     16694rm -f conftest.$ac_objext
     16695if { (ac_try="$ac_compile"
     16696case "(($ac_try" in
     16697  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16698  *) ac_try_echo=$ac_try;;
     16699esac
     16700eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16701$as_echo "$ac_try_echo") >&5
     16702  (eval "$ac_compile") 2>conftest.er1
     16703  ac_status=$?
     16704  grep -v '^ *+' conftest.er1 >conftest.err
     16705  rm -f conftest.er1
     16706  cat conftest.err >&5
     16707  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16708  (exit $ac_status); } && {
     16709         test -z "$ac_cxx_werror_flag" ||
     16710         test ! -s conftest.err
     16711       } && test -s conftest.$ac_objext; then
     16712  ac_hi=-1 ac_mid=-1
     16713  while :; do
     16714    cat >conftest.$ac_ext <<_ACEOF
     16715/* confdefs.h.  */
     16716_ACEOF
     16717cat confdefs.h >>conftest.$ac_ext
     16718cat >>conftest.$ac_ext <<_ACEOF
     16719/* end confdefs.h.  */
     16720$ac_includes_default
     16721int
     16722main ()
     16723{
     16724static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
     16725test_array [0] = 0
     16726
     16727  ;
     16728  return 0;
     16729}
     16730_ACEOF
     16731rm -f conftest.$ac_objext
     16732if { (ac_try="$ac_compile"
     16733case "(($ac_try" in
     16734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16735  *) ac_try_echo=$ac_try;;
     16736esac
     16737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16738$as_echo "$ac_try_echo") >&5
     16739  (eval "$ac_compile") 2>conftest.er1
     16740  ac_status=$?
     16741  grep -v '^ *+' conftest.er1 >conftest.err
     16742  rm -f conftest.er1
     16743  cat conftest.err >&5
     16744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16745  (exit $ac_status); } && {
     16746         test -z "$ac_cxx_werror_flag" ||
     16747         test ! -s conftest.err
     16748       } && test -s conftest.$ac_objext; then
     16749  ac_lo=$ac_mid; break
     16750else
     16751  $as_echo "$as_me: failed program was:" >&5
     16752sed 's/^/| /' conftest.$ac_ext >&5
     16753
     16754        ac_hi=`expr '(' $ac_mid ')' - 1`
     16755                        if test $ac_mid -le $ac_hi; then
     16756                          ac_lo= ac_hi=
     16757                          break
     16758                        fi
     16759                        ac_mid=`expr 2 '*' $ac_mid`
     16760fi
     16761
     16762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16763  done
     16764else
     16765  $as_echo "$as_me: failed program was:" >&5
     16766sed 's/^/| /' conftest.$ac_ext >&5
     16767
     16768        ac_lo= ac_hi=
     16769fi
     16770
     16771rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16772fi
     16773
     16774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16775# Binary search between lo and hi bounds.
     16776while test "x$ac_lo" != "x$ac_hi"; do
     16777  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     16778  cat >conftest.$ac_ext <<_ACEOF
     16779/* confdefs.h.  */
     16780_ACEOF
     16781cat confdefs.h >>conftest.$ac_ext
     16782cat >>conftest.$ac_ext <<_ACEOF
     16783/* end confdefs.h.  */
     16784$ac_includes_default
     16785int
     16786main ()
     16787{
     16788static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     16789test_array [0] = 0
     16790
     16791  ;
     16792  return 0;
     16793}
     16794_ACEOF
     16795rm -f conftest.$ac_objext
     16796if { (ac_try="$ac_compile"
     16797case "(($ac_try" in
     16798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16799  *) ac_try_echo=$ac_try;;
     16800esac
     16801eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16802$as_echo "$ac_try_echo") >&5
     16803  (eval "$ac_compile") 2>conftest.er1
     16804  ac_status=$?
     16805  grep -v '^ *+' conftest.er1 >conftest.err
     16806  rm -f conftest.er1
     16807  cat conftest.err >&5
     16808  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16809  (exit $ac_status); } && {
     16810         test -z "$ac_cxx_werror_flag" ||
     16811         test ! -s conftest.err
     16812       } && test -s conftest.$ac_objext; then
     16813  ac_hi=$ac_mid
     16814else
     16815  $as_echo "$as_me: failed program was:" >&5
     16816sed 's/^/| /' conftest.$ac_ext >&5
     16817
     16818        ac_lo=`expr '(' $ac_mid ')' + 1`
     16819fi
     16820
     16821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16822done
     16823case $ac_lo in
     16824?*) ac_cv_sizeof_void_p=$ac_lo;;
     16825'') if test "$ac_cv_type_void_p" = yes; then
     16826     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    940716827$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9408 as_fn_error 77 "cannot compute sizeof (void *)
    9409 See \`config.log' for more details" "$LINENO" 5; }
     16828{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     16829See \`config.log' for more details." >&5
     16830$as_echo "$as_me: error: cannot compute sizeof (void *)
     16831See \`config.log' for more details." >&2;}
     16832   { (exit 77); exit 77; }; }; }
     16833   else
     16834     ac_cv_sizeof_void_p=0
     16835   fi ;;
     16836esac
     16837else
     16838  cat >conftest.$ac_ext <<_ACEOF
     16839/* confdefs.h.  */
     16840_ACEOF
     16841cat confdefs.h >>conftest.$ac_ext
     16842cat >>conftest.$ac_ext <<_ACEOF
     16843/* end confdefs.h.  */
     16844$ac_includes_default
     16845static long int longval () { return (long int) (sizeof (void *)); }
     16846static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
     16847#include <stdio.h>
     16848#include <stdlib.h>
     16849int
     16850main ()
     16851{
     16852
     16853  FILE *f = fopen ("conftest.val", "w");
     16854  if (! f)
     16855    return 1;
     16856  if (((long int) (sizeof (void *))) < 0)
     16857    {
     16858      long int i = longval ();
     16859      if (i != ((long int) (sizeof (void *))))
     16860        return 1;
     16861      fprintf (f, "%ld", i);
     16862    }
     16863  else
     16864    {
     16865      unsigned long int i = ulongval ();
     16866      if (i != ((long int) (sizeof (void *))))
     16867        return 1;
     16868      fprintf (f, "%lu", i);
     16869    }
     16870  /* Do not output a trailing newline, as this causes \r\n confusion
     16871     on some platforms.  */
     16872  return ferror (f) || fclose (f) != 0;
     16873
     16874  ;
     16875  return 0;
     16876}
     16877_ACEOF
     16878rm -f conftest$ac_exeext
     16879if { (ac_try="$ac_link"
     16880case "(($ac_try" in
     16881  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16882  *) ac_try_echo=$ac_try;;
     16883esac
     16884eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16885$as_echo "$ac_try_echo") >&5
     16886  (eval "$ac_link") 2>&5
     16887  ac_status=$?
     16888  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16889  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     16890  { (case "(($ac_try" in
     16891  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16892  *) ac_try_echo=$ac_try;;
     16893esac
     16894eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16895$as_echo "$ac_try_echo") >&5
     16896  (eval "$ac_try") 2>&5
     16897  ac_status=$?
     16898  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16899  (exit $ac_status); }; }; then
     16900  ac_cv_sizeof_void_p=`cat conftest.val`
     16901else
     16902  $as_echo "$as_me: program exited with status $ac_status" >&5
     16903$as_echo "$as_me: failed program was:" >&5
     16904sed 's/^/| /' conftest.$ac_ext >&5
     16905
     16906( exit $ac_status )
     16907if test "$ac_cv_type_void_p" = yes; then
     16908     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     16909$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     16910{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     16911See \`config.log' for more details." >&5
     16912$as_echo "$as_me: error: cannot compute sizeof (void *)
     16913See \`config.log' for more details." >&2;}
     16914   { (exit 77); exit 77; }; }; }
    941016915   else
    941116916     ac_cv_sizeof_void_p=0
    941216917   fi
    941316918fi
    9414 
    9415 fi
    9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     16919rm -rf conftest.dSYM
     16920rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     16921fi
     16922rm -f conftest.val
     16923fi
     16924{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    941716925$as_echo "$ac_cv_sizeof_void_p" >&6; }
    941816926
     
    943716945
    943816946
    9439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
     16947    { $as_echo "$as_me:$LINENO: checking for build with symbols" >&5
    944016948$as_echo_n "checking for build with symbols... " >&6; }
    944116949    # Check whether --enable-symbols was given.
    9442 if test "${enable_symbols+set}" = set; then :
     16950if test "${enable_symbols+set}" = set; then
    944316951  enableval=$enable_symbols; tcl_ok=$enableval
    944416952else
     
    945116959        LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
    945216960        DBGX=""
    9453         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16961        { $as_echo "$as_me:$LINENO: result: no" >&5
    945416962$as_echo "no" >&6; }
    945516963    else
     
    945816966        DBGX=g
    945916967        if test "$tcl_ok" = "yes"; then
    9460             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
     16968            { $as_echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
    946116969$as_echo "yes (standard debugging)" >&6; }
    946216970        fi
     
    946616974
    946716975    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
    9468         $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
     16976        cat >>confdefs.h <<\_ACEOF
     16977#define TCL_MEM_DEBUG 1
     16978_ACEOF
    946916979
    947016980    fi
    947116981
    947216982    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
    9473         $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h
    9474 
    9475         $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h
     16983        cat >>confdefs.h <<\_ACEOF
     16984#define TCL_COMPILE_DEBUG 1
     16985_ACEOF
     16986
     16987        cat >>confdefs.h <<\_ACEOF
     16988#define TCL_COMPILE_STATS 1
     16989_ACEOF
    947616990
    947716991    fi
     
    947916993    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
    948016994        if test "$tcl_ok" = "all"; then
    9481             { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5
     16995            { $as_echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
    948216996$as_echo "enabled symbols mem compile debugging" >&6; }
    948316997        else
    9484             { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
     16998            { $as_echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
    948516999$as_echo "enabled $tcl_ok debugging" >&6; }
    948617000        fi
     
    949317007#--------------------------------------------------------------------
    949417008if test "${with_ffmpeg}" != "no" ; then
    9495   if test "${with_tclsh}" = "yes" ; then
     17009  if test "${with_ffmpeg}" = "yes" ; then
    949617010    # Extract the first word of "ffmpeg", so it can be a program name with args.
    949717011set dummy ffmpeg; ac_word=$2
    9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     17012{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    949917013$as_echo_n "checking for $ac_word... " >&6; }
    9500 if ${ac_cv_path_FFMPEG+:} false; then :
     17014if test "${ac_cv_path_FFMPEG+set}" = set; then
    950117015  $as_echo_n "(cached) " >&6
    950217016else
     
    951117025  IFS=$as_save_IFS
    951217026  test -z "$as_dir" && as_dir=.
    9513     for ac_exec_ext in '' $ac_executable_extensions; do
    9514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     17027  for ac_exec_ext in '' $ac_executable_extensions; do
     17028  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    951517029    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    9516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     17030    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    951717031    break 2
    951817032  fi
    951917033done
    9520   done
     17034done
    952117035IFS=$as_save_IFS
    952217036
     
    952617040FFMPEG=$ac_cv_path_FFMPEG
    952717041if test -n "$FFMPEG"; then
    9528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     17042  { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
    952917043$as_echo "$FFMPEG" >&6; }
    953017044else
    9531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     17045  { $as_echo "$as_me:$LINENO: result: no" >&5
    953217046$as_echo "no" >&6; }
    953317047fi
     
    953717051    # Extract the first word of "ffmpeg", so it can be a program name with args.
    953817052set dummy ffmpeg; ac_word=$2
    9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     17053{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    954017054$as_echo_n "checking for $ac_word... " >&6; }
    9541 if ${ac_cv_path_FFMPEG+:} false; then :
     17055if test "${ac_cv_path_FFMPEG+set}" = set; then
    954217056  $as_echo_n "(cached) " >&6
    954317057else
     
    955317067  IFS=$as_save_IFS
    955417068  test -z "$as_dir" && as_dir=.
    9555     for ac_exec_ext in '' $ac_executable_extensions; do
    9556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     17069  for ac_exec_ext in '' $ac_executable_extensions; do
     17070  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    955717071    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
    9558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     17072    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    955917073    break 2
    956017074  fi
    956117075done
    9562   done
     17076done
    956317077IFS=$as_save_IFS
    956417078
     
    956817082FFMPEG=$ac_cv_path_FFMPEG
    956917083if test -n "$FFMPEG"; then
    9570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     17084  { $as_echo "$as_me:$LINENO: result: $FFMPEG" >&5
    957117085$as_echo "$FFMPEG" >&6; }
    957217086else
    9573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     17087  { $as_echo "$as_me:$LINENO: result: no" >&5
    957417088$as_echo "no" >&6; }
    957517089fi
     
    957917093  if test "${FFMPEG}x" != "x" ; then
    958017094
    9581 $as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
     17095cat >>confdefs.h <<\_ACEOF
     17096#define HAVE_FFMPEG 1
     17097_ACEOF
    958217098
    958317099  fi
    958417100fi
    958517101
    9586 for 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
    9587 do :
    9588   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9589 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
     17102
     17103
     17104
     17105
     17106
     17107
     17108
     17109
     17110
     17111for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h
     17112do
     17113as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     17114{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     17115$as_echo_n "checking for $ac_header... " >&6; }
     17116if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     17117  $as_echo_n "(cached) " >&6
     17118else
     17119  cat >conftest.$ac_ext <<_ACEOF
     17120/* confdefs.h.  */
     17121_ACEOF
     17122cat confdefs.h >>conftest.$ac_ext
     17123cat >>conftest.$ac_ext <<_ACEOF
     17124/* end confdefs.h.  */
     17125
    959017126#define __STDC_CONSTANT_MACROS 1
    959117127
    9592 "
    9593 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     17128
     17129#include <$ac_header>
     17130_ACEOF
     17131rm -f conftest.$ac_objext
     17132if { (ac_try="$ac_compile"
     17133case "(($ac_try" in
     17134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17135  *) ac_try_echo=$ac_try;;
     17136esac
     17137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17138$as_echo "$ac_try_echo") >&5
     17139  (eval "$ac_compile") 2>conftest.er1
     17140  ac_status=$?
     17141  grep -v '^ *+' conftest.er1 >conftest.err
     17142  rm -f conftest.er1
     17143  cat conftest.err >&5
     17144  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17145  (exit $ac_status); } && {
     17146         test -z "$ac_cxx_werror_flag" ||
     17147         test ! -s conftest.err
     17148       } && test -s conftest.$ac_objext; then
     17149  eval "$as_ac_Header=yes"
     17150else
     17151  $as_echo "$as_me: failed program was:" >&5
     17152sed 's/^/| /' conftest.$ac_ext >&5
     17153
     17154        eval "$as_ac_Header=no"
     17155fi
     17156
     17157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     17158fi
     17159ac_res=`eval 'as_val=${'$as_ac_Header'}
     17160                 $as_echo "$as_val"'`
     17161               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17162$as_echo "$ac_res" >&6; }
     17163as_val=`eval 'as_val=${'$as_ac_Header'}
     17164                 $as_echo "$as_val"'`
     17165   if test "x$as_val" = x""yes; then
    959417166  cat >>confdefs.h <<_ACEOF
    959517167#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    961317185    HAVE_FFMPEG_LIBS="yes"
    961417186
    9615 $as_echo "#define BUILD_with_ffmpeg 1" >>confdefs.h
     17187cat >>confdefs.h <<\_ACEOF
     17188#define BUILD_with_ffmpeg 1
     17189_ACEOF
    961617190
    961717191  fi
    9618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
     17192
     17193{ $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5
    961917194$as_echo_n "checking for main in -lavcodec... " >&6; }
    9620 if ${ac_cv_lib_avcodec_main+:} false; then :
     17195if test "${ac_cv_lib_avcodec_main+set}" = set; then
    962117196  $as_echo_n "(cached) " >&6
    962217197else
    962317198  ac_check_lib_save_LIBS=$LIBS
    962417199LIBS="-lavcodec  $LIBS"
    9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17200cat >conftest.$ac_ext <<_ACEOF
     17201/* confdefs.h.  */
     17202_ACEOF
     17203cat confdefs.h >>conftest.$ac_ext
     17204cat >>conftest.$ac_ext <<_ACEOF
    962617205/* end confdefs.h.  */
    962717206
     
    963517214}
    963617215_ACEOF
    9637 if ac_fn_cxx_try_link "$LINENO"; then :
     17216rm -f conftest.$ac_objext conftest$ac_exeext
     17217if { (ac_try="$ac_link"
     17218case "(($ac_try" in
     17219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17220  *) ac_try_echo=$ac_try;;
     17221esac
     17222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17223$as_echo "$ac_try_echo") >&5
     17224  (eval "$ac_link") 2>conftest.er1
     17225  ac_status=$?
     17226  grep -v '^ *+' conftest.er1 >conftest.err
     17227  rm -f conftest.er1
     17228  cat conftest.err >&5
     17229  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17230  (exit $ac_status); } && {
     17231         test -z "$ac_cxx_werror_flag" ||
     17232         test ! -s conftest.err
     17233       } && test -s conftest$ac_exeext && {
     17234         test "$cross_compiling" = yes ||
     17235         $as_test_x conftest$ac_exeext
     17236       }; then
    963817237  ac_cv_lib_avcodec_main=yes
    963917238else
    9640   ac_cv_lib_avcodec_main=no
    9641 fi
    9642 rm -f core conftest.err conftest.$ac_objext \
    9643     conftest$ac_exeext conftest.$ac_ext
     17239  $as_echo "$as_me: failed program was:" >&5
     17240sed 's/^/| /' conftest.$ac_ext >&5
     17241
     17242        ac_cv_lib_avcodec_main=no
     17243fi
     17244
     17245rm -rf conftest.dSYM
     17246rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17247      conftest$ac_exeext conftest.$ac_ext
    964417248LIBS=$ac_check_lib_save_LIBS
    964517249fi
    9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
     17250{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5
    964717251$as_echo "$ac_cv_lib_avcodec_main" >&6; }
    9648 if test "x$ac_cv_lib_avcodec_main" = xyes; then :
     17252if test "x$ac_cv_lib_avcodec_main" = x""yes; then
    964917253  cat >>confdefs.h <<_ACEOF
    965017254#define HAVE_LIBAVCODEC 1
     
    965417258
    965517259else
    9656   as_fn_error $? "librappture requires libavcodec" "$LINENO" 5
    9657 fi
    9658 
    9659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
     17260  { { $as_echo "$as_me:$LINENO: error: librappture requires libavcodec" >&5
     17261$as_echo "$as_me: error: librappture requires libavcodec" >&2;}
     17262   { (exit 1); exit 1; }; }
     17263fi
     17264
     17265
     17266{ $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5
    966017267$as_echo_n "checking for main in -lavutil... " >&6; }
    9661 if ${ac_cv_lib_avutil_main+:} false; then :
     17268if test "${ac_cv_lib_avutil_main+set}" = set; then
    966217269  $as_echo_n "(cached) " >&6
    966317270else
    966417271  ac_check_lib_save_LIBS=$LIBS
    966517272LIBS="-lavutil  $LIBS"
    9666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17273cat >conftest.$ac_ext <<_ACEOF
     17274/* confdefs.h.  */
     17275_ACEOF
     17276cat confdefs.h >>conftest.$ac_ext
     17277cat >>conftest.$ac_ext <<_ACEOF
    966717278/* end confdefs.h.  */
    966817279
     
    967617287}
    967717288_ACEOF
    9678 if ac_fn_cxx_try_link "$LINENO"; then :
     17289rm -f conftest.$ac_objext conftest$ac_exeext
     17290if { (ac_try="$ac_link"
     17291case "(($ac_try" in
     17292  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17293  *) ac_try_echo=$ac_try;;
     17294esac
     17295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17296$as_echo "$ac_try_echo") >&5
     17297  (eval "$ac_link") 2>conftest.er1
     17298  ac_status=$?
     17299  grep -v '^ *+' conftest.er1 >conftest.err
     17300  rm -f conftest.er1
     17301  cat conftest.err >&5
     17302  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17303  (exit $ac_status); } && {
     17304         test -z "$ac_cxx_werror_flag" ||
     17305         test ! -s conftest.err
     17306       } && test -s conftest$ac_exeext && {
     17307         test "$cross_compiling" = yes ||
     17308         $as_test_x conftest$ac_exeext
     17309       }; then
    967917310  ac_cv_lib_avutil_main=yes
    968017311else
    9681   ac_cv_lib_avutil_main=no
    9682 fi
    9683 rm -f core conftest.err conftest.$ac_objext \
    9684     conftest$ac_exeext conftest.$ac_ext
     17312  $as_echo "$as_me: failed program was:" >&5
     17313sed 's/^/| /' conftest.$ac_ext >&5
     17314
     17315        ac_cv_lib_avutil_main=no
     17316fi
     17317
     17318rm -rf conftest.dSYM
     17319rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17320      conftest$ac_exeext conftest.$ac_ext
    968517321LIBS=$ac_check_lib_save_LIBS
    968617322fi
    9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
     17323{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5
    968817324$as_echo "$ac_cv_lib_avutil_main" >&6; }
    9689 if test "x$ac_cv_lib_avutil_main" = xyes; then :
     17325if test "x$ac_cv_lib_avutil_main" = x""yes; then
    969017326  cat >>confdefs.h <<_ACEOF
    969117327#define HAVE_LIBAVUTIL 1
     
    969517331
    969617332else
    9697   as_fn_error $? "librappture requires libavutil" "$LINENO" 5
    9698 fi
    9699 
    9700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
     17333  { { $as_echo "$as_me:$LINENO: error: librappture requires libavutil" >&5
     17334$as_echo "$as_me: error: librappture requires libavutil" >&2;}
     17335   { (exit 1); exit 1; }; }
     17336fi
     17337
     17338
     17339{ $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5
    970117340$as_echo_n "checking for main in -lavformat... " >&6; }
    9702 if ${ac_cv_lib_avformat_main+:} false; then :
     17341if test "${ac_cv_lib_avformat_main+set}" = set; then
    970317342  $as_echo_n "(cached) " >&6
    970417343else
    970517344  ac_check_lib_save_LIBS=$LIBS
    970617345LIBS="-lavformat  $LIBS"
    9707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17346cat >conftest.$ac_ext <<_ACEOF
     17347/* confdefs.h.  */
     17348_ACEOF
     17349cat confdefs.h >>conftest.$ac_ext
     17350cat >>conftest.$ac_ext <<_ACEOF
    970817351/* end confdefs.h.  */
    970917352
     
    971717360}
    971817361_ACEOF
    9719 if ac_fn_cxx_try_link "$LINENO"; then :
     17362rm -f conftest.$ac_objext conftest$ac_exeext
     17363if { (ac_try="$ac_link"
     17364case "(($ac_try" in
     17365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17366  *) ac_try_echo=$ac_try;;
     17367esac
     17368eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17369$as_echo "$ac_try_echo") >&5
     17370  (eval "$ac_link") 2>conftest.er1
     17371  ac_status=$?
     17372  grep -v '^ *+' conftest.er1 >conftest.err
     17373  rm -f conftest.er1
     17374  cat conftest.err >&5
     17375  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17376  (exit $ac_status); } && {
     17377         test -z "$ac_cxx_werror_flag" ||
     17378         test ! -s conftest.err
     17379       } && test -s conftest$ac_exeext && {
     17380         test "$cross_compiling" = yes ||
     17381         $as_test_x conftest$ac_exeext
     17382       }; then
    972017383  ac_cv_lib_avformat_main=yes
    972117384else
    9722   ac_cv_lib_avformat_main=no
    9723 fi
    9724 rm -f core conftest.err conftest.$ac_objext \
    9725     conftest$ac_exeext conftest.$ac_ext
     17385  $as_echo "$as_me: failed program was:" >&5
     17386sed 's/^/| /' conftest.$ac_ext >&5
     17387
     17388        ac_cv_lib_avformat_main=no
     17389fi
     17390
     17391rm -rf conftest.dSYM
     17392rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17393      conftest$ac_exeext conftest.$ac_ext
    972617394LIBS=$ac_check_lib_save_LIBS
    972717395fi
    9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
     17396{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5
    972917397$as_echo "$ac_cv_lib_avformat_main" >&6; }
    9730 if test "x$ac_cv_lib_avformat_main" = xyes; then :
     17398if test "x$ac_cv_lib_avformat_main" = x""yes; then
    973117399  cat >>confdefs.h <<_ACEOF
    973217400#define HAVE_LIBAVFORMAT 1
     
    973617404
    973717405else
    9738   as_fn_error $? "librappture requires libavformat" "$LINENO" 5
    9739 fi
    9740 
    9741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
     17406  { { $as_echo "$as_me:$LINENO: error: librappture requires libavformat" >&5
     17407$as_echo "$as_me: error: librappture requires libavformat" >&2;}
     17408   { (exit 1); exit 1; }; }
     17409fi
     17410
     17411
     17412{ $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5
    974217413$as_echo_n "checking for main in -lswscale... " >&6; }
    9743 if ${ac_cv_lib_swscale_main+:} false; then :
     17414if test "${ac_cv_lib_swscale_main+set}" = set; then
    974417415  $as_echo_n "(cached) " >&6
    974517416else
    974617417  ac_check_lib_save_LIBS=$LIBS
    974717418LIBS="-lswscale  $LIBS"
    9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     17419cat >conftest.$ac_ext <<_ACEOF
     17420/* confdefs.h.  */
     17421_ACEOF
     17422cat confdefs.h >>conftest.$ac_ext
     17423cat >>conftest.$ac_ext <<_ACEOF
    974917424/* end confdefs.h.  */
    975017425
     
    975817433}
    975917434_ACEOF
    9760 if ac_fn_cxx_try_link "$LINENO"; then :
     17435rm -f conftest.$ac_objext conftest$ac_exeext
     17436if { (ac_try="$ac_link"
     17437case "(($ac_try" in
     17438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17439  *) ac_try_echo=$ac_try;;
     17440esac
     17441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17442$as_echo "$ac_try_echo") >&5
     17443  (eval "$ac_link") 2>conftest.er1
     17444  ac_status=$?
     17445  grep -v '^ *+' conftest.er1 >conftest.err
     17446  rm -f conftest.er1
     17447  cat conftest.err >&5
     17448  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17449  (exit $ac_status); } && {
     17450         test -z "$ac_cxx_werror_flag" ||
     17451         test ! -s conftest.err
     17452       } && test -s conftest$ac_exeext && {
     17453         test "$cross_compiling" = yes ||
     17454         $as_test_x conftest$ac_exeext
     17455       }; then
    976117456  ac_cv_lib_swscale_main=yes
    976217457else
    9763   ac_cv_lib_swscale_main=no
    9764 fi
    9765 rm -f core conftest.err conftest.$ac_objext \
    9766     conftest$ac_exeext conftest.$ac_ext
     17458  $as_echo "$as_me: failed program was:" >&5
     17459sed 's/^/| /' conftest.$ac_ext >&5
     17460
     17461        ac_cv_lib_swscale_main=no
     17462fi
     17463
     17464rm -rf conftest.dSYM
     17465rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17466      conftest$ac_exeext conftest.$ac_ext
    976717467LIBS=$ac_check_lib_save_LIBS
    976817468fi
    9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
     17469{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5
    977017470$as_echo "$ac_cv_lib_swscale_main" >&6; }
    9771 if test "x$ac_cv_lib_swscale_main" = xyes; then :
     17471if test "x$ac_cv_lib_swscale_main" = x""yes; then
    977217472  cat >>confdefs.h <<_ACEOF
    977317473#define HAVE_LIBSWSCALE 1
     
    977817478fi
    977917479
    9780   for ac_func in av_find_stream_info
    9781 do :
    9782   ac_fn_cxx_check_func "$LINENO" "av_find_stream_info" "ac_cv_func_av_find_stream_info"
    9783 if test "x$ac_cv_func_av_find_stream_info" = xyes; then :
     17480
     17481for ac_func in av_find_stream_info
     17482do
     17483as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17484{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17485$as_echo_n "checking for $ac_func... " >&6; }
     17486if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17487  $as_echo_n "(cached) " >&6
     17488else
     17489  cat >conftest.$ac_ext <<_ACEOF
     17490/* confdefs.h.  */
     17491_ACEOF
     17492cat confdefs.h >>conftest.$ac_ext
     17493cat >>conftest.$ac_ext <<_ACEOF
     17494/* end confdefs.h.  */
     17495/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     17496   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17497#define $ac_func innocuous_$ac_func
     17498
     17499/* System header to define __stub macros and hopefully few prototypes,
     17500    which can conflict with char $ac_func (); below.
     17501    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     17502    <limits.h> exists even on freestanding compilers.  */
     17503
     17504#ifdef __STDC__
     17505# include <limits.h>
     17506#else
     17507# include <assert.h>
     17508#endif
     17509
     17510#undef $ac_func
     17511
     17512/* Override any GCC internal prototype to avoid an error.
     17513   Use char because int might match the return type of a GCC
     17514   builtin and then its argument prototype would still apply.  */
     17515#ifdef __cplusplus
     17516extern "C"
     17517#endif
     17518char $ac_func ();
     17519/* The GNU C library defines this for functions which it implements
     17520    to always fail with ENOSYS.  Some functions are actually named
     17521    something starting with __ and the normal name is an alias.  */
     17522#if defined __stub_$ac_func || defined __stub___$ac_func
     17523choke me
     17524#endif
     17525
     17526int
     17527main ()
     17528{
     17529return $ac_func ();
     17530  ;
     17531  return 0;
     17532}
     17533_ACEOF
     17534rm -f conftest.$ac_objext conftest$ac_exeext
     17535if { (ac_try="$ac_link"
     17536case "(($ac_try" in
     17537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17538  *) ac_try_echo=$ac_try;;
     17539esac
     17540eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17541$as_echo "$ac_try_echo") >&5
     17542  (eval "$ac_link") 2>conftest.er1
     17543  ac_status=$?
     17544  grep -v '^ *+' conftest.er1 >conftest.err
     17545  rm -f conftest.er1
     17546  cat conftest.err >&5
     17547  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17548  (exit $ac_status); } && {
     17549         test -z "$ac_cxx_werror_flag" ||
     17550         test ! -s conftest.err
     17551       } && test -s conftest$ac_exeext && {
     17552         test "$cross_compiling" = yes ||
     17553         $as_test_x conftest$ac_exeext
     17554       }; then
     17555  eval "$as_ac_var=yes"
     17556else
     17557  $as_echo "$as_me: failed program was:" >&5
     17558sed 's/^/| /' conftest.$ac_ext >&5
     17559
     17560        eval "$as_ac_var=no"
     17561fi
     17562
     17563rm -rf conftest.dSYM
     17564rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17565      conftest$ac_exeext conftest.$ac_ext
     17566fi
     17567ac_res=`eval 'as_val=${'$as_ac_var'}
     17568                 $as_echo "$as_val"'`
     17569               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17570$as_echo "$ac_res" >&6; }
     17571as_val=`eval 'as_val=${'$as_ac_var'}
     17572                 $as_echo "$as_val"'`
     17573   if test "x$as_val" = x""yes; then
    978417574  cat >>confdefs.h <<_ACEOF
    9785 #define HAVE_AV_FIND_STREAM_INFO 1
     17575#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    978617576_ACEOF
    978717577
     
    978917579done
    979017580
    9791   for ac_func in av_open_input_file
    9792 do :
    9793   ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
    9794 if test "x$ac_cv_func_av_open_input_file" = xyes; then :
     17581
     17582for ac_func in av_open_input_file
     17583do
     17584as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17585{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17586$as_echo_n "checking for $ac_func... " >&6; }
     17587if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17588  $as_echo_n "(cached) " >&6
     17589else
     17590  cat >conftest.$ac_ext <<_ACEOF
     17591/* confdefs.h.  */
     17592_ACEOF
     17593cat confdefs.h >>conftest.$ac_ext
     17594cat >>conftest.$ac_ext <<_ACEOF
     17595/* end confdefs.h.  */
     17596/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     17597   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17598#define $ac_func innocuous_$ac_func
     17599
     17600/* System header to define __stub macros and hopefully few prototypes,
     17601    which can conflict with char $ac_func (); below.
     17602    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     17603    <limits.h> exists even on freestanding compilers.  */
     17604
     17605#ifdef __STDC__
     17606# include <limits.h>
     17607#else
     17608# include <assert.h>
     17609#endif
     17610
     17611#undef $ac_func
     17612
     17613/* Override any GCC internal prototype to avoid an error.
     17614   Use char because int might match the return type of a GCC
     17615   builtin and then its argument prototype would still apply.  */
     17616#ifdef __cplusplus
     17617extern "C"
     17618#endif
     17619char $ac_func ();
     17620/* The GNU C library defines this for functions which it implements
     17621    to always fail with ENOSYS.  Some functions are actually named
     17622    something starting with __ and the normal name is an alias.  */
     17623#if defined __stub_$ac_func || defined __stub___$ac_func
     17624choke me
     17625#endif
     17626
     17627int
     17628main ()
     17629{
     17630return $ac_func ();
     17631  ;
     17632  return 0;
     17633}
     17634_ACEOF
     17635rm -f conftest.$ac_objext conftest$ac_exeext
     17636if { (ac_try="$ac_link"
     17637case "(($ac_try" in
     17638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17639  *) ac_try_echo=$ac_try;;
     17640esac
     17641eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17642$as_echo "$ac_try_echo") >&5
     17643  (eval "$ac_link") 2>conftest.er1
     17644  ac_status=$?
     17645  grep -v '^ *+' conftest.er1 >conftest.err
     17646  rm -f conftest.er1
     17647  cat conftest.err >&5
     17648  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17649  (exit $ac_status); } && {
     17650         test -z "$ac_cxx_werror_flag" ||
     17651         test ! -s conftest.err
     17652       } && test -s conftest$ac_exeext && {
     17653         test "$cross_compiling" = yes ||
     17654         $as_test_x conftest$ac_exeext
     17655       }; then
     17656  eval "$as_ac_var=yes"
     17657else
     17658  $as_echo "$as_me: failed program was:" >&5
     17659sed 's/^/| /' conftest.$ac_ext >&5
     17660
     17661        eval "$as_ac_var=no"
     17662fi
     17663
     17664rm -rf conftest.dSYM
     17665rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17666      conftest$ac_exeext conftest.$ac_ext
     17667fi
     17668ac_res=`eval 'as_val=${'$as_ac_var'}
     17669                 $as_echo "$as_val"'`
     17670               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17671$as_echo "$ac_res" >&6; }
     17672as_val=`eval 'as_val=${'$as_ac_var'}
     17673                 $as_echo "$as_val"'`
     17674   if test "x$as_val" = x""yes; then
    979517675  cat >>confdefs.h <<_ACEOF
    9796 #define HAVE_AV_OPEN_INPUT_FILE 1
     17676#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    979717677_ACEOF
    979817678
     
    980017680done
    980117681
    9802   for ac_func in avcodec_decode_video
    9803 do :
    9804   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
    9805 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
     17682
     17683for ac_func in avcodec_decode_video
     17684do
     17685as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17686{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17687$as_echo_n "checking for $ac_func... " >&6; }
     17688if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17689  $as_echo_n "(cached) " >&6
     17690else
     17691  cat >conftest.$ac_ext <<_ACEOF
     17692/* confdefs.h.  */
     17693_ACEOF
     17694cat confdefs.h >>conftest.$ac_ext
     17695cat >>conftest.$ac_ext <<_ACEOF
     17696/* end confdefs.h.  */
     17697/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     17698   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17699#define $ac_func innocuous_$ac_func
     17700
     17701/* System header to define __stub macros and hopefully few prototypes,
     17702    which can conflict with char $ac_func (); below.
     17703    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     17704    <limits.h> exists even on freestanding compilers.  */
     17705
     17706#ifdef __STDC__
     17707# include <limits.h>
     17708#else
     17709# include <assert.h>
     17710#endif
     17711
     17712#undef $ac_func
     17713
     17714/* Override any GCC internal prototype to avoid an error.
     17715   Use char because int might match the return type of a GCC
     17716   builtin and then its argument prototype would still apply.  */
     17717#ifdef __cplusplus
     17718extern "C"
     17719#endif
     17720char $ac_func ();
     17721/* The GNU C library defines this for functions which it implements
     17722    to always fail with ENOSYS.  Some functions are actually named
     17723    something starting with __ and the normal name is an alias.  */
     17724#if defined __stub_$ac_func || defined __stub___$ac_func
     17725choke me
     17726#endif
     17727
     17728int
     17729main ()
     17730{
     17731return $ac_func ();
     17732  ;
     17733  return 0;
     17734}
     17735_ACEOF
     17736rm -f conftest.$ac_objext conftest$ac_exeext
     17737if { (ac_try="$ac_link"
     17738case "(($ac_try" in
     17739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17740  *) ac_try_echo=$ac_try;;
     17741esac
     17742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17743$as_echo "$ac_try_echo") >&5
     17744  (eval "$ac_link") 2>conftest.er1
     17745  ac_status=$?
     17746  grep -v '^ *+' conftest.er1 >conftest.err
     17747  rm -f conftest.er1
     17748  cat conftest.err >&5
     17749  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17750  (exit $ac_status); } && {
     17751         test -z "$ac_cxx_werror_flag" ||
     17752         test ! -s conftest.err
     17753       } && test -s conftest$ac_exeext && {
     17754         test "$cross_compiling" = yes ||
     17755         $as_test_x conftest$ac_exeext
     17756       }; then
     17757  eval "$as_ac_var=yes"
     17758else
     17759  $as_echo "$as_me: failed program was:" >&5
     17760sed 's/^/| /' conftest.$ac_ext >&5
     17761
     17762        eval "$as_ac_var=no"
     17763fi
     17764
     17765rm -rf conftest.dSYM
     17766rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17767      conftest$ac_exeext conftest.$ac_ext
     17768fi
     17769ac_res=`eval 'as_val=${'$as_ac_var'}
     17770                 $as_echo "$as_val"'`
     17771               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17772$as_echo "$ac_res" >&6; }
     17773as_val=`eval 'as_val=${'$as_ac_var'}
     17774                 $as_echo "$as_val"'`
     17775   if test "x$as_val" = x""yes; then
    980617776  cat >>confdefs.h <<_ACEOF
    9807 #define HAVE_AVCODEC_DECODE_VIDEO 1
     17777#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    980817778_ACEOF
    980917779
     
    981117781done
    981217782
    9813   for ac_func in avcodec_decode_video2
    9814 do :
    9815   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"
    9816 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :
     17783
     17784for ac_func in avcodec_decode_video2
     17785do
     17786as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17787{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17788$as_echo_n "checking for $ac_func... " >&6; }
     17789if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17790  $as_echo_n "(cached) " >&6
     17791else
     17792  cat >conftest.$ac_ext <<_ACEOF
     17793/* confdefs.h.  */
     17794_ACEOF
     17795cat confdefs.h >>conftest.$ac_ext
     17796cat >>conftest.$ac_ext <<_ACEOF
     17797/* end confdefs.h.  */
     17798/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     17799   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17800#define $ac_func innocuous_$ac_func
     17801
     17802/* System header to define __stub macros and hopefully few prototypes,
     17803    which can conflict with char $ac_func (); below.
     17804    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     17805    <limits.h> exists even on freestanding compilers.  */
     17806
     17807#ifdef __STDC__
     17808# include <limits.h>
     17809#else
     17810# include <assert.h>
     17811#endif
     17812
     17813#undef $ac_func
     17814
     17815/* Override any GCC internal prototype to avoid an error.
     17816   Use char because int might match the return type of a GCC
     17817   builtin and then its argument prototype would still apply.  */
     17818#ifdef __cplusplus
     17819extern "C"
     17820#endif
     17821char $ac_func ();
     17822/* The GNU C library defines this for functions which it implements
     17823    to always fail with ENOSYS.  Some functions are actually named
     17824    something starting with __ and the normal name is an alias.  */
     17825#if defined __stub_$ac_func || defined __stub___$ac_func
     17826choke me
     17827#endif
     17828
     17829int
     17830main ()
     17831{
     17832return $ac_func ();
     17833  ;
     17834  return 0;
     17835}
     17836_ACEOF
     17837rm -f conftest.$ac_objext conftest$ac_exeext
     17838if { (ac_try="$ac_link"
     17839case "(($ac_try" in
     17840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17841  *) ac_try_echo=$ac_try;;
     17842esac
     17843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17844$as_echo "$ac_try_echo") >&5
     17845  (eval "$ac_link") 2>conftest.er1
     17846  ac_status=$?
     17847  grep -v '^ *+' conftest.er1 >conftest.err
     17848  rm -f conftest.er1
     17849  cat conftest.err >&5
     17850  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17851  (exit $ac_status); } && {
     17852         test -z "$ac_cxx_werror_flag" ||
     17853         test ! -s conftest.err
     17854       } && test -s conftest$ac_exeext && {
     17855         test "$cross_compiling" = yes ||
     17856         $as_test_x conftest$ac_exeext
     17857       }; then
     17858  eval "$as_ac_var=yes"
     17859else
     17860  $as_echo "$as_me: failed program was:" >&5
     17861sed 's/^/| /' conftest.$ac_ext >&5
     17862
     17863        eval "$as_ac_var=no"
     17864fi
     17865
     17866rm -rf conftest.dSYM
     17867rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17868      conftest$ac_exeext conftest.$ac_ext
     17869fi
     17870ac_res=`eval 'as_val=${'$as_ac_var'}
     17871                 $as_echo "$as_val"'`
     17872               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17873$as_echo "$ac_res" >&6; }
     17874as_val=`eval 'as_val=${'$as_ac_var'}
     17875                 $as_echo "$as_val"'`
     17876   if test "x$as_val" = x""yes; then
    981717877  cat >>confdefs.h <<_ACEOF
    9818 #define HAVE_AVCODEC_DECODE_VIDEO2 1
     17878#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    981917879_ACEOF
    982017880
     
    982217882done
    982317883
    9824   for ac_func in avcodec_open
    9825 do :
    9826   ac_fn_cxx_check_func "$LINENO" "avcodec_open" "ac_cv_func_avcodec_open"
    9827 if test "x$ac_cv_func_avcodec_open" = xyes; then :
     17884
     17885for ac_func in avcodec_open
     17886do
     17887as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17888{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17889$as_echo_n "checking for $ac_func... " >&6; }
     17890if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17891  $as_echo_n "(cached) " >&6
     17892else
     17893  cat >conftest.$ac_ext <<_ACEOF
     17894/* confdefs.h.  */
     17895_ACEOF
     17896cat confdefs.h >>conftest.$ac_ext
     17897cat >>conftest.$ac_ext <<_ACEOF
     17898/* end confdefs.h.  */
     17899/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     17900   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     17901#define $ac_func innocuous_$ac_func
     17902
     17903/* System header to define __stub macros and hopefully few prototypes,
     17904    which can conflict with char $ac_func (); below.
     17905    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     17906    <limits.h> exists even on freestanding compilers.  */
     17907
     17908#ifdef __STDC__
     17909# include <limits.h>
     17910#else
     17911# include <assert.h>
     17912#endif
     17913
     17914#undef $ac_func
     17915
     17916/* Override any GCC internal prototype to avoid an error.
     17917   Use char because int might match the return type of a GCC
     17918   builtin and then its argument prototype would still apply.  */
     17919#ifdef __cplusplus
     17920extern "C"
     17921#endif
     17922char $ac_func ();
     17923/* The GNU C library defines this for functions which it implements
     17924    to always fail with ENOSYS.  Some functions are actually named
     17925    something starting with __ and the normal name is an alias.  */
     17926#if defined __stub_$ac_func || defined __stub___$ac_func
     17927choke me
     17928#endif
     17929
     17930int
     17931main ()
     17932{
     17933return $ac_func ();
     17934  ;
     17935  return 0;
     17936}
     17937_ACEOF
     17938rm -f conftest.$ac_objext conftest$ac_exeext
     17939if { (ac_try="$ac_link"
     17940case "(($ac_try" in
     17941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     17942  *) ac_try_echo=$ac_try;;
     17943esac
     17944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     17945$as_echo "$ac_try_echo") >&5
     17946  (eval "$ac_link") 2>conftest.er1
     17947  ac_status=$?
     17948  grep -v '^ *+' conftest.er1 >conftest.err
     17949  rm -f conftest.er1
     17950  cat conftest.err >&5
     17951  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     17952  (exit $ac_status); } && {
     17953         test -z "$ac_cxx_werror_flag" ||
     17954         test ! -s conftest.err
     17955       } && test -s conftest$ac_exeext && {
     17956         test "$cross_compiling" = yes ||
     17957         $as_test_x conftest$ac_exeext
     17958       }; then
     17959  eval "$as_ac_var=yes"
     17960else
     17961  $as_echo "$as_me: failed program was:" >&5
     17962sed 's/^/| /' conftest.$ac_ext >&5
     17963
     17964        eval "$as_ac_var=no"
     17965fi
     17966
     17967rm -rf conftest.dSYM
     17968rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     17969      conftest$ac_exeext conftest.$ac_ext
     17970fi
     17971ac_res=`eval 'as_val=${'$as_ac_var'}
     17972                 $as_echo "$as_val"'`
     17973               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     17974$as_echo "$ac_res" >&6; }
     17975as_val=`eval 'as_val=${'$as_ac_var'}
     17976                 $as_echo "$as_val"'`
     17977   if test "x$as_val" = x""yes; then
    982817978  cat >>confdefs.h <<_ACEOF
    9829 #define HAVE_AVCODEC_OPEN 1
     17979#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    983017980_ACEOF
    983117981
     
    983317983done
    983417984
    9835   for ac_func in avcodec_open2
    9836 do :
    9837   ac_fn_cxx_check_func "$LINENO" "avcodec_open2" "ac_cv_func_avcodec_open2"
    9838 if test "x$ac_cv_func_avcodec_open2" = xyes; then :
     17985
     17986for ac_func in avcodec_open2
     17987do
     17988as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     17989{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     17990$as_echo_n "checking for $ac_func... " >&6; }
     17991if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     17992  $as_echo_n "(cached) " >&6
     17993else
     17994  cat >conftest.$ac_ext <<_ACEOF
     17995/* confdefs.h.  */
     17996_ACEOF
     17997cat confdefs.h >>conftest.$ac_ext
     17998cat >>conftest.$ac_ext <<_ACEOF
     17999/* end confdefs.h.  */
     18000/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18001   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18002#define $ac_func innocuous_$ac_func
     18003
     18004/* System header to define __stub macros and hopefully few prototypes,
     18005    which can conflict with char $ac_func (); below.
     18006    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18007    <limits.h> exists even on freestanding compilers.  */
     18008
     18009#ifdef __STDC__
     18010# include <limits.h>
     18011#else
     18012# include <assert.h>
     18013#endif
     18014
     18015#undef $ac_func
     18016
     18017/* Override any GCC internal prototype to avoid an error.
     18018   Use char because int might match the return type of a GCC
     18019   builtin and then its argument prototype would still apply.  */
     18020#ifdef __cplusplus
     18021extern "C"
     18022#endif
     18023char $ac_func ();
     18024/* The GNU C library defines this for functions which it implements
     18025    to always fail with ENOSYS.  Some functions are actually named
     18026    something starting with __ and the normal name is an alias.  */
     18027#if defined __stub_$ac_func || defined __stub___$ac_func
     18028choke me
     18029#endif
     18030
     18031int
     18032main ()
     18033{
     18034return $ac_func ();
     18035  ;
     18036  return 0;
     18037}
     18038_ACEOF
     18039rm -f conftest.$ac_objext conftest$ac_exeext
     18040if { (ac_try="$ac_link"
     18041case "(($ac_try" in
     18042  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18043  *) ac_try_echo=$ac_try;;
     18044esac
     18045eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18046$as_echo "$ac_try_echo") >&5
     18047  (eval "$ac_link") 2>conftest.er1
     18048  ac_status=$?
     18049  grep -v '^ *+' conftest.er1 >conftest.err
     18050  rm -f conftest.er1
     18051  cat conftest.err >&5
     18052  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18053  (exit $ac_status); } && {
     18054         test -z "$ac_cxx_werror_flag" ||
     18055         test ! -s conftest.err
     18056       } && test -s conftest$ac_exeext && {
     18057         test "$cross_compiling" = yes ||
     18058         $as_test_x conftest$ac_exeext
     18059       }; then
     18060  eval "$as_ac_var=yes"
     18061else
     18062  $as_echo "$as_me: failed program was:" >&5
     18063sed 's/^/| /' conftest.$ac_ext >&5
     18064
     18065        eval "$as_ac_var=no"
     18066fi
     18067
     18068rm -rf conftest.dSYM
     18069rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18070      conftest$ac_exeext conftest.$ac_ext
     18071fi
     18072ac_res=`eval 'as_val=${'$as_ac_var'}
     18073                 $as_echo "$as_val"'`
     18074               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18075$as_echo "$ac_res" >&6; }
     18076as_val=`eval 'as_val=${'$as_ac_var'}
     18077                 $as_echo "$as_val"'`
     18078   if test "x$as_val" = x""yes; then
    983918079  cat >>confdefs.h <<_ACEOF
    9840 #define HAVE_AVCODEC_OPEN2 1
     18080#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    984118081_ACEOF
    984218082
     
    984418084done
    984518085
    9846   for ac_func in avformat_find_stream_info
    9847 do :
    9848   ac_fn_cxx_check_func "$LINENO" "avformat_find_stream_info" "ac_cv_func_avformat_find_stream_info"
    9849 if test "x$ac_cv_func_avformat_find_stream_info" = xyes; then :
     18086
     18087for ac_func in avformat_find_stream_info
     18088do
     18089as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18090{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18091$as_echo_n "checking for $ac_func... " >&6; }
     18092if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18093  $as_echo_n "(cached) " >&6
     18094else
     18095  cat >conftest.$ac_ext <<_ACEOF
     18096/* confdefs.h.  */
     18097_ACEOF
     18098cat confdefs.h >>conftest.$ac_ext
     18099cat >>conftest.$ac_ext <<_ACEOF
     18100/* end confdefs.h.  */
     18101/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18102   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18103#define $ac_func innocuous_$ac_func
     18104
     18105/* System header to define __stub macros and hopefully few prototypes,
     18106    which can conflict with char $ac_func (); below.
     18107    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18108    <limits.h> exists even on freestanding compilers.  */
     18109
     18110#ifdef __STDC__
     18111# include <limits.h>
     18112#else
     18113# include <assert.h>
     18114#endif
     18115
     18116#undef $ac_func
     18117
     18118/* Override any GCC internal prototype to avoid an error.
     18119   Use char because int might match the return type of a GCC
     18120   builtin and then its argument prototype would still apply.  */
     18121#ifdef __cplusplus
     18122extern "C"
     18123#endif
     18124char $ac_func ();
     18125/* The GNU C library defines this for functions which it implements
     18126    to always fail with ENOSYS.  Some functions are actually named
     18127    something starting with __ and the normal name is an alias.  */
     18128#if defined __stub_$ac_func || defined __stub___$ac_func
     18129choke me
     18130#endif
     18131
     18132int
     18133main ()
     18134{
     18135return $ac_func ();
     18136  ;
     18137  return 0;
     18138}
     18139_ACEOF
     18140rm -f conftest.$ac_objext conftest$ac_exeext
     18141if { (ac_try="$ac_link"
     18142case "(($ac_try" in
     18143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18144  *) ac_try_echo=$ac_try;;
     18145esac
     18146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18147$as_echo "$ac_try_echo") >&5
     18148  (eval "$ac_link") 2>conftest.er1
     18149  ac_status=$?
     18150  grep -v '^ *+' conftest.er1 >conftest.err
     18151  rm -f conftest.er1
     18152  cat conftest.err >&5
     18153  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18154  (exit $ac_status); } && {
     18155         test -z "$ac_cxx_werror_flag" ||
     18156         test ! -s conftest.err
     18157       } && test -s conftest$ac_exeext && {
     18158         test "$cross_compiling" = yes ||
     18159         $as_test_x conftest$ac_exeext
     18160       }; then
     18161  eval "$as_ac_var=yes"
     18162else
     18163  $as_echo "$as_me: failed program was:" >&5
     18164sed 's/^/| /' conftest.$ac_ext >&5
     18165
     18166        eval "$as_ac_var=no"
     18167fi
     18168
     18169rm -rf conftest.dSYM
     18170rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18171      conftest$ac_exeext conftest.$ac_ext
     18172fi
     18173ac_res=`eval 'as_val=${'$as_ac_var'}
     18174                 $as_echo "$as_val"'`
     18175               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18176$as_echo "$ac_res" >&6; }
     18177as_val=`eval 'as_val=${'$as_ac_var'}
     18178                 $as_echo "$as_val"'`
     18179   if test "x$as_val" = x""yes; then
    985018180  cat >>confdefs.h <<_ACEOF
    9851 #define HAVE_AVFORMAT_FIND_STREAM_INFO 1
     18181#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    985218182_ACEOF
    985318183
     
    985518185done
    985618186
    9857   for ac_func in avformat_open_input
    9858 do :
    9859   ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"
    9860 if test "x$ac_cv_func_avformat_open_input" = xyes; then :
     18187
     18188for ac_func in avformat_open_input
     18189do
     18190as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18191{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18192$as_echo_n "checking for $ac_func... " >&6; }
     18193if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18194  $as_echo_n "(cached) " >&6
     18195else
     18196  cat >conftest.$ac_ext <<_ACEOF
     18197/* confdefs.h.  */
     18198_ACEOF
     18199cat confdefs.h >>conftest.$ac_ext
     18200cat >>conftest.$ac_ext <<_ACEOF
     18201/* end confdefs.h.  */
     18202/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18203   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18204#define $ac_func innocuous_$ac_func
     18205
     18206/* System header to define __stub macros and hopefully few prototypes,
     18207    which can conflict with char $ac_func (); below.
     18208    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18209    <limits.h> exists even on freestanding compilers.  */
     18210
     18211#ifdef __STDC__
     18212# include <limits.h>
     18213#else
     18214# include <assert.h>
     18215#endif
     18216
     18217#undef $ac_func
     18218
     18219/* Override any GCC internal prototype to avoid an error.
     18220   Use char because int might match the return type of a GCC
     18221   builtin and then its argument prototype would still apply.  */
     18222#ifdef __cplusplus
     18223extern "C"
     18224#endif
     18225char $ac_func ();
     18226/* The GNU C library defines this for functions which it implements
     18227    to always fail with ENOSYS.  Some functions are actually named
     18228    something starting with __ and the normal name is an alias.  */
     18229#if defined __stub_$ac_func || defined __stub___$ac_func
     18230choke me
     18231#endif
     18232
     18233int
     18234main ()
     18235{
     18236return $ac_func ();
     18237  ;
     18238  return 0;
     18239}
     18240_ACEOF
     18241rm -f conftest.$ac_objext conftest$ac_exeext
     18242if { (ac_try="$ac_link"
     18243case "(($ac_try" in
     18244  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18245  *) ac_try_echo=$ac_try;;
     18246esac
     18247eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18248$as_echo "$ac_try_echo") >&5
     18249  (eval "$ac_link") 2>conftest.er1
     18250  ac_status=$?
     18251  grep -v '^ *+' conftest.er1 >conftest.err
     18252  rm -f conftest.er1
     18253  cat conftest.err >&5
     18254  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18255  (exit $ac_status); } && {
     18256         test -z "$ac_cxx_werror_flag" ||
     18257         test ! -s conftest.err
     18258       } && test -s conftest$ac_exeext && {
     18259         test "$cross_compiling" = yes ||
     18260         $as_test_x conftest$ac_exeext
     18261       }; then
     18262  eval "$as_ac_var=yes"
     18263else
     18264  $as_echo "$as_me: failed program was:" >&5
     18265sed 's/^/| /' conftest.$ac_ext >&5
     18266
     18267        eval "$as_ac_var=no"
     18268fi
     18269
     18270rm -rf conftest.dSYM
     18271rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18272      conftest$ac_exeext conftest.$ac_ext
     18273fi
     18274ac_res=`eval 'as_val=${'$as_ac_var'}
     18275                 $as_echo "$as_val"'`
     18276               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18277$as_echo "$ac_res" >&6; }
     18278as_val=`eval 'as_val=${'$as_ac_var'}
     18279                 $as_echo "$as_val"'`
     18280   if test "x$as_val" = x""yes; then
    986118281  cat >>confdefs.h <<_ACEOF
    9862 #define HAVE_AVFORMAT_OPEN_INPUT 1
     18282#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    986318283_ACEOF
    986418284
     
    986618286done
    986718287
    9868   for ac_func in avio_close
    9869 do :
    9870   ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"
    9871 if test "x$ac_cv_func_avio_close" = xyes; then :
     18288
     18289for ac_func in avio_close
     18290do
     18291as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18292{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18293$as_echo_n "checking for $ac_func... " >&6; }
     18294if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18295  $as_echo_n "(cached) " >&6
     18296else
     18297  cat >conftest.$ac_ext <<_ACEOF
     18298/* confdefs.h.  */
     18299_ACEOF
     18300cat confdefs.h >>conftest.$ac_ext
     18301cat >>conftest.$ac_ext <<_ACEOF
     18302/* end confdefs.h.  */
     18303/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18304   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18305#define $ac_func innocuous_$ac_func
     18306
     18307/* System header to define __stub macros and hopefully few prototypes,
     18308    which can conflict with char $ac_func (); below.
     18309    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18310    <limits.h> exists even on freestanding compilers.  */
     18311
     18312#ifdef __STDC__
     18313# include <limits.h>
     18314#else
     18315# include <assert.h>
     18316#endif
     18317
     18318#undef $ac_func
     18319
     18320/* Override any GCC internal prototype to avoid an error.
     18321   Use char because int might match the return type of a GCC
     18322   builtin and then its argument prototype would still apply.  */
     18323#ifdef __cplusplus
     18324extern "C"
     18325#endif
     18326char $ac_func ();
     18327/* The GNU C library defines this for functions which it implements
     18328    to always fail with ENOSYS.  Some functions are actually named
     18329    something starting with __ and the normal name is an alias.  */
     18330#if defined __stub_$ac_func || defined __stub___$ac_func
     18331choke me
     18332#endif
     18333
     18334int
     18335main ()
     18336{
     18337return $ac_func ();
     18338  ;
     18339  return 0;
     18340}
     18341_ACEOF
     18342rm -f conftest.$ac_objext conftest$ac_exeext
     18343if { (ac_try="$ac_link"
     18344case "(($ac_try" in
     18345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18346  *) ac_try_echo=$ac_try;;
     18347esac
     18348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18349$as_echo "$ac_try_echo") >&5
     18350  (eval "$ac_link") 2>conftest.er1
     18351  ac_status=$?
     18352  grep -v '^ *+' conftest.er1 >conftest.err
     18353  rm -f conftest.er1
     18354  cat conftest.err >&5
     18355  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18356  (exit $ac_status); } && {
     18357         test -z "$ac_cxx_werror_flag" ||
     18358         test ! -s conftest.err
     18359       } && test -s conftest$ac_exeext && {
     18360         test "$cross_compiling" = yes ||
     18361         $as_test_x conftest$ac_exeext
     18362       }; then
     18363  eval "$as_ac_var=yes"
     18364else
     18365  $as_echo "$as_me: failed program was:" >&5
     18366sed 's/^/| /' conftest.$ac_ext >&5
     18367
     18368        eval "$as_ac_var=no"
     18369fi
     18370
     18371rm -rf conftest.dSYM
     18372rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18373      conftest$ac_exeext conftest.$ac_ext
     18374fi
     18375ac_res=`eval 'as_val=${'$as_ac_var'}
     18376                 $as_echo "$as_val"'`
     18377               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18378$as_echo "$ac_res" >&6; }
     18379as_val=`eval 'as_val=${'$as_ac_var'}
     18380                 $as_echo "$as_val"'`
     18381   if test "x$as_val" = x""yes; then
    987218382  cat >>confdefs.h <<_ACEOF
    9873 #define HAVE_AVIO_CLOSE 1
     18383#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    987418384_ACEOF
    987518385
     
    987718387done
    987818388
    9879   for ac_func in img_convert
    9880 do :
    9881   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    9882 if test "x$ac_cv_func_img_convert" = xyes; then :
     18389
     18390for ac_func in img_convert
     18391do
     18392as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18393{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18394$as_echo_n "checking for $ac_func... " >&6; }
     18395if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18396  $as_echo_n "(cached) " >&6
     18397else
     18398  cat >conftest.$ac_ext <<_ACEOF
     18399/* confdefs.h.  */
     18400_ACEOF
     18401cat confdefs.h >>conftest.$ac_ext
     18402cat >>conftest.$ac_ext <<_ACEOF
     18403/* end confdefs.h.  */
     18404/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18405   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18406#define $ac_func innocuous_$ac_func
     18407
     18408/* System header to define __stub macros and hopefully few prototypes,
     18409    which can conflict with char $ac_func (); below.
     18410    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18411    <limits.h> exists even on freestanding compilers.  */
     18412
     18413#ifdef __STDC__
     18414# include <limits.h>
     18415#else
     18416# include <assert.h>
     18417#endif
     18418
     18419#undef $ac_func
     18420
     18421/* Override any GCC internal prototype to avoid an error.
     18422   Use char because int might match the return type of a GCC
     18423   builtin and then its argument prototype would still apply.  */
     18424#ifdef __cplusplus
     18425extern "C"
     18426#endif
     18427char $ac_func ();
     18428/* The GNU C library defines this for functions which it implements
     18429    to always fail with ENOSYS.  Some functions are actually named
     18430    something starting with __ and the normal name is an alias.  */
     18431#if defined __stub_$ac_func || defined __stub___$ac_func
     18432choke me
     18433#endif
     18434
     18435int
     18436main ()
     18437{
     18438return $ac_func ();
     18439  ;
     18440  return 0;
     18441}
     18442_ACEOF
     18443rm -f conftest.$ac_objext conftest$ac_exeext
     18444if { (ac_try="$ac_link"
     18445case "(($ac_try" in
     18446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18447  *) ac_try_echo=$ac_try;;
     18448esac
     18449eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18450$as_echo "$ac_try_echo") >&5
     18451  (eval "$ac_link") 2>conftest.er1
     18452  ac_status=$?
     18453  grep -v '^ *+' conftest.er1 >conftest.err
     18454  rm -f conftest.er1
     18455  cat conftest.err >&5
     18456  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18457  (exit $ac_status); } && {
     18458         test -z "$ac_cxx_werror_flag" ||
     18459         test ! -s conftest.err
     18460       } && test -s conftest$ac_exeext && {
     18461         test "$cross_compiling" = yes ||
     18462         $as_test_x conftest$ac_exeext
     18463       }; then
     18464  eval "$as_ac_var=yes"
     18465else
     18466  $as_echo "$as_me: failed program was:" >&5
     18467sed 's/^/| /' conftest.$ac_ext >&5
     18468
     18469        eval "$as_ac_var=no"
     18470fi
     18471
     18472rm -rf conftest.dSYM
     18473rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18474      conftest$ac_exeext conftest.$ac_ext
     18475fi
     18476ac_res=`eval 'as_val=${'$as_ac_var'}
     18477                 $as_echo "$as_val"'`
     18478               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18479$as_echo "$ac_res" >&6; }
     18480as_val=`eval 'as_val=${'$as_ac_var'}
     18481                 $as_echo "$as_val"'`
     18482   if test "x$as_val" = x""yes; then
    988318483  cat >>confdefs.h <<_ACEOF
    9884 #define HAVE_IMG_CONVERT 1
     18484#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    988518485_ACEOF
    988618486
     
    988818488done
    988918489
    9890   for ac_func in sws_getCachedContext
    9891 do :
    9892   ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
    9893 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
     18490
     18491for ac_func in sws_getCachedContext
     18492do
     18493as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18494{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18495$as_echo_n "checking for $ac_func... " >&6; }
     18496if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18497  $as_echo_n "(cached) " >&6
     18498else
     18499  cat >conftest.$ac_ext <<_ACEOF
     18500/* confdefs.h.  */
     18501_ACEOF
     18502cat confdefs.h >>conftest.$ac_ext
     18503cat >>conftest.$ac_ext <<_ACEOF
     18504/* end confdefs.h.  */
     18505/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18506   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18507#define $ac_func innocuous_$ac_func
     18508
     18509/* System header to define __stub macros and hopefully few prototypes,
     18510    which can conflict with char $ac_func (); below.
     18511    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18512    <limits.h> exists even on freestanding compilers.  */
     18513
     18514#ifdef __STDC__
     18515# include <limits.h>
     18516#else
     18517# include <assert.h>
     18518#endif
     18519
     18520#undef $ac_func
     18521
     18522/* Override any GCC internal prototype to avoid an error.
     18523   Use char because int might match the return type of a GCC
     18524   builtin and then its argument prototype would still apply.  */
     18525#ifdef __cplusplus
     18526extern "C"
     18527#endif
     18528char $ac_func ();
     18529/* The GNU C library defines this for functions which it implements
     18530    to always fail with ENOSYS.  Some functions are actually named
     18531    something starting with __ and the normal name is an alias.  */
     18532#if defined __stub_$ac_func || defined __stub___$ac_func
     18533choke me
     18534#endif
     18535
     18536int
     18537main ()
     18538{
     18539return $ac_func ();
     18540  ;
     18541  return 0;
     18542}
     18543_ACEOF
     18544rm -f conftest.$ac_objext conftest$ac_exeext
     18545if { (ac_try="$ac_link"
     18546case "(($ac_try" in
     18547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18548  *) ac_try_echo=$ac_try;;
     18549esac
     18550eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18551$as_echo "$ac_try_echo") >&5
     18552  (eval "$ac_link") 2>conftest.er1
     18553  ac_status=$?
     18554  grep -v '^ *+' conftest.er1 >conftest.err
     18555  rm -f conftest.er1
     18556  cat conftest.err >&5
     18557  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18558  (exit $ac_status); } && {
     18559         test -z "$ac_cxx_werror_flag" ||
     18560         test ! -s conftest.err
     18561       } && test -s conftest$ac_exeext && {
     18562         test "$cross_compiling" = yes ||
     18563         $as_test_x conftest$ac_exeext
     18564       }; then
     18565  eval "$as_ac_var=yes"
     18566else
     18567  $as_echo "$as_me: failed program was:" >&5
     18568sed 's/^/| /' conftest.$ac_ext >&5
     18569
     18570        eval "$as_ac_var=no"
     18571fi
     18572
     18573rm -rf conftest.dSYM
     18574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18575      conftest$ac_exeext conftest.$ac_ext
     18576fi
     18577ac_res=`eval 'as_val=${'$as_ac_var'}
     18578                 $as_echo "$as_val"'`
     18579               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18580$as_echo "$ac_res" >&6; }
     18581as_val=`eval 'as_val=${'$as_ac_var'}
     18582                 $as_echo "$as_val"'`
     18583   if test "x$as_val" = x""yes; then
    989418584  cat >>confdefs.h <<_ACEOF
    9895 #define HAVE_SWS_GETCACHEDCONTEXT 1
     18585#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    989618586_ACEOF
    989718587
     
    989918589done
    990018590
    9901   for ac_func in sws_scale
    9902 do :
    9903   ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
    9904 if test "x$ac_cv_func_sws_scale" = xyes; then :
     18591
     18592for ac_func in sws_scale
     18593do
     18594as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18595{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18596$as_echo_n "checking for $ac_func... " >&6; }
     18597if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18598  $as_echo_n "(cached) " >&6
     18599else
     18600  cat >conftest.$ac_ext <<_ACEOF
     18601/* confdefs.h.  */
     18602_ACEOF
     18603cat confdefs.h >>conftest.$ac_ext
     18604cat >>conftest.$ac_ext <<_ACEOF
     18605/* end confdefs.h.  */
     18606/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18607   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18608#define $ac_func innocuous_$ac_func
     18609
     18610/* System header to define __stub macros and hopefully few prototypes,
     18611    which can conflict with char $ac_func (); below.
     18612    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18613    <limits.h> exists even on freestanding compilers.  */
     18614
     18615#ifdef __STDC__
     18616# include <limits.h>
     18617#else
     18618# include <assert.h>
     18619#endif
     18620
     18621#undef $ac_func
     18622
     18623/* Override any GCC internal prototype to avoid an error.
     18624   Use char because int might match the return type of a GCC
     18625   builtin and then its argument prototype would still apply.  */
     18626#ifdef __cplusplus
     18627extern "C"
     18628#endif
     18629char $ac_func ();
     18630/* The GNU C library defines this for functions which it implements
     18631    to always fail with ENOSYS.  Some functions are actually named
     18632    something starting with __ and the normal name is an alias.  */
     18633#if defined __stub_$ac_func || defined __stub___$ac_func
     18634choke me
     18635#endif
     18636
     18637int
     18638main ()
     18639{
     18640return $ac_func ();
     18641  ;
     18642  return 0;
     18643}
     18644_ACEOF
     18645rm -f conftest.$ac_objext conftest$ac_exeext
     18646if { (ac_try="$ac_link"
     18647case "(($ac_try" in
     18648  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18649  *) ac_try_echo=$ac_try;;
     18650esac
     18651eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18652$as_echo "$ac_try_echo") >&5
     18653  (eval "$ac_link") 2>conftest.er1
     18654  ac_status=$?
     18655  grep -v '^ *+' conftest.er1 >conftest.err
     18656  rm -f conftest.er1
     18657  cat conftest.err >&5
     18658  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18659  (exit $ac_status); } && {
     18660         test -z "$ac_cxx_werror_flag" ||
     18661         test ! -s conftest.err
     18662       } && test -s conftest$ac_exeext && {
     18663         test "$cross_compiling" = yes ||
     18664         $as_test_x conftest$ac_exeext
     18665       }; then
     18666  eval "$as_ac_var=yes"
     18667else
     18668  $as_echo "$as_me: failed program was:" >&5
     18669sed 's/^/| /' conftest.$ac_ext >&5
     18670
     18671        eval "$as_ac_var=no"
     18672fi
     18673
     18674rm -rf conftest.dSYM
     18675rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18676      conftest$ac_exeext conftest.$ac_ext
     18677fi
     18678ac_res=`eval 'as_val=${'$as_ac_var'}
     18679                 $as_echo "$as_val"'`
     18680               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18681$as_echo "$ac_res" >&6; }
     18682as_val=`eval 'as_val=${'$as_ac_var'}
     18683                 $as_echo "$as_val"'`
     18684   if test "x$as_val" = x""yes; then
    990518685  cat >>confdefs.h <<_ACEOF
    9906 #define HAVE_SWS_SCALE 1
     18686#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    990718687_ACEOF
    990818688
     
    991018690done
    991118691
    9912   for ac_func in url_close
    9913 do :
    9914   ac_fn_cxx_check_func "$LINENO" "url_close" "ac_cv_func_url_close"
    9915 if test "x$ac_cv_func_url_close" = xyes; then :
     18692
     18693for ac_func in url_close
     18694do
     18695as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18696{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18697$as_echo_n "checking for $ac_func... " >&6; }
     18698if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18699  $as_echo_n "(cached) " >&6
     18700else
     18701  cat >conftest.$ac_ext <<_ACEOF
     18702/* confdefs.h.  */
     18703_ACEOF
     18704cat confdefs.h >>conftest.$ac_ext
     18705cat >>conftest.$ac_ext <<_ACEOF
     18706/* end confdefs.h.  */
     18707/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18708   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18709#define $ac_func innocuous_$ac_func
     18710
     18711/* System header to define __stub macros and hopefully few prototypes,
     18712    which can conflict with char $ac_func (); below.
     18713    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18714    <limits.h> exists even on freestanding compilers.  */
     18715
     18716#ifdef __STDC__
     18717# include <limits.h>
     18718#else
     18719# include <assert.h>
     18720#endif
     18721
     18722#undef $ac_func
     18723
     18724/* Override any GCC internal prototype to avoid an error.
     18725   Use char because int might match the return type of a GCC
     18726   builtin and then its argument prototype would still apply.  */
     18727#ifdef __cplusplus
     18728extern "C"
     18729#endif
     18730char $ac_func ();
     18731/* The GNU C library defines this for functions which it implements
     18732    to always fail with ENOSYS.  Some functions are actually named
     18733    something starting with __ and the normal name is an alias.  */
     18734#if defined __stub_$ac_func || defined __stub___$ac_func
     18735choke me
     18736#endif
     18737
     18738int
     18739main ()
     18740{
     18741return $ac_func ();
     18742  ;
     18743  return 0;
     18744}
     18745_ACEOF
     18746rm -f conftest.$ac_objext conftest$ac_exeext
     18747if { (ac_try="$ac_link"
     18748case "(($ac_try" in
     18749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18750  *) ac_try_echo=$ac_try;;
     18751esac
     18752eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18753$as_echo "$ac_try_echo") >&5
     18754  (eval "$ac_link") 2>conftest.er1
     18755  ac_status=$?
     18756  grep -v '^ *+' conftest.er1 >conftest.err
     18757  rm -f conftest.er1
     18758  cat conftest.err >&5
     18759  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18760  (exit $ac_status); } && {
     18761         test -z "$ac_cxx_werror_flag" ||
     18762         test ! -s conftest.err
     18763       } && test -s conftest$ac_exeext && {
     18764         test "$cross_compiling" = yes ||
     18765         $as_test_x conftest$ac_exeext
     18766       }; then
     18767  eval "$as_ac_var=yes"
     18768else
     18769  $as_echo "$as_me: failed program was:" >&5
     18770sed 's/^/| /' conftest.$ac_ext >&5
     18771
     18772        eval "$as_ac_var=no"
     18773fi
     18774
     18775rm -rf conftest.dSYM
     18776rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18777      conftest$ac_exeext conftest.$ac_ext
     18778fi
     18779ac_res=`eval 'as_val=${'$as_ac_var'}
     18780                 $as_echo "$as_val"'`
     18781               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18782$as_echo "$ac_res" >&6; }
     18783as_val=`eval 'as_val=${'$as_ac_var'}
     18784                 $as_echo "$as_val"'`
     18785   if test "x$as_val" = x""yes; then
    991618786  cat >>confdefs.h <<_ACEOF
    9917 #define HAVE_URL_CLOSE 1
     18787#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    991818788_ACEOF
    991918789
     
    992118791done
    992218792
    9923   for ac_func in av_close_input_file
    9924 do :
    9925   ac_fn_cxx_check_func "$LINENO" "av_close_input_file" "ac_cv_func_av_close_input_file"
    9926 if test "x$ac_cv_func_av_close_input_file" = xyes; then :
     18793
     18794for ac_func in av_close_input_file
     18795do
     18796as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18797{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18798$as_echo_n "checking for $ac_func... " >&6; }
     18799if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18800  $as_echo_n "(cached) " >&6
     18801else
     18802  cat >conftest.$ac_ext <<_ACEOF
     18803/* confdefs.h.  */
     18804_ACEOF
     18805cat confdefs.h >>conftest.$ac_ext
     18806cat >>conftest.$ac_ext <<_ACEOF
     18807/* end confdefs.h.  */
     18808/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18809   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18810#define $ac_func innocuous_$ac_func
     18811
     18812/* System header to define __stub macros and hopefully few prototypes,
     18813    which can conflict with char $ac_func (); below.
     18814    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18815    <limits.h> exists even on freestanding compilers.  */
     18816
     18817#ifdef __STDC__
     18818# include <limits.h>
     18819#else
     18820# include <assert.h>
     18821#endif
     18822
     18823#undef $ac_func
     18824
     18825/* Override any GCC internal prototype to avoid an error.
     18826   Use char because int might match the return type of a GCC
     18827   builtin and then its argument prototype would still apply.  */
     18828#ifdef __cplusplus
     18829extern "C"
     18830#endif
     18831char $ac_func ();
     18832/* The GNU C library defines this for functions which it implements
     18833    to always fail with ENOSYS.  Some functions are actually named
     18834    something starting with __ and the normal name is an alias.  */
     18835#if defined __stub_$ac_func || defined __stub___$ac_func
     18836choke me
     18837#endif
     18838
     18839int
     18840main ()
     18841{
     18842return $ac_func ();
     18843  ;
     18844  return 0;
     18845}
     18846_ACEOF
     18847rm -f conftest.$ac_objext conftest$ac_exeext
     18848if { (ac_try="$ac_link"
     18849case "(($ac_try" in
     18850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18851  *) ac_try_echo=$ac_try;;
     18852esac
     18853eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18854$as_echo "$ac_try_echo") >&5
     18855  (eval "$ac_link") 2>conftest.er1
     18856  ac_status=$?
     18857  grep -v '^ *+' conftest.er1 >conftest.err
     18858  rm -f conftest.er1
     18859  cat conftest.err >&5
     18860  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18861  (exit $ac_status); } && {
     18862         test -z "$ac_cxx_werror_flag" ||
     18863         test ! -s conftest.err
     18864       } && test -s conftest$ac_exeext && {
     18865         test "$cross_compiling" = yes ||
     18866         $as_test_x conftest$ac_exeext
     18867       }; then
     18868  eval "$as_ac_var=yes"
     18869else
     18870  $as_echo "$as_me: failed program was:" >&5
     18871sed 's/^/| /' conftest.$ac_ext >&5
     18872
     18873        eval "$as_ac_var=no"
     18874fi
     18875
     18876rm -rf conftest.dSYM
     18877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18878      conftest$ac_exeext conftest.$ac_ext
     18879fi
     18880ac_res=`eval 'as_val=${'$as_ac_var'}
     18881                 $as_echo "$as_val"'`
     18882               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18883$as_echo "$ac_res" >&6; }
     18884as_val=`eval 'as_val=${'$as_ac_var'}
     18885                 $as_echo "$as_val"'`
     18886   if test "x$as_val" = x""yes; then
    992718887  cat >>confdefs.h <<_ACEOF
    9928 #define HAVE_AV_CLOSE_INPUT_FILE 1
     18888#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    992918889_ACEOF
    993018890
     
    993218892done
    993318893
    9934   for ac_func in avformat_close_input
    9935 do :
    9936   ac_fn_cxx_check_func "$LINENO" "avformat_close_input" "ac_cv_func_avformat_close_input"
    9937 if test "x$ac_cv_func_avformat_close_input" = xyes; then :
     18894
     18895for ac_func in avformat_close_input
     18896do
     18897as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     18898{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     18899$as_echo_n "checking for $ac_func... " >&6; }
     18900if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     18901  $as_echo_n "(cached) " >&6
     18902else
     18903  cat >conftest.$ac_ext <<_ACEOF
     18904/* confdefs.h.  */
     18905_ACEOF
     18906cat confdefs.h >>conftest.$ac_ext
     18907cat >>conftest.$ac_ext <<_ACEOF
     18908/* end confdefs.h.  */
     18909/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     18910   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     18911#define $ac_func innocuous_$ac_func
     18912
     18913/* System header to define __stub macros and hopefully few prototypes,
     18914    which can conflict with char $ac_func (); below.
     18915    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     18916    <limits.h> exists even on freestanding compilers.  */
     18917
     18918#ifdef __STDC__
     18919# include <limits.h>
     18920#else
     18921# include <assert.h>
     18922#endif
     18923
     18924#undef $ac_func
     18925
     18926/* Override any GCC internal prototype to avoid an error.
     18927   Use char because int might match the return type of a GCC
     18928   builtin and then its argument prototype would still apply.  */
     18929#ifdef __cplusplus
     18930extern "C"
     18931#endif
     18932char $ac_func ();
     18933/* The GNU C library defines this for functions which it implements
     18934    to always fail with ENOSYS.  Some functions are actually named
     18935    something starting with __ and the normal name is an alias.  */
     18936#if defined __stub_$ac_func || defined __stub___$ac_func
     18937choke me
     18938#endif
     18939
     18940int
     18941main ()
     18942{
     18943return $ac_func ();
     18944  ;
     18945  return 0;
     18946}
     18947_ACEOF
     18948rm -f conftest.$ac_objext conftest$ac_exeext
     18949if { (ac_try="$ac_link"
     18950case "(($ac_try" in
     18951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     18952  *) ac_try_echo=$ac_try;;
     18953esac
     18954eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     18955$as_echo "$ac_try_echo") >&5
     18956  (eval "$ac_link") 2>conftest.er1
     18957  ac_status=$?
     18958  grep -v '^ *+' conftest.er1 >conftest.err
     18959  rm -f conftest.er1
     18960  cat conftest.err >&5
     18961  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     18962  (exit $ac_status); } && {
     18963         test -z "$ac_cxx_werror_flag" ||
     18964         test ! -s conftest.err
     18965       } && test -s conftest$ac_exeext && {
     18966         test "$cross_compiling" = yes ||
     18967         $as_test_x conftest$ac_exeext
     18968       }; then
     18969  eval "$as_ac_var=yes"
     18970else
     18971  $as_echo "$as_me: failed program was:" >&5
     18972sed 's/^/| /' conftest.$ac_ext >&5
     18973
     18974        eval "$as_ac_var=no"
     18975fi
     18976
     18977rm -rf conftest.dSYM
     18978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     18979      conftest$ac_exeext conftest.$ac_ext
     18980fi
     18981ac_res=`eval 'as_val=${'$as_ac_var'}
     18982                 $as_echo "$as_val"'`
     18983               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     18984$as_echo "$ac_res" >&6; }
     18985as_val=`eval 'as_val=${'$as_ac_var'}
     18986                 $as_echo "$as_val"'`
     18987   if test "x$as_val" = x""yes; then
    993818988  cat >>confdefs.h <<_ACEOF
    9939 #define HAVE_AVFORMAT_CLOSE_INPUT 1
     18989#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    994018990_ACEOF
    994118991
     
    994418994
    994518995
    9946   ac_fn_cxx_check_func "$LINENO" "avcodec_find_decoder" "ac_cv_func_avcodec_find_decoder"
    9947 if test "x$ac_cv_func_avcodec_find_decoder" = xyes; then :
    9948 
    9949 else
    9950   as_fn_error $? "oops! no av_codec_find_decoder ?!?" "$LINENO" 5
    9951 fi
    9952 
    9953   ac_fn_cxx_check_func "$LINENO" "avcodec_alloc_frame" "ac_cv_func_avcodec_alloc_frame"
    9954 if test "x$ac_cv_func_avcodec_alloc_frame" = xyes; then :
    9955 
    9956 else
    9957   as_fn_error $? "oops! no avcode_alloc_frame ?!?" "$LINENO" 5
    9958 fi
    9959 
    9960   ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"
    9961 if test "x$ac_cv_func_av_rescale_q" = xyes; then :
    9962 
    9963 else
    9964   as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
    9965 fi
    9966 
    9967   ac_fn_cxx_check_func "$LINENO" "av_read_frame" "ac_cv_func_av_read_frame"
    9968 if test "x$ac_cv_func_av_read_frame" = xyes; then :
    9969 
    9970 else
    9971   as_fn_error $? "oops! av_read_frame ?!?" "$LINENO" 5
    9972 fi
    9973 
    9974   ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"
    9975 if test "x$ac_cv_func_av_free" = xyes; then :
    9976 
    9977 else
    9978   as_fn_error $? "oops! no av_frame ?!?" "$LINENO" 5
    9979 fi
    9980 
    9981   ac_fn_cxx_check_func "$LINENO" "avcodec_default_release_buffer" "ac_cv_func_avcodec_default_release_buffer"
    9982 if test "x$ac_cv_func_avcodec_default_release_buffer" = xyes; then :
    9983 
    9984 else
    9985   as_fn_error $? "oops! no avcode_default_release_buffer ?!?" "$LINENO" 5
    9986 fi
    9987 
    9988   ac_fn_cxx_check_func "$LINENO" "avpicture_get_size" "ac_cv_func_avpicture_get_size"
    9989 if test "x$ac_cv_func_avpicture_get_size" = xyes; then :
    9990 
    9991 else
    9992   as_fn_error $? "oops! no avpicture_get_size ?!?" "$LINENO" 5
    9993 fi
    9994 
    9995   ac_fn_cxx_check_func "$LINENO" "avpicture_fill" "ac_cv_func_avpicture_fill"
    9996 if test "x$ac_cv_func_avpicture_fill" = xyes; then :
    9997 
    9998 else
    9999   as_fn_error $? "oops! no avpicture_fill ?!?" "$LINENO" 5
    10000 fi
    10001 
    10002   for ac_func in sws_getCachedContext
    10003 do :
    10004   ac_fn_cxx_check_func "$LINENO" "sws_getCachedContext" "ac_cv_func_sws_getCachedContext"
    10005 if test "x$ac_cv_func_sws_getCachedContext" = xyes; then :
     18996  { $as_echo "$as_me:$LINENO: checking for avcodec_find_decoder" >&5
     18997$as_echo_n "checking for avcodec_find_decoder... " >&6; }
     18998if test "${ac_cv_func_avcodec_find_decoder+set}" = set; then
     18999  $as_echo_n "(cached) " >&6
     19000else
     19001  cat >conftest.$ac_ext <<_ACEOF
     19002/* confdefs.h.  */
     19003_ACEOF
     19004cat confdefs.h >>conftest.$ac_ext
     19005cat >>conftest.$ac_ext <<_ACEOF
     19006/* end confdefs.h.  */
     19007/* Define avcodec_find_decoder to an innocuous variant, in case <limits.h> declares avcodec_find_decoder.
     19008   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19009#define avcodec_find_decoder innocuous_avcodec_find_decoder
     19010
     19011/* System header to define __stub macros and hopefully few prototypes,
     19012    which can conflict with char avcodec_find_decoder (); below.
     19013    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19014    <limits.h> exists even on freestanding compilers.  */
     19015
     19016#ifdef __STDC__
     19017# include <limits.h>
     19018#else
     19019# include <assert.h>
     19020#endif
     19021
     19022#undef avcodec_find_decoder
     19023
     19024/* Override any GCC internal prototype to avoid an error.
     19025   Use char because int might match the return type of a GCC
     19026   builtin and then its argument prototype would still apply.  */
     19027#ifdef __cplusplus
     19028extern "C"
     19029#endif
     19030char avcodec_find_decoder ();
     19031/* The GNU C library defines this for functions which it implements
     19032    to always fail with ENOSYS.  Some functions are actually named
     19033    something starting with __ and the normal name is an alias.  */
     19034#if defined __stub_avcodec_find_decoder || defined __stub___avcodec_find_decoder
     19035choke me
     19036#endif
     19037
     19038int
     19039main ()
     19040{
     19041return avcodec_find_decoder ();
     19042  ;
     19043  return 0;
     19044}
     19045_ACEOF
     19046rm -f conftest.$ac_objext conftest$ac_exeext
     19047if { (ac_try="$ac_link"
     19048case "(($ac_try" in
     19049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19050  *) ac_try_echo=$ac_try;;
     19051esac
     19052eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19053$as_echo "$ac_try_echo") >&5
     19054  (eval "$ac_link") 2>conftest.er1
     19055  ac_status=$?
     19056  grep -v '^ *+' conftest.er1 >conftest.err
     19057  rm -f conftest.er1
     19058  cat conftest.err >&5
     19059  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19060  (exit $ac_status); } && {
     19061         test -z "$ac_cxx_werror_flag" ||
     19062         test ! -s conftest.err
     19063       } && test -s conftest$ac_exeext && {
     19064         test "$cross_compiling" = yes ||
     19065         $as_test_x conftest$ac_exeext
     19066       }; then
     19067  ac_cv_func_avcodec_find_decoder=yes
     19068else
     19069  $as_echo "$as_me: failed program was:" >&5
     19070sed 's/^/| /' conftest.$ac_ext >&5
     19071
     19072        ac_cv_func_avcodec_find_decoder=no
     19073fi
     19074
     19075rm -rf conftest.dSYM
     19076rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19077      conftest$ac_exeext conftest.$ac_ext
     19078fi
     19079{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_find_decoder" >&5
     19080$as_echo "$ac_cv_func_avcodec_find_decoder" >&6; }
     19081if test "x$ac_cv_func_avcodec_find_decoder" = x""yes; then
     19082  :
     19083else
     19084  { { $as_echo "$as_me:$LINENO: error: oops! no av_codec_find_decoder ?!?" >&5
     19085$as_echo "$as_me: error: oops! no av_codec_find_decoder ?!?" >&2;}
     19086   { (exit 1); exit 1; }; }
     19087fi
     19088
     19089  { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame" >&5
     19090$as_echo_n "checking for avcodec_alloc_frame... " >&6; }
     19091if test "${ac_cv_func_avcodec_alloc_frame+set}" = set; then
     19092  $as_echo_n "(cached) " >&6
     19093else
     19094  cat >conftest.$ac_ext <<_ACEOF
     19095/* confdefs.h.  */
     19096_ACEOF
     19097cat confdefs.h >>conftest.$ac_ext
     19098cat >>conftest.$ac_ext <<_ACEOF
     19099/* end confdefs.h.  */
     19100/* Define avcodec_alloc_frame to an innocuous variant, in case <limits.h> declares avcodec_alloc_frame.
     19101   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19102#define avcodec_alloc_frame innocuous_avcodec_alloc_frame
     19103
     19104/* System header to define __stub macros and hopefully few prototypes,
     19105    which can conflict with char avcodec_alloc_frame (); below.
     19106    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19107    <limits.h> exists even on freestanding compilers.  */
     19108
     19109#ifdef __STDC__
     19110# include <limits.h>
     19111#else
     19112# include <assert.h>
     19113#endif
     19114
     19115#undef avcodec_alloc_frame
     19116
     19117/* Override any GCC internal prototype to avoid an error.
     19118   Use char because int might match the return type of a GCC
     19119   builtin and then its argument prototype would still apply.  */
     19120#ifdef __cplusplus
     19121extern "C"
     19122#endif
     19123char avcodec_alloc_frame ();
     19124/* The GNU C library defines this for functions which it implements
     19125    to always fail with ENOSYS.  Some functions are actually named
     19126    something starting with __ and the normal name is an alias.  */
     19127#if defined __stub_avcodec_alloc_frame || defined __stub___avcodec_alloc_frame
     19128choke me
     19129#endif
     19130
     19131int
     19132main ()
     19133{
     19134return avcodec_alloc_frame ();
     19135  ;
     19136  return 0;
     19137}
     19138_ACEOF
     19139rm -f conftest.$ac_objext conftest$ac_exeext
     19140if { (ac_try="$ac_link"
     19141case "(($ac_try" in
     19142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19143  *) ac_try_echo=$ac_try;;
     19144esac
     19145eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19146$as_echo "$ac_try_echo") >&5
     19147  (eval "$ac_link") 2>conftest.er1
     19148  ac_status=$?
     19149  grep -v '^ *+' conftest.er1 >conftest.err
     19150  rm -f conftest.er1
     19151  cat conftest.err >&5
     19152  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19153  (exit $ac_status); } && {
     19154         test -z "$ac_cxx_werror_flag" ||
     19155         test ! -s conftest.err
     19156       } && test -s conftest$ac_exeext && {
     19157         test "$cross_compiling" = yes ||
     19158         $as_test_x conftest$ac_exeext
     19159       }; then
     19160  ac_cv_func_avcodec_alloc_frame=yes
     19161else
     19162  $as_echo "$as_me: failed program was:" >&5
     19163sed 's/^/| /' conftest.$ac_ext >&5
     19164
     19165        ac_cv_func_avcodec_alloc_frame=no
     19166fi
     19167
     19168rm -rf conftest.dSYM
     19169rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19170      conftest$ac_exeext conftest.$ac_ext
     19171fi
     19172{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_alloc_frame" >&5
     19173$as_echo "$ac_cv_func_avcodec_alloc_frame" >&6; }
     19174if test "x$ac_cv_func_avcodec_alloc_frame" = x""yes; then
     19175  :
     19176else
     19177  { { $as_echo "$as_me:$LINENO: error: oops! no avcode_alloc_frame ?!?" >&5
     19178$as_echo "$as_me: error: oops! no avcode_alloc_frame ?!?" >&2;}
     19179   { (exit 1); exit 1; }; }
     19180fi
     19181
     19182  { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5
     19183$as_echo_n "checking for av_rescale_q... " >&6; }
     19184if test "${ac_cv_func_av_rescale_q+set}" = set; then
     19185  $as_echo_n "(cached) " >&6
     19186else
     19187  cat >conftest.$ac_ext <<_ACEOF
     19188/* confdefs.h.  */
     19189_ACEOF
     19190cat confdefs.h >>conftest.$ac_ext
     19191cat >>conftest.$ac_ext <<_ACEOF
     19192/* end confdefs.h.  */
     19193/* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q.
     19194   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19195#define av_rescale_q innocuous_av_rescale_q
     19196
     19197/* System header to define __stub macros and hopefully few prototypes,
     19198    which can conflict with char av_rescale_q (); below.
     19199    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19200    <limits.h> exists even on freestanding compilers.  */
     19201
     19202#ifdef __STDC__
     19203# include <limits.h>
     19204#else
     19205# include <assert.h>
     19206#endif
     19207
     19208#undef av_rescale_q
     19209
     19210/* Override any GCC internal prototype to avoid an error.
     19211   Use char because int might match the return type of a GCC
     19212   builtin and then its argument prototype would still apply.  */
     19213#ifdef __cplusplus
     19214extern "C"
     19215#endif
     19216char av_rescale_q ();
     19217/* The GNU C library defines this for functions which it implements
     19218    to always fail with ENOSYS.  Some functions are actually named
     19219    something starting with __ and the normal name is an alias.  */
     19220#if defined __stub_av_rescale_q || defined __stub___av_rescale_q
     19221choke me
     19222#endif
     19223
     19224int
     19225main ()
     19226{
     19227return av_rescale_q ();
     19228  ;
     19229  return 0;
     19230}
     19231_ACEOF
     19232rm -f conftest.$ac_objext conftest$ac_exeext
     19233if { (ac_try="$ac_link"
     19234case "(($ac_try" in
     19235  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19236  *) ac_try_echo=$ac_try;;
     19237esac
     19238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19239$as_echo "$ac_try_echo") >&5
     19240  (eval "$ac_link") 2>conftest.er1
     19241  ac_status=$?
     19242  grep -v '^ *+' conftest.er1 >conftest.err
     19243  rm -f conftest.er1
     19244  cat conftest.err >&5
     19245  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19246  (exit $ac_status); } && {
     19247         test -z "$ac_cxx_werror_flag" ||
     19248         test ! -s conftest.err
     19249       } && test -s conftest$ac_exeext && {
     19250         test "$cross_compiling" = yes ||
     19251         $as_test_x conftest$ac_exeext
     19252       }; then
     19253  ac_cv_func_av_rescale_q=yes
     19254else
     19255  $as_echo "$as_me: failed program was:" >&5
     19256sed 's/^/| /' conftest.$ac_ext >&5
     19257
     19258        ac_cv_func_av_rescale_q=no
     19259fi
     19260
     19261rm -rf conftest.dSYM
     19262rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19263      conftest$ac_exeext conftest.$ac_ext
     19264fi
     19265{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5
     19266$as_echo "$ac_cv_func_av_rescale_q" >&6; }
     19267if test "x$ac_cv_func_av_rescale_q" = x""yes; then
     19268  :
     19269else
     19270  { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5
     19271$as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;}
     19272   { (exit 1); exit 1; }; }
     19273fi
     19274
     19275  { $as_echo "$as_me:$LINENO: checking for av_read_frame" >&5
     19276$as_echo_n "checking for av_read_frame... " >&6; }
     19277if test "${ac_cv_func_av_read_frame+set}" = set; then
     19278  $as_echo_n "(cached) " >&6
     19279else
     19280  cat >conftest.$ac_ext <<_ACEOF
     19281/* confdefs.h.  */
     19282_ACEOF
     19283cat confdefs.h >>conftest.$ac_ext
     19284cat >>conftest.$ac_ext <<_ACEOF
     19285/* end confdefs.h.  */
     19286/* Define av_read_frame to an innocuous variant, in case <limits.h> declares av_read_frame.
     19287   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19288#define av_read_frame innocuous_av_read_frame
     19289
     19290/* System header to define __stub macros and hopefully few prototypes,
     19291    which can conflict with char av_read_frame (); below.
     19292    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19293    <limits.h> exists even on freestanding compilers.  */
     19294
     19295#ifdef __STDC__
     19296# include <limits.h>
     19297#else
     19298# include <assert.h>
     19299#endif
     19300
     19301#undef av_read_frame
     19302
     19303/* Override any GCC internal prototype to avoid an error.
     19304   Use char because int might match the return type of a GCC
     19305   builtin and then its argument prototype would still apply.  */
     19306#ifdef __cplusplus
     19307extern "C"
     19308#endif
     19309char av_read_frame ();
     19310/* The GNU C library defines this for functions which it implements
     19311    to always fail with ENOSYS.  Some functions are actually named
     19312    something starting with __ and the normal name is an alias.  */
     19313#if defined __stub_av_read_frame || defined __stub___av_read_frame
     19314choke me
     19315#endif
     19316
     19317int
     19318main ()
     19319{
     19320return av_read_frame ();
     19321  ;
     19322  return 0;
     19323}
     19324_ACEOF
     19325rm -f conftest.$ac_objext conftest$ac_exeext
     19326if { (ac_try="$ac_link"
     19327case "(($ac_try" in
     19328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19329  *) ac_try_echo=$ac_try;;
     19330esac
     19331eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19332$as_echo "$ac_try_echo") >&5
     19333  (eval "$ac_link") 2>conftest.er1
     19334  ac_status=$?
     19335  grep -v '^ *+' conftest.er1 >conftest.err
     19336  rm -f conftest.er1
     19337  cat conftest.err >&5
     19338  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19339  (exit $ac_status); } && {
     19340         test -z "$ac_cxx_werror_flag" ||
     19341         test ! -s conftest.err
     19342       } && test -s conftest$ac_exeext && {
     19343         test "$cross_compiling" = yes ||
     19344         $as_test_x conftest$ac_exeext
     19345       }; then
     19346  ac_cv_func_av_read_frame=yes
     19347else
     19348  $as_echo "$as_me: failed program was:" >&5
     19349sed 's/^/| /' conftest.$ac_ext >&5
     19350
     19351        ac_cv_func_av_read_frame=no
     19352fi
     19353
     19354rm -rf conftest.dSYM
     19355rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19356      conftest$ac_exeext conftest.$ac_ext
     19357fi
     19358{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_read_frame" >&5
     19359$as_echo "$ac_cv_func_av_read_frame" >&6; }
     19360if test "x$ac_cv_func_av_read_frame" = x""yes; then
     19361  :
     19362else
     19363  { { $as_echo "$as_me:$LINENO: error: oops! av_read_frame ?!?" >&5
     19364$as_echo "$as_me: error: oops! av_read_frame ?!?" >&2;}
     19365   { (exit 1); exit 1; }; }
     19366fi
     19367
     19368  { $as_echo "$as_me:$LINENO: checking for av_free" >&5
     19369$as_echo_n "checking for av_free... " >&6; }
     19370if test "${ac_cv_func_av_free+set}" = set; then
     19371  $as_echo_n "(cached) " >&6
     19372else
     19373  cat >conftest.$ac_ext <<_ACEOF
     19374/* confdefs.h.  */
     19375_ACEOF
     19376cat confdefs.h >>conftest.$ac_ext
     19377cat >>conftest.$ac_ext <<_ACEOF
     19378/* end confdefs.h.  */
     19379/* Define av_free to an innocuous variant, in case <limits.h> declares av_free.
     19380   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19381#define av_free innocuous_av_free
     19382
     19383/* System header to define __stub macros and hopefully few prototypes,
     19384    which can conflict with char av_free (); below.
     19385    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19386    <limits.h> exists even on freestanding compilers.  */
     19387
     19388#ifdef __STDC__
     19389# include <limits.h>
     19390#else
     19391# include <assert.h>
     19392#endif
     19393
     19394#undef av_free
     19395
     19396/* Override any GCC internal prototype to avoid an error.
     19397   Use char because int might match the return type of a GCC
     19398   builtin and then its argument prototype would still apply.  */
     19399#ifdef __cplusplus
     19400extern "C"
     19401#endif
     19402char av_free ();
     19403/* The GNU C library defines this for functions which it implements
     19404    to always fail with ENOSYS.  Some functions are actually named
     19405    something starting with __ and the normal name is an alias.  */
     19406#if defined __stub_av_free || defined __stub___av_free
     19407choke me
     19408#endif
     19409
     19410int
     19411main ()
     19412{
     19413return av_free ();
     19414  ;
     19415  return 0;
     19416}
     19417_ACEOF
     19418rm -f conftest.$ac_objext conftest$ac_exeext
     19419if { (ac_try="$ac_link"
     19420case "(($ac_try" in
     19421  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19422  *) ac_try_echo=$ac_try;;
     19423esac
     19424eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19425$as_echo "$ac_try_echo") >&5
     19426  (eval "$ac_link") 2>conftest.er1
     19427  ac_status=$?
     19428  grep -v '^ *+' conftest.er1 >conftest.err
     19429  rm -f conftest.er1
     19430  cat conftest.err >&5
     19431  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19432  (exit $ac_status); } && {
     19433         test -z "$ac_cxx_werror_flag" ||
     19434         test ! -s conftest.err
     19435       } && test -s conftest$ac_exeext && {
     19436         test "$cross_compiling" = yes ||
     19437         $as_test_x conftest$ac_exeext
     19438       }; then
     19439  ac_cv_func_av_free=yes
     19440else
     19441  $as_echo "$as_me: failed program was:" >&5
     19442sed 's/^/| /' conftest.$ac_ext >&5
     19443
     19444        ac_cv_func_av_free=no
     19445fi
     19446
     19447rm -rf conftest.dSYM
     19448rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19449      conftest$ac_exeext conftest.$ac_ext
     19450fi
     19451{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5
     19452$as_echo "$ac_cv_func_av_free" >&6; }
     19453if test "x$ac_cv_func_av_free" = x""yes; then
     19454  :
     19455else
     19456  { { $as_echo "$as_me:$LINENO: error: oops! no av_frame ?!?" >&5
     19457$as_echo "$as_me: error: oops! no av_frame ?!?" >&2;}
     19458   { (exit 1); exit 1; }; }
     19459fi
     19460
     19461  { $as_echo "$as_me:$LINENO: checking for avcodec_default_release_buffer" >&5
     19462$as_echo_n "checking for avcodec_default_release_buffer... " >&6; }
     19463if test "${ac_cv_func_avcodec_default_release_buffer+set}" = set; then
     19464  $as_echo_n "(cached) " >&6
     19465else
     19466  cat >conftest.$ac_ext <<_ACEOF
     19467/* confdefs.h.  */
     19468_ACEOF
     19469cat confdefs.h >>conftest.$ac_ext
     19470cat >>conftest.$ac_ext <<_ACEOF
     19471/* end confdefs.h.  */
     19472/* Define avcodec_default_release_buffer to an innocuous variant, in case <limits.h> declares avcodec_default_release_buffer.
     19473   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19474#define avcodec_default_release_buffer innocuous_avcodec_default_release_buffer
     19475
     19476/* System header to define __stub macros and hopefully few prototypes,
     19477    which can conflict with char avcodec_default_release_buffer (); below.
     19478    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19479    <limits.h> exists even on freestanding compilers.  */
     19480
     19481#ifdef __STDC__
     19482# include <limits.h>
     19483#else
     19484# include <assert.h>
     19485#endif
     19486
     19487#undef avcodec_default_release_buffer
     19488
     19489/* Override any GCC internal prototype to avoid an error.
     19490   Use char because int might match the return type of a GCC
     19491   builtin and then its argument prototype would still apply.  */
     19492#ifdef __cplusplus
     19493extern "C"
     19494#endif
     19495char avcodec_default_release_buffer ();
     19496/* The GNU C library defines this for functions which it implements
     19497    to always fail with ENOSYS.  Some functions are actually named
     19498    something starting with __ and the normal name is an alias.  */
     19499#if defined __stub_avcodec_default_release_buffer || defined __stub___avcodec_default_release_buffer
     19500choke me
     19501#endif
     19502
     19503int
     19504main ()
     19505{
     19506return avcodec_default_release_buffer ();
     19507  ;
     19508  return 0;
     19509}
     19510_ACEOF
     19511rm -f conftest.$ac_objext conftest$ac_exeext
     19512if { (ac_try="$ac_link"
     19513case "(($ac_try" in
     19514  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19515  *) ac_try_echo=$ac_try;;
     19516esac
     19517eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19518$as_echo "$ac_try_echo") >&5
     19519  (eval "$ac_link") 2>conftest.er1
     19520  ac_status=$?
     19521  grep -v '^ *+' conftest.er1 >conftest.err
     19522  rm -f conftest.er1
     19523  cat conftest.err >&5
     19524  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19525  (exit $ac_status); } && {
     19526         test -z "$ac_cxx_werror_flag" ||
     19527         test ! -s conftest.err
     19528       } && test -s conftest$ac_exeext && {
     19529         test "$cross_compiling" = yes ||
     19530         $as_test_x conftest$ac_exeext
     19531       }; then
     19532  ac_cv_func_avcodec_default_release_buffer=yes
     19533else
     19534  $as_echo "$as_me: failed program was:" >&5
     19535sed 's/^/| /' conftest.$ac_ext >&5
     19536
     19537        ac_cv_func_avcodec_default_release_buffer=no
     19538fi
     19539
     19540rm -rf conftest.dSYM
     19541rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19542      conftest$ac_exeext conftest.$ac_ext
     19543fi
     19544{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_avcodec_default_release_buffer" >&5
     19545$as_echo "$ac_cv_func_avcodec_default_release_buffer" >&6; }
     19546if test "x$ac_cv_func_avcodec_default_release_buffer" = x""yes; then
     19547  :
     19548else
     19549  { { $as_echo "$as_me:$LINENO: error: oops! no avcode_default_release_buffer ?!?" >&5
     19550$as_echo "$as_me: error: oops! no avcode_default_release_buffer ?!?" >&2;}
     19551   { (exit 1); exit 1; }; }
     19552fi
     19553
     19554  { $as_echo "$as_me:$LINENO: checking for avpicture_get_size" >&5
     19555$as_echo_n "checking for avpicture_get_size... " >&6; }
     19556if test "${ac_cv_func_avpicture_get_size+set}" = set; then
     19557  $as_echo_n "(cached) " >&6
     19558else
     19559  cat >conftest.$ac_ext <<_ACEOF
     19560/* confdefs.h.  */
     19561_ACEOF
     19562cat confdefs.h >>conftest.$ac_ext
     19563cat >>conftest.$ac_ext <<_ACEOF
     19564/* end confdefs.h.  */
     19565/* Define avpicture_get_size to an innocuous variant, in case <limits.h> declares avpicture_get_size.
     19566   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19567#define avpicture_get_size innocuous_avpicture_get_size
     19568
     19569/* System header to define __stub macros and hopefully few prototypes,
     19570    which can conflict with char avpicture_get_size (); below.
     19571    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19572    <limits.h> exists even on freestanding compilers.  */
     19573
     19574#ifdef __STDC__
     19575# include <limits.h>
     19576#else
     19577# include <assert.h>
     19578#endif
     19579
     19580#undef avpicture_get_size
     19581
     19582/* Override any GCC internal prototype to avoid an error.
     19583   Use char because int might match the return type of a GCC
     19584   builtin and then its argument prototype would still apply.  */
     19585#ifdef __cplusplus
     19586extern "C"
     19587#endif
     19588char avpicture_get_size ();
     19589/* The GNU C library defines this for functions which it implements
     19590    to always fail with ENOSYS.  Some functions are actually named
     19591    something starting with __ and the normal name is an alias.  */
     19592#if defined __stub_avpicture_get_size || defined __stub___avpicture_get_size
     19593choke me
     19594#endif
     19595
     19596int
     19597main ()
     19598{
     19599return avpicture_get_size ();
     19600  ;
     19601  return 0;
     19602}
     19603_ACEOF
     19604rm -f conftest.$ac_objext conftest$ac_exeext
     19605if { (ac_try="$ac_link"
     19606case "(($ac_try" in
     19607  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19608  *) ac_try_echo=$ac_try;;
     19609esac
     19610eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19611$as_echo "$ac_try_echo") >&5
     19612  (eval "$ac_link") 2>conftest.er1
     19613  ac_status=$?
     19614  grep -v '^ *+' conftest.er1 >conftest.err
     19615  rm -f conftest.er1
     19616  cat conftest.err >&5
     19617  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19618  (exit $ac_status); } && {
     19619         test -z "$ac_cxx_werror_flag" ||
     19620         test ! -s conftest.err
     19621       } && test -s conftest$ac_exeext && {
     19622         test "$cross_compiling" = yes ||
     19623         $as_test_x conftest$ac_exeext
     19624       }; then
     19625  ac_cv_func_avpicture_get_size=yes
     19626else
     19627  $as_echo "$as_me: failed program was:" >&5
     19628sed 's/^/| /' conftest.$ac_ext >&5
     19629
     19630        ac_cv_func_avpicture_get_size=no
     19631fi
     19632
     19633rm -rf conftest.dSYM
     19634rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19635      conftest$ac_exeext conftest.$ac_ext
     19636fi
     19637{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_get_size" >&5
     19638$as_echo "$ac_cv_func_avpicture_get_size" >&6; }
     19639if test "x$ac_cv_func_avpicture_get_size" = x""yes; then
     19640  :
     19641else
     19642  { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_get_size ?!?" >&5
     19643$as_echo "$as_me: error: oops! no avpicture_get_size ?!?" >&2;}
     19644   { (exit 1); exit 1; }; }
     19645fi
     19646
     19647  { $as_echo "$as_me:$LINENO: checking for avpicture_fill" >&5
     19648$as_echo_n "checking for avpicture_fill... " >&6; }
     19649if test "${ac_cv_func_avpicture_fill+set}" = set; then
     19650  $as_echo_n "(cached) " >&6
     19651else
     19652  cat >conftest.$ac_ext <<_ACEOF
     19653/* confdefs.h.  */
     19654_ACEOF
     19655cat confdefs.h >>conftest.$ac_ext
     19656cat >>conftest.$ac_ext <<_ACEOF
     19657/* end confdefs.h.  */
     19658/* Define avpicture_fill to an innocuous variant, in case <limits.h> declares avpicture_fill.
     19659   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19660#define avpicture_fill innocuous_avpicture_fill
     19661
     19662/* System header to define __stub macros and hopefully few prototypes,
     19663    which can conflict with char avpicture_fill (); below.
     19664    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19665    <limits.h> exists even on freestanding compilers.  */
     19666
     19667#ifdef __STDC__
     19668# include <limits.h>
     19669#else
     19670# include <assert.h>
     19671#endif
     19672
     19673#undef avpicture_fill
     19674
     19675/* Override any GCC internal prototype to avoid an error.
     19676   Use char because int might match the return type of a GCC
     19677   builtin and then its argument prototype would still apply.  */
     19678#ifdef __cplusplus
     19679extern "C"
     19680#endif
     19681char avpicture_fill ();
     19682/* The GNU C library defines this for functions which it implements
     19683    to always fail with ENOSYS.  Some functions are actually named
     19684    something starting with __ and the normal name is an alias.  */
     19685#if defined __stub_avpicture_fill || defined __stub___avpicture_fill
     19686choke me
     19687#endif
     19688
     19689int
     19690main ()
     19691{
     19692return avpicture_fill ();
     19693  ;
     19694  return 0;
     19695}
     19696_ACEOF
     19697rm -f conftest.$ac_objext conftest$ac_exeext
     19698if { (ac_try="$ac_link"
     19699case "(($ac_try" in
     19700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19701  *) ac_try_echo=$ac_try;;
     19702esac
     19703eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19704$as_echo "$ac_try_echo") >&5
     19705  (eval "$ac_link") 2>conftest.er1
     19706  ac_status=$?
     19707  grep -v '^ *+' conftest.er1 >conftest.err
     19708  rm -f conftest.er1
     19709  cat conftest.err >&5
     19710  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19711  (exit $ac_status); } && {
     19712         test -z "$ac_cxx_werror_flag" ||
     19713         test ! -s conftest.err
     19714       } && test -s conftest$ac_exeext && {
     19715         test "$cross_compiling" = yes ||
     19716         $as_test_x conftest$ac_exeext
     19717       }; then
     19718  ac_cv_func_avpicture_fill=yes
     19719else
     19720  $as_echo "$as_me: failed program was:" >&5
     19721sed 's/^/| /' conftest.$ac_ext >&5
     19722
     19723        ac_cv_func_avpicture_fill=no
     19724fi
     19725
     19726rm -rf conftest.dSYM
     19727rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19728      conftest$ac_exeext conftest.$ac_ext
     19729fi
     19730{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_avpicture_fill" >&5
     19731$as_echo "$ac_cv_func_avpicture_fill" >&6; }
     19732if test "x$ac_cv_func_avpicture_fill" = x""yes; then
     19733  :
     19734else
     19735  { { $as_echo "$as_me:$LINENO: error: oops! no avpicture_fill ?!?" >&5
     19736$as_echo "$as_me: error: oops! no avpicture_fill ?!?" >&2;}
     19737   { (exit 1); exit 1; }; }
     19738fi
     19739
     19740
     19741for ac_func in sws_getCachedContext
     19742do
     19743as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     19744{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     19745$as_echo_n "checking for $ac_func... " >&6; }
     19746if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     19747  $as_echo_n "(cached) " >&6
     19748else
     19749  cat >conftest.$ac_ext <<_ACEOF
     19750/* confdefs.h.  */
     19751_ACEOF
     19752cat confdefs.h >>conftest.$ac_ext
     19753cat >>conftest.$ac_ext <<_ACEOF
     19754/* end confdefs.h.  */
     19755/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     19756   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19757#define $ac_func innocuous_$ac_func
     19758
     19759/* System header to define __stub macros and hopefully few prototypes,
     19760    which can conflict with char $ac_func (); below.
     19761    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19762    <limits.h> exists even on freestanding compilers.  */
     19763
     19764#ifdef __STDC__
     19765# include <limits.h>
     19766#else
     19767# include <assert.h>
     19768#endif
     19769
     19770#undef $ac_func
     19771
     19772/* Override any GCC internal prototype to avoid an error.
     19773   Use char because int might match the return type of a GCC
     19774   builtin and then its argument prototype would still apply.  */
     19775#ifdef __cplusplus
     19776extern "C"
     19777#endif
     19778char $ac_func ();
     19779/* The GNU C library defines this for functions which it implements
     19780    to always fail with ENOSYS.  Some functions are actually named
     19781    something starting with __ and the normal name is an alias.  */
     19782#if defined __stub_$ac_func || defined __stub___$ac_func
     19783choke me
     19784#endif
     19785
     19786int
     19787main ()
     19788{
     19789return $ac_func ();
     19790  ;
     19791  return 0;
     19792}
     19793_ACEOF
     19794rm -f conftest.$ac_objext conftest$ac_exeext
     19795if { (ac_try="$ac_link"
     19796case "(($ac_try" in
     19797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19798  *) ac_try_echo=$ac_try;;
     19799esac
     19800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19801$as_echo "$ac_try_echo") >&5
     19802  (eval "$ac_link") 2>conftest.er1
     19803  ac_status=$?
     19804  grep -v '^ *+' conftest.er1 >conftest.err
     19805  rm -f conftest.er1
     19806  cat conftest.err >&5
     19807  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19808  (exit $ac_status); } && {
     19809         test -z "$ac_cxx_werror_flag" ||
     19810         test ! -s conftest.err
     19811       } && test -s conftest$ac_exeext && {
     19812         test "$cross_compiling" = yes ||
     19813         $as_test_x conftest$ac_exeext
     19814       }; then
     19815  eval "$as_ac_var=yes"
     19816else
     19817  $as_echo "$as_me: failed program was:" >&5
     19818sed 's/^/| /' conftest.$ac_ext >&5
     19819
     19820        eval "$as_ac_var=no"
     19821fi
     19822
     19823rm -rf conftest.dSYM
     19824rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19825      conftest$ac_exeext conftest.$ac_ext
     19826fi
     19827ac_res=`eval 'as_val=${'$as_ac_var'}
     19828                 $as_echo "$as_val"'`
     19829               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     19830$as_echo "$ac_res" >&6; }
     19831as_val=`eval 'as_val=${'$as_ac_var'}
     19832                 $as_echo "$as_val"'`
     19833   if test "x$as_val" = x""yes; then
    1000619834  cat >>confdefs.h <<_ACEOF
    10007 #define HAVE_SWS_GETCACHEDCONTEXT 1
     19835#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    1000819836_ACEOF
    1000919837
     
    1001119839done
    1001219840
    10013   for ac_func in img_convert
    10014 do :
    10015   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    10016 if test "x$ac_cv_func_img_convert" = xyes; then :
     19841
     19842for ac_func in img_convert
     19843do
     19844as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     19845{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     19846$as_echo_n "checking for $ac_func... " >&6; }
     19847if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     19848  $as_echo_n "(cached) " >&6
     19849else
     19850  cat >conftest.$ac_ext <<_ACEOF
     19851/* confdefs.h.  */
     19852_ACEOF
     19853cat confdefs.h >>conftest.$ac_ext
     19854cat >>conftest.$ac_ext <<_ACEOF
     19855/* end confdefs.h.  */
     19856/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     19857   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19858#define $ac_func innocuous_$ac_func
     19859
     19860/* System header to define __stub macros and hopefully few prototypes,
     19861    which can conflict with char $ac_func (); below.
     19862    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19863    <limits.h> exists even on freestanding compilers.  */
     19864
     19865#ifdef __STDC__
     19866# include <limits.h>
     19867#else
     19868# include <assert.h>
     19869#endif
     19870
     19871#undef $ac_func
     19872
     19873/* Override any GCC internal prototype to avoid an error.
     19874   Use char because int might match the return type of a GCC
     19875   builtin and then its argument prototype would still apply.  */
     19876#ifdef __cplusplus
     19877extern "C"
     19878#endif
     19879char $ac_func ();
     19880/* The GNU C library defines this for functions which it implements
     19881    to always fail with ENOSYS.  Some functions are actually named
     19882    something starting with __ and the normal name is an alias.  */
     19883#if defined __stub_$ac_func || defined __stub___$ac_func
     19884choke me
     19885#endif
     19886
     19887int
     19888main ()
     19889{
     19890return $ac_func ();
     19891  ;
     19892  return 0;
     19893}
     19894_ACEOF
     19895rm -f conftest.$ac_objext conftest$ac_exeext
     19896if { (ac_try="$ac_link"
     19897case "(($ac_try" in
     19898  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     19899  *) ac_try_echo=$ac_try;;
     19900esac
     19901eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     19902$as_echo "$ac_try_echo") >&5
     19903  (eval "$ac_link") 2>conftest.er1
     19904  ac_status=$?
     19905  grep -v '^ *+' conftest.er1 >conftest.err
     19906  rm -f conftest.er1
     19907  cat conftest.err >&5
     19908  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19909  (exit $ac_status); } && {
     19910         test -z "$ac_cxx_werror_flag" ||
     19911         test ! -s conftest.err
     19912       } && test -s conftest$ac_exeext && {
     19913         test "$cross_compiling" = yes ||
     19914         $as_test_x conftest$ac_exeext
     19915       }; then
     19916  eval "$as_ac_var=yes"
     19917else
     19918  $as_echo "$as_me: failed program was:" >&5
     19919sed 's/^/| /' conftest.$ac_ext >&5
     19920
     19921        eval "$as_ac_var=no"
     19922fi
     19923
     19924rm -rf conftest.dSYM
     19925rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     19926      conftest$ac_exeext conftest.$ac_ext
     19927fi
     19928ac_res=`eval 'as_val=${'$as_ac_var'}
     19929                 $as_echo "$as_val"'`
     19930               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     19931$as_echo "$ac_res" >&6; }
     19932as_val=`eval 'as_val=${'$as_ac_var'}
     19933                 $as_echo "$as_val"'`
     19934   if test "x$as_val" = x""yes; then
    1001719935  cat >>confdefs.h <<_ACEOF
    10018 #define HAVE_IMG_CONVERT 1
     19936#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    1001919937_ACEOF
    1002019938
     
    1002219940done
    1002319941
    10024   for ac_func in sws_scale
    10025 do :
    10026   ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
    10027 if test "x$ac_cv_func_sws_scale" = xyes; then :
     19942
     19943for ac_func in sws_scale
     19944do
     19945as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     19946{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     19947$as_echo_n "checking for $ac_func... " >&6; }
     19948if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     19949  $as_echo_n "(cached) " >&6
     19950else
     19951  cat >conftest.$ac_ext <<_ACEOF
     19952/* confdefs.h.  */
     19953_ACEOF
     19954cat confdefs.h >>conftest.$ac_ext
     19955cat >>conftest.$ac_ext <<_ACEOF
     19956/* end confdefs.h.  */
     19957/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     19958   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     19959#define $ac_func innocuous_$ac_func
     19960
     19961/* System header to define __stub macros and hopefully few prototypes,
     19962    which can conflict with char $ac_func (); below.
     19963    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     19964    <limits.h> exists even on freestanding compilers.  */
     19965
     19966#ifdef __STDC__
     19967# include <limits.h>
     19968#else
     19969# include <assert.h>
     19970#endif
     19971
     19972#undef $ac_func
     19973
     19974/* Override any GCC internal prototype to avoid an error.
     19975   Use char because int might match the return type of a GCC
     19976   builtin and then its argument prototype would still apply.  */
     19977#ifdef __cplusplus
     19978extern "C"
     19979#endif
     19980char $ac_func ();
     19981/* The GNU C library defines this for functions which it implements
     19982    to always fail with ENOSYS.  Some functions are actually named
     19983    something starting with __ and the normal name is an alias.  */
     19984#if defined __stub_$ac_func || defined __stub___$ac_func
     19985choke me
     19986#endif
     19987
     19988int
     19989main ()
     19990{
     19991return $ac_func ();
     19992  ;
     19993  return 0;
     19994}
     19995_ACEOF
     19996rm -f conftest.$ac_objext conftest$ac_exeext
     19997if { (ac_try="$ac_link"
     19998case "(($ac_try" in
     19999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     20000  *) ac_try_echo=$ac_try;;
     20001esac
     20002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     20003$as_echo "$ac_try_echo") >&5
     20004  (eval "$ac_link") 2>conftest.er1
     20005  ac_status=$?
     20006  grep -v '^ *+' conftest.er1 >conftest.err
     20007  rm -f conftest.er1
     20008  cat conftest.err >&5
     20009  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20010  (exit $ac_status); } && {
     20011         test -z "$ac_cxx_werror_flag" ||
     20012         test ! -s conftest.err
     20013       } && test -s conftest$ac_exeext && {
     20014         test "$cross_compiling" = yes ||
     20015         $as_test_x conftest$ac_exeext
     20016       }; then
     20017  eval "$as_ac_var=yes"
     20018else
     20019  $as_echo "$as_me: failed program was:" >&5
     20020sed 's/^/| /' conftest.$ac_ext >&5
     20021
     20022        eval "$as_ac_var=no"
     20023fi
     20024
     20025rm -rf conftest.dSYM
     20026rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     20027      conftest$ac_exeext conftest.$ac_ext
     20028fi
     20029ac_res=`eval 'as_val=${'$as_ac_var'}
     20030                 $as_echo "$as_val"'`
     20031               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     20032$as_echo "$ac_res" >&6; }
     20033as_val=`eval 'as_val=${'$as_ac_var'}
     20034                 $as_echo "$as_val"'`
     20035   if test "x$as_val" = x""yes; then
    1002820036  cat >>confdefs.h <<_ACEOF
    10029 #define HAVE_SWS_SCALE 1
     20037#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    1003020038_ACEOF
    1003120039
     
    1003320041done
    1003420042
    10035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     20043  cat >conftest.$ac_ext <<_ACEOF
     20044/* confdefs.h.  */
     20045_ACEOF
     20046cat confdefs.h >>conftest.$ac_ext
     20047cat >>conftest.$ac_ext <<_ACEOF
    1003620048/* end confdefs.h.  */
    1003720049
     
    1005420066}
    1005520067_ACEOF
    10056 if ac_fn_cxx_try_compile "$LINENO"; then :
     20068rm -f conftest.$ac_objext
     20069if { (ac_try="$ac_compile"
     20070case "(($ac_try" in
     20071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     20072  *) ac_try_echo=$ac_try;;
     20073esac
     20074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     20075$as_echo "$ac_try_echo") >&5
     20076  (eval "$ac_compile") 2>conftest.er1
     20077  ac_status=$?
     20078  grep -v '^ *+' conftest.er1 >conftest.err
     20079  rm -f conftest.er1
     20080  cat conftest.err >&5
     20081  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20082  (exit $ac_status); } && {
     20083         test -z "$ac_cxx_werror_flag" ||
     20084         test ! -s conftest.err
     20085       } && test -s conftest.$ac_objext; then
    1005720086  ac_avmedia_type_video="yes"
    1005820087else
    10059   ac_avmedia_type_video="no"
    10060 fi
     20088  $as_echo "$as_me: failed program was:" >&5
     20089sed 's/^/| /' conftest.$ac_ext >&5
     20090
     20091        ac_avmedia_type_video="no"
     20092fi
     20093
    1006120094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1006220095  if test "$ac_avmedia_type_video" == "yes" ; then
    1006320096
    10064 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
     20097cat >>confdefs.h <<\_ACEOF
     20098#define HAVE_AVMEDIA_TYPE_VIDEO 1
     20099_ACEOF
    1006520100
    1006620101  fi
     
    1018920224    *${as_nl}*)
    1019020225      case $ac_var in #(
    10191       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     20226      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    1019220227$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    1019320228      esac
     
    1019520230      _ | IFS | as_nl) ;; #(
    1019620231      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    10197       *) { eval $ac_var=; unset $ac_var;} ;;
     20232      *) $as_unset $ac_var ;;
    1019820233      esac ;;
    1019920234    esac
     
    1020320238    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    1020420239    *${as_nl}ac_space=\ *)
    10205       # `set' does not quote correctly, so add quotes: double-quote
    10206       # substitution turns \\\\ into \\, and sed turns \\ into \.
     20240      # `set' does not quote correctly, so add quotes (double-quote
     20241      # substitution turns \\\\ into \\, and sed turns \\ into \).
    1020720242      sed -n \
    1020820243        "s/'/'\\\\''/g;
     
    1022620261if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    1022720262  if test -w "$cache_file"; then
    10228     if test "x$cache_file" != "x/dev/null"; then
    10229       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     20263    test "x$cache_file" != "x/dev/null" &&
     20264      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
    1023020265$as_echo "$as_me: updating cache $cache_file" >&6;}
    10231       if test ! -f "$cache_file" || test -h "$cache_file"; then
    10232         cat confcache >"$cache_file"
    10233       else
    10234         case $cache_file in #(
    10235         */* | ?:*)
    10236           mv -f confcache "$cache_file"$$ &&
    10237           mv -f "$cache_file"$$ "$cache_file" ;; #(
    10238         *)
    10239           mv -f confcache "$cache_file" ;;
    10240         esac
    10241       fi
    10242     fi
     20266    cat confcache >$cache_file
    1024320267  else
    10244     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     20268    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    1024520269$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    1024620270  fi
     
    1025620280ac_libobjs=
    1025720281ac_ltlibobjs=
    10258 U=
    1025920282for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    1026020283  # 1. Remove the extension, and $U if already installed.
     
    1026320286  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    1026420287  #    will be set to the directory where LIBOBJS objects are built.
    10265   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    10266   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     20288  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     20289  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    1026720290done
    1026820291LIBOBJS=$ac_libobjs
     
    1027320296
    1027420297
    10275 : "${CONFIG_STATUS=./config.status}"
     20298: ${CONFIG_STATUS=./config.status}
    1027620299ac_write_fail=0
    1027720300ac_clean_files_save=$ac_clean_files
    1027820301ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    10279 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     20302{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    1028020303$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    10281 as_write_fail=0
    10282 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     20304cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1028320305#! $SHELL
    1028420306# Generated by $as_me.
     
    1029020312ac_cs_recheck=false
    1029120313ac_cs_silent=false
    10292 
    1029320314SHELL=\${CONFIG_SHELL-$SHELL}
    10294 export SHELL
    10295 _ASEOF
    10296 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    10297 ## -------------------- ##
    10298 ## M4sh Initialization. ##
    10299 ## -------------------- ##
     20315_ACEOF
     20316
     20317cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     20318## --------------------- ##
     20319## M4sh Initialization.  ##
     20320## --------------------- ##
    1030020321
    1030120322# Be more Bourne compatible
    1030220323DUALCASE=1; export DUALCASE # for MKS sh
    10303 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20324if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1030420325  emulate sh
    1030520326  NULLCMD=:
     
    1030920330  setopt NO_GLOB_SUBST
    1031020331else
    10311   case `(set -o) 2>/dev/null` in #(
    10312   *posix*) :
    10313     set -o posix ;; #(
    10314   *) :
    10315      ;;
    10316 esac
    10317 fi
    10318 
     20332  case `(set -o) 2>/dev/null` in
     20333  *posix*) set -o posix ;;
     20334esac
     20335
     20336fi
     20337
     20338
     20339
     20340
     20341# PATH needs CR
     20342# Avoid depending upon Character Ranges.
     20343as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     20344as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     20345as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     20346as_cr_digits='0123456789'
     20347as_cr_alnum=$as_cr_Letters$as_cr_digits
    1031920348
    1032020349as_nl='
     
    1032520354as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    1032620355as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    10327 # Prefer a ksh shell builtin over an external printf program on Solaris,
    10328 # but without wasting forks for bash or zsh.
    10329 if test -z "$BASH_VERSION$ZSH_VERSION" \
    10330     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    10331   as_echo='print -r --'
    10332   as_echo_n='print -rn --'
    10333 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     20356if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    1033420357  as_echo='printf %s\n'
    1033520358  as_echo_n='printf %s'
     
    1034220365    as_echo_n_body='eval
    1034320366      arg=$1;
    10344       case $arg in #(
     20367      case $arg in
    1034520368      *"$as_nl"*)
    1034620369        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    1036520388fi
    1036620389
     20390# Support unset when possible.
     20391if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     20392  as_unset=unset
     20393else
     20394  as_unset=false
     20395fi
     20396
    1036720397
    1036820398# IFS
     
    1037420404
    1037520405# Find who we are.  Look in the path if we contain no directory separator.
    10376 as_myself=
    10377 case $0 in #((
     20406case $0 in
    1037820407  *[\\/]* ) as_myself=$0 ;;
    1037920408  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    1038220411  IFS=$as_save_IFS
    1038320412  test -z "$as_dir" && as_dir=.
    10384     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    10385   done
     20413  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     20414done
    1038620415IFS=$as_save_IFS
    1038720416
     
    1039520424if test ! -f "$as_myself"; then
    1039620425  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    10397   exit 1
    10398 fi
    10399 
    10400 # Unset variables that we do not need and which cause bugs (e.g. in
    10401 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    10402 # suppresses any "Segmentation fault" message there.  '((' could
    10403 # trigger a bug in pdksh 5.2.14.
    10404 for as_var in BASH_ENV ENV MAIL MAILPATH
    10405 do eval test x\${$as_var+set} = xset \
    10406   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     20426  { (exit 1); exit 1; }
     20427fi
     20428
     20429# Work around bugs in pre-3.0 UWIN ksh.
     20430for as_var in ENV MAIL MAILPATH
     20431do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    1040720432done
    1040820433PS1='$ '
     
    1041620441export LANGUAGE
    1041720442
    10418 # CDPATH.
    10419 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    10420 
    10421 
    10422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    10423 # ----------------------------------------
    10424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    10425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    10426 # script with STATUS, using 1 if that was 0.
    10427 as_fn_error ()
    10428 {
    10429   as_status=$1; test $as_status -eq 0 && as_status=1
    10430   if test "$4"; then
    10431     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    10432     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    10433   fi
    10434   $as_echo "$as_me: error: $2" >&2
    10435   as_fn_exit $as_status
    10436 } # as_fn_error
    10437 
    10438 
    10439 # as_fn_set_status STATUS
    10440 # -----------------------
    10441 # Set $? to STATUS, without forking.
    10442 as_fn_set_status ()
    10443 {
    10444   return $1
    10445 } # as_fn_set_status
    10446 
    10447 # as_fn_exit STATUS
    10448 # -----------------
    10449 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    10450 as_fn_exit ()
    10451 {
    10452   set +e
    10453   as_fn_set_status $1
    10454   exit $1
    10455 } # as_fn_exit
    10456 
    10457 # as_fn_unset VAR
    10458 # ---------------
    10459 # Portably unset VAR.
    10460 as_fn_unset ()
    10461 {
    10462   { eval $1=; unset $1;}
    10463 }
    10464 as_unset=as_fn_unset
    10465 # as_fn_append VAR VALUE
    10466 # ----------------------
    10467 # Append the text in VALUE to the end of the definition contained in VAR. Take
    10468 # advantage of any shell optimizations that allow amortized linear growth over
    10469 # repeated appends, instead of the typical quadratic growth present in naive
    10470 # implementations.
    10471 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    10472   eval 'as_fn_append ()
    10473   {
    10474     eval $1+=\$2
    10475   }'
    10476 else
    10477   as_fn_append ()
    10478   {
    10479     eval $1=\$$1\$2
    10480   }
    10481 fi # as_fn_append
    10482 
    10483 # as_fn_arith ARG...
    10484 # ------------------
    10485 # Perform arithmetic evaluation on the ARGs, and store the result in the
    10486 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    10487 # must be portable across $(()) and expr.
    10488 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    10489   eval 'as_fn_arith ()
    10490   {
    10491     as_val=$(( $* ))
    10492   }'
    10493 else
    10494   as_fn_arith ()
    10495   {
    10496     as_val=`expr "$@" || test $? -eq 1`
    10497   }
    10498 fi # as_fn_arith
    10499 
    10500 
     20443# Required to use basename.
    1050120444if expr a : '\(a\)' >/dev/null 2>&1 &&
    1050220445   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    1051220455fi
    1051320456
    10514 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    10515   as_dirname=dirname
    10516 else
    10517   as_dirname=false
    10518 fi
    10519 
     20457
     20458# Name of the executable.
    1052020459as_me=`$as_basename -- "$0" ||
    1052120460$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    1053720476          s/.*/./; q'`
    1053820477
    10539 # Avoid depending upon Character Ranges.
    10540 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    10541 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    10542 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    10543 as_cr_digits='0123456789'
    10544 as_cr_alnum=$as_cr_Letters$as_cr_digits
     20478# CDPATH.
     20479$as_unset CDPATH
     20480
     20481
     20482
     20483  as_lineno_1=$LINENO
     20484  as_lineno_2=$LINENO
     20485  test "x$as_lineno_1" != "x$as_lineno_2" &&
     20486  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     20487
     20488  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     20489  # uniformly replaced by the line number.  The first 'sed' inserts a
     20490  # line-number line after each line using $LINENO; the second 'sed'
     20491  # does the real work.  The second script uses 'N' to pair each
     20492  # line-number line with the line containing $LINENO, and appends
     20493  # trailing '-' during substitution so that $LINENO is not a special
     20494  # case at line end.
     20495  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     20496  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     20497  # E. McMahon (1931-1989) for sed's syntax.  :-)
     20498  sed -n '
     20499    p
     20500    /[$]LINENO/=
     20501  ' <$as_myself |
     20502    sed '
     20503      s/[$]LINENO.*/&-/
     20504      t lineno
     20505      b
     20506      :lineno
     20507      N
     20508      :loop
     20509      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     20510      t loop
     20511      s/-\n.*//
     20512    ' >$as_me.lineno &&
     20513  chmod +x "$as_me.lineno" ||
     20514    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     20515   { (exit 1); exit 1; }; }
     20516
     20517  # Don't try to exec as it changes $[0], causing all sort of problems
     20518  # (the dirname of $[0] is not the place where we might find the
     20519  # original and so on.  Autoconf is especially sensitive to this).
     20520  . "./$as_me.lineno"
     20521  # Exit status is that of the last command.
     20522  exit
     20523}
     20524
     20525
     20526if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     20527  as_dirname=dirname
     20528else
     20529  as_dirname=false
     20530fi
    1054520531
    1054620532ECHO_C= ECHO_N= ECHO_T=
    10547 case `echo -n x` in #(((((
     20533case `echo -n x` in
    1054820534-n*)
    10549   case `echo 'xy\c'` in
     20535  case `echo 'x\c'` in
    1055020536  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    10551   xy)  ECHO_C='\c';;
    10552   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    10553        ECHO_T=' ';;
     20537  *)   ECHO_C='\c';;
    1055420538  esac;;
    1055520539*)
    1055620540  ECHO_N='-n';;
    1055720541esac
     20542if expr a : '\(a\)' >/dev/null 2>&1 &&
     20543   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     20544  as_expr=expr
     20545else
     20546  as_expr=false
     20547fi
    1055820548
    1055920549rm -f conf$$ conf$$.exe conf$$.file
     
    1057020560    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    1057120561    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    10572     # In both cases, we have to default to `cp -pR'.
     20562    # In both cases, we have to default to `cp -p'.
    1057320563    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    10574       as_ln_s='cp -pR'
     20564      as_ln_s='cp -p'
    1057520565  elif ln conf$$.file conf$$ 2>/dev/null; then
    1057620566    as_ln_s=ln
    1057720567  else
    10578     as_ln_s='cp -pR'
     20568    as_ln_s='cp -p'
    1057920569  fi
    1058020570else
    10581   as_ln_s='cp -pR'
     20571  as_ln_s='cp -p'
    1058220572fi
    1058320573rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    1058420574rmdir conf$$.dir 2>/dev/null
    1058520575
    10586 
    10587 # as_fn_mkdir_p
    10588 # -------------
    10589 # Create "$as_dir" as a directory, including parents if necessary.
    10590 as_fn_mkdir_p ()
    10591 {
    10592 
    10593   case $as_dir in #(
    10594   -*) as_dir=./$as_dir;;
    10595   esac
    10596   test -d "$as_dir" || eval $as_mkdir_p || {
    10597     as_dirs=
    10598     while :; do
    10599       case $as_dir in #(
    10600       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    10601       *) as_qdir=$as_dir;;
    10602       esac
    10603       as_dirs="'$as_qdir' $as_dirs"
    10604       as_dir=`$as_dirname -- "$as_dir" ||
    10605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    10606          X"$as_dir" : 'X\(//\)[^/]' \| \
    10607          X"$as_dir" : 'X\(//\)$' \| \
    10608          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    10609 $as_echo X"$as_dir" |
    10610     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    10611             s//\1/
    10612             q
    10613           }
    10614           /^X\(\/\/\)[^/].*/{
    10615             s//\1/
    10616             q
    10617           }
    10618           /^X\(\/\/\)$/{
    10619             s//\1/
    10620             q
    10621           }
    10622           /^X\(\/\).*/{
    10623             s//\1/
    10624             q
    10625           }
    10626           s/.*/./; q'`
    10627       test -d "$as_dir" && break
    10628     done
    10629     test -z "$as_dirs" || eval "mkdir $as_dirs"
    10630   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    10631 
    10632 
    10633 } # as_fn_mkdir_p
    1063420576if mkdir -p . 2>/dev/null; then
    10635   as_mkdir_p='mkdir -p "$as_dir"'
     20577  as_mkdir_p=:
    1063620578else
    1063720579  test -d ./-p && rmdir ./-p
     
    1063920581fi
    1064020582
    10641 
    10642 # as_fn_executable_p FILE
    10643 # -----------------------
    10644 # Test if FILE is an executable regular file.
    10645 as_fn_executable_p ()
    10646 {
    10647   test -f "$1" && test -x "$1"
    10648 } # as_fn_executable_p
    10649 as_test_x='test -x'
    10650 as_executable_p=as_fn_executable_p
     20583if test -x / >/dev/null 2>&1; then
     20584  as_test_x='test -x'
     20585else
     20586  if ls -dL / >/dev/null 2>&1; then
     20587    as_ls_L_option=L
     20588  else
     20589    as_ls_L_option=
     20590  fi
     20591  as_test_x='
     20592    eval sh -c '\''
     20593      if test -d "$1"; then
     20594        test -d "$1/.";
     20595      else
     20596        case $1 in
     20597        -*)set "./$1";;
     20598        esac;
     20599        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     20600        ???[sx]*):;;*)false;;esac;fi
     20601    '\'' sh
     20602  '
     20603fi
     20604as_executable_p=$as_test_x
    1065120605
    1065220606# Sed expression to map a string onto a valid CPP name.
     
    1065820612
    1065920613exec 6>&1
    10660 ## ----------------------------------- ##
    10661 ## Main body of $CONFIG_STATUS script. ##
    10662 ## ----------------------------------- ##
    10663 _ASEOF
    10664 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    10665 
    10666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    10667 # Save the log message, to keep $0 and so on meaningful, and to
     20614
     20615# Save the log message, to keep $[0] and so on meaningful, and to
    1066820616# report actual input values of CONFIG_FILES etc. instead of their
    1066920617# values after options handling.
    1067020618ac_log="
    1067120619This file was extended by Rappture $as_me 1.4, which was
    10672 generated by GNU Autoconf 2.69.  Invocation command line was
     20620generated by GNU Autoconf 2.63.  Invocation command line was
    1067320621
    1067420622  CONFIG_FILES    = $CONFIG_FILES
     
    1070120649cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    1070220650ac_cs_usage="\
    10703 \`$as_me' instantiates files and other configuration actions
    10704 from templates according to the current configuration.  Unless the files
    10705 and actions are specified as TAGs, all are instantiated by default.
    10706 
    10707 Usage: $0 [OPTION]... [TAG]...
     20651\`$as_me' instantiates files from templates according to the
     20652current configuration.
     20653
     20654Usage: $0 [OPTION]... [FILE]...
    1070820655
    1070920656  -h, --help       print this help, then exit
    1071020657  -V, --version    print version number and configuration settings, then exit
    10711       --config     print configuration, then exit
    1071220658  -q, --quiet, --silent
    1071320659                   do not print progress messages
     
    1072520671$config_headers
    1072620672
    10727 Report bugs to <rappture@nanohub.org>."
     20673Report bugs to <bug-autoconf@gnu.org>."
    1072820674
    1072920675_ACEOF
    1073020676cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    10731 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    1073220677ac_cs_version="\\
    1073320678Rappture config.status 1.4
    10734 configured by $0, generated by GNU Autoconf 2.69,
    10735   with options \\"\$ac_cs_config\\"
    10736 
    10737 Copyright (C) 2012 Free Software Foundation, Inc.
     20679configured by $0, generated by GNU Autoconf 2.63,
     20680  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     20681
     20682Copyright (C) 2008 Free Software Foundation, Inc.
    1073820683This config.status script is free software; the Free Software Foundation
    1073920684gives unlimited permission to copy, distribute and modify it."
     
    1075220697do
    1075320698  case $1 in
    10754   --*=?*)
     20699  --*=*)
    1075520700    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    1075620701    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    10757     ac_shift=:
    10758     ;;
    10759   --*=)
    10760     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    10761     ac_optarg=
    1076220702    ac_shift=:
    1076320703    ;;
     
    1077520715  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    1077620716    $as_echo "$ac_cs_version"; exit ;;
    10777   --config | --confi | --conf | --con | --co | --c )
    10778     $as_echo "$ac_cs_config"; exit ;;
    1077920717  --debug | --debu | --deb | --de | --d | -d )
    1078020718    debug=: ;;
     
    1078320721    case $ac_optarg in
    1078420722    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10785     '') as_fn_error $? "missing file argument" ;;
    1078620723    esac
    10787     as_fn_append CONFIG_FILES " '$ac_optarg'"
     20724    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    1078820725    ac_need_defaults=false;;
    1078920726  --header | --heade | --head | --hea )
     
    1079220729    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1079320730    esac
    10794     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     20731    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    1079520732    ac_need_defaults=false;;
    1079620733  --he | --h)
    1079720734    # Conflict between --help and --header
    10798     as_fn_error $? "ambiguous option: \`$1'
    10799 Try \`$0 --help' for more information.";;
     20735    { $as_echo "$as_me: error: ambiguous option: $1
     20736Try \`$0 --help' for more information." >&2
     20737   { (exit 1); exit 1; }; };;
    1080020738  --help | --hel | -h )
    1080120739    $as_echo "$ac_cs_usage"; exit ;;
     
    1080520743
    1080620744  # This is an error.
    10807   -*) as_fn_error $? "unrecognized option: \`$1'
    10808 Try \`$0 --help' for more information." ;;
    10809 
    10810   *) as_fn_append ac_config_targets " $1"
     20745  -*) { $as_echo "$as_me: error: unrecognized option: $1
     20746Try \`$0 --help' for more information." >&2
     20747   { (exit 1); exit 1; }; } ;;
     20748
     20749  *) ac_config_targets="$ac_config_targets $1"
    1081120750     ac_need_defaults=false ;;
    1081220751
     
    1082520764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1082620765if \$ac_cs_recheck; then
    10827   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     20766  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    1082820767  shift
    1082920768  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    1098520924    "oldtest/src/Makefile") CONFIG_FILES="$CONFIG_FILES oldtest/src/Makefile" ;;
    1098620925
    10987   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     20926  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     20927$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     20928   { (exit 1); exit 1; }; };;
    1098820929  esac
    1098920930done
     
    1100720948$debug ||
    1100820949{
    11009   tmp= ac_tmp=
     20950  tmp=
    1101020951  trap 'exit_status=$?
    11011   : "${ac_tmp:=$tmp}"
    11012   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     20952  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    1101320953' 0
    11014   trap 'as_fn_exit 1' 1 2 13 15
     20954  trap '{ (exit 1); exit 1; }' 1 2 13 15
    1101520955}
    1101620956# Create a (secure) tmp directory for tmp files.
     
    1101820958{
    1101920959  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    11020   test -d "$tmp"
     20960  test -n "$tmp" && test -d "$tmp"
    1102120961}  ||
    1102220962{
    1102320963  tmp=./conf$$-$RANDOM
    1102420964  (umask 077 && mkdir "$tmp")
    11025 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    11026 ac_tmp=$tmp
     20965} ||
     20966{
     20967   $as_echo "$as_me: cannot create a temporary directory in ." >&2
     20968   { (exit 1); exit 1; }
     20969}
    1102720970
    1102820971# Set up the scripts for CONFIG_FILES section.
     
    1103220975
    1103320976
    11034 ac_cr=`echo X | tr X '\015'`
    11035 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    11036 # But we know of no other shell where ac_cr would be empty at this
    11037 # point, so we can use a bashism as a fallback.
    11038 if test "x$ac_cr" = x; then
    11039   eval ac_cr=\$\'\\r\'
    11040 fi
     20977ac_cr='
     20978'
    1104120979ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    1104220980if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    1104620984fi
    1104720985
    11048 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     20986echo 'BEGIN {' >"$tmp/subs1.awk" &&
    1104920987_ACEOF
    1105020988
     
    1105520993  echo "_ACEOF"
    1105620994} >conf$$subs.sh ||
    11057   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    11058 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     20995  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     20996$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     20997   { (exit 1); exit 1; }; }
     20998ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    1105920999ac_delim='%!_!# '
    1106021000for ac_last_try in false false false false false :; do
    1106121001  . ./conf$$subs.sh ||
    11062     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     21002    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     21003$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     21004   { (exit 1); exit 1; }; }
    1106321005
    1106421006  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    1106621008    break
    1106721009  elif $ac_last_try; then
    11068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     21010    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     21011$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     21012   { (exit 1); exit 1; }; }
    1106921013  else
    1107021014    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    1107421018
    1107521019cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    11076 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     21020cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    1107721021_ACEOF
    1107821022sed -n '
     
    1108821032:nl
    1108921033h
    11090 s/\(.\{148\}\)..*/\1/
     21034s/\(.\{148\}\).*/\1/
    1109121035t more1
    1109221036s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    1110221046:delim
    1110321047h
    11104 s/\(.\{148\}\)..*/\1/
     21048s/\(.\{148\}\).*/\1/
    1110521049t more2
    1110621050s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    1112221066cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1112321067_ACAWK
    11124 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     21068cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    1112521069  for (key in S) S_is_set[key] = 1
    1112621070  FS = ""
     
    1115421098else
    1115521099  cat
    11156 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
    11157   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    11158 _ACEOF
    11159 
    11160 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    11161 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     21100fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     21101  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     21102$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     21103   { (exit 1); exit 1; }; }
     21104_ACEOF
     21105
     21106# VPATH may cause trouble with some makes, so we remove $(srcdir),
     21107# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    1116221108# trailing colons and then remove the whole line if VPATH becomes empty
    1116321109# (actually we leave an empty line to preserve line numbers).
    1116421110if test "x$srcdir" = x.; then
    11165   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
    11166 h
    11167 s///
    11168 s/^/:/
    11169 s/[      ]*$/:/
    11170 s/:\$(srcdir):/:/g
    11171 s/:\${srcdir}:/:/g
    11172 s/:@srcdir@:/:/g
    11173 s/^:*//
     21111  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     21112s/:*\$(srcdir):*/:/
     21113s/:*\${srcdir}:*/:/
     21114s/:*@srcdir@:*/:/
     21115s/^\([^=]*=[     ]*\):*/\1/
    1117421116s/:*$//
    11175 x
    11176 s/\(=[   ]*\).*/\1/
    11177 G
    11178 s/\n//
    1117921117s/^[^=]*=[       ]*$//
    1118021118}'
     
    1118821126# This happens for instance with `./config.status Makefile'.
    1118921127if test -n "$CONFIG_HEADERS"; then
    11190 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     21128cat >"$tmp/defines.awk" <<\_ACAWK ||
    1119121129BEGIN {
    1119221130_ACEOF
     
    1120021138ac_delim='%!_!# '
    1120121139for ac_last_try in false false :; do
    11202   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    11203   if test -z "$ac_tt"; then
     21140  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     21141  if test -z "$ac_t"; then
    1120421142    break
    1120521143  elif $ac_last_try; then
    11206     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     21144    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     21145$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     21146   { (exit 1); exit 1; }; }
    1120721147  else
    1120821148    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    1128921229_ACEOF
    1129021230cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    11291   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     21231  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     21232$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     21233   { (exit 1); exit 1; }; }
    1129221234fi # test -n "$CONFIG_HEADERS"
    1129321235
     
    1130221244  case $ac_mode$ac_tag in
    1130321245  :[FHL]*:*);;
    11304   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     21246  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     21247$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     21248   { (exit 1); exit 1; }; };;
    1130521249  :[FH]-) ac_tag=-:-;;
    1130621250  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    1132121265    do
    1132221266      case $ac_f in
    11323       -) ac_f="$ac_tmp/stdin";;
     21267      -) ac_f="$tmp/stdin";;
    1132421268      *) # Look for the file first in the build tree, then in the source tree
    1132521269         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    1133021274           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    1133121275           esac ||
    11332            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     21276           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     21277$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     21278   { (exit 1); exit 1; }; };;
    1133321279      esac
    1133421280      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    11335       as_fn_append ac_file_inputs " '$ac_f'"
     21281      ac_file_inputs="$ac_file_inputs '$ac_f'"
    1133621282    done
    1133721283
     
    1134421290    if test x"$ac_file" != x-; then
    1134521291      configure_input="$ac_file.  $configure_input"
    11346       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     21292      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    1134721293$as_echo "$as_me: creating $ac_file" >&6;}
    1134821294    fi
     
    1135621302
    1135721303    case $ac_tag in
    11358     *:-:* | *:-) cat >"$ac_tmp/stdin" \
    11359       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     21304    *:-:* | *:-) cat >"$tmp/stdin" \
     21305      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     21306$as_echo "$as_me: error: could not create $ac_file" >&2;}
     21307   { (exit 1); exit 1; }; } ;;
    1136021308    esac
    1136121309    ;;
     
    1138521333          }
    1138621334          s/.*/./; q'`
    11387   as_dir="$ac_dir"; as_fn_mkdir_p
     21335  { as_dir="$ac_dir"
     21336  case $as_dir in #(
     21337  -*) as_dir=./$as_dir;;
     21338  esac
     21339  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     21340    as_dirs=
     21341    while :; do
     21342      case $as_dir in #(
     21343      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     21344      *) as_qdir=$as_dir;;
     21345      esac
     21346      as_dirs="'$as_qdir' $as_dirs"
     21347      as_dir=`$as_dirname -- "$as_dir" ||
     21348$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     21349         X"$as_dir" : 'X\(//\)[^/]' \| \
     21350         X"$as_dir" : 'X\(//\)$' \| \
     21351         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     21352$as_echo X"$as_dir" |
     21353    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     21354            s//\1/
     21355            q
     21356          }
     21357          /^X\(\/\/\)[^/].*/{
     21358            s//\1/
     21359            q
     21360          }
     21361          /^X\(\/\/\)$/{
     21362            s//\1/
     21363            q
     21364          }
     21365          /^X\(\/\).*/{
     21366            s//\1/
     21367            q
     21368          }
     21369          s/.*/./; q'`
     21370      test -d "$as_dir" && break
     21371    done
     21372    test -z "$as_dirs" || eval "mkdir $as_dirs"
     21373  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     21374$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     21375   { (exit 1); exit 1; }; }; }
    1138821376  ac_builddir=.
    1138921377
     
    1144221430# FIXME: This hack should be removed a few years after 2.60.
    1144321431ac_datarootdir_hack=; ac_datarootdir_seen=
     21432
    1144421433ac_sed_dataroot='
    1144521434/datarootdir/ {
     
    1145121440/@infodir@/p
    1145221441/@localedir@/p
    11453 /@mandir@/p'
     21442/@mandir@/p
     21443'
    1145421444case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    1145521445*datarootdir*) ac_datarootdir_seen=yes;;
    1145621446*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    11457   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     21447  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    1145821448$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    1145921449_ACEOF
     
    1146521455  s&@localedir@&$localedir&g
    1146621456  s&@mandir@&$mandir&g
    11467   s&\\\${datarootdir}&$datarootdir&g' ;;
     21457    s&\\\${datarootdir}&$datarootdir&g' ;;
    1146821458esac
    1146921459_ACEOF
     
    1149321483$ac_datarootdir_hack
    1149421484"
    11495 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
    11496   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     21485eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     21486  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     21487$as_echo "$as_me: error: could not create $ac_file" >&2;}
     21488   { (exit 1); exit 1; }; }
    1149721489
    1149821490test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    11499   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
    11500   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
    11501       "$ac_tmp/out"`; test -z "$ac_out"; } &&
    11502   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    11503 which seems to be undefined.  Please make sure it is defined" >&5
     21491  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     21492  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     21493  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     21494which seems to be undefined.  Please make sure it is defined." >&5
    1150421495$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    11505 which seems to be undefined.  Please make sure it is defined" >&2;}
    11506 
    11507   rm -f "$ac_tmp/stdin"
     21496which seems to be undefined.  Please make sure it is defined." >&2;}
     21497
     21498  rm -f "$tmp/stdin"
    1150821499  case $ac_file in
    11509   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
    11510   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     21500  -) cat "$tmp/out" && rm -f "$tmp/out";;
     21501  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    1151121502  esac \
    11512   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     21503  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     21504$as_echo "$as_me: error: could not create $ac_file" >&2;}
     21505   { (exit 1); exit 1; }; }
    1151321506 ;;
    1151421507  :H)
     
    1151921512    {
    1152021513      $as_echo "/* $configure_input  */" \
    11521       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    11522     } >"$ac_tmp/config.h" \
    11523       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    11524     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    11525       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     21514      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     21515    } >"$tmp/config.h" \
     21516      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     21517$as_echo "$as_me: error: could not create $ac_file" >&2;}
     21518   { (exit 1); exit 1; }; }
     21519    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     21520      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    1152621521$as_echo "$as_me: $ac_file is unchanged" >&6;}
    1152721522    else
    1152821523      rm -f "$ac_file"
    11529       mv "$ac_tmp/config.h" "$ac_file" \
    11530         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     21524      mv "$tmp/config.h" "$ac_file" \
     21525        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     21526$as_echo "$as_me: error: could not create $ac_file" >&2;}
     21527   { (exit 1); exit 1; }; }
    1153121528    fi
    1153221529  else
    1153321530    $as_echo "/* $configure_input  */" \
    11534       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    11535       || as_fn_error $? "could not create -" "$LINENO" 5
     21531      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     21532      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     21533$as_echo "$as_me: error: could not create -" >&2;}
     21534   { (exit 1); exit 1; }; }
    1153621535  fi
    1153721536 ;;
     
    1154321542
    1154421543
    11545 as_fn_exit 0
    11546 _ACEOF
     21544{ (exit 0); exit 0; }
     21545_ACEOF
     21546chmod +x $CONFIG_STATUS
    1154721547ac_clean_files=$ac_clean_files_save
    1154821548
    1154921549test $ac_write_fail = 0 ||
    11550   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     21550  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     21551$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     21552   { (exit 1); exit 1; }; }
    1155121553
    1155221554
     
    1156921571  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    1157021572  # would make configure fail if this is the last instruction.
    11571   $ac_cs_success || as_fn_exit 1
     21573  $ac_cs_success || { (exit 1); exit 1; }
    1157221574fi
    1157321575
     
    1161321615      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1161421616      esac
    11615       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
     21617      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
    1161621618    esac
    1161721619  done
     
    1164221644
    1164321645    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    11644     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
     21646    $as_echo "$as_me:$LINENO: $ac_msg" >&5
    1164521647    $as_echo "$ac_msg" >&6
    11646     as_dir="$ac_dir"; as_fn_mkdir_p
     21648    { as_dir="$ac_dir"
     21649  case $as_dir in #(
     21650  -*) as_dir=./$as_dir;;
     21651  esac
     21652  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     21653    as_dirs=
     21654    while :; do
     21655      case $as_dir in #(
     21656      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     21657      *) as_qdir=$as_dir;;
     21658      esac
     21659      as_dirs="'$as_qdir' $as_dirs"
     21660      as_dir=`$as_dirname -- "$as_dir" ||
     21661$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     21662         X"$as_dir" : 'X\(//\)[^/]' \| \
     21663         X"$as_dir" : 'X\(//\)$' \| \
     21664         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     21665$as_echo X"$as_dir" |
     21666    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     21667            s//\1/
     21668            q
     21669          }
     21670          /^X\(\/\/\)[^/].*/{
     21671            s//\1/
     21672            q
     21673          }
     21674          /^X\(\/\/\)$/{
     21675            s//\1/
     21676            q
     21677          }
     21678          /^X\(\/\).*/{
     21679            s//\1/
     21680            q
     21681          }
     21682          s/.*/./; q'`
     21683      test -d "$as_dir" && break
     21684    done
     21685    test -z "$as_dirs" || eval "mkdir $as_dirs"
     21686  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     21687$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     21688   { (exit 1); exit 1; }; }; }
    1164721689    ac_builddir=.
    1164821690
     
    1169121733      ac_sub_configure=$ac_aux_dir/configure
    1169221734    else
    11693       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
     21735      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    1169421736$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    1169521737      ac_sub_configure=
     
    1170521747      esac
    1170621748
    11707       { $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
     21749      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    1170821750$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    1170921751      # The eval makes quoting arguments work.
    1171021752      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    1171121753           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    11712         as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     21754        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
     21755$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     21756   { (exit 1); exit 1; }; }
    1171321757    fi
    1171421758
     
    1171721761fi
    1171821762if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    11719   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     21763  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    1172021764$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    1172121765fi
  • trunk/configure.in

    r3733 r3931  
    261261#--------------------------------------------------------------------
    262262if test "${with_ffmpeg}" != "no" ; then
    263   if test "${with_tclsh}" = "yes" ; then
     263  if test "${with_ffmpeg}" = "yes" ; then
    264264    AC_PATH_PROG(FFMPEG, ffmpeg, [], $PATH)
    265265  else
     
    271271fi
    272272
    273 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h ffmpeg/swscale.h libswscale/swscale.h],,,[
     273AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h libavutil/mathematics.h ffmpeg/swscale.h libswscale/swscale.h],,,[
    274274#define __STDC_CONSTANT_MACROS 1
    275275])
  • trunk/src/core/config.h.in

    r3717 r3931  
    130130#undef HAVE_LIBAVUTIL_AVUTIL_H
    131131
     132/* Define to 1 if you have the <libavutil/mathematics.h> header file. */
     133#undef HAVE_LIBAVUTIL_MATHEMATICS_H
     134
    132135/* Define to 1 if you have the `ncurses' library (-lncurses). */
    133136#undef HAVE_LIBNCURSES
     
    237240/* Define to the one symbol short name of this package. */
    238241#undef PACKAGE_TARNAME
    239 
    240 /* Define to the home page for this package. */
    241 #undef PACKAGE_URL
    242242
    243243/* Define to the version of this package. */
  • trunk/video/RpVideo.c

    r3929 r3931  
    4343#ifdef HAVE_LIBAVUTIL_AVUTIL_H
    4444# include <libavutil/avutil.h>
     45#endif
     46
     47#ifdef HAVE_LIBAVUTIL_MATHEMATICS_H
     48# include <libavutil/mathematics.h> /* for av_rescale_q and av_gcd */
    4549#endif
    4650
Note: See TracChangeset for help on using the changeset viewer.