Changeset 3717 for trunk/configure


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

fixes for R build, can now make clean, make

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r3716 r3717  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.3.
     3# Generated by GNU Autoconf 2.69 for Rappture 1.3.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     213do
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218         /*)
     219           for as_base in sh bash ksh sh5; do
     220             # Try only shells that exist, to save several forks.
     221             as_shell=$as_dir/$as_base
     222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229           done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     268  else
     269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     270$0: rappture@nanohub.org about your system, including any
     271$0: error possibly output before this message. Then install
     272$0: a modern shell, or manually run the script under such a
     273$0: shell if you do have one."
     274  fi
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334         X"$as_dir" : 'X\(//\)[^/]' \| \
     335         X"$as_dir" : 'X\(//\)$' \| \
     336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339            s//\1/
     340            q
     341          }
     342          /^X\(\/\/\)[^/].*/{
     343            s//\1/
     344            q
     345          }
     346          /^X\(\/\/\)$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\).*/{
     351            s//\1/
     352            q
     353          }
     354          s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
    137422if expr a : '\(a\)' >/dev/null 2>&1 &&
    138423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148433fi
    149434
    150 
    151 # Name of the executable.
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
    152441as_me=`$as_basename -- "$0" ||
    153442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169458          s/.*/./; q'`
    170459
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     460# Avoid depending upon Character Ranges.
     461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     464as_cr_digits='0123456789'
     465as_cr_alnum=$as_cr_Letters$as_cr_digits
     466
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460473  sed -n '
    461474    p
     
    474487    ' >$as_me.lineno &&
    475488  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    479495  # Don't try to exec as it changes $[0], causing all sort of problems
    480496  # (the dirname of $[0] is not the place where we might find the
     
    485501}
    486502
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494503ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     504case `echo -n x` in #(((((
    496505-n*)
    497   case `echo 'x\c'` in
     506  case `echo 'xy\c'` in
    498507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
    500511  esac;;
    501512*)
    502513  ECHO_N='-n';;
    503514esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510515
    511516rm -f conf$$ conf$$.exe conf$$.file
     
    522527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    525530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    527532  elif ln conf$$.file conf$$ 2>/dev/null; then
    528533    as_ln_s=ln
    529534  else
    530     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    531536  fi
    532537else
    533   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    534539fi
    535540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537542
    538543if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    540545else
    541546  test -d ./-p && rmdir ./-p
     
    543548fi
    544549
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    567552
    568553# Sed expression to map a string onto a valid CPP name.
     
    573558
    574559
    575 
    576 exec 7<&0 </dev/null 6>&1
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    577562
    578563# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580565# so uname gets run too.
    581566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592577MFLAGS=
    593578MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595579
    596580# Identity of this package.
     
    600584PACKAGE_STRING='Rappture 1.3'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    814799prefix
    815800exec_prefix
     801PACKAGE_URL
    816802PACKAGE_BUGREPORT
    817803PACKAGE_STRING
     
    923909
    924910  case $ac_option in
    925   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    926   *)    ac_optarg=yes ;;
     911  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     912  *=)   ac_optarg= ;;
     913  *)    ac_optarg=yes ;;
    927914  esac
    928915
     
    969956    # Reject names that are not valid shell variable names.
    970957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    971       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    972    { (exit 1); exit 1; }; }
     958      as_fn_error $? "invalid feature name: $ac_useropt"
    973959    ac_useropt_orig=$ac_useropt
    974960    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    996982    # Reject names that are not valid shell variable names.
    997983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    998       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    999    { (exit 1); exit 1; }; }
     984      as_fn_error $? "invalid feature name: $ac_useropt"
    1000985    ac_useropt_orig=$ac_useropt
    1001986    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12011186    # Reject names that are not valid shell variable names.
    12021187    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1203       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1204    { (exit 1); exit 1; }; }
     1188      as_fn_error $? "invalid package name: $ac_useropt"
    12051189    ac_useropt_orig=$ac_useropt
    12061190    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12181202    # Reject names that are not valid shell variable names.
    12191203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1220       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1221    { (exit 1); exit 1; }; }
     1204      as_fn_error $? "invalid package name: $ac_useropt"
    12221205    ac_useropt_orig=$ac_useropt
    12231206    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12491232    x_libraries=$ac_optarg ;;
    12501233
    1251   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1252 Try \`$0 --help' for more information." >&2
    1253    { (exit 1); exit 1; }; }
     1234  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1235Try \`$0 --help' for more information"
    12541236    ;;
    12551237
     
    12571239    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12581240    # Reject names that are not valid shell variable names.
    1259     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1260       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1261    { (exit 1); exit 1; }; }
     1241    case $ac_envvar in #(
     1242      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1243      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1244    esac
    12621245    eval $ac_envvar=\$ac_optarg
    12631246    export $ac_envvar ;;
     
    12681251    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12691252      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1270     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1253    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    12711254    ;;
    12721255
     
    12761259if test -n "$ac_prev"; then
    12771260  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1278   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1279    { (exit 1); exit 1; }; }
     1261  as_fn_error $? "missing argument to $ac_option"
    12801262fi
    12811263
     
    12831265  case $enable_option_checking in
    12841266    no) ;;
    1285     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1286    { (exit 1); exit 1; }; } ;;
     1267    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    12871268    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12881269  esac
     
    13071288    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    13081289  esac
    1309   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1310    { (exit 1); exit 1; }; }
     1290  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    13111291done
    13121292
     
    13221302  if test "x$build_alias" = x; then
    13231303    cross_compiling=maybe
    1324     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1325     If a cross compiler is detected then cross compile mode will be used." >&2
    13261304  elif test "x$build_alias" != "x$host_alias"; then
    13271305    cross_compiling=yes
     
    13381316ac_ls_di=`ls -di .` &&
    13391317ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1340   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1341    { (exit 1); exit 1; }; }
     1318  as_fn_error $? "working directory cannot be determined"
    13421319test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1343   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1344    { (exit 1); exit 1; }; }
     1320  as_fn_error $? "pwd does not report name of working directory"
    13451321
    13461322
     
    13811357if test ! -r "$srcdir/$ac_unique_file"; then
    13821358  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1383   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1384    { (exit 1); exit 1; }; }
     1359  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13851360fi
    13861361ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13871362ac_abs_confdir=`(
    1388         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1389    { (exit 1); exit 1; }; }
     1363        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13901364        pwd)`
    13911365# When building in place, set srcdir=.
     
    14271401      --help=recursive    display the short help of all the included packages
    14281402  -V, --version           display version information and exit
    1429   -q, --quiet, --silent   do not print \`checking...' messages
     1403  -q, --quiet, --silent   do not print \`checking ...' messages
    14301404      --cache-file=FILE   cache test results in FILE [disabled]
    14311405  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    15111485  --with-java=DIR         location of java [default=yes]
    15121486  --with-R=DIR            location of R interpreter [default=yes]
    1513   --with-ruby=PATH        path to the ruby interpreter [ruby]
     1487  --with-ruby=PATH        path to the ruby interpreter [[ruby]]
    15141488  --with-ruby-sitelibdir=PATH
    1515                           path to install ruby scripts [auto-detect]
     1489                          path to install ruby scripts [[auto-detect]]
    15161490
    15171491Some influential environment variables:
     
    15211495              nonstandard directory <lib dir>
    15221496  LIBS        libraries to pass to the linker, e.g. -l<library>
    1523   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1497  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15241498              you have headers in a nonstandard directory <include dir>
    15251499  CXX         C++ compiler command
     
    15971571  cat <<\_ACEOF
    15981572Rappture configure 1.3
    1599 generated by GNU Autoconf 2.63
    1600 
    1601 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1602 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1573generated by GNU Autoconf 2.69
     1574
     1575Copyright (C) 2012 Free Software Foundation, Inc.
    16031576This configure script is free software; the Free Software Foundation
    16041577gives unlimited permission to copy, distribute and modify it.
     
    16061579  exit
    16071580fi
     1581
     1582## ------------------------ ##
     1583## Autoconf initialization. ##
     1584## ------------------------ ##
     1585
     1586# ac_fn_c_try_compile LINENO
     1587# --------------------------
     1588# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1589ac_fn_c_try_compile ()
     1590{
     1591  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1592  rm -f conftest.$ac_objext
     1593  if { { ac_try="$ac_compile"
     1594case "(($ac_try" in
     1595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1596  *) ac_try_echo=$ac_try;;
     1597esac
     1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1599$as_echo "$ac_try_echo"; } >&5
     1600  (eval "$ac_compile") 2>conftest.err
     1601  ac_status=$?
     1602  if test -s conftest.err; then
     1603    grep -v '^ *+' conftest.err >conftest.er1
     1604    cat conftest.er1 >&5
     1605    mv -f conftest.er1 conftest.err
     1606  fi
     1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1608  test $ac_status = 0; } && {
     1609         test -z "$ac_c_werror_flag" ||
     1610         test ! -s conftest.err
     1611       } && test -s conftest.$ac_objext; then :
     1612  ac_retval=0
     1613else
     1614  $as_echo "$as_me: failed program was:" >&5
     1615sed 's/^/| /' conftest.$ac_ext >&5
     1616
     1617        ac_retval=1
     1618fi
     1619  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1620  as_fn_set_status $ac_retval
     1621
     1622} # ac_fn_c_try_compile
     1623
     1624# ac_fn_cxx_try_compile LINENO
     1625# ----------------------------
     1626# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1627ac_fn_cxx_try_compile ()
     1628{
     1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1630  rm -f conftest.$ac_objext
     1631  if { { ac_try="$ac_compile"
     1632case "(($ac_try" in
     1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1634  *) ac_try_echo=$ac_try;;
     1635esac
     1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1637$as_echo "$ac_try_echo"; } >&5
     1638  (eval "$ac_compile") 2>conftest.err
     1639  ac_status=$?
     1640  if test -s conftest.err; then
     1641    grep -v '^ *+' conftest.err >conftest.er1
     1642    cat conftest.er1 >&5
     1643    mv -f conftest.er1 conftest.err
     1644  fi
     1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1646  test $ac_status = 0; } && {
     1647         test -z "$ac_cxx_werror_flag" ||
     1648         test ! -s conftest.err
     1649       } && test -s conftest.$ac_objext; then :
     1650  ac_retval=0
     1651else
     1652  $as_echo "$as_me: failed program was:" >&5
     1653sed 's/^/| /' conftest.$ac_ext >&5
     1654
     1655        ac_retval=1
     1656fi
     1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1658  as_fn_set_status $ac_retval
     1659
     1660} # ac_fn_cxx_try_compile
     1661
     1662# ac_fn_f77_try_compile LINENO
     1663# ----------------------------
     1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1665ac_fn_f77_try_compile ()
     1666{
     1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1668  rm -f conftest.$ac_objext
     1669  if { { ac_try="$ac_compile"
     1670case "(($ac_try" in
     1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1672  *) ac_try_echo=$ac_try;;
     1673esac
     1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1675$as_echo "$ac_try_echo"; } >&5
     1676  (eval "$ac_compile") 2>conftest.err
     1677  ac_status=$?
     1678  if test -s conftest.err; then
     1679    grep -v '^ *+' conftest.err >conftest.er1
     1680    cat conftest.er1 >&5
     1681    mv -f conftest.er1 conftest.err
     1682  fi
     1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1684  test $ac_status = 0; } && {
     1685         test -z "$ac_f77_werror_flag" ||
     1686         test ! -s conftest.err
     1687       } && test -s conftest.$ac_objext; then :
     1688  ac_retval=0
     1689else
     1690  $as_echo "$as_me: failed program was:" >&5
     1691sed 's/^/| /' conftest.$ac_ext >&5
     1692
     1693        ac_retval=1
     1694fi
     1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1696  as_fn_set_status $ac_retval
     1697
     1698} # ac_fn_f77_try_compile
     1699
     1700# ac_fn_c_try_cpp LINENO
     1701# ----------------------
     1702# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1703ac_fn_c_try_cpp ()
     1704{
     1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1706  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1707case "(($ac_try" in
     1708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1709  *) ac_try_echo=$ac_try;;
     1710esac
     1711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1712$as_echo "$ac_try_echo"; } >&5
     1713  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1714  ac_status=$?
     1715  if test -s conftest.err; then
     1716    grep -v '^ *+' conftest.err >conftest.er1
     1717    cat conftest.er1 >&5
     1718    mv -f conftest.er1 conftest.err
     1719  fi
     1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1721  test $ac_status = 0; } > conftest.i && {
     1722         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1723         test ! -s conftest.err
     1724       }; then :
     1725  ac_retval=0
     1726else
     1727  $as_echo "$as_me: failed program was:" >&5
     1728sed 's/^/| /' conftest.$ac_ext >&5
     1729
     1730    ac_retval=1
     1731fi
     1732  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1733  as_fn_set_status $ac_retval
     1734
     1735} # ac_fn_c_try_cpp
     1736
     1737# ac_fn_c_try_run LINENO
     1738# ----------------------
     1739# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1740# that executables *can* be run.
     1741ac_fn_c_try_run ()
     1742{
     1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1744  if { { ac_try="$ac_link"
     1745case "(($ac_try" in
     1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1747  *) ac_try_echo=$ac_try;;
     1748esac
     1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1750$as_echo "$ac_try_echo"; } >&5
     1751  (eval "$ac_link") 2>&5
     1752  ac_status=$?
     1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1754  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1755  { { case "(($ac_try" in
     1756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1757  *) ac_try_echo=$ac_try;;
     1758esac
     1759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1760$as_echo "$ac_try_echo"; } >&5
     1761  (eval "$ac_try") 2>&5
     1762  ac_status=$?
     1763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1764  test $ac_status = 0; }; }; then :
     1765  ac_retval=0
     1766else
     1767  $as_echo "$as_me: program exited with status $ac_status" >&5
     1768       $as_echo "$as_me: failed program was:" >&5
     1769sed 's/^/| /' conftest.$ac_ext >&5
     1770
     1771       ac_retval=$ac_status
     1772fi
     1773  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1775  as_fn_set_status $ac_retval
     1776
     1777} # ac_fn_c_try_run
     1778
     1779# ac_fn_c_try_link LINENO
     1780# -----------------------
     1781# Try to link conftest.$ac_ext, and return whether this succeeded.
     1782ac_fn_c_try_link ()
     1783{
     1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1785  rm -f conftest.$ac_objext conftest$ac_exeext
     1786  if { { ac_try="$ac_link"
     1787case "(($ac_try" in
     1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1789  *) ac_try_echo=$ac_try;;
     1790esac
     1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1792$as_echo "$ac_try_echo"; } >&5
     1793  (eval "$ac_link") 2>conftest.err
     1794  ac_status=$?
     1795  if test -s conftest.err; then
     1796    grep -v '^ *+' conftest.err >conftest.er1
     1797    cat conftest.er1 >&5
     1798    mv -f conftest.er1 conftest.err
     1799  fi
     1800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1801  test $ac_status = 0; } && {
     1802         test -z "$ac_c_werror_flag" ||
     1803         test ! -s conftest.err
     1804       } && test -s conftest$ac_exeext && {
     1805         test "$cross_compiling" = yes ||
     1806         test -x conftest$ac_exeext
     1807       }; then :
     1808  ac_retval=0
     1809else
     1810  $as_echo "$as_me: failed program was:" >&5
     1811sed 's/^/| /' conftest.$ac_ext >&5
     1812
     1813        ac_retval=1
     1814fi
     1815  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1816  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1817  # interfere with the next link command; also delete a directory that is
     1818  # left behind by Apple's compiler.  We do this before executing the actions.
     1819  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1820  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1821  as_fn_set_status $ac_retval
     1822
     1823} # ac_fn_c_try_link
     1824
     1825# ac_fn_c_check_func LINENO FUNC VAR
     1826# ----------------------------------
     1827# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1828ac_fn_c_check_func ()
     1829{
     1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1832$as_echo_n "checking for $2... " >&6; }
     1833if eval \${$3+:} false; then :
     1834  $as_echo_n "(cached) " >&6
     1835else
     1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1837/* end confdefs.h.  */
     1838/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1839   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1840#define $2 innocuous_$2
     1841
     1842/* System header to define __stub macros and hopefully few prototypes,
     1843    which can conflict with char $2 (); below.
     1844    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1845    <limits.h> exists even on freestanding compilers.  */
     1846
     1847#ifdef __STDC__
     1848# include <limits.h>
     1849#else
     1850# include <assert.h>
     1851#endif
     1852
     1853#undef $2
     1854
     1855/* Override any GCC internal prototype to avoid an error.
     1856   Use char because int might match the return type of a GCC
     1857   builtin and then its argument prototype would still apply.  */
     1858#ifdef __cplusplus
     1859extern "C"
     1860#endif
     1861char $2 ();
     1862/* The GNU C library defines this for functions which it implements
     1863    to always fail with ENOSYS.  Some functions are actually named
     1864    something starting with __ and the normal name is an alias.  */
     1865#if defined __stub_$2 || defined __stub___$2
     1866choke me
     1867#endif
     1868
     1869int
     1870main ()
     1871{
     1872return $2 ();
     1873  ;
     1874  return 0;
     1875}
     1876_ACEOF
     1877if ac_fn_c_try_link "$LINENO"; then :
     1878  eval "$3=yes"
     1879else
     1880  eval "$3=no"
     1881fi
     1882rm -f core conftest.err conftest.$ac_objext \
     1883    conftest$ac_exeext conftest.$ac_ext
     1884fi
     1885eval ac_res=\$$3
     1886               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1887$as_echo "$ac_res" >&6; }
     1888  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1889
     1890} # ac_fn_c_check_func
     1891
     1892# ac_fn_cxx_try_link LINENO
     1893# -------------------------
     1894# Try to link conftest.$ac_ext, and return whether this succeeded.
     1895ac_fn_cxx_try_link ()
     1896{
     1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1898  rm -f conftest.$ac_objext conftest$ac_exeext
     1899  if { { ac_try="$ac_link"
     1900case "(($ac_try" in
     1901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1902  *) ac_try_echo=$ac_try;;
     1903esac
     1904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1905$as_echo "$ac_try_echo"; } >&5
     1906  (eval "$ac_link") 2>conftest.err
     1907  ac_status=$?
     1908  if test -s conftest.err; then
     1909    grep -v '^ *+' conftest.err >conftest.er1
     1910    cat conftest.er1 >&5
     1911    mv -f conftest.er1 conftest.err
     1912  fi
     1913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1914  test $ac_status = 0; } && {
     1915         test -z "$ac_cxx_werror_flag" ||
     1916         test ! -s conftest.err
     1917       } && test -s conftest$ac_exeext && {
     1918         test "$cross_compiling" = yes ||
     1919         test -x conftest$ac_exeext
     1920       }; then :
     1921  ac_retval=0
     1922else
     1923  $as_echo "$as_me: failed program was:" >&5
     1924sed 's/^/| /' conftest.$ac_ext >&5
     1925
     1926        ac_retval=1
     1927fi
     1928  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1929  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1930  # interfere with the next link command; also delete a directory that is
     1931  # left behind by Apple's compiler.  We do this before executing the actions.
     1932  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1933  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1934  as_fn_set_status $ac_retval
     1935
     1936} # ac_fn_cxx_try_link
     1937
     1938# ac_fn_cxx_check_func LINENO FUNC VAR
     1939# ------------------------------------
     1940# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1941ac_fn_cxx_check_func ()
     1942{
     1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1945$as_echo_n "checking for $2... " >&6; }
     1946if eval \${$3+:} false; then :
     1947  $as_echo_n "(cached) " >&6
     1948else
     1949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1950/* end confdefs.h.  */
     1951/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1952   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1953#define $2 innocuous_$2
     1954
     1955/* System header to define __stub macros and hopefully few prototypes,
     1956    which can conflict with char $2 (); below.
     1957    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1958    <limits.h> exists even on freestanding compilers.  */
     1959
     1960#ifdef __STDC__
     1961# include <limits.h>
     1962#else
     1963# include <assert.h>
     1964#endif
     1965
     1966#undef $2
     1967
     1968/* Override any GCC internal prototype to avoid an error.
     1969   Use char because int might match the return type of a GCC
     1970   builtin and then its argument prototype would still apply.  */
     1971#ifdef __cplusplus
     1972extern "C"
     1973#endif
     1974char $2 ();
     1975/* The GNU C library defines this for functions which it implements
     1976    to always fail with ENOSYS.  Some functions are actually named
     1977    something starting with __ and the normal name is an alias.  */
     1978#if defined __stub_$2 || defined __stub___$2
     1979choke me
     1980#endif
     1981
     1982int
     1983main ()
     1984{
     1985return $2 ();
     1986  ;
     1987  return 0;
     1988}
     1989_ACEOF
     1990if ac_fn_cxx_try_link "$LINENO"; then :
     1991  eval "$3=yes"
     1992else
     1993  eval "$3=no"
     1994fi
     1995rm -f core conftest.err conftest.$ac_objext \
     1996    conftest$ac_exeext conftest.$ac_ext
     1997fi
     1998eval ac_res=\$$3
     1999               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2000$as_echo "$ac_res" >&6; }
     2001  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2002
     2003} # ac_fn_cxx_check_func
     2004
     2005# ac_fn_cxx_try_cpp LINENO
     2006# ------------------------
     2007# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     2008ac_fn_cxx_try_cpp ()
     2009{
     2010  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2011  if { { ac_try="$ac_cpp conftest.$ac_ext"
     2012case "(($ac_try" in
     2013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2014  *) ac_try_echo=$ac_try;;
     2015esac
     2016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2017$as_echo "$ac_try_echo"; } >&5
     2018  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     2019  ac_status=$?
     2020  if test -s conftest.err; then
     2021    grep -v '^ *+' conftest.err >conftest.er1
     2022    cat conftest.er1 >&5
     2023    mv -f conftest.er1 conftest.err
     2024  fi
     2025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2026  test $ac_status = 0; } > conftest.i && {
     2027         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     2028         test ! -s conftest.err
     2029       }; then :
     2030  ac_retval=0
     2031else
     2032  $as_echo "$as_me: failed program was:" >&5
     2033sed 's/^/| /' conftest.$ac_ext >&5
     2034
     2035    ac_retval=1
     2036fi
     2037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2038  as_fn_set_status $ac_retval
     2039
     2040} # ac_fn_cxx_try_cpp
     2041
     2042# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2043# ---------------------------------------------------------
     2044# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2045# the include files in INCLUDES and setting the cache variable VAR
     2046# accordingly.
     2047ac_fn_cxx_check_header_mongrel ()
     2048{
     2049  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2050  if eval \${$3+:} false; then :
     2051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2052$as_echo_n "checking for $2... " >&6; }
     2053if eval \${$3+:} false; then :
     2054  $as_echo_n "(cached) " >&6
     2055fi
     2056eval ac_res=\$$3
     2057               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2058$as_echo "$ac_res" >&6; }
     2059else
     2060  # Is the header compilable?
     2061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2062$as_echo_n "checking $2 usability... " >&6; }
     2063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2064/* end confdefs.h.  */
     2065$4
     2066#include <$2>
     2067_ACEOF
     2068if ac_fn_cxx_try_compile "$LINENO"; then :
     2069  ac_header_compiler=yes
     2070else
     2071  ac_header_compiler=no
     2072fi
     2073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2075$as_echo "$ac_header_compiler" >&6; }
     2076
     2077# Is the header present?
     2078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2079$as_echo_n "checking $2 presence... " >&6; }
     2080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2081/* end confdefs.h.  */
     2082#include <$2>
     2083_ACEOF
     2084if ac_fn_cxx_try_cpp "$LINENO"; then :
     2085  ac_header_preproc=yes
     2086else
     2087  ac_header_preproc=no
     2088fi
     2089rm -f conftest.err conftest.i conftest.$ac_ext
     2090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2091$as_echo "$ac_header_preproc" >&6; }
     2092
     2093# So?  What about this header?
     2094case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2095  yes:no: )
     2096    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2097$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2098    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2099$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2100    ;;
     2101  no:yes:* )
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2103$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2105$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2107$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2109$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2111$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2112( $as_echo "## ----------------------------------- ##
     2113## Report this to rappture@nanohub.org ##
     2114## ----------------------------------- ##"
     2115     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2116    ;;
     2117esac
     2118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2119$as_echo_n "checking for $2... " >&6; }
     2120if eval \${$3+:} false; then :
     2121  $as_echo_n "(cached) " >&6
     2122else
     2123  eval "$3=\$ac_header_compiler"
     2124fi
     2125eval ac_res=\$$3
     2126               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2127$as_echo "$ac_res" >&6; }
     2128fi
     2129  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2130
     2131} # ac_fn_cxx_check_header_mongrel
     2132
     2133# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2134# ---------------------------------------------------------
     2135# Tests whether HEADER exists and can be compiled using the include files in
     2136# INCLUDES, setting the cache variable VAR accordingly.
     2137ac_fn_cxx_check_header_compile ()
     2138{
     2139  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2141$as_echo_n "checking for $2... " >&6; }
     2142if eval \${$3+:} false; then :
     2143  $as_echo_n "(cached) " >&6
     2144else
     2145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2146/* end confdefs.h.  */
     2147$4
     2148#include <$2>
     2149_ACEOF
     2150if ac_fn_cxx_try_compile "$LINENO"; then :
     2151  eval "$3=yes"
     2152else
     2153  eval "$3=no"
     2154fi
     2155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2156fi
     2157eval ac_res=\$$3
     2158               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2159$as_echo "$ac_res" >&6; }
     2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2161
     2162} # ac_fn_cxx_check_header_compile
     2163
     2164# ac_fn_cxx_try_run LINENO
     2165# ------------------------
     2166# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2167# that executables *can* be run.
     2168ac_fn_cxx_try_run ()
     2169{
     2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2171  if { { ac_try="$ac_link"
     2172case "(($ac_try" in
     2173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2174  *) ac_try_echo=$ac_try;;
     2175esac
     2176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2177$as_echo "$ac_try_echo"; } >&5
     2178  (eval "$ac_link") 2>&5
     2179  ac_status=$?
     2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2181  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2182  { { case "(($ac_try" in
     2183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2184  *) ac_try_echo=$ac_try;;
     2185esac
     2186eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2187$as_echo "$ac_try_echo"; } >&5
     2188  (eval "$ac_try") 2>&5
     2189  ac_status=$?
     2190  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2191  test $ac_status = 0; }; }; then :
     2192  ac_retval=0
     2193else
     2194  $as_echo "$as_me: program exited with status $ac_status" >&5
     2195       $as_echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198       ac_retval=$ac_status
     2199fi
     2200  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2201  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2202  as_fn_set_status $ac_retval
     2203
     2204} # ac_fn_cxx_try_run
     2205
     2206# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2207# ----------------------------------------------
     2208# Tries to find the compile-time value of EXPR in a program that includes
     2209# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2210# computed
     2211ac_fn_cxx_compute_int ()
     2212{
     2213  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2214  if test "$cross_compiling" = yes; then
     2215    # Depending upon the size, compute the lo and hi bounds.
     2216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2217/* end confdefs.h.  */
     2218$4
     2219int
     2220main ()
     2221{
     2222static int test_array [1 - 2 * !(($2) >= 0)];
     2223test_array [0] = 0;
     2224return test_array [0];
     2225
     2226  ;
     2227  return 0;
     2228}
     2229_ACEOF
     2230if ac_fn_cxx_try_compile "$LINENO"; then :
     2231  ac_lo=0 ac_mid=0
     2232  while :; do
     2233    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2234/* end confdefs.h.  */
     2235$4
     2236int
     2237main ()
     2238{
     2239static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2240test_array [0] = 0;
     2241return test_array [0];
     2242
     2243  ;
     2244  return 0;
     2245}
     2246_ACEOF
     2247if ac_fn_cxx_try_compile "$LINENO"; then :
     2248  ac_hi=$ac_mid; break
     2249else
     2250  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2251                        if test $ac_lo -le $ac_mid; then
     2252                          ac_lo= ac_hi=
     2253                          break
     2254                        fi
     2255                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2256fi
     2257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2258  done
     2259else
     2260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2261/* end confdefs.h.  */
     2262$4
     2263int
     2264main ()
     2265{
     2266static int test_array [1 - 2 * !(($2) < 0)];
     2267test_array [0] = 0;
     2268return test_array [0];
     2269
     2270  ;
     2271  return 0;
     2272}
     2273_ACEOF
     2274if ac_fn_cxx_try_compile "$LINENO"; then :
     2275  ac_hi=-1 ac_mid=-1
     2276  while :; do
     2277    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2278/* end confdefs.h.  */
     2279$4
     2280int
     2281main ()
     2282{
     2283static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2284test_array [0] = 0;
     2285return test_array [0];
     2286
     2287  ;
     2288  return 0;
     2289}
     2290_ACEOF
     2291if ac_fn_cxx_try_compile "$LINENO"; then :
     2292  ac_lo=$ac_mid; break
     2293else
     2294  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2295                        if test $ac_mid -le $ac_hi; then
     2296                          ac_lo= ac_hi=
     2297                          break
     2298                        fi
     2299                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2300fi
     2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2302  done
     2303else
     2304  ac_lo= ac_hi=
     2305fi
     2306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2307fi
     2308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2309# Binary search between lo and hi bounds.
     2310while test "x$ac_lo" != "x$ac_hi"; do
     2311  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2313/* end confdefs.h.  */
     2314$4
     2315int
     2316main ()
     2317{
     2318static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2319test_array [0] = 0;
     2320return test_array [0];
     2321
     2322  ;
     2323  return 0;
     2324}
     2325_ACEOF
     2326if ac_fn_cxx_try_compile "$LINENO"; then :
     2327  ac_hi=$ac_mid
     2328else
     2329  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2330fi
     2331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2332done
     2333case $ac_lo in #((
     2334?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2335'') ac_retval=1 ;;
     2336esac
     2337  else
     2338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2339/* end confdefs.h.  */
     2340$4
     2341static long int longval () { return $2; }
     2342static unsigned long int ulongval () { return $2; }
     2343#include <stdio.h>
     2344#include <stdlib.h>
     2345int
     2346main ()
     2347{
     2348
     2349  FILE *f = fopen ("conftest.val", "w");
     2350  if (! f)
     2351    return 1;
     2352  if (($2) < 0)
     2353    {
     2354      long int i = longval ();
     2355      if (i != ($2))
     2356        return 1;
     2357      fprintf (f, "%ld", i);
     2358    }
     2359  else
     2360    {
     2361      unsigned long int i = ulongval ();
     2362      if (i != ($2))
     2363        return 1;
     2364      fprintf (f, "%lu", i);
     2365    }
     2366  /* Do not output a trailing newline, as this causes \r\n confusion
     2367     on some platforms.  */
     2368  return ferror (f) || fclose (f) != 0;
     2369
     2370  ;
     2371  return 0;
     2372}
     2373_ACEOF
     2374if ac_fn_cxx_try_run "$LINENO"; then :
     2375  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2376else
     2377  ac_retval=1
     2378fi
     2379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2380  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2381rm -f conftest.val
     2382
     2383  fi
     2384  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2385  as_fn_set_status $ac_retval
     2386
     2387} # ac_fn_cxx_compute_int
    16082388cat >config.log <<_ACEOF
    16092389This file contains any messages produced by compilers while
     
    16112391
    16122392It was created by Rappture $as_me 1.3, which was
    1613 generated by GNU Autoconf 2.63.  Invocation command line was
     2393generated by GNU Autoconf 2.69.  Invocation command line was
    16142394
    16152395  $ $0 $@
     
    16472427  IFS=$as_save_IFS
    16482428  test -z "$as_dir" && as_dir=.
    1649   $as_echo "PATH: $as_dir"
    1650 done
     2429    $as_echo "PATH: $as_dir"
     2430  done
    16512431IFS=$as_save_IFS
    16522432
     
    16852465    esac
    16862466    case $ac_pass in
    1687     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2467    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    16882468    2)
    1689       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2469      as_fn_append ac_configure_args1 " '$ac_arg'"
    16902470      if test $ac_must_keep_next = true; then
    16912471        ac_must_keep_next=false # Got value, back to normal.
     
    17032483        esac
    17042484      fi
    1705       ac_configure_args="$ac_configure_args '$ac_arg'"
     2485      as_fn_append ac_configure_args " '$ac_arg'"
    17062486      ;;
    17072487    esac
    17082488  done
    17092489done
    1710 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1711 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2490{ ac_configure_args0=; unset ac_configure_args0;}
     2491{ ac_configure_args1=; unset ac_configure_args1;}
    17122492
    17132493# When interrupted or exit'd, cleanup temporary files, and complete
     
    17212501    echo
    17222502
    1723     cat <<\_ASBOX
    1724 ## ---------------- ##
     2503    $as_echo "## ---------------- ##
    17252504## Cache variables. ##
    1726 ## ---------------- ##
    1727 _ASBOX
     2505## ---------------- ##"
    17282506    echo
    17292507    # The following way of writing the cache mishandles newlines in values,
     
    17342512    *${as_nl}*)
    17352513      case $ac_var in #(
    1736       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2514      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    17372515$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    17382516      esac
     
    17402518      _ | IFS | as_nl) ;; #(
    17412519      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1742       *) $as_unset $ac_var ;;
     2520      *) { eval $ac_var=; unset $ac_var;} ;;
    17432521      esac ;;
    17442522    esac
     
    17592537    echo
    17602538
    1761     cat <<\_ASBOX
    1762 ## ----------------- ##
     2539    $as_echo "## ----------------- ##
    17632540## Output variables. ##
    1764 ## ----------------- ##
    1765 _ASBOX
     2541## ----------------- ##"
    17662542    echo
    17672543    for ac_var in $ac_subst_vars
     
    17762552
    17772553    if test -n "$ac_subst_files"; then
    1778       cat <<\_ASBOX
    1779 ## ------------------- ##
     2554      $as_echo "## ------------------- ##
    17802555## File substitutions. ##
    1781 ## ------------------- ##
    1782 _ASBOX
     2556## ------------------- ##"
    17832557      echo
    17842558      for ac_var in $ac_subst_files
     
    17942568
    17952569    if test -s confdefs.h; then
    1796       cat <<\_ASBOX
    1797 ## ----------- ##
     2570      $as_echo "## ----------- ##
    17982571## confdefs.h. ##
    1799 ## ----------- ##
    1800 _ASBOX
     2572## ----------- ##"
    18012573      echo
    18022574      cat confdefs.h
     
    18122584' 0
    18132585for ac_signal in 1 2 13 15; do
    1814   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2586  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    18152587done
    18162588ac_signal=0
     
    18192591rm -f -r conftest* confdefs.h
    18202592
     2593$as_echo "/* confdefs.h */" > confdefs.h
     2594
    18212595# Predefined preprocessor variables.
    18222596
     
    18252599_ACEOF
    18262600
    1827 
    18282601cat >>confdefs.h <<_ACEOF
    18292602#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18302603_ACEOF
    18312604
    1832 
    18332605cat >>confdefs.h <<_ACEOF
    18342606#define PACKAGE_VERSION "$PACKAGE_VERSION"
    18352607_ACEOF
    18362608
    1837 
    18382609cat >>confdefs.h <<_ACEOF
    18392610#define PACKAGE_STRING "$PACKAGE_STRING"
    18402611_ACEOF
    18412612
    1842 
    18432613cat >>confdefs.h <<_ACEOF
    18442614#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2615_ACEOF
     2616
     2617cat >>confdefs.h <<_ACEOF
     2618#define PACKAGE_URL "$PACKAGE_URL"
    18452619_ACEOF
    18462620
     
    18512625ac_site_file2=NONE
    18522626if test -n "$CONFIG_SITE"; then
    1853   ac_site_file1=$CONFIG_SITE
     2627  # We do not want a PATH search for config.site.
     2628  case $CONFIG_SITE in #((
     2629    -*)  ac_site_file1=./$CONFIG_SITE;;
     2630    */*) ac_site_file1=$CONFIG_SITE;;
     2631    *)   ac_site_file1=./$CONFIG_SITE;;
     2632  esac
    18542633elif test "x$prefix" != xNONE; then
    18552634  ac_site_file1=$prefix/share/config.site
     
    18622641do
    18632642  test "x$ac_site_file" = xNONE && continue
    1864   if test -r "$ac_site_file"; then
    1865     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2643  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2644    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    18662645$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    18672646    sed 's/^/| /' "$ac_site_file" >&5
    1868     . "$ac_site_file"
     2647    . "$ac_site_file" \
     2648      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2650as_fn_error $? "failed to load site script $ac_site_file
     2651See \`config.log' for more details" "$LINENO" 5; }
    18692652  fi
    18702653done
    18712654
    18722655if test -r "$cache_file"; then
    1873   # Some versions of bash will fail to source /dev/null (special
    1874   # files actually), so we avoid doing that.
    1875   if test -f "$cache_file"; then
    1876     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2656  # Some versions of bash will fail to source /dev/null (special files
     2657  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2658  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2659    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    18772660$as_echo "$as_me: loading cache $cache_file" >&6;}
    18782661    case $cache_file in
     
    18822665  fi
    18832666else
    1884   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2667  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    18852668$as_echo "$as_me: creating cache $cache_file" >&6;}
    18862669  >$cache_file
     
    18972680  case $ac_old_set,$ac_new_set in
    18982681    set,)
    1899       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2682      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    19002683$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    19012684      ac_cache_corrupted=: ;;
    19022685    ,set)
    1903       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2686      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    19042687$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    19052688      ac_cache_corrupted=: ;;
     
    19112694        ac_new_val_w=`echo x $ac_new_val`
    19122695        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1913           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2696          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    19142697$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    19152698          ac_cache_corrupted=:
    19162699        else
    1917           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2700          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    19182701$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19192702          eval $ac_var=\$ac_old_val
    19202703        fi
    1921         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2704        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    19222705$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1923         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2706        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    19242707$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19252708      fi;;
     
    19332716    case " $ac_configure_args " in
    19342717      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1935       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2718      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    19362719    esac
    19372720  fi
    19382721done
    19392722if $ac_cache_corrupted; then
    1940   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2723  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    19412724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1942   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2725  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    19432726$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1944   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1946    { (exit 1); exit 1; }; }
    1947 fi
    1948 
    1949 
    1950 
    1951 
    1952 
    1953 
    1954 
    1955 
    1956 
    1957 
    1958 
    1959 
    1960 
    1961 
    1962 
    1963 
    1964 
    1965 
    1966 
    1967 
    1968 
    1969 
    1970 
    1971 
     2727  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2728fi
     2729## -------------------- ##
     2730## Main body of script. ##
     2731## -------------------- ##
    19722732
    19732733ac_ext=c
     
    19952755done
    19962756if test -z "$ac_aux_dir"; then
    1997   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1998 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1999    { (exit 1); exit 1; }; }
     2757  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    20002758fi
    20012759
     
    20252783
    20262784# Check whether --with-install was given.
    2027 if test "${with_install+set}" = set; then
     2785if test "${with_install+set}" = set; then :
    20282786  withval=$with_install;
    20292787else
     
    20602818# ./install, which can be erroneously created by make from ./install.sh.
    20612819# Reject install programs that cannot install multiple files.
    2062 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    20632821$as_echo_n "checking for a BSD-compatible install... " >&6; }
    20642822if test -z "$INSTALL"; then
    2065 if test "${ac_cv_path_install+set}" = set; then
     2823if ${ac_cv_path_install+:} false; then :
    20662824  $as_echo_n "(cached) " >&6
    20672825else
     
    20712829  IFS=$as_save_IFS
    20722830  test -z "$as_dir" && as_dir=.
    2073   # Account for people who put trailing slashes in PATH elements.
    2074 case $as_dir/ in
    2075   ./ | .// | /cC/* | \
     2831    # Account for people who put trailing slashes in PATH elements.
     2832case $as_dir/ in #((
     2833  ./ | .// | /[cC]/* | \
    20762834  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2077   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2835  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    20782836  /usr/ucb/* ) ;;
    20792837  *)
     
    20832841    for ac_prog in ginstall scoinst install; do
    20842842      for ac_exec_ext in '' $ac_executable_extensions; do
    2085         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2843        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    20862844          if test $ac_prog = install &&
    20872845            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    21122870esac
    21132871
    2114 done
     2872  done
    21152873IFS=$as_save_IFS
    21162874
     
    21282886  fi
    21292887fi
    2130 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    21312889$as_echo "$INSTALL" >&6; }
    21322890
     
    21392897test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21402898
    2141 # Find a good install program.  We prefer a C program (faster),
    2142 # so one script is as good as another.  But avoid the broken or
    2143 # incompatible versions:
    2144 # SysV /etc/install, /usr/sbin/install
    2145 # SunOS /usr/etc/install
    2146 # IRIX /sbin/install
    2147 # AIX /bin/install
    2148 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2149 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2150 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2151 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2152 # OS/2's system install, which has a completely different semantic
    2153 # ./install, which can be erroneously created by make from ./install.sh.
    2154 # Reject install programs that cannot install multiple files.
    2155 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2156 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    2157 if test -z "$INSTALL"; then
    2158 if test "${ac_cv_path_install+set}" = set; then
    2159   $as_echo_n "(cached) " >&6
    2160 else
    2161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2162 for as_dir in $PATH
    2163 do
    2164   IFS=$as_save_IFS
    2165   test -z "$as_dir" && as_dir=.
    2166   # Account for people who put trailing slashes in PATH elements.
    2167 case $as_dir/ in
    2168   ./ | .// | /cC/* | \
    2169   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2170   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2171   /usr/ucb/* ) ;;
    2172   *)
    2173     # OSF1 and SCO ODT 3.0 have their own names for install.
    2174     # Don't use installbsd from OSF since it installs stuff as root
    2175     # by default.
    2176     for ac_prog in ginstall scoinst install; do
    2177       for ac_exec_ext in '' $ac_executable_extensions; do
    2178         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2179           if test $ac_prog = install &&
    2180             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2181             # AIX install.  It has an incompatible calling convention.
    2182             :
    2183           elif test $ac_prog = install &&
    2184             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2185             # program-specific install script used by HP pwplus--don't use.
    2186             :
    2187           else
    2188             rm -rf conftest.one conftest.two conftest.dir
    2189             echo one > conftest.one
    2190             echo two > conftest.two
    2191             mkdir conftest.dir
    2192             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    2193               test -s conftest.one && test -s conftest.two &&
    2194               test -s conftest.dir/conftest.one &&
    2195               test -s conftest.dir/conftest.two
    2196             then
    2197               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2198               break 3
    2199             fi
    2200           fi
    2201         fi
    2202       done
    2203     done
    2204     ;;
    2205 esac
    2206 
    2207 done
    2208 IFS=$as_save_IFS
    2209 
    2210 rm -rf conftest.one conftest.two conftest.dir
    2211 
    2212 fi
    2213   if test "${ac_cv_path_install+set}" = set; then
    2214     INSTALL=$ac_cv_path_install
    2215   else
    2216     # As a last resort, use the slow shell script.  Don't cache a
    2217     # value for INSTALL within a source directory, because that will
    2218     # break other packages using the cache if that directory is
    2219     # removed, or if the value is a relative name.
    2220     INSTALL=$ac_install_sh
    2221   fi
    2222 fi
    2223 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    2224 $as_echo "$INSTALL" >&6; }
    2225 
    2226 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2227 # It thinks the first close brace ends the variable substitution.
    2228 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2229 
    2230 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2231 
    2232 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    22332899
    22342900if test -n "$ac_tool_prefix"; then
    22352901  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    22362902set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22382904$as_echo_n "checking for $ac_word... " >&6; }
    2239 if test "${ac_cv_prog_RANLIB+set}" = set; then
     2905if ${ac_cv_prog_RANLIB+:} false; then :
    22402906  $as_echo_n "(cached) " >&6
    22412907else
     
    22482914  IFS=$as_save_IFS
    22492915  test -z "$as_dir" && as_dir=.
    2250   for ac_exec_ext in '' $ac_executable_extensions; do
    2251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2916    for ac_exec_ext in '' $ac_executable_extensions; do
     2917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22522918    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2253     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22542920    break 2
    22552921  fi
    22562922done
    2257 done
     2923  done
    22582924IFS=$as_save_IFS
    22592925
     
    22622928RANLIB=$ac_cv_prog_RANLIB
    22632929if test -n "$RANLIB"; then
    2264   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    22652931$as_echo "$RANLIB" >&6; }
    22662932else
    2267   { $as_echo "$as_me:$LINENO: result: no" >&5
     2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22682934$as_echo "no" >&6; }
    22692935fi
     
    22752941  # Extract the first word of "ranlib", so it can be a program name with args.
    22762942set dummy ranlib; ac_word=$2
    2277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22782944$as_echo_n "checking for $ac_word... " >&6; }
    2279 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2945if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    22802946  $as_echo_n "(cached) " >&6
    22812947else
     
    22882954  IFS=$as_save_IFS
    22892955  test -z "$as_dir" && as_dir=.
    2290   for ac_exec_ext in '' $ac_executable_extensions; do
    2291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2956    for ac_exec_ext in '' $ac_executable_extensions; do
     2957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22922958    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2293     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22942960    break 2
    22952961  fi
    22962962done
    2297 done
     2963  done
    22982964IFS=$as_save_IFS
    22992965
     
    23022968ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    23032969if test -n "$ac_ct_RANLIB"; then
    2304   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    23052971$as_echo "$ac_ct_RANLIB" >&6; }
    23062972else
    2307   { $as_echo "$as_me:$LINENO: result: no" >&5
     2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23082974$as_echo "no" >&6; }
    23092975fi
     
    23142980    case $cross_compiling:$ac_tool_warned in
    23152981yes:)
    2316 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2982{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    23172983$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23182984ac_tool_warned=yes ;;
     
    23242990fi
    23252991
    2326 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    23272993$as_echo_n "checking whether ln -s works... " >&6; }
    23282994LN_S=$as_ln_s
    23292995if test "$LN_S" = "ln -s"; then
    2330   { $as_echo "$as_me:$LINENO: result: yes" >&5
     2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23312997$as_echo "yes" >&6; }
    23322998else
    2333   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    23343000$as_echo "no, using $LN_S" >&6; }
    23353001fi
    23363002
    2337 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    23383004$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    23393005if test -z "$MKDIR_P"; then
    2340   if test "${ac_cv_path_mkdir+set}" = set; then
     3006  if ${ac_cv_path_mkdir+:} false; then :
    23413007  $as_echo_n "(cached) " >&6
    23423008else
     
    23463012  IFS=$as_save_IFS
    23473013  test -z "$as_dir" && as_dir=.
    2348   for ac_prog in mkdir gmkdir; do
     3014    for ac_prog in mkdir gmkdir; do
    23493015         for ac_exec_ext in '' $ac_executable_extensions; do
    2350            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     3016           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    23513017           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    23523018             'mkdir (GNU coreutils) '* | \
     
    23583024         done
    23593025       done
    2360 done
     3026  done
    23613027IFS=$as_save_IFS
    23623028
    23633029fi
    23643030
     3031  test -d ./--version && rmdir ./--version
    23653032  if test "${ac_cv_path_mkdir+set}" = set; then
    23663033    MKDIR_P="$ac_cv_path_mkdir -p"
     
    23703037    # break other packages using the cache if that directory is
    23713038    # removed, or if the value is a relative name.
    2372     test -d ./--version && rmdir ./--version
    23733039    MKDIR_P="$ac_install_sh -d"
    23743040  fi
    23753041fi
    2376 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    23773043$as_echo "$MKDIR_P" >&6; }
    23783044
    2379 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    23803046$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    23813047set x ${MAKE-make}
    23823048ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2383 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3049if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    23843050  $as_echo_n "(cached) " >&6
    23853051else
     
    23893055        @echo '@@@%%%=$(MAKE)=@@@%%%'
    23903056_ACEOF
    2391 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3057# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    23923058case `${MAKE-make} -f conftest.make 2>/dev/null` in
    23933059  *@@@%%%=?*=@@@%%%*)
     
    23993065fi
    24003066if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2401   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    24023068$as_echo "yes" >&6; }
    24033069  SET_MAKE=
    24043070else
    2405   { $as_echo "$as_me:$LINENO: result: no" >&5
     3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24063072$as_echo "no" >&6; }
    24073073  SET_MAKE="MAKE=${MAKE-make}"
     
    24183084  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24193085set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24213087$as_echo_n "checking for $ac_word... " >&6; }
    2422 if test "${ac_cv_prog_CC+set}" = set; then
     3088if ${ac_cv_prog_CC+:} false; then :
    24233089  $as_echo_n "(cached) " >&6
    24243090else
     
    24313097  IFS=$as_save_IFS
    24323098  test -z "$as_dir" && as_dir=.
    2433   for ac_exec_ext in '' $ac_executable_extensions; do
    2434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3099    for ac_exec_ext in '' $ac_executable_extensions; do
     3100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24353101    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2436     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24373103    break 2
    24383104  fi
    24393105done
    2440 done
     3106  done
    24413107IFS=$as_save_IFS
    24423108
     
    24453111CC=$ac_cv_prog_CC
    24463112if test -n "$CC"; then
    2447   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    24483114$as_echo "$CC" >&6; }
    24493115else
    2450   { $as_echo "$as_me:$LINENO: result: no" >&5
     3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24513117$as_echo "no" >&6; }
    24523118fi
     
    24583124  # Extract the first word of "gcc", so it can be a program name with args.
    24593125set dummy gcc; ac_word=$2
    2460 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24613127$as_echo_n "checking for $ac_word... " >&6; }
    2462 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3128if ${ac_cv_prog_ac_ct_CC+:} false; then :
    24633129  $as_echo_n "(cached) " >&6
    24643130else
     
    24713137  IFS=$as_save_IFS
    24723138  test -z "$as_dir" && as_dir=.
    2473   for ac_exec_ext in '' $ac_executable_extensions; do
    2474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3139    for ac_exec_ext in '' $ac_executable_extensions; do
     3140  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24753141    ac_cv_prog_ac_ct_CC="gcc"
    2476     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24773143    break 2
    24783144  fi
    24793145done
    2480 done
     3146  done
    24813147IFS=$as_save_IFS
    24823148
     
    24853151ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24863152if test -n "$ac_ct_CC"; then
    2487   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    24883154$as_echo "$ac_ct_CC" >&6; }
    24893155else
    2490   { $as_echo "$as_me:$LINENO: result: no" >&5
     3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24913157$as_echo "no" >&6; }
    24923158fi
     
    24973163    case $cross_compiling:$ac_tool_warned in
    24983164yes:)
    2499 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    25003166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    25013167ac_tool_warned=yes ;;
     
    25113177    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    25123178set dummy ${ac_tool_prefix}cc; ac_word=$2
    2513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25143180$as_echo_n "checking for $ac_word... " >&6; }
    2515 if test "${ac_cv_prog_CC+set}" = set; then
     3181if ${ac_cv_prog_CC+:} false; then :
    25163182  $as_echo_n "(cached) " >&6
    25173183else
     
    25243190  IFS=$as_save_IFS
    25253191  test -z "$as_dir" && as_dir=.
    2526   for ac_exec_ext in '' $ac_executable_extensions; do
    2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3192    for ac_exec_ext in '' $ac_executable_extensions; do
     3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25283194    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2529     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25303196    break 2
    25313197  fi
    25323198done
    2533 done
     3199  done
    25343200IFS=$as_save_IFS
    25353201
     
    25383204CC=$ac_cv_prog_CC
    25393205if test -n "$CC"; then
    2540   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25413207$as_echo "$CC" >&6; }
    25423208else
    2543   { $as_echo "$as_me:$LINENO: result: no" >&5
     3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25443210$as_echo "no" >&6; }
    25453211fi
     
    25513217  # Extract the first word of "cc", so it can be a program name with args.
    25523218set dummy cc; ac_word=$2
    2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25543220$as_echo_n "checking for $ac_word... " >&6; }
    2555 if test "${ac_cv_prog_CC+set}" = set; then
     3221if ${ac_cv_prog_CC+:} false; then :
    25563222  $as_echo_n "(cached) " >&6
    25573223else
     
    25653231  IFS=$as_save_IFS
    25663232  test -z "$as_dir" && as_dir=.
    2567   for ac_exec_ext in '' $ac_executable_extensions; do
    2568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3233    for ac_exec_ext in '' $ac_executable_extensions; do
     3234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25693235    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    25703236       ac_prog_rejected=yes
     
    25723238     fi
    25733239    ac_cv_prog_CC="cc"
    2574     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25753241    break 2
    25763242  fi
    25773243done
    2578 done
     3244  done
    25793245IFS=$as_save_IFS
    25803246
     
    25953261CC=$ac_cv_prog_CC
    25963262if test -n "$CC"; then
    2597   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25983264$as_echo "$CC" >&6; }
    25993265else
    2600   { $as_echo "$as_me:$LINENO: result: no" >&5
     3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26013267$as_echo "no" >&6; }
    26023268fi
     
    26103276    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    26113277set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26133279$as_echo_n "checking for $ac_word... " >&6; }
    2614 if test "${ac_cv_prog_CC+set}" = set; then
     3280if ${ac_cv_prog_CC+:} false; then :
    26153281  $as_echo_n "(cached) " >&6
    26163282else
     
    26233289  IFS=$as_save_IFS
    26243290  test -z "$as_dir" && as_dir=.
    2625   for ac_exec_ext in '' $ac_executable_extensions; do
    2626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3291    for ac_exec_ext in '' $ac_executable_extensions; do
     3292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26273293    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2628     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26293295    break 2
    26303296  fi
    26313297done
    2632 done
     3298  done
    26333299IFS=$as_save_IFS
    26343300
     
    26373303CC=$ac_cv_prog_CC
    26383304if test -n "$CC"; then
    2639   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    26403306$as_echo "$CC" >&6; }
    26413307else
    2642   { $as_echo "$as_me:$LINENO: result: no" >&5
     3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26433309$as_echo "no" >&6; }
    26443310fi
     
    26543320  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26553321set dummy $ac_prog; ac_word=$2
    2656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26573323$as_echo_n "checking for $ac_word... " >&6; }
    2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3324if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26593325  $as_echo_n "(cached) " >&6
    26603326else
     
    26673333  IFS=$as_save_IFS
    26683334  test -z "$as_dir" && as_dir=.
    2669   for ac_exec_ext in '' $ac_executable_extensions; do
    2670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3335    for ac_exec_ext in '' $ac_executable_extensions; do
     3336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26713337    ac_cv_prog_ac_ct_CC="$ac_prog"
    2672     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26733339    break 2
    26743340  fi
    26753341done
    2676 done
     3342  done
    26773343IFS=$as_save_IFS
    26783344
     
    26813347ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26823348if test -n "$ac_ct_CC"; then
    2683   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    26843350$as_echo "$ac_ct_CC" >&6; }
    26853351else
    2686   { $as_echo "$as_me:$LINENO: result: no" >&5
     3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26873353$as_echo "no" >&6; }
    26883354fi
     
    26973363    case $cross_compiling:$ac_tool_warned in
    26983364yes:)
    2699 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    27003366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    27013367ac_tool_warned=yes ;;
     
    27083374
    27093375
    2710 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3376test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    27113377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2712 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2713 See \`config.log' for more details." >&5
    2714 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2715 See \`config.log' for more details." >&2;}
    2716    { (exit 1); exit 1; }; }; }
     3378as_fn_error $? "no acceptable C compiler found in \$PATH
     3379See \`config.log' for more details" "$LINENO" 5; }
    27173380
    27183381# Provide some information about the compiler.
    2719 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3382$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27203383set X $ac_compile
    27213384ac_compiler=$2
    2722 { (ac_try="$ac_compiler --version >&5"
     3385for ac_option in --version -v -V -qversion; do
     3386  { { ac_try="$ac_compiler $ac_option >&5"
    27233387case "(($ac_try" in
    27243388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27253389  *) ac_try_echo=$ac_try;;
    27263390esac
    2727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2728 $as_echo "$ac_try_echo") >&5
    2729   (eval "$ac_compiler --version >&5") 2>&5
     3391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3392$as_echo "$ac_try_echo"; } >&5
     3393  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    27303394  ac_status=$?
    2731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2732   (exit $ac_status); }
    2733 { (ac_try="$ac_compiler -v >&5"
    2734 case "(($ac_try" in
    2735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2736   *) ac_try_echo=$ac_try;;
    2737 esac
    2738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2739 $as_echo "$ac_try_echo") >&5
    2740   (eval "$ac_compiler -v >&5") 2>&5
    2741   ac_status=$?
    2742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2743   (exit $ac_status); }
    2744 { (ac_try="$ac_compiler -V >&5"
    2745 case "(($ac_try" in
    2746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2747   *) ac_try_echo=$ac_try;;
    2748 esac
    2749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2750 $as_echo "$ac_try_echo") >&5
    2751   (eval "$ac_compiler -V >&5") 2>&5
    2752   ac_status=$?
    2753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2754   (exit $ac_status); }
    2755 
    2756 cat >conftest.$ac_ext <<_ACEOF
    2757 /* confdefs.h.  */
    2758 _ACEOF
    2759 cat confdefs.h >>conftest.$ac_ext
    2760 cat >>conftest.$ac_ext <<_ACEOF
     3395  if test -s conftest.err; then
     3396    sed '10a\
     3397... rest of stderr output deleted ...
     3398         10q' conftest.err >conftest.er1
     3399    cat conftest.er1 >&5
     3400  fi
     3401  rm -f conftest.er1 conftest.err
     3402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3403  test $ac_status = 0; }
     3404done
     3405
     3406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27613407/* end confdefs.h.  */
    27623408
     
    27743420# It will help us diagnose broken compilers, and finding out an intuition
    27753421# of exeext.
    2776 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2777 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3423$as_echo_n "checking whether the C compiler works... " >&6; }
    27783424ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27793425
     
    27913437rm -f $ac_rmfiles
    27923438
    2793 if { (ac_try="$ac_link_default"
     3439if { { ac_try="$ac_link_default"
    27943440case "(($ac_try" in
    27953441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27963442  *) ac_try_echo=$ac_try;;
    27973443esac
    2798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2799 $as_echo "$ac_try_echo") >&5
     3444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3445$as_echo "$ac_try_echo"; } >&5
    28003446  (eval "$ac_link_default") 2>&5
    28013447  ac_status=$?
    2802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2803   (exit $ac_status); }; then
     3448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3449  test $ac_status = 0; }; then :
    28043450  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    28053451# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    28183464        break;;
    28193465    *.* )
    2820         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3466        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    28213467        then :; else
    28223468           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    28373483  ac_file=''
    28383484fi
    2839 
    2840 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3485if test -z "$ac_file"; then :
     3486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3487$as_echo "no" >&6; }
     3488$as_echo "$as_me: failed program was:" >&5
     3489sed 's/^/| /' conftest.$ac_ext >&5
     3490
     3491{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3493as_fn_error 77 "C compiler cannot create executables
     3494See \`config.log' for more details" "$LINENO" 5; }
     3495else
     3496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3497$as_echo "yes" >&6; }
     3498fi
     3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3500$as_echo_n "checking for C compiler default output file name... " >&6; }
     3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28413502$as_echo "$ac_file" >&6; }
    2842 if test -z "$ac_file"; then
    2843   $as_echo "$as_me: failed program was:" >&5
    2844 sed 's/^/| /' conftest.$ac_ext >&5
    2845 
    2846 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2848 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2849 See \`config.log' for more details." >&5
    2850 $as_echo "$as_me: error: C compiler cannot create executables
    2851 See \`config.log' for more details." >&2;}
    2852    { (exit 77); exit 77; }; }; }
    2853 fi
    2854 
    28553503ac_exeext=$ac_cv_exeext
    2856 
    2857 # Check that the compiler produces executables we can run.  If not, either
    2858 # the compiler is broken, or we cross compile.
    2859 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2860 $as_echo_n "checking whether the C compiler works... " >&6; }
    2861 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2862 # If not cross compiling, check that we can run a simple program.
    2863 if test "$cross_compiling" != yes; then
    2864   if { ac_try='./$ac_file'
    2865   { (case "(($ac_try" in
    2866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2867   *) ac_try_echo=$ac_try;;
    2868 esac
    2869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2870 $as_echo "$ac_try_echo") >&5
    2871   (eval "$ac_try") 2>&5
    2872   ac_status=$?
    2873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2874   (exit $ac_status); }; }; then
    2875     cross_compiling=no
    2876   else
    2877     if test "$cross_compiling" = maybe; then
    2878         cross_compiling=yes
    2879     else
    2880         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2882 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2883 If you meant to cross compile, use \`--host'.
    2884 See \`config.log' for more details." >&5
    2885 $as_echo "$as_me: error: cannot run C compiled programs.
    2886 If you meant to cross compile, use \`--host'.
    2887 See \`config.log' for more details." >&2;}
    2888    { (exit 1); exit 1; }; }; }
    2889     fi
    2890   fi
    2891 fi
    2892 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2893 $as_echo "yes" >&6; }
    28943504
    28953505rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    28963506ac_clean_files=$ac_clean_files_save
    2897 # Check that the compiler produces executables we can run.  If not, either
    2898 # the compiler is broken, or we cross compile.
    2899 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2900 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2901 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2902 $as_echo "$cross_compiling" >&6; }
    2903 
    2904 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    29053508$as_echo_n "checking for suffix of executables... " >&6; }
    2906 if { (ac_try="$ac_link"
     3509if { { ac_try="$ac_link"
    29073510case "(($ac_try" in
    29083511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29093512  *) ac_try_echo=$ac_try;;
    29103513esac
    2911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2912 $as_echo "$ac_try_echo") >&5
     3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3515$as_echo "$ac_try_echo"; } >&5
    29133516  (eval "$ac_link") 2>&5
    29143517  ac_status=$?
    2915   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2916   (exit $ac_status); }; then
     3518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3519  test $ac_status = 0; }; then :
    29173520  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29183521# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29293532done
    29303533else
    2931   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3534  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29323535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2933 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2934 See \`config.log' for more details." >&5
    2935 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2936 See \`config.log' for more details." >&2;}
    2937    { (exit 1); exit 1; }; }; }
    2938 fi
    2939 
    2940 rm -f conftest$ac_cv_exeext
    2941 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3536as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3537See \`config.log' for more details" "$LINENO" 5; }
     3538fi
     3539rm -f conftest conftest$ac_cv_exeext
     3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    29423541$as_echo "$ac_cv_exeext" >&6; }
    29433542
     
    29453544EXEEXT=$ac_cv_exeext
    29463545ac_exeext=$EXEEXT
    2947 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2948 $as_echo_n "checking for suffix of object files... " >&6; }
    2949 if test "${ac_cv_objext+set}" = set; then
    2950   $as_echo_n "(cached) " >&6
    2951 else
    2952   cat >conftest.$ac_ext <<_ACEOF
    2953 /* confdefs.h.  */
    2954 _ACEOF
    2955 cat confdefs.h >>conftest.$ac_ext
    2956 cat >>conftest.$ac_ext <<_ACEOF
     3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29573547/* end confdefs.h.  */
    2958 
     3548#include <stdio.h>
    29593549int
    29603550main ()
    29613551{
     3552FILE *f = fopen ("conftest.out", "w");
     3553 return ferror (f) || fclose (f) != 0;
    29623554
    29633555  ;
     
    29653557}
    29663558_ACEOF
    2967 rm -f conftest.o conftest.obj
    2968 if { (ac_try="$ac_compile"
     3559ac_clean_files="$ac_clean_files conftest.out"
     3560# Check that the compiler produces executables we can run.  If not, either
     3561# the compiler is broken, or we cross compile.
     3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3563$as_echo_n "checking whether we are cross compiling... " >&6; }
     3564if test "$cross_compiling" != yes; then
     3565  { { ac_try="$ac_link"
    29693566case "(($ac_try" in
    29703567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29713568  *) ac_try_echo=$ac_try;;
    29723569esac
    2973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2974 $as_echo "$ac_try_echo") >&5
     3570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3571$as_echo "$ac_try_echo"; } >&5
     3572  (eval "$ac_link") 2>&5
     3573  ac_status=$?
     3574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3575  test $ac_status = 0; }
     3576  if { ac_try='./conftest$ac_cv_exeext'
     3577  { { case "(($ac_try" in
     3578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3579  *) ac_try_echo=$ac_try;;
     3580esac
     3581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3582$as_echo "$ac_try_echo"; } >&5
     3583  (eval "$ac_try") 2>&5
     3584  ac_status=$?
     3585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3586  test $ac_status = 0; }; }; then
     3587    cross_compiling=no
     3588  else
     3589    if test "$cross_compiling" = maybe; then
     3590        cross_compiling=yes
     3591    else
     3592        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3594as_fn_error $? "cannot run C compiled programs.
     3595If you meant to cross compile, use \`--host'.
     3596See \`config.log' for more details" "$LINENO" 5; }
     3597    fi
     3598  fi
     3599fi
     3600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3601$as_echo "$cross_compiling" >&6; }
     3602
     3603rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3604ac_clean_files=$ac_clean_files_save
     3605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3606$as_echo_n "checking for suffix of object files... " >&6; }
     3607if ${ac_cv_objext+:} false; then :
     3608  $as_echo_n "(cached) " >&6
     3609else
     3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3611/* end confdefs.h.  */
     3612
     3613int
     3614main ()
     3615{
     3616
     3617  ;
     3618  return 0;
     3619}
     3620_ACEOF
     3621rm -f conftest.o conftest.obj
     3622if { { ac_try="$ac_compile"
     3623case "(($ac_try" in
     3624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3625  *) ac_try_echo=$ac_try;;
     3626esac
     3627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3628$as_echo "$ac_try_echo"; } >&5
    29753629  (eval "$ac_compile") 2>&5
    29763630  ac_status=$?
    2977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2978   (exit $ac_status); }; then
     3631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3632  test $ac_status = 0; }; then :
    29793633  for ac_file in conftest.o conftest.obj conftest.*; do
    29803634  test -f "$ac_file" || continue;
     
    29893643sed 's/^/| /' conftest.$ac_ext >&5
    29903644
    2991 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3645{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29923646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2993 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2994 See \`config.log' for more details." >&5
    2995 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2996 See \`config.log' for more details." >&2;}
    2997    { (exit 1); exit 1; }; }; }
    2998 fi
    2999 
     3647as_fn_error $? "cannot compute suffix of object files: cannot compile
     3648See \`config.log' for more details" "$LINENO" 5; }
     3649fi
    30003650rm -f conftest.$ac_cv_objext conftest.$ac_ext
    30013651fi
    3002 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    30033653$as_echo "$ac_cv_objext" >&6; }
    30043654OBJEXT=$ac_cv_objext
    30053655ac_objext=$OBJEXT
    3006 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    30073657$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3008 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3658if ${ac_cv_c_compiler_gnu+:} false; then :
    30093659  $as_echo_n "(cached) " >&6
    30103660else
    3011   cat >conftest.$ac_ext <<_ACEOF
    3012 /* confdefs.h.  */
    3013 _ACEOF
    3014 cat confdefs.h >>conftest.$ac_ext
    3015 cat >>conftest.$ac_ext <<_ACEOF
     3661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30163662/* end confdefs.h.  */
    30173663
     
    30273673}
    30283674_ACEOF
    3029 rm -f conftest.$ac_objext
    3030 if { (ac_try="$ac_compile"
    3031 case "(($ac_try" in
    3032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3033   *) ac_try_echo=$ac_try;;
    3034 esac
    3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3036 $as_echo "$ac_try_echo") >&5
    3037   (eval "$ac_compile") 2>conftest.er1
    3038   ac_status=$?
    3039   grep -v '^ *+' conftest.er1 >conftest.err
    3040   rm -f conftest.er1
    3041   cat conftest.err >&5
    3042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3043   (exit $ac_status); } && {
    3044          test -z "$ac_c_werror_flag" ||
    3045          test ! -s conftest.err
    3046        } && test -s conftest.$ac_objext; then
     3675if ac_fn_c_try_compile "$LINENO"; then :
    30473676  ac_compiler_gnu=yes
    30483677else
    3049   $as_echo "$as_me: failed program was:" >&5
    3050 sed 's/^/| /' conftest.$ac_ext >&5
    3051 
    3052         ac_compiler_gnu=no
    3053 fi
    3054 
     3678  ac_compiler_gnu=no
     3679fi
    30553680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30563681ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30573682
    30583683fi
    3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    30603685$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    30613686if test $ac_compiler_gnu = yes; then
     
    30663691ac_test_CFLAGS=${CFLAGS+set}
    30673692ac_save_CFLAGS=$CFLAGS
    3068 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    30693694$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3070 if test "${ac_cv_prog_cc_g+set}" = set; then
     3695if ${ac_cv_prog_cc_g+:} false; then :
    30713696  $as_echo_n "(cached) " >&6
    30723697else
     
    30753700   ac_cv_prog_cc_g=no
    30763701   CFLAGS="-g"
    3077    cat >conftest.$ac_ext <<_ACEOF
    3078 /* confdefs.h.  */
    3079 _ACEOF
    3080 cat confdefs.h >>conftest.$ac_ext
    3081 cat >>conftest.$ac_ext <<_ACEOF
     3702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30823703/* end confdefs.h.  */
    30833704
     
    30903711}
    30913712_ACEOF
    3092 rm -f conftest.$ac_objext
    3093 if { (ac_try="$ac_compile"
    3094 case "(($ac_try" in
    3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3096   *) ac_try_echo=$ac_try;;
    3097 esac
    3098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3099 $as_echo "$ac_try_echo") >&5
    3100   (eval "$ac_compile") 2>conftest.er1
    3101   ac_status=$?
    3102   grep -v '^ *+' conftest.er1 >conftest.err
    3103   rm -f conftest.er1
    3104   cat conftest.err >&5
    3105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3106   (exit $ac_status); } && {
    3107          test -z "$ac_c_werror_flag" ||
    3108          test ! -s conftest.err
    3109        } && test -s conftest.$ac_objext; then
     3713if ac_fn_c_try_compile "$LINENO"; then :
    31103714  ac_cv_prog_cc_g=yes
    31113715else
    3112   $as_echo "$as_me: failed program was:" >&5
    3113 sed 's/^/| /' conftest.$ac_ext >&5
    3114 
    3115         CFLAGS=""
    3116       cat >conftest.$ac_ext <<_ACEOF
    3117 /* confdefs.h.  */
    3118 _ACEOF
    3119 cat confdefs.h >>conftest.$ac_ext
    3120 cat >>conftest.$ac_ext <<_ACEOF
     3716  CFLAGS=""
     3717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31213718/* end confdefs.h.  */
    31223719
     
    31293726}
    31303727_ACEOF
    3131 rm -f conftest.$ac_objext
    3132 if { (ac_try="$ac_compile"
    3133 case "(($ac_try" in
    3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3135   *) ac_try_echo=$ac_try;;
    3136 esac
    3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3138 $as_echo "$ac_try_echo") >&5
    3139   (eval "$ac_compile") 2>conftest.er1
    3140   ac_status=$?
    3141   grep -v '^ *+' conftest.er1 >conftest.err
    3142   rm -f conftest.er1
    3143   cat conftest.err >&5
    3144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3145   (exit $ac_status); } && {
    3146          test -z "$ac_c_werror_flag" ||
    3147          test ! -s conftest.err
    3148        } && test -s conftest.$ac_objext; then
    3149   :
    3150 else
    3151   $as_echo "$as_me: failed program was:" >&5
    3152 sed 's/^/| /' conftest.$ac_ext >&5
    3153 
    3154         ac_c_werror_flag=$ac_save_c_werror_flag
     3728if ac_fn_c_try_compile "$LINENO"; then :
     3729
     3730else
     3731  ac_c_werror_flag=$ac_save_c_werror_flag
    31553732         CFLAGS="-g"
    3156          cat >conftest.$ac_ext <<_ACEOF
    3157 /* confdefs.h.  */
    3158 _ACEOF
    3159 cat confdefs.h >>conftest.$ac_ext
    3160 cat >>conftest.$ac_ext <<_ACEOF
     3733         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31613734/* end confdefs.h.  */
    31623735
     
    31693742}
    31703743_ACEOF
    3171 rm -f conftest.$ac_objext
    3172 if { (ac_try="$ac_compile"
    3173 case "(($ac_try" in
    3174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3175   *) ac_try_echo=$ac_try;;
    3176 esac
    3177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3178 $as_echo "$ac_try_echo") >&5
    3179   (eval "$ac_compile") 2>conftest.er1
    3180   ac_status=$?
    3181   grep -v '^ *+' conftest.er1 >conftest.err
    3182   rm -f conftest.er1
    3183   cat conftest.err >&5
    3184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3185   (exit $ac_status); } && {
    3186          test -z "$ac_c_werror_flag" ||
    3187          test ! -s conftest.err
    3188        } && test -s conftest.$ac_objext; then
     3744if ac_fn_c_try_compile "$LINENO"; then :
    31893745  ac_cv_prog_cc_g=yes
    3190 else
    3191   $as_echo "$as_me: failed program was:" >&5
    3192 sed 's/^/| /' conftest.$ac_ext >&5
    3193 
    3194 
    3195 fi
    3196 
     3746fi
    31973747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31983748fi
    3199 
    32003749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32013750fi
    3202 
    32033751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32043752   ac_c_werror_flag=$ac_save_c_werror_flag
    32053753fi
    3206 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    32073755$as_echo "$ac_cv_prog_cc_g" >&6; }
    32083756if test "$ac_test_CFLAGS" = set; then
     
    32213769  fi
    32223770fi
    3223 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    32243772$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3225 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3773if ${ac_cv_prog_cc_c89+:} false; then :
    32263774  $as_echo_n "(cached) " >&6
    32273775else
    32283776  ac_cv_prog_cc_c89=no
    32293777ac_save_CC=$CC
    3230 cat >conftest.$ac_ext <<_ACEOF
    3231 /* confdefs.h.  */
    3232 _ACEOF
    3233 cat confdefs.h >>conftest.$ac_ext
    3234 cat >>conftest.$ac_ext <<_ACEOF
     3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32353779/* end confdefs.h.  */
    32363780#include <stdarg.h>
    32373781#include <stdio.h>
    3238 #include <sys/types.h>
    3239 #include <sys/stat.h>
     3782struct stat;
    32403783/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32413784struct buf { int x; };
     
    32893832do
    32903833  CC="$ac_save_CC $ac_arg"
    3291   rm -f conftest.$ac_objext
    3292 if { (ac_try="$ac_compile"
    3293 case "(($ac_try" in
    3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3295   *) ac_try_echo=$ac_try;;
    3296 esac
    3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3298 $as_echo "$ac_try_echo") >&5
    3299   (eval "$ac_compile") 2>conftest.er1
    3300   ac_status=$?
    3301   grep -v '^ *+' conftest.er1 >conftest.err
    3302   rm -f conftest.er1
    3303   cat conftest.err >&5
    3304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3305   (exit $ac_status); } && {
    3306          test -z "$ac_c_werror_flag" ||
    3307          test ! -s conftest.err
    3308        } && test -s conftest.$ac_objext; then
     3834  if ac_fn_c_try_compile "$LINENO"; then :
    33093835  ac_cv_prog_cc_c89=$ac_arg
    3310 else
    3311   $as_echo "$as_me: failed program was:" >&5
    3312 sed 's/^/| /' conftest.$ac_ext >&5
    3313 
    3314 
    3315 fi
    3316 
     3836fi
    33173837rm -f core conftest.err conftest.$ac_objext
    33183838  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    33253845case "x$ac_cv_prog_cc_c89" in
    33263846  x)
    3327     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    33283848$as_echo "none needed" >&6; } ;;
    33293849  xno)
    3330     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3850    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    33313851$as_echo "unsupported" >&6; } ;;
    33323852  *)
    33333853    CC="$CC $ac_cv_prog_cc_c89"
    3334     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    33353855$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33363856esac
    3337 
     3857if test "x$ac_cv_prog_cc_c89" != xno; then :
     3858
     3859fi
    33383860
    33393861ac_ext=c
     
    33573879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33583880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33603882$as_echo_n "checking for $ac_word... " >&6; }
    3361 if test "${ac_cv_prog_CXX+set}" = set; then
     3883if ${ac_cv_prog_CXX+:} false; then :
    33623884  $as_echo_n "(cached) " >&6
    33633885else
     
    33703892  IFS=$as_save_IFS
    33713893  test -z "$as_dir" && as_dir=.
    3372   for ac_exec_ext in '' $ac_executable_extensions; do
    3373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3894    for ac_exec_ext in '' $ac_executable_extensions; do
     3895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33743896    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3375     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33763898    break 2
    33773899  fi
    33783900done
    3379 done
     3901  done
    33803902IFS=$as_save_IFS
    33813903
     
    33843906CXX=$ac_cv_prog_CXX
    33853907if test -n "$CXX"; then
    3386   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    33873909$as_echo "$CXX" >&6; }
    33883910else
    3389   { $as_echo "$as_me:$LINENO: result: no" >&5
     3911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    33903912$as_echo "no" >&6; }
    33913913fi
     
    34013923  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34023924set dummy $ac_prog; ac_word=$2
    3403 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    34043926$as_echo_n "checking for $ac_word... " >&6; }
    3405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3927if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    34063928  $as_echo_n "(cached) " >&6
    34073929else
     
    34143936  IFS=$as_save_IFS
    34153937  test -z "$as_dir" && as_dir=.
    3416   for ac_exec_ext in '' $ac_executable_extensions; do
    3417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3938    for ac_exec_ext in '' $ac_executable_extensions; do
     3939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34183940    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3419     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34203942    break 2
    34213943  fi
    34223944done
    3423 done
     3945  done
    34243946IFS=$as_save_IFS
    34253947
     
    34283950ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34293951if test -n "$ac_ct_CXX"; then
    3430   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    34313953$as_echo "$ac_ct_CXX" >&6; }
    34323954else
    3433   { $as_echo "$as_me:$LINENO: result: no" >&5
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34343956$as_echo "no" >&6; }
    34353957fi
     
    34443966    case $cross_compiling:$ac_tool_warned in
    34453967yes:)
    3446 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    34473969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34483970ac_tool_warned=yes ;;
     
    34553977fi
    34563978# Provide some information about the compiler.
    3457 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3979$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    34583980set X $ac_compile
    34593981ac_compiler=$2
    3460 { (ac_try="$ac_compiler --version >&5"
     3982for ac_option in --version -v -V -qversion; do
     3983  { { ac_try="$ac_compiler $ac_option >&5"
    34613984case "(($ac_try" in
    34623985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34633986  *) ac_try_echo=$ac_try;;
    34643987esac
    3465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3466 $as_echo "$ac_try_echo") >&5
    3467   (eval "$ac_compiler --version >&5") 2>&5
     3988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3989$as_echo "$ac_try_echo"; } >&5
     3990  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    34683991  ac_status=$?
    3469   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3470   (exit $ac_status); }
    3471 { (ac_try="$ac_compiler -v >&5"
    3472 case "(($ac_try" in
    3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3474   *) ac_try_echo=$ac_try;;
    3475 esac
    3476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3477 $as_echo "$ac_try_echo") >&5
    3478   (eval "$ac_compiler -v >&5") 2>&5
    3479   ac_status=$?
    3480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3481   (exit $ac_status); }
    3482 { (ac_try="$ac_compiler -V >&5"
    3483 case "(($ac_try" in
    3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3485   *) ac_try_echo=$ac_try;;
    3486 esac
    3487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3488 $as_echo "$ac_try_echo") >&5
    3489   (eval "$ac_compiler -V >&5") 2>&5
    3490   ac_status=$?
    3491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3492   (exit $ac_status); }
    3493 
    3494 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3992  if test -s conftest.err; then
     3993    sed '10a\
     3994... rest of stderr output deleted ...
     3995         10q' conftest.err >conftest.er1
     3996    cat conftest.er1 >&5
     3997  fi
     3998  rm -f conftest.er1 conftest.err
     3999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4000  test $ac_status = 0; }
     4001done
     4002
     4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    34954004$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3496 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4005if ${ac_cv_cxx_compiler_gnu+:} false; then :
    34974006  $as_echo_n "(cached) " >&6
    34984007else
    3499   cat >conftest.$ac_ext <<_ACEOF
    3500 /* confdefs.h.  */
    3501 _ACEOF
    3502 cat confdefs.h >>conftest.$ac_ext
    3503 cat >>conftest.$ac_ext <<_ACEOF
     4008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35044009/* end confdefs.h.  */
    35054010
     
    35154020}
    35164021_ACEOF
    3517 rm -f conftest.$ac_objext
    3518 if { (ac_try="$ac_compile"
    3519 case "(($ac_try" in
    3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3521   *) ac_try_echo=$ac_try;;
    3522 esac
    3523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3524 $as_echo "$ac_try_echo") >&5
    3525   (eval "$ac_compile") 2>conftest.er1
    3526   ac_status=$?
    3527   grep -v '^ *+' conftest.er1 >conftest.err
    3528   rm -f conftest.er1
    3529   cat conftest.err >&5
    3530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3531   (exit $ac_status); } && {
    3532          test -z "$ac_cxx_werror_flag" ||
    3533          test ! -s conftest.err
    3534        } && test -s conftest.$ac_objext; then
     4022if ac_fn_cxx_try_compile "$LINENO"; then :
    35354023  ac_compiler_gnu=yes
    35364024else
    3537   $as_echo "$as_me: failed program was:" >&5
    3538 sed 's/^/| /' conftest.$ac_ext >&5
    3539 
    3540         ac_compiler_gnu=no
    3541 fi
    3542 
     4025  ac_compiler_gnu=no
     4026fi
    35434027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35444028ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35454029
    35464030fi
    3547 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    35484032$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    35494033if test $ac_compiler_gnu = yes; then
     
    35544038ac_test_CXXFLAGS=${CXXFLAGS+set}
    35554039ac_save_CXXFLAGS=$CXXFLAGS
    3556 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    35574041$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3558 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4042if ${ac_cv_prog_cxx_g+:} false; then :
    35594043  $as_echo_n "(cached) " >&6
    35604044else
     
    35634047   ac_cv_prog_cxx_g=no
    35644048   CXXFLAGS="-g"
    3565    cat >conftest.$ac_ext <<_ACEOF
    3566 /* confdefs.h.  */
    3567 _ACEOF
    3568 cat confdefs.h >>conftest.$ac_ext
    3569 cat >>conftest.$ac_ext <<_ACEOF
     4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35704050/* end confdefs.h.  */
    35714051
     
    35784058}
    35794059_ACEOF
    3580 rm -f conftest.$ac_objext
    3581 if { (ac_try="$ac_compile"
    3582 case "(($ac_try" in
    3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3584   *) ac_try_echo=$ac_try;;
    3585 esac
    3586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3587 $as_echo "$ac_try_echo") >&5
    3588   (eval "$ac_compile") 2>conftest.er1
    3589   ac_status=$?
    3590   grep -v '^ *+' conftest.er1 >conftest.err
    3591   rm -f conftest.er1
    3592   cat conftest.err >&5
    3593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3594   (exit $ac_status); } && {
    3595          test -z "$ac_cxx_werror_flag" ||
    3596          test ! -s conftest.err
    3597        } && test -s conftest.$ac_objext; then
     4060if ac_fn_cxx_try_compile "$LINENO"; then :
    35984061  ac_cv_prog_cxx_g=yes
    35994062else
    3600   $as_echo "$as_me: failed program was:" >&5
    3601 sed 's/^/| /' conftest.$ac_ext >&5
    3602 
    3603         CXXFLAGS=""
    3604       cat >conftest.$ac_ext <<_ACEOF
    3605 /* confdefs.h.  */
    3606 _ACEOF
    3607 cat confdefs.h >>conftest.$ac_ext
    3608 cat >>conftest.$ac_ext <<_ACEOF
     4063  CXXFLAGS=""
     4064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36094065/* end confdefs.h.  */
    36104066
     
    36174073}
    36184074_ACEOF
    3619 rm -f conftest.$ac_objext
    3620 if { (ac_try="$ac_compile"
    3621 case "(($ac_try" in
    3622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3623   *) ac_try_echo=$ac_try;;
    3624 esac
    3625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3626 $as_echo "$ac_try_echo") >&5
    3627   (eval "$ac_compile") 2>conftest.er1
    3628   ac_status=$?
    3629   grep -v '^ *+' conftest.er1 >conftest.err
    3630   rm -f conftest.er1
    3631   cat conftest.err >&5
    3632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3633   (exit $ac_status); } && {
    3634          test -z "$ac_cxx_werror_flag" ||
    3635          test ! -s conftest.err
    3636        } && test -s conftest.$ac_objext; then
    3637   :
    3638 else
    3639   $as_echo "$as_me: failed program was:" >&5
    3640 sed 's/^/| /' conftest.$ac_ext >&5
    3641 
    3642         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4075if ac_fn_cxx_try_compile "$LINENO"; then :
     4076
     4077else
     4078  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36434079         CXXFLAGS="-g"
    3644          cat >conftest.$ac_ext <<_ACEOF
    3645 /* confdefs.h.  */
    3646 _ACEOF
    3647 cat confdefs.h >>conftest.$ac_ext
    3648 cat >>conftest.$ac_ext <<_ACEOF
     4080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36494081/* end confdefs.h.  */
    36504082
     
    36574089}
    36584090_ACEOF
    3659 rm -f conftest.$ac_objext
    3660 if { (ac_try="$ac_compile"
    3661 case "(($ac_try" in
    3662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3663   *) ac_try_echo=$ac_try;;
    3664 esac
    3665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3666 $as_echo "$ac_try_echo") >&5
    3667   (eval "$ac_compile") 2>conftest.er1
    3668   ac_status=$?
    3669   grep -v '^ *+' conftest.er1 >conftest.err
    3670   rm -f conftest.er1
    3671   cat conftest.err >&5
    3672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3673   (exit $ac_status); } && {
    3674          test -z "$ac_cxx_werror_flag" ||
    3675          test ! -s conftest.err
    3676        } && test -s conftest.$ac_objext; then
     4091if ac_fn_cxx_try_compile "$LINENO"; then :
    36774092  ac_cv_prog_cxx_g=yes
    3678 else
    3679   $as_echo "$as_me: failed program was:" >&5
    3680 sed 's/^/| /' conftest.$ac_ext >&5
    3681 
    3682 
    3683 fi
    3684 
     4093fi
    36854094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36864095fi
    3687 
    36884096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36894097fi
    3690 
    36914098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36924099   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36934100fi
    3694 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    36954102$as_echo "$ac_cv_prog_cxx_g" >&6; }
    36964103if test "$ac_test_CXXFLAGS" = set; then
     
    37254132    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    37264133set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37284135$as_echo_n "checking for $ac_word... " >&6; }
    3729 if test "${ac_cv_prog_F77+set}" = set; then
     4136if ${ac_cv_prog_F77+:} false; then :
    37304137  $as_echo_n "(cached) " >&6
    37314138else
     
    37384145  IFS=$as_save_IFS
    37394146  test -z "$as_dir" && as_dir=.
    3740   for ac_exec_ext in '' $ac_executable_extensions; do
    3741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4147    for ac_exec_ext in '' $ac_executable_extensions; do
     4148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37424149    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37444151    break 2
    37454152  fi
    37464153done
    3747 done
     4154  done
    37484155IFS=$as_save_IFS
    37494156
     
    37524159F77=$ac_cv_prog_F77
    37534160if test -n "$F77"; then
    3754   { $as_echo "$as_me:$LINENO: result: $F77" >&5
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
    37554162$as_echo "$F77" >&6; }
    37564163else
    3757   { $as_echo "$as_me:$LINENO: result: no" >&5
     4164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37584165$as_echo "no" >&6; }
    37594166fi
     
    37694176  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37704177set dummy $ac_prog; ac_word=$2
    3771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37724179$as_echo_n "checking for $ac_word... " >&6; }
    3773 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4180if ${ac_cv_prog_ac_ct_F77+:} false; then :
    37744181  $as_echo_n "(cached) " >&6
    37754182else
     
    37824189  IFS=$as_save_IFS
    37834190  test -z "$as_dir" && as_dir=.
    3784   for ac_exec_ext in '' $ac_executable_extensions; do
    3785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4191    for ac_exec_ext in '' $ac_executable_extensions; do
     4192  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37864193    ac_cv_prog_ac_ct_F77="$ac_prog"
    3787     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37884195    break 2
    37894196  fi
    37904197done
    3791 done
     4198  done
    37924199IFS=$as_save_IFS
    37934200
     
    37964203ac_ct_F77=$ac_cv_prog_ac_ct_F77
    37974204if test -n "$ac_ct_F77"; then
    3798   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
    37994206$as_echo "$ac_ct_F77" >&6; }
    38004207else
    3801   { $as_echo "$as_me:$LINENO: result: no" >&5
     4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38024209$as_echo "no" >&6; }
    38034210fi
     
    38124219    case $cross_compiling:$ac_tool_warned in
    38134220yes:)
    3814 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4221{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    38154222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    38164223ac_tool_warned=yes ;;
     
    38224229
    38234230# Provide some information about the compiler.
    3824 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
     4231$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
    38254232set X $ac_compile
    38264233ac_compiler=$2
    3827 { (ac_try="$ac_compiler --version >&5"
     4234for ac_option in --version -v -V -qversion; do
     4235  { { ac_try="$ac_compiler $ac_option >&5"
    38284236case "(($ac_try" in
    38294237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    38304238  *) ac_try_echo=$ac_try;;
    38314239esac
    3832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3833 $as_echo "$ac_try_echo") >&5
    3834   (eval "$ac_compiler --version >&5") 2>&5
     4240eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4241$as_echo "$ac_try_echo"; } >&5
     4242  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    38354243  ac_status=$?
    3836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3837   (exit $ac_status); }
    3838 { (ac_try="$ac_compiler -v >&5"
    3839 case "(($ac_try" in
    3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3841   *) ac_try_echo=$ac_try;;
    3842 esac
    3843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3844 $as_echo "$ac_try_echo") >&5
    3845   (eval "$ac_compiler -v >&5") 2>&5
    3846   ac_status=$?
    3847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3848   (exit $ac_status); }
    3849 { (ac_try="$ac_compiler -V >&5"
    3850 case "(($ac_try" in
    3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3852   *) ac_try_echo=$ac_try;;
    3853 esac
    3854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3855 $as_echo "$ac_try_echo") >&5
    3856   (eval "$ac_compiler -V >&5") 2>&5
    3857   ac_status=$?
    3858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3859   (exit $ac_status); }
     4244  if test -s conftest.err; then
     4245    sed '10a\
     4246... rest of stderr output deleted ...
     4247         10q' conftest.err >conftest.er1
     4248    cat conftest.er1 >&5
     4249  fi
     4250  rm -f conftest.er1 conftest.err
     4251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4252  test $ac_status = 0; }
     4253done
    38604254rm -f a.out
    38614255
     
    38644258ac_save_ext=$ac_ext
    38654259ac_ext=F
    3866 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
    38674261$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    3868 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     4262if ${ac_cv_f77_compiler_gnu+:} false; then :
    38694263  $as_echo_n "(cached) " >&6
    38704264else
    3871   cat >conftest.$ac_ext <<_ACEOF
     4265  cat > conftest.$ac_ext <<_ACEOF
    38724266      program main
    38734267#ifndef __GNUC__
     
    38774271      end
    38784272_ACEOF
    3879 rm -f conftest.$ac_objext
    3880 if { (ac_try="$ac_compile"
    3881 case "(($ac_try" in
    3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3883   *) ac_try_echo=$ac_try;;
    3884 esac
    3885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3886 $as_echo "$ac_try_echo") >&5
    3887   (eval "$ac_compile") 2>conftest.er1
    3888   ac_status=$?
    3889   grep -v '^ *+' conftest.er1 >conftest.err
    3890   rm -f conftest.er1
    3891   cat conftest.err >&5
    3892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3893   (exit $ac_status); } && {
    3894          test -z "$ac_f77_werror_flag" ||
    3895          test ! -s conftest.err
    3896        } && test -s conftest.$ac_objext; then
     4273if ac_fn_f77_try_compile "$LINENO"; then :
    38974274  ac_compiler_gnu=yes
    38984275else
    3899   $as_echo "$as_me: failed program was:" >&5
    3900 sed 's/^/| /' conftest.$ac_ext >&5
    3901 
    3902         ac_compiler_gnu=no
    3903 fi
    3904 
     4276  ac_compiler_gnu=no
     4277fi
    39054278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39064279ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    39074280
    39084281fi
    3909 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     4282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
    39104283$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    39114284ac_ext=$ac_save_ext
     
    39134286ac_save_FFLAGS=$FFLAGS
    39144287FFLAGS=
    3915 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
    39164289$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    3917 if test "${ac_cv_prog_f77_g+set}" = set; then
     4290if ${ac_cv_prog_f77_g+:} false; then :
    39184291  $as_echo_n "(cached) " >&6
    39194292else
    39204293  FFLAGS=-g
    3921 cat >conftest.$ac_ext <<_ACEOF
     4294cat > conftest.$ac_ext <<_ACEOF
    39224295      program main
    39234296
    39244297      end
    39254298_ACEOF
    3926 rm -f conftest.$ac_objext
    3927 if { (ac_try="$ac_compile"
    3928 case "(($ac_try" in
    3929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3930   *) ac_try_echo=$ac_try;;
    3931 esac
    3932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3933 $as_echo "$ac_try_echo") >&5
    3934   (eval "$ac_compile") 2>conftest.er1
    3935   ac_status=$?
    3936   grep -v '^ *+' conftest.er1 >conftest.err
    3937   rm -f conftest.er1
    3938   cat conftest.err >&5
    3939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3940   (exit $ac_status); } && {
    3941          test -z "$ac_f77_werror_flag" ||
    3942          test ! -s conftest.err
    3943        } && test -s conftest.$ac_objext; then
     4299if ac_fn_f77_try_compile "$LINENO"; then :
    39444300  ac_cv_prog_f77_g=yes
    39454301else
    3946   $as_echo "$as_me: failed program was:" >&5
    3947 sed 's/^/| /' conftest.$ac_ext >&5
    3948 
    3949         ac_cv_prog_f77_g=no
    3950 fi
    3951 
     4302  ac_cv_prog_f77_g=no
     4303fi
    39524304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39534305
    39544306fi
    3955 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
    39564308$as_echo "$ac_cv_prog_f77_g" >&6; }
    39574309if test "$ac_test_FFLAGS" = set; then
     
    39964348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    39974349ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3998 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    39994351$as_echo_n "checking how to run the C preprocessor... " >&6; }
    40004352# On Suns, sometimes $CPP names a directory.
     
    40034355fi
    40044356if test -z "$CPP"; then
    4005   if test "${ac_cv_prog_CPP+set}" = set; then
     4357  if ${ac_cv_prog_CPP+:} false; then :
    40064358  $as_echo_n "(cached) " >&6
    40074359else
     
    40184370  # On the NeXT, cc -E runs the code through the compiler's parser,
    40194371  # not just through cpp. "Syntax error" is here to catch this case.
    4020   cat >conftest.$ac_ext <<_ACEOF
    4021 /* confdefs.h.  */
    4022 _ACEOF
    4023 cat confdefs.h >>conftest.$ac_ext
    4024 cat >>conftest.$ac_ext <<_ACEOF
     4372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40254373/* end confdefs.h.  */
    40264374#ifdef __STDC__
     
    40314379                     Syntax error
    40324380_ACEOF
    4033 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4034 case "(($ac_try" in
    4035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4036   *) ac_try_echo=$ac_try;;
    4037 esac
    4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4039 $as_echo "$ac_try_echo") >&5
    4040   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4041   ac_status=$?
    4042   grep -v '^ *+' conftest.er1 >conftest.err
    4043   rm -f conftest.er1
    4044   cat conftest.err >&5
    4045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4046   (exit $ac_status); } >/dev/null && {
    4047          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4048          test ! -s conftest.err
    4049        }; then
    4050   :
    4051 else
    4052   $as_echo "$as_me: failed program was:" >&5
    4053 sed 's/^/| /' conftest.$ac_ext >&5
    4054 
     4381if ac_fn_c_try_cpp "$LINENO"; then :
     4382
     4383else
    40554384  # Broken: fails on valid input.
    40564385continue
    40574386fi
    4058 
    4059 rm -f conftest.err conftest.$ac_ext
     4387rm -f conftest.err conftest.i conftest.$ac_ext
    40604388
    40614389  # OK, works on sane cases.  Now check whether nonexistent headers
    40624390  # can be detected and how.
    4063   cat >conftest.$ac_ext <<_ACEOF
    4064 /* confdefs.h.  */
    4065 _ACEOF
    4066 cat confdefs.h >>conftest.$ac_ext
    4067 cat >>conftest.$ac_ext <<_ACEOF
     4391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40684392/* end confdefs.h.  */
    40694393#include <ac_nonexistent.h>
    40704394_ACEOF
    4071 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4072 case "(($ac_try" in
    4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4074   *) ac_try_echo=$ac_try;;
    4075 esac
    4076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4077 $as_echo "$ac_try_echo") >&5
    4078   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4079   ac_status=$?
    4080   grep -v '^ *+' conftest.er1 >conftest.err
    4081   rm -f conftest.er1
    4082   cat conftest.err >&5
    4083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4084   (exit $ac_status); } >/dev/null && {
    4085          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4086          test ! -s conftest.err
    4087        }; then
     4395if ac_fn_c_try_cpp "$LINENO"; then :
    40884396  # Broken: success on invalid input.
    40894397continue
    40904398else
    4091   $as_echo "$as_me: failed program was:" >&5
    4092 sed 's/^/| /' conftest.$ac_ext >&5
    4093 
    40944399  # Passes both tests.
    40954400ac_preproc_ok=:
    40964401break
    40974402fi
    4098 
    4099 rm -f conftest.err conftest.$ac_ext
     4403rm -f conftest.err conftest.i conftest.$ac_ext
    41004404
    41014405done
    41024406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4103 rm -f conftest.err conftest.$ac_ext
    4104 if $ac_preproc_ok; then
     4407rm -f conftest.i conftest.err conftest.$ac_ext
     4408if $ac_preproc_ok; then :
    41054409  break
    41064410fi
     
    41144418  ac_cv_prog_CPP=$CPP
    41154419fi
    4116 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    41174421$as_echo "$CPP" >&6; }
    41184422ac_preproc_ok=false
     
    41254429  # On the NeXT, cc -E runs the code through the compiler's parser,
    41264430  # not just through cpp. "Syntax error" is here to catch this case.
    4127   cat >conftest.$ac_ext <<_ACEOF
    4128 /* confdefs.h.  */
    4129 _ACEOF
    4130 cat confdefs.h >>conftest.$ac_ext
    4131 cat >>conftest.$ac_ext <<_ACEOF
     4431  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41324432/* end confdefs.h.  */
    41334433#ifdef __STDC__
     
    41384438                     Syntax error
    41394439_ACEOF
    4140 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4141 case "(($ac_try" in
    4142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4143   *) ac_try_echo=$ac_try;;
    4144 esac
    4145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4146 $as_echo "$ac_try_echo") >&5
    4147   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4148   ac_status=$?
    4149   grep -v '^ *+' conftest.er1 >conftest.err
    4150   rm -f conftest.er1
    4151   cat conftest.err >&5
    4152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4153   (exit $ac_status); } >/dev/null && {
    4154          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4155          test ! -s conftest.err
    4156        }; then
    4157   :
    4158 else
    4159   $as_echo "$as_me: failed program was:" >&5
    4160 sed 's/^/| /' conftest.$ac_ext >&5
    4161 
     4440if ac_fn_c_try_cpp "$LINENO"; then :
     4441
     4442else
    41624443  # Broken: fails on valid input.
    41634444continue
    41644445fi
    4165 
    4166 rm -f conftest.err conftest.$ac_ext
     4446rm -f conftest.err conftest.i conftest.$ac_ext
    41674447
    41684448  # OK, works on sane cases.  Now check whether nonexistent headers
    41694449  # can be detected and how.
    4170   cat >conftest.$ac_ext <<_ACEOF
    4171 /* confdefs.h.  */
    4172 _ACEOF
    4173 cat confdefs.h >>conftest.$ac_ext
    4174 cat >>conftest.$ac_ext <<_ACEOF
     4450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41754451/* end confdefs.h.  */
    41764452#include <ac_nonexistent.h>
    41774453_ACEOF
    4178 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4179 case "(($ac_try" in
    4180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4181   *) ac_try_echo=$ac_try;;
    4182 esac
    4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4184 $as_echo "$ac_try_echo") >&5
    4185   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4186   ac_status=$?
    4187   grep -v '^ *+' conftest.er1 >conftest.err
    4188   rm -f conftest.er1
    4189   cat conftest.err >&5
    4190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4191   (exit $ac_status); } >/dev/null && {
    4192          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4193          test ! -s conftest.err
    4194        }; then
     4454if ac_fn_c_try_cpp "$LINENO"; then :
    41954455  # Broken: success on invalid input.
    41964456continue
    41974457else
    4198   $as_echo "$as_me: failed program was:" >&5
    4199 sed 's/^/| /' conftest.$ac_ext >&5
    4200 
    42014458  # Passes both tests.
    42024459ac_preproc_ok=:
    42034460break
    42044461fi
    4205 
    4206 rm -f conftest.err conftest.$ac_ext
     4462rm -f conftest.err conftest.i conftest.$ac_ext
    42074463
    42084464done
    42094465# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4210 rm -f conftest.err conftest.$ac_ext
    4211 if $ac_preproc_ok; then
    4212   :
    4213 else
    4214   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4466rm -f conftest.i conftest.err conftest.$ac_ext
     4467if $ac_preproc_ok; then :
     4468
     4469else
     4470  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    42154471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4216 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4217 See \`config.log' for more details." >&5
    4218 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4219 See \`config.log' for more details." >&2;}
    4220    { (exit 1); exit 1; }; }; }
     4472as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4473See \`config.log' for more details" "$LINENO" 5; }
    42214474fi
    42224475
     
    42284481
    42294482
    4230 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    42314484$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4232 if test "${ac_cv_path_GREP+set}" = set; then
     4485if ${ac_cv_path_GREP+:} false; then :
    42334486  $as_echo_n "(cached) " >&6
    42344487else
     
    42414494  IFS=$as_save_IFS
    42424495  test -z "$as_dir" && as_dir=.
    4243   for ac_prog in grep ggrep; do
     4496    for ac_prog in grep ggrep; do
    42444497    for ac_exec_ext in '' $ac_executable_extensions; do
    42454498      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4246       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4499      as_fn_executable_p "$ac_path_GREP" || continue
    42474500# Check for GNU ac_path_GREP and select it if it is found.
    42484501  # Check for GNU $ac_path_GREP
     
    42614514    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42624515    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4263     ac_count=`expr $ac_count + 1`
     4516    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42644517    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    42654518      # Best one so far, save it but keep looking for a better one
     
    42764529    done
    42774530  done
    4278 done
     4531  done
    42794532IFS=$as_save_IFS
    42804533  if test -z "$ac_cv_path_GREP"; then
    4281     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4282 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4283    { (exit 1); exit 1; }; }
     4534    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42844535  fi
    42854536else
     
    42884539
    42894540fi
    4290 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    42914542$as_echo "$ac_cv_path_GREP" >&6; }
    42924543 GREP="$ac_cv_path_GREP"
    42934544
    42944545
    4295 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    42964547$as_echo_n "checking for egrep... " >&6; }
    4297 if test "${ac_cv_path_EGREP+set}" = set; then
     4548if ${ac_cv_path_EGREP+:} false; then :
    42984549  $as_echo_n "(cached) " >&6
    42994550else
     
    43094560  IFS=$as_save_IFS
    43104561  test -z "$as_dir" && as_dir=.
    4311   for ac_prog in egrep; do
     4562    for ac_prog in egrep; do
    43124563    for ac_exec_ext in '' $ac_executable_extensions; do
    43134564      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4314       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4565      as_fn_executable_p "$ac_path_EGREP" || continue
    43154566# Check for GNU ac_path_EGREP and select it if it is found.
    43164567  # Check for GNU $ac_path_EGREP
     
    43294580    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43304581    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4331     ac_count=`expr $ac_count + 1`
     4582    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43324583    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    43334584      # Best one so far, save it but keep looking for a better one
     
    43444595    done
    43454596  done
    4346 done
     4597  done
    43474598IFS=$as_save_IFS
    43484599  if test -z "$ac_cv_path_EGREP"; then
    4349     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4350 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4351    { (exit 1); exit 1; }; }
     4600    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    43524601  fi
    43534602else
     
    43574606   fi
    43584607fi
    4359 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    43604609$as_echo "$ac_cv_path_EGREP" >&6; }
    43614610 EGREP="$ac_cv_path_EGREP"
    43624611
    43634612
    4364 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    43654614$as_echo_n "checking for ANSI C header files... " >&6; }
    4366 if test "${ac_cv_header_stdc+set}" = set; then
     4615if ${ac_cv_header_stdc+:} false; then :
    43674616  $as_echo_n "(cached) " >&6
    43684617else
    4369   cat >conftest.$ac_ext <<_ACEOF
    4370 /* confdefs.h.  */
    4371 _ACEOF
    4372 cat confdefs.h >>conftest.$ac_ext
    4373 cat >>conftest.$ac_ext <<_ACEOF
     4618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43744619/* end confdefs.h.  */
    43754620#include <stdlib.h>
     
    43864631}
    43874632_ACEOF
    4388 rm -f conftest.$ac_objext
    4389 if { (ac_try="$ac_compile"
    4390 case "(($ac_try" in
    4391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4392   *) ac_try_echo=$ac_try;;
    4393 esac
    4394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4395 $as_echo "$ac_try_echo") >&5
    4396   (eval "$ac_compile") 2>conftest.er1
    4397   ac_status=$?
    4398   grep -v '^ *+' conftest.er1 >conftest.err
    4399   rm -f conftest.er1
    4400   cat conftest.err >&5
    4401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4402   (exit $ac_status); } && {
    4403          test -z "$ac_c_werror_flag" ||
    4404          test ! -s conftest.err
    4405        } && test -s conftest.$ac_objext; then
     4633if ac_fn_c_try_compile "$LINENO"; then :
    44064634  ac_cv_header_stdc=yes
    44074635else
    4408   $as_echo "$as_me: failed program was:" >&5
    4409 sed 's/^/| /' conftest.$ac_ext >&5
    4410 
    4411         ac_cv_header_stdc=no
    4412 fi
    4413 
     4636  ac_cv_header_stdc=no
     4637fi
    44144638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44154639
    44164640if test $ac_cv_header_stdc = yes; then
    44174641  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4418   cat >conftest.$ac_ext <<_ACEOF
    4419 /* confdefs.h.  */
    4420 _ACEOF
    4421 cat confdefs.h >>conftest.$ac_ext
    4422 cat >>conftest.$ac_ext <<_ACEOF
     4642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44234643/* end confdefs.h.  */
    44244644#include <string.h>
     
    44264646_ACEOF
    44274647if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4428   $EGREP "memchr" >/dev/null 2>&1; then
    4429   :
     4648  $EGREP "memchr" >/dev/null 2>&1; then :
     4649
    44304650else
    44314651  ac_cv_header_stdc=no
     
    44374657if test $ac_cv_header_stdc = yes; then
    44384658  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4439   cat >conftest.$ac_ext <<_ACEOF
    4440 /* confdefs.h.  */
    4441 _ACEOF
    4442 cat confdefs.h >>conftest.$ac_ext
    4443 cat >>conftest.$ac_ext <<_ACEOF
     4659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44444660/* end confdefs.h.  */
    44454661#include <stdlib.h>
     
    44474663_ACEOF
    44484664if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4449   $EGREP "free" >/dev/null 2>&1; then
    4450   :
     4665  $EGREP "free" >/dev/null 2>&1; then :
     4666
    44514667else
    44524668  ac_cv_header_stdc=no
     
    44584674if test $ac_cv_header_stdc = yes; then
    44594675  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4460   if test "$cross_compiling" = yes; then
     4676  if test "$cross_compiling" = yes; then :
    44614677  :
    44624678else
    4463   cat >conftest.$ac_ext <<_ACEOF
    4464 /* confdefs.h.  */
    4465 _ACEOF
    4466 cat confdefs.h >>conftest.$ac_ext
    4467 cat >>conftest.$ac_ext <<_ACEOF
     4679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44684680/* end confdefs.h.  */
    44694681#include <ctype.h>
     
    44924704}
    44934705_ACEOF
    4494 rm -f conftest$ac_exeext
    4495 if { (ac_try="$ac_link"
    4496 case "(($ac_try" in
    4497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4498   *) ac_try_echo=$ac_try;;
    4499 esac
    4500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4501 $as_echo "$ac_try_echo") >&5
    4502   (eval "$ac_link") 2>&5
    4503   ac_status=$?
    4504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4505   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4506   { (case "(($ac_try" in
    4507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4508   *) ac_try_echo=$ac_try;;
    4509 esac
    4510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4511 $as_echo "$ac_try_echo") >&5
    4512   (eval "$ac_try") 2>&5
    4513   ac_status=$?
    4514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4515   (exit $ac_status); }; }; then
    4516   :
    4517 else
    4518   $as_echo "$as_me: program exited with status $ac_status" >&5
    4519 $as_echo "$as_me: failed program was:" >&5
    4520 sed 's/^/| /' conftest.$ac_ext >&5
    4521 
    4522 ( exit $ac_status )
    4523 ac_cv_header_stdc=no
    4524 fi
    4525 rm -rf conftest.dSYM
    4526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4527 fi
    4528 
    4529 
    4530 fi
    4531 fi
    4532 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4706if ac_fn_c_try_run "$LINENO"; then :
     4707
     4708else
     4709  ac_cv_header_stdc=no
     4710fi
     4711rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4712  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4713fi
     4714
     4715fi
     4716fi
     4717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    45334718$as_echo "$ac_cv_header_stdc" >&6; }
    45344719if test $ac_cv_header_stdc = yes; then
    45354720
    4536 cat >>confdefs.h <<\_ACEOF
    4537 #define STDC_HEADERS 1
    4538 _ACEOF
    4539 
    4540 fi
    4541 
    4542 { $as_echo "$as_me:$LINENO: checking for atol" >&5
    4543 $as_echo_n "checking for atol... " >&6; }
    4544 if test "${ac_cv_func_atol+set}" = set; then
    4545   $as_echo_n "(cached) " >&6
    4546 else
    4547   cat >conftest.$ac_ext <<_ACEOF
    4548 /* confdefs.h.  */
    4549 _ACEOF
    4550 cat confdefs.h >>conftest.$ac_ext
    4551 cat >>conftest.$ac_ext <<_ACEOF
    4552 /* end confdefs.h.  */
    4553 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4555 #define atol innocuous_atol
    4556 
    4557 /* System header to define __stub macros and hopefully few prototypes,
    4558     which can conflict with char atol (); below.
    4559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4560     <limits.h> exists even on freestanding compilers.  */
    4561 
    4562 #ifdef __STDC__
    4563 # include <limits.h>
    4564 #else
    4565 # include <assert.h>
    4566 #endif
    4567 
    4568 #undef atol
    4569 
    4570 /* Override any GCC internal prototype to avoid an error.
    4571    Use char because int might match the return type of a GCC
    4572    builtin and then its argument prototype would still apply.  */
    4573 #ifdef __cplusplus
    4574 extern "C"
    4575 #endif
    4576 char atol ();
    4577 /* The GNU C library defines this for functions which it implements
    4578     to always fail with ENOSYS.  Some functions are actually named
    4579     something starting with __ and the normal name is an alias.  */
    4580 #if defined __stub_atol || defined __stub___atol
    4581 choke me
    4582 #endif
    4583 
    4584 int
    4585 main ()
    4586 {
    4587 return atol ();
    4588   ;
    4589   return 0;
    4590 }
    4591 _ACEOF
    4592 rm -f conftest.$ac_objext conftest$ac_exeext
    4593 if { (ac_try="$ac_link"
    4594 case "(($ac_try" in
    4595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4596   *) ac_try_echo=$ac_try;;
    4597 esac
    4598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4599 $as_echo "$ac_try_echo") >&5
    4600   (eval "$ac_link") 2>conftest.er1
    4601   ac_status=$?
    4602   grep -v '^ *+' conftest.er1 >conftest.err
    4603   rm -f conftest.er1
    4604   cat conftest.err >&5
    4605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4606   (exit $ac_status); } && {
    4607          test -z "$ac_c_werror_flag" ||
    4608          test ! -s conftest.err
    4609        } && test -s conftest$ac_exeext && {
    4610          test "$cross_compiling" = yes ||
    4611          $as_test_x conftest$ac_exeext
    4612        }; then
    4613   ac_cv_func_atol=yes
    4614 else
    4615   $as_echo "$as_me: failed program was:" >&5
    4616 sed 's/^/| /' conftest.$ac_ext >&5
    4617 
    4618         ac_cv_func_atol=no
    4619 fi
    4620 
    4621 rm -rf conftest.dSYM
    4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4623       conftest$ac_exeext conftest.$ac_ext
    4624 fi
    4625 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4626 $as_echo "$ac_cv_func_atol" >&6; }
    4627 if test "x$ac_cv_func_atol" = x""yes; then
    4628   :
    4629 else
    4630   { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4631 $as_echo "$as_me: error: oops! no atol ?!?" >&2;}
    4632    { (exit 1); exit 1; }; }
     4721$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4722
     4723fi
     4724
     4725ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4726if test "x$ac_cv_func_atol" = xyes; then :
     4727
     4728else
     4729  as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    46334730fi
    46344731
     
    46424739
    46434740
    4644 
    46454741for ac_func in sysinfo
    4646 do
    4647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4648 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4649 $as_echo_n "checking for $ac_func... " >&6; }
    4650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4651   $as_echo_n "(cached) " >&6
    4652 else
    4653   cat >conftest.$ac_ext <<_ACEOF
    4654 /* confdefs.h.  */
    4655 _ACEOF
    4656 cat confdefs.h >>conftest.$ac_ext
    4657 cat >>conftest.$ac_ext <<_ACEOF
    4658 /* end confdefs.h.  */
    4659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4661 #define $ac_func innocuous_$ac_func
    4662 
    4663 /* System header to define __stub macros and hopefully few prototypes,
    4664     which can conflict with char $ac_func (); below.
    4665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4666     <limits.h> exists even on freestanding compilers.  */
    4667 
    4668 #ifdef __STDC__
    4669 # include <limits.h>
    4670 #else
    4671 # include <assert.h>
    4672 #endif
    4673 
    4674 #undef $ac_func
    4675 
    4676 /* Override any GCC internal prototype to avoid an error.
    4677    Use char because int might match the return type of a GCC
    4678    builtin and then its argument prototype would still apply.  */
    4679 #ifdef __cplusplus
    4680 extern "C"
    4681 #endif
    4682 char $ac_func ();
    4683 /* The GNU C library defines this for functions which it implements
    4684     to always fail with ENOSYS.  Some functions are actually named
    4685     something starting with __ and the normal name is an alias.  */
    4686 #if defined __stub_$ac_func || defined __stub___$ac_func
    4687 choke me
    4688 #endif
    4689 
    4690 int
    4691 main ()
    4692 {
    4693 return $ac_func ();
    4694   ;
    4695   return 0;
    4696 }
    4697 _ACEOF
    4698 rm -f conftest.$ac_objext conftest$ac_exeext
    4699 if { (ac_try="$ac_link"
    4700 case "(($ac_try" in
    4701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4702   *) ac_try_echo=$ac_try;;
    4703 esac
    4704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4705 $as_echo "$ac_try_echo") >&5
    4706   (eval "$ac_link") 2>conftest.er1
    4707   ac_status=$?
    4708   grep -v '^ *+' conftest.er1 >conftest.err
    4709   rm -f conftest.er1
    4710   cat conftest.err >&5
    4711   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4712   (exit $ac_status); } && {
    4713          test -z "$ac_cxx_werror_flag" ||
    4714          test ! -s conftest.err
    4715        } && test -s conftest$ac_exeext && {
    4716          test "$cross_compiling" = yes ||
    4717          $as_test_x conftest$ac_exeext
    4718        }; then
    4719   eval "$as_ac_var=yes"
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724         eval "$as_ac_var=no"
    4725 fi
    4726 
    4727 rm -rf conftest.dSYM
    4728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4729       conftest$ac_exeext conftest.$ac_ext
    4730 fi
    4731 ac_res=`eval 'as_val=${'$as_ac_var'}
    4732                  $as_echo "$as_val"'`
    4733                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4734 $as_echo "$ac_res" >&6; }
    4735 as_val=`eval 'as_val=${'$as_ac_var'}
    4736                  $as_echo "$as_val"'`
    4737    if test "x$as_val" = x""yes; then
     4742do :
     4743  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4744if test "x$ac_cv_func_sysinfo" = xyes; then :
    47384745  cat >>confdefs.h <<_ACEOF
    4739 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4740 _ACEOF
    4741 
    4742 fi
    4743 done
    4744 
    4745 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4746 
    4747 
    4748 
    4749 
    4750 
    4751 
    4752 
    4753 
    4754 
    4755 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4756                   inttypes.h stdint.h unistd.h
    4757 do
    4758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4759 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4760 $as_echo_n "checking for $ac_header... " >&6; }
    4761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4762   $as_echo_n "(cached) " >&6
    4763 else
    4764   cat >conftest.$ac_ext <<_ACEOF
    4765 /* confdefs.h.  */
    4766 _ACEOF
    4767 cat confdefs.h >>conftest.$ac_ext
    4768 cat >>conftest.$ac_ext <<_ACEOF
    4769 /* end confdefs.h.  */
    4770 $ac_includes_default
    4771 
    4772 #include <$ac_header>
    4773 _ACEOF
    4774 rm -f conftest.$ac_objext
    4775 if { (ac_try="$ac_compile"
    4776 case "(($ac_try" in
    4777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4778   *) ac_try_echo=$ac_try;;
    4779 esac
    4780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4781 $as_echo "$ac_try_echo") >&5
    4782   (eval "$ac_compile") 2>conftest.er1
    4783   ac_status=$?
    4784   grep -v '^ *+' conftest.er1 >conftest.err
    4785   rm -f conftest.er1
    4786   cat conftest.err >&5
    4787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4788   (exit $ac_status); } && {
    4789          test -z "$ac_cxx_werror_flag" ||
    4790          test ! -s conftest.err
    4791        } && test -s conftest.$ac_objext; then
    4792   eval "$as_ac_Header=yes"
    4793 else
    4794   $as_echo "$as_me: failed program was:" >&5
    4795 sed 's/^/| /' conftest.$ac_ext >&5
    4796 
    4797         eval "$as_ac_Header=no"
    4798 fi
    4799 
    4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4801 fi
    4802 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4803                  $as_echo "$as_val"'`
    4804                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4805 $as_echo "$ac_res" >&6; }
    4806 as_val=`eval 'as_val=${'$as_ac_Header'}
    4807                  $as_echo "$as_val"'`
    4808    if test "x$as_val" = x""yes; then
     4746#define HAVE_SYSINFO 1
     4747_ACEOF
     4748
     4749fi
     4750done
     4751
     4752for ac_func in gettimeofday
     4753do :
     4754  ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
     4755if test "x$ac_cv_func_gettimeofday" = xyes; then :
    48094756  cat >>confdefs.h <<_ACEOF
    4810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4811 _ACEOF
    4812 
    4813 fi
    4814 
    4815 done
     4757#define HAVE_GETTIMEOFDAY 1
     4758_ACEOF
     4759
     4760fi
     4761done
     4762
     4763ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
     4764if test "x$ac_cv_func_localtime" = xyes; then :
     4765
     4766else
     4767  as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5
     4768fi
     4769
     4770ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
     4771if test "x$ac_cv_func_getenv" = xyes; then :
     4772
     4773else
     4774  as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5
     4775fi
    48164776
    48174777
     
    48214781ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    48224782ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4823 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    48244784$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    48254785if test -z "$CXXCPP"; then
    4826   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4786  if ${ac_cv_prog_CXXCPP+:} false; then :
    48274787  $as_echo_n "(cached) " >&6
    48284788else
     
    48394799  # On the NeXT, cc -E runs the code through the compiler's parser,
    48404800  # not just through cpp. "Syntax error" is here to catch this case.
    4841   cat >conftest.$ac_ext <<_ACEOF
    4842 /* confdefs.h.  */
    4843 _ACEOF
    4844 cat confdefs.h >>conftest.$ac_ext
    4845 cat >>conftest.$ac_ext <<_ACEOF
     4801  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48464802/* end confdefs.h.  */
    48474803#ifdef __STDC__
     
    48524808                     Syntax error
    48534809_ACEOF
    4854 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4855 case "(($ac_try" in
    4856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4857   *) ac_try_echo=$ac_try;;
    4858 esac
    4859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4860 $as_echo "$ac_try_echo") >&5
    4861   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4862   ac_status=$?
    4863   grep -v '^ *+' conftest.er1 >conftest.err
    4864   rm -f conftest.er1
    4865   cat conftest.err >&5
    4866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4867   (exit $ac_status); } >/dev/null && {
    4868          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4869          test ! -s conftest.err
    4870        }; then
    4871   :
    4872 else
    4873   $as_echo "$as_me: failed program was:" >&5
    4874 sed 's/^/| /' conftest.$ac_ext >&5
    4875 
     4810if ac_fn_cxx_try_cpp "$LINENO"; then :
     4811
     4812else
    48764813  # Broken: fails on valid input.
    48774814continue
    48784815fi
    4879 
    4880 rm -f conftest.err conftest.$ac_ext
     4816rm -f conftest.err conftest.i conftest.$ac_ext
    48814817
    48824818  # OK, works on sane cases.  Now check whether nonexistent headers
    48834819  # can be detected and how.
    4884   cat >conftest.$ac_ext <<_ACEOF
    4885 /* confdefs.h.  */
    4886 _ACEOF
    4887 cat confdefs.h >>conftest.$ac_ext
    4888 cat >>conftest.$ac_ext <<_ACEOF
     4820  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48894821/* end confdefs.h.  */
    48904822#include <ac_nonexistent.h>
    48914823_ACEOF
    4892 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4893 case "(($ac_try" in
    4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4895   *) ac_try_echo=$ac_try;;
    4896 esac
    4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4898 $as_echo "$ac_try_echo") >&5
    4899   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4900   ac_status=$?
    4901   grep -v '^ *+' conftest.er1 >conftest.err
    4902   rm -f conftest.er1
    4903   cat conftest.err >&5
    4904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4905   (exit $ac_status); } >/dev/null && {
    4906          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4907          test ! -s conftest.err
    4908        }; then
     4824if ac_fn_cxx_try_cpp "$LINENO"; then :
    49094825  # Broken: success on invalid input.
    49104826continue
    49114827else
    4912   $as_echo "$as_me: failed program was:" >&5
    4913 sed 's/^/| /' conftest.$ac_ext >&5
    4914 
    49154828  # Passes both tests.
    49164829ac_preproc_ok=:
    49174830break
    49184831fi
    4919 
    4920 rm -f conftest.err conftest.$ac_ext
     4832rm -f conftest.err conftest.i conftest.$ac_ext
    49214833
    49224834done
    49234835# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4924 rm -f conftest.err conftest.$ac_ext
    4925 if $ac_preproc_ok; then
     4836rm -f conftest.i conftest.err conftest.$ac_ext
     4837if $ac_preproc_ok; then :
    49264838  break
    49274839fi
     
    49354847  ac_cv_prog_CXXCPP=$CXXCPP
    49364848fi
    4937 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    49384850$as_echo "$CXXCPP" >&6; }
    49394851ac_preproc_ok=false
     
    49464858  # On the NeXT, cc -E runs the code through the compiler's parser,
    49474859  # not just through cpp. "Syntax error" is here to catch this case.
    4948   cat >conftest.$ac_ext <<_ACEOF
    4949 /* confdefs.h.  */
    4950 _ACEOF
    4951 cat confdefs.h >>conftest.$ac_ext
    4952 cat >>conftest.$ac_ext <<_ACEOF
     4860  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49534861/* end confdefs.h.  */
    49544862#ifdef __STDC__
     
    49594867                     Syntax error
    49604868_ACEOF
    4961 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4962 case "(($ac_try" in
    4963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4964   *) ac_try_echo=$ac_try;;
    4965 esac
    4966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4967 $as_echo "$ac_try_echo") >&5
    4968   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4969   ac_status=$?
    4970   grep -v '^ *+' conftest.er1 >conftest.err
    4971   rm -f conftest.er1
    4972   cat conftest.err >&5
    4973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4974   (exit $ac_status); } >/dev/null && {
    4975          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4976          test ! -s conftest.err
    4977        }; then
    4978   :
    4979 else
    4980   $as_echo "$as_me: failed program was:" >&5
    4981 sed 's/^/| /' conftest.$ac_ext >&5
    4982 
     4869if ac_fn_cxx_try_cpp "$LINENO"; then :
     4870
     4871else
    49834872  # Broken: fails on valid input.
    49844873continue
    49854874fi
    4986 
    4987 rm -f conftest.err conftest.$ac_ext
     4875rm -f conftest.err conftest.i conftest.$ac_ext
    49884876
    49894877  # OK, works on sane cases.  Now check whether nonexistent headers
    49904878  # can be detected and how.
    4991   cat >conftest.$ac_ext <<_ACEOF
    4992 /* confdefs.h.  */
    4993 _ACEOF
    4994 cat confdefs.h >>conftest.$ac_ext
    4995 cat >>conftest.$ac_ext <<_ACEOF
     4879  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49964880/* end confdefs.h.  */
    49974881#include <ac_nonexistent.h>
    49984882_ACEOF
    4999 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5000 case "(($ac_try" in
    5001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5002   *) ac_try_echo=$ac_try;;
    5003 esac
    5004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5005 $as_echo "$ac_try_echo") >&5
    5006   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5007   ac_status=$?
    5008   grep -v '^ *+' conftest.er1 >conftest.err
    5009   rm -f conftest.er1
    5010   cat conftest.err >&5
    5011   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5012   (exit $ac_status); } >/dev/null && {
    5013          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5014          test ! -s conftest.err
    5015        }; then
     4883if ac_fn_cxx_try_cpp "$LINENO"; then :
    50164884  # Broken: success on invalid input.
    50174885continue
    50184886else
    5019   $as_echo "$as_me: failed program was:" >&5
    5020 sed 's/^/| /' conftest.$ac_ext >&5
    5021 
    50224887  # Passes both tests.
    50234888ac_preproc_ok=:
    50244889break
    50254890fi
    5026 
    5027 rm -f conftest.err conftest.$ac_ext
     4891rm -f conftest.err conftest.i conftest.$ac_ext
    50284892
    50294893done
    50304894# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5031 rm -f conftest.err conftest.$ac_ext
    5032 if $ac_preproc_ok; then
    5033   :
    5034 else
    5035   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4895rm -f conftest.i conftest.err conftest.$ac_ext
     4896if $ac_preproc_ok; then :
     4897
     4898else
     4899  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    50364900$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5037 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5038 See \`config.log' for more details." >&5
    5039 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5040 See \`config.log' for more details." >&2;}
    5041    { (exit 1); exit 1; }; }; }
     4901as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4902See \`config.log' for more details" "$LINENO" 5; }
    50424903fi
    50434904
     
    50494910
    50504911
    5051 
    5052 for ac_header in sys/sysinfo.h
    5053 do
    5054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5056   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5057 $as_echo_n "checking for $ac_header... " >&6; }
    5058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5059   $as_echo_n "(cached) " >&6
    5060 fi
    5061 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5062                  $as_echo "$as_val"'`
    5063                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5064 $as_echo "$ac_res" >&6; }
    5065 else
    5066   # Is the header compilable?
    5067 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5068 $as_echo_n "checking $ac_header usability... " >&6; }
    5069 cat >conftest.$ac_ext <<_ACEOF
    5070 /* confdefs.h.  */
    5071 _ACEOF
    5072 cat confdefs.h >>conftest.$ac_ext
    5073 cat >>conftest.$ac_ext <<_ACEOF
    5074 /* end confdefs.h.  */
    5075 $ac_includes_default
    5076 #include <$ac_header>
    5077 _ACEOF
    5078 rm -f conftest.$ac_objext
    5079 if { (ac_try="$ac_compile"
    5080 case "(($ac_try" in
    5081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5082   *) ac_try_echo=$ac_try;;
    5083 esac
    5084 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5085 $as_echo "$ac_try_echo") >&5
    5086   (eval "$ac_compile") 2>conftest.er1
    5087   ac_status=$?
    5088   grep -v '^ *+' conftest.er1 >conftest.err
    5089   rm -f conftest.er1
    5090   cat conftest.err >&5
    5091   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5092   (exit $ac_status); } && {
    5093          test -z "$ac_cxx_werror_flag" ||
    5094          test ! -s conftest.err
    5095        } && test -s conftest.$ac_objext; then
    5096   ac_header_compiler=yes
    5097 else
    5098   $as_echo "$as_me: failed program was:" >&5
    5099 sed 's/^/| /' conftest.$ac_ext >&5
    5100 
    5101         ac_header_compiler=no
    5102 fi
    5103 
    5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5105 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5106 $as_echo "$ac_header_compiler" >&6; }
    5107 
    5108 # Is the header present?
    5109 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5110 $as_echo_n "checking $ac_header presence... " >&6; }
    5111 cat >conftest.$ac_ext <<_ACEOF
    5112 /* confdefs.h.  */
    5113 _ACEOF
    5114 cat confdefs.h >>conftest.$ac_ext
    5115 cat >>conftest.$ac_ext <<_ACEOF
    5116 /* end confdefs.h.  */
    5117 #include <$ac_header>
    5118 _ACEOF
    5119 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5120 case "(($ac_try" in
    5121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5122   *) ac_try_echo=$ac_try;;
    5123 esac
    5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5125 $as_echo "$ac_try_echo") >&5
    5126   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5127   ac_status=$?
    5128   grep -v '^ *+' conftest.er1 >conftest.err
    5129   rm -f conftest.er1
    5130   cat conftest.err >&5
    5131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5132   (exit $ac_status); } >/dev/null && {
    5133          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5134          test ! -s conftest.err
    5135        }; then
    5136   ac_header_preproc=yes
    5137 else
    5138   $as_echo "$as_me: failed program was:" >&5
    5139 sed 's/^/| /' conftest.$ac_ext >&5
    5140 
    5141   ac_header_preproc=no
    5142 fi
    5143 
    5144 rm -f conftest.err conftest.$ac_ext
    5145 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5146 $as_echo "$ac_header_preproc" >&6; }
    5147 
    5148 # So?  What about this header?
    5149 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5150   yes:no: )
    5151     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5152 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5153     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5154 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5155     ac_header_preproc=yes
    5156     ;;
    5157   no:yes:* )
    5158     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5159 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5160     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5161 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5162     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5163 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5164     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5165 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5166     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5167 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5168     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5169 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5170     ( cat <<\_ASBOX
    5171 ## ----------------------------------- ##
    5172 ## Report this to rappture@nanohub.org ##
    5173 ## ----------------------------------- ##
    5174 _ASBOX
    5175      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5176     ;;
    5177 esac
    5178 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5179 $as_echo_n "checking for $ac_header... " >&6; }
    5180 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5181   $as_echo_n "(cached) " >&6
    5182 else
    5183   eval "$as_ac_Header=\$ac_header_preproc"
    5184 fi
    5185 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5186                  $as_echo "$as_val"'`
    5187                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5188 $as_echo "$ac_res" >&6; }
    5189 
    5190 fi
    5191 as_val=`eval 'as_val=${'$as_ac_Header'}
    5192                  $as_echo "$as_val"'`
    5193    if test "x$as_val" = x""yes; then
     4912# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4913for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4914                  inttypes.h stdint.h unistd.h
     4915do :
     4916  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4917ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4918"
     4919if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    51944920  cat >>confdefs.h <<_ACEOF
    51954921#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    52014927
    52024928
    5203 
    5204 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
    5205 $as_echo_n "checking for main in -lm... " >&6; }
    5206 if test "${ac_cv_lib_m_main+set}" = set; then
    5207   $as_echo_n "(cached) " >&6
    5208 else
    5209   ac_check_lib_save_LIBS=$LIBS
    5210 LIBS="-lm  $LIBS"
    5211 cat >conftest.$ac_ext <<_ACEOF
    5212 /* confdefs.h.  */
    5213 _ACEOF
    5214 cat confdefs.h >>conftest.$ac_ext
    5215 cat >>conftest.$ac_ext <<_ACEOF
    5216 /* end confdefs.h.  */
    5217 
    5218 
    5219 int
    5220 main ()
    5221 {
    5222 return main ();
    5223   ;
    5224   return 0;
    5225 }
    5226 _ACEOF
    5227 rm -f conftest.$ac_objext conftest$ac_exeext
    5228 if { (ac_try="$ac_link"
    5229 case "(($ac_try" in
    5230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5231   *) ac_try_echo=$ac_try;;
    5232 esac
    5233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5234 $as_echo "$ac_try_echo") >&5
    5235   (eval "$ac_link") 2>conftest.er1
    5236   ac_status=$?
    5237   grep -v '^ *+' conftest.er1 >conftest.err
    5238   rm -f conftest.er1
    5239   cat conftest.err >&5
    5240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5241   (exit $ac_status); } && {
    5242          test -z "$ac_cxx_werror_flag" ||
    5243          test ! -s conftest.err
    5244        } && test -s conftest$ac_exeext && {
    5245          test "$cross_compiling" = yes ||
    5246          $as_test_x conftest$ac_exeext
    5247        }; then
    5248   ac_cv_lib_m_main=yes
    5249 else
    5250   $as_echo "$as_me: failed program was:" >&5
    5251 sed 's/^/| /' conftest.$ac_ext >&5
    5252 
    5253         ac_cv_lib_m_main=no
    5254 fi
    5255 
    5256 rm -rf conftest.dSYM
    5257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5258       conftest$ac_exeext conftest.$ac_ext
    5259 LIBS=$ac_check_lib_save_LIBS
    5260 fi
    5261 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5262 $as_echo "$ac_cv_lib_m_main" >&6; }
    5263 if test "x$ac_cv_lib_m_main" = x""yes; then
     4929for ac_header in sys/sysinfo.h
     4930do :
     4931  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4932if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
    52644933  cat >>confdefs.h <<_ACEOF
    5265 #define HAVE_LIBM 1
    5266 _ACEOF
    5267 
    5268   LIBS="-lm $LIBS"
    5269 
    5270 else
    5271   { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5272 $as_echo "$as_me: error: librappture requires libm" >&2;}
    5273    { (exit 1); exit 1; }; }
    5274 fi
    5275 
    5276 
    5277 
    5278 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
     4934#define HAVE_SYS_SYSINFO_H 1
     4935_ACEOF
     4936
     4937fi
     4938
     4939done
     4940
     4941
     4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    52794943$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    5280 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
     4944if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    52814945  $as_echo_n "(cached) " >&6
    52824946else
    52834947  ac_check_lib_save_LIBS=$LIBS
    52844948LIBS="-lncurses  $LIBS"
    5285 cat >conftest.$ac_ext <<_ACEOF
    5286 /* confdefs.h.  */
    5287 _ACEOF
    5288 cat confdefs.h >>conftest.$ac_ext
    5289 cat >>conftest.$ac_ext <<_ACEOF
     4949cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52904950/* end confdefs.h.  */
    52914951
     
    53054965}
    53064966_ACEOF
    5307 rm -f conftest.$ac_objext conftest$ac_exeext
    5308 if { (ac_try="$ac_link"
    5309 case "(($ac_try" in
    5310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5311   *) ac_try_echo=$ac_try;;
    5312 esac
    5313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5314 $as_echo "$ac_try_echo") >&5
    5315   (eval "$ac_link") 2>conftest.er1
    5316   ac_status=$?
    5317   grep -v '^ *+' conftest.er1 >conftest.err
    5318   rm -f conftest.er1
    5319   cat conftest.err >&5
    5320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5321   (exit $ac_status); } && {
    5322          test -z "$ac_cxx_werror_flag" ||
    5323          test ! -s conftest.err
    5324        } && test -s conftest$ac_exeext && {
    5325          test "$cross_compiling" = yes ||
    5326          $as_test_x conftest$ac_exeext
    5327        }; then
     4967if ac_fn_cxx_try_link "$LINENO"; then :
    53284968  ac_cv_lib_ncurses_clrtoeol=yes
    53294969else
    5330   $as_echo "$as_me: failed program was:" >&5
    5331 sed 's/^/| /' conftest.$ac_ext >&5
    5332 
    5333         ac_cv_lib_ncurses_clrtoeol=no
    5334 fi
    5335 
    5336 rm -rf conftest.dSYM
    5337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5338       conftest$ac_exeext conftest.$ac_ext
     4970  ac_cv_lib_ncurses_clrtoeol=no
     4971fi
     4972rm -f core conftest.err conftest.$ac_objext \
     4973    conftest$ac_exeext conftest.$ac_ext
    53394974LIBS=$ac_check_lib_save_LIBS
    53404975fi
    5341 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     4976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    53424977$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    5343 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
     4978if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    53444979  cat >>confdefs.h <<_ACEOF
    53454980#define HAVE_LIBNCURSES 1
     
    53494984
    53504985else
    5351   { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
    5352 $as_echo "$as_me: error: ncurses library missing?" >&2;}
    5353    { (exit 1); exit 1; }; }
    5354 fi
    5355 
     4986  as_fn_error $? "ncurses library missing?" "$LINENO" 5
     4987fi
    53564988
    53574989for ac_header in ncurses.h
    5358 do
    5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5361   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5362 $as_echo_n "checking for $ac_header... " >&6; }
    5363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5364   $as_echo_n "(cached) " >&6
    5365 fi
    5366 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5367                  $as_echo "$as_val"'`
    5368                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5369 $as_echo "$ac_res" >&6; }
    5370 else
    5371   # Is the header compilable?
    5372 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5373 $as_echo_n "checking $ac_header usability... " >&6; }
    5374 cat >conftest.$ac_ext <<_ACEOF
    5375 /* confdefs.h.  */
    5376 _ACEOF
    5377 cat confdefs.h >>conftest.$ac_ext
    5378 cat >>conftest.$ac_ext <<_ACEOF
    5379 /* end confdefs.h.  */
    5380 $ac_includes_default
    5381 #include <$ac_header>
    5382 _ACEOF
    5383 rm -f conftest.$ac_objext
    5384 if { (ac_try="$ac_compile"
    5385 case "(($ac_try" in
    5386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5387   *) ac_try_echo=$ac_try;;
    5388 esac
    5389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5390 $as_echo "$ac_try_echo") >&5
    5391   (eval "$ac_compile") 2>conftest.er1
    5392   ac_status=$?
    5393   grep -v '^ *+' conftest.er1 >conftest.err
    5394   rm -f conftest.er1
    5395   cat conftest.err >&5
    5396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5397   (exit $ac_status); } && {
    5398          test -z "$ac_cxx_werror_flag" ||
    5399          test ! -s conftest.err
    5400        } && test -s conftest.$ac_objext; then
    5401   ac_header_compiler=yes
    5402 else
    5403   $as_echo "$as_me: failed program was:" >&5
    5404 sed 's/^/| /' conftest.$ac_ext >&5
    5405 
    5406         ac_header_compiler=no
    5407 fi
    5408 
    5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5410 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5411 $as_echo "$ac_header_compiler" >&6; }
    5412 
    5413 # Is the header present?
    5414 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5415 $as_echo_n "checking $ac_header presence... " >&6; }
    5416 cat >conftest.$ac_ext <<_ACEOF
    5417 /* confdefs.h.  */
    5418 _ACEOF
    5419 cat confdefs.h >>conftest.$ac_ext
    5420 cat >>conftest.$ac_ext <<_ACEOF
    5421 /* end confdefs.h.  */
    5422 #include <$ac_header>
    5423 _ACEOF
    5424 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5425 case "(($ac_try" in
    5426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5427   *) ac_try_echo=$ac_try;;
    5428 esac
    5429 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5430 $as_echo "$ac_try_echo") >&5
    5431   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5432   ac_status=$?
    5433   grep -v '^ *+' conftest.er1 >conftest.err
    5434   rm -f conftest.er1
    5435   cat conftest.err >&5
    5436   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5437   (exit $ac_status); } >/dev/null && {
    5438          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5439          test ! -s conftest.err
    5440        }; then
    5441   ac_header_preproc=yes
    5442 else
    5443   $as_echo "$as_me: failed program was:" >&5
    5444 sed 's/^/| /' conftest.$ac_ext >&5
    5445 
    5446   ac_header_preproc=no
    5447 fi
    5448 
    5449 rm -f conftest.err conftest.$ac_ext
    5450 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5451 $as_echo "$ac_header_preproc" >&6; }
    5452 
    5453 # So?  What about this header?
    5454 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5455   yes:no: )
    5456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5457 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5459 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5460     ac_header_preproc=yes
    5461     ;;
    5462   no:yes:* )
    5463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5464 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5466 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5467     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5468 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5469     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5470 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5471     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5472 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5473     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5474 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5475     ( cat <<\_ASBOX
    5476 ## ----------------------------------- ##
    5477 ## Report this to rappture@nanohub.org ##
    5478 ## ----------------------------------- ##
    5479 _ASBOX
    5480      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5481     ;;
    5482 esac
    5483 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5484 $as_echo_n "checking for $ac_header... " >&6; }
    5485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5486   $as_echo_n "(cached) " >&6
    5487 else
    5488   eval "$as_ac_Header=\$ac_header_preproc"
    5489 fi
    5490 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5491                  $as_echo "$as_val"'`
    5492                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5493 $as_echo "$ac_res" >&6; }
    5494 
    5495 fi
    5496 as_val=`eval 'as_val=${'$as_ac_Header'}
    5497                  $as_echo "$as_val"'`
    5498    if test "x$as_val" = x""yes; then
     4990do :
     4991  ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
     4992if test "x$ac_cv_header_ncurses_h" = xyes; then :
    54994993  cat >>confdefs.h <<_ACEOF
    5500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5501 _ACEOF
    5502 
    5503 else
    5504   { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
     4994#define HAVE_NCURSES_H 1
     4995_ACEOF
     4996
     4997else
     4998  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    55054999$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    55065000fi
     
    55095003
    55105004
    5511 
    5512 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    55135006$as_echo_n "checking for main in -lstdc++... " >&6; }
    5514 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     5007if ${ac_cv_lib_stdcpp_main+:} false; then :
    55155008  $as_echo_n "(cached) " >&6
    55165009else
    55175010  ac_check_lib_save_LIBS=$LIBS
    55185011LIBS="-lstdc++  $LIBS"
    5519 cat >conftest.$ac_ext <<_ACEOF
    5520 /* confdefs.h.  */
    5521 _ACEOF
    5522 cat confdefs.h >>conftest.$ac_ext
    5523 cat >>conftest.$ac_ext <<_ACEOF
     5012cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55245013/* end confdefs.h.  */
    55255014
     
    55335022}
    55345023_ACEOF
    5535 rm -f conftest.$ac_objext conftest$ac_exeext
    5536 if { (ac_try="$ac_link"
    5537 case "(($ac_try" in
    5538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5539   *) ac_try_echo=$ac_try;;
    5540 esac
    5541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5542 $as_echo "$ac_try_echo") >&5
    5543   (eval "$ac_link") 2>conftest.er1
    5544   ac_status=$?
    5545   grep -v '^ *+' conftest.er1 >conftest.err
    5546   rm -f conftest.er1
    5547   cat conftest.err >&5
    5548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5549   (exit $ac_status); } && {
    5550          test -z "$ac_cxx_werror_flag" ||
    5551          test ! -s conftest.err
    5552        } && test -s conftest$ac_exeext && {
    5553          test "$cross_compiling" = yes ||
    5554          $as_test_x conftest$ac_exeext
    5555        }; then
     5024if ac_fn_cxx_try_link "$LINENO"; then :
    55565025  ac_cv_lib_stdcpp_main=yes
    55575026else
    5558   $as_echo "$as_me: failed program was:" >&5
    5559 sed 's/^/| /' conftest.$ac_ext >&5
    5560 
    5561         ac_cv_lib_stdcpp_main=no
    5562 fi
    5563 
    5564 rm -rf conftest.dSYM
    5565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5566       conftest$ac_exeext conftest.$ac_ext
     5027  ac_cv_lib_stdcpp_main=no
     5028fi
     5029rm -f core conftest.err conftest.$ac_objext \
     5030    conftest$ac_exeext conftest.$ac_ext
    55675031LIBS=$ac_check_lib_save_LIBS
    55685032fi
    5569 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    55705034$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5571 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
     5035if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    55725036  cat >>confdefs.h <<_ACEOF
    55735037#define HAVE_LIBSTDC__ 1
     
    55775041
    55785042else
    5579   { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5580 $as_echo "$as_me: error: librappture requires libstdc++" >&2;}
    5581    { (exit 1); exit 1; }; }
    5582 fi
    5583 
     5043  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     5044fi
    55845045
    55855046for ac_header in algorithm
    5586 do
    5587 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5589   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5590 $as_echo_n "checking for $ac_header... " >&6; }
    5591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5592   $as_echo_n "(cached) " >&6
    5593 fi
    5594 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5595                  $as_echo "$as_val"'`
    5596                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5597 $as_echo "$ac_res" >&6; }
    5598 else
    5599   # Is the header compilable?
    5600 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5601 $as_echo_n "checking $ac_header usability... " >&6; }
    5602 cat >conftest.$ac_ext <<_ACEOF
    5603 /* confdefs.h.  */
    5604 _ACEOF
    5605 cat confdefs.h >>conftest.$ac_ext
    5606 cat >>conftest.$ac_ext <<_ACEOF
    5607 /* end confdefs.h.  */
    5608 $ac_includes_default
    5609 #include <$ac_header>
    5610 _ACEOF
    5611 rm -f conftest.$ac_objext
    5612 if { (ac_try="$ac_compile"
    5613 case "(($ac_try" in
    5614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5615   *) ac_try_echo=$ac_try;;
    5616 esac
    5617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5618 $as_echo "$ac_try_echo") >&5
    5619   (eval "$ac_compile") 2>conftest.er1
    5620   ac_status=$?
    5621   grep -v '^ *+' conftest.er1 >conftest.err
    5622   rm -f conftest.er1
    5623   cat conftest.err >&5
    5624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5625   (exit $ac_status); } && {
    5626          test -z "$ac_cxx_werror_flag" ||
    5627          test ! -s conftest.err
    5628        } && test -s conftest.$ac_objext; then
    5629   ac_header_compiler=yes
    5630 else
    5631   $as_echo "$as_me: failed program was:" >&5
    5632 sed 's/^/| /' conftest.$ac_ext >&5
    5633 
    5634         ac_header_compiler=no
    5635 fi
    5636 
    5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5638 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5639 $as_echo "$ac_header_compiler" >&6; }
    5640 
    5641 # Is the header present?
    5642 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5643 $as_echo_n "checking $ac_header presence... " >&6; }
    5644 cat >conftest.$ac_ext <<_ACEOF
    5645 /* confdefs.h.  */
    5646 _ACEOF
    5647 cat confdefs.h >>conftest.$ac_ext
    5648 cat >>conftest.$ac_ext <<_ACEOF
    5649 /* end confdefs.h.  */
    5650 #include <$ac_header>
    5651 _ACEOF
    5652 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5653 case "(($ac_try" in
    5654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5655   *) ac_try_echo=$ac_try;;
    5656 esac
    5657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5658 $as_echo "$ac_try_echo") >&5
    5659   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5660   ac_status=$?
    5661   grep -v '^ *+' conftest.er1 >conftest.err
    5662   rm -f conftest.er1
    5663   cat conftest.err >&5
    5664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5665   (exit $ac_status); } >/dev/null && {
    5666          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5667          test ! -s conftest.err
    5668        }; then
    5669   ac_header_preproc=yes
    5670 else
    5671   $as_echo "$as_me: failed program was:" >&5
    5672 sed 's/^/| /' conftest.$ac_ext >&5
    5673 
    5674   ac_header_preproc=no
    5675 fi
    5676 
    5677 rm -f conftest.err conftest.$ac_ext
    5678 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5679 $as_echo "$ac_header_preproc" >&6; }
    5680 
    5681 # So?  What about this header?
    5682 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5683   yes:no: )
    5684     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5685 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5686     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5688     ac_header_preproc=yes
    5689     ;;
    5690   no:yes:* )
    5691     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5692 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5693     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5694 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5695     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5696 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5697     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5698 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5699     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5700 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5701     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5702 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5703     ( cat <<\_ASBOX
    5704 ## ----------------------------------- ##
    5705 ## Report this to rappture@nanohub.org ##
    5706 ## ----------------------------------- ##
    5707 _ASBOX
    5708      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5709     ;;
    5710 esac
    5711 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5712 $as_echo_n "checking for $ac_header... " >&6; }
    5713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5714   $as_echo_n "(cached) " >&6
    5715 else
    5716   eval "$as_ac_Header=\$ac_header_preproc"
    5717 fi
    5718 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5719                  $as_echo "$as_val"'`
    5720                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5721 $as_echo "$ac_res" >&6; }
    5722 
    5723 fi
    5724 as_val=`eval 'as_val=${'$as_ac_Header'}
    5725                  $as_echo "$as_val"'`
    5726    if test "x$as_val" = x""yes; then
     5047do :
     5048  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     5049if test "x$ac_cv_header_algorithm" = xyes; then :
    57275050  cat >>confdefs.h <<_ACEOF
    5728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5729 _ACEOF
    5730 
    5731 else
    5732   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5051#define HAVE_ALGORITHM 1
     5052_ACEOF
     5053
     5054else
     5055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    57335056$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    57345057fi
     
    57365059done
    57375060
    5738 
    57395061for ac_header in cctype
    5740 do
    5741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5743   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5744 $as_echo_n "checking for $ac_header... " >&6; }
    5745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5746   $as_echo_n "(cached) " >&6
    5747 fi
    5748 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5749                  $as_echo "$as_val"'`
    5750                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5751 $as_echo "$ac_res" >&6; }
    5752 else
    5753   # Is the header compilable?
    5754 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5755 $as_echo_n "checking $ac_header usability... " >&6; }
    5756 cat >conftest.$ac_ext <<_ACEOF
    5757 /* confdefs.h.  */
    5758 _ACEOF
    5759 cat confdefs.h >>conftest.$ac_ext
    5760 cat >>conftest.$ac_ext <<_ACEOF
    5761 /* end confdefs.h.  */
    5762 $ac_includes_default
    5763 #include <$ac_header>
    5764 _ACEOF
    5765 rm -f conftest.$ac_objext
    5766 if { (ac_try="$ac_compile"
    5767 case "(($ac_try" in
    5768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5769   *) ac_try_echo=$ac_try;;
    5770 esac
    5771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5772 $as_echo "$ac_try_echo") >&5
    5773   (eval "$ac_compile") 2>conftest.er1
    5774   ac_status=$?
    5775   grep -v '^ *+' conftest.er1 >conftest.err
    5776   rm -f conftest.er1
    5777   cat conftest.err >&5
    5778   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5779   (exit $ac_status); } && {
    5780          test -z "$ac_cxx_werror_flag" ||
    5781          test ! -s conftest.err
    5782        } && test -s conftest.$ac_objext; then
    5783   ac_header_compiler=yes
    5784 else
    5785   $as_echo "$as_me: failed program was:" >&5
    5786 sed 's/^/| /' conftest.$ac_ext >&5
    5787 
    5788         ac_header_compiler=no
    5789 fi
    5790 
    5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5792 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5793 $as_echo "$ac_header_compiler" >&6; }
    5794 
    5795 # Is the header present?
    5796 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5797 $as_echo_n "checking $ac_header presence... " >&6; }
    5798 cat >conftest.$ac_ext <<_ACEOF
    5799 /* confdefs.h.  */
    5800 _ACEOF
    5801 cat confdefs.h >>conftest.$ac_ext
    5802 cat >>conftest.$ac_ext <<_ACEOF
    5803 /* end confdefs.h.  */
    5804 #include <$ac_header>
    5805 _ACEOF
    5806 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5807 case "(($ac_try" in
    5808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5809   *) ac_try_echo=$ac_try;;
    5810 esac
    5811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5812 $as_echo "$ac_try_echo") >&5
    5813   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5814   ac_status=$?
    5815   grep -v '^ *+' conftest.er1 >conftest.err
    5816   rm -f conftest.er1
    5817   cat conftest.err >&5
    5818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5819   (exit $ac_status); } >/dev/null && {
    5820          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5821          test ! -s conftest.err
    5822        }; then
    5823   ac_header_preproc=yes
    5824 else
    5825   $as_echo "$as_me: failed program was:" >&5
    5826 sed 's/^/| /' conftest.$ac_ext >&5
    5827 
    5828   ac_header_preproc=no
    5829 fi
    5830 
    5831 rm -f conftest.err conftest.$ac_ext
    5832 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5833 $as_echo "$ac_header_preproc" >&6; }
    5834 
    5835 # So?  What about this header?
    5836 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5837   yes:no: )
    5838     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5839 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5840     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5842     ac_header_preproc=yes
    5843     ;;
    5844   no:yes:* )
    5845     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5846 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5847     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5848 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5849     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5850 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5851     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5852 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5853     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5854 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5855     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5856 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5857     ( cat <<\_ASBOX
    5858 ## ----------------------------------- ##
    5859 ## Report this to rappture@nanohub.org ##
    5860 ## ----------------------------------- ##
    5861 _ASBOX
    5862      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5863     ;;
    5864 esac
    5865 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5866 $as_echo_n "checking for $ac_header... " >&6; }
    5867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5868   $as_echo_n "(cached) " >&6
    5869 else
    5870   eval "$as_ac_Header=\$ac_header_preproc"
    5871 fi
    5872 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5873                  $as_echo "$as_val"'`
    5874                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5875 $as_echo "$ac_res" >&6; }
    5876 
    5877 fi
    5878 as_val=`eval 'as_val=${'$as_ac_Header'}
    5879                  $as_echo "$as_val"'`
    5880    if test "x$as_val" = x""yes; then
     5062do :
     5063  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     5064if test "x$ac_cv_header_cctype" = xyes; then :
    58815065  cat >>confdefs.h <<_ACEOF
    5882 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5883 _ACEOF
    5884 
    5885 else
    5886   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5066#define HAVE_CCTYPE 1
     5067_ACEOF
     5068
     5069else
     5070  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    58875071$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    58885072fi
     
    58905074done
    58915075
    5892 
    58935076for ac_header in cfloat
    5894 do
    5895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5897   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5898 $as_echo_n "checking for $ac_header... " >&6; }
    5899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5900   $as_echo_n "(cached) " >&6
    5901 fi
    5902 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5903                  $as_echo "$as_val"'`
    5904                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5905 $as_echo "$ac_res" >&6; }
    5906 else
    5907   # Is the header compilable?
    5908 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5909 $as_echo_n "checking $ac_header usability... " >&6; }
    5910 cat >conftest.$ac_ext <<_ACEOF
    5911 /* confdefs.h.  */
    5912 _ACEOF
    5913 cat confdefs.h >>conftest.$ac_ext
    5914 cat >>conftest.$ac_ext <<_ACEOF
    5915 /* end confdefs.h.  */
    5916 $ac_includes_default
    5917 #include <$ac_header>
    5918 _ACEOF
    5919 rm -f conftest.$ac_objext
    5920 if { (ac_try="$ac_compile"
    5921 case "(($ac_try" in
    5922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5923   *) ac_try_echo=$ac_try;;
    5924 esac
    5925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5926 $as_echo "$ac_try_echo") >&5
    5927   (eval "$ac_compile") 2>conftest.er1
    5928   ac_status=$?
    5929   grep -v '^ *+' conftest.er1 >conftest.err
    5930   rm -f conftest.er1
    5931   cat conftest.err >&5
    5932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5933   (exit $ac_status); } && {
    5934          test -z "$ac_cxx_werror_flag" ||
    5935          test ! -s conftest.err
    5936        } && test -s conftest.$ac_objext; then
    5937   ac_header_compiler=yes
    5938 else
    5939   $as_echo "$as_me: failed program was:" >&5
    5940 sed 's/^/| /' conftest.$ac_ext >&5
    5941 
    5942         ac_header_compiler=no
    5943 fi
    5944 
    5945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5946 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5947 $as_echo "$ac_header_compiler" >&6; }
    5948 
    5949 # Is the header present?
    5950 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5951 $as_echo_n "checking $ac_header presence... " >&6; }
    5952 cat >conftest.$ac_ext <<_ACEOF
    5953 /* confdefs.h.  */
    5954 _ACEOF
    5955 cat confdefs.h >>conftest.$ac_ext
    5956 cat >>conftest.$ac_ext <<_ACEOF
    5957 /* end confdefs.h.  */
    5958 #include <$ac_header>
    5959 _ACEOF
    5960 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5961 case "(($ac_try" in
    5962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5963   *) ac_try_echo=$ac_try;;
    5964 esac
    5965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5966 $as_echo "$ac_try_echo") >&5
    5967   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5968   ac_status=$?
    5969   grep -v '^ *+' conftest.er1 >conftest.err
    5970   rm -f conftest.er1
    5971   cat conftest.err >&5
    5972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5973   (exit $ac_status); } >/dev/null && {
    5974          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5975          test ! -s conftest.err
    5976        }; then
    5977   ac_header_preproc=yes
    5978 else
    5979   $as_echo "$as_me: failed program was:" >&5
    5980 sed 's/^/| /' conftest.$ac_ext >&5
    5981 
    5982   ac_header_preproc=no
    5983 fi
    5984 
    5985 rm -f conftest.err conftest.$ac_ext
    5986 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5987 $as_echo "$ac_header_preproc" >&6; }
    5988 
    5989 # So?  What about this header?
    5990 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5991   yes:no: )
    5992     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5993 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5994     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5995 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5996     ac_header_preproc=yes
    5997     ;;
    5998   no:yes:* )
    5999     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6000 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6001     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6002 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6003     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6004 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6005     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6006 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6007     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6008 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6009     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6010 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6011     ( cat <<\_ASBOX
    6012 ## ----------------------------------- ##
    6013 ## Report this to rappture@nanohub.org ##
    6014 ## ----------------------------------- ##
    6015 _ASBOX
    6016      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6017     ;;
    6018 esac
    6019 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6020 $as_echo_n "checking for $ac_header... " >&6; }
    6021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6022   $as_echo_n "(cached) " >&6
    6023 else
    6024   eval "$as_ac_Header=\$ac_header_preproc"
    6025 fi
    6026 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6027                  $as_echo "$as_val"'`
    6028                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6029 $as_echo "$ac_res" >&6; }
    6030 
    6031 fi
    6032 as_val=`eval 'as_val=${'$as_ac_Header'}
    6033                  $as_echo "$as_val"'`
    6034    if test "x$as_val" = x""yes; then
     5077do :
     5078  ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
     5079if test "x$ac_cv_header_cfloat" = xyes; then :
    60355080  cat >>confdefs.h <<_ACEOF
    6036 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6037 _ACEOF
    6038 
    6039 else
    6040   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5081#define HAVE_CFLOAT 1
     5082_ACEOF
     5083
     5084else
     5085  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    60415086$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    60425087fi
     
    60445089done
    60455090
    6046 
    60475091for ac_header in cmath
    6048 do
    6049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6051   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6052 $as_echo_n "checking for $ac_header... " >&6; }
    6053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6054   $as_echo_n "(cached) " >&6
    6055 fi
    6056 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6057                  $as_echo "$as_val"'`
    6058                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6059 $as_echo "$ac_res" >&6; }
    6060 else
    6061   # Is the header compilable?
    6062 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6063 $as_echo_n "checking $ac_header usability... " >&6; }
    6064 cat >conftest.$ac_ext <<_ACEOF
    6065 /* confdefs.h.  */
    6066 _ACEOF
    6067 cat confdefs.h >>conftest.$ac_ext
    6068 cat >>conftest.$ac_ext <<_ACEOF
    6069 /* end confdefs.h.  */
    6070 $ac_includes_default
    6071 #include <$ac_header>
    6072 _ACEOF
    6073 rm -f conftest.$ac_objext
    6074 if { (ac_try="$ac_compile"
    6075 case "(($ac_try" in
    6076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6077   *) ac_try_echo=$ac_try;;
    6078 esac
    6079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6080 $as_echo "$ac_try_echo") >&5
    6081   (eval "$ac_compile") 2>conftest.er1
    6082   ac_status=$?
    6083   grep -v '^ *+' conftest.er1 >conftest.err
    6084   rm -f conftest.er1
    6085   cat conftest.err >&5
    6086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6087   (exit $ac_status); } && {
    6088          test -z "$ac_cxx_werror_flag" ||
    6089          test ! -s conftest.err
    6090        } && test -s conftest.$ac_objext; then
    6091   ac_header_compiler=yes
    6092 else
    6093   $as_echo "$as_me: failed program was:" >&5
    6094 sed 's/^/| /' conftest.$ac_ext >&5
    6095 
    6096         ac_header_compiler=no
    6097 fi
    6098 
    6099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6100 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6101 $as_echo "$ac_header_compiler" >&6; }
    6102 
    6103 # Is the header present?
    6104 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6105 $as_echo_n "checking $ac_header presence... " >&6; }
    6106 cat >conftest.$ac_ext <<_ACEOF
    6107 /* confdefs.h.  */
    6108 _ACEOF
    6109 cat confdefs.h >>conftest.$ac_ext
    6110 cat >>conftest.$ac_ext <<_ACEOF
    6111 /* end confdefs.h.  */
    6112 #include <$ac_header>
    6113 _ACEOF
    6114 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6115 case "(($ac_try" in
    6116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6117   *) ac_try_echo=$ac_try;;
    6118 esac
    6119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6120 $as_echo "$ac_try_echo") >&5
    6121   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6122   ac_status=$?
    6123   grep -v '^ *+' conftest.er1 >conftest.err
    6124   rm -f conftest.er1
    6125   cat conftest.err >&5
    6126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6127   (exit $ac_status); } >/dev/null && {
    6128          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6129          test ! -s conftest.err
    6130        }; then
    6131   ac_header_preproc=yes
    6132 else
    6133   $as_echo "$as_me: failed program was:" >&5
    6134 sed 's/^/| /' conftest.$ac_ext >&5
    6135 
    6136   ac_header_preproc=no
    6137 fi
    6138 
    6139 rm -f conftest.err conftest.$ac_ext
    6140 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6141 $as_echo "$ac_header_preproc" >&6; }
    6142 
    6143 # So?  What about this header?
    6144 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6145   yes:no: )
    6146     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6147 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6148     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6149