Changeset 4116 for trunk/configure


Ignore:
Timestamp:
Jan 14, 2014, 5:44:57 PM (6 years ago)
Author:
dkearney
Message:

updating rappture build to include the --enable-lang or --disable-lang flag to control the building of language bindings. this is part of an update to build only the Rappture C/C++/Fortran bindings for use on grid machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r3931 r4116  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for Rappture 1.4.
     3# Generated by GNU Autoconf 2.69 for Rappture 1.4.
    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.4'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    700685HAVE_FFMPEG_LIBS
    701686ENABLE_GUI
     687ENABLE_LANG
    702688FFMPEG
    703689LDFLAGS_DEFAULT
     
    815801prefix
    816802exec_prefix
     803PACKAGE_URL
    817804PACKAGE_BUGREPORT
    818805PACKAGE_STRING
     
    830817enable_corefoundation
    831818enable_load
     819enable_lang
    832820enable_gui
    833821with_ffmpeg
     
    924912
    925913  case $ac_option in
    926   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    927   *)    ac_optarg=yes ;;
     914  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     915  *=)   ac_optarg= ;;
     916  *)    ac_optarg=yes ;;
    928917  esac
    929918
     
    970959    # Reject names that are not valid shell variable names.
    971960    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    973    { (exit 1); exit 1; }; }
     961      as_fn_error $? "invalid feature name: $ac_useropt"
    974962    ac_useropt_orig=$ac_useropt
    975963    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    997985    # Reject names that are not valid shell variable names.
    998986    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    999       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    1000    { (exit 1); exit 1; }; }
     987      as_fn_error $? "invalid feature name: $ac_useropt"
    1001988    ac_useropt_orig=$ac_useropt
    1002989    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12021189    # Reject names that are not valid shell variable names.
    12031190    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1204       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1205    { (exit 1); exit 1; }; }
     1191      as_fn_error $? "invalid package name: $ac_useropt"
    12061192    ac_useropt_orig=$ac_useropt
    12071193    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12191205    # Reject names that are not valid shell variable names.
    12201206    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1221       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1222    { (exit 1); exit 1; }; }
     1207      as_fn_error $? "invalid package name: $ac_useropt"
    12231208    ac_useropt_orig=$ac_useropt
    12241209    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    12501235    x_libraries=$ac_optarg ;;
    12511236
    1252   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1253 Try \`$0 --help' for more information." >&2
    1254    { (exit 1); exit 1; }; }
     1237  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1238Try \`$0 --help' for more information"
    12551239    ;;
    12561240
     
    12581242    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    12591243    # Reject names that are not valid shell variable names.
    1260     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1261       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1262    { (exit 1); exit 1; }; }
     1244    case $ac_envvar in #(
     1245      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1246      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1247    esac
    12631248    eval $ac_envvar=\$ac_optarg
    12641249    export $ac_envvar ;;
     
    12691254    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    12701255      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1271     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1256    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    12721257    ;;
    12731258
     
    12771262if test -n "$ac_prev"; then
    12781263  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1279   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1280    { (exit 1); exit 1; }; }
     1264  as_fn_error $? "missing argument to $ac_option"
    12811265fi
    12821266
     
    12841268  case $enable_option_checking in
    12851269    no) ;;
    1286     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1287    { (exit 1); exit 1; }; } ;;
     1270    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    12881271    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    12891272  esac
     
    13081291    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    13091292  esac
    1310   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1311    { (exit 1); exit 1; }; }
     1293  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    13121294done
    13131295
     
    13231305  if test "x$build_alias" = x; then
    13241306    cross_compiling=maybe
    1325     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1326     If a cross compiler is detected then cross compile mode will be used." >&2
    13271307  elif test "x$build_alias" != "x$host_alias"; then
    13281308    cross_compiling=yes
     
    13391319ac_ls_di=`ls -di .` &&
    13401320ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1341   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1342    { (exit 1); exit 1; }; }
     1321  as_fn_error $? "working directory cannot be determined"
    13431322test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1344   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1345    { (exit 1); exit 1; }; }
     1323  as_fn_error $? "pwd does not report name of working directory"
    13461324
    13471325
     
    13821360if test ! -r "$srcdir/$ac_unique_file"; then
    13831361  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1384   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1385    { (exit 1); exit 1; }; }
     1362  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    13861363fi
    13871364ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    13881365ac_abs_confdir=`(
    1389         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1390    { (exit 1); exit 1; }; }
     1366        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13911367        pwd)`
    13921368# When building in place, set srcdir=.
     
    14281404      --help=recursive    display the short help of all the included packages
    14291405  -V, --version           display version information and exit
    1430   -q, --quiet, --silent   do not print \`checking...' messages
     1406  -q, --quiet, --silent   do not print \`checking ...' messages
    14311407      --cache-file=FILE   cache test results in FILE [disabled]
    14321408  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14911467  --enable-corefoundation use CoreFoundation API --enable-corefoundation
    14921468  --disable-load          disallow dynamic loading and "load" command
     1469  --enable-lang           build language bindings [default=yes]
    14931470  --enable-gui            build code related to the graphical user interface
    14941471                          [default=yes]
     
    15121489  --with-java=DIR         location of java [default=yes]
    15131490  --with-R=DIR            location of R interpreter [default=yes]
    1514   --with-ruby=PATH        path to the ruby interpreter [ruby]
     1491  --with-ruby=PATH        path to the ruby interpreter [[ruby]]
    15151492  --with-ruby-sitelibdir=PATH
    1516                           path to install ruby scripts [auto-detect]
     1493                          path to install ruby scripts [[auto-detect]]
    15171494
    15181495Some influential environment variables:
     
    15221499              nonstandard directory <lib dir>
    15231500  LIBS        libraries to pass to the linker, e.g. -l<library>
    1524   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1501  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    15251502              you have headers in a nonstandard directory <include dir>
    15261503  CXX         C++ compiler command
     
    15981575  cat <<\_ACEOF
    15991576Rappture configure 1.4
    1600 generated by GNU Autoconf 2.63
    1601 
    1602 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1603 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1577generated by GNU Autoconf 2.69
     1578
     1579Copyright (C) 2012 Free Software Foundation, Inc.
    16041580This configure script is free software; the Free Software Foundation
    16051581gives unlimited permission to copy, distribute and modify it.
     
    16071583  exit
    16081584fi
     1585
     1586## ------------------------ ##
     1587## Autoconf initialization. ##
     1588## ------------------------ ##
     1589
     1590# ac_fn_c_try_compile LINENO
     1591# --------------------------
     1592# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1593ac_fn_c_try_compile ()
     1594{
     1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1596  rm -f conftest.$ac_objext
     1597  if { { ac_try="$ac_compile"
     1598case "(($ac_try" in
     1599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1600  *) ac_try_echo=$ac_try;;
     1601esac
     1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1603$as_echo "$ac_try_echo"; } >&5
     1604  (eval "$ac_compile") 2>conftest.err
     1605  ac_status=$?
     1606  if test -s conftest.err; then
     1607    grep -v '^ *+' conftest.err >conftest.er1
     1608    cat conftest.er1 >&5
     1609    mv -f conftest.er1 conftest.err
     1610  fi
     1611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1612  test $ac_status = 0; } && {
     1613         test -z "$ac_c_werror_flag" ||
     1614         test ! -s conftest.err
     1615       } && test -s conftest.$ac_objext; then :
     1616  ac_retval=0
     1617else
     1618  $as_echo "$as_me: failed program was:" >&5
     1619sed 's/^/| /' conftest.$ac_ext >&5
     1620
     1621        ac_retval=1
     1622fi
     1623  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1624  as_fn_set_status $ac_retval
     1625
     1626} # ac_fn_c_try_compile
     1627
     1628# ac_fn_cxx_try_compile LINENO
     1629# ----------------------------
     1630# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1631ac_fn_cxx_try_compile ()
     1632{
     1633  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1634  rm -f conftest.$ac_objext
     1635  if { { ac_try="$ac_compile"
     1636case "(($ac_try" in
     1637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1638  *) ac_try_echo=$ac_try;;
     1639esac
     1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1641$as_echo "$ac_try_echo"; } >&5
     1642  (eval "$ac_compile") 2>conftest.err
     1643  ac_status=$?
     1644  if test -s conftest.err; then
     1645    grep -v '^ *+' conftest.err >conftest.er1
     1646    cat conftest.er1 >&5
     1647    mv -f conftest.er1 conftest.err
     1648  fi
     1649  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1650  test $ac_status = 0; } && {
     1651         test -z "$ac_cxx_werror_flag" ||
     1652         test ! -s conftest.err
     1653       } && test -s conftest.$ac_objext; then :
     1654  ac_retval=0
     1655else
     1656  $as_echo "$as_me: failed program was:" >&5
     1657sed 's/^/| /' conftest.$ac_ext >&5
     1658
     1659        ac_retval=1
     1660fi
     1661  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1662  as_fn_set_status $ac_retval
     1663
     1664} # ac_fn_cxx_try_compile
     1665
     1666# ac_fn_f77_try_compile LINENO
     1667# ----------------------------
     1668# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1669ac_fn_f77_try_compile ()
     1670{
     1671  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1672  rm -f conftest.$ac_objext
     1673  if { { ac_try="$ac_compile"
     1674case "(($ac_try" in
     1675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1676  *) ac_try_echo=$ac_try;;
     1677esac
     1678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1679$as_echo "$ac_try_echo"; } >&5
     1680  (eval "$ac_compile") 2>conftest.err
     1681  ac_status=$?
     1682  if test -s conftest.err; then
     1683    grep -v '^ *+' conftest.err >conftest.er1
     1684    cat conftest.er1 >&5
     1685    mv -f conftest.er1 conftest.err
     1686  fi
     1687  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1688  test $ac_status = 0; } && {
     1689         test -z "$ac_f77_werror_flag" ||
     1690         test ! -s conftest.err
     1691       } && test -s conftest.$ac_objext; then :
     1692  ac_retval=0
     1693else
     1694  $as_echo "$as_me: failed program was:" >&5
     1695sed 's/^/| /' conftest.$ac_ext >&5
     1696
     1697        ac_retval=1
     1698fi
     1699  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1700  as_fn_set_status $ac_retval
     1701
     1702} # ac_fn_f77_try_compile
     1703
     1704# ac_fn_c_try_cpp LINENO
     1705# ----------------------
     1706# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1707ac_fn_c_try_cpp ()
     1708{
     1709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1710  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1711case "(($ac_try" in
     1712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1713  *) ac_try_echo=$ac_try;;
     1714esac
     1715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1716$as_echo "$ac_try_echo"; } >&5
     1717  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1718  ac_status=$?
     1719  if test -s conftest.err; then
     1720    grep -v '^ *+' conftest.err >conftest.er1
     1721    cat conftest.er1 >&5
     1722    mv -f conftest.er1 conftest.err
     1723  fi
     1724  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1725  test $ac_status = 0; } > conftest.i && {
     1726         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1727         test ! -s conftest.err
     1728       }; then :
     1729  ac_retval=0
     1730else
     1731  $as_echo "$as_me: failed program was:" >&5
     1732sed 's/^/| /' conftest.$ac_ext >&5
     1733
     1734    ac_retval=1
     1735fi
     1736  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1737  as_fn_set_status $ac_retval
     1738
     1739} # ac_fn_c_try_cpp
     1740
     1741# ac_fn_c_try_run LINENO
     1742# ----------------------
     1743# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1744# that executables *can* be run.
     1745ac_fn_c_try_run ()
     1746{
     1747  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1748  if { { ac_try="$ac_link"
     1749case "(($ac_try" in
     1750  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1751  *) ac_try_echo=$ac_try;;
     1752esac
     1753eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1754$as_echo "$ac_try_echo"; } >&5
     1755  (eval "$ac_link") 2>&5
     1756  ac_status=$?
     1757  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1758  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1759  { { case "(($ac_try" in
     1760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1761  *) ac_try_echo=$ac_try;;
     1762esac
     1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1764$as_echo "$ac_try_echo"; } >&5
     1765  (eval "$ac_try") 2>&5
     1766  ac_status=$?
     1767  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1768  test $ac_status = 0; }; }; then :
     1769  ac_retval=0
     1770else
     1771  $as_echo "$as_me: program exited with status $ac_status" >&5
     1772       $as_echo "$as_me: failed program was:" >&5
     1773sed 's/^/| /' conftest.$ac_ext >&5
     1774
     1775       ac_retval=$ac_status
     1776fi
     1777  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1778  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1779  as_fn_set_status $ac_retval
     1780
     1781} # ac_fn_c_try_run
     1782
     1783# ac_fn_c_try_link LINENO
     1784# -----------------------
     1785# Try to link conftest.$ac_ext, and return whether this succeeded.
     1786ac_fn_c_try_link ()
     1787{
     1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1789  rm -f conftest.$ac_objext conftest$ac_exeext
     1790  if { { ac_try="$ac_link"
     1791case "(($ac_try" in
     1792  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1793  *) ac_try_echo=$ac_try;;
     1794esac
     1795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1796$as_echo "$ac_try_echo"; } >&5
     1797  (eval "$ac_link") 2>conftest.err
     1798  ac_status=$?
     1799  if test -s conftest.err; then
     1800    grep -v '^ *+' conftest.err >conftest.er1
     1801    cat conftest.er1 >&5
     1802    mv -f conftest.er1 conftest.err
     1803  fi
     1804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1805  test $ac_status = 0; } && {
     1806         test -z "$ac_c_werror_flag" ||
     1807         test ! -s conftest.err
     1808       } && test -s conftest$ac_exeext && {
     1809         test "$cross_compiling" = yes ||
     1810         test -x conftest$ac_exeext
     1811       }; then :
     1812  ac_retval=0
     1813else
     1814  $as_echo "$as_me: failed program was:" >&5
     1815sed 's/^/| /' conftest.$ac_ext >&5
     1816
     1817        ac_retval=1
     1818fi
     1819  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1820  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1821  # interfere with the next link command; also delete a directory that is
     1822  # left behind by Apple's compiler.  We do this before executing the actions.
     1823  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1824  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1825  as_fn_set_status $ac_retval
     1826
     1827} # ac_fn_c_try_link
     1828
     1829# ac_fn_c_check_func LINENO FUNC VAR
     1830# ----------------------------------
     1831# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1832ac_fn_c_check_func ()
     1833{
     1834  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1836$as_echo_n "checking for $2... " >&6; }
     1837if eval \${$3+:} false; then :
     1838  $as_echo_n "(cached) " >&6
     1839else
     1840  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1841/* end confdefs.h.  */
     1842/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1843   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1844#define $2 innocuous_$2
     1845
     1846/* System header to define __stub macros and hopefully few prototypes,
     1847    which can conflict with char $2 (); below.
     1848    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1849    <limits.h> exists even on freestanding compilers.  */
     1850
     1851#ifdef __STDC__
     1852# include <limits.h>
     1853#else
     1854# include <assert.h>
     1855#endif
     1856
     1857#undef $2
     1858
     1859/* Override any GCC internal prototype to avoid an error.
     1860   Use char because int might match the return type of a GCC
     1861   builtin and then its argument prototype would still apply.  */
     1862#ifdef __cplusplus
     1863extern "C"
     1864#endif
     1865char $2 ();
     1866/* The GNU C library defines this for functions which it implements
     1867    to always fail with ENOSYS.  Some functions are actually named
     1868    something starting with __ and the normal name is an alias.  */
     1869#if defined __stub_$2 || defined __stub___$2
     1870choke me
     1871#endif
     1872
     1873int
     1874main ()
     1875{
     1876return $2 ();
     1877  ;
     1878  return 0;
     1879}
     1880_ACEOF
     1881if ac_fn_c_try_link "$LINENO"; then :
     1882  eval "$3=yes"
     1883else
     1884  eval "$3=no"
     1885fi
     1886rm -f core conftest.err conftest.$ac_objext \
     1887    conftest$ac_exeext conftest.$ac_ext
     1888fi
     1889eval ac_res=\$$3
     1890               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1891$as_echo "$ac_res" >&6; }
     1892  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1893
     1894} # ac_fn_c_check_func
     1895
     1896# ac_fn_cxx_try_link LINENO
     1897# -------------------------
     1898# Try to link conftest.$ac_ext, and return whether this succeeded.
     1899ac_fn_cxx_try_link ()
     1900{
     1901  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1902  rm -f conftest.$ac_objext conftest$ac_exeext
     1903  if { { ac_try="$ac_link"
     1904case "(($ac_try" in
     1905  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1906  *) ac_try_echo=$ac_try;;
     1907esac
     1908eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1909$as_echo "$ac_try_echo"; } >&5
     1910  (eval "$ac_link") 2>conftest.err
     1911  ac_status=$?
     1912  if test -s conftest.err; then
     1913    grep -v '^ *+' conftest.err >conftest.er1
     1914    cat conftest.er1 >&5
     1915    mv -f conftest.er1 conftest.err
     1916  fi
     1917  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1918  test $ac_status = 0; } && {
     1919         test -z "$ac_cxx_werror_flag" ||
     1920         test ! -s conftest.err
     1921       } && test -s conftest$ac_exeext && {
     1922         test "$cross_compiling" = yes ||
     1923         test -x conftest$ac_exeext
     1924       }; then :
     1925  ac_retval=0
     1926else
     1927  $as_echo "$as_me: failed program was:" >&5
     1928sed 's/^/| /' conftest.$ac_ext >&5
     1929
     1930        ac_retval=1
     1931fi
     1932  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1933  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1934  # interfere with the next link command; also delete a directory that is
     1935  # left behind by Apple's compiler.  We do this before executing the actions.
     1936  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1937  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1938  as_fn_set_status $ac_retval
     1939
     1940} # ac_fn_cxx_try_link
     1941
     1942# ac_fn_cxx_check_func LINENO FUNC VAR
     1943# ------------------------------------
     1944# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1945ac_fn_cxx_check_func ()
     1946{
     1947  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1949$as_echo_n "checking for $2... " >&6; }
     1950if eval \${$3+:} false; then :
     1951  $as_echo_n "(cached) " >&6
     1952else
     1953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1954/* end confdefs.h.  */
     1955/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1956   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1957#define $2 innocuous_$2
     1958
     1959/* System header to define __stub macros and hopefully few prototypes,
     1960    which can conflict with char $2 (); below.
     1961    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1962    <limits.h> exists even on freestanding compilers.  */
     1963
     1964#ifdef __STDC__
     1965# include <limits.h>
     1966#else
     1967# include <assert.h>
     1968#endif
     1969
     1970#undef $2
     1971
     1972/* Override any GCC internal prototype to avoid an error.
     1973   Use char because int might match the return type of a GCC
     1974   builtin and then its argument prototype would still apply.  */
     1975#ifdef __cplusplus
     1976extern "C"
     1977#endif
     1978char $2 ();
     1979/* The GNU C library defines this for functions which it implements
     1980    to always fail with ENOSYS.  Some functions are actually named
     1981    something starting with __ and the normal name is an alias.  */
     1982#if defined __stub_$2 || defined __stub___$2
     1983choke me
     1984#endif
     1985
     1986int
     1987main ()
     1988{
     1989return $2 ();
     1990  ;
     1991  return 0;
     1992}
     1993_ACEOF
     1994if ac_fn_cxx_try_link "$LINENO"; then :
     1995  eval "$3=yes"
     1996else
     1997  eval "$3=no"
     1998fi
     1999rm -f core conftest.err conftest.$ac_objext \
     2000    conftest$ac_exeext conftest.$ac_ext
     2001fi
     2002eval ac_res=\$$3
     2003               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2004$as_echo "$ac_res" >&6; }
     2005  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2006
     2007} # ac_fn_cxx_check_func
     2008
     2009# ac_fn_cxx_try_cpp LINENO
     2010# ------------------------
     2011# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     2012ac_fn_cxx_try_cpp ()
     2013{
     2014  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2015  if { { ac_try="$ac_cpp conftest.$ac_ext"
     2016case "(($ac_try" in
     2017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2018  *) ac_try_echo=$ac_try;;
     2019esac
     2020eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2021$as_echo "$ac_try_echo"; } >&5
     2022  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     2023  ac_status=$?
     2024  if test -s conftest.err; then
     2025    grep -v '^ *+' conftest.err >conftest.er1
     2026    cat conftest.er1 >&5
     2027    mv -f conftest.er1 conftest.err
     2028  fi
     2029  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2030  test $ac_status = 0; } > conftest.i && {
     2031         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     2032         test ! -s conftest.err
     2033       }; then :
     2034  ac_retval=0
     2035else
     2036  $as_echo "$as_me: failed program was:" >&5
     2037sed 's/^/| /' conftest.$ac_ext >&5
     2038
     2039    ac_retval=1
     2040fi
     2041  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2042  as_fn_set_status $ac_retval
     2043
     2044} # ac_fn_cxx_try_cpp
     2045
     2046# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2047# ---------------------------------------------------------
     2048# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2049# the include files in INCLUDES and setting the cache variable VAR
     2050# accordingly.
     2051ac_fn_cxx_check_header_mongrel ()
     2052{
     2053  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2054  if eval \${$3+:} false; then :
     2055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2056$as_echo_n "checking for $2... " >&6; }
     2057if eval \${$3+:} false; then :
     2058  $as_echo_n "(cached) " >&6
     2059fi
     2060eval ac_res=\$$3
     2061               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2062$as_echo "$ac_res" >&6; }
     2063else
     2064  # Is the header compilable?
     2065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2066$as_echo_n "checking $2 usability... " >&6; }
     2067cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2068/* end confdefs.h.  */
     2069$4
     2070#include <$2>
     2071_ACEOF
     2072if ac_fn_cxx_try_compile "$LINENO"; then :
     2073  ac_header_compiler=yes
     2074else
     2075  ac_header_compiler=no
     2076fi
     2077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2079$as_echo "$ac_header_compiler" >&6; }
     2080
     2081# Is the header present?
     2082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2083$as_echo_n "checking $2 presence... " >&6; }
     2084cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2085/* end confdefs.h.  */
     2086#include <$2>
     2087_ACEOF
     2088if ac_fn_cxx_try_cpp "$LINENO"; then :
     2089  ac_header_preproc=yes
     2090else
     2091  ac_header_preproc=no
     2092fi
     2093rm -f conftest.err conftest.i conftest.$ac_ext
     2094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2095$as_echo "$ac_header_preproc" >&6; }
     2096
     2097# So?  What about this header?
     2098case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2099  yes:no: )
     2100    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2101$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2103$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2104    ;;
     2105  no:yes:* )
     2106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2107$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2109$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2111$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2112    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2113$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2114    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2115$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2116( $as_echo "## ----------------------------------- ##
     2117## Report this to rappture@nanohub.org ##
     2118## ----------------------------------- ##"
     2119     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2120    ;;
     2121esac
     2122  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2123$as_echo_n "checking for $2... " >&6; }
     2124if eval \${$3+:} false; then :
     2125  $as_echo_n "(cached) " >&6
     2126else
     2127  eval "$3=\$ac_header_compiler"
     2128fi
     2129eval ac_res=\$$3
     2130               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2131$as_echo "$ac_res" >&6; }
     2132fi
     2133  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2134
     2135} # ac_fn_cxx_check_header_mongrel
     2136
     2137# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2138# ---------------------------------------------------------
     2139# Tests whether HEADER exists and can be compiled using the include files in
     2140# INCLUDES, setting the cache variable VAR accordingly.
     2141ac_fn_cxx_check_header_compile ()
     2142{
     2143  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2144  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2145$as_echo_n "checking for $2... " >&6; }
     2146if eval \${$3+:} false; then :
     2147  $as_echo_n "(cached) " >&6
     2148else
     2149  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2150/* end confdefs.h.  */
     2151$4
     2152#include <$2>
     2153_ACEOF
     2154if ac_fn_cxx_try_compile "$LINENO"; then :
     2155  eval "$3=yes"
     2156else
     2157  eval "$3=no"
     2158fi
     2159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2160fi
     2161eval ac_res=\$$3
     2162               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2163$as_echo "$ac_res" >&6; }
     2164  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2165
     2166} # ac_fn_cxx_check_header_compile
     2167
     2168# ac_fn_cxx_try_run LINENO
     2169# ------------------------
     2170# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2171# that executables *can* be run.
     2172ac_fn_cxx_try_run ()
     2173{
     2174  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2175  if { { ac_try="$ac_link"
     2176case "(($ac_try" in
     2177  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2178  *) ac_try_echo=$ac_try;;
     2179esac
     2180eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2181$as_echo "$ac_try_echo"; } >&5
     2182  (eval "$ac_link") 2>&5
     2183  ac_status=$?
     2184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2185  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2186  { { case "(($ac_try" in
     2187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2188  *) ac_try_echo=$ac_try;;
     2189esac
     2190eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2191$as_echo "$ac_try_echo"; } >&5
     2192  (eval "$ac_try") 2>&5
     2193  ac_status=$?
     2194  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2195  test $ac_status = 0; }; }; then :
     2196  ac_retval=0
     2197else
     2198  $as_echo "$as_me: program exited with status $ac_status" >&5
     2199       $as_echo "$as_me: failed program was:" >&5
     2200sed 's/^/| /' conftest.$ac_ext >&5
     2201
     2202       ac_retval=$ac_status
     2203fi
     2204  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2205  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2206  as_fn_set_status $ac_retval
     2207
     2208} # ac_fn_cxx_try_run
     2209
     2210# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2211# ----------------------------------------------
     2212# Tries to find the compile-time value of EXPR in a program that includes
     2213# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2214# computed
     2215ac_fn_cxx_compute_int ()
     2216{
     2217  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2218  if test "$cross_compiling" = yes; then
     2219    # Depending upon the size, compute the lo and hi bounds.
     2220cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2221/* end confdefs.h.  */
     2222$4
     2223int
     2224main ()
     2225{
     2226static int test_array [1 - 2 * !(($2) >= 0)];
     2227test_array [0] = 0;
     2228return test_array [0];
     2229
     2230  ;
     2231  return 0;
     2232}
     2233_ACEOF
     2234if ac_fn_cxx_try_compile "$LINENO"; then :
     2235  ac_lo=0 ac_mid=0
     2236  while :; do
     2237    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2238/* end confdefs.h.  */
     2239$4
     2240int
     2241main ()
     2242{
     2243static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2244test_array [0] = 0;
     2245return test_array [0];
     2246
     2247  ;
     2248  return 0;
     2249}
     2250_ACEOF
     2251if ac_fn_cxx_try_compile "$LINENO"; then :
     2252  ac_hi=$ac_mid; break
     2253else
     2254  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2255                        if test $ac_lo -le $ac_mid; then
     2256                          ac_lo= ac_hi=
     2257                          break
     2258                        fi
     2259                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2260fi
     2261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2262  done
     2263else
     2264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2265/* end confdefs.h.  */
     2266$4
     2267int
     2268main ()
     2269{
     2270static int test_array [1 - 2 * !(($2) < 0)];
     2271test_array [0] = 0;
     2272return test_array [0];
     2273
     2274  ;
     2275  return 0;
     2276}
     2277_ACEOF
     2278if ac_fn_cxx_try_compile "$LINENO"; then :
     2279  ac_hi=-1 ac_mid=-1
     2280  while :; do
     2281    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2282/* end confdefs.h.  */
     2283$4
     2284int
     2285main ()
     2286{
     2287static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2288test_array [0] = 0;
     2289return test_array [0];
     2290
     2291  ;
     2292  return 0;
     2293}
     2294_ACEOF
     2295if ac_fn_cxx_try_compile "$LINENO"; then :
     2296  ac_lo=$ac_mid; break
     2297else
     2298  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2299                        if test $ac_mid -le $ac_hi; then
     2300                          ac_lo= ac_hi=
     2301                          break
     2302                        fi
     2303                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2304fi
     2305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2306  done
     2307else
     2308  ac_lo= ac_hi=
     2309fi
     2310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2311fi
     2312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2313# Binary search between lo and hi bounds.
     2314while test "x$ac_lo" != "x$ac_hi"; do
     2315  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2317/* end confdefs.h.  */
     2318$4
     2319int
     2320main ()
     2321{
     2322static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2323test_array [0] = 0;
     2324return test_array [0];
     2325
     2326  ;
     2327  return 0;
     2328}
     2329_ACEOF
     2330if ac_fn_cxx_try_compile "$LINENO"; then :
     2331  ac_hi=$ac_mid
     2332else
     2333  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2334fi
     2335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2336done
     2337case $ac_lo in #((
     2338?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2339'') ac_retval=1 ;;
     2340esac
     2341  else
     2342    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2343/* end confdefs.h.  */
     2344$4
     2345static long int longval () { return $2; }
     2346static unsigned long int ulongval () { return $2; }
     2347#include <stdio.h>
     2348#include <stdlib.h>
     2349int
     2350main ()
     2351{
     2352
     2353  FILE *f = fopen ("conftest.val", "w");
     2354  if (! f)
     2355    return 1;
     2356  if (($2) < 0)
     2357    {
     2358      long int i = longval ();
     2359      if (i != ($2))
     2360        return 1;
     2361      fprintf (f, "%ld", i);
     2362    }
     2363  else
     2364    {
     2365      unsigned long int i = ulongval ();
     2366      if (i != ($2))
     2367        return 1;
     2368      fprintf (f, "%lu", i);
     2369    }
     2370  /* Do not output a trailing newline, as this causes \r\n confusion
     2371     on some platforms.  */
     2372  return ferror (f) || fclose (f) != 0;
     2373
     2374  ;
     2375  return 0;
     2376}
     2377_ACEOF
     2378if ac_fn_cxx_try_run "$LINENO"; then :
     2379  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2380else
     2381  ac_retval=1
     2382fi
     2383rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2384  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2385rm -f conftest.val
     2386
     2387  fi
     2388  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2389  as_fn_set_status $ac_retval
     2390
     2391} # ac_fn_cxx_compute_int
    16092392cat >config.log <<_ACEOF
    16102393This file contains any messages produced by compilers while
     
    16122395
    16132396It was created by Rappture $as_me 1.4, which was
    1614 generated by GNU Autoconf 2.63.  Invocation command line was
     2397generated by GNU Autoconf 2.69.  Invocation command line was
    16152398
    16162399  $ $0 $@
     
    16482431  IFS=$as_save_IFS
    16492432  test -z "$as_dir" && as_dir=.
    1650   $as_echo "PATH: $as_dir"
    1651 done
     2433    $as_echo "PATH: $as_dir"
     2434  done
    16522435IFS=$as_save_IFS
    16532436
     
    16862469    esac
    16872470    case $ac_pass in
    1688     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2471    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    16892472    2)
    1690       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2473      as_fn_append ac_configure_args1 " '$ac_arg'"
    16912474      if test $ac_must_keep_next = true; then
    16922475        ac_must_keep_next=false # Got value, back to normal.
     
    17042487        esac
    17052488      fi
    1706       ac_configure_args="$ac_configure_args '$ac_arg'"
     2489      as_fn_append ac_configure_args " '$ac_arg'"
    17072490      ;;
    17082491    esac
    17092492  done
    17102493done
    1711 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1712 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2494{ ac_configure_args0=; unset ac_configure_args0;}
     2495{ ac_configure_args1=; unset ac_configure_args1;}
    17132496
    17142497# When interrupted or exit'd, cleanup temporary files, and complete
     
    17222505    echo
    17232506
    1724     cat <<\_ASBOX
    1725 ## ---------------- ##
     2507    $as_echo "## ---------------- ##
    17262508## Cache variables. ##
    1727 ## ---------------- ##
    1728 _ASBOX
     2509## ---------------- ##"
    17292510    echo
    17302511    # The following way of writing the cache mishandles newlines in values,
     
    17352516    *${as_nl}*)
    17362517      case $ac_var in #(
    1737       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2518      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    17382519$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    17392520      esac
     
    17412522      _ | IFS | as_nl) ;; #(
    17422523      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1743       *) $as_unset $ac_var ;;
     2524      *) { eval $ac_var=; unset $ac_var;} ;;
    17442525      esac ;;
    17452526    esac
     
    17602541    echo
    17612542
    1762     cat <<\_ASBOX
    1763 ## ----------------- ##
     2543    $as_echo "## ----------------- ##
    17642544## Output variables. ##
    1765 ## ----------------- ##
    1766 _ASBOX
     2545## ----------------- ##"
    17672546    echo
    17682547    for ac_var in $ac_subst_vars
     
    17772556
    17782557    if test -n "$ac_subst_files"; then
    1779       cat <<\_ASBOX
    1780 ## ------------------- ##
     2558      $as_echo "## ------------------- ##
    17812559## File substitutions. ##
    1782 ## ------------------- ##
    1783 _ASBOX
     2560## ------------------- ##"
    17842561      echo
    17852562      for ac_var in $ac_subst_files
     
    17952572
    17962573    if test -s confdefs.h; then
    1797       cat <<\_ASBOX
    1798 ## ----------- ##
     2574      $as_echo "## ----------- ##
    17992575## confdefs.h. ##
    1800 ## ----------- ##
    1801 _ASBOX
     2576## ----------- ##"
    18022577      echo
    18032578      cat confdefs.h
     
    18132588' 0
    18142589for ac_signal in 1 2 13 15; do
    1815   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2590  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    18162591done
    18172592ac_signal=0
     
    18202595rm -f -r conftest* confdefs.h
    18212596
     2597$as_echo "/* confdefs.h */" > confdefs.h
     2598
    18222599# Predefined preprocessor variables.
    18232600
     
    18262603_ACEOF
    18272604
    1828 
    18292605cat >>confdefs.h <<_ACEOF
    18302606#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    18312607_ACEOF
    18322608
    1833 
    18342609cat >>confdefs.h <<_ACEOF
    18352610#define PACKAGE_VERSION "$PACKAGE_VERSION"
    18362611_ACEOF
    18372612
    1838 
    18392613cat >>confdefs.h <<_ACEOF
    18402614#define PACKAGE_STRING "$PACKAGE_STRING"
    18412615_ACEOF
    18422616
    1843 
    18442617cat >>confdefs.h <<_ACEOF
    18452618#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2619_ACEOF
     2620
     2621cat >>confdefs.h <<_ACEOF
     2622#define PACKAGE_URL "$PACKAGE_URL"
    18462623_ACEOF
    18472624
     
    18522629ac_site_file2=NONE
    18532630if test -n "$CONFIG_SITE"; then
    1854   ac_site_file1=$CONFIG_SITE
     2631  # We do not want a PATH search for config.site.
     2632  case $CONFIG_SITE in #((
     2633    -*)  ac_site_file1=./$CONFIG_SITE;;
     2634    */*) ac_site_file1=$CONFIG_SITE;;
     2635    *)   ac_site_file1=./$CONFIG_SITE;;
     2636  esac
    18552637elif test "x$prefix" != xNONE; then
    18562638  ac_site_file1=$prefix/share/config.site
     
    18632645do
    18642646  test "x$ac_site_file" = xNONE && continue
    1865   if test -r "$ac_site_file"; then
    1866     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2647  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2648    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    18672649$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    18682650    sed 's/^/| /' "$ac_site_file" >&5
    1869     . "$ac_site_file"
     2651    . "$ac_site_file" \
     2652      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2654as_fn_error $? "failed to load site script $ac_site_file
     2655See \`config.log' for more details" "$LINENO" 5; }
    18702656  fi
    18712657done
    18722658
    18732659if test -r "$cache_file"; then
    1874   # Some versions of bash will fail to source /dev/null (special
    1875   # files actually), so we avoid doing that.
    1876   if test -f "$cache_file"; then
    1877     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2660  # Some versions of bash will fail to source /dev/null (special files
     2661  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2662  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2663    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    18782664$as_echo "$as_me: loading cache $cache_file" >&6;}
    18792665    case $cache_file in
     
    18832669  fi
    18842670else
    1885   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2671  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    18862672$as_echo "$as_me: creating cache $cache_file" >&6;}
    18872673  >$cache_file
     
    18982684  case $ac_old_set,$ac_new_set in
    18992685    set,)
    1900       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2686      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    19012687$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    19022688      ac_cache_corrupted=: ;;
    19032689    ,set)
    1904       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2690      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    19052691$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    19062692      ac_cache_corrupted=: ;;
     
    19122698        ac_new_val_w=`echo x $ac_new_val`
    19132699        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1914           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2700          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    19152701$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    19162702          ac_cache_corrupted=:
    19172703        else
    1918           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2704          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    19192705$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    19202706          eval $ac_var=\$ac_old_val
    19212707        fi
    1922         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2708        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    19232709$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1924         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2710        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    19252711$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    19262712      fi;;
     
    19342720    case " $ac_configure_args " in
    19352721      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1936       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2722      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    19372723    esac
    19382724  fi
    19392725done
    19402726if $ac_cache_corrupted; then
    1941   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2727  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    19422728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1943   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2729  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    19442730$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1945   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1946 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1947    { (exit 1); exit 1; }; }
    1948 fi
    1949 
    1950 
    1951 
    1952 
    1953 
    1954 
    1955 
    1956 
    1957 
    1958 
    1959 
    1960 
    1961 
    1962 
    1963 
    1964 
    1965 
    1966 
    1967 
    1968 
    1969 
    1970 
    1971 
    1972 
     2731  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2732fi
     2733## -------------------- ##
     2734## Main body of script. ##
     2735## -------------------- ##
    19732736
    19742737ac_ext=c
     
    19962759done
    19972760if test -z "$ac_aux_dir"; then
    1998   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1999 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    2000    { (exit 1); exit 1; }; }
     2761  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    20012762fi
    20022763
     
    20262787
    20272788# Check whether --with-install was given.
    2028 if test "${with_install+set}" = set; then
     2789if test "${with_install+set}" = set; then :
    20292790  withval=$with_install;
    20302791else
     
    20612822# ./install, which can be erroneously created by make from ./install.sh.
    20622823# Reject install programs that cannot install multiple files.
    2063 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    20642825$as_echo_n "checking for a BSD-compatible install... " >&6; }
    20652826if test -z "$INSTALL"; then
    2066 if test "${ac_cv_path_install+set}" = set; then
     2827if ${ac_cv_path_install+:} false; then :
    20672828  $as_echo_n "(cached) " >&6
    20682829else
     
    20722833  IFS=$as_save_IFS
    20732834  test -z "$as_dir" && as_dir=.
    2074   # Account for people who put trailing slashes in PATH elements.
    2075 case $as_dir/ in
    2076   ./ | .// | /cC/* | \
     2835    # Account for people who put trailing slashes in PATH elements.
     2836case $as_dir/ in #((
     2837  ./ | .// | /[cC]/* | \
    20772838  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2078   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2839  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    20792840  /usr/ucb/* ) ;;
    20802841  *)
     
    20842845    for ac_prog in ginstall scoinst install; do
    20852846      for ac_exec_ext in '' $ac_executable_extensions; do
    2086         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     2847        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    20872848          if test $ac_prog = install &&
    20882849            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    21132874esac
    21142875
    2115 done
     2876  done
    21162877IFS=$as_save_IFS
    21172878
     
    21292890  fi
    21302891fi
    2131 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     2892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    21322893$as_echo "$INSTALL" >&6; }
    21332894
     
    21402901test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    21412902
    2142 # Find a good install program.  We prefer a C program (faster),
    2143 # so one script is as good as another.  But avoid the broken or
    2144 # incompatible versions:
    2145 # SysV /etc/install, /usr/sbin/install
    2146 # SunOS /usr/etc/install
    2147 # IRIX /sbin/install
    2148 # AIX /bin/install
    2149 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    2152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2153 # OS/2's system install, which has a completely different semantic
    2154 # ./install, which can be erroneously created by make from ./install.sh.
    2155 # Reject install programs that cannot install multiple files.
    2156 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2157 $as_echo_n "checking for a BSD-compatible install... " >&6; }
    2158 if test -z "$INSTALL"; then
    2159 if test "${ac_cv_path_install+set}" = set; then
    2160   $as_echo_n "(cached) " >&6
    2161 else
    2162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2163 for as_dir in $PATH
    2164 do
    2165   IFS=$as_save_IFS
    2166   test -z "$as_dir" && as_dir=.
    2167   # Account for people who put trailing slashes in PATH elements.
    2168 case $as_dir/ in
    2169   ./ | .// | /cC/* | \
    2170   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2171   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2172   /usr/ucb/* ) ;;
    2173   *)
    2174     # OSF1 and SCO ODT 3.0 have their own names for install.
    2175     # Don't use installbsd from OSF since it installs stuff as root
    2176     # by default.
    2177     for ac_prog in ginstall scoinst install; do
    2178       for ac_exec_ext in '' $ac_executable_extensions; do
    2179         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2180           if test $ac_prog = install &&
    2181             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2182             # AIX install.  It has an incompatible calling convention.
    2183             :
    2184           elif test $ac_prog = install &&
    2185             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2186             # program-specific install script used by HP pwplus--don't use.
    2187             :
    2188           else
    2189             rm -rf conftest.one conftest.two conftest.dir
    2190             echo one > conftest.one
    2191             echo two > conftest.two
    2192             mkdir conftest.dir
    2193             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    2194               test -s conftest.one && test -s conftest.two &&
    2195               test -s conftest.dir/conftest.one &&
    2196               test -s conftest.dir/conftest.two
    2197             then
    2198               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2199               break 3
    2200             fi
    2201           fi
    2202         fi
    2203       done
    2204     done
    2205     ;;
    2206 esac
    2207 
    2208 done
    2209 IFS=$as_save_IFS
    2210 
    2211 rm -rf conftest.one conftest.two conftest.dir
    2212 
    2213 fi
    2214   if test "${ac_cv_path_install+set}" = set; then
    2215     INSTALL=$ac_cv_path_install
    2216   else
    2217     # As a last resort, use the slow shell script.  Don't cache a
    2218     # value for INSTALL within a source directory, because that will
    2219     # break other packages using the cache if that directory is
    2220     # removed, or if the value is a relative name.
    2221     INSTALL=$ac_install_sh
    2222   fi
    2223 fi
    2224 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    2225 $as_echo "$INSTALL" >&6; }
    2226 
    2227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2228 # It thinks the first close brace ends the variable substitution.
    2229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2230 
    2231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2232 
    2233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    22342903
    22352904if test -n "$ac_tool_prefix"; then
    22362905  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    22372906set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22392908$as_echo_n "checking for $ac_word... " >&6; }
    2240 if test "${ac_cv_prog_RANLIB+set}" = set; then
     2909if ${ac_cv_prog_RANLIB+:} false; then :
    22412910  $as_echo_n "(cached) " >&6
    22422911else
     
    22492918  IFS=$as_save_IFS
    22502919  test -z "$as_dir" && as_dir=.
    2251   for ac_exec_ext in '' $ac_executable_extensions; do
    2252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2920    for ac_exec_ext in '' $ac_executable_extensions; do
     2921  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22532922    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2254     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22552924    break 2
    22562925  fi
    22572926done
    2258 done
     2927  done
    22592928IFS=$as_save_IFS
    22602929
     
    22632932RANLIB=$ac_cv_prog_RANLIB
    22642933if test -n "$RANLIB"; then
    2265   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     2934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    22662935$as_echo "$RANLIB" >&6; }
    22672936else
    2268   { $as_echo "$as_me:$LINENO: result: no" >&5
     2937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22692938$as_echo "no" >&6; }
    22702939fi
     
    22762945  # Extract the first word of "ranlib", so it can be a program name with args.
    22772946set dummy ranlib; ac_word=$2
    2278 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22792948$as_echo_n "checking for $ac_word... " >&6; }
    2280 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2949if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    22812950  $as_echo_n "(cached) " >&6
    22822951else
     
    22892958  IFS=$as_save_IFS
    22902959  test -z "$as_dir" && as_dir=.
    2291   for ac_exec_ext in '' $ac_executable_extensions; do
    2292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2960    for ac_exec_ext in '' $ac_executable_extensions; do
     2961  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22932962    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2294     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2963    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22952964    break 2
    22962965  fi
    22972966done
    2298 done
     2967  done
    22992968IFS=$as_save_IFS
    23002969
     
    23032972ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    23042973if test -n "$ac_ct_RANLIB"; then
    2305   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    23062975$as_echo "$ac_ct_RANLIB" >&6; }
    23072976else
    2308   { $as_echo "$as_me:$LINENO: result: no" >&5
     2977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    23092978$as_echo "no" >&6; }
    23102979fi
     
    23152984    case $cross_compiling:$ac_tool_warned in
    23162985yes:)
    2317 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2986{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    23182987$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23192988ac_tool_warned=yes ;;
     
    23252994fi
    23262995
    2327 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    23282997$as_echo_n "checking whether ln -s works... " >&6; }
    23292998LN_S=$as_ln_s
    23302999if test "$LN_S" = "ln -s"; then
    2331   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    23323001$as_echo "yes" >&6; }
    23333002else
    2334   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    23353004$as_echo "no, using $LN_S" >&6; }
    23363005fi
    23373006
    2338 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     3007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    23393008$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    23403009if test -z "$MKDIR_P"; then
    2341   if test "${ac_cv_path_mkdir+set}" = set; then
     3010  if ${ac_cv_path_mkdir+:} false; then :
    23423011  $as_echo_n "(cached) " >&6
    23433012else
     
    23473016  IFS=$as_save_IFS
    23483017  test -z "$as_dir" && as_dir=.
    2349   for ac_prog in mkdir gmkdir; do
     3018    for ac_prog in mkdir gmkdir; do
    23503019         for ac_exec_ext in '' $ac_executable_extensions; do
    2351            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     3020           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    23523021           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    23533022             'mkdir (GNU coreutils) '* | \
     
    23593028         done
    23603029       done
    2361 done
     3030  done
    23623031IFS=$as_save_IFS
    23633032
    23643033fi
    23653034
     3035  test -d ./--version && rmdir ./--version
    23663036  if test "${ac_cv_path_mkdir+set}" = set; then
    23673037    MKDIR_P="$ac_cv_path_mkdir -p"
     
    23713041    # break other packages using the cache if that directory is
    23723042    # removed, or if the value is a relative name.
    2373     test -d ./--version && rmdir ./--version
    23743043    MKDIR_P="$ac_install_sh -d"
    23753044  fi
    23763045fi
    2377 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    23783047$as_echo "$MKDIR_P" >&6; }
    23793048
    2380 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    23813050$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    23823051set x ${MAKE-make}
    23833052ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2384 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
     3053if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
    23853054  $as_echo_n "(cached) " >&6
    23863055else
     
    23903059        @echo '@@@%%%=$(MAKE)=@@@%%%'
    23913060_ACEOF
    2392 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3061# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    23933062case `${MAKE-make} -f conftest.make 2>/dev/null` in
    23943063  *@@@%%%=?*=@@@%%%*)
     
    24003069fi
    24013070if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2402   { $as_echo "$as_me:$LINENO: result: yes" >&5
     3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    24033072$as_echo "yes" >&6; }
    24043073  SET_MAKE=
    24053074else
    2406   { $as_echo "$as_me:$LINENO: result: no" >&5
     3075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24073076$as_echo "no" >&6; }
    24083077  SET_MAKE="MAKE=${MAKE-make}"
     
    24193088  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    24203089set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24223091$as_echo_n "checking for $ac_word... " >&6; }
    2423 if test "${ac_cv_prog_CC+set}" = set; then
     3092if ${ac_cv_prog_CC+:} false; then :
    24243093  $as_echo_n "(cached) " >&6
    24253094else
     
    24323101  IFS=$as_save_IFS
    24333102  test -z "$as_dir" && as_dir=.
    2434   for ac_exec_ext in '' $ac_executable_extensions; do
    2435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3103    for ac_exec_ext in '' $ac_executable_extensions; do
     3104  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24363105    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2437     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24383107    break 2
    24393108  fi
    24403109done
    2441 done
     3110  done
    24423111IFS=$as_save_IFS
    24433112
     
    24463115CC=$ac_cv_prog_CC
    24473116if test -n "$CC"; then
    2448   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    24493118$as_echo "$CC" >&6; }
    24503119else
    2451   { $as_echo "$as_me:$LINENO: result: no" >&5
     3120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24523121$as_echo "no" >&6; }
    24533122fi
     
    24593128  # Extract the first word of "gcc", so it can be a program name with args.
    24603129set dummy gcc; ac_word=$2
    2461 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    24623131$as_echo_n "checking for $ac_word... " >&6; }
    2463 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3132if ${ac_cv_prog_ac_ct_CC+:} false; then :
    24643133  $as_echo_n "(cached) " >&6
    24653134else
     
    24723141  IFS=$as_save_IFS
    24733142  test -z "$as_dir" && as_dir=.
    2474   for ac_exec_ext in '' $ac_executable_extensions; do
    2475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3143    for ac_exec_ext in '' $ac_executable_extensions; do
     3144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    24763145    ac_cv_prog_ac_ct_CC="gcc"
    2477     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24783147    break 2
    24793148  fi
    24803149done
    2481 done
     3150  done
    24823151IFS=$as_save_IFS
    24833152
     
    24863155ac_ct_CC=$ac_cv_prog_ac_ct_CC
    24873156if test -n "$ac_ct_CC"; then
    2488   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3157  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    24893158$as_echo "$ac_ct_CC" >&6; }
    24903159else
    2491   { $as_echo "$as_me:$LINENO: result: no" >&5
     3160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    24923161$as_echo "no" >&6; }
    24933162fi
     
    24983167    case $cross_compiling:$ac_tool_warned in
    24993168yes:)
    2500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3169{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    25013170$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    25023171ac_tool_warned=yes ;;
     
    25123181    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    25133182set dummy ${ac_tool_prefix}cc; ac_word=$2
    2514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25153184$as_echo_n "checking for $ac_word... " >&6; }
    2516 if test "${ac_cv_prog_CC+set}" = set; then
     3185if ${ac_cv_prog_CC+:} false; then :
    25173186  $as_echo_n "(cached) " >&6
    25183187else
     
    25253194  IFS=$as_save_IFS
    25263195  test -z "$as_dir" && as_dir=.
    2527   for ac_exec_ext in '' $ac_executable_extensions; do
    2528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3196    for ac_exec_ext in '' $ac_executable_extensions; do
     3197  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25293198    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2530     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3199    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25313200    break 2
    25323201  fi
    25333202done
    2534 done
     3203  done
    25353204IFS=$as_save_IFS
    25363205
     
    25393208CC=$ac_cv_prog_CC
    25403209if test -n "$CC"; then
    2541   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25423211$as_echo "$CC" >&6; }
    25433212else
    2544   { $as_echo "$as_me:$LINENO: result: no" >&5
     3213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    25453214$as_echo "no" >&6; }
    25463215fi
     
    25523221  # Extract the first word of "cc", so it can be a program name with args.
    25533222set dummy cc; ac_word=$2
    2554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    25553224$as_echo_n "checking for $ac_word... " >&6; }
    2556 if test "${ac_cv_prog_CC+set}" = set; then
     3225if ${ac_cv_prog_CC+:} false; then :
    25573226  $as_echo_n "(cached) " >&6
    25583227else
     
    25663235  IFS=$as_save_IFS
    25673236  test -z "$as_dir" && as_dir=.
    2568   for ac_exec_ext in '' $ac_executable_extensions; do
    2569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3237    for ac_exec_ext in '' $ac_executable_extensions; do
     3238  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    25703239    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    25713240       ac_prog_rejected=yes
     
    25733242     fi
    25743243    ac_cv_prog_CC="cc"
    2575     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25763245    break 2
    25773246  fi
    25783247done
    2579 done
     3248  done
    25803249IFS=$as_save_IFS
    25813250
     
    25963265CC=$ac_cv_prog_CC
    25973266if test -n "$CC"; then
    2598   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    25993268$as_echo "$CC" >&6; }
    26003269else
    2601   { $as_echo "$as_me:$LINENO: result: no" >&5
     3270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26023271$as_echo "no" >&6; }
    26033272fi
     
    26113280    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    26123281set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26143283$as_echo_n "checking for $ac_word... " >&6; }
    2615 if test "${ac_cv_prog_CC+set}" = set; then
     3284if ${ac_cv_prog_CC+:} false; then :
    26163285  $as_echo_n "(cached) " >&6
    26173286else
     
    26243293  IFS=$as_save_IFS
    26253294  test -z "$as_dir" && as_dir=.
    2626   for ac_exec_ext in '' $ac_executable_extensions; do
    2627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3295    for ac_exec_ext in '' $ac_executable_extensions; do
     3296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26283297    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2629     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26303299    break 2
    26313300  fi
    26323301done
    2633 done
     3302  done
    26343303IFS=$as_save_IFS
    26353304
     
    26383307CC=$ac_cv_prog_CC
    26393308if test -n "$CC"; then
    2640   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     3309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    26413310$as_echo "$CC" >&6; }
    26423311else
    2643   { $as_echo "$as_me:$LINENO: result: no" >&5
     3312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26443313$as_echo "no" >&6; }
    26453314fi
     
    26553324  # Extract the first word of "$ac_prog", so it can be a program name with args.
    26563325set dummy $ac_prog; ac_word=$2
    2657 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26583327$as_echo_n "checking for $ac_word... " >&6; }
    2659 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     3328if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26603329  $as_echo_n "(cached) " >&6
    26613330else
     
    26683337  IFS=$as_save_IFS
    26693338  test -z "$as_dir" && as_dir=.
    2670   for ac_exec_ext in '' $ac_executable_extensions; do
    2671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3339    for ac_exec_ext in '' $ac_executable_extensions; do
     3340  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    26723341    ac_cv_prog_ac_ct_CC="$ac_prog"
    2673     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26743343    break 2
    26753344  fi
    26763345done
    2677 done
     3346  done
    26783347IFS=$as_save_IFS
    26793348
     
    26823351ac_ct_CC=$ac_cv_prog_ac_ct_CC
    26833352if test -n "$ac_ct_CC"; then
    2684   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     3353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    26853354$as_echo "$ac_ct_CC" >&6; }
    26863355else
    2687   { $as_echo "$as_me:$LINENO: result: no" >&5
     3356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    26883357$as_echo "no" >&6; }
    26893358fi
     
    26983367    case $cross_compiling:$ac_tool_warned in
    26993368yes:)
    2700 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3369{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    27013370$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    27023371ac_tool_warned=yes ;;
     
    27093378
    27103379
    2711 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3380test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    27123381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2713 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2714 See \`config.log' for more details." >&5
    2715 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2716 See \`config.log' for more details." >&2;}
    2717    { (exit 1); exit 1; }; }; }
     3382as_fn_error $? "no acceptable C compiler found in \$PATH
     3383See \`config.log' for more details" "$LINENO" 5; }
    27183384
    27193385# Provide some information about the compiler.
    2720 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3386$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27213387set X $ac_compile
    27223388ac_compiler=$2
    2723 { (ac_try="$ac_compiler --version >&5"
     3389for ac_option in --version -v -V -qversion; do
     3390  { { ac_try="$ac_compiler $ac_option >&5"
    27243391case "(($ac_try" in
    27253392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27263393  *) ac_try_echo=$ac_try;;
    27273394esac
    2728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2729 $as_echo "$ac_try_echo") >&5
    2730   (eval "$ac_compiler --version >&5") 2>&5
     3395eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3396$as_echo "$ac_try_echo"; } >&5
     3397  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    27313398  ac_status=$?
    2732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2733   (exit $ac_status); }
    2734 { (ac_try="$ac_compiler -v >&5"
    2735 case "(($ac_try" in
    2736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2737   *) ac_try_echo=$ac_try;;
    2738 esac
    2739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2740 $as_echo "$ac_try_echo") >&5
    2741   (eval "$ac_compiler -v >&5") 2>&5
    2742   ac_status=$?
    2743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2744   (exit $ac_status); }
    2745 { (ac_try="$ac_compiler -V >&5"
    2746 case "(($ac_try" in
    2747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2748   *) ac_try_echo=$ac_try;;
    2749 esac
    2750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2751 $as_echo "$ac_try_echo") >&5
    2752   (eval "$ac_compiler -V >&5") 2>&5
    2753   ac_status=$?
    2754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2755   (exit $ac_status); }
    2756 
    2757 cat >conftest.$ac_ext <<_ACEOF
    2758 /* confdefs.h.  */
    2759 _ACEOF
    2760 cat confdefs.h >>conftest.$ac_ext
    2761 cat >>conftest.$ac_ext <<_ACEOF
     3399  if test -s conftest.err; then
     3400    sed '10a\
     3401... rest of stderr output deleted ...
     3402         10q' conftest.err >conftest.er1
     3403    cat conftest.er1 >&5
     3404  fi
     3405  rm -f conftest.er1 conftest.err
     3406  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3407  test $ac_status = 0; }
     3408done
     3409
     3410cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27623411/* end confdefs.h.  */
    27633412
     
    27753424# It will help us diagnose broken compilers, and finding out an intuition
    27763425# of exeext.
    2777 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2778 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3427$as_echo_n "checking whether the C compiler works... " >&6; }
    27793428ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27803429
     
    27923441rm -f $ac_rmfiles
    27933442
    2794 if { (ac_try="$ac_link_default"
     3443if { { ac_try="$ac_link_default"
    27953444case "(($ac_try" in
    27963445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27973446  *) ac_try_echo=$ac_try;;
    27983447esac
    2799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2800 $as_echo "$ac_try_echo") >&5
     3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3449$as_echo "$ac_try_echo"; } >&5
    28013450  (eval "$ac_link_default") 2>&5
    28023451  ac_status=$?
    2803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2804   (exit $ac_status); }; then
     3452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3453  test $ac_status = 0; }; then :
    28053454  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    28063455# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    28193468        break;;
    28203469    *.* )
    2821         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3470        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    28223471        then :; else
    28233472           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    28383487  ac_file=''
    28393488fi
    2840 
    2841 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3489if test -z "$ac_file"; then :
     3490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3491$as_echo "no" >&6; }
     3492$as_echo "$as_me: failed program was:" >&5
     3493sed 's/^/| /' conftest.$ac_ext >&5
     3494
     3495{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3496$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3497as_fn_error 77 "C compiler cannot create executables
     3498See \`config.log' for more details" "$LINENO" 5; }
     3499else
     3500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3501$as_echo "yes" >&6; }
     3502fi
     3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3504$as_echo_n "checking for C compiler default output file name... " >&6; }
     3505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28423506$as_echo "$ac_file" >&6; }
    2843 if test -z "$ac_file"; then
    2844   $as_echo "$as_me: failed program was:" >&5
    2845 sed 's/^/| /' conftest.$ac_ext >&5
    2846 
    2847 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2849 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2850 See \`config.log' for more details." >&5
    2851 $as_echo "$as_me: error: C compiler cannot create executables
    2852 See \`config.log' for more details." >&2;}
    2853    { (exit 77); exit 77; }; }; }
    2854 fi
    2855 
    28563507ac_exeext=$ac_cv_exeext
    2857 
    2858 # Check that the compiler produces executables we can run.  If not, either
    2859 # the compiler is broken, or we cross compile.
    2860 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2861 $as_echo_n "checking whether the C compiler works... " >&6; }
    2862 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2863 # If not cross compiling, check that we can run a simple program.
    2864 if test "$cross_compiling" != yes; then
    2865   if { ac_try='./$ac_file'
    2866   { (case "(($ac_try" in
    2867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2868   *) ac_try_echo=$ac_try;;
    2869 esac
    2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2871 $as_echo "$ac_try_echo") >&5
    2872   (eval "$ac_try") 2>&5
    2873   ac_status=$?
    2874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2875   (exit $ac_status); }; }; then
    2876     cross_compiling=no
    2877   else
    2878     if test "$cross_compiling" = maybe; then
    2879         cross_compiling=yes
    2880     else
    2881         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2883 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2884 If you meant to cross compile, use \`--host'.
    2885 See \`config.log' for more details." >&5
    2886 $as_echo "$as_me: error: cannot run C compiled programs.
    2887 If you meant to cross compile, use \`--host'.
    2888 See \`config.log' for more details." >&2;}
    2889    { (exit 1); exit 1; }; }; }
    2890     fi
    2891   fi
    2892 fi
    2893 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2894 $as_echo "yes" >&6; }
    28953508
    28963509rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    28973510ac_clean_files=$ac_clean_files_save
    2898 # Check that the compiler produces executables we can run.  If not, either
    2899 # the compiler is broken, or we cross compile.
    2900 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2901 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2902 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2903 $as_echo "$cross_compiling" >&6; }
    2904 
    2905 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    29063512$as_echo_n "checking for suffix of executables... " >&6; }
    2907 if { (ac_try="$ac_link"
     3513if { { ac_try="$ac_link"
    29083514case "(($ac_try" in
    29093515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29103516  *) ac_try_echo=$ac_try;;
    29113517esac
    2912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2913 $as_echo "$ac_try_echo") >&5
     3518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3519$as_echo "$ac_try_echo"; } >&5
    29143520  (eval "$ac_link") 2>&5
    29153521  ac_status=$?
    2916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2917   (exit $ac_status); }; then
     3522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3523  test $ac_status = 0; }; then :
    29183524  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    29193525# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    29303536done
    29313537else
    2932   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3538  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29333539$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2934 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2935 See \`config.log' for more details." >&5
    2936 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2937 See \`config.log' for more details." >&2;}
    2938    { (exit 1); exit 1; }; }; }
    2939 fi
    2940 
    2941 rm -f conftest$ac_cv_exeext
    2942 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3540as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3541See \`config.log' for more details" "$LINENO" 5; }
     3542fi
     3543rm -f conftest conftest$ac_cv_exeext
     3544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    29433545$as_echo "$ac_cv_exeext" >&6; }
    29443546
     
    29463548EXEEXT=$ac_cv_exeext
    29473549ac_exeext=$EXEEXT
    2948 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2949 $as_echo_n "checking for suffix of object files... " >&6; }
    2950 if test "${ac_cv_objext+set}" = set; then
    2951   $as_echo_n "(cached) " >&6
    2952 else
    2953   cat >conftest.$ac_ext <<_ACEOF
    2954 /* confdefs.h.  */
    2955 _ACEOF
    2956 cat confdefs.h >>conftest.$ac_ext
    2957 cat >>conftest.$ac_ext <<_ACEOF
     3550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29583551/* end confdefs.h.  */
    2959 
     3552#include <stdio.h>
    29603553int
    29613554main ()
    29623555{
     3556FILE *f = fopen ("conftest.out", "w");
     3557 return ferror (f) || fclose (f) != 0;
    29633558
    29643559  ;
     
    29663561}
    29673562_ACEOF
    2968 rm -f conftest.o conftest.obj
    2969 if { (ac_try="$ac_compile"
     3563ac_clean_files="$ac_clean_files conftest.out"
     3564# Check that the compiler produces executables we can run.  If not, either
     3565# the compiler is broken, or we cross compile.
     3566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3567$as_echo_n "checking whether we are cross compiling... " >&6; }
     3568if test "$cross_compiling" != yes; then
     3569  { { ac_try="$ac_link"
    29703570case "(($ac_try" in
    29713571  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29723572  *) ac_try_echo=$ac_try;;
    29733573esac
    2974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2975 $as_echo "$ac_try_echo") >&5
     3574eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3575$as_echo "$ac_try_echo"; } >&5
     3576  (eval "$ac_link") 2>&5
     3577  ac_status=$?
     3578  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3579  test $ac_status = 0; }
     3580  if { ac_try='./conftest$ac_cv_exeext'
     3581  { { case "(($ac_try" in
     3582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3583  *) ac_try_echo=$ac_try;;
     3584esac
     3585eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3586$as_echo "$ac_try_echo"; } >&5
     3587  (eval "$ac_try") 2>&5
     3588  ac_status=$?
     3589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3590  test $ac_status = 0; }; }; then
     3591    cross_compiling=no
     3592  else
     3593    if test "$cross_compiling" = maybe; then
     3594        cross_compiling=yes
     3595    else
     3596        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3598as_fn_error $? "cannot run C compiled programs.
     3599If you meant to cross compile, use \`--host'.
     3600See \`config.log' for more details" "$LINENO" 5; }
     3601    fi
     3602  fi
     3603fi
     3604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3605$as_echo "$cross_compiling" >&6; }
     3606
     3607rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3608ac_clean_files=$ac_clean_files_save
     3609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3610$as_echo_n "checking for suffix of object files... " >&6; }
     3611if ${ac_cv_objext+:} false; then :
     3612  $as_echo_n "(cached) " >&6
     3613else
     3614  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3615/* end confdefs.h.  */
     3616
     3617int
     3618main ()
     3619{
     3620
     3621  ;
     3622  return 0;
     3623}
     3624_ACEOF
     3625rm -f conftest.o conftest.obj
     3626if { { ac_try="$ac_compile"
     3627case "(($ac_try" in
     3628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3629  *) ac_try_echo=$ac_try;;
     3630esac
     3631eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3632$as_echo "$ac_try_echo"; } >&5
    29763633  (eval "$ac_compile") 2>&5
    29773634  ac_status=$?
    2978   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2979   (exit $ac_status); }; then
     3635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3636  test $ac_status = 0; }; then :
    29803637  for ac_file in conftest.o conftest.obj conftest.*; do
    29813638  test -f "$ac_file" || continue;
     
    29903647sed 's/^/| /' conftest.$ac_ext >&5
    29913648
    2992 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3649{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29933650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2994 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2995 See \`config.log' for more details." >&5
    2996 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2997 See \`config.log' for more details." >&2;}
    2998    { (exit 1); exit 1; }; }; }
    2999 fi
    3000 
     3651as_fn_error $? "cannot compute suffix of object files: cannot compile
     3652See \`config.log' for more details" "$LINENO" 5; }
     3653fi
    30013654rm -f conftest.$ac_cv_objext conftest.$ac_ext
    30023655fi
    3003 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    30043657$as_echo "$ac_cv_objext" >&6; }
    30053658OBJEXT=$ac_cv_objext
    30063659ac_objext=$OBJEXT
    3007 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    30083661$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3009 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3662if ${ac_cv_c_compiler_gnu+:} false; then :
    30103663  $as_echo_n "(cached) " >&6
    30113664else
    3012   cat >conftest.$ac_ext <<_ACEOF
    3013 /* confdefs.h.  */
    3014 _ACEOF
    3015 cat confdefs.h >>conftest.$ac_ext
    3016 cat >>conftest.$ac_ext <<_ACEOF
     3665  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30173666/* end confdefs.h.  */
    30183667
     
    30283677}
    30293678_ACEOF
    3030 rm -f conftest.$ac_objext
    3031 if { (ac_try="$ac_compile"
    3032 case "(($ac_try" in
    3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3034   *) ac_try_echo=$ac_try;;
    3035 esac
    3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3037 $as_echo "$ac_try_echo") >&5
    3038   (eval "$ac_compile") 2>conftest.er1
    3039   ac_status=$?
    3040   grep -v '^ *+' conftest.er1 >conftest.err
    3041   rm -f conftest.er1
    3042   cat conftest.err >&5
    3043   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3044   (exit $ac_status); } && {
    3045          test -z "$ac_c_werror_flag" ||
    3046          test ! -s conftest.err
    3047        } && test -s conftest.$ac_objext; then
     3679if ac_fn_c_try_compile "$LINENO"; then :
    30483680  ac_compiler_gnu=yes
    30493681else
    3050   $as_echo "$as_me: failed program was:" >&5
    3051 sed 's/^/| /' conftest.$ac_ext >&5
    3052 
    3053         ac_compiler_gnu=no
    3054 fi
    3055 
     3682  ac_compiler_gnu=no
     3683fi
    30563684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30573685ac_cv_c_compiler_gnu=$ac_compiler_gnu
    30583686
    30593687fi
    3060 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    30613689$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    30623690if test $ac_compiler_gnu = yes; then
     
    30673695ac_test_CFLAGS=${CFLAGS+set}
    30683696ac_save_CFLAGS=$CFLAGS
    3069 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    30703698$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3071 if test "${ac_cv_prog_cc_g+set}" = set; then
     3699if ${ac_cv_prog_cc_g+:} false; then :
    30723700  $as_echo_n "(cached) " >&6
    30733701else
     
    30763704   ac_cv_prog_cc_g=no
    30773705   CFLAGS="-g"
    3078    cat >conftest.$ac_ext <<_ACEOF
    3079 /* confdefs.h.  */
    3080 _ACEOF
    3081 cat confdefs.h >>conftest.$ac_ext
    3082 cat >>conftest.$ac_ext <<_ACEOF
     3706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30833707/* end confdefs.h.  */
    30843708
     
    30913715}
    30923716_ACEOF
    3093 rm -f conftest.$ac_objext
    3094 if { (ac_try="$ac_compile"
    3095 case "(($ac_try" in
    3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3097   *) ac_try_echo=$ac_try;;
    3098 esac
    3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3100 $as_echo "$ac_try_echo") >&5
    3101   (eval "$ac_compile") 2>conftest.er1
    3102   ac_status=$?
    3103   grep -v '^ *+' conftest.er1 >conftest.err
    3104   rm -f conftest.er1
    3105   cat conftest.err >&5
    3106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3107   (exit $ac_status); } && {
    3108          test -z "$ac_c_werror_flag" ||
    3109          test ! -s conftest.err
    3110        } && test -s conftest.$ac_objext; then
     3717if ac_fn_c_try_compile "$LINENO"; then :
    31113718  ac_cv_prog_cc_g=yes
    31123719else
    3113   $as_echo "$as_me: failed program was:" >&5
    3114 sed 's/^/| /' conftest.$ac_ext >&5
    3115 
    3116         CFLAGS=""
    3117       cat >conftest.$ac_ext <<_ACEOF
    3118 /* confdefs.h.  */
    3119 _ACEOF
    3120 cat confdefs.h >>conftest.$ac_ext
    3121 cat >>conftest.$ac_ext <<_ACEOF
     3720  CFLAGS=""
     3721      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31223722/* end confdefs.h.  */
    31233723
     
    31303730}
    31313731_ACEOF
    3132 rm -f conftest.$ac_objext
    3133 if { (ac_try="$ac_compile"
    3134 case "(($ac_try" in
    3135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3136   *) ac_try_echo=$ac_try;;
    3137 esac
    3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3139 $as_echo "$ac_try_echo") >&5
    3140   (eval "$ac_compile") 2>conftest.er1
    3141   ac_status=$?
    3142   grep -v '^ *+' conftest.er1 >conftest.err
    3143   rm -f conftest.er1
    3144   cat conftest.err >&5
    3145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3146   (exit $ac_status); } && {
    3147          test -z "$ac_c_werror_flag" ||
    3148          test ! -s conftest.err
    3149        } && test -s conftest.$ac_objext; then
    3150   :
    3151 else
    3152   $as_echo "$as_me: failed program was:" >&5
    3153 sed 's/^/| /' conftest.$ac_ext >&5
    3154 
    3155         ac_c_werror_flag=$ac_save_c_werror_flag
     3732if ac_fn_c_try_compile "$LINENO"; then :
     3733
     3734else
     3735  ac_c_werror_flag=$ac_save_c_werror_flag
    31563736         CFLAGS="-g"
    3157          cat >conftest.$ac_ext <<_ACEOF
    3158 /* confdefs.h.  */
    3159 _ACEOF
    3160 cat confdefs.h >>conftest.$ac_ext
    3161 cat >>conftest.$ac_ext <<_ACEOF
     3737         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31623738/* end confdefs.h.  */
    31633739
     
    31703746}
    31713747_ACEOF
    3172 rm -f conftest.$ac_objext
    3173 if { (ac_try="$ac_compile"
    3174 case "(($ac_try" in
    3175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3176   *) ac_try_echo=$ac_try;;
    3177 esac
    3178 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3179 $as_echo "$ac_try_echo") >&5
    3180   (eval "$ac_compile") 2>conftest.er1
    3181   ac_status=$?
    3182   grep -v '^ *+' conftest.er1 >conftest.err
    3183   rm -f conftest.er1
    3184   cat conftest.err >&5
    3185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3186   (exit $ac_status); } && {
    3187          test -z "$ac_c_werror_flag" ||
    3188          test ! -s conftest.err
    3189        } && test -s conftest.$ac_objext; then
     3748if ac_fn_c_try_compile "$LINENO"; then :
    31903749  ac_cv_prog_cc_g=yes
    3191 else
    3192   $as_echo "$as_me: failed program was:" >&5
    3193 sed 's/^/| /' conftest.$ac_ext >&5
    3194 
    3195 
    3196 fi
    3197 
     3750fi
    31983751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31993752fi
    3200 
    32013753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32023754fi
    3203 
    32043755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32053756   ac_c_werror_flag=$ac_save_c_werror_flag
    32063757fi
    3207 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    32083759$as_echo "$ac_cv_prog_cc_g" >&6; }
    32093760if test "$ac_test_CFLAGS" = set; then
     
    32223773  fi
    32233774fi
    3224 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    32253776$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3226 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3777if ${ac_cv_prog_cc_c89+:} false; then :
    32273778  $as_echo_n "(cached) " >&6
    32283779else
    32293780  ac_cv_prog_cc_c89=no
    32303781ac_save_CC=$CC
    3231 cat >conftest.$ac_ext <<_ACEOF
    3232 /* confdefs.h.  */
    3233 _ACEOF
    3234 cat confdefs.h >>conftest.$ac_ext
    3235 cat >>conftest.$ac_ext <<_ACEOF
     3782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32363783/* end confdefs.h.  */
    32373784#include <stdarg.h>
    32383785#include <stdio.h>
    3239 #include <sys/types.h>
    3240 #include <sys/stat.h>
     3786struct stat;
    32413787/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    32423788struct buf { int x; };
     
    32903836do
    32913837  CC="$ac_save_CC $ac_arg"
    3292   rm -f conftest.$ac_objext
    3293 if { (ac_try="$ac_compile"
    3294 case "(($ac_try" in
    3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3296   *) ac_try_echo=$ac_try;;
    3297 esac
    3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3299 $as_echo "$ac_try_echo") >&5
    3300   (eval "$ac_compile") 2>conftest.er1
    3301   ac_status=$?
    3302   grep -v '^ *+' conftest.er1 >conftest.err
    3303   rm -f conftest.er1
    3304   cat conftest.err >&5
    3305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3306   (exit $ac_status); } && {
    3307          test -z "$ac_c_werror_flag" ||
    3308          test ! -s conftest.err
    3309        } && test -s conftest.$ac_objext; then
     3838  if ac_fn_c_try_compile "$LINENO"; then :
    33103839  ac_cv_prog_cc_c89=$ac_arg
    3311 else
    3312   $as_echo "$as_me: failed program was:" >&5
    3313 sed 's/^/| /' conftest.$ac_ext >&5
    3314 
    3315 
    3316 fi
    3317 
     3840fi
    33183841rm -f core conftest.err conftest.$ac_objext
    33193842  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    33263849case "x$ac_cv_prog_cc_c89" in
    33273850  x)
    3328     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3851    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    33293852$as_echo "none needed" >&6; } ;;
    33303853  xno)
    3331     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    33323855$as_echo "unsupported" >&6; } ;;
    33333856  *)
    33343857    CC="$CC $ac_cv_prog_cc_c89"
    3335     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3858    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    33363859$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    33373860esac
    3338 
     3861if test "x$ac_cv_prog_cc_c89" != xno; then :
     3862
     3863fi
    33393864
    33403865ac_ext=c
     
    33583883    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    33593884set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3360 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33613886$as_echo_n "checking for $ac_word... " >&6; }
    3362 if test "${ac_cv_prog_CXX+set}" = set; then
     3887if ${ac_cv_prog_CXX+:} false; then :
    33633888  $as_echo_n "(cached) " >&6
    33643889else
     
    33713896  IFS=$as_save_IFS
    33723897  test -z "$as_dir" && as_dir=.
    3373   for ac_exec_ext in '' $ac_executable_extensions; do
    3374   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3898    for ac_exec_ext in '' $ac_executable_extensions; do
     3899  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    33753900    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3376     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3901    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33773902    break 2
    33783903  fi
    33793904done
    3380 done
     3905  done
    33813906IFS=$as_save_IFS
    33823907
     
    33853910CXX=$ac_cv_prog_CXX
    33863911if test -n "$CXX"; then
    3387   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     3912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    33883913$as_echo "$CXX" >&6; }
    33893914else
    3390   { $as_echo "$as_me:$LINENO: result: no" >&5
     3915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    33913916$as_echo "no" >&6; }
    33923917fi
     
    34023927  # Extract the first word of "$ac_prog", so it can be a program name with args.
    34033928set dummy $ac_prog; ac_word=$2
    3404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    34053930$as_echo_n "checking for $ac_word... " >&6; }
    3406 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     3931if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    34073932  $as_echo_n "(cached) " >&6
    34083933else
     
    34153940  IFS=$as_save_IFS
    34163941  test -z "$as_dir" && as_dir=.
    3417   for ac_exec_ext in '' $ac_executable_extensions; do
    3418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3942    for ac_exec_ext in '' $ac_executable_extensions; do
     3943  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    34193944    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3420     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3945    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    34213946    break 2
    34223947  fi
    34233948done
    3424 done
     3949  done
    34253950IFS=$as_save_IFS
    34263951
     
    34293954ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    34303955if test -n "$ac_ct_CXX"; then
    3431   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    34323957$as_echo "$ac_ct_CXX" >&6; }
    34333958else
    3434   { $as_echo "$as_me:$LINENO: result: no" >&5
     3959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    34353960$as_echo "no" >&6; }
    34363961fi
     
    34453970    case $cross_compiling:$ac_tool_warned in
    34463971yes:)
    3447 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3972{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    34483973$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34493974ac_tool_warned=yes ;;
     
    34563981fi
    34573982# Provide some information about the compiler.
    3458 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     3983$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    34593984set X $ac_compile
    34603985ac_compiler=$2
    3461 { (ac_try="$ac_compiler --version >&5"
     3986for ac_option in --version -v -V -qversion; do
     3987  { { ac_try="$ac_compiler $ac_option >&5"
    34623988case "(($ac_try" in
    34633989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    34643990  *) ac_try_echo=$ac_try;;
    34653991esac
    3466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3467 $as_echo "$ac_try_echo") >&5
    3468   (eval "$ac_compiler --version >&5") 2>&5
     3992eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3993$as_echo "$ac_try_echo"; } >&5
     3994  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    34693995  ac_status=$?
    3470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3471   (exit $ac_status); }
    3472 { (ac_try="$ac_compiler -v >&5"
    3473 case "(($ac_try" in
    3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3475   *) ac_try_echo=$ac_try;;
    3476 esac
    3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3478 $as_echo "$ac_try_echo") >&5
    3479   (eval "$ac_compiler -v >&5") 2>&5
    3480   ac_status=$?
    3481   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3482   (exit $ac_status); }
    3483 { (ac_try="$ac_compiler -V >&5"
    3484 case "(($ac_try" in
    3485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3486   *) ac_try_echo=$ac_try;;
    3487 esac
    3488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3489 $as_echo "$ac_try_echo") >&5
    3490   (eval "$ac_compiler -V >&5") 2>&5
    3491   ac_status=$?
    3492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3493   (exit $ac_status); }
    3494 
    3495 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3996  if test -s conftest.err; then
     3997    sed '10a\
     3998... rest of stderr output deleted ...
     3999         10q' conftest.err >conftest.er1
     4000    cat conftest.er1 >&5
     4001  fi
     4002  rm -f conftest.er1 conftest.err
     4003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4004  test $ac_status = 0; }
     4005done
     4006
     4007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    34964008$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    3497 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     4009if ${ac_cv_cxx_compiler_gnu+:} false; then :
    34984010  $as_echo_n "(cached) " >&6
    34994011else
    3500   cat >conftest.$ac_ext <<_ACEOF
    3501 /* confdefs.h.  */
    3502 _ACEOF
    3503 cat confdefs.h >>conftest.$ac_ext
    3504 cat >>conftest.$ac_ext <<_ACEOF
     4012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35054013/* end confdefs.h.  */
    35064014
     
    35164024}
    35174025_ACEOF
    3518 rm -f conftest.$ac_objext
    3519 if { (ac_try="$ac_compile"
    3520 case "(($ac_try" in
    3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3522   *) ac_try_echo=$ac_try;;
    3523 esac
    3524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3525 $as_echo "$ac_try_echo") >&5
    3526   (eval "$ac_compile") 2>conftest.er1
    3527   ac_status=$?
    3528   grep -v '^ *+' conftest.er1 >conftest.err
    3529   rm -f conftest.er1
    3530   cat conftest.err >&5
    3531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3532   (exit $ac_status); } && {
    3533          test -z "$ac_cxx_werror_flag" ||
    3534          test ! -s conftest.err
    3535        } && test -s conftest.$ac_objext; then
     4026if ac_fn_cxx_try_compile "$LINENO"; then :
    35364027  ac_compiler_gnu=yes
    35374028else
    3538   $as_echo "$as_me: failed program was:" >&5
    3539 sed 's/^/| /' conftest.$ac_ext >&5
    3540 
    3541         ac_compiler_gnu=no
    3542 fi
    3543 
     4029  ac_compiler_gnu=no
     4030fi
    35444031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35454032ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    35464033
    35474034fi
    3548 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     4035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    35494036$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    35504037if test $ac_compiler_gnu = yes; then
     
    35554042ac_test_CXXFLAGS=${CXXFLAGS+set}
    35564043ac_save_CXXFLAGS=$CXXFLAGS
    3557 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     4044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    35584045$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    3559 if test "${ac_cv_prog_cxx_g+set}" = set; then
     4046if ${ac_cv_prog_cxx_g+:} false; then :
    35604047  $as_echo_n "(cached) " >&6
    35614048else
     
    35644051   ac_cv_prog_cxx_g=no
    35654052   CXXFLAGS="-g"
    3566    cat >conftest.$ac_ext <<_ACEOF
    3567 /* confdefs.h.  */
    3568 _ACEOF
    3569 cat confdefs.h >>conftest.$ac_ext
    3570 cat >>conftest.$ac_ext <<_ACEOF
     4053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35714054/* end confdefs.h.  */
    35724055
     
    35794062}
    35804063_ACEOF
    3581 rm -f conftest.$ac_objext
    3582 if { (ac_try="$ac_compile"
    3583 case "(($ac_try" in
    3584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3585   *) ac_try_echo=$ac_try;;
    3586 esac
    3587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3588 $as_echo "$ac_try_echo") >&5
    3589   (eval "$ac_compile") 2>conftest.er1
    3590   ac_status=$?
    3591   grep -v '^ *+' conftest.er1 >conftest.err
    3592   rm -f conftest.er1
    3593   cat conftest.err >&5
    3594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3595   (exit $ac_status); } && {
    3596          test -z "$ac_cxx_werror_flag" ||
    3597          test ! -s conftest.err
    3598        } && test -s conftest.$ac_objext; then
     4064if ac_fn_cxx_try_compile "$LINENO"; then :
    35994065  ac_cv_prog_cxx_g=yes
    36004066else
    3601   $as_echo "$as_me: failed program was:" >&5
    3602 sed 's/^/| /' conftest.$ac_ext >&5
    3603 
    3604         CXXFLAGS=""
    3605       cat >conftest.$ac_ext <<_ACEOF
    3606 /* confdefs.h.  */
    3607 _ACEOF
    3608 cat confdefs.h >>conftest.$ac_ext
    3609 cat >>conftest.$ac_ext <<_ACEOF
     4067  CXXFLAGS=""
     4068      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36104069/* end confdefs.h.  */
    36114070
     
    36184077}
    36194078_ACEOF
    3620 rm -f conftest.$ac_objext
    3621 if { (ac_try="$ac_compile"
    3622 case "(($ac_try" in
    3623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3624   *) ac_try_echo=$ac_try;;
    3625 esac
    3626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3627 $as_echo "$ac_try_echo") >&5
    3628   (eval "$ac_compile") 2>conftest.er1
    3629   ac_status=$?
    3630   grep -v '^ *+' conftest.er1 >conftest.err
    3631   rm -f conftest.er1
    3632   cat conftest.err >&5
    3633   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3634   (exit $ac_status); } && {
    3635          test -z "$ac_cxx_werror_flag" ||
    3636          test ! -s conftest.err
    3637        } && test -s conftest.$ac_objext; then
    3638   :
    3639 else
    3640   $as_echo "$as_me: failed program was:" >&5
    3641 sed 's/^/| /' conftest.$ac_ext >&5
    3642 
    3643         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4079if ac_fn_cxx_try_compile "$LINENO"; then :
     4080
     4081else
     4082  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36444083         CXXFLAGS="-g"
    3645          cat >conftest.$ac_ext <<_ACEOF
    3646 /* confdefs.h.  */
    3647 _ACEOF
    3648 cat confdefs.h >>conftest.$ac_ext
    3649 cat >>conftest.$ac_ext <<_ACEOF
     4084         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36504085/* end confdefs.h.  */
    36514086
     
    36584093}
    36594094_ACEOF
    3660 rm -f conftest.$ac_objext
    3661 if { (ac_try="$ac_compile"
    3662 case "(($ac_try" in
    3663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3664   *) ac_try_echo=$ac_try;;
    3665 esac
    3666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3667 $as_echo "$ac_try_echo") >&5
    3668   (eval "$ac_compile") 2>conftest.er1
    3669   ac_status=$?
    3670   grep -v '^ *+' conftest.er1 >conftest.err
    3671   rm -f conftest.er1
    3672   cat conftest.err >&5
    3673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3674   (exit $ac_status); } && {
    3675          test -z "$ac_cxx_werror_flag" ||
    3676          test ! -s conftest.err
    3677        } && test -s conftest.$ac_objext; then
     4095if ac_fn_cxx_try_compile "$LINENO"; then :
    36784096  ac_cv_prog_cxx_g=yes
    3679 else
    3680   $as_echo "$as_me: failed program was:" >&5
    3681 sed 's/^/| /' conftest.$ac_ext >&5
    3682 
    3683 
    3684 fi
    3685 
     4097fi
    36864098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36874099fi
    3688 
    36894100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36904101fi
    3691 
    36924102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36934103   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    36944104fi
    3695 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     4105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    36964106$as_echo "$ac_cv_prog_cxx_g" >&6; }
    36974107if test "$ac_test_CXXFLAGS" = set; then
     
    37264136    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    37274137set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37294139$as_echo_n "checking for $ac_word... " >&6; }
    3730 if test "${ac_cv_prog_F77+set}" = set; then
     4140if ${ac_cv_prog_F77+:} false; then :
    37314141  $as_echo_n "(cached) " >&6
    37324142else
     
    37394149  IFS=$as_save_IFS
    37404150  test -z "$as_dir" && as_dir=.
    3741   for ac_exec_ext in '' $ac_executable_extensions; do
    3742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4151    for ac_exec_ext in '' $ac_executable_extensions; do
     4152  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37434153    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3744     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37454155    break 2
    37464156  fi
    37474157done
    3748 done
     4158  done
    37494159IFS=$as_save_IFS
    37504160
     
    37534163F77=$ac_cv_prog_F77
    37544164if test -n "$F77"; then
    3755   { $as_echo "$as_me:$LINENO: result: $F77" >&5
     4165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
    37564166$as_echo "$F77" >&6; }
    37574167else
    3758   { $as_echo "$as_me:$LINENO: result: no" >&5
     4168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37594169$as_echo "no" >&6; }
    37604170fi
     
    37704180  # Extract the first word of "$ac_prog", so it can be a program name with args.
    37714181set dummy $ac_prog; ac_word=$2
    3772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37734183$as_echo_n "checking for $ac_word... " >&6; }
    3774 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4184if ${ac_cv_prog_ac_ct_F77+:} false; then :
    37754185  $as_echo_n "(cached) " >&6
    37764186else
     
    37834193  IFS=$as_save_IFS
    37844194  test -z "$as_dir" && as_dir=.
    3785   for ac_exec_ext in '' $ac_executable_extensions; do
    3786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4195    for ac_exec_ext in '' $ac_executable_extensions; do
     4196  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    37874197    ac_cv_prog_ac_ct_F77="$ac_prog"
    3788     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4198    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37894199    break 2
    37904200  fi
    37914201done
    3792 done
     4202  done
    37934203IFS=$as_save_IFS
    37944204
     
    37974207ac_ct_F77=$ac_cv_prog_ac_ct_F77
    37984208if test -n "$ac_ct_F77"; then
    3799   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
    38004210$as_echo "$ac_ct_F77" >&6; }
    38014211else
    3802   { $as_echo "$as_me:$LINENO: result: no" >&5
     4212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38034213$as_echo "no" >&6; }
    38044214fi
     
    38134223    case $cross_compiling:$ac_tool_warned in
    38144224yes:)
    3815 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    38164226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    38174227ac_tool_warned=yes ;;
     
    38234233
    38244234# Provide some information about the compiler.
    3825 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
     4235$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
    38264236set X $ac_compile
    38274237ac_compiler=$2
    3828 { (ac_try="$ac_compiler --version >&5"
     4238for ac_option in --version -v -V -qversion; do
     4239  { { ac_try="$ac_compiler $ac_option >&5"
    38294240case "(($ac_try" in
    38304241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    38314242  *) ac_try_echo=$ac_try;;
    38324243esac
    3833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3834 $as_echo "$ac_try_echo") >&5
    3835   (eval "$ac_compiler --version >&5") 2>&5
     4244eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4245$as_echo "$ac_try_echo"; } >&5
     4246  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    38364247  ac_status=$?
    3837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3838   (exit $ac_status); }
    3839 { (ac_try="$ac_compiler -v >&5"
    3840 case "(($ac_try" in
    3841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3842   *) ac_try_echo=$ac_try;;
    3843 esac
    3844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3845 $as_echo "$ac_try_echo") >&5
    3846   (eval "$ac_compiler -v >&5") 2>&5
    3847   ac_status=$?
    3848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3849   (exit $ac_status); }
    3850 { (ac_try="$ac_compiler -V >&5"
    3851 case "(($ac_try" in
    3852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3853   *) ac_try_echo=$ac_try;;
    3854 esac
    3855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3856 $as_echo "$ac_try_echo") >&5
    3857   (eval "$ac_compiler -V >&5") 2>&5
    3858   ac_status=$?
    3859   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3860   (exit $ac_status); }
     4248  if test -s conftest.err; then
     4249    sed '10a\
     4250... rest of stderr output deleted ...
     4251         10q' conftest.err >conftest.er1
     4252    cat conftest.er1 >&5
     4253  fi
     4254  rm -f conftest.er1 conftest.err
     4255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4256  test $ac_status = 0; }
     4257done
    38614258rm -f a.out
    38624259
     
    38654262ac_save_ext=$ac_ext
    38664263ac_ext=F
    3867 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
    38684265$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
    3869 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
     4266if ${ac_cv_f77_compiler_gnu+:} false; then :
    38704267  $as_echo_n "(cached) " >&6
    38714268else
    3872   cat >conftest.$ac_ext <<_ACEOF
     4269  cat > conftest.$ac_ext <<_ACEOF
    38734270      program main
    38744271#ifndef __GNUC__
     
    38784275      end
    38794276_ACEOF
    3880 rm -f conftest.$ac_objext
    3881 if { (ac_try="$ac_compile"
    3882 case "(($ac_try" in
    3883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3884   *) ac_try_echo=$ac_try;;
    3885 esac
    3886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3887 $as_echo "$ac_try_echo") >&5
    3888   (eval "$ac_compile") 2>conftest.er1
    3889   ac_status=$?
    3890   grep -v '^ *+' conftest.er1 >conftest.err
    3891   rm -f conftest.er1
    3892   cat conftest.err >&5
    3893   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3894   (exit $ac_status); } && {
    3895          test -z "$ac_f77_werror_flag" ||
    3896          test ! -s conftest.err
    3897        } && test -s conftest.$ac_objext; then
     4277if ac_fn_f77_try_compile "$LINENO"; then :
    38984278  ac_compiler_gnu=yes
    38994279else
    3900   $as_echo "$as_me: failed program was:" >&5
    3901 sed 's/^/| /' conftest.$ac_ext >&5
    3902 
    3903         ac_compiler_gnu=no
    3904 fi
    3905 
     4280  ac_compiler_gnu=no
     4281fi
    39064282rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39074283ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    39084284
    39094285fi
    3910 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     4286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
    39114287$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    39124288ac_ext=$ac_save_ext
     
    39144290ac_save_FFLAGS=$FFLAGS
    39154291FFLAGS=
    3916 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
    39174293$as_echo_n "checking whether $F77 accepts -g... " >&6; }
    3918 if test "${ac_cv_prog_f77_g+set}" = set; then
     4294if ${ac_cv_prog_f77_g+:} false; then :
    39194295  $as_echo_n "(cached) " >&6
    39204296else
    39214297  FFLAGS=-g
    3922 cat >conftest.$ac_ext <<_ACEOF
     4298cat > conftest.$ac_ext <<_ACEOF
    39234299      program main
    39244300
    39254301      end
    39264302_ACEOF
    3927 rm -f conftest.$ac_objext
    3928 if { (ac_try="$ac_compile"
    3929 case "(($ac_try" in
    3930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3931   *) ac_try_echo=$ac_try;;
    3932 esac
    3933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3934 $as_echo "$ac_try_echo") >&5
    3935   (eval "$ac_compile") 2>conftest.er1
    3936   ac_status=$?
    3937   grep -v '^ *+' conftest.er1 >conftest.err
    3938   rm -f conftest.er1
    3939   cat conftest.err >&5
    3940   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3941   (exit $ac_status); } && {
    3942          test -z "$ac_f77_werror_flag" ||
    3943          test ! -s conftest.err
    3944        } && test -s conftest.$ac_objext; then
     4303if ac_fn_f77_try_compile "$LINENO"; then :
    39454304  ac_cv_prog_f77_g=yes
    39464305else
    3947   $as_echo "$as_me: failed program was:" >&5
    3948 sed 's/^/| /' conftest.$ac_ext >&5
    3949 
    3950         ac_cv_prog_f77_g=no
    3951 fi
    3952 
     4306  ac_cv_prog_f77_g=no
     4307fi
    39534308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    39544309
    39554310fi
    3956 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     4311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
    39574312$as_echo "$ac_cv_prog_f77_g" >&6; }
    39584313if test "$ac_test_FFLAGS" = set; then
     
    39974352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    39984353ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3999 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    40004355$as_echo_n "checking how to run the C preprocessor... " >&6; }
    40014356# On Suns, sometimes $CPP names a directory.
     
    40044359fi
    40054360if test -z "$CPP"; then
    4006   if test "${ac_cv_prog_CPP+set}" = set; then
     4361  if ${ac_cv_prog_CPP+:} false; then :
    40074362  $as_echo_n "(cached) " >&6
    40084363else
     
    40194374  # On the NeXT, cc -E runs the code through the compiler's parser,
    40204375  # not just through cpp. "Syntax error" is here to catch this case.
    4021   cat >conftest.$ac_ext <<_ACEOF
    4022 /* confdefs.h.  */
    4023 _ACEOF
    4024 cat confdefs.h >>conftest.$ac_ext
    4025 cat >>conftest.$ac_ext <<_ACEOF
     4376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40264377/* end confdefs.h.  */
    40274378#ifdef __STDC__
     
    40324383                     Syntax error
    40334384_ACEOF
    4034 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4035 case "(($ac_try" in
    4036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4037   *) ac_try_echo=$ac_try;;
    4038 esac
    4039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4040 $as_echo "$ac_try_echo") >&5
    4041   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4042   ac_status=$?
    4043   grep -v '^ *+' conftest.er1 >conftest.err
    4044   rm -f conftest.er1
    4045   cat conftest.err >&5
    4046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4047   (exit $ac_status); } >/dev/null && {
    4048          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4049          test ! -s conftest.err
    4050        }; then
    4051   :
    4052 else
    4053   $as_echo "$as_me: failed program was:" >&5
    4054 sed 's/^/| /' conftest.$ac_ext >&5
    4055 
     4385if ac_fn_c_try_cpp "$LINENO"; then :
     4386
     4387else
    40564388  # Broken: fails on valid input.
    40574389continue
    40584390fi
    4059 
    4060 rm -f conftest.err conftest.$ac_ext
     4391rm -f conftest.err conftest.i conftest.$ac_ext
    40614392
    40624393  # OK, works on sane cases.  Now check whether nonexistent headers
    40634394  # can be detected and how.
    4064   cat >conftest.$ac_ext <<_ACEOF
    4065 /* confdefs.h.  */
    4066 _ACEOF
    4067 cat confdefs.h >>conftest.$ac_ext
    4068 cat >>conftest.$ac_ext <<_ACEOF
     4395  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40694396/* end confdefs.h.  */
    40704397#include <ac_nonexistent.h>
    40714398_ACEOF
    4072 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4073 case "(($ac_try" in
    4074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4075   *) ac_try_echo=$ac_try;;
    4076 esac
    4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4078 $as_echo "$ac_try_echo") >&5
    4079   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4080   ac_status=$?
    4081   grep -v '^ *+' conftest.er1 >conftest.err
    4082   rm -f conftest.er1
    4083   cat conftest.err >&5
    4084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4085   (exit $ac_status); } >/dev/null && {
    4086          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4087          test ! -s conftest.err
    4088        }; then
     4399if ac_fn_c_try_cpp "$LINENO"; then :
    40894400  # Broken: success on invalid input.
    40904401continue
    40914402else
    4092   $as_echo "$as_me: failed program was:" >&5
    4093 sed 's/^/| /' conftest.$ac_ext >&5
    4094 
    40954403  # Passes both tests.
    40964404ac_preproc_ok=:
    40974405break
    40984406fi
    4099 
    4100 rm -f conftest.err conftest.$ac_ext
     4407rm -f conftest.err conftest.i conftest.$ac_ext
    41014408
    41024409done
    41034410# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4104 rm -f conftest.err conftest.$ac_ext
    4105 if $ac_preproc_ok; then
     4411rm -f conftest.i conftest.err conftest.$ac_ext
     4412if $ac_preproc_ok; then :
    41064413  break
    41074414fi
     
    41154422  ac_cv_prog_CPP=$CPP
    41164423fi
    4117 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    41184425$as_echo "$CPP" >&6; }
    41194426ac_preproc_ok=false
     
    41264433  # On the NeXT, cc -E runs the code through the compiler's parser,
    41274434  # not just through cpp. "Syntax error" is here to catch this case.
    4128   cat >conftest.$ac_ext <<_ACEOF
    4129 /* confdefs.h.  */
    4130 _ACEOF
    4131 cat confdefs.h >>conftest.$ac_ext
    4132 cat >>conftest.$ac_ext <<_ACEOF
     4435  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41334436/* end confdefs.h.  */
    41344437#ifdef __STDC__
     
    41394442                     Syntax error
    41404443_ACEOF
    4141 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4142 case "(($ac_try" in
    4143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4144   *) ac_try_echo=$ac_try;;
    4145 esac
    4146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4147 $as_echo "$ac_try_echo") >&5
    4148   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4149   ac_status=$?
    4150   grep -v '^ *+' conftest.er1 >conftest.err
    4151   rm -f conftest.er1
    4152   cat conftest.err >&5
    4153   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4154   (exit $ac_status); } >/dev/null && {
    4155          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4156          test ! -s conftest.err
    4157        }; then
    4158   :
    4159 else
    4160   $as_echo "$as_me: failed program was:" >&5
    4161 sed 's/^/| /' conftest.$ac_ext >&5
    4162 
     4444if ac_fn_c_try_cpp "$LINENO"; then :
     4445
     4446else
    41634447  # Broken: fails on valid input.
    41644448continue
    41654449fi
    4166 
    4167 rm -f conftest.err conftest.$ac_ext
     4450rm -f conftest.err conftest.i conftest.$ac_ext
    41684451
    41694452  # OK, works on sane cases.  Now check whether nonexistent headers
    41704453  # can be detected and how.
    4171   cat >conftest.$ac_ext <<_ACEOF
    4172 /* confdefs.h.  */
    4173 _ACEOF
    4174 cat confdefs.h >>conftest.$ac_ext
    4175 cat >>conftest.$ac_ext <<_ACEOF
     4454  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41764455/* end confdefs.h.  */
    41774456#include <ac_nonexistent.h>
    41784457_ACEOF
    4179 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4180 case "(($ac_try" in
    4181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4182   *) ac_try_echo=$ac_try;;
    4183 esac
    4184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4185 $as_echo "$ac_try_echo") >&5
    4186   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4187   ac_status=$?
    4188   grep -v '^ *+' conftest.er1 >conftest.err
    4189   rm -f conftest.er1
    4190   cat conftest.err >&5
    4191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4192   (exit $ac_status); } >/dev/null && {
    4193          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4194          test ! -s conftest.err
    4195        }; then
     4458if ac_fn_c_try_cpp "$LINENO"; then :
    41964459  # Broken: success on invalid input.
    41974460continue
    41984461else
    4199   $as_echo "$as_me: failed program was:" >&5
    4200 sed 's/^/| /' conftest.$ac_ext >&5
    4201 
    42024462  # Passes both tests.
    42034463ac_preproc_ok=:
    42044464break
    42054465fi
    4206 
    4207 rm -f conftest.err conftest.$ac_ext
     4466rm -f conftest.err conftest.i conftest.$ac_ext
    42084467
    42094468done
    42104469# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4211 rm -f conftest.err conftest.$ac_ext
    4212 if $ac_preproc_ok; then
    4213   :
    4214 else
    4215   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4470rm -f conftest.i conftest.err conftest.$ac_ext
     4471if $ac_preproc_ok; then :
     4472
     4473else
     4474  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    42164475$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    4217 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4218 See \`config.log' for more details." >&5
    4219 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4220 See \`config.log' for more details." >&2;}
    4221    { (exit 1); exit 1; }; }; }
     4476as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4477See \`config.log' for more details" "$LINENO" 5; }
    42224478fi
    42234479
     
    42294485
    42304486
    4231 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    42324488$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4233 if test "${ac_cv_path_GREP+set}" = set; then
     4489if ${ac_cv_path_GREP+:} false; then :
    42344490  $as_echo_n "(cached) " >&6
    42354491else
     
    42424498  IFS=$as_save_IFS
    42434499  test -z "$as_dir" && as_dir=.
    4244   for ac_prog in grep ggrep; do
     4500    for ac_prog in grep ggrep; do
    42454501    for ac_exec_ext in '' $ac_executable_extensions; do
    42464502      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4247       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4503      as_fn_executable_p "$ac_path_GREP" || continue
    42484504# Check for GNU ac_path_GREP and select it if it is found.
    42494505  # Check for GNU $ac_path_GREP
     
    42624518    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    42634519    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4264     ac_count=`expr $ac_count + 1`
     4520    as_fn_arith $ac_count + 1 && ac_count=$as_val
    42654521    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    42664522      # Best one so far, save it but keep looking for a better one
     
    42774533    done
    42784534  done
    4279 done
     4535  done
    42804536IFS=$as_save_IFS
    42814537  if test -z "$ac_cv_path_GREP"; then
    4282     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4283 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4284    { (exit 1); exit 1; }; }
     4538    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    42854539  fi
    42864540else
     
    42894543
    42904544fi
    4291 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    42924546$as_echo "$ac_cv_path_GREP" >&6; }
    42934547 GREP="$ac_cv_path_GREP"
    42944548
    42954549
    4296 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    42974551$as_echo_n "checking for egrep... " >&6; }
    4298 if test "${ac_cv_path_EGREP+set}" = set; then
     4552if ${ac_cv_path_EGREP+:} false; then :
    42994553  $as_echo_n "(cached) " >&6
    43004554else
     
    43104564  IFS=$as_save_IFS
    43114565  test -z "$as_dir" && as_dir=.
    4312   for ac_prog in egrep; do
     4566    for ac_prog in egrep; do
    43134567    for ac_exec_ext in '' $ac_executable_extensions; do
    43144568      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4315       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4569      as_fn_executable_p "$ac_path_EGREP" || continue
    43164570# Check for GNU ac_path_EGREP and select it if it is found.
    43174571  # Check for GNU $ac_path_EGREP
     
    43304584    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    43314585    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4332     ac_count=`expr $ac_count + 1`
     4586    as_fn_arith $ac_count + 1 && ac_count=$as_val
    43334587    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    43344588      # Best one so far, save it but keep looking for a better one
     
    43454599    done
    43464600  done
    4347 done
     4601  done
    43484602IFS=$as_save_IFS
    43494603  if test -z "$ac_cv_path_EGREP"; then
    4350     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4351 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4352    { (exit 1); exit 1; }; }
     4604    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    43534605  fi
    43544606else
     
    43584610   fi
    43594611fi
    4360 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    43614613$as_echo "$ac_cv_path_EGREP" >&6; }
    43624614 EGREP="$ac_cv_path_EGREP"
    43634615
    43644616
    4365 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    43664618$as_echo_n "checking for ANSI C header files... " >&6; }
    4367 if test "${ac_cv_header_stdc+set}" = set; then
     4619if ${ac_cv_header_stdc+:} false; then :
    43684620  $as_echo_n "(cached) " >&6
    43694621else
    4370   cat >conftest.$ac_ext <<_ACEOF
    4371 /* confdefs.h.  */
    4372 _ACEOF
    4373 cat confdefs.h >>conftest.$ac_ext
    4374 cat >>conftest.$ac_ext <<_ACEOF
     4622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43754623/* end confdefs.h.  */
    43764624#include <stdlib.h>
     
    43874635}
    43884636_ACEOF
    4389 rm -f conftest.$ac_objext
    4390 if { (ac_try="$ac_compile"
    4391 case "(($ac_try" in
    4392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4393   *) ac_try_echo=$ac_try;;
    4394 esac
    4395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4396 $as_echo "$ac_try_echo") >&5
    4397   (eval "$ac_compile") 2>conftest.er1
    4398   ac_status=$?
    4399   grep -v '^ *+' conftest.er1 >conftest.err
    4400   rm -f conftest.er1
    4401   cat conftest.err >&5
    4402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4403   (exit $ac_status); } && {
    4404          test -z "$ac_c_werror_flag" ||
    4405          test ! -s conftest.err
    4406        } && test -s conftest.$ac_objext; then
     4637if ac_fn_c_try_compile "$LINENO"; then :
    44074638  ac_cv_header_stdc=yes
    44084639else
    4409   $as_echo "$as_me: failed program was:" >&5
    4410 sed 's/^/| /' conftest.$ac_ext >&5
    4411 
    4412         ac_cv_header_stdc=no
    4413 fi
    4414 
     4640  ac_cv_header_stdc=no
     4641fi
    44154642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44164643
    44174644if test $ac_cv_header_stdc = yes; then
    44184645  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4419   cat >conftest.$ac_ext <<_ACEOF
    4420 /* confdefs.h.  */
    4421 _ACEOF
    4422 cat confdefs.h >>conftest.$ac_ext
    4423 cat >>conftest.$ac_ext <<_ACEOF
     4646  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44244647/* end confdefs.h.  */
    44254648#include <string.h>
     
    44274650_ACEOF
    44284651if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4429   $EGREP "memchr" >/dev/null 2>&1; then
    4430   :
     4652  $EGREP "memchr" >/dev/null 2>&1; then :
     4653
    44314654else
    44324655  ac_cv_header_stdc=no
     
    44384661if test $ac_cv_header_stdc = yes; then
    44394662  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4440   cat >conftest.$ac_ext <<_ACEOF
    4441 /* confdefs.h.  */
    4442 _ACEOF
    4443 cat confdefs.h >>conftest.$ac_ext
    4444 cat >>conftest.$ac_ext <<_ACEOF
     4663  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44454664/* end confdefs.h.  */
    44464665#include <stdlib.h>
     
    44484667_ACEOF
    44494668if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4450   $EGREP "free" >/dev/null 2>&1; then
    4451   :
     4669  $EGREP "free" >/dev/null 2>&1; then :
     4670
    44524671else
    44534672  ac_cv_header_stdc=no
     
    44594678if test $ac_cv_header_stdc = yes; then
    44604679  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4461   if test "$cross_compiling" = yes; then
     4680  if test "$cross_compiling" = yes; then :
    44624681  :
    44634682else
    4464   cat >conftest.$ac_ext <<_ACEOF
    4465 /* confdefs.h.  */
    4466 _ACEOF
    4467 cat confdefs.h >>conftest.$ac_ext
    4468 cat >>conftest.$ac_ext <<_ACEOF
     4683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44694684/* end confdefs.h.  */
    44704685#include <ctype.h>
     
    44934708}
    44944709_ACEOF
    4495 rm -f conftest$ac_exeext
    4496 if { (ac_try="$ac_link"
    4497 case "(($ac_try" in
    4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4499   *) ac_try_echo=$ac_try;;
    4500 esac
    4501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4502 $as_echo "$ac_try_echo") >&5
    4503   (eval "$ac_link") 2>&5
    4504   ac_status=$?
    4505   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4506   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4507   { (case "(($ac_try" in
    4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4509   *) ac_try_echo=$ac_try;;
    4510 esac
    4511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4512 $as_echo "$ac_try_echo") >&5
    4513   (eval "$ac_try") 2>&5
    4514   ac_status=$?
    4515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4516   (exit $ac_status); }; }; then
    4517   :
    4518 else
    4519   $as_echo "$as_me: program exited with status $ac_status" >&5
    4520 $as_echo "$as_me: failed program was:" >&5
    4521 sed 's/^/| /' conftest.$ac_ext >&5
    4522 
    4523 ( exit $ac_status )
    4524 ac_cv_header_stdc=no
    4525 fi
    4526 rm -rf conftest.dSYM
    4527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4528 fi
    4529 
    4530 
    4531 fi
    4532 fi
    4533 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4710if ac_fn_c_try_run "$LINENO"; then :
     4711
     4712else
     4713  ac_cv_header_stdc=no
     4714fi
     4715rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4716  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4717fi
     4718
     4719fi
     4720fi
     4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    45344722$as_echo "$ac_cv_header_stdc" >&6; }
    45354723if test $ac_cv_header_stdc = yes; then
    45364724
    4537 cat >>confdefs.h <<\_ACEOF
    4538 #define STDC_HEADERS 1
    4539 _ACEOF
    4540 
    4541 fi
    4542 
    4543 { $as_echo "$as_me:$LINENO: checking for atol" >&5
    4544 $as_echo_n "checking for atol... " >&6; }
    4545 if test "${ac_cv_func_atol+set}" = set; then
    4546   $as_echo_n "(cached) " >&6
    4547 else
    4548   cat >conftest.$ac_ext <<_ACEOF
    4549 /* confdefs.h.  */
    4550 _ACEOF
    4551 cat confdefs.h >>conftest.$ac_ext
    4552 cat >>conftest.$ac_ext <<_ACEOF
    4553 /* end confdefs.h.  */
    4554 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4556 #define atol innocuous_atol
    4557 
    4558 /* System header to define __stub macros and hopefully few prototypes,
    4559     which can conflict with char atol (); below.
    4560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4561     <limits.h> exists even on freestanding compilers.  */
    4562 
    4563 #ifdef __STDC__
    4564 # include <limits.h>
    4565 #else
    4566 # include <assert.h>
    4567 #endif
    4568 
    4569 #undef atol
    4570 
    4571 /* Override any GCC internal prototype to avoid an error.
    4572    Use char because int might match the return type of a GCC
    4573    builtin and then its argument prototype would still apply.  */
    4574 #ifdef __cplusplus
    4575 extern "C"
    4576 #endif
    4577 char atol ();
    4578 /* The GNU C library defines this for functions which it implements
    4579     to always fail with ENOSYS.  Some functions are actually named
    4580     something starting with __ and the normal name is an alias.  */
    4581 #if defined __stub_atol || defined __stub___atol
    4582 choke me
    4583 #endif
    4584 
    4585 int
    4586 main ()
    4587 {
    4588 return atol ();
    4589   ;
    4590   return 0;
    4591 }
    4592 _ACEOF
    4593 rm -f conftest.$ac_objext conftest$ac_exeext
    4594 if { (ac_try="$ac_link"
    4595 case "(($ac_try" in
    4596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4597   *) ac_try_echo=$ac_try;;
    4598 esac
    4599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4600 $as_echo "$ac_try_echo") >&5
    4601   (eval "$ac_link") 2>conftest.er1
    4602   ac_status=$?
    4603   grep -v '^ *+' conftest.er1 >conftest.err
    4604   rm -f conftest.er1
    4605   cat conftest.err >&5
    4606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4607   (exit $ac_status); } && {
    4608          test -z "$ac_c_werror_flag" ||
    4609          test ! -s conftest.err
    4610        } && test -s conftest$ac_exeext && {
    4611          test "$cross_compiling" = yes ||
    4612          $as_test_x conftest$ac_exeext
    4613        }; then
    4614   ac_cv_func_atol=yes
    4615 else
    4616   $as_echo "$as_me: failed program was:" >&5
    4617 sed 's/^/| /' conftest.$ac_ext >&5
    4618 
    4619         ac_cv_func_atol=no
    4620 fi
    4621 
    4622 rm -rf conftest.dSYM
    4623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4624       conftest$ac_exeext conftest.$ac_ext
    4625 fi
    4626 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4627 $as_echo "$ac_cv_func_atol" >&6; }
    4628 if test "x$ac_cv_func_atol" = x""yes; then
    4629   :
    4630 else
    4631   { { $as_echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4632 $as_echo "$as_me: error: oops! no atol ?!?" >&2;}
    4633    { (exit 1); exit 1; }; }
     4725$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4726
     4727fi
     4728
     4729ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4730if test "x$ac_cv_func_atol" = xyes; then :
     4731
     4732else
     4733  as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    46344734fi
    46354735
     
    46434743
    46444744
    4645 
    46464745for ac_func in sysinfo
    4647 do
    4648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4649 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4650 $as_echo_n "checking for $ac_func... " >&6; }
    4651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4652   $as_echo_n "(cached) " >&6
    4653 else
    4654   cat >conftest.$ac_ext <<_ACEOF
    4655 /* confdefs.h.  */
    4656 _ACEOF
    4657 cat confdefs.h >>conftest.$ac_ext
    4658 cat >>conftest.$ac_ext <<_ACEOF
    4659 /* end confdefs.h.  */
    4660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4662 #define $ac_func innocuous_$ac_func
    4663 
    4664 /* System header to define __stub macros and hopefully few prototypes,
    4665     which can conflict with char $ac_func (); below.
    4666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4667     <limits.h> exists even on freestanding compilers.  */
    4668 
    4669 #ifdef __STDC__
    4670 # include <limits.h>
    4671 #else
    4672 # include <assert.h>
    4673 #endif
    4674 
    4675 #undef $ac_func
    4676 
    4677 /* Override any GCC internal prototype to avoid an error.
    4678    Use char because int might match the return type of a GCC
    4679    builtin and then its argument prototype would still apply.  */
    4680 #ifdef __cplusplus
    4681 extern "C"
    4682 #endif
    4683 char $ac_func ();
    4684 /* The GNU C library defines this for functions which it implements
    4685     to always fail with ENOSYS.  Some functions are actually named
    4686     something starting with __ and the normal name is an alias.  */
    4687 #if defined __stub_$ac_func || defined __stub___$ac_func
    4688 choke me
    4689 #endif
    4690 
    4691 int
    4692 main ()
    4693 {
    4694 return $ac_func ();
    4695   ;
    4696   return 0;
    4697 }
    4698 _ACEOF
    4699 rm -f conftest.$ac_objext conftest$ac_exeext
    4700 if { (ac_try="$ac_link"
    4701 case "(($ac_try" in
    4702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4703   *) ac_try_echo=$ac_try;;
    4704 esac
    4705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4706 $as_echo "$ac_try_echo") >&5
    4707   (eval "$ac_link") 2>conftest.er1
    4708   ac_status=$?
    4709   grep -v '^ *+' conftest.er1 >conftest.err
    4710   rm -f conftest.er1
    4711   cat conftest.err >&5
    4712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4713   (exit $ac_status); } && {
    4714          test -z "$ac_cxx_werror_flag" ||
    4715          test ! -s conftest.err
    4716        } && test -s conftest$ac_exeext && {
    4717          test "$cross_compiling" = yes ||
    4718          $as_test_x conftest$ac_exeext
    4719        }; then
    4720   eval "$as_ac_var=yes"
    4721 else
    4722   $as_echo "$as_me: failed program was:" >&5
    4723 sed 's/^/| /' conftest.$ac_ext >&5
    4724 
    4725         eval "$as_ac_var=no"
    4726 fi
    4727 
    4728 rm -rf conftest.dSYM
    4729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4730       conftest$ac_exeext conftest.$ac_ext
    4731 fi
    4732 ac_res=`eval 'as_val=${'$as_ac_var'}
    4733                  $as_echo "$as_val"'`
    4734                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4735 $as_echo "$ac_res" >&6; }
    4736 as_val=`eval 'as_val=${'$as_ac_var'}
    4737                  $as_echo "$as_val"'`
    4738    if test "x$as_val" = x""yes; then
     4746do :
     4747  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4748if test "x$ac_cv_func_sysinfo" = xyes; then :
    47394749  cat >>confdefs.h <<_ACEOF
    4740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4741 _ACEOF
    4742 
    4743 fi
    4744 done
    4745 
     4750#define HAVE_SYSINFO 1
     4751_ACEOF
     4752
     4753fi
     4754done
    47464755
    47474756for ac_func in gettimeofday
    4748 do
    4749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4750 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    4751 $as_echo_n "checking for $ac_func... " >&6; }
    4752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4753   $as_echo_n "(cached) " >&6
    4754 else
    4755   cat >conftest.$ac_ext <<_ACEOF
    4756 /* confdefs.h.  */
    4757 _ACEOF
    4758 cat confdefs.h >>conftest.$ac_ext
    4759 cat >>conftest.$ac_ext <<_ACEOF
    4760 /* end confdefs.h.  */
    4761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4763 #define $ac_func innocuous_$ac_func
    4764 
    4765 /* System header to define __stub macros and hopefully few prototypes,
    4766     which can conflict with char $ac_func (); below.
    4767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4768     <limits.h> exists even on freestanding compilers.  */
    4769 
    4770 #ifdef __STDC__
    4771 # include <limits.h>
    4772 #else
    4773 # include <assert.h>
    4774 #endif
    4775 
    4776 #undef $ac_func
    4777 
    4778 /* Override any GCC internal prototype to avoid an error.
    4779    Use char because int might match the return type of a GCC
    4780    builtin and then its argument prototype would still apply.  */
    4781 #ifdef __cplusplus
    4782 extern "C"
    4783 #endif
    4784 char $ac_func ();
    4785 /* The GNU C library defines this for functions which it implements
    4786     to always fail with ENOSYS.  Some functions are actually named
    4787     something starting with __ and the normal name is an alias.  */
    4788 #if defined __stub_$ac_func || defined __stub___$ac_func
    4789 choke me
    4790 #endif
    4791 
    4792 int
    4793 main ()
    4794 {
    4795 return $ac_func ();
    4796   ;
    4797   return 0;
    4798 }
    4799 _ACEOF
    4800 rm -f conftest.$ac_objext conftest$ac_exeext
    4801 if { (ac_try="$ac_link"
    4802 case "(($ac_try" in
    4803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4804   *) ac_try_echo=$ac_try;;
    4805 esac
    4806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4807 $as_echo "$ac_try_echo") >&5
    4808   (eval "$ac_link") 2>conftest.er1
    4809   ac_status=$?
    4810   grep -v '^ *+' conftest.er1 >conftest.err
    4811   rm -f conftest.er1
    4812   cat conftest.err >&5
    4813   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4814   (exit $ac_status); } && {
    4815          test -z "$ac_cxx_werror_flag" ||
    4816          test ! -s conftest.err
    4817        } && test -s conftest$ac_exeext && {
    4818          test "$cross_compiling" = yes ||
    4819          $as_test_x conftest$ac_exeext
    4820        }; then
    4821   eval "$as_ac_var=yes"
    4822 else
    4823   $as_echo "$as_me: failed program was:" >&5
    4824 sed 's/^/| /' conftest.$ac_ext >&5
    4825 
    4826         eval "$as_ac_var=no"
    4827 fi
    4828 
    4829 rm -rf conftest.dSYM
    4830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4831       conftest$ac_exeext conftest.$ac_ext
    4832 fi
    4833 ac_res=`eval 'as_val=${'$as_ac_var'}
    4834                  $as_echo "$as_val"'`
    4835                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    4836 $as_echo "$ac_res" >&6; }
    4837 as_val=`eval 'as_val=${'$as_ac_var'}
    4838                  $as_echo "$as_val"'`
    4839    if test "x$as_val" = x""yes; then
     4757do :
     4758  ac_fn_cxx_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
     4759if test "x$ac_cv_func_gettimeofday" = xyes; then :
    48404760  cat >>confdefs.h <<_ACEOF
    4841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4842 _ACEOF
    4843 
    4844 fi
    4845 done
    4846 
    4847 { $as_echo "$as_me:$LINENO: checking for localtime" >&5
    4848 $as_echo_n "checking for localtime... " >&6; }
    4849 if test "${ac_cv_func_localtime+set}" = set; then
    4850   $as_echo_n "(cached) " >&6
    4851 else
    4852   cat >conftest.$ac_ext <<_ACEOF
    4853 /* confdefs.h.  */
    4854 _ACEOF
    4855 cat confdefs.h >>conftest.$ac_ext
    4856 cat >>conftest.$ac_ext <<_ACEOF
    4857 /* end confdefs.h.  */
    4858 /* Define localtime to an innocuous variant, in case <limits.h> declares localtime.
    4859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4860 #define localtime innocuous_localtime
    4861 
    4862 /* System header to define __stub macros and hopefully few prototypes,
    4863     which can conflict with char localtime (); below.
    4864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4865     <limits.h> exists even on freestanding compilers.  */
    4866 
    4867 #ifdef __STDC__
    4868 # include <limits.h>
    4869 #else
    4870 # include <assert.h>
    4871 #endif
    4872 
    4873 #undef localtime
    4874 
    4875 /* Override any GCC internal prototype to avoid an error.
    4876    Use char because int might match the return type of a GCC
    4877    builtin and then its argument prototype would still apply.  */
    4878 #ifdef __cplusplus
    4879 extern "C"
    4880 #endif
    4881 char localtime ();
    4882 /* The GNU C library defines this for functions which it implements
    4883     to always fail with ENOSYS.  Some functions are actually named
    4884     something starting with __ and the normal name is an alias.  */
    4885 #if defined __stub_localtime || defined __stub___localtime
    4886 choke me
    4887 #endif
    4888 
    4889 int
    4890 main ()
    4891 {
    4892 return localtime ();
    4893   ;
    4894   return 0;
    4895 }
    4896 _ACEOF
    4897 rm -f conftest.$ac_objext conftest$ac_exeext
    4898 if { (ac_try="$ac_link"
    4899 case "(($ac_try" in
    4900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4901   *) ac_try_echo=$ac_try;;
    4902 esac
    4903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4904 $as_echo "$ac_try_echo") >&5
    4905   (eval "$ac_link") 2>conftest.er1
    4906   ac_status=$?
    4907   grep -v '^ *+' conftest.er1 >conftest.err
    4908   rm -f conftest.er1
    4909   cat conftest.err >&5
    4910   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4911   (exit $ac_status); } && {
    4912          test -z "$ac_cxx_werror_flag" ||
    4913          test ! -s conftest.err
    4914        } && test -s conftest$ac_exeext && {
    4915          test "$cross_compiling" = yes ||
    4916          $as_test_x conftest$ac_exeext
    4917        }; then
    4918   ac_cv_func_localtime=yes
    4919 else
    4920   $as_echo "$as_me: failed program was:" >&5
    4921 sed 's/^/| /' conftest.$ac_ext >&5
    4922 
    4923         ac_cv_func_localtime=no
    4924 fi
    4925 
    4926 rm -rf conftest.dSYM
    4927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4928       conftest$ac_exeext conftest.$ac_ext
    4929 fi
    4930 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_localtime" >&5
    4931 $as_echo "$ac_cv_func_localtime" >&6; }
    4932 if test "x$ac_cv_func_localtime" = x""yes; then
    4933   :
    4934 else
    4935   { { $as_echo "$as_me:$LINENO: error: oops! no localtime ?!?" >&5
    4936 $as_echo "$as_me: error: oops! no localtime ?!?" >&2;}
    4937    { (exit 1); exit 1; }; }
    4938 fi
    4939 
    4940 { $as_echo "$as_me:$LINENO: checking for getenv" >&5
    4941 $as_echo_n "checking for getenv... " >&6; }
    4942 if test "${ac_cv_func_getenv+set}" = set; then
    4943   $as_echo_n "(cached) " >&6
    4944 else
    4945   cat >conftest.$ac_ext <<_ACEOF
    4946 /* confdefs.h.  */
    4947 _ACEOF
    4948 cat confdefs.h >>conftest.$ac_ext
    4949 cat >>conftest.$ac_ext <<_ACEOF
    4950 /* end confdefs.h.  */
    4951 /* Define getenv to an innocuous variant, in case <limits.h> declares getenv.
    4952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4953 #define getenv innocuous_getenv
    4954 
    4955 /* System header to define __stub macros and hopefully few prototypes,
    4956     which can conflict with char getenv (); below.
    4957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4958     <limits.h> exists even on freestanding compilers.  */
    4959 
    4960 #ifdef __STDC__
    4961 # include <limits.h>
    4962 #else
    4963 # include <assert.h>
    4964 #endif
    4965 
    4966 #undef getenv
    4967 
    4968 /* Override any GCC internal prototype to avoid an error.
    4969    Use char because int might match the return type of a GCC
    4970    builtin and then its argument prototype would still apply.  */
    4971 #ifdef __cplusplus
    4972 extern "C"
    4973 #endif
    4974 char getenv ();
    4975 /* The GNU C library defines this for functions which it implements
    4976     to always fail with ENOSYS.  Some functions are actually named
    4977     something starting with __ and the normal name is an alias.  */
    4978 #if defined __stub_getenv || defined __stub___getenv
    4979 choke me
    4980 #endif
    4981 
    4982 int
    4983 main ()
    4984 {
    4985 return getenv ();
    4986   ;
    4987   return 0;
    4988 }
    4989 _ACEOF
    4990 rm -f conftest.$ac_objext conftest$ac_exeext
    4991 if { (ac_try="$ac_link"
    4992 case "(($ac_try" in
    4993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4994   *) ac_try_echo=$ac_try;;
    4995 esac
    4996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4997 $as_echo "$ac_try_echo") >&5
    4998   (eval "$ac_link") 2>conftest.er1
    4999   ac_status=$?
    5000   grep -v '^ *+' conftest.er1 >conftest.err
    5001   rm -f conftest.er1
    5002   cat conftest.err >&5
    5003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5004   (exit $ac_status); } && {
    5005          test -z "$ac_cxx_werror_flag" ||
    5006          test ! -s conftest.err
    5007        } && test -s conftest$ac_exeext && {
    5008          test "$cross_compiling" = yes ||
    5009          $as_test_x conftest$ac_exeext
    5010        }; then
    5011   ac_cv_func_getenv=yes
    5012 else
    5013   $as_echo "$as_me: failed program was:" >&5
    5014 sed 's/^/| /' conftest.$ac_ext >&5
    5015 
    5016         ac_cv_func_getenv=no
    5017 fi
    5018 
    5019 rm -rf conftest.dSYM
    5020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5021       conftest$ac_exeext conftest.$ac_ext
    5022 fi
    5023 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getenv" >&5
    5024 $as_echo "$ac_cv_func_getenv" >&6; }
    5025 if test "x$ac_cv_func_getenv" = x""yes; then
    5026   :
    5027 else
    5028   { { $as_echo "$as_me:$LINENO: error: oops! no getenv ?!?" >&5
    5029 $as_echo "$as_me: error: oops! no getenv ?!?" >&2;}
    5030    { (exit 1); exit 1; }; }
    5031 fi
    5032 
    5033 
    5034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    5035 
    5036 
    5037 
    5038 
    5039 
    5040 
    5041 
    5042 
    5043 
    5044 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    5045                   inttypes.h stdint.h unistd.h
    5046 do
    5047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5049 $as_echo_n "checking for $ac_header... " >&6; }
    5050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5051   $as_echo_n "(cached) " >&6
    5052 else
    5053   cat >conftest.$ac_ext <<_ACEOF
    5054 /* confdefs.h.  */
    5055 _ACEOF
    5056 cat confdefs.h >>conftest.$ac_ext
    5057 cat >>conftest.$ac_ext <<_ACEOF
    5058 /* end confdefs.h.  */
    5059 $ac_includes_default
    5060 
    5061 #include <$ac_header>
    5062 _ACEOF
    5063 rm -f conftest.$ac_objext
    5064 if { (ac_try="$ac_compile"
    5065 case "(($ac_try" in
    5066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5067   *) ac_try_echo=$ac_try;;
    5068 esac
    5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5070 $as_echo "$ac_try_echo") >&5
    5071   (eval "$ac_compile") 2>conftest.er1
    5072   ac_status=$?
    5073   grep -v '^ *+' conftest.er1 >conftest.err
    5074   rm -f conftest.er1
    5075   cat conftest.err >&5
    5076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5077   (exit $ac_status); } && {
    5078          test -z "$ac_cxx_werror_flag" ||
    5079          test ! -s conftest.err
    5080        } && test -s conftest.$ac_objext; then
    5081   eval "$as_ac_Header=yes"
    5082 else
    5083   $as_echo "$as_me: failed program was:" >&5
    5084 sed 's/^/| /' conftest.$ac_ext >&5
    5085 
    5086         eval "$as_ac_Header=no"
    5087 fi
    5088 
    5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5090 fi
    5091 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5092                  $as_echo "$as_val"'`
    5093                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5094 $as_echo "$ac_res" >&6; }
    5095 as_val=`eval 'as_val=${'$as_ac_Header'}
    5096                  $as_echo "$as_val"'`
    5097    if test "x$as_val" = x""yes; then
    5098   cat >>confdefs.h <<_ACEOF
    5099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5100 _ACEOF
    5101 
    5102 fi
    5103 
    5104 done
     4761#define HAVE_GETTIMEOFDAY 1
     4762_ACEOF
     4763
     4764fi
     4765done
     4766
     4767ac_fn_cxx_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
     4768if test "x$ac_cv_func_localtime" = xyes; then :
     4769
     4770else
     4771  as_fn_error $? "oops! no localtime ?!?" "$LINENO" 5
     4772fi
     4773
     4774ac_fn_cxx_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
     4775if test "x$ac_cv_func_getenv" = xyes; then :
     4776
     4777else
     4778  as_fn_error $? "oops! no getenv ?!?" "$LINENO" 5
     4779fi
    51054780
    51064781
     
    51104785ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    51114786ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    5112 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    51134788$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    51144789if test -z "$CXXCPP"; then
    5115   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     4790  if ${ac_cv_prog_CXXCPP+:} false; then :
    51164791  $as_echo_n "(cached) " >&6
    51174792else
     
    51284803  # On the NeXT, cc -E runs the code through the compiler's parser,
    51294804  # not just through cpp. "Syntax error" is here to catch this case.
    5130   cat >conftest.$ac_ext <<_ACEOF
    5131 /* confdefs.h.  */
    5132 _ACEOF
    5133 cat confdefs.h >>conftest.$ac_ext
    5134 cat >>conftest.$ac_ext <<_ACEOF
     4805  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51354806/* end confdefs.h.  */
    51364807#ifdef __STDC__
     
    51414812                     Syntax error
    51424813_ACEOF
    5143 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5144 case "(($ac_try" in
    5145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5146   *) ac_try_echo=$ac_try;;
    5147 esac
    5148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5149 $as_echo "$ac_try_echo") >&5
    5150   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5151   ac_status=$?
    5152   grep -v '^ *+' conftest.er1 >conftest.err
    5153   rm -f conftest.er1
    5154   cat conftest.err >&5
    5155   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5156   (exit $ac_status); } >/dev/null && {
    5157          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5158          test ! -s conftest.err
    5159        }; then
    5160   :
    5161 else
    5162   $as_echo "$as_me: failed program was:" >&5
    5163 sed 's/^/| /' conftest.$ac_ext >&5
    5164 
     4814if ac_fn_cxx_try_cpp "$LINENO"; then :
     4815
     4816else
    51654817  # Broken: fails on valid input.
    51664818continue
    51674819fi
    5168 
    5169 rm -f conftest.err conftest.$ac_ext
     4820rm -f conftest.err conftest.i conftest.$ac_ext
    51704821
    51714822  # OK, works on sane cases.  Now check whether nonexistent headers
    51724823  # can be detected and how.
    5173   cat >conftest.$ac_ext <<_ACEOF
    5174 /* confdefs.h.  */
    5175 _ACEOF
    5176 cat confdefs.h >>conftest.$ac_ext
    5177 cat >>conftest.$ac_ext <<_ACEOF
     4824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51784825/* end confdefs.h.  */
    51794826#include <ac_nonexistent.h>
    51804827_ACEOF
    5181 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5182 case "(($ac_try" in
    5183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5184   *) ac_try_echo=$ac_try;;
    5185 esac
    5186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5187 $as_echo "$ac_try_echo") >&5
    5188   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5189   ac_status=$?
    5190   grep -v '^ *+' conftest.er1 >conftest.err
    5191   rm -f conftest.er1
    5192   cat conftest.err >&5
    5193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5194   (exit $ac_status); } >/dev/null && {
    5195          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5196          test ! -s conftest.err
    5197        }; then
     4828if ac_fn_cxx_try_cpp "$LINENO"; then :
    51984829  # Broken: success on invalid input.
    51994830continue
    52004831else
    5201   $as_echo "$as_me: failed program was:" >&5
    5202 sed 's/^/| /' conftest.$ac_ext >&5
    5203 
    52044832  # Passes both tests.
    52054833ac_preproc_ok=:
    52064834break
    52074835fi
    5208 
    5209 rm -f conftest.err conftest.$ac_ext
     4836rm -f conftest.err conftest.i conftest.$ac_ext
    52104837
    52114838done
    52124839# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5213 rm -f conftest.err conftest.$ac_ext
    5214 if $ac_preproc_ok; then
     4840rm -f conftest.i conftest.err conftest.$ac_ext
     4841if $ac_preproc_ok; then :
    52154842  break
    52164843fi
     
    52244851  ac_cv_prog_CXXCPP=$CXXCPP
    52254852fi
    5226 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    52274854$as_echo "$CXXCPP" >&6; }
    52284855ac_preproc_ok=false
     
    52354862  # On the NeXT, cc -E runs the code through the compiler's parser,
    52364863  # not just through cpp. "Syntax error" is here to catch this case.
    5237   cat >conftest.$ac_ext <<_ACEOF
    5238 /* confdefs.h.  */
    5239 _ACEOF
    5240 cat confdefs.h >>conftest.$ac_ext
    5241 cat >>conftest.$ac_ext <<_ACEOF
     4864  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52424865/* end confdefs.h.  */
    52434866#ifdef __STDC__
     
    52484871                     Syntax error
    52494872_ACEOF
    5250 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5251 case "(($ac_try" in
    5252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5253   *) ac_try_echo=$ac_try;;
    5254 esac
    5255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5256 $as_echo "$ac_try_echo") >&5
    5257   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5258   ac_status=$?
    5259   grep -v '^ *+' conftest.er1 >conftest.err
    5260   rm -f conftest.er1
    5261   cat conftest.err >&5
    5262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5263   (exit $ac_status); } >/dev/null && {
    5264          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5265          test ! -s conftest.err
    5266        }; then
    5267   :
    5268 else
    5269   $as_echo "$as_me: failed program was:" >&5
    5270 sed 's/^/| /' conftest.$ac_ext >&5
    5271 
     4873if ac_fn_cxx_try_cpp "$LINENO"; then :
     4874
     4875else
    52724876  # Broken: fails on valid input.
    52734877continue
    52744878fi
    5275 
    5276 rm -f conftest.err conftest.$ac_ext
     4879rm -f conftest.err conftest.i conftest.$ac_ext
    52774880
    52784881  # OK, works on sane cases.  Now check whether nonexistent headers
    52794882  # can be detected and how.
    5280   cat >conftest.$ac_ext <<_ACEOF
    5281 /* confdefs.h.  */
    5282 _ACEOF
    5283 cat confdefs.h >>conftest.$ac_ext
    5284 cat >>conftest.$ac_ext <<_ACEOF
     4883  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52854884/* end confdefs.h.  */
    52864885#include <ac_nonexistent.h>
    52874886_ACEOF
    5288 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5289 case "(($ac_try" in
    5290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5291   *) ac_try_echo=$ac_try;;
    5292 esac
    5293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5294 $as_echo "$ac_try_echo") >&5
    5295   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5296   ac_status=$?
    5297   grep -v '^ *+' conftest.er1 >conftest.err
    5298   rm -f conftest.er1
    5299   cat conftest.err >&5
    5300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5301   (exit $ac_status); } >/dev/null && {
    5302          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5303          test ! -s conftest.err
    5304        }; then
     4887if ac_fn_cxx_try_cpp "$LINENO"; then :
    53054888  # Broken: success on invalid input.
    53064889continue
    53074890else
    5308   $as_echo "$as_me: failed program was:" >&5
    5309 sed 's/^/| /' conftest.$ac_ext >&5
    5310 
    53114891  # Passes both tests.
    53124892ac_preproc_ok=:
    53134893break
    53144894fi
    5315 
    5316 rm -f conftest.err conftest.$ac_ext
     4895rm -f conftest.err conftest.i conftest.$ac_ext
    53174896
    53184897done
    53194898# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5320 rm -f conftest.err conftest.$ac_ext
    5321 if $ac_preproc_ok; then
    5322   :
    5323 else
    5324   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     4899rm -f conftest.i conftest.err conftest.$ac_ext
     4900if $ac_preproc_ok; then :
     4901
     4902else
     4903  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    53254904$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5326 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5327 See \`config.log' for more details." >&5
    5328 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    5329 See \`config.log' for more details." >&2;}
    5330    { (exit 1); exit 1; }; }; }
     4905as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4906See \`config.log' for more details" "$LINENO" 5; }
    53314907fi
    53324908
     
    53384914
    53394915
    5340 
    5341 for ac_header in sys/sysinfo.h
    5342 do
    5343 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5345   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5346 $as_echo_n "checking for $ac_header... " >&6; }
    5347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5348   $as_echo_n "(cached) " >&6
    5349 fi
    5350 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5351                  $as_echo "$as_val"'`
    5352                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5353 $as_echo "$ac_res" >&6; }
    5354 else
    5355   # Is the header compilable?
    5356 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5357 $as_echo_n "checking $ac_header usability... " >&6; }
    5358 cat >conftest.$ac_ext <<_ACEOF
    5359 /* confdefs.h.  */
    5360 _ACEOF
    5361 cat confdefs.h >>conftest.$ac_ext
    5362 cat >>conftest.$ac_ext <<_ACEOF
    5363 /* end confdefs.h.  */
    5364 $ac_includes_default
    5365 #include <$ac_header>
    5366 _ACEOF
    5367 rm -f conftest.$ac_objext
    5368 if { (ac_try="$ac_compile"
    5369 case "(($ac_try" in
    5370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5371   *) ac_try_echo=$ac_try;;
    5372 esac
    5373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5374 $as_echo "$ac_try_echo") >&5
    5375   (eval "$ac_compile") 2>conftest.er1
    5376   ac_status=$?
    5377   grep -v '^ *+' conftest.er1 >conftest.err
    5378   rm -f conftest.er1
    5379   cat conftest.err >&5
    5380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5381   (exit $ac_status); } && {
    5382          test -z "$ac_cxx_werror_flag" ||
    5383          test ! -s conftest.err
    5384        } && test -s conftest.$ac_objext; then
    5385   ac_header_compiler=yes
    5386 else
    5387   $as_echo "$as_me: failed program was:" >&5
    5388 sed 's/^/| /' conftest.$ac_ext >&5
    5389 
    5390         ac_header_compiler=no
    5391 fi
    5392 
    5393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5394 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5395 $as_echo "$ac_header_compiler" >&6; }
    5396 
    5397 # Is the header present?
    5398 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5399 $as_echo_n "checking $ac_header presence... " >&6; }
    5400 cat >conftest.$ac_ext <<_ACEOF
    5401 /* confdefs.h.  */
    5402 _ACEOF
    5403 cat confdefs.h >>conftest.$ac_ext
    5404 cat >>conftest.$ac_ext <<_ACEOF
    5405 /* end confdefs.h.  */
    5406 #include <$ac_header>
    5407 _ACEOF
    5408 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5409 case "(($ac_try" in
    5410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5411   *) ac_try_echo=$ac_try;;
    5412 esac
    5413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5414 $as_echo "$ac_try_echo") >&5
    5415   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5416   ac_status=$?
    5417   grep -v '^ *+' conftest.er1 >conftest.err
    5418   rm -f conftest.er1
    5419   cat conftest.err >&5
    5420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5421   (exit $ac_status); } >/dev/null && {
    5422          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5423          test ! -s conftest.err
    5424        }; then
    5425   ac_header_preproc=yes
    5426 else
    5427   $as_echo "$as_me: failed program was:" >&5
    5428 sed 's/^/| /' conftest.$ac_ext >&5
    5429 
    5430   ac_header_preproc=no
    5431 fi
    5432 
    5433 rm -f conftest.err conftest.$ac_ext
    5434 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5435 $as_echo "$ac_header_preproc" >&6; }
    5436 
    5437 # So?  What about this header?
    5438 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5439   yes:no: )
    5440     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5441 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5442     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5443 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5444     ac_header_preproc=yes
    5445     ;;
    5446   no:yes:* )
    5447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5448 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5449     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5450 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5451     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5452 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5453     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5454 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5455     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5456 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5457     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5458 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5459     ( cat <<\_ASBOX
    5460 ## ----------------------------------- ##
    5461 ## Report this to rappture@nanohub.org ##
    5462 ## ----------------------------------- ##
    5463 _ASBOX
    5464      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5465     ;;
    5466 esac
    5467 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5468 $as_echo_n "checking for $ac_header... " >&6; }
    5469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5470   $as_echo_n "(cached) " >&6
    5471 else
    5472   eval "$as_ac_Header=\$ac_header_preproc"
    5473 fi
    5474 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5475                  $as_echo "$as_val"'`
    5476                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5477 $as_echo "$ac_res" >&6; }
    5478 
    5479 fi
    5480 as_val=`eval 'as_val=${'$as_ac_Header'}
    5481                  $as_echo "$as_val"'`
    5482    if test "x$as_val" = x""yes; then
     4916# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4917for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4918                  inttypes.h stdint.h unistd.h
     4919do :
     4920  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4921ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4922"
     4923if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    54834924  cat >>confdefs.h <<_ACEOF
    54844925#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    54904931
    54914932
    5492 
    5493 { $as_echo "$as_me:$LINENO: checking for clrtoeol in -lncurses" >&5
     4933for ac_header in sys/sysinfo.h
     4934do :
     4935  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4936if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
     4937  cat >>confdefs.h <<_ACEOF
     4938#define HAVE_SYS_SYSINFO_H 1
     4939_ACEOF
     4940
     4941fi
     4942
     4943done
     4944
     4945
     4946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clrtoeol in -lncurses" >&5
    54944947$as_echo_n "checking for clrtoeol in -lncurses... " >&6; }
    5495 if test "${ac_cv_lib_ncurses_clrtoeol+set}" = set; then
     4948if ${ac_cv_lib_ncurses_clrtoeol+:} false; then :
    54964949  $as_echo_n "(cached) " >&6
    54974950else
    54984951  ac_check_lib_save_LIBS=$LIBS
    54994952LIBS="-lncurses  $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
     4953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55054954/* end confdefs.h.  */
    55064955
     
    55204969}
    55214970_ACEOF
    5522 rm -f conftest.$ac_objext conftest$ac_exeext
    5523 if { (ac_try="$ac_link"
    5524 case "(($ac_try" in
    5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5526   *) ac_try_echo=$ac_try;;
    5527 esac
    5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5529 $as_echo "$ac_try_echo") >&5
    5530   (eval "$ac_link") 2>conftest.er1
    5531   ac_status=$?
    5532   grep -v '^ *+' conftest.er1 >conftest.err
    5533   rm -f conftest.er1
    5534   cat conftest.err >&5
    5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5536   (exit $ac_status); } && {
    5537          test -z "$ac_cxx_werror_flag" ||
    5538          test ! -s conftest.err
    5539        } && test -s conftest$ac_exeext && {
    5540          test "$cross_compiling" = yes ||
    5541          $as_test_x conftest$ac_exeext
    5542        }; then
     4971if ac_fn_cxx_try_link "$LINENO"; then :
    55434972  ac_cv_lib_ncurses_clrtoeol=yes
    55444973else
    5545   $as_echo "$as_me: failed program was:" >&5
    5546 sed 's/^/| /' conftest.$ac_ext >&5
    5547 
    5548         ac_cv_lib_ncurses_clrtoeol=no
    5549 fi
    5550 
    5551 rm -rf conftest.dSYM
    5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5553       conftest$ac_exeext conftest.$ac_ext
     4974  ac_cv_lib_ncurses_clrtoeol=no
     4975fi
     4976rm -f core conftest.err conftest.$ac_objext \
     4977    conftest$ac_exeext conftest.$ac_ext
    55544978LIBS=$ac_check_lib_save_LIBS
    55554979fi
    5556 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_clrtoeol" >&5
     4980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_clrtoeol" >&5
    55574981$as_echo "$ac_cv_lib_ncurses_clrtoeol" >&6; }
    5558 if test "x$ac_cv_lib_ncurses_clrtoeol" = x""yes; then
     4982if test "x$ac_cv_lib_ncurses_clrtoeol" = xyes; then :
    55594983  cat >>confdefs.h <<_ACEOF
    55604984#define HAVE_LIBNCURSES 1
     
    55644988
    55654989else
    5566   { { $as_echo "$as_me:$LINENO: error: ncurses library missing?" >&5
    5567 $as_echo "$as_me: error: ncurses library missing?" >&2;}
    5568    { (exit 1); exit 1; }; }
    5569 fi
    5570 
     4990  as_fn_error $? "ncurses library missing?" "$LINENO" 5
     4991fi
    55714992
    55724993for ac_header in ncurses.h
    5573 do
    5574 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5576   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5577 $as_echo_n "checking for $ac_header... " >&6; }
    5578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5579   $as_echo_n "(cached) " >&6
    5580 fi
    5581 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5582                  $as_echo "$as_val"'`
    5583                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5584 $as_echo "$ac_res" >&6; }
    5585 else
    5586   # Is the header compilable?
    5587 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5588 $as_echo_n "checking $ac_header usability... " >&6; }
    5589 cat >conftest.$ac_ext <<_ACEOF
    5590 /* confdefs.h.  */
    5591 _ACEOF
    5592 cat confdefs.h >>conftest.$ac_ext
    5593 cat >>conftest.$ac_ext <<_ACEOF
    5594 /* end confdefs.h.  */
    5595 $ac_includes_default
    5596 #include <$ac_header>
    5597 _ACEOF
    5598 rm -f conftest.$ac_objext
    5599 if { (ac_try="$ac_compile"
    5600 case "(($ac_try" in
    5601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5602   *) ac_try_echo=$ac_try;;
    5603 esac
    5604 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5605 $as_echo "$ac_try_echo") >&5
    5606   (eval "$ac_compile") 2>conftest.er1
    5607   ac_status=$?
    5608   grep -v '^ *+' conftest.er1 >conftest.err
    5609   rm -f conftest.er1
    5610   cat conftest.err >&5
    5611   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5612   (exit $ac_status); } && {
    5613          test -z "$ac_cxx_werror_flag" ||
    5614          test ! -s conftest.err
    5615        } && test -s conftest.$ac_objext; then
    5616   ac_header_compiler=yes
    5617 else
    5618   $as_echo "$as_me: failed program was:" >&5
    5619 sed 's/^/| /' conftest.$ac_ext >&5
    5620 
    5621         ac_header_compiler=no
    5622 fi
    5623 
    5624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5625 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5626 $as_echo "$ac_header_compiler" >&6; }
    5627 
    5628 # Is the header present?
    5629 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5630 $as_echo_n "checking $ac_header presence... " >&6; }
    5631 cat >conftest.$ac_ext <<_ACEOF
    5632 /* confdefs.h.  */
    5633 _ACEOF
    5634 cat confdefs.h >>conftest.$ac_ext
    5635 cat >>conftest.$ac_ext <<_ACEOF
    5636 /* end confdefs.h.  */
    5637 #include <$ac_header>
    5638 _ACEOF
    5639 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5640 case "(($ac_try" in
    5641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5642   *) ac_try_echo=$ac_try;;
    5643 esac
    5644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5645 $as_echo "$ac_try_echo") >&5
    5646   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5647   ac_status=$?
    5648   grep -v '^ *+' conftest.er1 >conftest.err
    5649   rm -f conftest.er1
    5650   cat conftest.err >&5
    5651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5652   (exit $ac_status); } >/dev/null && {
    5653          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5654          test ! -s conftest.err
    5655        }; then
    5656   ac_header_preproc=yes
    5657 else
    5658   $as_echo "$as_me: failed program was:" >&5
    5659 sed 's/^/| /' conftest.$ac_ext >&5
    5660 
    5661   ac_header_preproc=no
    5662 fi
    5663 
    5664 rm -f conftest.err conftest.$ac_ext
    5665 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5666 $as_echo "$ac_header_preproc" >&6; }
    5667 
    5668 # So?  What about this header?
    5669 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5670   yes:no: )
    5671     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5672 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5673     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5674 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5675     ac_header_preproc=yes
    5676     ;;
    5677   no:yes:* )
    5678     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5679 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5680     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5681 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5682     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5683 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5684     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5685 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5686     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5687 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5688     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5689 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5690     ( cat <<\_ASBOX
    5691 ## ----------------------------------- ##
    5692 ## Report this to rappture@nanohub.org ##
    5693 ## ----------------------------------- ##
    5694 _ASBOX
    5695      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5696     ;;
    5697 esac
    5698 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5699 $as_echo_n "checking for $ac_header... " >&6; }
    5700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5701   $as_echo_n "(cached) " >&6
    5702 else
    5703   eval "$as_ac_Header=\$ac_header_preproc"
    5704 fi
    5705 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5706                  $as_echo "$as_val"'`
    5707                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5708 $as_echo "$ac_res" >&6; }
    5709 
    5710 fi
    5711 as_val=`eval 'as_val=${'$as_ac_Header'}
    5712                  $as_echo "$as_val"'`
    5713    if test "x$as_val" = x""yes; then
     4994do :
     4995  ac_fn_cxx_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
     4996if test "x$ac_cv_header_ncurses_h" = xyes; then :
    57144997  cat >>confdefs.h <<_ACEOF
    5715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5716 _ACEOF
    5717 
    5718 else
    5719   { $as_echo "$as_me:$LINENO: WARNING: ncurses headers missing ?" >&5
     4998#define HAVE_NCURSES_H 1
     4999_ACEOF
     5000
     5001else
     5002  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ncurses headers missing ?" >&5
    57205003$as_echo "$as_me: WARNING: ncurses headers missing ?" >&2;}
    57215004fi
     
    57245007
    57255008
    5726 
    5727 { $as_echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     5009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
    57285010$as_echo_n "checking for main in -lstdc++... " >&6; }
    5729 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     5011if ${ac_cv_lib_stdcpp_main+:} false; then :
    57305012  $as_echo_n "(cached) " >&6
    57315013else
    57325014  ac_check_lib_save_LIBS=$LIBS
    57335015LIBS="-lstdc++  $LIBS"
    5734 cat >conftest.$ac_ext <<_ACEOF
    5735 /* confdefs.h.  */
    5736 _ACEOF
    5737 cat confdefs.h >>conftest.$ac_ext
    5738 cat >>conftest.$ac_ext <<_ACEOF
     5016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57395017/* end confdefs.h.  */
    57405018
     
    57485026}
    57495027_ACEOF
    5750 rm -f conftest.$ac_objext conftest$ac_exeext
    5751 if { (ac_try="$ac_link"
    5752 case "(($ac_try" in
    5753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5754   *) ac_try_echo=$ac_try;;
    5755 esac
    5756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5757 $as_echo "$ac_try_echo") >&5
    5758   (eval "$ac_link") 2>conftest.er1
    5759   ac_status=$?
    5760   grep -v '^ *+' conftest.er1 >conftest.err
    5761   rm -f conftest.er1
    5762   cat conftest.err >&5
    5763   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5764   (exit $ac_status); } && {
    5765          test -z "$ac_cxx_werror_flag" ||
    5766          test ! -s conftest.err
    5767        } && test -s conftest$ac_exeext && {
    5768          test "$cross_compiling" = yes ||
    5769          $as_test_x conftest$ac_exeext
    5770        }; then
     5028if ac_fn_cxx_try_link "$LINENO"; then :
    57715029  ac_cv_lib_stdcpp_main=yes
    57725030else
    5773   $as_echo "$as_me: failed program was:" >&5
    5774 sed 's/^/| /' conftest.$ac_ext >&5
    5775 
    5776         ac_cv_lib_stdcpp_main=no
    5777 fi
    5778 
    5779 rm -rf conftest.dSYM
    5780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5781       conftest$ac_exeext conftest.$ac_ext
     5031  ac_cv_lib_stdcpp_main=no
     5032fi
     5033rm -f core conftest.err conftest.$ac_objext \
     5034    conftest$ac_exeext conftest.$ac_ext
    57825035LIBS=$ac_check_lib_save_LIBS
    57835036fi
    5784 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     5037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
    57855038$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
    5786 if test "x$ac_cv_lib_stdcpp_main" = x""yes; then
     5039if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    57875040  cat >>confdefs.h <<_ACEOF
    57885041#define HAVE_LIBSTDC__ 1
     
    57925045
    57935046else
    5794   { { $as_echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5795 $as_echo "$as_me: error: librappture requires libstdc++" >&2;}
    5796    { (exit 1); exit 1; }; }
    5797 fi
    5798 
     5047  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     5048fi
    57995049
    58005050for ac_header in algorithm
    5801 do
    5802 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5804   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5805 $as_echo_n "checking for $ac_header... " >&6; }
    5806 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5807   $as_echo_n "(cached) " >&6
    5808 fi
    5809 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5810                  $as_echo "$as_val"'`
    5811                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5812 $as_echo "$ac_res" >&6; }
    5813 else
    5814   # Is the header compilable?
    5815 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5816 $as_echo_n "checking $ac_header usability... " >&6; }
    5817 cat >conftest.$ac_ext <<_ACEOF
    5818 /* confdefs.h.  */
    5819 _ACEOF
    5820 cat confdefs.h >>conftest.$ac_ext
    5821 cat >>conftest.$ac_ext <<_ACEOF
    5822 /* end confdefs.h.  */
    5823 $ac_includes_default
    5824 #include <$ac_header>
    5825 _ACEOF
    5826 rm -f conftest.$ac_objext
    5827 if { (ac_try="$ac_compile"
    5828 case "(($ac_try" in
    5829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5830   *) ac_try_echo=$ac_try;;
    5831 esac
    5832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5833 $as_echo "$ac_try_echo") >&5
    5834   (eval "$ac_compile") 2>conftest.er1
    5835   ac_status=$?
    5836   grep -v '^ *+' conftest.er1 >conftest.err
    5837   rm -f conftest.er1
    5838   cat conftest.err >&5
    5839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5840   (exit $ac_status); } && {
    5841          test -z "$ac_cxx_werror_flag" ||
    5842          test ! -s conftest.err
    5843        } && test -s conftest.$ac_objext; then
    5844   ac_header_compiler=yes
    5845 else
    5846   $as_echo "$as_me: failed program was:" >&5
    5847 sed 's/^/| /' conftest.$ac_ext >&5
    5848 
    5849         ac_header_compiler=no
    5850 fi
    5851 
    5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5853 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5854 $as_echo "$ac_header_compiler" >&6; }
    5855 
    5856 # Is the header present?
    5857 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5858 $as_echo_n "checking $ac_header presence... " >&6; }
    5859 cat >conftest.$ac_ext <<_ACEOF
    5860 /* confdefs.h.  */
    5861 _ACEOF
    5862 cat confdefs.h >>conftest.$ac_ext
    5863 cat >>conftest.$ac_ext <<_ACEOF
    5864 /* end confdefs.h.  */
    5865 #include <$ac_header>
    5866 _ACEOF
    5867 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5868 case "(($ac_try" in
    5869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5870   *) ac_try_echo=$ac_try;;
    5871 esac
    5872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5873 $as_echo "$ac_try_echo") >&5
    5874   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5875   ac_status=$?
    5876   grep -v '^ *+' conftest.er1 >conftest.err
    5877   rm -f conftest.er1
    5878   cat conftest.err >&5
    5879   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5880   (exit $ac_status); } >/dev/null && {
    5881          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5882          test ! -s conftest.err
    5883        }; then
    5884   ac_header_preproc=yes
    5885 else
    5886   $as_echo "$as_me: failed program was:" >&5
    5887 sed 's/^/| /' conftest.$ac_ext >&5
    5888 
    5889   ac_header_preproc=no
    5890 fi
    5891 
    5892 rm -f conftest.err conftest.$ac_ext
    5893 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5894 $as_echo "$ac_header_preproc" >&6; }
    5895 
    5896 # So?  What about this header?
    5897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5898   yes:no: )
    5899     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5900 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5901     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5902 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5903     ac_header_preproc=yes
    5904     ;;
    5905   no:yes:* )
    5906     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5907 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5908     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5909 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5910     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5911 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5912     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5913 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5914     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5915 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5916     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5917 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5918     ( cat <<\_ASBOX
    5919 ## ----------------------------------- ##
    5920 ## Report this to rappture@nanohub.org ##
    5921 ## ----------------------------------- ##
    5922 _ASBOX
    5923      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5924     ;;
    5925 esac
    5926 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5927 $as_echo_n "checking for $ac_header... " >&6; }
    5928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5929   $as_echo_n "(cached) " >&6
    5930 else
    5931   eval "$as_ac_Header=\$ac_header_preproc"
    5932 fi
    5933 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5934                  $as_echo "$as_val"'`
    5935                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5936 $as_echo "$ac_res" >&6; }
    5937 
    5938 fi
    5939 as_val=`eval 'as_val=${'$as_ac_Header'}
    5940                  $as_echo "$as_val"'`
    5941    if test "x$as_val" = x""yes; then
     5051do :
     5052  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     5053if test "x$ac_cv_header_algorithm" = xyes; then :
    59425054  cat >>confdefs.h <<_ACEOF
    5943 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5944 _ACEOF
    5945 
    5946 else
    5947   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5055#define HAVE_ALGORITHM 1
     5056_ACEOF
     5057
     5058else
     5059  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    59485060$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    59495061fi
     
    59515063done
    59525064
    5953 
    59545065for ac_header in cctype
    5955 do
    5956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5958   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    5959 $as_echo_n "checking for $ac_header... " >&6; }
    5960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5961   $as_echo_n "(cached) " >&6
    5962 fi
    5963 ac_res=`eval 'as_val=${'$as_ac_Header'}
    5964                  $as_echo "$as_val"'`
    5965                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    5966 $as_echo "$ac_res" >&6; }
    5967 else
    5968   # Is the header compilable?
    5969 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5970 $as_echo_n "checking $ac_header usability... " >&6; }
    5971 cat >conftest.$ac_ext <<_ACEOF
    5972 /* confdefs.h.  */
    5973 _ACEOF
    5974 cat confdefs.h >>conftest.$ac_ext
    5975 cat >>conftest.$ac_ext <<_ACEOF
    5976 /* end confdefs.h.  */
    5977 $ac_includes_default
    5978 #include <$ac_header>
    5979 _ACEOF
    5980 rm -f conftest.$ac_objext
    5981 if { (ac_try="$ac_compile"
    5982 case "(($ac_try" in
    5983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5984   *) ac_try_echo=$ac_try;;
    5985 esac
    5986 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5987 $as_echo "$ac_try_echo") >&5
    5988   (eval "$ac_compile") 2>conftest.er1
    5989   ac_status=$?
    5990   grep -v '^ *+' conftest.er1 >conftest.err
    5991   rm -f conftest.er1
    5992   cat conftest.err >&5
    5993   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5994   (exit $ac_status); } && {
    5995          test -z "$ac_cxx_werror_flag" ||
    5996          test ! -s conftest.err
    5997        } && test -s conftest.$ac_objext; then
    5998   ac_header_compiler=yes
    5999 else
    6000   $as_echo "$as_me: failed program was:" >&5
    6001 sed 's/^/| /' conftest.$ac_ext >&5
    6002 
    6003         ac_header_compiler=no
    6004 fi
    6005 
    6006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6007 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6008 $as_echo "$ac_header_compiler" >&6; }
    6009 
    6010 # Is the header present?
    6011 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6012 $as_echo_n "checking $ac_header presence... " >&6; }
    6013 cat >conftest.$ac_ext <<_ACEOF
    6014 /* confdefs.h.  */
    6015 _ACEOF
    6016 cat confdefs.h >>conftest.$ac_ext
    6017 cat >>conftest.$ac_ext <<_ACEOF
    6018 /* end confdefs.h.  */
    6019 #include <$ac_header>
    6020 _ACEOF
    6021 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6022 case "(($ac_try" in
    6023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6024   *) ac_try_echo=$ac_try;;
    6025 esac
    6026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6027 $as_echo "$ac_try_echo") >&5
    6028   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6029   ac_status=$?
    6030   grep -v '^ *+' conftest.er1 >conftest.err
    6031   rm -f conftest.er1
    6032   cat conftest.err >&5
    6033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6034   (exit $ac_status); } >/dev/null && {
    6035          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6036          test ! -s conftest.err
    6037        }; then
    6038   ac_header_preproc=yes
    6039 else
    6040   $as_echo "$as_me: failed program was:" >&5
    6041 sed 's/^/| /' conftest.$ac_ext >&5
    6042 
    6043   ac_header_preproc=no
    6044 fi
    6045 
    6046 rm -f conftest.err conftest.$ac_ext
    6047 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6048 $as_echo "$ac_header_preproc" >&6; }
    6049 
    6050 # So?  What about this header?
    6051 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6052   yes:no: )
    6053     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6054 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6055     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6057     ac_header_preproc=yes
    6058     ;;
    6059   no:yes:* )
    6060     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6061 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6062     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6063 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6064     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6065 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6066     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6067 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6068     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6069 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6070     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6071 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6072     ( cat <<\_ASBOX
    6073 ## ----------------------------------- ##
    6074 ## Report this to rappture@nanohub.org ##
    6075 ## ----------------------------------- ##
    6076 _ASBOX
    6077      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6078     ;;
    6079 esac
    6080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6081 $as_echo_n "checking for $ac_header... " >&6; }
    6082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6083   $as_echo_n "(cached) " >&6
    6084 else
    6085   eval "$as_ac_Header=\$ac_header_preproc"
    6086 fi
    6087 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6088                  $as_echo "$as_val"'`
    6089                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6090 $as_echo "$ac_res" >&6; }
    6091 
    6092 fi
    6093 as_val=`eval 'as_val=${'$as_ac_Header'}
    6094                  $as_echo "$as_val"'`
    6095    if test "x$as_val" = x""yes; then
     5066do :
     5067  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     5068if test "x$ac_cv_header_cctype" = xyes; then :
    60965069  cat >>confdefs.h <<_ACEOF
    6097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6098 _ACEOF
    6099 
    6100 else
    6101   { $as_echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
     5070#define HAVE_CCTYPE 1
     5071_ACEOF
     5072
     5073else
     5074  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
    61025075$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    61035076fi
     
    61055078done
    61065079
    6107 
    61085080for ac_header in cfloat
    6109 do
    6110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6112   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    6113 $as_echo_n "checking for $ac_header... " >&6; }
    6114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6115   $as_echo_n "(cached) " >&6
    6116 fi
    6117 ac_res=`eval 'as_val=${'$as_ac_Header'}
    6118                  $as_echo "$as_val"'`
    6119                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    6120 $as_echo "$ac_res" >&6; }
    6121 else
    6122   # Is the header compilable?
    6123 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6124 $as_echo_n "checking $ac_header usability... " >&6; }
    6125 cat >conftest.$ac_ext <<_ACEOF
    6126 /* confdefs.h.  */
    6127 _ACEOF
    6128 cat confdefs.h >>conftest.$ac_ext
    6129 cat >>conftest.$ac_ext <<_ACEOF
    6130 /* end confdefs.h.  */
    6131 $ac_includes_default
    6132 #include <$ac_header>
    6133 _ACEOF
    6134 rm -f conftest.$ac_objext
    6135 if { (ac_try="$ac_compile"
    6136 case "(($ac_try" in
    6137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6138   *) ac_try_echo=$ac_try;;
    6139 esac
    6140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6141 $as_echo "$ac_try_echo") >&5
    6142   (eval "$ac_compile") 2>conftest.er1
    6143   ac_status=$?
    6144   grep -v '^ *+' conftest.er1 >conftest.err
    6145   rm -f conftest.er1
    6146 &nb