Changeset 3601


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

put back new ruby configure test

Location:
branches/1.2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/configure

    <
    r3472 r3601  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.2.
     3# Generated by GNU Autoconf 2.69 for Rappture 1.2.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     213do
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218         /*)
     219           for as_base in sh bash ksh sh5; do
     220             # Try only shells that exist, to save several forks.
     221             as_shell=$as_dir/$as_base
     222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229           done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     268  else
     269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     270$0: rappture@nanohub.org about your system, including any
     271$0: error possibly output before this message. Then install
     272$0: a modern shell, or manually run the script under such a
     273$0: shell if you do have one."
     274  fi
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334         X"$as_dir" : 'X\(//\)[^/]' \| \
     335         X"$as_dir" : 'X\(//\)$' \| \
     336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339            s//\1/
     340            q
     341          }
     342          /^X\(\/\/\)[^/].*/{
     343            s//\1/
     344            q
     345          }
     346          /^X\(\/\/\)$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\).*/{
     351            s//\1/
     352            q
     353          }
     354          s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
    137422if expr a : '\(a\)' >/dev/null 2>&1 &&
    138423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148433fi
    149434
    150 
    151 # Name of the executable.
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
    152441as_me=`$as_basename -- "$0" ||
    153442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169458          s/.*/./; q'`
    170459
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     460# Avoid depending upon Character Ranges.
     461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     464as_cr_digits='0123456789'
     465as_cr_alnum=$as_cr_Letters$as_cr_digits
     466
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460473  sed -n '
    461474    p
     
    474487    ' >$as_me.lineno &&
    475488  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    479495  # Don't try to exec as it changes $[0], causing all sort of problems
    480496  # (the dirname of $[0] is not the place where we might find the
     
    485501}
    486502
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494503ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     504case `echo -n x` in #(((((
    496505-n*)
    497   case `echo 'x\c'` in
     506  case `echo 'xy\c'` in
    498507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
    500511  esac;;
    501512*)
    502513  ECHO_N='-n';;
    503514esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510515
    511516rm -f conf$$ conf$$.exe conf$$.file
     
    522527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    525530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    527532  elif ln conf$$.file conf$$ 2>/dev/null; then
    528533    as_ln_s=ln
    529534  else
    530     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    531536  fi
    532537else
    533   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    534539fi
    535540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537542
    538543if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    540545else
    541546  test -d ./-p && rmdir ./-p
     
    543548fi
    544549
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    567552
    568553# Sed expression to map a string onto a valid CPP name.
     
    573558
    574559
    575 
    576 exec 7<&0 </dev/null 6>&1
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    577562
    578563# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580565# so uname gets run too.
    581566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592577MFLAGS=
    593578MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595579
    596580# Identity of this package.
     
    600584PACKAGE_STRING='Rappture 1.2'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    699684HAVE_FFMPEG_LIBS
    700685ENABLE_GUI
     686FFMPEG
    701687LDFLAGS_DEFAULT
    702688CFLAGS_DEFAULT
    703 RUBY_EXTRA_LIBS
    704 RUBY_SITE_PKG
     689host_os
     690host_vendor
     691host_cpu
     692host
     693build_os
     694build_vendor
     695build_cpu
     696build
     697HAVE_RUBY_H
     698RUBY_SITELIBDIR
     699RUBY_LIBRUBYARG_STATIC
     700RUBY_LIBRUBYARG
     701RUBY_LIBS
    705702RUBY_LDFLAGS
     703RUBY_CXXFLAGS
     704RUBY_CFLAGS
    706705RUBY_CPPFLAGS
    707 AWK
    708 RUBY_VERSION
    709 SED
     706RUBY_VERSION_CODE
    710707RUBY
    711708R
     
    802799prefix
    803800exec_prefix
     801PACKAGE_URL
    804802PACKAGE_BUGREPORT
    805803PACKAGE_STRING
     
    830828with_R
    831829with_ruby
     830with_ruby_sitelibdir
    832831enable_shared
    833832enable_symbols
     
    910909
    911910  case $ac_option in
    912   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    913   *)    ac_optarg=yes ;;
     911  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     912  *=)   ac_optarg= ;;
     913  *)    ac_optarg=yes ;;
    914914  esac
    915915
     
    956956    # Reject names that are not valid shell variable names.
    957957    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    958       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    959    { (exit 1); exit 1; }; }
     958      as_fn_error $? "invalid feature name: $ac_useropt"
    960959    ac_useropt_orig=$ac_useropt
    961960    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    983982    # Reject names that are not valid shell variable names.
    984983    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    985       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    986    { (exit 1); exit 1; }; }
     984      as_fn_error $? "invalid feature name: $ac_useropt"
    987985    ac_useropt_orig=$ac_useropt
    988986    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11881186    # Reject names that are not valid shell variable names.
    11891187    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1190       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1191    { (exit 1); exit 1; }; }
     1188      as_fn_error $? "invalid package name: $ac_useropt"
    11921189    ac_useropt_orig=$ac_useropt
    11931190    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12051202    # Reject names that are not valid shell variable names.
    12061203    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1207       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1208    { (exit 1); exit 1; }; }
     1204      as_fn_error $? "invalid package name: $ac_useropt"
    12091205    ac_useropt_orig=$ac_useropt
    12101206    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12361232    x_libraries=$ac_optarg ;;
    12371233
    1238   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1239 Try \`$0 --help' for more information." >&2
    1240    { (exit 1); exit 1; }; }
     1234  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1235Try \`$0 --help' for more information"
    12411236    ;;
    12421237
     
    12441239    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12451240    # Reject names that are not valid shell variable names.
    1246     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1247       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1248    { (exit 1); exit 1; }; }
     1241    case $ac_envvar in #(
     1242      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1243      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1244    esac
    12491245    eval $ac_envvar=\$ac_optarg
    12501246    export $ac_envvar ;;
     
    12551251    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12561252      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1257     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1253    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    12581254    ;;
    12591255
     
    12631259if test -n "$ac_prev"; then
    12641260  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1265   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1266    { (exit 1); exit 1; }; }
     1261  as_fn_error $? "missing argument to $ac_option"
    12671262fi
    12681263
     
    12701265  case $enable_option_checking in
    12711266    no) ;;
    1272     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1273    { (exit 1); exit 1; }; } ;;
     1267    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    12741268    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12751269  esac
     
    12941288    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12951289  esac
    1296   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1297    { (exit 1); exit 1; }; }
     1290  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12981291done
    12991292
     
    13091302  if test "x$build_alias" = x; then
    13101303    cross_compiling=maybe
    1311     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1312     If a cross compiler is detected then cross compile mode will be used." >&2
    13131304  elif test "x$build_alias" != "x$host_alias"; then
    13141305    cross_compiling=yes
     
    13251316ac_ls_di=`ls -di .` &&
    13261317ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1327   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1328    { (exit 1); exit 1; }; }
     1318  as_fn_error $? "working directory cannot be determined"
    13291319test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1330   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1331    { (exit 1); exit 1; }; }
     1320  as_fn_error $? "pwd does not report name of working directory"
    13321321
    13331322
     
    13681357if test ! -r "$srcdir/$ac_unique_file"; then
    13691358  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1370   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1371    { (exit 1); exit 1; }; }
     1359  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13721360fi
    13731361ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13741362ac_abs_confdir=`(
    1375         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1376    { (exit 1); exit 1; }; }
     1363        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13771364        pwd)`
    13781365# When building in place, set srcdir=.
     
    14141401      --help=recursive    display the short help of all the included packages
    14151402  -V, --version           display version information and exit
    1416   -q, --quiet, --silent   do not print \`checking...' messages
     1403  -q, --quiet, --silent   do not print \`checking ...' messages
    14171404      --cache-file=FILE   cache test results in FILE [disabled]
    14181405  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14561443
    14571444  cat <<\_ACEOF
     1445
     1446System types:
     1447  --build=BUILD     configure for building on BUILD [guessed]
     1448  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    14581449_ACEOF
    14591450fi
     
    14941485  --with-java=DIR         location of java [default=yes]
    14951486  --with-R=DIR            location of R interpreter [default=yes]
    1496   --with-ruby=DIR         location of ruby [default=yes]
     1487  --with-ruby=PATH        path to the ruby interpreter [[ruby]]
     1488  --with-ruby-sitelibdir=PATH
     1489                          path to install ruby scripts [[auto-detect]]
    14971490
    14981491Some influential environment variables:
     
    15021495              nonstandard directory <lib dir>
    15031496  LIBS        libraries to pass to the linker, e.g. -l<library>
    1504   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1497  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15051498              you have headers in a nonstandard directory <include dir>
    15061499  CXX         C++ compiler command
     
    15781571  cat <<\_ACEOF
    15791572Rappture configure 1.2
    1580 generated by GNU Autoconf 2.63
    1581 
    1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1583 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1573generated by GNU Autoconf 2.69
     1574
     1575Copyright (C) 2012 Free Software Foundation, Inc.
    15841576This configure script is free software; the Free Software Foundation
    15851577gives unlimited permission to copy, distribute and modify it.
     
    15871579  exit
    15881580fi
     1581
     1582## ------------------------ ##
     1583## Autoconf initialization. ##
     1584## ------------------------ ##
     1585
     1586# ac_fn_c_try_compile LINENO
     1587# --------------------------
     1588# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1589ac_fn_c_try_compile ()
     1590{
     1591  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1592  rm -f conftest.$ac_objext
     1593  if { { ac_try="$ac_compile"
     1594case "(($ac_try" in
     1595  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1596  *) ac_try_echo=$ac_try;;
     1597esac
     1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1599$as_echo "$ac_try_echo"; } >&5
     1600  (eval "$ac_compile") 2>conftest.err
     1601  ac_status=$?
     1602  if test -s conftest.err; then
     1603    grep -v '^ *+' conftest.err >conftest.er1
     1604    cat conftest.er1 >&5
     1605    mv -f conftest.er1 conftest.err
     1606  fi
     1607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1608  test $ac_status = 0; } && {
     1609         test -z "$ac_c_werror_flag" ||
     1610         test ! -s conftest.err
     1611       } && test -s conftest.$ac_objext; then :
     1612  ac_retval=0
     1613else
     1614  $as_echo "$as_me: failed program was:" >&5
     1615sed 's/^/| /' conftest.$ac_ext >&5
     1616
     1617        ac_retval=1
     1618fi
     1619  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1620  as_fn_set_status $ac_retval
     1621
     1622} # ac_fn_c_try_compile
     1623
     1624# ac_fn_cxx_try_compile LINENO
     1625# ----------------------------
     1626# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1627ac_fn_cxx_try_compile ()
     1628{
     1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1630  rm -f conftest.$ac_objext
     1631  if { { ac_try="$ac_compile"
     1632case "(($ac_try" in
     1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1634  *) ac_try_echo=$ac_try;;
     1635esac
     1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1637$as_echo "$ac_try_echo"; } >&5
     1638  (eval "$ac_compile") 2>conftest.err
     1639  ac_status=$?
     1640  if test -s conftest.err; then
     1641    grep -v '^ *+' conftest.err >conftest.er1
     1642    cat conftest.er1 >&5
     1643    mv -f conftest.er1 conftest.err
     1644  fi
     1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1646  test $ac_status = 0; } && {
     1647         test -z "$ac_cxx_werror_flag" ||
     1648         test ! -s conftest.err
     1649       } && test -s conftest.$ac_objext; then :
     1650  ac_retval=0
     1651else
     1652  $as_echo "$as_me: failed program was:" >&5
     1653sed 's/^/| /' conftest.$ac_ext >&5
     1654
     1655        ac_retval=1
     1656fi
     1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1658  as_fn_set_status $ac_retval
     1659
     1660} # ac_fn_cxx_try_compile
     1661
     1662# ac_fn_f77_try_compile LINENO
     1663# ----------------------------
     1664# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1665ac_fn_f77_try_compile ()
     1666{
     1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1668  rm -f conftest.$ac_objext
     1669  if { { ac_try="$ac_compile"
     1670case "(($ac_try" in
     1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1672  *) ac_try_echo=$ac_try;;
     1673esac
     1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1675$as_echo "$ac_try_echo"; } >&5
     1676  (eval "$ac_compile") 2>conftest.err
     1677  ac_status=$?
     1678  if test -s conftest.err; then
     1679    grep -v '^ *+' conftest.err >conftest.er1
     1680    cat conftest.er1 >&5
     1681    mv -f conftest.er1 conftest.err
     1682  fi
     1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1684  test $ac_status = 0; } && {
     1685         test -z "$ac_f77_werror_flag" ||
     1686         test ! -s conftest.err
     1687       } && test -s conftest.$ac_objext; then :
     1688  ac_retval=0
     1689else
     1690  $as_echo "$as_me: failed program was:" >&5
     1691sed 's/^/| /' conftest.$ac_ext >&5
     1692
     1693        ac_retval=1
     1694fi
     1695  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1696  as_fn_set_status $ac_retval
     1697
     1698} # ac_fn_f77_try_compile
     1699
     1700# ac_fn_c_try_cpp LINENO
     1701# ----------------------
     1702# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1703ac_fn_c_try_cpp ()
     1704{
     1705  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1706  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1707case "(($ac_try" in
     1708  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1709  *) ac_try_echo=$ac_try;;
     1710esac
     1711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1712$as_echo "$ac_try_echo"; } >&5
     1713  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1714  ac_status=$?
     1715  if test -s conftest.err; then
     1716    grep -v '^ *+' conftest.err >conftest.er1
     1717    cat conftest.er1 >&5
     1718    mv -f conftest.er1 conftest.err
     1719  fi
     1720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1721  test $ac_status = 0; } > conftest.i && {
     1722         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1723         test ! -s conftest.err
     1724       }; then :
     1725  ac_retval=0
     1726else
     1727  $as_echo "$as_me: failed program was:" >&5
     1728sed 's/^/| /' conftest.$ac_ext >&5
     1729
     1730    ac_retval=1
     1731fi
     1732  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1733  as_fn_set_status $ac_retval
     1734
     1735} # ac_fn_c_try_cpp
     1736
     1737# ac_fn_c_try_run LINENO
     1738# ----------------------
     1739# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1740# that executables *can* be run.
     1741ac_fn_c_try_run ()
     1742{
     1743  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1744  if { { ac_try="$ac_link"
     1745case "(($ac_try" in
     1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1747  *) ac_try_echo=$ac_try;;
     1748esac
     1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1750$as_echo "$ac_try_echo"; } >&5
     1751  (eval "$ac_link") 2>&5
     1752  ac_status=$?
     1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1754  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1755  { { case "(($ac_try" in
     1756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1757  *) ac_try_echo=$ac_try;;
     1758esac
     1759eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1760$as_echo "$ac_try_echo"; } >&5
     1761  (eval "$ac_try") 2>&5
     1762  ac_status=$?
     1763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1764  test $ac_status = 0; }; }; then :
     1765  ac_retval=0
     1766else
     1767  $as_echo "$as_me: program exited with status $ac_status" >&5
     1768       $as_echo "$as_me: failed program was:" >&5
     1769sed 's/^/| /' conftest.$ac_ext >&5
     1770
     1771       ac_retval=$ac_status
     1772fi
     1773  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1775  as_fn_set_status $ac_retval
     1776
     1777} # ac_fn_c_try_run
     1778
     1779# ac_fn_c_try_link LINENO
     1780# -----------------------
     1781# Try to link conftest.$ac_ext, and return whether this succeeded.
     1782ac_fn_c_try_link ()
     1783{
     1784  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1785  rm -f conftest.$ac_objext conftest$ac_exeext
     1786  if { { ac_try="$ac_link"
     1787case "(($ac_try" in
     1788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1789  *) ac_try_echo=$ac_try;;
     1790esac
     1791eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1792$as_echo "$ac_try_echo"; } >&5
     1793  (eval "$ac_link") 2>conftest.err
     1794  ac_status=$?
     1795  if test -s conftest.err; then
     1796    grep -v '^ *+' conftest.err >conftest.er1
     1797    cat conftest.er1 >&5
     1798    mv -f conftest.er1 conftest.err
     1799  fi
     1800  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1801  test $ac_status = 0; } && {
     1802         test -z "$ac_c_werror_flag" ||
     1803         test ! -s conftest.err
     1804       } && test -s conftest$ac_exeext && {
     1805         test "$cross_compiling" = yes ||
     1806         test -x conftest$ac_exeext
     1807       }; then :
     1808  ac_retval=0
     1809else
     1810  $as_echo "$as_me: failed program was:" >&5
     1811sed 's/^/| /' conftest.$ac_ext >&5
     1812
     1813        ac_retval=1
     1814fi
     1815  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1816  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1817  # interfere with the next link command; also delete a directory that is
     1818  # left behind by Apple's compiler.  We do this before executing the actions.
     1819  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1820  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1821  as_fn_set_status $ac_retval
     1822
     1823} # ac_fn_c_try_link
     1824
     1825# ac_fn_c_check_func LINENO FUNC VAR
     1826# ----------------------------------
     1827# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1828ac_fn_c_check_func ()
     1829{
     1830  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1831  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1832$as_echo_n "checking for $2... " >&6; }
     1833if eval \${$3+:} false; then :
     1834  $as_echo_n "(cached) " >&6
     1835else
     1836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1837/* end confdefs.h.  */
     1838/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1839   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1840#define $2 innocuous_$2
     1841
     1842/* System header to define __stub macros and hopefully few prototypes,
     1843    which can conflict with char $2 (); below.
     1844    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1845    <limits.h> exists even on freestanding compilers.  */
     1846
     1847#ifdef __STDC__
     1848# include <limits.h>
     1849#else
     1850# include <assert.h>
     1851#endif
     1852
     1853#undef $2
     1854
     1855/* Override any GCC internal prototype to avoid an error.
     1856   Use char because int might match the return type of a GCC
     1857   builtin and then its argument prototype would still apply.  */
     1858#ifdef __cplusplus
     1859extern "C"
     1860#endif
     1861char $2 ();
     1862/* The GNU C library defines this for functions which it implements
     1863    to always fail with ENOSYS.  Some functions are actually named
     1864    something starting with __ and the normal name is an alias.  */
     1865#if defined __stub_$2 || defined __stub___$2
     1866choke me
     1867#endif
     1868
     1869int
     1870main ()
     1871{
     1872return $2 ();
     1873  ;
     1874  return 0;
     1875}
     1876_ACEOF
     1877if ac_fn_c_try_link "$LINENO"; then :
     1878  eval "$3=yes"
     1879else
     1880  eval "$3=no"
     1881fi
     1882rm -f core conftest.err conftest.$ac_objext \
     1883    conftest$ac_exeext conftest.$ac_ext
     1884fi
     1885eval ac_res=\$$3
     1886               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1887$as_echo "$ac_res" >&6; }
     1888  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1889
     1890} # ac_fn_c_check_func
     1891
     1892# ac_fn_cxx_try_link LINENO
     1893# -------------------------
     1894# Try to link conftest.$ac_ext, and return whether this succeeded.
     1895ac_fn_cxx_try_link ()
     1896{
     1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1898  rm -f conftest.$ac_objext conftest$ac_exeext
     1899  if { { ac_try="$ac_link"
     1900case "(($ac_try" in
     1901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1902  *) ac_try_echo=$ac_try;;
     1903esac
     1904eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1905$as_echo "$ac_try_echo"; } >&5
     1906  (eval "$ac_link") 2>conftest.err
     1907  ac_status=$?
     1908  if test -s conftest.err; then
     1909    grep -v '^ *+' conftest.err >conftest.er1
     1910    cat conftest.er1 >&5
     1911    mv -f conftest.er1 conftest.err
     1912  fi
     1913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1914  test $ac_status = 0; } && {
     1915         test -z "$ac_cxx_werror_flag" ||
     1916         test ! -s conftest.err
     1917       } && test -s conftest$ac_exeext && {
     1918         test "$cross_compiling" = yes ||
     1919         test -x conftest$ac_exeext
     1920       }; then :
     1921  ac_retval=0
     1922else
     1923  $as_echo "$as_me: failed program was:" >&5
     1924sed 's/^/| /' conftest.$ac_ext >&5
     1925
     1926        ac_retval=1
     1927fi
     1928  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1929  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1930  # interfere with the next link command; also delete a directory that is
     1931  # left behind by Apple's compiler.  We do this before executing the actions.
     1932  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1933  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1934  as_fn_set_status $ac_retval
     1935
     1936} # ac_fn_cxx_try_link
     1937
     1938# ac_fn_cxx_check_func LINENO FUNC VAR
     1939# ------------------------------------
     1940# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1941ac_fn_cxx_check_func ()
     1942{
     1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1945$as_echo_n "checking for $2... " >&6; }
     1946if eval \${$3+:} false; then :
     1947  $as_echo_n "(cached) " >&6
     1948else
     1949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1950/* end confdefs.h.  */
     1951/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1952   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1953#define $2 innocuous_$2
     1954
     1955/* System header to define __stub macros and hopefully few prototypes,
     1956    which can conflict with char $2 (); below.
     1957    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1958    <limits.h> exists even on freestanding compilers.  */
     1959
     1960#ifdef __STDC__
     1961# include <limits.h>
     1962#else
     1963# include <assert.h>
     1964#endif
     1965
     1966#undef $2
     1967
     1968/* Override any GCC internal prototype to avoid an error.
     1969   Use char because int might match the return type of a GCC
     1970   builtin and then its argument prototype would still apply.  */
     1971#ifdef __cplusplus
     1972extern "C"
     1973#endif
     1974char $2 ();
     1975/* The GNU C library defines this for functions which it implements
     1976    to always fail with ENOSYS.  Some functions are actually named
     1977    something starting with __ and the normal name is an alias.  */
     1978#if defined __stub_$2 || defined __stub___$2
     1979choke me
     1980#endif
     1981
     1982int
     1983main ()
     1984{
     1985return $2 ();
     1986  ;
     1987  return 0;
     1988}
     1989_ACEOF
     1990if ac_fn_cxx_try_link "$LINENO"; then :
     1991  eval "$3=yes"
     1992else
     1993  eval "$3=no"
     1994fi
     1995rm -f core conftest.err conftest.$ac_objext \
     1996    conftest$ac_exeext conftest.$ac_ext
     1997fi
     1998eval ac_res=\$$3
     1999               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2000$as_echo "$ac_res" >&6; }
     2001  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2002
     2003} # ac_fn_cxx_check_func
     2004
     2005# ac_fn_cxx_try_cpp LINENO
     2006# ------------------------
     2007# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     2008ac_fn_cxx_try_cpp ()
     2009{
     2010  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2011  if { { ac_try="$ac_cpp conftest.$ac_ext"
     2012case "(($ac_try" in
     2013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2014  *) ac_try_echo=$ac_try;;
     2015esac
     2016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2017$as_echo "$ac_try_echo"; } >&5
     2018  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     2019  ac_status=$?
     2020  if test -s conftest.err; then
     2021    grep -v '^ *+' conftest.err >conftest.er1
     2022    cat conftest.er1 >&5
     2023    mv -f conftest.er1 conftest.err
     2024  fi
     2025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2026  test $ac_status = 0; } > conftest.i && {
     2027         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     2028         test ! -s conftest.err
     2029       }; then :
     2030  ac_retval=0
     2031else
     2032  $as_echo "$as_me: failed program was:" >&5
     2033sed 's/^/| /' conftest.$ac_ext >&5
     2034
     2035    ac_retval=1
     2036fi
     2037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2038  as_fn_set_status $ac_retval
     2039
     2040} # ac_fn_cxx_try_cpp
     2041
     2042# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2043# ---------------------------------------------------------
     2044# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2045# the include files in INCLUDES and setting the cache variable VAR
     2046# accordingly.
     2047ac_fn_cxx_check_header_mongrel ()
     2048{
     2049  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2050  if eval \${$3+:} false; then :
     2051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2052$as_echo_n "checking for $2... " >&6; }
     2053if eval \${$3+:} false; then :
     2054  $as_echo_n "(cached) " >&6
     2055fi
     2056eval ac_res=\$$3
     2057               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2058$as_echo "$ac_res" >&6; }
     2059else
     2060  # Is the header compilable?
     2061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2062$as_echo_n "checking $2 usability... " >&6; }
     2063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2064/* end confdefs.h.  */
     2065$4
     2066#include <$2>
     2067_ACEOF
     2068if ac_fn_cxx_try_compile "$LINENO"; then :
     2069  ac_header_compiler=yes
     2070else
     2071  ac_header_compiler=no
     2072fi
     2073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2075$as_echo "$ac_header_compiler" >&6; }
     2076
     2077# Is the header present?
     2078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2079$as_echo_n "checking $2 presence... " >&6; }
     2080cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2081/* end confdefs.h.  */
     2082#include <$2>
     2083_ACEOF
     2084if ac_fn_cxx_try_cpp "$LINENO"; then :
     2085  ac_header_preproc=yes
     2086else
     2087  ac_header_preproc=no
     2088fi
     2089rm -f conftest.err conftest.i conftest.$ac_ext
     2090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2091$as_echo "$ac_header_preproc" >&6; }
     2092
     2093# So?  What about this header?
     2094case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2095  yes:no: )
     2096    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2097$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2098    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2099$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2100    ;;
     2101  no:yes:* )
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2103$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2105$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2107$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2109$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2111$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2112( $as_echo "## ----------------------------------- ##
     2113## Report this to rappture@nanohub.org ##
     2114## ----------------------------------- ##"
     2115     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2116    ;;
     2117esac
     2118  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2119$as_echo_n "checking for $2... " >&6; }
     2120if eval \${$3+:} false; then :
     2121  $as_echo_n "(cached) " >&6
     2122else
     2123  eval "$3=\$ac_header_compiler"
     2124fi
     2125eval ac_res=\$$3
     2126               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2127$as_echo "$ac_res" >&6; }
     2128fi
     2129  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2130
     2131} # ac_fn_cxx_check_header_mongrel
     2132
     2133# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2134# ---------------------------------------------------------
     2135# Tests whether HEADER exists and can be compiled using the include files in
     2136# INCLUDES, setting the cache variable VAR accordingly.
     2137ac_fn_cxx_check_header_compile ()
     2138{
     2139  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2140  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2141$as_echo_n "checking for $2... " >&6; }
     2142if eval \${$3+:} false; then :
     2143  $as_echo_n "(cached) " >&6
     2144else
     2145  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2146/* end confdefs.h.  */
     2147$4
     2148#include <$2>
     2149_ACEOF
     2150if ac_fn_cxx_try_compile "$LINENO"; then :
     2151  eval "$3=yes"
     2152else
     2153  eval "$3=no"
     2154fi
     2155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2156fi
     2157eval ac_res=\$$3
     2158               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2159$as_echo "$ac_res" >&6; }
     2160  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2161
     2162} # ac_fn_cxx_check_header_compile
     2163
     2164# ac_fn_cxx_try_run LINENO
     2165# ------------------------
     2166# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2167# that executables *can* be run.
     2168ac_fn_cxx_try_run ()
     2169{
     2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2171  if { { ac_try="$ac_link"
     2172case "(($ac_try" in
     2173  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2174  *) ac_try_echo=$ac_try;;
     2175esac
     2176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2177$as_echo "$ac_try_echo"; } >&5
     2178  (eval "$ac_link") 2>&5
     2179  ac_status=$?
     2180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2181  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2182  { { case "(($ac_try" in
     2183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2184  *) ac_try_echo=$ac_try;;
     2185esac
     2186eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2187$as_echo "$ac_try_echo"; } >&5
     2188  (eval "$ac_try") 2>&5
     2189  ac_status=$?
     2190  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2191  test $ac_status = 0; }; }; then :
     2192  ac_retval=0
     2193else
     2194  $as_echo "$as_me: program exited with status $ac_status" >&5
     2195       $as_echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198       ac_retval=$ac_status
     2199fi
     2200  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2201  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2202  as_fn_set_status $ac_retval
     2203
     2204} # ac_fn_cxx_try_run
     2205
     2206# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2207# ----------------------------------------------
     2208# Tries to find the compile-time value of EXPR in a program that includes
     2209# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2210# computed
     2211ac_fn_cxx_compute_int ()
     2212{
     2213  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2214  if test "$cross_compiling" = yes; then
     2215    # Depending upon the size, compute the lo and hi bounds.
     2216cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2217/* end confdefs.h.  */
     2218$4
     2219int
     2220main ()
     2221{
     2222static int test_array [1 - 2 * !(($2) >= 0)];
     2223test_array [0] = 0;
     2224return test_array [0];
     2225
     2226  ;
     2227  return 0;
     2228}
     2229_ACEOF
     2230if ac_fn_cxx_try_compile "$LINENO"; then :
     2231  ac_lo=0 ac_mid=0
     2232  while :; do
     2233    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2234/* end confdefs.h.  */
     2235$4
     2236int
     2237main ()
     2238{
     2239static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2240test_array [0] = 0;
     2241return test_array [0];
     2242
     2243  ;
     2244  return 0;
     2245}
     2246_ACEOF
     2247if ac_fn_cxx_try_compile "$LINENO"; then :
     2248  ac_hi=$ac_mid; break
     2249else
     2250  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2251                        if test $ac_lo -le $ac_mid; then
     2252                          ac_lo= ac_hi=
     2253                          break
     2254                        fi
     2255                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2256fi
     2257rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2258  done
     2259else
     2260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2261/* end confdefs.h.  */
     2262$4
     2263int
     2264main ()
     2265{
     2266static int test_array [1 - 2 * !(($2) < 0)];
     2267test_array [0] = 0;
     2268return test_array [0];
     2269
     2270  ;
     2271  return 0;
     2272}
     2273_ACEOF
     2274if ac_fn_cxx_try_compile "$LINENO"; then :
     2275  ac_hi=-1 ac_mid=-1
     2276  while :; do
     2277    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2278/* end confdefs.h.  */
     2279$4
     2280int
     2281main ()
     2282{
     2283static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2284test_array [0] = 0;
     2285return test_array [0];
     2286
     2287  ;
     2288  return 0;
     2289}
     2290_ACEOF
     2291if ac_fn_cxx_try_compile "$LINENO"; then :
     2292  ac_lo=$ac_mid; break
     2293else
     2294  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2295                        if test $ac_mid -le $ac_hi; then
     2296                          ac_lo= ac_hi=
     2297                          break
     2298                        fi
     2299                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2300fi
     2301rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2302  done
     2303else
     2304  ac_lo= ac_hi=
     2305fi
     2306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2307fi
     2308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2309# Binary search between lo and hi bounds.
     2310while test "x$ac_lo" != "x$ac_hi"; do
     2311  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2312  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2313/* end confdefs.h.  */
     2314$4
     2315int
     2316main ()
     2317{
     2318static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2319test_array [0] = 0;
     2320return test_array [0];
     2321
     2322  ;
     2323  return 0;
     2324}
     2325_ACEOF
     2326if ac_fn_cxx_try_compile "$LINENO"; then :
     2327  ac_hi=$ac_mid
     2328else
     2329  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2330fi
     2331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2332done
     2333case $ac_lo in #((
     2334?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2335'') ac_retval=1 ;;
     2336esac
     2337  else
     2338    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2339/* end confdefs.h.  */
     2340$4
     2341static long int longval () { return $2; }
     2342static unsigned long int ulongval () { return $2; }
     2343#include <stdio.h>
     2344#include <stdlib.h>
     2345int
     2346main ()
     2347{
     2348
     2349  FILE *f = fopen ("conftest.val", "w");
     2350  if (! f)
     2351    return 1;
     2352  if (($2) < 0)
     2353    {
     2354      long int i = longval ();
     2355      if (i != ($2))
     2356        return 1;
     2357      fprintf (f, "%ld", i);
     2358    }
     2359  else
     2360    {
     2361      unsigned long int i = ulongval ();
     2362      if (i != ($2))
     2363        return 1;
     2364      fprintf (f, "%lu", i);
     2365    }
     2366  /* Do not output a trailing newline, as this causes \r\n confusion
     2367     on some platforms.  */
     2368  return ferror (f) || fclose (f) != 0;
     2369
     2370  ;
     2371  return 0;
     2372}
     2373_ACEOF
     2374if ac_fn_cxx_try_run "$LINENO"; then :
     2375  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2376else
     2377  ac_retval=1
     2378fi
     2379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2380  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2381rm -f conftest.val
     2382
     2383  fi
     2384  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2385  as_fn_set_status $ac_retval
     2386
     2387} # ac_fn_cxx_compute_int
    15892388cat >config.log <<_ACEOF
    15902389This file contains any messages produced by compilers while
     
    15922391
    15932392It was created by Rappture $as_me 1.2, which was
    1594 generated by GNU Autoconf 2.63.  Invocation command line was
     2393generated by GNU Autoconf 2.69.  Invocation command line was
    15952394
    15962395  $ $0 $@
     
    16282427  IFS=$as_save_IFS
    16292428  test -z "$as_dir" && as_dir=.
    1630   $as_echo "PATH: $as_dir"
    1631 done
     2429    $as_echo "PATH: $as_dir"
     2430  done
    16322431IFS=$as_save_IFS
    16332432
     
    16662465    esac
    16672466    case $ac_pass in
    1668     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2467    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    16692468    2)
    1670       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2469      as_fn_append ac_configure_args1 " '$ac_arg'"
    16712470      if test $ac_must_keep_next = true; then
    16722471        ac_must_keep_next=false # Got value, back to normal.
     
    16842483        esac
    16852484      fi
    1686       ac_configure_args="$ac_configure_args '$ac_arg'"
     2485      as_fn_append ac_configure_args " '$ac_arg'"
    16872486      ;;
    16882487    esac
    16892488  done
    16902489done
    1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2490{ ac_configure_args0=; unset ac_configure_args0;}
     2491{ ac_configure_args1=; unset ac_configure_args1;}
    16932492
    16942493# When interrupted or exit'd, cleanup temporary files, and complete
     
    17022501    echo
    17032502
    1704     cat <<\_ASBOX
    1705 ## ---------------- ##
     2503    $as_echo "## ---------------- ##
    17062504## Cache variables. ##
    1707 ## ---------------- ##
    1708 _ASBOX
     2505## ---------------- ##"
    17092506    echo
    17102507    # The following way of writing the cache mishandles newlines in values,
     
    17152512    *${as_nl}*)
    17162513      case $ac_var in #(
    1717       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2514      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    17182515$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    17192516      esac
     
    17212518      _ | IFS | as_nl) ;; #(
    17222519      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1723       *) $as_unset $ac_var ;;
     2520      *) { eval $ac_var=; unset $ac_var;} ;;
    17242521      esac ;;
    17252522    esac
     
    17402537    echo
    17412538
    1742     cat <<\_ASBOX
    1743 ## ----------------- ##
     2539    $as_echo "## ----------------- ##
    17442540## Output variables. ##
    1745 ## ----------------- ##
    1746 _ASBOX
     2541## ----------------- ##"
    17472542    echo
    17482543    for ac_var in $ac_subst_vars
     
    17572552
    17582553    if test -n "$ac_subst_files"; then
    1759       cat <<\_ASBOX
    1760 ## ------------------- ##
     2554      $as_echo "## ------------------- ##
    17612555## File substitutions. ##
    1762 ## ------------------- ##
    1763 _ASBOX
     2556## ------------------- ##"
    17642557      echo
    17652558      for ac_var in $ac_subst_files
     
    17752568
    17762569    if test -s confdefs.h; then
    1777       cat <<\_ASBOX
    1778 ## ----------- ##
     2570      $as_echo "## ----------- ##
    17792571## confdefs.h. ##
    1780 ## ----------- ##
    1781 _ASBOX
     2572## ----------- ##"
    17822573      echo
    17832574      cat confdefs.h
     
    17932584' 0
    17942585for ac_signal in 1 2 13 15; do
    1795   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2586  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17962587done
    17972588ac_signal=0
     
    18002591rm -f -r conftest* confdefs.h
    18012592
     2593$as_echo "/* confdefs.h */" > confdefs.h
     2594
    18022595# Predefined preprocessor variables.
    18032596
     
    18062599_ACEOF
    18072600
    1808 
    18092601cat >>confdefs.h <<_ACEOF
    18102602#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18112603_ACEOF
    18122604
    1813 
    18142605cat >>confdefs.h <<_ACEOF
    18152606#define PACKAGE_VERSION "$PACKAGE_VERSION"
    18162607_ACEOF
    18172608
    1818 
    18192609cat >>confdefs.h <<_ACEOF
    18202610#define PACKAGE_STRING "$PACKAGE_STRING"
    18212611_ACEOF
    18222612
    1823 
    18242613cat >>confdefs.h <<_ACEOF
    18252614#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2615_ACEOF
     2616
     2617cat >>confdefs.h <<_ACEOF
     2618#define PACKAGE_URL "$PACKAGE_URL"
    18262619_ACEOF
    18272620
     
    18322625ac_site_file2=NONE
    18332626if test -n "$CONFIG_SITE"; then
    1834   ac_site_file1=$CONFIG_SITE
     2627  # We do not want a PATH search for config.site.
     2628  case $CONFIG_SITE in #((
     2629    -*)  ac_site_file1=./$CONFIG_SITE;;
     2630    */*) ac_site_file1=$CONFIG_SITE;;
     2631    *)   ac_site_file1=./$CONFIG_SITE;;
     2632  esac
    18352633elif test "x$prefix" != xNONE; then
    18362634  ac_site_file1=$prefix/share/config.site
     
    18432641do
    18442642  test "x$ac_site_file" = xNONE && continue
    1845   if test -r "$ac_site_file"; then
    1846     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2643  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2644    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    18472645$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    18482646    sed 's/^/| /' "$ac_site_file" >&5
    1849     . "$ac_site_file"
     2647    . "$ac_site_file" \
     2648      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2650as_fn_error $? "failed to load site script $ac_site_file
     2651See \`config.log' for more details" "$LINENO" 5; }
    18502652  fi
    18512653done
    18522654
    18532655if test -r "$cache_file"; then
    1854   # Some versions of bash will fail to source /dev/null (special
    1855   # files actually), so we avoid doing that.
    1856   if test -f "$cache_file"; then
    1857     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2656  # Some versions of bash will fail to source /dev/null (special files
     2657  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2658  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2659    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    18582660$as_echo "$as_me: loading cache $cache_file" >&6;}
    18592661    case $cache_file in
     
    18632665  fi
    18642666else
    1865   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2667  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    18662668$as_echo "$as_me: creating cache $cache_file" >&6;}
    18672669  >$cache_file
     
    18782680  case $ac_old_set,$ac_new_set in
    18792681    set,)
    1880       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2682      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18812683$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18822684      ac_cache_corrupted=: ;;
    18832685    ,set)
    1884       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2686      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18852687$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18862688      ac_cache_corrupted=: ;;
     
    18922694        ac_new_val_w=`echo x $ac_new_val`
    18932695        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1894           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2696          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18952697$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18962698          ac_cache_corrupted=:
    18972699        else
    1898           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2700          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18992701$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19002702          eval $ac_var=\$ac_old_val
    19012703        fi
    1902         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2704        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    19032705$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1904         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2706        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    19052707$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19062708      fi;;
     
    19142716    case " $ac_configure_args " in
    19152717      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1916       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2718      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    19172719    esac
    19182720  fi
    19192721done
    19202722if $ac_cache_corrupted; then
    1921   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2723  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    19222724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1923   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2725  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    19242726$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1925   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1926 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1927    { (exit 1); exit 1; }; }
    1928 fi
    1929 
    1930 
    1931 
    1932 
    1933 
    1934 
    1935 
    1936 
    1937 
    1938 
    1939 
    1940 
    1941 
    1942 
    1943 
    1944 
    1945 
    1946 
    1947 
    1948 
    1949 
    1950 
    1951 
    1952 
     2727  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2728fi
     2729## -------------------- ##
     2730## Main body of script. ##
     2731## -------------------- ##
    19532732
    19542733ac_ext=c
     
    19762755done
    19772756if test -z "$ac_aux_dir"; then
    1978   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1979 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1980    { (exit 1); exit 1; }; }
     2757  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19812758fi
    19822759
     
    20062783
    20072784# Check whether --with-install was given.
    2008 if test "${with_install+set}" = set; then
     2785if test "${with_install+set}" = set; then :
    20092786  withval=$with_install;
    20102787else
     
    20412818# ./install, which can be erroneously created by make from ./install.sh.
    20422819# Reject install programs that cannot install multiple files.
    2043 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    20442821$as_echo_n "checking for a BSD-compatible install... " >&6; }
    20452822if test -z "$INSTALL"; then
    2046 if test "${ac_cv_path_install+set}" = set; then
     2823if ${ac_cv_path_install+:} false; then :
    20472824  $as_echo_n "(cached) " >&6
    20482825else
     
    20522829  IFS=$as_save_IFS
    20532830  test -z "$as_dir" && as_dir=.
    2054   # Account for people who put trailing slashes in PATH elements.
    2055 case $as_dir/ in
    2056   ./ | .// | /cC/* | \
     2831    # Account for people who put trailing slashes in PATH elements.
     2832case $as_dir/ in #((
     2833  ./ | .// | /[cC]/* | \
    20572834  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2058   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2835  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    20592836  /usr/ucb/* ) ;;
    20602837  *)
     
    20642841    for ac_prog in ginstall scoinst install; do
    20652842      for ac_exec_ext in '' $ac_executable_extensions; do
    2066         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2843        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    20672844          if test $ac_prog = install &&
    20682845            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    20932870esac
    20942871
    2095 done
     2872  done
    20962873IFS=$as_save_IFS
    20972874
     
    21092886  fi
    21102887fi
    2111 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    21122889$as_echo "$INSTALL" >&6; }
    21132890
     
    21202897test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21212898
    2122 # Find a good install program.  We prefer a C program (faster),
    2123 # so one script is as good as another.  But avoid the broken or
    2124 # incompatible versions:
    2125 # SysV /etc/install, /usr/sbin/install
    2126 # SunOS /usr/etc/install
    2127 # IRIX /sbin/install
    2128 # AIX /bin/install
    2129 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2133 # OS/2's system install, which has a completely different semantic
    2134 # ./install, which can be erroneously created by make from ./install.sh.
    2135 # Reject install programs that cannot install multiple files.
    2136 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2137 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    2138 if test -z "$INSTALL"; then
    2139 if test "${ac_cv_path_install+set}" = set; then
    2140   $as_echo_n "(cached) " >&6
    2141 else
    2142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2143 for as_dir in $PATH
    2144 do
    2145   IFS=$as_save_IFS
    2146   test -z "$as_dir" && as_dir=.
    2147   # Account for people who put trailing slashes in PATH elements.
    2148 case $as_dir/ in
    2149   ./ | .// | /cC/* | \
    2150   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2151   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2152   /usr/ucb/* ) ;;
    2153   *)
    2154     # OSF1 and SCO ODT 3.0 have their own names for install.
    2155     # Don't use installbsd from OSF since it installs stuff as root
    2156     # by default.
    2157     for ac_prog in ginstall scoinst install; do
    2158       for ac_exec_ext in '' $ac_executable_extensions; do
    2159         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2160           if test $ac_prog = install &&
    2161             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2162             # AIX install.  It has an incompatible calling convention.
    2163             :
    2164           elif test $ac_prog = install &&
    2165             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2166             # program-specific install script used by HP pwplus--don't use.
    2167             :
    2168           else
    2169             rm -rf conftest.one conftest.two conftest.dir
    2170             echo one > conftest.one
    2171             echo two > conftest.two
    2172             mkdir conftest.dir
    2173             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    2174               test -s conftest.one && test -s conftest.two &&
    2175               test -s conftest.dir/conftest.one &&
    2176               test -s conftest.dir/conftest.two
    2177             then
    2178               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2179               break 3
    2180             fi
    2181           fi
    2182         fi
    2183       done
    2184     done
    2185     ;;
    2186 esac
    2187 
    2188 done
    2189 IFS=$as_save_IFS
    2190 
    2191 rm -rf conftest.one conftest.two conftest.dir
    2192 
    2193 fi
    2194   if test "${ac_cv_path_install+set}" = set; then
    2195     INSTALL=$ac_cv_path_install
    2196   else
    2197     # As a last resort, use the slow shell script.  Don't cache a
    2198     # value for INSTALL within a source directory, because that will
    2199     # break other packages using the cache if that directory is
    2200     # removed, or if the value is a relative name.
    2201     INSTALL=$ac_install_sh
    2202   fi
    2203 fi
    2204 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    2205 $as_echo "$INSTALL" >&6; }
    2206 
    2207 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2208 # It thinks the first close brace ends the variable substitution.
    2209 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2210 
    2211 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2212 
    2213 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    22142899
    22152900if test -n "$ac_tool_prefix"; then
    22162901  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    22172902set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22192904$as_echo_n "checking for $ac_word... " >&6; }
    2220 if test "${ac_cv_prog_RANLIB+set}" = set; then
     2905if ${ac_cv_prog_RANLIB+:} false; then :
    22212906  $as_echo_n "(cached) " >&6
    22222907else
     
    22292914  IFS=$as_save_IFS
    22302915  test -z "$as_dir" && as_dir=.
    2231   for ac_exec_ext in '' $ac_executable_extensions; do
    2232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2916    for ac_exec_ext in '' $ac_executable_extensions; do
     2917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22332918    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2234     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22352920    break 2
    22362921  fi
    22372922done
    2238 done
     2923  done
    22392924IFS=$as_save_IFS
    22402925
     
    22432928RANLIB=$ac_cv_prog_RANLIB
    22442929if test -n "$RANLIB"; then
    2245   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    22462931$as_echo "$RANLIB" >&6; }
    22472932else
    2248   { $as_echo "$as_me:$LINENO: result: no" >&5
     2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22492934$as_echo "no" >&6; }
    22502935fi
     
    22562941  # Extract the first word of "ranlib", so it can be a program name with args.
    22572942set dummy ranlib; ac_word=$2
    2258 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22592944$as_echo_n "checking for $ac_word... " >&6; }
    2260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2945if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    22612946  $as_echo_n "(cached) " >&6
    22622947else
     
    22692954  IFS=$as_save_IFS
    22702955  test -z "$as_dir" && as_dir=.
    2271   for ac_exec_ext in '' $ac_executable_extensions; do
    2272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2956    for ac_exec_ext in '' $ac_executable_extensions; do
     2957  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22732958    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2274     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2959    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22752960    break 2
    22762961  fi
    22772962done
    2278 done
     2963  done
    22792964IFS=$as_save_IFS
    22802965
     
    22832968ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    22842969if test -n "$ac_ct_RANLIB"; then
    2285   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    22862971$as_echo "$ac_ct_RANLIB" >&6; }
    22872972else
    2288   { $as_echo "$as_me:$LINENO: result: no" >&5
     2973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22892974$as_echo "no" >&6; }
    22902975fi
     
    22952980    case $cross_compiling:$ac_tool_warned in
    22962981yes:)
    2297 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2982{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22982983$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22992984ac_tool_warned=yes ;;
     
    23052990fi
    23062991
    2307 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    23082993$as_echo_n "checking whether ln -s works... " >&6; }
    23092994LN_S=$as_ln_s
    23102995if test "$LN_S" = "ln -s"; then
    2311   { $as_echo "$as_me:$LINENO: result: yes" >&5
     2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23122997$as_echo "yes" >&6; }
    23132998else
    2314   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    23153000$as_echo "no, using $LN_S" >&6; }
    23163001fi
    23173002
    2318 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    23193004$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    23203005if test -z "$MKDIR_P"; then
    2321   if test "${ac_cv_path_mkdir+set}" = set; then
     3006  if ${ac_cv_path_mkdir+:} false; then :
    23223007  $as_echo_n "(cached) " >&6
    23233008else
     
    23273012  IFS=$as_save_IFS
    23283013  test -z "$as_dir" && as_dir=.
    2329   for ac_prog in mkdir gmkdir; do
     3014    for ac_prog in mkdir gmkdir; do
    23303015         for ac_exec_ext in '' $ac_executable_extensions; do
    2331            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     3016           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    23323017           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    23333018             'mkdir (GNU coreutils) '* | \
     
    23393024         done
    23403025       done
    2341 done
     3026  done
    23423027IFS=$as_save_IFS
    23433028
    23443029fi
    23453030
     3031  test -d ./--version && rmdir ./--version
    23463032  if test "${ac_cv_path_mkdir+set}" = set; then
    23473033    MKDIR_P="$ac_cv_path_mkdir -p"
     
    23513037    # break other packages using the cache if that directory is
    23523038    # removed, or if the value is a relative name.
    2353     test -d ./--version && rmdir ./--version
    23543039    MKDIR_P="$ac_install_sh -d"
    23553040  fi
    23563041fi
    2357 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    23583043$as_echo "$MKDIR_P" >&6; }
    23593044
    2360 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    23613046$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    23623047set x ${MAKE-make}
    23633048ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2364 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3049if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    23653050  $as_echo_n "(cached) " >&6
    23663051else
     
    23703055        @echo '@@@%%%=$(MAKE)=@@@%%%'
    23713056_ACEOF
    2372 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3057# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    23733058case `${MAKE-make} -f conftest.make 2>/dev/null` in
    23743059  *@@@%%%=?*=@@@%%%*)
     
    23803065fi
    23813066if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2382   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23833068$as_echo "yes" >&6; }
    23843069  SET_MAKE=
    23853070else
    2386   { $as_echo "$as_me:$LINENO: result: no" >&5
     3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23873072$as_echo "no" >&6; }
    23883073  SET_MAKE="MAKE=${MAKE-make}"
     
    23993084  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24003085set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24023087$as_echo_n "checking for $ac_word... " >&6; }
    2403 if test "${ac_cv_prog_CC+set}" = set; then
     3088if ${ac_cv_prog_CC+:} false; then :
    24043089  $as_echo_n "(cached) " >&6
    24053090else
     
    24123097  IFS=$as_save_IFS
    24133098  test -z "$as_dir" && as_dir=.
    2414   for ac_exec_ext in '' $ac_executable_extensions; do
    2415   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3099    for ac_exec_ext in '' $ac_executable_extensions; do
     3100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24163101    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2417     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24183103    break 2
    24193104  fi
    24203105done
    2421 done
     3106  done
    24223107IFS=$as_save_IFS
    24233108
     
    24263111CC=$ac_cv_prog_CC
    24273112if test -n "$CC"; then
    2428   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    24293114$as_echo "$CC" >&6; }
    24303115else
    2431   { $as_echo "$as_me:$LINENO: result: no" >&5
     3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24323117$as_echo "no" >&6; }
    24333118fi
     
    24393124  # Extract the first word of "gcc", so it can be a program name with args.
    24403125set dummy gcc; ac_word=$2
    2441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24423127$as_echo_n "checking for $ac_word... " >&6; }
    2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3128if ${ac_cv_prog_ac_ct_CC+:} false; then :
    24443129  $as_echo_n "(cached) " >&6
    24453130else
     
    24523137  IFS=$as_save_IFS
    24533138  test -z "$as_dir" && as_dir=.
    2454   for ac_exec_ext in '' $ac_executable_extensions; do
    2455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3139    for ac_exec_ext in '' $ac_executable_extensions; do
     3140  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24563141    ac_cv_prog_ac_ct_CC="gcc"
    2457     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24583143    break 2
    24593144  fi
    24603145done
    2461 done
     3146  done
    24623147IFS=$as_save_IFS
    24633148
     
    24663151ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24673152if test -n "$ac_ct_CC"; then
    2468   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    24693154$as_echo "$ac_ct_CC" >&6; }
    24703155else
    2471   { $as_echo "$as_me:$LINENO: result: no" >&5
     3156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24723157$as_echo "no" >&6; }
    24733158fi
     
    24783163    case $cross_compiling:$ac_tool_warned in
    24793164yes:)
    2480 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    24813166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    24823167ac_tool_warned=yes ;;
     
    24923177    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    24933178set dummy ${ac_tool_prefix}cc; ac_word=$2
    2494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24953180$as_echo_n "checking for $ac_word... " >&6; }
    2496 if test "${ac_cv_prog_CC+set}" = set; then
     3181if ${ac_cv_prog_CC+:} false; then :
    24973182  $as_echo_n "(cached) " >&6
    24983183else
     
    25053190  IFS=$as_save_IFS
    25063191  test -z "$as_dir" && as_dir=.
    2507   for ac_exec_ext in '' $ac_executable_extensions; do
    2508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3192    for ac_exec_ext in '' $ac_executable_extensions; do
     3193  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25093194    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2510     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3195    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25113196    break 2
    25123197  fi
    25133198done
    2514 done
     3199  done
    25153200IFS=$as_save_IFS
    25163201
     
    25193204CC=$ac_cv_prog_CC
    25203205if test -n "$CC"; then
    2521   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25223207$as_echo "$CC" >&6; }
    25233208else
    2524   { $as_echo "$as_me:$LINENO: result: no" >&5
     3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25253210$as_echo "no" >&6; }
    25263211fi
     
    25323217  # Extract the first word of "cc", so it can be a program name with args.
    25333218set dummy cc; ac_word=$2
    2534 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25353220$as_echo_n "checking for $ac_word... " >&6; }
    2536 if test "${ac_cv_prog_CC+set}" = set; then
     3221if ${ac_cv_prog_CC+:} false; then :
    25373222  $as_echo_n "(cached) " >&6
    25383223else
     
    25463231  IFS=$as_save_IFS
    25473232  test -z "$as_dir" && as_dir=.
    2548   for ac_exec_ext in '' $ac_executable_extensions; do
    2549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3233    for ac_exec_ext in '' $ac_executable_extensions; do
     3234  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25503235    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    25513236       ac_prog_rejected=yes
     
    25533238     fi
    25543239    ac_cv_prog_CC="cc"
    2555     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25563241    break 2
    25573242  fi
    25583243done
    2559 done
     3244  done
    25603245IFS=$as_save_IFS
    25613246
     
    25763261CC=$ac_cv_prog_CC
    25773262if test -n "$CC"; then
    2578   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25793264$as_echo "$CC" >&6; }
    25803265else
    2581   { $as_echo "$as_me:$LINENO: result: no" >&5
     3266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25823267$as_echo "no" >&6; }
    25833268fi
     
    25913276    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    25923277set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25943279$as_echo_n "checking for $ac_word... " >&6; }
    2595 if test "${ac_cv_prog_CC+set}" = set; then
     3280if ${ac_cv_prog_CC+:} false; then :
    25963281  $as_echo_n "(cached) " >&6
    25973282else
     
    26043289  IFS=$as_save_IFS
    26053290  test -z "$as_dir" && as_dir=.
    2606   for ac_exec_ext in '' $ac_executable_extensions; do
    2607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3291    for ac_exec_ext in '' $ac_executable_extensions; do
     3292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26083293    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2609     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3294    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26103295    break 2
    26113296  fi
    26123297done
    2613 done
     3298  done
    26143299IFS=$as_save_IFS
    26153300
     
    26183303CC=$ac_cv_prog_CC
    26193304if test -n "$CC"; then
    2620   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    26213306$as_echo "$CC" >&6; }
    26223307else
    2623   { $as_echo "$as_me:$LINENO: result: no" >&5
     3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26243309$as_echo "no" >&6; }
    26253310fi
     
    26353320  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26363321set dummy $ac_prog; ac_word=$2
    2637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26383323$as_echo_n "checking for $ac_word... " >&6; }
    2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3324if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26403325  $as_echo_n "(cached) " >&6
    26413326else
     
    26483333  IFS=$as_save_IFS
    26493334  test -z "$as_dir" && as_dir=.
    2650   for ac_exec_ext in '' $ac_executable_extensions; do
    2651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3335    for ac_exec_ext in '' $ac_executable_extensions; do
     3336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26523337    ac_cv_prog_ac_ct_CC="$ac_prog"
    2653     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26543339    break 2
    26553340  fi
    26563341done
    2657 done
     3342  done
    26583343IFS=$as_save_IFS
    26593344
     
    26623347ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26633348if test -n "$ac_ct_CC"; then
    2664   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    26653350$as_echo "$ac_ct_CC" >&6; }
    26663351else
    2667   { $as_echo "$as_me:$LINENO: result: no" >&5
     3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26683353$as_echo "no" >&6; }
    26693354fi
     
    26783363    case $cross_compiling:$ac_tool_warned in
    26793364yes:)
    2680 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    26813366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    26823367ac_tool_warned=yes ;;
     
    26893374
    26903375
    2691 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3376test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    26923377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2693 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2694 See \`config.log' for more details." >&5
    2695 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2696 See \`config.log' for more details." >&2;}
    2697    { (exit 1); exit 1; }; }; }
     3378as_fn_error $? "no acceptable C compiler found in \$PATH
     3379See \`config.log' for more details" "$LINENO" 5; }
    26983380
    26993381# Provide some information about the compiler.
    2700 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3382$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27013383set X $ac_compile
    27023384ac_compiler=$2
    2703 { (ac_try="$ac_compiler --version >&5"
     3385for ac_option in --version -v -V -qversion; do
     3386  { { ac_try="$ac_compiler $ac_option >&5"
    27043387case "(($ac_try" in
    27053388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27063389  *) ac_try_echo=$ac_try;;
    27073390esac
    2708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2709 $as_echo "$ac_try_echo") >&5
    2710   (eval "$ac_compiler --version >&5") 2>&5
     3391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3392$as_echo "$ac_try_echo"; } >&5
     3393  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    27113394  ac_status=$?
    2712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2713   (exit $ac_status); }
    2714 { (ac_try="$ac_compiler -v >&5"
    2715 case "(($ac_try" in
    2716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2717   *) ac_try_echo=$ac_try;;
    2718 esac
    2719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2720 $as_echo "$ac_try_echo") >&5
    2721   (eval "$ac_compiler -v >&5") 2>&5
    2722   ac_status=$?
    2723   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2724   (exit $ac_status); }
    2725 { (ac_try="$ac_compiler -V >&5"
    2726 case "(($ac_try" in
    2727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2728   *) ac_try_echo=$ac_try;;
    2729 esac
    2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2731 $as_echo "$ac_try_echo") >&5
    2732   (eval "$ac_compiler -V >&5") 2>&5
    2733   ac_status=$?
    2734   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2735   (exit $ac_status); }
    2736 
    2737 cat >conftest.$ac_ext <<_ACEOF
    2738 /* confdefs.h.  */
    2739 _ACEOF
    2740 cat confdefs.h >>conftest.$ac_ext
    2741 cat >>conftest.$ac_ext <<_ACEOF
     3395  if test -s conftest.err; then
     3396    sed '10a\
     3397... rest of stderr output deleted ...
     3398         10q' conftest.err >conftest.er1
     3399    cat conftest.er1 >&5
     3400  fi
     3401  rm -f conftest.er1 conftest.err
     3402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3403  test $ac_status = 0; }
     3404done
     3405
     3406cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27423407/* end confdefs.h.  */
    27433408
     
    27553420# It will help us diagnose broken compilers, and finding out an intuition
    27563421# of exeext.
    2757 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2758 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3423$as_echo_n "checking whether the C compiler works... " >&6; }
    27593424ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27603425
     
    27723437rm -f $ac_rmfiles
    27733438
    2774 if { (ac_try="$ac_link_default"
     3439if { { ac_try="$ac_link_default"
    27753440case "(($ac_try" in
    27763441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27773442  *) ac_try_echo=$ac_try;;
    27783443esac
    2779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2780 $as_echo "$ac_try_echo") >&5
     3444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3445$as_echo "$ac_try_echo"; } >&5
    27813446  (eval "$ac_link_default") 2>&5
    27823447  ac_status=$?
    2783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2784   (exit $ac_status); }; then
     3448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3449  test $ac_status = 0; }; then :
    27853450  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    27863451# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    27993464        break;;
    28003465    *.* )
    2801         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3466        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    28023467        then :; else
    28033468           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    28183483  ac_file=''
    28193484fi
    2820 
    2821 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3485if test -z "$ac_file"; then :
     3486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3487$as_echo "no" >&6; }
     3488$as_echo "$as_me: failed program was:" >&5
     3489sed 's/^/| /' conftest.$ac_ext >&5
     3490
     3491{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3493as_fn_error 77 "C compiler cannot create executables
     3494See \`config.log' for more details" "$LINENO" 5; }
     3495else
     3496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3497$as_echo "yes" >&6; }
     3498fi
     3499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3500$as_echo_n "checking for C compiler default output file name... " >&6; }
     3501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28223502$as_echo "$ac_file" >&6; }
    2823 if test -z "$ac_file"; then
    2824   $as_echo "$as_me: failed program was:" >&5
    2825 sed 's/^/| /' conftest.$ac_ext >&5
    2826 
    2827 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2829 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2830 See \`config.log' for more details." >&5
    2831 $as_echo "$as_me: error: C compiler cannot create executables
    2832 See \`config.log' for more details." >&2;}
    2833    { (exit 77); exit 77; }; }; }
    2834 fi
    2835 
    28363503ac_exeext=$ac_cv_exeext
    2837 
    2838 # Check that the compiler produces executables we can run.  If not, either
    2839 # the compiler is broken, or we cross compile.
    2840 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2841 $as_echo_n "checking whether the C compiler works... " >&6; }
    2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2843 # If not cross compiling, check that we can run a simple program.
    2844 if test "$cross_compiling" != yes; then
    2845   if { ac_try='./$ac_file'
    2846   { (case "(($ac_try" in
    2847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2848   *) ac_try_echo=$ac_try;;
    2849 esac
    2850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2851 $as_echo "$ac_try_echo") >&5
    2852   (eval "$ac_try") 2>&5
    2853   ac_status=$?
    2854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2855   (exit $ac_status); }; }; then
    2856     cross_compiling=no
    2857   else
    2858     if test "$cross_compiling" = maybe; then
    2859         cross_compiling=yes
    2860     else
    2861         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2863 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2864 If you meant to cross compile, use \`--host'.
    2865 See \`config.log' for more details." >&5
    2866 $as_echo "$as_me: error: cannot run C compiled programs.
    2867 If you meant to cross compile, use \`--host'.
    2868 See \`config.log' for more details." >&2;}
    2869    { (exit 1); exit 1; }; }; }
    2870     fi
    2871   fi
    2872 fi
    2873 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2874 $as_echo "yes" >&6; }
    28753504
    28763505rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    28773506ac_clean_files=$ac_clean_files_save
    2878 # Check that the compiler produces executables we can run.  If not, either
    2879 # the compiler is broken, or we cross compile.
    2880 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2881 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2882 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2883 $as_echo "$cross_compiling" >&6; }
    2884 
    2885 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    28863508$as_echo_n "checking for suffix of executables... " >&6; }
    2887 if { (ac_try="$ac_link"
     3509if { { ac_try="$ac_link"
    28883510case "(($ac_try" in
    28893511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    28903512  *) ac_try_echo=$ac_try;;
    28913513esac
    2892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2893 $as_echo "$ac_try_echo") >&5
     3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3515$as_echo "$ac_try_echo"; } >&5
    28943516  (eval "$ac_link") 2>&5
    28953517  ac_status=$?
    2896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2897   (exit $ac_status); }; then
     3518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3519  test $ac_status = 0; }; then :
    28983520  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    28993521# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29103532done
    29113533else
    2912   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3534  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29133535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2914 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2915 See \`config.log' for more details." >&5
    2916 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2917 See \`config.log' for more details." >&2;}
    2918    { (exit 1); exit 1; }; }; }
    2919 fi
    2920 
    2921 rm -f conftest$ac_cv_exeext
    2922 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3536as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3537See \`config.log' for more details" "$LINENO" 5; }
     3538fi
     3539rm -f conftest conftest$ac_cv_exeext
     3540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    29233541$as_echo "$ac_cv_exeext" >&6; }
    29243542
     
    29263544EXEEXT=$ac_cv_exeext
    29273545ac_exeext=$EXEEXT
    2928 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2929 $as_echo_n "checking for suffix of object files... " >&6; }
    2930 if test "${ac_cv_objext+set}" = set; then
    2931   $as_echo_n "(cached) " >&6
    2932 else
    2933   cat >conftest.$ac_ext <<_ACEOF
    2934 /* confdefs.h.  */
    2935 _ACEOF
    2936 cat confdefs.h >>conftest.$ac_ext
    2937 cat >>conftest.$ac_ext <<_ACEOF
     3546cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29383547/* end confdefs.h.  */
    2939 
     3548#include <stdio.h>
    29403549int
    29413550main ()
    29423551{
     3552FILE *f = fopen ("conftest.out", "w");
     3553 return ferror (f) || fclose (f) != 0;
    29433554
    29443555  ;
     
    29463557}
    29473558_ACEOF
    2948 rm -f conftest.o conftest.obj
    2949 if { (ac_try="$ac_compile"
     3559ac_clean_files="$ac_clean_files conftest.out"
     3560# Check that the compiler produces executables we can run.  If not, either
     3561# the compiler is broken, or we cross compile.
     3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3563$as_echo_n "checking whether we are cross compiling... " >&6; }
     3564if test "$cross_compiling" != yes; then
     3565  { { ac_try="$ac_link"
    29503566case "(($ac_try" in
    29513567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29523568  *) ac_try_echo=$ac_try;;
    29533569esac
    2954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2955 $as_echo "$ac_try_echo") >&5
     3570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3571$as_echo "$ac_try_echo"; } >&5
     3572  (eval "$ac_link") 2>&5
     3573  ac_status=$?
     3574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3575  test $ac_status = 0; }
     3576  if { ac_try='./conftest$ac_cv_exeext'
     3577  { { case "(($ac_try" in
     3578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3579  *) ac_try_echo=$ac_try;;
     3580esac
     3581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3582$as_echo "$ac_try_echo"; } >&5
     3583  (eval "$ac_try") 2>&5
     3584  ac_status=$?
     3585  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3586  test $ac_status = 0; }; }; then
     3587    cross_compiling=no
     3588  else
     3589    if test "$cross_compiling" = maybe; then
     3590        cross_compiling=yes
     3591    else
     3592        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3594as_fn_error $? "cannot run C compiled programs.
     3595If you meant to cross compile, use \`--host'.
     3596See \`config.log' for more details" "$LINENO" 5; }
     3597    fi
     3598  fi
     3599fi
     3600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3601$as_echo "$cross_compiling" >&6; }
     3602
     3603rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3604ac_clean_files=$ac_clean_files_save
     3605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3606$as_echo_n "checking for suffix of object files... " >&6; }
     3607if ${ac_cv_objext+:} false; then :
     3608  $as_echo_n "(cached) " >&6
     3609else
     3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3611/* end confdefs.h.  */
     3612
     3613int
     3614main ()
     3615{
     3616
     3617  ;
     3618  return 0;
     3619}
     3620_ACEOF
     3621rm -f conftest.o conftest.obj
     3622if { { ac_try="$ac_compile"
     3623case "(($ac_try" in
     3624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3625  *) ac_try_echo=$ac_try;;
     3626esac
     3627eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3628$as_echo "$ac_try_echo"; } >&5
    29563629  (eval "$ac_compile") 2>&5
    29573630  ac_status=$?
    2958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2959   (exit $ac_status); }; then
     3631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3632  test $ac_status = 0; }; then :
    29603633  for ac_file in conftest.o conftest.obj conftest.*; do
    29613634  test -f "$ac_file" || continue;
     
    29703643sed 's/^/| /' conftest.$ac_ext >&5
    29713644
    2972 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3645{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29733646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2974 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2975 See \`config.log' for more details." >&5
    2976 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2977 See \`config.log' for more details." >&2;}
    2978    { (exit 1); exit 1; }; }; }
    2979 fi
    2980 
     3647as_fn_error $? "cannot compute suffix of object files: cannot compile
     3648See \`config.log' for more details" "$LINENO" 5; }
     3649fi
    29813650rm -f conftest.$ac_cv_objext conftest.$ac_ext
    29823651fi
    2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    29843653$as_echo "$ac_cv_objext" >&6; }
    29853654OBJEXT=$ac_cv_objext
    29863655ac_objext=$OBJEXT
    2987 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    29883657$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3658if ${ac_cv_c_compiler_gnu+:} false; then :
    29903659  $as_echo_n "(cached) " >&6
    29913660else
    2992   cat >conftest.$ac_ext <<_ACEOF
    2993 /* confdefs.h.  */
    2994 _ACEOF
    2995 cat confdefs.h >>conftest.$ac_ext
    2996 cat >>conftest.$ac_ext <<_ACEOF
     3661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29973662/* end confdefs.h.  */
    29983663
     
    30083673}
    30093674_ACEOF
    3010 rm -f conftest.$ac_objext
    3011 if { (ac_try="$ac_compile"
    3012 case "(($ac_try" in
    3013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3014   *) ac_try_echo=$ac_try;;
    3015 esac
    3016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3017 $as_echo "$ac_try_echo") >&5
    3018   (eval "$ac_compile") 2>conftest.er1
    3019   ac_status=$?
    3020   grep -v '^ *+' conftest.er1 >conftest.err
    3021   rm -f conftest.er1
    3022   cat conftest.err >&5
    3023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3024   (exit $ac_status); } && {
    3025          test -z "$ac_c_werror_flag" ||
    3026          test ! -s conftest.err
    3027        } && test -s conftest.$ac_objext; then
     3675if ac_fn_c_try_compile "$LINENO"; then :
    30283676  ac_compiler_gnu=yes
    30293677else
    3030   $as_echo "$as_me: failed program was:" >&5
    3031 sed 's/^/| /' conftest.$ac_ext >&5
    3032 
    3033         ac_compiler_gnu=no
    3034 fi
    3035 
     3678  ac_compiler_gnu=no
     3679fi
    30363680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30373681ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30383682
    30393683fi
    3040 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    30413685$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    30423686if test $ac_compiler_gnu = yes; then
     
    30473691ac_test_CFLAGS=${CFLAGS+set}
    30483692ac_save_CFLAGS=$CFLAGS
    3049 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    30503694$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3051 if test "${ac_cv_prog_cc_g+set}" = set; then
     3695if ${ac_cv_prog_cc_g+:} false; then :
    30523696  $as_echo_n "(cached) " >&6
    30533697else
     
    30563700   ac_cv_prog_cc_g=no
    30573701   CFLAGS="-g"
    3058    cat >conftest.$ac_ext <<_ACEOF
    3059 /* confdefs.h.  */
    3060 _ACEOF
    3061 cat confdefs.h >>conftest.$ac_ext
    3062 cat >>conftest.$ac_ext <<_ACEOF
     3702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30633703/* end confdefs.h.  */
    30643704
     
    30713711}
    30723712_ACEOF
    3073 rm -f conftest.$ac_objext
    3074 if { (ac_try="$ac_compile"
    3075 case "(($ac_try" in
    3076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3077   *) ac_try_echo=$ac_try;;
    3078 esac
    3079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3080 $as_echo "$ac_try_echo") >&5
    3081   (eval "$ac_compile") 2>conftest.er1
    3082   ac_status=$?
    3083   grep -v '^ *+' conftest.er1 >conftest.err
    3084   rm -f conftest.er1
    3085   cat conftest.err >&5
    3086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3087   (exit $ac_status); } && {
    3088          test -z "$ac_c_werror_flag" ||
    3089          test ! -s conftest.err
    3090        } && test -s conftest.$ac_objext; then
     3713if ac_fn_c_try_compile "$LINENO"; then :
    30913714  ac_cv_prog_cc_g=yes
    30923715else
    3093   $as_echo "$as_me: failed program was:" >&5
    3094 sed 's/^/| /' conftest.$ac_ext >&5
    3095 
    3096         CFLAGS=""
    3097       cat >conftest.$ac_ext <<_ACEOF
    3098 /* confdefs.h.  */
    3099 _ACEOF
    3100 cat confdefs.h >>conftest.$ac_ext
    3101 cat >>conftest.$ac_ext <<_ACEOF
     3716  CFLAGS=""
     3717      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31023718/* end confdefs.h.  */
    31033719
     
    31103726}
    31113727_ACEOF
    3112 rm -f conftest.$ac_objext
    3113 if { (ac_try="$ac_compile"
    3114 case "(($ac_try" in
    3115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3116   *) ac_try_echo=$ac_try;;
    3117 esac
    3118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3119 $as_echo "$ac_try_echo") >&5
    3120   (eval "$ac_compile") 2>conftest.er1
    3121   ac_status=$?
    3122   grep -v '^ *+' conftest.er1 >conftest.err
    3123   rm -f conftest.er1
    3124   cat conftest.err >&5
    3125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3126   (exit $ac_status); } && {
    3127          test -z "$ac_c_werror_flag" ||
    3128          test ! -s conftest.err
    3129        } && test -s conftest.$ac_objext; then
    3130   :
    3131 else
    3132   $as_echo "$as_me: failed program was:" >&5
    3133 sed 's/^/| /' conftest.$ac_ext >&5
    3134 
    3135         ac_c_werror_flag=$ac_save_c_werror_flag
     3728if ac_fn_c_try_compile "$LINENO"; then :
     3729
     3730else
     3731  ac_c_werror_flag=$ac_save_c_werror_flag
    31363732         CFLAGS="-g"
    3137          cat >conftest.$ac_ext <<_ACEOF
    3138 /* confdefs.h.  */
    3139 _ACEOF
    3140 cat confdefs.h >>conftest.$ac_ext
    3141 cat >>conftest.$ac_ext <<_ACEOF
     3733         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31423734/* end confdefs.h.  */
    31433735
     
    31503742}
    31513743_ACEOF
    3152 rm -f conftest.$ac_objext
    3153 if { (ac_try="$ac_compile"
    3154 case "(($ac_try" in
    3155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3156   *) ac_try_echo=$ac_try;;
    3157 esac
    3158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3159 $as_echo "$ac_try_echo") >&5
    3160   (eval "$ac_compile") 2>conftest.er1
    3161   ac_status=$?
    3162   grep -v '^ *+' conftest.er1 >conftest.err
    3163   rm -f conftest.er1
    3164   cat conftest.err >&5
    3165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3166   (exit $ac_status); } && {
    3167          test -z "$ac_c_werror_flag" ||
    3168          test ! -s conftest.err
    3169        } && test -s conftest.$ac_objext; then
     3744if ac_fn_c_try_compile "$LINENO"; then :
    31703745  ac_cv_prog_cc_g=yes
    3171 else
    3172   $as_echo "$as_me: failed program was:" >&5
    3173 sed 's/^/| /' conftest.$ac_ext >&5
    3174 
    3175 
    3176 fi
    3177 
     3746fi
    31783747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31793748fi
    3180 
    31813749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31823750fi
    3183 
    31843751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31853752   ac_c_werror_flag=$ac_save_c_werror_flag
    31863753fi
    3187 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    31883755$as_echo "$ac_cv_prog_cc_g" >&6; }
    31893756if test "$ac_test_CFLAGS" = set; then
     
    32023769  fi
    32033770fi
    3204 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    32053772$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3206 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3773if ${ac_cv_prog_cc_c89+:} false; then :
    32073774  $as_echo_n "(cached) " >&6
    32083775else
    32093776  ac_cv_prog_cc_c89=no
    32103777ac_save_CC=$CC
    3211 cat >conftest.$ac_ext <<_ACEOF
    3212 /* confdefs.h.  */
    3213 _ACEOF
    3214 cat confdefs.h >>conftest.$ac_ext
    3215 cat >>conftest.$ac_ext <<_ACEOF
     3778cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32163779/* end confdefs.h.  */
    32173780#include <stdarg.h>
    32183781#include <stdio.h>
    3219 #include <sys/types.h>
    3220 #include <sys/stat.h>
     3782struct stat;
    32213783/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32223784struct buf { int x; };
     
    32703832do
    32713833  CC="$ac_save_CC $ac_arg"
    3272   rm -f conftest.$ac_objext
    3273 if { (ac_try="$ac_compile"
    3274 case "(($ac_try" in
    3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3276   *) ac_try_echo=$ac_try;;
    3277 esac
    3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3279 $as_echo "$ac_try_echo") >&5
    3280   (eval "$ac_compile") 2>conftest.er1
    3281   ac_status=$?
    3282   grep -v '^ *+' conftest.er1 >conftest.err
    3283   rm -f conftest.er1
    3284   cat conftest.err >&5
    3285   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3286   (exit $ac_status); } && {
    3287          test -z "$ac_c_werror_flag" ||
    3288          test ! -s conftest.err
    3289        } && test -s conftest.$ac_objext; then
     3834  if ac_fn_c_try_compile "$LINENO"; then :
    32903835  ac_cv_prog_cc_c89=$ac_arg
    3291 else
    3292   $as_echo "$as_me: failed program was:" >&5
    3293 sed 's/^/| /' conftest.$ac_ext >&5
    3294 
    3295 
    3296 fi
    3297 
     3836fi
    32983837rm -f core conftest.err conftest.$ac_objext
    32993838  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    33063845case "x$ac_cv_prog_cc_c89" in
    33073846  x)
    3308     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    33093848$as_echo "none needed" >&6; } ;;
    33103849  xno)
    3311     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3850    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    33123851$as_echo "unsupported" >&6; } ;;
    33133852  *)
    33143853    CC="$CC $ac_cv_prog_cc_c89"
    3315     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    33163855$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33173856esac
    3318 
     3857if test "x$ac_cv_prog_cc_c89" != xno; then :
     3858
     3859fi
    33193860
    33203861ac_ext=c
     
    33383879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33393880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33413882$as_echo_n "checking for $ac_word... " >&6; }
    3342 if test "${ac_cv_prog_CXX+set}" = set; then
     3883if ${ac_cv_prog_CXX+:} false; then :
    33433884  $as_echo_n "(cached) " >&6
    33443885else
     
    33513892  IFS=$as_save_IFS
    33523893  test -z "$as_dir" && as_dir=.
    3353   for ac_exec_ext in '' $ac_executable_extensions; do
    3354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3894    for ac_exec_ext in '' $ac_executable_extensions; do
     3895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33553896    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3356     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33573898    break 2
    33583899  fi
    33593900done
    3360 done
     3901  done
    33613902IFS=$as_save_IFS
    33623903
     
    33653906CXX=$ac_cv_prog_CXX
    33663907if test -n "$CXX"; then
    3367   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    33683909$as_echo "$CXX" >&6; }
    33693910else
    3370   { $as_echo "$as_me:$LINENO: result: no" >&5
     3911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    33713912$as_echo "no" >&6; }
    33723913fi
     
    33823923  # Extract the first word of "$ac_prog", so it can be a program name with args.
    33833924set dummy $ac_prog; ac_word=$2
    3384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33853926$as_echo_n "checking for $ac_word... " >&6; }
    3386 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3927if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    33873928  $as_echo_n "(cached) " >&6
    33883929else
     
    33953936  IFS=$as_save_IFS
    33963937  test -z "$as_dir" && as_dir=.
    3397   for ac_exec_ext in '' $ac_executable_extensions; do
    3398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3938    for ac_exec_ext in '' $ac_executable_extensions; do
     3939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33993940    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3400     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34013942    break 2
    34023943  fi
    34033944done
    3404 done
     3945  done
    34053946IFS=$as_save_IFS
    34063947
     
    34093950ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34103951if test -n "$ac_ct_CXX"; then
    3411   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    34123953$as_echo "$ac_ct_CXX" >&6; }
    34133954else
    3414   { $as_echo "$as_me:$LINENO: result: no" >&5
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34153956$as_echo "no" >&6; }
    34163957fi
     
    34253966    case $cross_compiling:$ac_tool_warned in
    34263967yes:)
    3427 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    34283969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34293970ac_tool_warned=yes ;;
     
    34363977fi
    34373978# Provide some information about the compiler.
    3438 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3979$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    34393980set X $ac_compile
    34403981ac_compiler=$2
    3441 { (ac_try="$ac_compiler --version >&5"
     3982for ac_option in --version -v -V -qversion; do
     3983  { { ac_try="$ac_compiler $ac_option >&5"
    34423984case "(($ac_try" in
    34433985  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34443986  *) ac_try_echo=$ac_try;;
    34453987esac
    3446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3447 $as_echo "$ac_try_echo") >&5
    3448   (eval "$ac_compiler --version >&5") 2>&5
     3988eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3989$as_echo "$ac_try_echo"; } >&5
     3990  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    34493991  ac_status=$?
    3450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3451   (exit $ac_status); }
    3452 { (ac_try="$ac_compiler -v >&5"
    3453 case "(($ac_try" in
    3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3455   *) ac_try_echo=$ac_try;;
    3456 esac
    3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3458 $as_echo "$ac_try_echo") >&5
    3459   (eval "$ac_compiler -v >&5") 2>&5
    3460   ac_status=$?
    3461   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3462   (exit $ac_status); }
    3463 { (ac_try="$ac_compiler -V >&5"
    3464 case "(($ac_try" in
    3465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3466   *) ac_try_echo=$ac_try;;
    3467 esac
    3468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3469 $as_echo "$ac_try_echo") >&5
    3470   (eval "$ac_compiler -V >&5") 2>&5
    3471   ac_status=$?
    3472   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3473   (exit $ac_status); }
    3474 
    3475 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3992  if test -s conftest.err; then
     3993    sed '10a\
     3994... rest of stderr output deleted ...
     3995         10q' conftest.err >conftest.er1
     3996    cat conftest.er1 >&5
     3997  fi
     3998  rm -f conftest.er1 conftest.err
     3999  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4000  test $ac_status = 0; }
     4001done
     4002
     4003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    34764004$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4005if ${ac_cv_cxx_compiler_gnu+:} false; then :
    34784006  $as_echo_n "(cached) " >&6
    34794007else
    3480   cat >conftest.$ac_ext <<_ACEOF
    3481 /* confdefs.h.  */
    3482 _ACEOF
    3483 cat confdefs.h >>conftest.$ac_ext
    3484 cat >>conftest.$ac_ext <<_ACEOF
     4008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34854009/* end confdefs.h.  */
    34864010
     
    34964020}
    34974021_ACEOF
    3498 rm -f conftest.$ac_objext
    3499 if { (ac_try="$ac_compile"
    3500 case "(($ac_try" in
    3501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3502   *) ac_try_echo=$ac_try;;
    3503 esac
    3504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3505 $as_echo "$ac_try_echo") >&5
    3506   (eval "$ac_compile") 2>conftest.er1
    3507   ac_status=$?
    3508   grep -v '^ *+' conftest.er1 >conftest.err
    3509   rm -f conftest.er1
    3510   cat conftest.err >&5
    3511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3512   (exit $ac_status); } && {
    3513          test -z "$ac_cxx_werror_flag" ||
    3514          test ! -s conftest.err
    3515        } && test -s conftest.$ac_objext; then
     4022if ac_fn_cxx_try_compile "$LINENO"; then :
    35164023  ac_compiler_gnu=yes
    35174024else
    3518   $as_echo "$as_me: failed program was:" >&5
    3519 sed 's/^/| /' conftest.$ac_ext >&5
    3520 
    3521         ac_compiler_gnu=no
    3522 fi
    3523 
     4025  ac_compiler_gnu=no
     4026fi
    35244027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35254028ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35264029
    35274030fi
    3528 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    35294032$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    35304033if test $ac_compiler_gnu = yes; then
     
    35354038ac_test_CXXFLAGS=${CXXFLAGS+set}
    35364039ac_save_CXXFLAGS=$CXXFLAGS
    3537 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    35384041$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3539 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4042if ${ac_cv_prog_cxx_g+:} false; then :
    35404043  $as_echo_n "(cached) " >&6
    35414044else
     
    35444047   ac_cv_prog_cxx_g=no
    35454048   CXXFLAGS="-g"
    3546    cat >conftest.$ac_ext <<_ACEOF
    3547 /* confdefs.h.  */
    3548 _ACEOF
    3549 cat confdefs.h >>conftest.$ac_ext
    3550 cat >>conftest.$ac_ext <<_ACEOF
     4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35514050/* end confdefs.h.  */
    35524051
     
    35594058}
    35604059_ACEOF
    3561 rm -f conftest.$ac_objext
    3562 if { (ac_try="$ac_compile"
    3563 case "(($ac_try" in
    3564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3565   *) ac_try_echo=$ac_try;;
    3566 esac
    3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3568 $as_echo "$ac_try_echo") >&5
    3569   (eval "$ac_compile") 2>conftest.er1
    3570   ac_status=$?
    3571   grep -v '^ *+' conftest.er1 >conftest.err
    3572   rm -f conftest.er1
    3573   cat conftest.err >&5
    3574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3575   (exit $ac_status); } && {
    3576          test -z "$ac_cxx_werror_flag" ||
    3577          test ! -s conftest.err
    3578        } && test -s conftest.$ac_objext; then
     4060if ac_fn_cxx_try_compile "$LINENO"; then :
    35794061  ac_cv_prog_cxx_g=yes
    35804062else
    3581   $as_echo "$as_me: failed program was:" >&5
    3582 sed 's/^/| /' conftest.$ac_ext >&5
    3583 
    3584         CXXFLAGS=""
    3585       cat >conftest.$ac_ext <<_ACEOF
    3586 /* confdefs.h.  */
    3587 _ACEOF
    3588 cat confdefs.h >>conftest.$ac_ext
    3589 cat >>conftest.$ac_ext <<_ACEOF
     4063  CXXFLAGS=""
     4064      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35904065/* end confdefs.h.  */
    35914066
     
    35984073}
    35994074_ACEOF
    3600 rm -f conftest.$ac_objext
    3601 if { (ac_try="$ac_compile"
    3602 case "(($ac_try" in
    3603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3604   *) ac_try_echo=$ac_try;;
    3605 esac
    3606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3607 $as_echo "$ac_try_echo") >&5
    3608   (eval "$ac_compile") 2>conftest.er1
    3609   ac_status=$?
    3610   grep -v '^ *+' conftest.er1 >conftest.err
    3611   rm -f conftest.er1
    3612   cat conftest.err >&5
    3613   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3614   (exit $ac_status); } && {
    3615          test -z "$ac_cxx_werror_flag" ||
    3616          test ! -s conftest.err
    3617        } && test -s conftest.$ac_objext; then
    3618   :
    3619 else
    3620   $as_echo "$as_me: failed program was:" >&5
    3621 sed 's/^/| /' conftest.$ac_ext >&5
    3622 
    3623         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4075if ac_fn_cxx_try_compile "$LINENO"; then :
     4076
     4077else
     4078  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36244079         CXXFLAGS="-g"
    3625          cat >conftest.$ac_ext <<_ACEOF
    3626 /* confdefs.h.  */
    3627 _ACEOF
    3628 cat confdefs.h >>conftest.$ac_ext
    3629 cat >>conftest.$ac_ext <<_ACEOF
     4080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36304081/* end confdefs.h.  */
    36314082
     
    36384089}
    36394090_ACEOF
    3640 rm -f conftest.$ac_objext
    3641 if { (ac_try="$ac_compile"
    3642 case "(($ac_try" in
    3643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3644   *) ac_try_echo=$ac_try;;
    3645 esac
    3646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3647 $as_echo "$ac_try_echo") >&5
    3648   (eval "$ac_compile") 2>conftest.er1
    3649   ac_status=$?
    3650   grep -v '^ *+' conftest.er1 >conftest.err
    3651   rm -f conftest.er1
    3652   cat conftest.err >&5
    3653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3654   (exit $ac_status); } && {
    3655          test -z "$ac_cxx_werror_flag" ||
    3656          test ! -s conftest.err
    3657        } && test -s conftest.$ac_objext; then
     4091if ac_fn_cxx_try_compile "$LINENO"; then :
    36584092  ac_cv_prog_cxx_g=yes
    3659 else
    3660   $as_echo "$as_me: failed program was:" >&5
    3661 sed 's/^/| /' conftest.$ac_ext >&5
    3662 
    3663 
    3664 fi
    3665 
     4093fi
    36664094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36674095fi
    3668 
    36694096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36704097fi
    3671 
    36724098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36734099   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36744100fi
    3675 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    36764102$as_echo "$ac_cv_prog_cxx_g" >&6; }
    36774103if test "$ac_test_CXXFLAGS" = set; then
     
    37064132    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    37074133set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37094135$as_echo_n "checking for $ac_word... " >&6; }
    3710 if test "${ac_cv_prog_F77+set}" = set; then
     4136if ${ac_cv_prog_F77+:} false; then :
    37114137  $as_echo_n "(cached) " >&6
    37124138else
     
    37194145  IFS=$as_save_IFS
    37204146  test -z "$as_dir" && as_dir=.
    3721   for ac_exec_ext in '' $ac_executable_extensions; do
    3722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4147    for ac_exec_ext in '' $ac_executable_extensions; do
     4148  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37234149    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3724     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4150    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37254151    break 2
    37264152  fi
    37274153done
    3728 done
     4154  done
    37294155IFS=$as_save_IFS
    37304156
     
    37334159F77=$ac_cv_prog_F77
    37344160if test -n "$F77"; then
    3735   { $as_echo "$as_me:$LINENO: result: $F77" >&5
     4161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
    37364162$as_echo "$F77" >&6; }
    37374163else
    3738   { $as_echo "$as_me:$LINENO: result: no" >&5
     4164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37394165$as_echo "no" >&6; }
    37404166fi
     
    37504176  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37514177set dummy $ac_prog; ac_word=$2
    3752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37534179$as_echo_n "checking for $ac_word... " >&6; }
    3754 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4180if ${ac_cv_prog_ac_ct_F77+:} false; then :
    37554181  $as_echo_n "(cached) " >&6
    37564182else
     
    37634189  IFS=$as_save_IFS
    37644190  test -z "$as_dir" && as_dir=.
    3765   for ac_exec_ext in '' $ac_executable_extensions; do
    3766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4191    for ac_exec_ext in '' $ac_executable_extensions; do
     4192  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37674193    ac_cv_prog_ac_ct_F77="$ac_prog"
    3768     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4194    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37694195    break 2
    37704196  fi
    37714197done
    3772 done
     4198  done
    37734199IFS=$as_save_IFS
    37744200
     
    37774203ac_ct_F77=$ac_cv_prog_ac_ct_F77
    37784204if test -n "$ac_ct_F77"; then
    3779   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
    37804206$as_echo "$ac_ct_F77" >&6; }
    37814207else
    3782   { $as_echo "$as_me:$LINENO: result: no" >&5
     4208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37834209$as_echo "no" >&6; }
    37844210fi
     
    37934219    case $cross_compiling:$ac_tool_warned in
    37944220yes:)
    3795 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4221{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    37964222$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    37974223ac_tool_warned=yes ;;
     
    38034229
    38044230# Provide some information about the compiler.
    3805 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
     4231$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
    38064232set X $ac_compile
    38074233ac_compiler=$2
    3808 { (ac_try="$ac_compiler --version >&5"
     4234for ac_option in --version -v -V -qversion; do
     4235  { { ac_try="$ac_compiler $ac_option >&5"
    38094236case "(($ac_try" in
    38104237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    38114238  *) ac_try_echo=$ac_try;;
    38124239esac
    3813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3814 $as_echo "$ac_try_echo") >&5
    3815   (eval "$ac_compiler --version >&5") 2>&5
     4240eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4241$as_echo "$ac_try_echo"; } >&5
     4242  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    38164243  ac_status=$?
    3817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3818   (exit $ac_status); }
    3819 { (ac_try="$ac_compiler -v >&5"
    3820 case "(($ac_try" in
    3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3822   *) ac_try_echo=$ac_try;;
    3823 esac
    3824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3825 $as_echo "$ac_try_echo") >&5
    3826   (eval "$ac_compiler -v >&5") 2>&5
    3827   ac_status=$?
    3828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3829   (exit $ac_status); }
    3830 { (ac_try="$ac_compiler -V >&5"
    3831 case "(($ac_try" in
    3832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3833   *) ac_try_echo=$ac_try;;
    3834 esac
    3835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3836 $as_echo "$ac_try_echo") >&5
    3837   (eval "$ac_compiler -V >&5") 2>&5
    3838   ac_status=$?
    3839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3840   (exit $ac_status); }
     4244  if test -s conftest.err; then
     4245    sed '10a\
     4246... rest of stderr output deleted ...
     4247         10q' conftest.err >conftest.er1
     4248    cat conftest.er1 >&5
     4249  fi
     4250  rm -f conftest.er1 conftest.err
     4251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4252  test $ac_status = 0; }
     4253done
    38414254rm -f a.out
    38424255
     
    38454258ac_save_ext=$ac_ext
    38464259ac_ext=F
    3847 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
    38484261$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    3849 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     4262if ${ac_cv_f77_compiler_gnu+:} false; then :
    38504263  $as_echo_n "(cached) " >&6
    38514264else
    3852   cat >conftest.$ac_ext <<_ACEOF
     4265  cat > conftest.$ac_ext <<_ACEOF
    38534266      program main
    38544267#ifndef __GNUC__
     
    38584271      end
    38594272_ACEOF
    3860 rm -f conftest.$ac_objext
    3861 if { (ac_try="$ac_compile"
    3862 case "(($ac_try" in
    3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3864   *) ac_try_echo=$ac_try;;
    3865 esac
    3866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3867 $as_echo "$ac_try_echo") >&5
    3868   (eval "$ac_compile") 2>conftest.er1
    3869   ac_status=$?
    3870   grep -v '^ *+' conftest.er1 >conftest.err
    3871   rm -f conftest.er1
    3872   cat conftest.err >&5
    3873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3874   (exit $ac_status); } && {
    3875          test -z "$ac_f77_werror_flag" ||
    3876          test ! -s conftest.err
    3877        } && test -s conftest.$ac_objext; then
     4273if ac_fn_f77_try_compile "$LINENO"; then :
    38784274  ac_compiler_gnu=yes
    38794275else
    3880   $as_echo "$as_me: failed program was:" >&5
    3881 sed 's/^/| /' conftest.$ac_ext >&5
    3882 
    3883         ac_compiler_gnu=no
    3884 fi
    3885 
     4276  ac_compiler_gnu=no
     4277fi
    38864278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    38874279ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    38884280
    38894281fi
    3890 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     4282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
    38914283$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    38924284ac_ext=$ac_save_ext
     
    38944286ac_save_FFLAGS=$FFLAGS
    38954287FFLAGS=
    3896 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     4288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
    38974289$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    3898 if test "${ac_cv_prog_f77_g+set}" = set; then
     4290if ${ac_cv_prog_f77_g+:} false; then :
    38994291  $as_echo_n "(cached) " >&6
    39004292else
    39014293  FFLAGS=-g
    3902 cat >conftest.$ac_ext <<_ACEOF
     4294cat > conftest.$ac_ext <<_ACEOF
    39034295      program main
    39044296
    39054297      end
    39064298_ACEOF
    3907 rm -f conftest.$ac_objext
    3908 if { (ac_try="$ac_compile"
    3909 case "(($ac_try" in
    3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3911   *) ac_try_echo=$ac_try;;
    3912 esac
    3913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3914 $as_echo "$ac_try_echo") >&5
    3915   (eval "$ac_compile") 2>conftest.er1
    3916   ac_status=$?
    3917   grep -v '^ *+' conftest.er1 >conftest.err
    3918   rm -f conftest.er1
    3919   cat conftest.err >&5
    3920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3921   (exit $ac_status); } && {
    3922          test -z "$ac_f77_werror_flag" ||
    3923          test ! -s conftest.err
    3924        } && test -s conftest.$ac_objext; then
     4299if ac_fn_f77_try_compile "$LINENO"; then :
    39254300  ac_cv_prog_f77_g=yes
    39264301else
    3927   $as_echo "$as_me: failed program was:" >&5
    3928 sed 's/^/| /' conftest.$ac_ext >&5
    3929 
    3930         ac_cv_prog_f77_g=no
    3931 fi
    3932 
     4302  ac_cv_prog_f77_g=no
     4303fi
    39334304rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39344305
    39354306fi
    3936 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
    39374308$as_echo "$ac_cv_prog_f77_g" >&6; }
    39384309if test "$ac_test_FFLAGS" = set; then
     
    39774348ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    39784349ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3979 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    39804351$as_echo_n "checking how to run the C preprocessor... " >&6; }
    39814352# On Suns, sometimes $CPP names a directory.
     
    39844355fi
    39854356if test -z "$CPP"; then
    3986   if test "${ac_cv_prog_CPP+set}" = set; then
     4357  if ${ac_cv_prog_CPP+:} false; then :
    39874358  $as_echo_n "(cached) " >&6
    39884359else
     
    39994370  # On the NeXT, cc -E runs the code through the compiler's parser,
    40004371  # not just through cpp. "Syntax error" is here to catch this case.
    4001   cat >conftest.$ac_ext <<_ACEOF
    4002 /* confdefs.h.  */
    4003 _ACEOF
    4004 cat confdefs.h >>conftest.$ac_ext
    4005 cat >>conftest.$ac_ext <<_ACEOF
     4372  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40064373/* end confdefs.h.  */
    40074374#ifdef __STDC__
     
    40124379                     Syntax error
    40134380_ACEOF
    4014 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4015 case "(($ac_try" in
    4016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4017   *) ac_try_echo=$ac_try;;
    4018 esac
    4019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4020 $as_echo "$ac_try_echo") >&5
    4021   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4022   ac_status=$?
    4023   grep -v '^ *+' conftest.er1 >conftest.err
    4024   rm -f conftest.er1
    4025   cat conftest.err >&5
    4026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4027   (exit $ac_status); } >/dev/null && {
    4028          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4029          test ! -s conftest.err
    4030        }; then
    4031   :
    4032 else
    4033   $as_echo "$as_me: failed program was:" >&5
    4034 sed 's/^/| /' conftest.$ac_ext >&5
    4035 
     4381if ac_fn_c_try_cpp "$LINENO"; then :
     4382
     4383else
    40364384  # Broken: fails on valid input.
    40374385continue
    40384386fi
    4039 
    4040 rm -f conftest.err conftest.$ac_ext
     4387rm -f conftest.err conftest.i conftest.$ac_ext
    40414388
    40424389  # OK, works on sane cases.  Now check whether nonexistent headers
    40434390  # can be detected and how.
    4044   cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
     4391  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40494392/* end confdefs.h.  */
    40504393#include <ac_nonexistent.h>
    40514394_ACEOF
    4052 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4053 case "(($ac_try" in
    4054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4055   *) ac_try_echo=$ac_try;;
    4056 esac
    4057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4058 $as_echo "$ac_try_echo") >&5
    4059   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4060   ac_status=$?
    4061   grep -v '^ *+' conftest.er1 >conftest.err
    4062   rm -f conftest.er1
    4063   cat conftest.err >&5
    4064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4065   (exit $ac_status); } >/dev/null && {
    4066          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4067          test ! -s conftest.err
    4068        }; then
     4395if ac_fn_c_try_cpp "$LINENO"; then :
    40694396  # Broken: success on invalid input.
    40704397continue
    40714398else
    4072   $as_echo "$as_me: failed program was:" >&5
    4073 sed 's/^/| /' conftest.$ac_ext >&5
    4074 
    40754399  # Passes both tests.
    40764400ac_preproc_ok=:
    40774401break
    40784402fi
    4079 
    4080 rm -f conftest.err conftest.$ac_ext
     4403rm -f conftest.err conftest.i conftest.$ac_ext
    40814404
    40824405done
    40834406# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4084 rm -f conftest.err conftest.$ac_ext
    4085 if $ac_preproc_ok; then
     4407rm -f conftest.i conftest.err conftest.$ac_ext
     4408if $ac_preproc_ok; then :
    40864409  break
    40874410fi
     
    40954418  ac_cv_prog_CPP=$CPP
    40964419fi
    4097 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    40984421$as_echo "$CPP" >&6; }
    40994422ac_preproc_ok=false
     
    41064429  # On the NeXT, cc -E runs the code through the compiler's parser,
    41074430  # not just through cpp. "Syntax error" is here to catch this case.
    4108   cat >conftest.$ac_ext <<_ACEOF
    4109 /* confdefs.h.  */
    4110 _ACEOF
    4111 cat confdefs.h >>conftest.$ac_ext
    4112 cat >>conftest.$ac_ext <<_ACEOF
     4431  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41134432/* end confdefs.h.  */
    41144433#ifdef __STDC__
     
    41194438                     Syntax error
    41204439_ACEOF
    4121 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4122 case "(($ac_try" in
    4123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4124   *) ac_try_echo=$ac_try;;
    4125 esac
    4126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4127 $as_echo "$ac_try_echo") >&5
    4128   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4129   ac_status=$?
    4130   grep -v '^ *+' conftest.er1 >conftest.err
    4131   rm -f conftest.er1
    4132   cat conftest.err >&5
    4133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4134   (exit $ac_status); } >/dev/null && {
    4135          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4136          test ! -s conftest.err
    4137        }; then
    4138   :
    4139 else
    4140   $as_echo "$as_me: failed program was:" >&5
    4141 sed 's/^/| /' conftest.$ac_ext >&5
    4142 
     4440if ac_fn_c_try_cpp "$LINENO"; then :
     4441
     4442else
    41434443  # Broken: fails on valid input.
    41444444continue
    41454445fi
    4146 
    4147 rm -f conftest.err conftest.$ac_ext
     4446rm -f conftest.err conftest.i conftest.$ac_ext
    41484447
    41494448  # OK, works on sane cases.  Now check whether nonexistent headers
    41504449  # can be detected and how.
    4151   cat >conftest.$ac_ext <<_ACEOF
    4152 /* confdefs.h.  */
    4153 _ACEOF
    4154 cat confdefs.h >>conftest.$ac_ext
    4155 cat >>conftest.$ac_ext <<_ACEOF
     4450  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41564451/* end confdefs.h.  */
    41574452#include <ac_nonexistent.h>
    41584453_ACEOF
    4159 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4160 case "(($ac_try" in
    4161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4162   *) ac_try_echo=$ac_try;;
    4163 esac
    4164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4165 $as_echo "$ac_try_echo") >&5
    4166   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4167   ac_status=$?
    4168   grep -v '^ *+' conftest.er1 >conftest.err
    4169   rm -f conftest.er1
    4170   cat conftest.err >&5
    4171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4172   (exit $ac_status); } >/dev/null && {
    4173          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4174          test ! -s conftest.err
    4175        }; then
     4454if ac_fn_c_try_cpp "$LINENO"; then :
    41764455  # Broken: success on invalid input.
    41774456continue
    41784457else
    4179   $as_echo "$as_me: failed program was:" >&5
    4180 sed 's/^/| /' conftest.$ac_ext >&5
    4181 
    41824458  # Passes both tests.
    41834459ac_preproc_ok=:
    41844460break
    41854461fi
    4186 
    4187 rm -f conftest.err conftest.$ac_ext
     4462rm -f conftest.err conftest.i conftest.$ac_ext
    41884463
    41894464done
    41904465# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4191 rm -f conftest.err conftest.$ac_ext
    4192 if $ac_preproc_ok; then
    4193   :
    4194 else
    4195   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4466rm -f conftest.i conftest.err conftest.$ac_ext
     4467if $ac_preproc_ok; then :
     4468
     4469else
     4470  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    41964471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4197 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4198 See \`config.log' for more details." >&5
    4199 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4200 See \`config.log' for more details." >&2;}
    4201    { (exit 1); exit 1; }; }; }
     4472as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4473See \`config.log' for more details" "$LINENO" 5; }
    42024474fi
    42034475
     
    42094481
    42104482
    4211 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    42124484$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4213 if test "${ac_cv_path_GREP+set}" = set; then
     4485if ${ac_cv_path_GREP+:} false; then :
    42144486  $as_echo_n "(cached) " >&6
    42154487else
     
    42224494  IFS=$as_save_IFS
    42234495  test -z "$as_dir" && as_dir=.
    4224   for ac_prog in grep ggrep; do
     4496    for ac_prog in grep ggrep; do
    42254497    for ac_exec_ext in '' $ac_executable_extensions; do
    42264498      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4227       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4499      as_fn_executable_p "$ac_path_GREP" || continue
    42284500# Check for GNU ac_path_GREP and select it if it is found.
    42294501  # Check for GNU $ac_path_GREP
     
    42424514    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42434515    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4244     ac_count=`expr $ac_count + 1`
     4516    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42454517    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    42464518      # Best one so far, save it but keep looking for a better one
     
    42574529    done
    42584530  done
    4259 done
     4531  done
    42604532IFS=$as_save_IFS
    42614533  if test -z "$ac_cv_path_GREP"; then
    4262     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4263 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4264    { (exit 1); exit 1; }; }
     4534    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42654535  fi
    42664536else
     
    42694539
    42704540fi
    4271 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    42724542$as_echo "$ac_cv_path_GREP" >&6; }
    42734543 GREP="$ac_cv_path_GREP"
    42744544
    42754545
    4276 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    42774547$as_echo_n "checking for egrep... " >&6; }
    4278 if test "${ac_cv_path_EGREP+set}" = set; then
     4548if ${ac_cv_path_EGREP+:} false; then :
    42794549  $as_echo_n "(cached) " >&6
    42804550else
     
    42904560  IFS=$as_save_IFS
    42914561  test -z "$as_dir" && as_dir=.
    4292   for ac_prog in egrep; do
     4562    for ac_prog in egrep; do
    42934563    for ac_exec_ext in '' $ac_executable_extensions; do
    42944564      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4295       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4565      as_fn_executable_p "$ac_path_EGREP" || continue
    42964566# Check for GNU ac_path_EGREP and select it if it is found.
    42974567  # Check for GNU $ac_path_EGREP
     
    43104580    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43114581    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4312     ac_count=`expr $ac_count + 1`
     4582    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43134583    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    43144584      # Best one so far, save it but keep looking for a better one
     
    43254595    done
    43264596  done
    4327 done
     4597  done
    43284598IFS=$as_save_IFS
    43294599  if test -z "$ac_cv_path_EGREP"; then
    4330     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4331 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4332    { (exit 1); exit 1; }; }
     4600    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    43334601  fi
    43344602else
     
    43384606   fi
    43394607fi
    4340 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    43414609$as_echo "$ac_cv_path_EGREP" >&6; }
    43424610 EGREP="$ac_cv_path_EGREP"
    43434611
    43444612
    4345 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    43464614$as_echo_n "checking for ANSI C header files... " >&6; }
    4347 if test "${ac_cv_header_stdc+set}" = set; then
     4615if ${ac_cv_header_stdc+:} false; then :
    43484616  $as_echo_n "(cached) " >&6
    43494617else
    4350   cat >conftest.$ac_ext <<_ACEOF
    4351 /* confdefs.h.  */
    4352 _ACEOF
    4353 cat confdefs.h >>conftest.$ac_ext
    4354 cat >>conftest.$ac_ext <<_ACEOF
     4618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43554619/* end confdefs.h.  */
    43564620#include <stdlib.h>
     
    43674631}
    43684632_ACEOF
    4369 rm -f conftest.$ac_objext
    4370 if { (ac_try="$ac_compile"
    4371 case "(($ac_try" in
    4372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4373   *) ac_try_echo=$ac_try;;
    4374 esac
    4375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4376 $as_echo "$ac_try_echo") >&5
    4377   (eval "$ac_compile") 2>conftest.er1
    4378   ac_status=$?
    4379   grep -v '^ *+' conftest.er1 >conftest.err
    4380   rm -f conftest.er1
    4381   cat conftest.err >&5
    4382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4383   (exit $ac_status); } && {
    4384          test -z "$ac_c_werror_flag" ||
    4385          test ! -s conftest.err
    4386        } && test -s conftest.$ac_objext; then
     4633if ac_fn_c_try_compile "$LINENO"; then :
    43874634  ac_cv_header_stdc=yes
    43884635else
    4389   $as_echo "$as_me: failed program was:" >&5
    4390 sed 's/^/| /' conftest.$ac_ext >&5
    4391 
    4392         ac_cv_header_stdc=no
    4393 fi
    4394 
     4636  ac_cv_header_stdc=no
     4637fi
    43954638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    43964639
    43974640if test $ac_cv_header_stdc = yes; then
    43984641  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4399   cat >conftest.$ac_ext <<_ACEOF
    4400 /* confdefs.h.  */
    4401 _ACEOF
    4402 cat confdefs.h >>conftest.$ac_ext
    4403 cat >>conftest.$ac_ext <<_ACEOF
     4642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44044643/* end confdefs.h.  */
    44054644#include <string.h>
     
    44074646_ACEOF
    44084647if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4409   $EGREP "memchr" >/dev/null 2>&1; then
    4410   :
     4648  $EGREP "memchr" >/dev/null 2>&1; then :
     4649
    44114650else
    44124651  ac_cv_header_stdc=no
     
    44184657if test $ac_cv_header_stdc = yes; then
    44194658  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4420   cat >conftest.$ac_ext <<_ACEOF
    4421 /* confdefs.h.  */
    4422 _ACEOF
    4423 cat confdefs.h >>conftest.$ac_ext
    4424 cat >>conftest.$ac_ext <<_ACEOF
     4659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44254660/* end confdefs.h.  */
    44264661#include <stdlib.h>
     
    44284663_ACEOF
    44294664if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4430   $EGREP "free" >/dev/null 2>&1; then
    4431   :
     4665  $EGREP "free" >/dev/null 2>&1; then :
     4666
    44324667else
    44334668  ac_cv_header_stdc=no
     
    44394674if test $ac_cv_header_stdc = yes; then
    44404675  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4441   if test "$cross_compiling" = yes; then
     4676  if test "$cross_compiling" = yes; then :
    44424677  :
    44434678else
    4444   cat >conftest.$ac_ext <<_ACEOF
    4445 /* confdefs.h.  */
    4446 _ACEOF
    4447 cat confdefs.h >>conftest.$ac_ext
    4448 cat >>conftest.$ac_ext <<_ACEOF
     4679  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44494680/* end confdefs.h.  */
    44504681#include <ctype.h>
     
    44734704}
    44744705_ACEOF
    4475 rm -f conftest$ac_exeext
    4476 if { (ac_try="$ac_link"
    4477 case "(($ac_try" in
    4478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4479   *) ac_try_echo=$ac_try;;
    4480 esac
    4481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4482 $as_echo "$ac_try_echo") >&5
    4483   (eval "$ac_link") 2>&5
    4484   ac_status=$?
    4485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4486   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4487   { (case "(($ac_try" in
    4488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4489   *) ac_try_echo=$ac_try;;
    4490 esac
    4491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4492 $as_echo "$ac_try_echo") >&5
    4493   (eval "$ac_try") 2>&5
    4494   ac_status=$?
    4495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4496   (exit $ac_status); }; }; then
    4497   :
    4498 else
    4499   $as_echo "$as_me: program exited with status $ac_status" >&5
    4500 $as_echo "$as_me: failed program was:" >&5
    4501 sed 's/^/| /' conftest.$ac_ext >&5
    4502 
    4503 ( exit $ac_status )
    4504 ac_cv_header_stdc=no
    4505 fi
    4506 rm -rf conftest.dSYM
    4507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4508 fi
    4509 
    4510 
    4511 fi
    4512 fi
    4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4706if ac_fn_c_try_run "$LINENO"; then :
     4707
     4708else
     4709  ac_cv_header_stdc=no
     4710fi
     4711rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4712  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4713fi
     4714
     4715fi
     4716fi
     4717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    45144718$as_echo "$ac_cv_header_stdc" >&6; }
    45154719if test $ac_cv_header_stdc = yes; then
    45164720
    4517 cat >>confdefs.h <<\_ACEOF
    4518 #define STDC_HEADERS 1
    4519 _ACEOF
    4520 
    4521 fi
    4522 
    4523 { $as_echo "$as_me:$LINENO: checking for atol" >&5
    4524 $as_echo_n "checking for atol... " >&6; }
    4525 if test "${ac_cv_func_atol+set}" = set; then
    4526   $as_echo_n "(cached) " >&6
    4527 else
    4528   cat >conftest.$ac_ext <<_ACEOF
    4529 /* confdefs.h.  */
    4530 _ACEOF
    4531 cat confdefs.h >>conftest.$ac_ext
    4532 cat >>conftest.$ac_ext <<_ACEOF
    4533 /* end confdefs.h.  */
    4534 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4536 #define atol innocuous_atol
    4537 
    4538 /* System header to define __stub macros and hopefully few prototypes,
    4539     which can conflict with char atol (); below.
    4540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4541     <limits.h> exists even on freestanding compilers.  */
    4542 
    4543 #ifdef __STDC__
    4544 # include <limits.h>
    4545 #else
    4546 # include <assert.h>
    4547 #endif
    4548 
    4549 #undef atol
    4550 
    4551 /* Override any GCC internal prototype to avoid an error.
    4552    Use char because int might match the return type of a GCC
    4553    builtin and then its argument prototype would still apply.  */
    4554 #ifdef __cplusplus
    4555 extern "C"
    4556 #endif
    4557 char atol ();
    4558 /* The GNU C library defines this for functions which it implements
    4559     to always fail with ENOSYS.  Some functions are actually named
    4560     something starting with __ and the normal name is an alias.  */
    4561 #if defined __stub_atol || defined __stub___atol
    4562 choke me
    4563 #endif
    4564 
    4565 int
    4566 main ()
    4567 {
    4568 return atol ();
    4569   ;
    4570   return 0;
    4571 }
    4572 _ACEOF
    4573 rm -f conftest.$ac_objext conftest$ac_exeext
    4574 if { (ac_try="$ac_link"
    4575 case "(($ac_try" in
    4576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4577   *) ac_try_echo=$ac_try;;
    4578 esac
    4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4580 $as_echo "$ac_try_echo") >&5
    4581   (eval "$ac_link") 2>conftest.er1
    4582   ac_status=$?
    4583   grep -v '^ *+' conftest.er1 >conftest.err
    4584   rm -f conftest.er1
    4585   cat conftest.err >&5
    4586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4587   (exit $ac_status); } && {
    4588          test -z "$ac_c_werror_flag" ||
    4589          test ! -s conftest.err
    4590        } && test -s conftest$ac_exeext && {
    4591          test "$cross_compiling" = yes ||
    4592          $as_test_x conftest$ac_exeext
    4593        }; then
    4594   ac_cv_func_atol=yes
    4595 else
    4596   $as_echo "$as_me: failed program was:" >&5
    4597 sed 's/^/| /' conftest.$ac_ext >&5
    4598 
    4599         ac_cv_func_atol=no
    4600 fi
    4601 
    4602 rm -rf conftest.dSYM
    4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4604       conftest$ac_exeext conftest.$ac_ext
    4605 fi
    4606 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4607 $as_echo "$ac_cv_func_atol" >&6; }
    4608 if test "x$ac_cv_func_atol" = x""yes; then
    4609   :
    4610 else
    4611   { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4612 $as_echo "$as_me: error: oops! no atol ?!?" >&2;}
    4613    { (exit 1); exit 1; }; }
     4721$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4722
     4723fi
     4724
     4725ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4726if test "x$ac_cv_func_atol" = xyes; then :
     4727
     4728else
     4729  as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    46144730fi
    46154731
     
    46234739
    46244740
    4625 
    46264741for ac_func in sysinfo
    4627 do
    4628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4629 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4630 $as_echo_n "checking for $ac_func... " >&6; }
    4631 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4632   $as_echo_n "(cached) " >&6
    4633 else
    4634   cat >conftest.$ac_ext <<_ACEOF
    4635 /* confdefs.h.  */
    4636 _ACEOF
    4637 cat confdefs.h >>conftest.$ac_ext
    4638 cat >>conftest.$ac_ext <<_ACEOF
    4639 /* end confdefs.h.  */
    4640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4642 #define $ac_func innocuous_$ac_func
    4643 
    4644 /* System header to define __stub macros and hopefully few prototypes,
    4645     which can conflict with char $ac_func (); below.
    4646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4647     <limits.h> exists even on freestanding compilers.  */
    4648 
    4649 #ifdef __STDC__
    4650 # include <limits.h>
    4651 #else
    4652 # include <assert.h>
    4653 #endif
    4654 
    4655 #undef $ac_func
    4656 
    4657 /* Override any GCC internal prototype to avoid an error.
    4658    Use char because int might match the return type of a GCC
    4659    builtin and then its argument prototype would still apply.  */
    4660 #ifdef __cplusplus
    4661 extern "C"
    4662 #endif
    4663 char $ac_func ();
    4664 /* The GNU C library defines this for functions which it implements
    4665     to always fail with ENOSYS.  Some functions are actually named
    4666     something starting with __ and the normal name is an alias.  */
    4667 #if defined __stub_$ac_func || defined __stub___$ac_func
    4668 choke me
    4669 #endif
    4670 
    4671 int
    4672 main ()
    4673 {
    4674 return $ac_func ();
    4675   ;
    4676   return 0;
    4677 }
    4678 _ACEOF
    4679 rm -f conftest.$ac_objext conftest$ac_exeext
    4680 if { (ac_try="$ac_link"
    4681 case "(($ac_try" in
    4682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4683   *) ac_try_echo=$ac_try;;
    4684 esac
    4685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4686 $as_echo "$ac_try_echo") >&5
    4687   (eval "$ac_link") 2>conftest.er1
    4688   ac_status=$?
    4689   grep -v '^ *+' conftest.er1 >conftest.err
    4690   rm -f conftest.er1
    4691   cat conftest.err >&5
    4692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4693   (exit $ac_status); } && {
    4694          test -z "$ac_cxx_werror_flag" ||
    4695          test ! -s conftest.err
    4696        } && test -s conftest$ac_exeext && {
    4697          test "$cross_compiling" = yes ||
    4698          $as_test_x conftest$ac_exeext
    4699        }; then
    4700   eval "$as_ac_var=yes"
    4701 else
    4702   $as_echo "$as_me: failed program was:" >&5
    4703 sed 's/^/| /' conftest.$ac_ext >&5
    4704 
    4705         eval "$as_ac_var=no"
    4706 fi
    4707 
    4708 rm -rf conftest.dSYM
    4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4710       conftest$ac_exeext conftest.$ac_ext
    4711 fi
    4712 ac_res=`eval 'as_val=${'$as_ac_var'}
    4713                  $as_echo "$as_val"'`
    4714                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4715 $as_echo "$ac_res" >&6; }
    4716 as_val=`eval 'as_val=${'$as_ac_var'}
    4717                  $as_echo "$as_val"'`
    4718    if test "x$as_val" = x""yes; then
     4742do :
     4743  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4744if test "x$ac_cv_func_sysinfo" = xyes; then :
    47194745  cat >>confdefs.h <<_ACEOF
    4720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4721 _ACEOF
    4722 
    4723 fi
    4724 done
    4725 
    4726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4727 
    4728 
    4729 
    4730 
    4731 
    4732 
    4733 
    4734 
    4735 
    4736 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4737                   inttypes.h stdint.h unistd.h
    4738 do
    4739 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4740 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    4741 $as_echo_n "checking for $ac_header... " >&6; }
    4742 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4743   $as_echo_n "(cached) " >&6
    4744 else
    4745   cat >conftest.$ac_ext <<_ACEOF
    4746 /* confdefs.h.  */
    4747 _ACEOF
    4748 cat confdefs.h >>conftest.$ac_ext
    4749 cat >>conftest.$ac_ext <<_ACEOF
    4750 /* end confdefs.h.  */
    4751 $ac_includes_default
    4752 
    4753 #include <$ac_header>
    4754 _ACEOF
    4755 rm -f conftest.$ac_objext
    4756 if { (ac_try="$ac_compile"
    4757 case "(($ac_try" in
    4758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4759   *) ac_try_echo=$ac_try;;
    4760 esac
    4761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4762 $as_echo "$ac_try_echo") >&5
    4763   (eval "$ac_compile") 2>conftest.er1
    4764   ac_status=$?
    4765   grep -v '^ *+' conftest.er1 >conftest.err
    4766   rm -f conftest.er1
    4767   cat conftest.err >&5
    4768   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4769   (exit $ac_status); } && {
    4770          test -z "$ac_cxx_werror_flag" ||
    4771          test ! -s conftest.err
    4772        } && test -s conftest.$ac_objext; then
    4773   eval "$as_ac_Header=yes"
    4774 else
    4775   $as_echo "$as_me: failed program was:" >&5
    4776 sed 's/^/| /' conftest.$ac_ext >&5
    4777 
    4778         eval "$as_ac_Header=no"
    4779 fi
    4780 
    4781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4782 fi
    4783 ac_res=`eval 'as_val=${'$as_ac_Header'}
    4784                  $as_echo "$as_val"'`
    4785                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4786 $as_echo "$ac_res" >&6; }
    4787 as_val=`eval 'as_val=${'$as_ac_Header'}
    4788                  $as_echo "$as_val"'`
    4789    if test "x$as_val" = x""yes; then
    4790   cat >>confdefs.h <<_ACEOF
    4791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4792 _ACEOF
    4793 
    4794 fi
    4795 
    4796 done
    4797 
     4746#define HAVE_SYSINFO 1
     4747_ACEOF
     4748
     4749fi
     4750done
    47984751
    47994752ac_ext=cpp
     
    48024755ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    48034756ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4804 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    48054758$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    48064759if test -z "$CXXCPP"; then
    4807   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4760  if ${ac_cv_prog_CXXCPP+:} false; then :
    48084761  $as_echo_n "(cached) " >&6
    48094762else
     
    48204773  # On the NeXT, cc -E runs the code through the compiler's parser,
    48214774  # not just through cpp. "Syntax error" is here to catch this case.
    4822   cat >conftest.$ac_ext <<_ACEOF
    4823 /* confdefs.h.  */
    4824 _ACEOF
    4825 cat confdefs.h >>conftest.$ac_ext
    4826 cat >>conftest.$ac_ext <<_ACEOF
     4775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48274776/* end confdefs.h.  */
    48284777#ifdef __STDC__
     
    48334782                     Syntax error
    48344783_ACEOF
    4835 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4836 case "(($ac_try" in
    4837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4838   *) ac_try_echo=$ac_try;;
    4839 esac
    4840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4841 $as_echo "$ac_try_echo") >&5
    4842   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4843   ac_status=$?
    4844   grep -v '^ *+' conftest.er1 >conftest.err
    4845   rm -f conftest.er1
    4846   cat conftest.err >&5
    4847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4848   (exit $ac_status); } >/dev/null && {
    4849          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4850          test ! -s conftest.err
    4851        }; then
    4852   :
    4853 else
    4854   $as_echo "$as_me: failed program was:" >&5
    4855 sed 's/^/| /' conftest.$ac_ext >&5
    4856 
     4784if ac_fn_cxx_try_cpp "$LINENO"; then :
     4785
     4786else
    48574787  # Broken: fails on valid input.
    48584788continue
    48594789fi
    4860 
    4861 rm -f conftest.err conftest.$ac_ext
     4790rm -f conftest.err conftest.i conftest.$ac_ext
    48624791
    48634792  # OK, works on sane cases.  Now check whether nonexistent headers
    48644793  # can be detected and how.
    4865   cat >conftest.$ac_ext <<_ACEOF
    4866 /* confdefs.h.  */
    4867 _ACEOF
    4868 cat confdefs.h >>conftest.$ac_ext
    4869 cat >>conftest.$ac_ext <<_ACEOF
     4794  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48704795/* end confdefs.h.  */
    48714796#include <ac_nonexistent.h>
    48724797_ACEOF
    4873 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4874 case "(($ac_try" in
    4875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4876   *) ac_try_echo=$ac_try;;
    4877 esac
    4878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4879 $as_echo "$ac_try_echo") >&5
    4880   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4881   ac_status=$?
    4882   grep -v '^ *+' conftest.er1 >conftest.err
    4883   rm -f conftest.er1
    4884   cat conftest.err >&5
    4885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4886   (exit $ac_status); } >/dev/null && {
    4887          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4888          test ! -s conftest.err
    4889        }; then
     4798if ac_fn_cxx_try_cpp "$LINENO"; then :
    48904799  # Broken: success on invalid input.
    48914800continue
    48924801else
    4893   $as_echo "$as_me: failed program was:" >&5
    4894 sed 's/^/| /' conftest.$ac_ext >&5
    4895 
    48964802  # Passes both tests.
    48974803ac_preproc_ok=:
    48984804break
    48994805fi
    4900 
    4901 rm -f conftest.err conftest.$ac_ext
     4806rm -f conftest.err conftest.i conftest.$ac_ext
    49024807
    49034808done
    49044809# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4905 rm -f conftest.err conftest.$ac_ext
    4906 if $ac_preproc_ok; then
     4810rm -f conftest.i conftest.err conftest.$ac_ext
     4811if $ac_preproc_ok; then :
    49074812  break
    49084813fi
     
    49164821  ac_cv_prog_CXXCPP=$CXXCPP
    49174822fi
    4918 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    49194824$as_echo "$CXXCPP" >&6; }
    49204825ac_preproc_ok=false
     
    49274832  # On the NeXT, cc -E runs the code through the compiler's parser,
    49284833  # not just through cpp. "Syntax error" is here to catch this case.
    4929   cat >conftest.$ac_ext <<_ACEOF
    4930 /* confdefs.h.  */
    4931 _ACEOF
    4932 cat confdefs.h >>conftest.$ac_ext
    4933 cat >>conftest.$ac_ext <<_ACEOF
     4834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49344835/* end confdefs.h.  */
    49354836#ifdef __STDC__
     
    49404841                     Syntax error
    49414842_ACEOF
    4942 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4943 case "(($ac_try" in
    4944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4945   *) ac_try_echo=$ac_try;;
    4946 esac
    4947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4948 $as_echo "$ac_try_echo") >&5
    4949   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4950   ac_status=$?
    4951   grep -v '^ *+' conftest.er1 >conftest.err
    4952   rm -f conftest.er1
    4953   cat conftest.err >&5
    4954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4955   (exit $ac_status); } >/dev/null && {
    4956          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4957          test ! -s conftest.err
    4958        }; then
    4959   :
    4960 else
    4961   $as_echo "$as_me: failed program was:" >&5
    4962 sed 's/^/| /' conftest.$ac_ext >&5
    4963 
     4843if ac_fn_cxx_try_cpp "$LINENO"; then :
     4844
     4845else
    49644846  # Broken: fails on valid input.
    49654847continue
    49664848fi
    4967 
    4968 rm -f conftest.err conftest.$ac_ext
     4849rm -f conftest.err conftest.i conftest.$ac_ext
    49694850
    49704851  # OK, works on sane cases.  Now check whether nonexistent headers
    49714852  # can be detected and how.
    4972   cat >conftest.$ac_ext <<_ACEOF
    4973 /* confdefs.h.  */
    4974 _ACEOF
    4975 cat confdefs.h >>conftest.$ac_ext
    4976 cat >>conftest.$ac_ext <<_ACEOF
     4853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49774854/* end confdefs.h.  */
    49784855#include <ac_nonexistent.h>
    49794856_ACEOF
    4980 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4981 case "(($ac_try" in
    4982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4983   *) ac_try_echo=$ac_try;;
    4984 esac
    4985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4986 $as_echo "$ac_try_echo") >&5
    4987   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4988   ac_status=$?
    4989   grep -v '^ *+' conftest.er1 >conftest.err
    4990   rm -f conftest.er1
    4991   cat conftest.err >&5
    4992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4993   (exit $ac_status); } >/dev/null && {
    4994          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4995          test ! -s conftest.err
    4996        }; then
     4857if ac_fn_cxx_try_cpp "$LINENO"; then :
    49974858  # Broken: success on invalid input.
    49984859continue
    49994860else
    5000   $as_echo "$as_me: failed program was:" >&5
    5001 sed 's/^/| /' conftest.$ac_ext >&5
    5002 
    50034861  # Passes both tests.
    50044862ac_preproc_ok=:
    50054863break
    50064864fi
    5007 
    5008 rm -f conftest.err conftest.$ac_ext
     4865rm -f conftest.err conftest.i conftest.$ac_ext
    50094866
    50104867done
    50114868# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5012 rm -f conftest.err conftest.$ac_ext
    5013 if $ac_preproc_ok; then
    5014   :
    5015 else
    5016   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4869rm -f conftest.i conftest.err conftest.$ac_ext
     4870if $ac_preproc_ok; then :
     4871
     4872else
     4873  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    50174874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5018 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5019 See \`config.log' for more details." >&5
    5020 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5021 See \`config.log' for more details." >&2;}
    5022    { (exit 1); exit 1; }; }; }
     4875as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4876See \`config.log' for more details" "$LINENO" 5; }
    50234877fi
    50244878
     
    50304884
    50314885
    5032 
    5033 for ac_header in sys/sysinfo.h
    5034 do
    5035 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5037   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5038 $as_echo_n "checking for $ac_header... " >&6; }
    5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5040   $as_echo_n "(cached) " >&6
    5041 fi
    5042 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5043                  $as_echo "$as_val"'`
    5044                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5045 $as_echo "$ac_res" >&6; }
    5046 else
    5047   # Is the header compilable?
    5048 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5049 $as_echo_n "checking $ac_header usability... " >&6; }
    5050 cat >conftest.$ac_ext <<_ACEOF
    5051 /* confdefs.h.  */
    5052 _ACEOF
    5053 cat confdefs.h >>conftest.$ac_ext
    5054 cat >>conftest.$ac_ext <<_ACEOF
    5055 /* end confdefs.h.  */
    5056 $ac_includes_default
    5057 #include <$ac_header>
    5058 _ACEOF
    5059 rm -f conftest.$ac_objext
    5060 if { (ac_try="$ac_compile"
    5061 case "(($ac_try" in
    5062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5063   *) ac_try_echo=$ac_try;;
    5064 esac
    5065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5066 $as_echo "$ac_try_echo") >&5
    5067   (eval "$ac_compile") 2>conftest.er1
    5068   ac_status=$?
    5069   grep -v '^ *+' conftest.er1 >conftest.err
    5070   rm -f conftest.er1
    5071   cat conftest.err >&5
    5072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5073   (exit $ac_status); } && {
    5074          test -z "$ac_cxx_werror_flag" ||
    5075          test ! -s conftest.err
    5076        } && test -s conftest.$ac_objext; then
    5077   ac_header_compiler=yes
    5078 else
    5079   $as_echo "$as_me: failed program was:" >&5
    5080 sed 's/^/| /' conftest.$ac_ext >&5
    5081 
    5082         ac_header_compiler=no
    5083 fi
    5084 
    5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5086 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5087 $as_echo "$ac_header_compiler" >&6; }
    5088 
    5089 # Is the header present?
    5090 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5091 $as_echo_n "checking $ac_header presence... " >&6; }
    5092 cat >conftest.$ac_ext <<_ACEOF
    5093 /* confdefs.h.  */
    5094 _ACEOF
    5095 cat confdefs.h >>conftest.$ac_ext
    5096 cat >>conftest.$ac_ext <<_ACEOF
    5097 /* end confdefs.h.  */
    5098 #include <$ac_header>
    5099 _ACEOF
    5100 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5101 case "(($ac_try" in
    5102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5103   *) ac_try_echo=$ac_try;;
    5104 esac
    5105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5106 $as_echo "$ac_try_echo") >&5
    5107   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5108   ac_status=$?
    5109   grep -v '^ *+' conftest.er1 >conftest.err
    5110   rm -f conftest.er1
    5111   cat conftest.err >&5
    5112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5113   (exit $ac_status); } >/dev/null && {
    5114          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5115          test ! -s conftest.err
    5116        }; then
    5117   ac_header_preproc=yes
    5118 else
    5119   $as_echo "$as_me: failed program was:" >&5
    5120 sed 's/^/| /' conftest.$ac_ext >&5
    5121 
    5122   ac_header_preproc=no
    5123 fi
    5124 
    5125 rm -f conftest.err conftest.$ac_ext
    5126 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5127 $as_echo "$ac_header_preproc" >&6; }
    5128 
    5129 # So?  What about this header?
    5130 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5131   yes:no: )
    5132     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5133 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5134     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5135 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5136     ac_header_preproc=yes
    5137     ;;
    5138   no:yes:* )
    5139     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5140 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5141     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5142 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5143     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5144 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5145     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5146 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5147     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5148 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5149     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5150 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5151     ( cat <<\_ASBOX
    5152 ## ----------------------------------- ##
    5153 ## Report this to rappture@nanohub.org ##
    5154 ## ----------------------------------- ##
    5155 _ASBOX
    5156      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5157     ;;
    5158 esac
    5159 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5160 $as_echo_n "checking for $ac_header... " >&6; }
    5161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5162   $as_echo_n "(cached) " >&6
    5163 else
    5164   eval "$as_ac_Header=\$ac_header_preproc"
    5165 fi
    5166 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5167                  $as_echo "$as_val"'`
    5168                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5169 $as_echo "$ac_res" >&6; }
    5170 
    5171 fi
    5172 as_val=`eval 'as_val=${'$as_ac_Header'}
    5173                  $as_echo "$as_val"'`
    5174    if test "x$as_val" = x""yes; then
     4886# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4887for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4888                  inttypes.h stdint.h unistd.h
     4889do :
     4890  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4891ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4892"
     4893if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    51754894  cat >>confdefs.h <<_ACEOF
    51764895#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    51824901
    51834902
    5184 
    5185 { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
     4903for ac_header in sys/sysinfo.h
     4904do :
     4905  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4906if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
     4907  cat >>confdefs.h <<_ACEOF
     4908#define HAVE_SYS_SYSINFO_H 1
     4909_ACEOF
     4910
     4911fi
     4912
     4913done
     4914
     4915
     4916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
    51864917$as_echo_n "checking for main in -lm... " >&6; }
    5187 if test "${ac_cv_lib_m_main+set}" = set; then
     4918if ${ac_cv_lib_m_main+:} false; then :
    51884919  $as_echo_n "(cached) " >&6
    51894920else
    51904921  ac_check_lib_save_LIBS=$LIBS
    51914922LIBS="-lm  $LIBS"
    5192 cat >conftest.$ac_ext <<_ACEOF
    5193 /* confdefs.h.  */
    5194 _ACEOF
    5195 cat confdefs.h >>conftest.$ac_ext
    5196 cat >>conftest.$ac_ext <<_ACEOF
     4923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51974924/* end confdefs.h.  */
    51984925
     
    52064933}
    52074934_ACEOF
    5208 rm -f conftest.$ac_objext conftest$ac_exeext
    5209 if { (ac_try="$ac_link"
    5210 case "(($ac_try" in
    5211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5212   *) ac_try_echo=$ac_try;;
    5213 esac
    5214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5215 $as_echo "$ac_try_echo") >&5
    5216   (eval "$ac_link") 2>conftest.er1
    5217   ac_status=$?
    5218   grep -v '^ *+' conftest.er1 >conftest.err
    5219   rm -f conftest.er1
    5220   cat conftest.err >&5
    5221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5222   (exit $ac_status); } && {
    5223          test -z "$ac_cxx_werror_flag" ||
    5224          test ! -s conftest.err
    5225        } && test -s conftest$ac_exeext && {
    5226          test "$cross_compiling" = yes ||
    5227          $as_test_x conftest$ac_exeext
    5228        }; then
     4935if ac_fn_cxx_try_link "$LINENO"; then :
    52294936  ac_cv_lib_m_main=yes
    52304937else
    5231   $as_echo "$as_me: failed program was:" >&5
    5232 sed 's/^/| /' conftest.$ac_ext >&5
    5233 
    5234         ac_cv_lib_m_main=no
    5235 fi
    5236 
    5237 rm -rf conftest.dSYM
    5238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5239       conftest$ac_exeext conftest.$ac_ext
     4938  ac_cv_lib_m_main=no
     4939fi
     4940rm -f core conftest.err conftest.$ac_objext \
     4941    conftest$ac_exeext conftest.$ac_ext
    52404942LIBS=$ac_check_lib_save_LIBS
    52414943fi
    5242 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
     4944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
    52434945$as_echo "$ac_cv_lib_m_main" >&6; }
    5244 if test "x$ac_cv_lib_m_main" = x""yes; then
     4946if test "x$ac_cv_lib_m_main" = xyes; then :
    52454947  cat >>confdefs.h <<_ACEOF
    52464948#define HAVE_LIBM 1
     
    52504952
    52514953else
    5252   { { $as_echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5253 $as_echo "$as_me: error: librappture requires libm" >&2;}
    5254    { (exit 1); exit 1; }; }
    5255 fi
    5256 
    5257 
    5258 
    5259 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
     4954  as_fn_error $? "librappture requires libm" "$LINENO" 5
     4955fi
     4956
     4957
     4958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    52604959$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    5261 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
     4960if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    52624961  $as_echo_n "(cached) " >&6
    52634962else
    52644963  ac_check_lib_save_LIBS=$LIBS
    52654964LIBS="-lncurses  $LIBS"
    5266 cat >conftest.$ac_ext <<_ACEOF
    5267 /* confdefs.h.  */
    5268 _ACEOF
    5269 cat confdefs.h >>conftest.$ac_ext
    5270 cat >>conftest.$ac_ext <<_ACEOF
     4965cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52714966/* end confdefs.h.  */
    52724967
     
    52864981}
    52874982_ACEOF
    5288 rm -f conftest.$ac_objext conftest$ac_exeext
    5289 if { (ac_try="$ac_link"
    5290 case "(($ac_try" in
    5291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5292   *) ac_try_echo=$ac_try;;
    5293 esac
    5294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5295 $as_echo "$ac_try_echo") >&5
    5296   (eval "$ac_link") 2>conftest.er1
    5297   ac_status=$?
    5298   grep -v '^ *+' conftest.er1 >conftest.err
    5299   rm -f conftest.er1
    5300   cat conftest.err >&5
    5301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5302   (exit $ac_status); } && {
    5303          test -z "$ac_cxx_werror_flag" ||
    5304          test ! -s conftest.err
    5305        } && test -s conftest$ac_exeext && {
    5306          test "$cross_compiling" = yes ||
    5307          $as_test_x conftest$ac_exeext
    5308        }; then
     4983if ac_fn_cxx_try_link "$LINENO"; then :
    53094984  ac_cv_lib_ncurses_clrtoeol=yes
    53104985else
    5311   $as_echo "$as_me: failed program was:" >&5
    5312 sed 's/^/| /' conftest.$ac_ext >&5
    5313 
    5314         ac_cv_lib_ncurses_clrtoeol=no
    5315 fi
    5316 
    5317 rm -rf conftest.dSYM
    5318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5319       conftest$ac_exeext conftest.$ac_ext
     4986  ac_cv_lib_ncurses_clrtoeol=no
     4987fi
     4988rm -f core conftest.err conftest.$ac_objext \
     4989    conftest$ac_exeext conftest.$ac_ext
    53204990LIBS=$ac_check_lib_save_LIBS
    53214991fi
    5322 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     4992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    53234993$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    5324 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
     4994if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    53254995  cat >>confdefs.h <<_ACEOF
    53264996#define HAVE_LIBNCURSES 1
     
    53305000
    53315001else
    5332   { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
    5333 $as_echo "$as_me: error: ncurses library missing?" >&2;}
    5334    { (exit 1); exit 1; }; }
    5335 fi
    5336 
     5002  as_fn_error $? "ncurses library missing?" "$LINENO" 5
     5003fi
    53375004
    53385005for ac_header in ncurses.h
    5339 do
    5340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5342   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5343 $as_echo_n "checking for $ac_header... " >&6; }
    5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5345   $as_echo_n "(cached) " >&6
    5346 fi
    5347 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5348                  $as_echo "$as_val"'`
    5349                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5350 $as_echo "$ac_res" >&6; }
    5351 else
    5352   # Is the header compilable?
    5353 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5354 $as_echo_n "checking $ac_header usability... " >&6; }
    5355 cat >conftest.$ac_ext <<_ACEOF
    5356 /* confdefs.h.  */
    5357 _ACEOF
    5358 cat confdefs.h >>conftest.$ac_ext
    5359 cat >>conftest.$ac_ext <<_ACEOF
    5360 /* end confdefs.h.  */
    5361 $ac_includes_default
    5362 #include <$ac_header>
    5363 _ACEOF
    5364 rm -f conftest.$ac_objext
    5365 if { (ac_try="$ac_compile"
    5366 case "(($ac_try" in
    5367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5368   *) ac_try_echo=$ac_try;;
    5369 esac
    5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5371 $as_echo "$ac_try_echo") >&5
    5372   (eval "$ac_compile") 2>conftest.er1
    5373   ac_status=$?
    5374   grep -v '^ *+' conftest.er1 >conftest.err
    5375   rm -f conftest.er1
    5376   cat conftest.err >&5
    5377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5378   (exit $ac_status); } && {
    5379          test -z "$ac_cxx_werror_flag" ||
    5380          test ! -s conftest.err
    5381        } && test -s conftest.$ac_objext; then
    5382   ac_header_compiler=yes
    5383 else
    5384   $as_echo "$as_me: failed program was:" >&5
    5385 sed 's/^/| /' conftest.$ac_ext >&5
    5386 
    5387         ac_header_compiler=no
    5388 fi
    5389 
    5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5391 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5392 $as_echo "$ac_header_compiler" >&6; }
    5393 
    5394 # Is the header present?
    5395 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5396 $as_echo_n "checking $ac_header presence... " >&6; }
    5397 cat >conftest.$ac_ext <<_ACEOF
    5398 /* confdefs.h.  */
    5399 _ACEOF
    5400 cat confdefs.h >>conftest.$ac_ext
    5401 cat >>conftest.$ac_ext <<_ACEOF
    5402 /* end confdefs.h.  */
    5403 #include <$ac_header>
    5404 _ACEOF
    5405 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5406 case "(($ac_try" in
    5407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5408   *) ac_try_echo=$ac_try;;
    5409 esac
    5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5411 $as_echo "$ac_try_echo") >&5
    5412   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5413   ac_status=$?
    5414   grep -v '^ *+' conftest.er1 >conftest.err
    5415   rm -f conftest.er1
    5416   cat conftest.err >&5
    5417   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5418   (exit $ac_status); } >/dev/null && {
    5419          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5420          test ! -s conftest.err
    5421        }; then
    5422   ac_header_preproc=yes
    5423 else
    5424   $as_echo "$as_me: failed program was:" >&5
    5425 sed 's/^/| /' conftest.$ac_ext >&5
    5426 
    5427   ac_header_preproc=no
    5428 fi
    5429 
    5430 rm -f conftest.err conftest.$ac_ext
    5431 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5432 $as_echo "$ac_header_preproc" >&6; }
    5433 
    5434 # So?  What about this header?
    5435 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5436   yes:no: )
    5437     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5438 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5439     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5440 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5441     ac_header_preproc=yes
    5442     ;;
    5443   no:yes:* )
    5444     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5445 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5446     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5447 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5448     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5449 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5450     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5451 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5452     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5453 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5455 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5456     ( cat <<\_ASBOX
    5457 ## ----------------------------------- ##
    5458 ## Report this to rappture@nanohub.org ##
    5459 ## ----------------------------------- ##
    5460 _ASBOX
    5461      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5462     ;;
    5463 esac
    5464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5465 $as_echo_n "checking for $ac_header... " >&6; }
    5466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5467   $as_echo_n "(cached) " >&6
    5468 else
    5469   eval "$as_ac_Header=\$ac_header_preproc"
    5470 fi
    5471 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5472                  $as_echo "$as_val"'`
    5473                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5474 $as_echo "$ac_res" >&6; }
    5475 
    5476 fi
    5477 as_val=`eval 'as_val=${'$as_ac_Header'}
    5478                  $as_echo "$as_val"'`
    5479    if test "x$as_val" = x""yes; then
     5006do :
     5007  ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
     5008if test "x$ac_cv_header_ncurses_h" = xyes; then :
    54805009  cat >>confdefs.h <<_ACEOF
    5481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5482 _ACEOF
    5483 
    5484 else
    5485   { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
     5010#define HAVE_NCURSES_H 1
     5011_ACEOF
     5012
     5013else
     5014  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    54865015$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    54875016fi
     
    54905019
    54915020
    5492 
    5493 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    54945022$as_echo_n "checking for main in -lstdc++... " >&6; }
    5495 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     5023if ${ac_cv_lib_stdcpp_main+:} false; then :
    54965024  $as_echo_n "(cached) " >&6
    54975025else
    54985026  ac_check_lib_save_LIBS=$LIBS
    54995027LIBS="-lstdc++  $LIBS"
    5500 cat >conftest.$ac_ext <<_ACEOF
    5501 /* confdefs.h.  */
    5502 _ACEOF
    5503 cat confdefs.h >>conftest.$ac_ext
    5504 cat >>conftest.$ac_ext <<_ACEOF
     5028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55055029/* end confdefs.h.  */
    55065030
     
    55145038}
    55155039_ACEOF
    5516 rm -f conftest.$ac_objext conftest$ac_exeext
    5517 if { (ac_try="$ac_link"
    5518 case "(($ac_try" in
    5519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5520   *) ac_try_echo=$ac_try;;
    5521 esac
    5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5523 $as_echo "$ac_try_echo") >&5
    5524   (eval "$ac_link") 2>conftest.er1
    5525   ac_status=$?
    5526   grep -v '^ *+' conftest.er1 >conftest.err
    5527   rm -f conftest.er1
    5528   cat conftest.err >&5
    5529   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5530   (exit $ac_status); } && {
    5531          test -z "$ac_cxx_werror_flag" ||
    5532          test ! -s conftest.err
    5533        } && test -s conftest$ac_exeext && {
    5534          test "$cross_compiling" = yes ||
    5535          $as_test_x conftest$ac_exeext
    5536        }; then
     5040if ac_fn_cxx_try_link "$LINENO"; then :
    55375041  ac_cv_lib_stdcpp_main=yes
    55385042else
    5539   $as_echo "$as_me: failed program was:" >&5
    5540 sed 's/^/| /' conftest.$ac_ext >&5
    5541 
    5542         ac_cv_lib_stdcpp_main=no
    5543 fi
    5544 
    5545 rm -rf conftest.dSYM
    5546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5547       conftest$ac_exeext conftest.$ac_ext
     5043  ac_cv_lib_stdcpp_main=no
     5044fi
     5045rm -f core conftest.err conftest.$ac_objext \
     5046    conftest$ac_exeext conftest.$ac_ext
    55485047LIBS=$ac_check_lib_save_LIBS
    55495048fi
    5550 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    55515050$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5552 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
     5051if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    55535052  cat >>confdefs.h <<_ACEOF
    55545053#define HAVE_LIBSTDC__ 1
     
    55585057
    55595058else
    5560   { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5561 $as_echo "$as_me: error: librappture requires libstdc++" >&2;}
    5562    { (exit 1); exit 1; }; }
    5563 fi
    5564 
     5059  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     5060fi
    55655061
    55665062for ac_header in algorithm
    5567 do
    5568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5570   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5571 $as_echo_n "checking for $ac_header... " >&6; }
    5572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5573   $as_echo_n "(cached) " >&6
    5574 fi
    5575 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5576                  $as_echo "$as_val"'`
    5577                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5578 $as_echo "$ac_res" >&6; }
    5579 else
    5580   # Is the header compilable?
    5581 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5582 $as_echo_n "checking $ac_header usability... " >&6; }
    5583 cat >conftest.$ac_ext <<_ACEOF
    5584 /* confdefs.h.  */
    5585 _ACEOF
    5586 cat confdefs.h >>conftest.$ac_ext
    5587 cat >>conftest.$ac_ext <<_ACEOF
    5588 /* end confdefs.h.  */
    5589 $ac_includes_default
    5590 #include <$ac_header>
    5591 _ACEOF
    5592 rm -f conftest.$ac_objext
    5593 if { (ac_try="$ac_compile"
    5594 case "(($ac_try" in
    5595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5596   *) ac_try_echo=$ac_try;;
    5597 esac
    5598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5599 $as_echo "$ac_try_echo") >&5
    5600   (eval "$ac_compile") 2>conftest.er1
    5601   ac_status=$?
    5602   grep -v '^ *+' conftest.er1 >conftest.err
    5603   rm -f conftest.er1
    5604   cat conftest.err >&5
    5605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5606   (exit $ac_status); } && {
    5607          test -z "$ac_cxx_werror_flag" ||
    5608          test ! -s conftest.err
    5609        } && test -s conftest.$ac_objext; then
    5610   ac_header_compiler=yes
    5611 else
    5612   $as_echo "$as_me: failed program was:" >&5
    5613 sed 's/^/| /' conftest.$ac_ext >&5
    5614 
    5615         ac_header_compiler=no
    5616 fi
    5617 
    5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5619 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5620 $as_echo "$ac_header_compiler" >&6; }
    5621 
    5622 # Is the header present?
    5623 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5624 $as_echo_n "checking $ac_header presence... " >&6; }
    5625 cat >conftest.$ac_ext <<_ACEOF
    5626 /* confdefs.h.  */
    5627 _ACEOF
    5628 cat confdefs.h >>conftest.$ac_ext
    5629 cat >>conftest.$ac_ext <<_ACEOF
    5630 /* end confdefs.h.  */
    5631 #include <$ac_header>
    5632 _ACEOF
    5633 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5634 case "(($ac_try" in
    5635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5636   *) ac_try_echo=$ac_try;;
    5637 esac
    5638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5639 $as_echo "$ac_try_echo") >&5
    5640   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5641   ac_status=$?
    5642   grep -v '^ *+' conftest.er1 >conftest.err
    5643   rm -f conftest.er1
    5644   cat conftest.err >&5
    5645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5646   (exit $ac_status); } >/dev/null && {
    5647          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5648          test ! -s conftest.err
    5649        }; then
    5650   ac_header_preproc=yes
    5651 else
    5652   $as_echo "$as_me: failed program was:" >&5
    5653 sed 's/^/| /' conftest.$ac_ext >&5
    5654 
    5655   ac_header_preproc=no
    5656 fi
    5657 
    5658 rm -f conftest.err conftest.$ac_ext
    5659 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5660 $as_echo "$ac_header_preproc" >&6; }
    5661 
    5662 # So?  What about this header?
    5663 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5664   yes:no: )
    5665     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5666 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5667     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5669     ac_header_preproc=yes
    5670     ;;
    5671   no:yes:* )
    5672     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5673 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5674     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5675 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5676     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5677 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5678     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5679 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5680     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5681 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5682     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5683 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5684     ( cat <<\_ASBOX
    5685 ## ----------------------------------- ##
    5686 ## Report this to rappture@nanohub.org ##
    5687 ## ----------------------------------- ##
    5688 _ASBOX
    5689      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5690     ;;
    5691 esac
    5692 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5693 $as_echo_n "checking for $ac_header... " >&6; }
    5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5695   $as_echo_n "(cached) " >&6
    5696 else
    5697   eval "$as_ac_Header=\$ac_header_preproc"
    5698 fi
    5699 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5700                  $as_echo "$as_val"'`
    5701                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5702 $as_echo "$ac_res" >&6; }
    5703 
    5704 fi
    5705 as_val=`eval 'as_val=${'$as_ac_Header'}
    5706                  $as_echo "$as_val"'`
    5707    if test "x$as_val" = x""yes; then
     5063do :
     5064  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     5065if test "x$ac_cv_header_algorithm" = xyes; then :
    57085066  cat >>confdefs.h <<_ACEOF
    5709 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5710 _ACEOF
    5711 
    5712 else
    5713   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5067#define HAVE_ALGORITHM 1
     5068_ACEOF
     5069
     5070else
     5071  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    57145072$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    57155073fi
     
    57175075done
    57185076
    5719 
    57205077for ac_header in cctype
    5721 do
    5722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5723 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5724   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5725 $as_echo_n "checking for $ac_header... " >&6; }
    5726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5727   $as_echo_n "(cached) " >&6
    5728 fi
    5729 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5730                  $as_echo "$as_val"'`
    5731                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5732 $as_echo "$ac_res" >&6; }
    5733 else
    5734   # Is the header compilable?
    5735 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5736 $as_echo_n "checking $ac_header usability... " >&6; }
    5737 cat >conftest.$ac_ext <<_ACEOF
    5738 /* confdefs.h.  */
    5739 _ACEOF
    5740 cat confdefs.h >>conftest.$ac_ext
    5741 cat >>conftest.$ac_ext <<_ACEOF
    5742 /* end confdefs.h.  */
    5743 $ac_includes_default
    5744 #include <$ac_header>
    5745 _ACEOF
    5746 rm -f conftest.$ac_objext
    5747 if { (ac_try="$ac_compile"
    5748 case "(($ac_try" in
    5749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5750   *) ac_try_echo=$ac_try;;
    5751 esac
    5752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5753 $as_echo "$ac_try_echo") >&5
    5754   (eval "$ac_compile") 2>conftest.er1
    5755   ac_status=$?
    5756   grep -v '^ *+' conftest.er1 >conftest.err
    5757   rm -f conftest.er1
    5758   cat conftest.err >&5
    5759   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5760   (exit $ac_status); } && {
    5761          test -z "$ac_cxx_werror_flag" ||
    5762          test ! -s conftest.err
    5763        } && test -s conftest.$ac_objext; then
    5764   ac_header_compiler=yes
    5765 else
    5766   $as_echo "$as_me: failed program was:" >&5
    5767 sed 's/^/| /' conftest.$ac_ext >&5
    5768 
    5769         ac_header_compiler=no
    5770 fi
    5771 
    5772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5774 $as_echo "$ac_header_compiler" >&6; }
    5775 
    5776 # Is the header present?
    5777 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5778 $as_echo_n "checking $ac_header presence... " >&6; }
    5779 cat >conftest.$ac_ext <<_ACEOF
    5780 /* confdefs.h.  */
    5781 _ACEOF
    5782 cat confdefs.h >>conftest.$ac_ext
    5783 cat >>conftest.$ac_ext <<_ACEOF
    5784 /* end confdefs.h.  */
    5785 #include <$ac_header>
    5786 _ACEOF
    5787 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5788 case "(($ac_try" in
    5789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5790   *) ac_try_echo=$ac_try;;
    5791 esac
    5792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5793 $as_echo "$ac_try_echo") >&5
    5794   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5795   ac_status=$?
    5796   grep -v '^ *+' conftest.er1 >conftest.err
    5797   rm -f conftest.er1
    5798   cat conftest.err >&5
    5799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5800   (exit $ac_status); } >/dev/null && {
    5801          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5802          test ! -s conftest.err
    5803        }; then
    5804   ac_header_preproc=yes
    5805 else
    5806   $as_echo "$as_me: failed program was:" >&5
    5807 sed 's/^/| /' conftest.$ac_ext >&5
    5808 
    5809   ac_header_preproc=no
    5810 fi
    5811 
    5812 rm -f conftest.err conftest.$ac_ext
    5813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5814 $as_echo "$ac_header_preproc" >&6; }
    5815 
    5816 # So?  What about this header?
    5817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5818   yes:no: )
    5819     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5820 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5821     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5822 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5823     ac_header_preproc=yes
    5824     ;;
    5825   no:yes:* )
    5826     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5827 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5828     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5829 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5830     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5831 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5832     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5833 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5834     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5835 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5836     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5837 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5838     ( cat <<\_ASBOX
    5839 ## ----------------------------------- ##
    5840 ## Report this to rappture@nanohub.org ##
    5841 ## ----------------------------------- ##
    5842 _ASBOX
    5843      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5844     ;;
    5845 esac
    5846 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5847 $as_echo_n "checking for $ac_header... " >&6; }
    5848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5849   $as_echo_n "(cached) " >&6
    5850 else
    5851   eval "$as_ac_Header=\$ac_header_preproc"
    5852 fi
    5853 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5854                  $as_echo "$as_val"'`
    5855                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5856 $as_echo "$ac_res" >&6; }
    5857 
    5858 fi
    5859 as_val=`eval 'as_val=${'$as_ac_Header'}
    5860                  $as_echo "$as_val"'`
    5861    if test "x$as_val" = x""yes; then
     5078do :
     5079  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     5080if test "x$ac_cv_header_cctype" = xyes; then :
    58625081  cat >>confdefs.h <<_ACEOF
    5863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5864 _ACEOF
    5865 
    5866 else
    5867   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5082#define HAVE_CCTYPE 1
     5083_ACEOF
     5084
     5085else
     5086  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    58685087$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    58695088fi
     
    58715090done
    58725091
    5873 
    58745092for ac_header in cfloat
    5875 do
    5876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5878   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5879 $as_echo_n "checking for $ac_header... " >&6; }
    5880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5881   $as_echo_n "(cached) " >&6
    5882 fi
    5883 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5884                  $as_echo "$as_val"'`
    5885                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5886 $as_echo "$ac_res" >&6; }
    5887 else
    5888   # Is the header compilable?
    5889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5890 $as_echo_n "checking $ac_header usability... " >&6; }
    5891 cat >conftest.$ac_ext <<_ACEOF
    5892 /* confdefs.h.  */
    5893 _ACEOF
    5894 cat confdefs.h >>conftest.$ac_ext
    5895 cat >>conftest.$ac_ext <<_ACEOF
    5896 /* end confdefs.h.  */
    5897 $ac_includes_default
    5898 #include <$ac_header>
    5899 _ACEOF
    5900 rm -f conftest.$ac_objext
    5901 if { (ac_try="$ac_compile"
    5902 case "(($ac_try" in
    5903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5904   *) ac_try_echo=$ac_try;;
    5905 esac
    5906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5907 $as_echo "$ac_try_echo") >&5
    5908   (eval "$ac_compile") 2>conftest.er1
    5909   ac_status=$?
    5910   grep -v '^ *+' conftest.er1 >conftest.err
    5911   rm -f conftest.er1
    5912   cat conftest.err >&5
    5913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5914   (exit $ac_status); } && {
    5915          test -z "$ac_cxx_werror_flag" ||
    5916          test ! -s conftest.err
    5917        } && test -s conftest.$ac_objext; then
    5918   ac_header_compiler=yes
    5919 else
    5920   $as_echo "$as_me: failed program was:" >&5
    5921 sed 's/^/| /' conftest.$ac_ext >&5
    5922 
    5923         ac_header_compiler=no
    5924 fi
    5925 
    5926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5928 $as_echo "$ac_header_compiler" >&6; }
    5929 
    5930 # Is the header present?
    5931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5932 $as_echo_n "checking $ac_header presence... " >&6; }
    5933 cat >conftest.$ac_ext <<_ACEOF
    5934 /* confdefs.h.  */
    5935 _ACEOF
    5936 cat confdefs.h >>conftest.$ac_ext
    5937 cat >>conftest.$ac_ext <<_ACEOF
    5938 /* end confdefs.h.  */
    5939 #include <$ac_header>
    5940 _ACEOF
    5941 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5942 case "(($ac_try" in
    5943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5944   *) ac_try_echo=$ac_try;;
    5945 esac
    5946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5947 $as_echo "$ac_try_echo") >&5
    5948   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5949   ac_status=$?
    5950   grep -v '^ *+' conftest.er1 >conftest.err
    5951   rm -f conftest.er1
    5952   cat conftest.err >&5
    5953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5954   (exit $ac_status); } >/dev/null && {
    5955          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5956          test ! -s conftest.err
    5957        }; then
    5958   ac_header_preproc=yes
    5959 else
    5960   $as_echo "$as_me: failed program was:" >&5
    5961 sed 's/^/| /' conftest.$ac_ext >&5
    5962 
    5963   ac_header_preproc=no
    5964 fi
    5965 
    5966 rm -f conftest.err conftest.$ac_ext
    5967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5968 $as_echo "$ac_header_preproc" >&6; }
    5969 
    5970 # So?  What about this header?
    5971 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5972   yes:no: )
    5973     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5975     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5977     ac_header_preproc=yes
    5978     ;;
    5979   no:yes:* )
    5980     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5982     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5983 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5984     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5986     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5987 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5988     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5990     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5992     ( cat <<\_ASBOX
    5993 ## ----------------------------------- ##
    5994 ## Report this to rappture@nanohub.org ##
    5995 ## ----------------------------------- ##
    5996 _ASBOX
    5997      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5998     ;;
    5999 esac
    6000 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6001 $as_echo_n "checking for $ac_header... " >&6; }
    6002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6003   $as_echo_n "(cached) " >&6
    6004 else
    6005   eval "$as_ac_Header=\$ac_header_preproc"
    6006 fi
    6007 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6008                  $as_echo "$as_val"'`
    6009                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6010 $as_echo "$ac_res" >&6; }
    6011 
    6012 fi
    6013 as_val=`eval 'as_val=${'$as_ac_Header'}
    6014                  $as_echo "$as_val"'`
    6015    if test "x$as_val" = x""yes; then
     5093do :
     5094  ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
     5095if test "x$ac_cv_header_cfloat" = xyes; then :
    60165096  cat >>confdefs.h <<_ACEOF
    6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6018 _ACEOF
    6019 
    6020 else
    6021   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5097#define HAVE_CFLOAT 1
     5098_ACEOF
     5099
     5100else
     5101  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    60225102$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    60235103fi
     
    60255105done
    60265106
    6027 
    60285107for ac_header in cmath
    6029 do
    6030 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6032   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6033 $as_echo_n "checking for $ac_header... " >&6; }
    6034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6035   $as_echo_n "(cached) " >&6
    6036 fi
    6037 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6038                  $as_echo "$as_val"'`
    6039                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6040 $as_echo "$ac_res" >&6; }
    6041 else
    6042   # Is the header compilable?
    6043 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6044 $as_echo_n "checking $ac_header usability... " >&6; }
    6045 cat >conftest.$ac_ext <<_ACEOF
    6046 /* confdefs.h.  */
    6047 _ACEOF
    6048 cat confdefs.h >>conftest.$ac_ext
    6049 cat >>conftest.$ac_ext <<_ACEOF
    6050 /* end confdefs.h.  */
    6051 $ac_includes_default
    6052 #include <$ac_header>
    6053 _ACEOF
    6054 rm -f conftest.$ac_objext
    6055 if { (ac_try="$ac_compile"
    6056 case "(($ac_try" in
    6057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6058   *) ac_try_echo=$ac_try;;
    6059 esac
    6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6061 $as_echo "$ac_try_echo") >&5
    6062   (eval "$ac_compile") 2>conftest.er1
    6063   ac_status=$?
    6064   grep -v '^ *+' conftest.er1 >conftest.err
    6065   rm -f conftest.er1
    6066   cat conftest.err >&5
    6067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6068   (exit $ac_status); } && {
    6069          test -z "$ac_cxx_werror_flag" ||
    6070          test ! -s conftest.err