Changeset 1566


Ignore:
Timestamp:
Sep 14, 2009 3:18:36 PM (15 years ago)
Author:
dkearney
Message:

updates to Rappture::Library and Rappture::Number objects to demo how the library should store objects and generate the xml for those objects upon request. opting for configure() and dump() functions for objects. the object should know how to configure it self from a string of xml, tree object or (in the future) blob of hdf5. added some rudimentary examples of using the library object.

Location:
trunk
Files:
8 added
18 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1548 r1566  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for Rappture 1.1.
     3# Generated by GNU Autoconf 2.64 for Rappture 1.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    77# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
     9# Foundation, Inc.
     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=:
    20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    2123  # is contrary to our usage.  Disable this feature.
    2224  alias -g '${1+"$@"}'='"$@"'
    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
     35
     36as_nl='
     37'
     38export as_nl
     39# Printing a long string crashes Solaris 7 /usr/bin/printf.
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     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
     50  as_echo='printf %s\n'
     51  as_echo_n='printf %s'
     52else
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55    as_echo_n='/usr/ucb/echo -n'
     56  else
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58    as_echo_n_body='eval
     59      arg=$1;
     60      case $arg in #(
     61      *"$as_nl"*)
     62        expr "X$arg" : "X\\(.*\\)$as_nl";
     63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64      esac;
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66    '
     67    export as_echo_n_body
     68    as_echo_n='sh -c $as_echo_n_body as_echo'
     69  fi
     70  export as_echo_body
     71  as_echo='sh -c $as_echo_body as_echo'
     72fi
    4173
    4274# The user is always right.
    4375if test "${PATH_SEPARATOR+set}" != set; then
    44   echo "#! /bin/sh" >conf$$.sh
    45   echo  "exit 0"   >>conf$$.sh
    46   chmod +x conf$$.sh
    47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    48     PATH_SEPARATOR=';'
    49   else
    50     PATH_SEPARATOR=:
    51   fi
    52   rm -f conf$$.sh
    53 fi
    54 
    55 # Support unset when possible.
    56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    57   as_unset=unset
    58 else
    59   as_unset=false
     76  PATH_SEPARATOR=:
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79      PATH_SEPARATOR=';'
     80  }
    6081fi
    6182
     
    6687# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6788# splitting by setting IFS to empty value.)
    68 as_nl='
    69 '
    7089IFS=" ""        $as_nl"
    7190
    7291# Find who we are.  Look in the path if we contain no directory separator.
    73 case $0 in
     92case $0 in #((
    7493  *[\\/]* ) as_myself=$0 ;;
    7594  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    7897  IFS=$as_save_IFS
    7998  test -z "$as_dir" && as_dir=.
    80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    81 done
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     100  done
    82101IFS=$as_save_IFS
    83102
     
    90109fi
    91110if test ! -f "$as_myself"; then
    92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    93   { (exit 1); exit 1; }
    94 fi
    95 
    96 # Work around bugs in pre-3.0 UWIN ksh.
    97 for as_var in ENV MAIL MAILPATH
    98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     112  exit 1
     113fi
     114
     115# Unset variables that we do not need and which cause bugs (e.g. in
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     117# suppresses any "Segmentation fault" message there.  '((' could
     118# trigger a bug in pdksh 5.2.14.
     119for as_var in BASH_ENV ENV MAIL MAILPATH
     120do eval test x\${$as_var+set} = xset \
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    99122done
    100123PS1='$ '
     
    103126
    104127# NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
     128LC_ALL=C
     129export LC_ALL
     130LANGUAGE=C
     131export LANGUAGE
     132
     133# CDPATH.
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     135
     136if test "x$CONFIG_SHELL" = x; then
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     138  emulate sh
     139  NULLCMD=:
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     141  # is contrary to our usage.  Disable this feature.
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     143  setopt NO_GLOB_SUBST
     144else
     145  case \`(set -o) 2>/dev/null\` in #(
     146  *posix*) :
     147    set -o posix ;; #(
     148  *) :
     149     ;;
     150esac
     151fi
     152"
     153  as_required="as_fn_return () { (exit \$1); }
     154as_fn_success () { as_fn_return 0; }
     155as_fn_failure () { as_fn_return 1; }
     156as_fn_ret_success () { return 0; }
     157as_fn_ret_failure () { return 1; }
     158
     159exitcode=0
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     165
     166else
     167  exitcode=1; echo positional parameters were not saved.
     168fi
     169test x\$exitcode = x0 || exit 1"
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     174test \$(( 1 + 1 )) = 2 || exit 1"
     175  if (eval "$as_required") 2>/dev/null; then :
     176  as_have_required=yes
     177else
     178  as_have_required=no
     179fi
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     181
     182else
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     184as_found=false
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    109186do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
     187  IFS=$as_save_IFS
     188  test -z "$as_dir" && as_dir=.
     189  as_found=:
     190  case $as_dir in #(
     191         /*)
     192           for as_base in sh bash ksh sh5; do
     193             # Try only shells that exist, to save several forks.
     194             as_shell=$as_dir/$as_base
     195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     197  CONFIG_SHELL=$as_shell as_have_required=yes
     198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     199  break 2
     200fi
     201fi
     202           done;;
     203       esac
     204  as_found=false
     205done
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     208  CONFIG_SHELL=$SHELL as_have_required=yes
     209fi; }
     210IFS=$as_save_IFS
     211
     212
     213      if test "x$CONFIG_SHELL" != x; then :
     214  # We cannot yet assume a decent shell, so we have to provide a
     215        # neutralization value for shells without unset; and this also
     216        # works around shells that cannot unset nonexistent variables.
     217        BASH_ENV=/dev/null
     218        ENV=/dev/null
     219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     220        export CONFIG_SHELL
     221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     222fi
     223
     224    if test x$as_have_required = xno; then :
     225  $as_echo "$0: This script requires a shell more modern than all"
     226  $as_echo "$0: the shells that I found on your system."
     227  if test x${ZSH_VERSION+set} = xset ; then
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    112230  else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     231    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     232$0: rappture@nanohub.org about your system, including any
     233$0: error possibly output before this message. Then install
     234$0: a modern shell, or manually run the script under such a
     235$0: shell if you do have one."
    114236  fi
    115 done
    116 
    117 # Required to use basename.
     237  exit 1
     238fi
     239fi
     240fi
     241SHELL=${CONFIG_SHELL-/bin/sh}
     242export SHELL
     243# Unset more variables known to interfere with behavior of common tools.
     244CLICOLOR_FORCE= GREP_OPTIONS=
     245unset CLICOLOR_FORCE GREP_OPTIONS
     246
     247## --------------------- ##
     248## M4sh Shell Functions. ##
     249## --------------------- ##
     250# as_fn_unset VAR
     251# ---------------
     252# Portably unset VAR.
     253as_fn_unset ()
     254{
     255  { eval $1=; unset $1;}
     256}
     257as_unset=as_fn_unset
     258
     259# as_fn_set_status STATUS
     260# -----------------------
     261# Set $? to STATUS, without forking.
     262as_fn_set_status ()
     263{
     264  return $1
     265} # as_fn_set_status
     266
     267# as_fn_exit STATUS
     268# -----------------
     269# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     270as_fn_exit ()
     271{
     272  set +e
     273  as_fn_set_status $1
     274  exit $1
     275} # as_fn_exit
     276
     277# as_fn_mkdir_p
     278# -------------
     279# Create "$as_dir" as a directory, including parents if necessary.
     280as_fn_mkdir_p ()
     281{
     282
     283  case $as_dir in #(
     284  -*) as_dir=./$as_dir;;
     285  esac
     286  test -d "$as_dir" || eval $as_mkdir_p || {
     287    as_dirs=
     288    while :; do
     289      case $as_dir in #(
     290      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     291      *) as_qdir=$as_dir;;
     292      esac
     293      as_dirs="'$as_qdir' $as_dirs"
     294      as_dir=`$as_dirname -- "$as_dir" ||
     295$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     296         X"$as_dir" : 'X\(//\)[^/]' \| \
     297         X"$as_dir" : 'X\(//\)$' \| \
     298         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     299$as_echo X"$as_dir" |
     300    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     301            s//\1/
     302            q
     303          }
     304          /^X\(\/\/\)[^/].*/{
     305            s//\1/
     306            q
     307          }
     308          /^X\(\/\/\)$/{
     309            s//\1/
     310            q
     311          }
     312          /^X\(\/\).*/{
     313            s//\1/
     314            q
     315          }
     316          s/.*/./; q'`
     317      test -d "$as_dir" && break
     318    done
     319    test -z "$as_dirs" || eval "mkdir $as_dirs"
     320  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     321
     322
     323} # as_fn_mkdir_p
     324# as_fn_append VAR VALUE
     325# ----------------------
     326# Append the text in VALUE to the end of the definition contained in VAR. Take
     327# advantage of any shell optimizations that allow amortized linear growth over
     328# repeated appends, instead of the typical quadratic growth present in naive
     329# implementations.
     330if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     331  eval 'as_fn_append ()
     332  {
     333    eval $1+=\$2
     334  }'
     335else
     336  as_fn_append ()
     337  {
     338    eval $1=\$$1\$2
     339  }
     340fi # as_fn_append
     341
     342# as_fn_arith ARG...
     343# ------------------
     344# Perform arithmetic evaluation on the ARGs, and store the result in the
     345# global $as_val. Take advantage of shells that can avoid forks. The arguments
     346# must be portable across $(()) and expr.
     347if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     348  eval 'as_fn_arith ()
     349  {
     350    as_val=$(( $* ))
     351  }'
     352else
     353  as_fn_arith ()
     354  {
     355    as_val=`expr "$@" || test $? -eq 1`
     356  }
     357fi # as_fn_arith
     358
     359
     360# as_fn_error ERROR [LINENO LOG_FD]
     361# ---------------------------------
     362# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     363# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     364# script with status $?, using 1 if that was 0.
     365as_fn_error ()
     366{
     367  as_status=$?; test $as_status -eq 0 && as_status=1
     368  if test "$3"; then
     369    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     370    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     371  fi
     372  $as_echo "$as_me: error: $1" >&2
     373  as_fn_exit $as_status
     374} # as_fn_error
     375
    118376if expr a : '\(a\)' >/dev/null 2>&1 &&
    119377   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    129387fi
    130388
    131 
    132 # Name of the executable.
     389if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     390  as_dirname=dirname
     391else
     392  as_dirname=false
     393fi
     394
    133395as_me=`$as_basename -- "$0" ||
    134396$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135397         X"$0" : 'X\(//\)$' \| \
    136398         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
     399$as_echo X/"$0" |
    138400    sed '/^.*\/\([^/][^/]*\)\/*$/{
    139401            s//\1/
     
    150412          s/.*/./; q'`
    151413
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes &&     (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229          /*)
    230            for as_base in sh bash ksh sh5; do
    231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232            done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239          # Try only shells that exist, to save several forks.
    240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261                as_have_required=yes
    262                if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
     414# Avoid depending upon Character Ranges.
     415as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     416as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     417as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     418as_cr_digits='0123456789'
     419as_cr_alnum=$as_cr_Letters$as_cr_digits
     420
     421
     422  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     423  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     424  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     425  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     426  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    440427  sed -n '
    441428    p
     
    454441    ' >$as_me.lineno &&
    455442  chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
     443    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    458444
    459445  # Don't try to exec as it changes $[0], causing all sort of problems
     
    465451}
    466452
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474453ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
     454case `echo -n x` in #(((((
    476455-n*)
    477   case `echo 'x\c'` in
     456  case `echo 'xy\c'` in
    478457  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
     458  xy)  ECHO_C='\c';;
     459  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     460       ECHO_T=' ';;
    480461  esac;;
    481462*)
     
    483464esac
    484465
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492466rm -f conf$$ conf$$.exe conf$$.file
    493467if test -d conf$$.dir; then
     
    495469else
    496470  rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     471  mkdir conf$$.dir 2>/dev/null
     472fi
     473if (echo >conf$$.file) 2>/dev/null; then
     474  if ln -s conf$$.file conf$$ 2>/dev/null; then
     475    as_ln_s='ln -s'
     476    # ... but there are two gotchas:
     477    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     478    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     479    # In both cases, we have to default to `cp -p'.
     480    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     481      as_ln_s='cp -p'
     482  elif ln conf$$.file conf$$ 2>/dev/null; then
     483    as_ln_s=ln
     484  else
    507485    as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
     486  fi
    510487else
    511488  as_ln_s='cp -p'
     
    515492
    516493if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
     494  as_mkdir_p='mkdir -p "$as_dir"'
    518495else
    519496  test -d ./-p && rmdir ./-p
     
    532509    eval sh -c '\''
    533510      if test -d "$1"; then
    534         test -d "$1/.";
     511        test -d "$1/.";
    535512      else
    536         case $1 in
    537         -*)set "./$1";;
     513        case $1 in #(
     514        -*)set "./$1";;
    538515        esac;
    539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     516        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    540517        ???[sx]*):;;*)false;;esac;fi
    541518    '\'' sh
     
    549526# Sed expression to map a string onto a valid variable name.
    550527as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552528
    553529
     
    570546MFLAGS=
    571547MAKEFLAGS=
    572 SHELL=${CONFIG_SHELL-/bin/sh}
    573548
    574549# Identity of this package.
     
    578553PACKAGE_STRING='Rappture 1.1'
    579554PACKAGE_BUGREPORT='rappture@nanohub.org'
     555PACKAGE_URL=''
    580556
    581557# Factoring default headers for most tests.
     
    615591#endif"
    616592
    617 ac_subst_vars='SHELL
     593enable_option_checking=no
     594ac_subst_vars='LTLIBOBJS
     595LIBOBJS
     596subdirs
     597LDFLAGS_DEFAULT
     598CFLAGS_DEFAULT
     599SIZEOF_VOID_P
     600SIZEOF_LONG_LONG
     601SIZEOF_LONG
     602SIZEOF_INT
     603TK_VERSION
     604TCL_VERSION
     605SHLIB_LDFLAGS
     606RP_BASE
     607RUBY_PLATFORM
     608RUBY_VERSION_RV
     609HAVE_RUBY_DEVEL
     610RUBY_EXTRA_LIBS
     611RUBY_SITE_PKG
     612RUBY_LDFLAGS
     613RUBY_CPPFLAGS
     614AWK
     615RUBY_VERSION
     616SED
     617RUBY
     618HAVE_PYTHON_DISTUTILS
     619PYTHON_SITE_PACKAGES
     620PYTHON_INCLUDES
     621PYTHON_VERSION
     622pythondir
     623PYTHON_CPPFLAGS
     624PYTHON
     625PERL_LIBSPEC
     626PERL_VERSION_RV
     627PERL_INSTALLARCHLIB
     628PERL_PRIVLIB
     629PERL_VENDORLIB
     630PERL_CPPFLAGS
     631PERL_CCFLAGS
     632PERL_VERSION
     633PERL_ARCHLIBEXP
     634PERL_ARCHLIB
     635PERL_INCLUDES
     636PERL
     637OCTAVE_VERSION_MAJOR
     638OCTAVE_VERSION
     639MKOCTFILE
     640OCTAVE
     641MEX_ARCH
     642MCC
     643MEXEXT
     644MEX
     645MATLAB
     646TCLSH
     647ENABLE_GUI
     648MAKE
     649INSTALL_STUB_LIB
     650INSTALL_LIB
     651MAKE_STUB_LIB
     652MAKE_LIB
     653SHLIB_SUFFIX
     654SHLIB_CFLAGS
     655SHLIB_LD_LIBS
     656TK_SHLIB_LD_EXTRAS
     657TCL_SHLIB_LD_EXTRAS
     658SHLIB_LD
     659STLIB_LD
     660LD_SEARCH_FLAGS
     661CC_SEARCH_FLAGS
     662LDFLAGS_OPTIMIZE
     663LDFLAGS_DEBUG
     664CFLAGS_WARNING
     665CFLAGS_OPTIMIZE
     666CFLAGS_DEBUG
     667PLAT_SRCS
     668PLAT_OBJS
     669DL_OBJS
     670DL_LIBS
     671AR
     672HAVE_INTTYPES_H
     673CXXCPP
     674EGREP
     675GREP
     676CPP
     677ac_ct_F77
     678FFLAGS
     679F77
     680MKDIR_P
     681LN_S
     682RANLIB
     683ac_ct_CXX
     684CXXFLAGS
     685CXX
     686OBJEXT
     687EXEEXT
     688ac_ct_CC
     689CPPFLAGS
     690LDFLAGS
     691CFLAGS
     692CC
     693SET_MAKE
     694INSTALL_DATA
     695INSTALL_SCRIPT
     696INSTALL_PROGRAM
     697LIB_SEARCH_DIRS
     698target_alias
     699host_alias
     700build_alias
     701LIBS
     702ECHO_T
     703ECHO_N
     704ECHO_C
     705DEFS
     706mandir
     707localedir
     708libdir
     709psdir
     710pdfdir
     711dvidir
     712htmldir
     713infodir
     714docdir
     715oldincludedir
     716includedir
     717localstatedir
     718sharedstatedir
     719sysconfdir
     720datadir
     721datarootdir
     722libexecdir
     723sbindir
     724bindir
     725program_transform_name
     726prefix
     727exec_prefix
     728PACKAGE_URL
     729PACKAGE_BUGREPORT
     730PACKAGE_STRING
     731PACKAGE_VERSION
     732PACKAGE_TARNAME
     733PACKAGE_NAME
    618734PATH_SEPARATOR
    619 PACKAGE_NAME
    620 PACKAGE_TARNAME
    621 PACKAGE_VERSION
    622 PACKAGE_STRING
    623 PACKAGE_BUGREPORT
    624 exec_prefix
    625 prefix
    626 program_transform_name
    627 bindir
    628 sbindir
    629 libexecdir
    630 datarootdir
    631 datadir
    632 sysconfdir
    633 sharedstatedir
    634 localstatedir
    635 includedir
    636 oldincludedir
    637 docdir
    638 infodir
    639 htmldir
    640 dvidir
    641 pdfdir
    642 psdir
    643 libdir
    644 localedir
    645 mandir
    646 DEFS
    647 ECHO_C
    648 ECHO_N
    649 ECHO_T
    650 LIBS
    651 build_alias
    652 host_alias
    653 target_alias
    654 LIB_SEARCH_DIRS
    655 INSTALL_PROGRAM
    656 INSTALL_SCRIPT
    657 INSTALL_DATA
    658 SET_MAKE
    659 CC
    660 CFLAGS
    661 LDFLAGS
    662 CPPFLAGS
    663 ac_ct_CC
    664 EXEEXT
    665 OBJEXT
    666 CXX
    667 CXXFLAGS
    668 ac_ct_CXX
    669 RANLIB
    670 LN_S
    671 F77
    672 FFLAGS
    673 ac_ct_F77
    674 CPP
    675 GREP
    676 EGREP
    677 CXXCPP
    678 HAVE_INTTYPES_H
    679 AR
    680 DL_LIBS
    681 DL_OBJS
    682 PLAT_OBJS
    683 PLAT_SRCS
    684 CFLAGS_DEBUG
    685 CFLAGS_OPTIMIZE
    686 CFLAGS_WARNING
    687 LDFLAGS_DEBUG
    688 LDFLAGS_OPTIMIZE
    689 CC_SEARCH_FLAGS
    690 LD_SEARCH_FLAGS
    691 STLIB_LD
    692 SHLIB_LD
    693 TCL_SHLIB_LD_EXTRAS
    694 TK_SHLIB_LD_EXTRAS
    695 SHLIB_LD_LIBS
    696 SHLIB_CFLAGS
    697 SHLIB_SUFFIX
    698 MAKE_LIB
    699 MAKE_STUB_LIB
    700 INSTALL_LIB
    701 INSTALL_STUB_LIB
    702 MAKE
    703 ENABLE_GUI
    704 TCLSH
    705 MATLAB
    706 MEX
    707 MEXEXT
    708 MCC
    709 MEX_ARCH
    710 OCTAVE
    711 MKOCTFILE
    712 OCTAVE_VERSION
    713 OCTAVE_VERSION_MAJOR
    714 PERL
    715 PERL_INCLUDES
    716 PERL_ARCHLIB
    717 PERL_ARCHLIBEXP
    718 PERL_VERSION
    719 PERL_CCFLAGS
    720 PERL_CPPFLAGS
    721 PERL_VENDORLIB
    722 PERL_PRIVLIB
    723 PERL_INSTALLARCHLIB
    724 PERL_VERSION_RV
    725 PERL_LIBSPEC
    726 PYTHON
    727 PYTHON_CPPFLAGS
    728 pythondir
    729 PYTHON_VERSION
    730 PYTHON_INCLUDES
    731 PYTHON_SITE_PACKAGES
    732 HAVE_PYTHON_DISTUTILS
    733 RUBY
    734 SED
    735 RUBY_VERSION
    736 AWK
    737 RUBY_CPPFLAGS
    738 RUBY_LDFLAGS
    739 RUBY_SITE_PKG
    740 RUBY_EXTRA_LIBS
    741 HAVE_RUBY_DEVEL
    742 RUBY_VERSION_RV
    743 RUBY_PLATFORM
    744 RP_BASE
    745 SHLIB_LDFLAGS
    746 TCL_VERSION
    747 TK_VERSION
    748 SIZEOF_INT
    749 SIZEOF_LONG
    750 SIZEOF_LONG_LONG
    751 SIZEOF_VOID_P
    752 CFLAGS_DEFAULT
    753 LDFLAGS_DEFAULT
    754 subdirs
    755 LIBOBJS
    756 LTLIBOBJS'
     735SHELL'
    757736ac_subst_files=''
     737ac_user_opts='
     738enable_option_checking
     739enable_64bit
     740enable_64bit_vis
     741enable_corefoundation
     742enable_load
     743enable_gui
     744with_tclsh
     745with_matlab
     746with_octave
     747with_perl
     748with_python
     749with_ruby
     750enable_shared
     751enable_symbols
     752'
    758753      ac_precious_vars='build_alias
    759754host_alias
     
    776771ac_init_help=
    777772ac_init_version=false
     773ac_unrecognized_opts=
     774ac_unrecognized_sep=
    778775# The variables have the same names as the options, with
    779776# dashes changed to underlines.
     
    874871
    875872  -disable-* | --disable-*)
    876     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     873    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    877874    # Reject names that are not valid shell variable names.
    878     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    879       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    880    { (exit 1); exit 1; }; }
    881     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    882     eval enable_$ac_feature=no ;;
     875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     876      as_fn_error "invalid feature name: $ac_useropt"
     877    ac_useropt_orig=$ac_useropt
     878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     879    case $ac_user_opts in
     880      *"
     881"enable_$ac_useropt"
     882"*) ;;
     883      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     884         ac_unrecognized_sep=', ';;
     885    esac
     886    eval enable_$ac_useropt=no ;;
    883887
    884888  -docdir | --docdir | --docdi | --doc | --do)
     
    893897
    894898  -enable-* | --enable-*)
    895     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     899    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    896900    # Reject names that are not valid shell variable names.
    897     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    898       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    899    { (exit 1); exit 1; }; }
    900     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    901     eval enable_$ac_feature=\$ac_optarg ;;
     901    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     902      as_fn_error "invalid feature name: $ac_useropt"
     903    ac_useropt_orig=$ac_useropt
     904    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     905    case $ac_user_opts in
     906      *"
     907"enable_$ac_useropt"
     908"*) ;;
     909      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     910         ac_unrecognized_sep=', ';;
     911    esac
     912    eval enable_$ac_useropt=\$ac_optarg ;;
    902913
    903914  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    10901101
    10911102  -with-* | --with-*)
    1092     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1103    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    10931104    # Reject names that are not valid shell variable names.
    1094     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1095       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1096    { (exit 1); exit 1; }; }
    1097     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1098     eval with_$ac_package=\$ac_optarg ;;
     1105    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1106      as_fn_error "invalid package name: $ac_useropt"
     1107    ac_useropt_orig=$ac_useropt
     1108    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1109    case $ac_user_opts in
     1110      *"
     1111"with_$ac_useropt"
     1112"*) ;;
     1113      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1114         ac_unrecognized_sep=', ';;
     1115    esac
     1116    eval with_$ac_useropt=\$ac_optarg ;;
    10991117
    11001118  -without-* | --without-*)
    1101     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1119    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    11021120    # Reject names that are not valid shell variable names.
    1103     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1104       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1105    { (exit 1); exit 1; }; }
    1106     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1107     eval with_$ac_package=no ;;
     1121    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1122      as_fn_error "invalid package name: $ac_useropt"
     1123    ac_useropt_orig=$ac_useropt
     1124    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1125    case $ac_user_opts in
     1126      *"
     1127"with_$ac_useropt"
     1128"*) ;;
     1129      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1130         ac_unrecognized_sep=', ';;
     1131    esac
     1132    eval with_$ac_useropt=no ;;
    11081133
    11091134  --x)
     
    11251150    x_libraries=$ac_optarg ;;
    11261151
    1127   -*) { echo "$as_me: error: unrecognized option: $ac_option
    1128 Try \`$0 --help' for more information." >&2
    1129    { (exit 1); exit 1; }; }
     1152  -*) as_fn_error "unrecognized option: \`$ac_option'
     1153Try \`$0 --help' for more information."
    11301154    ;;
    11311155
     
    11331157    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11341158    # Reject names that are not valid shell variable names.
    1135     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1136       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1137    { (exit 1); exit 1; }; }
     1159    case $ac_envvar in #(
     1160      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1161      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1162    esac
    11381163    eval $ac_envvar=\$ac_optarg
    11391164    export $ac_envvar ;;
     
    11411166  *)
    11421167    # FIXME: should be removed in autoconf 3.0.
    1143     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1168    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    11441169    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1145       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1170      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    11461171    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11471172    ;;
     
    11521177if test -n "$ac_prev"; then
    11531178  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1154   { echo "$as_me: error: missing argument to $ac_option" >&2
    1155    { (exit 1); exit 1; }; }
    1156 fi
    1157 
    1158 # Be sure to have absolute directory names.
     1179  as_fn_error "missing argument to $ac_option"
     1180fi
     1181
     1182if test -n "$ac_unrecognized_opts"; then
     1183  case $enable_option_checking in
     1184    no) ;;
     1185    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1186    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1187  esac
     1188fi
     1189
     1190# Check all directory arguments for consistency.
    11591191for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11601192                datadir sysconfdir sharedstatedir localstatedir includedir \
     
    11631195do
    11641196  eval ac_val=\$$ac_var
     1197  # Remove trailing slashes.
     1198  case $ac_val in
     1199    */ )
     1200      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1201      eval $ac_var=\$ac_val;;
     1202  esac
     1203  # Be sure to have absolute directory names.
    11651204  case $ac_val in
    11661205    [\\/$]* | ?:[\\/]* )  continue;;
    11671206    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11681207  esac
    1169   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1170    { (exit 1); exit 1; }; }
     1208  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    11711209done
    11721210
     
    11821220  if test "x$build_alias" = x; then
    11831221    cross_compiling=maybe
    1184     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1222    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    11851223    If a cross compiler is detected then cross compile mode will be used." >&2
    11861224  elif test "x$build_alias" != "x$host_alias"; then
     
    11981236ac_ls_di=`ls -di .` &&
    11991237ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1200   { echo "$as_me: error: Working directory cannot be determined" >&2
    1201    { (exit 1); exit 1; }; }
     1238  as_fn_error "working directory cannot be determined"
    12021239test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1203   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1204    { (exit 1); exit 1; }; }
     1240  as_fn_error "pwd does not report name of working directory"
    12051241
    12061242
     
    12091245  ac_srcdir_defaulted=yes
    12101246  # Try the directory containing this script, then the parent directory.
    1211   ac_confdir=`$as_dirname -- "$0" ||
    1212 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1213          X"$0" : 'X\(//\)[^/]' \| \
    1214          X"$0" : 'X\(//\)$' \| \
    1215          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    1216 echo X"$0" |
     1247  ac_confdir=`$as_dirname -- "$as_myself" ||
     1248$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1249         X"$as_myself" : 'X\(//\)[^/]' \| \
     1250         X"$as_myself" : 'X\(//\)$' \| \
     1251         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1252$as_echo X"$as_myself" |
    12171253    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    12181254            s//\1/
     
    12411277if test ! -r "$srcdir/$ac_unique_file"; then
    12421278  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1243   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1244    { (exit 1); exit 1; }; }
     1279  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    12451280fi
    12461281ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12471282ac_abs_confdir=`(
    1248         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    1249    { (exit 1); exit 1; }; }
     1283        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    12501284        pwd)`
    12511285# When building in place, set srcdir=.
     
    12951329Installation directories:
    12961330  --prefix=PREFIX         install architecture-independent files in PREFIX
    1297                           [$ac_default_prefix]
     1331                          [$ac_default_prefix]
    12981332  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1299                           [PREFIX]
     1333                          [PREFIX]
    13001334
    13011335By default, \`make install' will install all the files in
     
    13071341
    13081342Fine tuning of the installation directories:
    1309   --bindir=DIR           user executables [EPREFIX/bin]
    1310   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1311   --libexecdir=DIR       program executables [EPREFIX/libexec]
    1312   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1313   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1314   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1315   --libdir=DIR           object code libraries [EPREFIX/lib]
    1316   --includedir=DIR       C header files [PREFIX/include]
    1317   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1318   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1319   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1320   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1321   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1322   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1323   --docdir=DIR           documentation root [DATAROOTDIR/doc/rappture]
    1324   --htmldir=DIR          html documentation [DOCDIR]
    1325   --dvidir=DIR           dvi documentation [DOCDIR]
    1326   --pdfdir=DIR           pdf documentation [DOCDIR]
    1327   --psdir=DIR            ps documentation [DOCDIR]
     1343  --bindir=DIR            user executables [EPREFIX/bin]
     1344  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1345  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1346  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1347  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1348  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1349  --libdir=DIR            object code libraries [EPREFIX/lib]
     1350  --includedir=DIR        C header files [PREFIX/include]
     1351  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1352  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1353  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1354  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1355  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1356  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1357  --docdir=DIR            documentation root [DATAROOTDIR/doc/rappture]
     1358  --htmldir=DIR           html documentation [DOCDIR]
     1359  --dvidir=DIR            dvi documentation [DOCDIR]
     1360  --pdfdir=DIR            pdf documentation [DOCDIR]
     1361  --psdir=DIR             ps documentation [DOCDIR]
    13281362_ACEOF
    13291363
     
    13391373
    13401374Optional Features:
     1375  --disable-option-checking  ignore unrecognized --enable/--with options
    13411376  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13421377  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    13871422  # If there are subdirs, report their specific --help.
    13881423  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1389     test -d "$ac_dir" || continue
     1424    test -d "$ac_dir" ||
     1425      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1426      continue
    13901427    ac_builddir=.
    13911428
     
    13931430.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    13941431*)
    1395   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     1432  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    13961433  # A ".." for each directory in $ac_dir_suffix.
    1397   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1434  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    13981435  case $ac_top_builddir_sub in
    13991436  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    14311468      $SHELL "$ac_srcdir/configure" --help=recursive
    14321469    else
    1433       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1470      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    14341471    fi || ac_status=$?
    14351472    cd "$ac_pwd" || { ac_status=$?; break; }
     
    14411478  cat <<\_ACEOF
    14421479Rappture configure 1.1
    1443 generated by GNU Autoconf 2.61
    1444 
    1445 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1446 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     1480generated by GNU Autoconf 2.64
     1481
     1482Copyright (C) 2009 Free Software Foundation, Inc.
    14471483This configure script is free software; the Free Software Foundation
    14481484gives unlimited permission to copy, distribute and modify it.
     
    14501486  exit
    14511487fi
     1488
     1489## ------------------------ ##
     1490## Autoconf initialization. ##
     1491## ------------------------ ##
     1492
     1493# ac_fn_c_try_compile LINENO
     1494# --------------------------
     1495# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1496ac_fn_c_try_compile ()
     1497{
     1498  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1499  rm -f conftest.$ac_objext
     1500  if { { ac_try="$ac_compile"
     1501case "(($ac_try" in
     1502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1503  *) ac_try_echo=$ac_try;;
     1504esac
     1505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1506$as_echo "$ac_try_echo"; } >&5
     1507  (eval "$ac_compile") 2>conftest.err
     1508  ac_status=$?
     1509  if test -s conftest.err; then
     1510    grep -v '^ *+' conftest.err >conftest.er1
     1511    cat conftest.er1 >&5
     1512    mv -f conftest.er1 conftest.err
     1513  fi
     1514  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1515  test $ac_status = 0; } && {
     1516         test -z "$ac_c_werror_flag" ||
     1517         test ! -s conftest.err
     1518       } && test -s conftest.$ac_objext; then :
     1519  ac_retval=0
     1520else
     1521  $as_echo "$as_me: failed program was:" >&5
     1522sed 's/^/| /' conftest.$ac_ext >&5
     1523
     1524        ac_retval=1
     1525fi
     1526  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1527  return $ac_retval
     1528
     1529} # ac_fn_c_try_compile
     1530
     1531# ac_fn_cxx_try_compile LINENO
     1532# ----------------------------
     1533# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1534ac_fn_cxx_try_compile ()
     1535{
     1536  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1537  rm -f conftest.$ac_objext
     1538  if { { ac_try="$ac_compile"
     1539case "(($ac_try" in
     1540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1541  *) ac_try_echo=$ac_try;;
     1542esac
     1543eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1544$as_echo "$ac_try_echo"; } >&5
     1545  (eval "$ac_compile") 2>conftest.err
     1546  ac_status=$?
     1547  if test -s conftest.err; then
     1548    grep -v '^ *+' conftest.err >conftest.er1
     1549    cat conftest.er1 >&5
     1550    mv -f conftest.er1 conftest.err
     1551  fi
     1552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1553  test $ac_status = 0; } && {
     1554         test -z "$ac_cxx_werror_flag" ||
     1555         test ! -s conftest.err
     1556       } && test -s conftest.$ac_objext; then :
     1557  ac_retval=0
     1558else
     1559  $as_echo "$as_me: failed program was:" >&5
     1560sed 's/^/| /' conftest.$ac_ext >&5
     1561
     1562        ac_retval=1
     1563fi
     1564  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1565  return $ac_retval
     1566
     1567} # ac_fn_cxx_try_compile
     1568
     1569# ac_fn_f77_try_compile LINENO
     1570# ----------------------------
     1571# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1572ac_fn_f77_try_compile ()
     1573{
     1574  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1575  rm -f conftest.$ac_objext
     1576  if { { ac_try="$ac_compile"
     1577case "(($ac_try" in
     1578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1579  *) ac_try_echo=$ac_try;;
     1580esac
     1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1582$as_echo "$ac_try_echo"; } >&5
     1583  (eval "$ac_compile") 2>conftest.err
     1584  ac_status=$?
     1585  if test -s conftest.err; then
     1586    grep -v '^ *+' conftest.err >conftest.er1
     1587    cat conftest.er1 >&5
     1588    mv -f conftest.er1 conftest.err
     1589  fi
     1590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1591  test $ac_status = 0; } && {
     1592         test -z "$ac_f77_werror_flag" ||
     1593         test ! -s conftest.err
     1594       } && test -s conftest.$ac_objext; then :
     1595  ac_retval=0
     1596else
     1597  $as_echo "$as_me: failed program was:" >&5
     1598sed 's/^/| /' conftest.$ac_ext >&5
     1599
     1600        ac_retval=1
     1601fi
     1602  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1603  return $ac_retval
     1604
     1605} # ac_fn_f77_try_compile
     1606
     1607# ac_fn_c_try_cpp LINENO
     1608# ----------------------
     1609# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1610ac_fn_c_try_cpp ()
     1611{
     1612  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1613  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1614case "(($ac_try" in
     1615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1616  *) ac_try_echo=$ac_try;;
     1617esac
     1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1619$as_echo "$ac_try_echo"; } >&5
     1620  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1621  ac_status=$?
     1622  if test -s conftest.err; then
     1623    grep -v '^ *+' conftest.err >conftest.er1
     1624    cat conftest.er1 >&5
     1625    mv -f conftest.er1 conftest.err
     1626  fi
     1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1628  test $ac_status = 0; } >/dev/null && {
     1629         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1630         test ! -s conftest.err
     1631       }; then :
     1632  ac_retval=0
     1633else
     1634  $as_echo "$as_me: failed program was:" >&5
     1635sed 's/^/| /' conftest.$ac_ext >&5
     1636
     1637    ac_retval=1
     1638fi
     1639  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1640  return $ac_retval
     1641
     1642} # ac_fn_c_try_cpp
     1643
     1644# ac_fn_c_try_run LINENO
     1645# ----------------------
     1646# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1647# that executables *can* be run.
     1648ac_fn_c_try_run ()
     1649{
     1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1651  if { { ac_try="$ac_link"
     1652case "(($ac_try" in
     1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1654  *) ac_try_echo=$ac_try;;
     1655esac
     1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1657$as_echo "$ac_try_echo"; } >&5
     1658  (eval "$ac_link") 2>&5
     1659  ac_status=$?
     1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1661  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1662  { { case "(($ac_try" in
     1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1664  *) ac_try_echo=$ac_try;;
     1665esac
     1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1667$as_echo "$ac_try_echo"; } >&5
     1668  (eval "$ac_try") 2>&5
     1669  ac_status=$?
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1671  test $ac_status = 0; }; }; then :
     1672  ac_retval=0
     1673else
     1674  $as_echo "$as_me: program exited with status $ac_status" >&5
     1675       $as_echo "$as_me: failed program was:" >&5
     1676sed 's/^/| /' conftest.$ac_ext >&5
     1677
     1678       ac_retval=$ac_status
     1679fi
     1680  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1681  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1682  return $ac_retval
     1683
     1684} # ac_fn_c_try_run
     1685
     1686# ac_fn_c_try_link LINENO
     1687# -----------------------
     1688# Try to link conftest.$ac_ext, and return whether this succeeded.
     1689ac_fn_c_try_link ()
     1690{
     1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1692  rm -f conftest.$ac_objext conftest$ac_exeext
     1693  if { { ac_try="$ac_link"
     1694case "(($ac_try" in
     1695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1696  *) ac_try_echo=$ac_try;;
     1697esac
     1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1699$as_echo "$ac_try_echo"; } >&5
     1700  (eval "$ac_link") 2>conftest.err
     1701  ac_status=$?
     1702  if test -s conftest.err; then
     1703    grep -v '^ *+' conftest.err >conftest.er1
     1704    cat conftest.er1 >&5
     1705    mv -f conftest.er1 conftest.err
     1706  fi
     1707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1708  test $ac_status = 0; } && {
     1709         test -z "$ac_c_werror_flag" ||
     1710         test ! -s conftest.err
     1711       } && test -s conftest$ac_exeext && {
     1712         test "$cross_compiling" = yes ||
     1713         $as_test_x conftest$ac_exeext
     1714       }; then :
     1715  ac_retval=0
     1716else
     1717  $as_echo "$as_me: failed program was:" >&5
     1718sed 's/^/| /' conftest.$ac_ext >&5
     1719
     1720        ac_retval=1
     1721fi
     1722  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1723  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1724  # interfere with the next link command; also delete a directory that is
     1725  # left behind by Apple's compiler.  We do this before executing the actions.
     1726  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1727  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1728  return $ac_retval
     1729
     1730} # ac_fn_c_try_link
     1731
     1732# ac_fn_c_check_func LINENO FUNC VAR
     1733# ----------------------------------
     1734# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1735ac_fn_c_check_func ()
     1736{
     1737  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1739$as_echo_n "checking for $2... " >&6; }
     1740if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1741  $as_echo_n "(cached) " >&6
     1742else
     1743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1744/* end confdefs.h.  */
     1745/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1746   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1747#define $2 innocuous_$2
     1748
     1749/* System header to define __stub macros and hopefully few prototypes,
     1750    which can conflict with char $2 (); below.
     1751    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1752    <limits.h> exists even on freestanding compilers.  */
     1753
     1754#ifdef __STDC__
     1755# include <limits.h>
     1756#else
     1757# include <assert.h>
     1758#endif
     1759
     1760#undef $2
     1761
     1762/* Override any GCC internal prototype to avoid an error.
     1763   Use char because int might match the return type of a GCC
     1764   builtin and then its argument prototype would still apply.  */
     1765#ifdef __cplusplus
     1766extern "C"
     1767#endif
     1768char $2 ();
     1769/* The GNU C library defines this for functions which it implements
     1770    to always fail with ENOSYS.  Some functions are actually named
     1771    something starting with __ and the normal name is an alias.  */
     1772#if defined __stub_$2 || defined __stub___$2
     1773choke me
     1774#endif
     1775
     1776int
     1777main ()
     1778{
     1779return $2 ();
     1780  ;
     1781  return 0;
     1782}
     1783_ACEOF
     1784if ac_fn_c_try_link "$LINENO"; then :
     1785  eval "$3=yes"
     1786else
     1787  eval "$3=no"
     1788fi
     1789rm -f core conftest.err conftest.$ac_objext \
     1790    conftest$ac_exeext conftest.$ac_ext
     1791fi
     1792eval ac_res=\$$3
     1793               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1794$as_echo "$ac_res" >&6; }
     1795  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1796
     1797} # ac_fn_c_check_func
     1798
     1799# ac_fn_cxx_try_link LINENO
     1800# -------------------------
     1801# Try to link conftest.$ac_ext, and return whether this succeeded.
     1802ac_fn_cxx_try_link ()
     1803{
     1804  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1805  rm -f conftest.$ac_objext conftest$ac_exeext
     1806  if { { ac_try="$ac_link"
     1807case "(($ac_try" in
     1808  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1809  *) ac_try_echo=$ac_try;;
     1810esac
     1811eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1812$as_echo "$ac_try_echo"; } >&5
     1813  (eval "$ac_link") 2>conftest.err
     1814  ac_status=$?
     1815  if test -s conftest.err; then
     1816    grep -v '^ *+' conftest.err >conftest.er1
     1817    cat conftest.er1 >&5
     1818    mv -f conftest.er1 conftest.err
     1819  fi
     1820  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1821  test $ac_status = 0; } && {
     1822         test -z "$ac_cxx_werror_flag" ||
     1823         test ! -s conftest.err
     1824       } && test -s conftest$ac_exeext && {
     1825         test "$cross_compiling" = yes ||
     1826         $as_test_x conftest$ac_exeext
     1827       }; then :
     1828  ac_retval=0
     1829else
     1830  $as_echo "$as_me: failed program was:" >&5
     1831sed 's/^/| /' conftest.$ac_ext >&5
     1832
     1833        ac_retval=1
     1834fi
     1835  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1836  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1837  # interfere with the next link command; also delete a directory that is
     1838  # left behind by Apple's compiler.  We do this before executing the actions.
     1839  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1840  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1841  return $ac_retval
     1842
     1843} # ac_fn_cxx_try_link
     1844
     1845# ac_fn_cxx_check_func LINENO FUNC VAR
     1846# ------------------------------------
     1847# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1848ac_fn_cxx_check_func ()
     1849{
     1850  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1851  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1852$as_echo_n "checking for $2... " >&6; }
     1853if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1854  $as_echo_n "(cached) " >&6
     1855else
     1856  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1857/* end confdefs.h.  */
     1858/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1859   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1860#define $2 innocuous_$2
     1861
     1862/* System header to define __stub macros and hopefully few prototypes,
     1863    which can conflict with char $2 (); below.
     1864    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1865    <limits.h> exists even on freestanding compilers.  */
     1866
     1867#ifdef __STDC__
     1868# include <limits.h>
     1869#else
     1870# include <assert.h>
     1871#endif
     1872
     1873#undef $2
     1874
     1875/* Override any GCC internal prototype to avoid an error.
     1876   Use char because int might match the return type of a GCC
     1877   builtin and then its argument prototype would still apply.  */
     1878#ifdef __cplusplus
     1879extern "C"
     1880#endif
     1881char $2 ();
     1882/* The GNU C library defines this for functions which it implements
     1883    to always fail with ENOSYS.  Some functions are actually named
     1884    something starting with __ and the normal name is an alias.  */
     1885#if defined __stub_$2 || defined __stub___$2
     1886choke me
     1887#endif
     1888
     1889int
     1890main ()
     1891{
     1892return $2 ();
     1893  ;
     1894  return 0;
     1895}
     1896_ACEOF
     1897if ac_fn_cxx_try_link "$LINENO"; then :
     1898  eval "$3=yes"
     1899else
     1900  eval "$3=no"
     1901fi
     1902rm -f core conftest.err conftest.$ac_objext \
     1903    conftest$ac_exeext conftest.$ac_ext
     1904fi
     1905eval ac_res=\$$3
     1906               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1907$as_echo "$ac_res" >&6; }
     1908  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1909
     1910} # ac_fn_cxx_check_func
     1911
     1912# ac_fn_cxx_try_cpp LINENO
     1913# ------------------------
     1914# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1915ac_fn_cxx_try_cpp ()
     1916{
     1917  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1918  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1919case "(($ac_try" in
     1920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1921  *) ac_try_echo=$ac_try;;
     1922esac
     1923eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1924$as_echo "$ac_try_echo"; } >&5
     1925  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1926  ac_status=$?
     1927  if test -s conftest.err; then
     1928    grep -v '^ *+' conftest.err >conftest.er1
     1929    cat conftest.er1 >&5
     1930    mv -f conftest.er1 conftest.err
     1931  fi
     1932  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1933  test $ac_status = 0; } >/dev/null && {
     1934         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1935         test ! -s conftest.err
     1936       }; then :
     1937  ac_retval=0
     1938else
     1939  $as_echo "$as_me: failed program was:" >&5
     1940sed 's/^/| /' conftest.$ac_ext >&5
     1941
     1942    ac_retval=1
     1943fi
     1944  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1945  return $ac_retval
     1946
     1947} # ac_fn_cxx_try_cpp
     1948
     1949# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     1950# ---------------------------------------------------------
     1951# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1952# the include files in INCLUDES and setting the cache variable VAR
     1953# accordingly.
     1954ac_fn_cxx_check_header_mongrel ()
     1955{
     1956  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1957  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1958  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1959$as_echo_n "checking for $2... " >&6; }
     1960if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1961  $as_echo_n "(cached) " >&6
     1962fi
     1963eval ac_res=\$$3
     1964               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1965$as_echo "$ac_res" >&6; }
     1966else
     1967  # Is the header compilable?
     1968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1969$as_echo_n "checking $2 usability... " >&6; }
     1970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1971/* end confdefs.h.  */
     1972$4
     1973#include <$2>
     1974_ACEOF
     1975if ac_fn_cxx_try_compile "$LINENO"; then :
     1976  ac_header_compiler=yes
     1977else
     1978  ac_header_compiler=no
     1979fi
     1980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1982$as_echo "$ac_header_compiler" >&6; }
     1983
     1984# Is the header present?
     1985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1986$as_echo_n "checking $2 presence... " >&6; }
     1987cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1988/* end confdefs.h.  */
     1989#include <$2>
     1990_ACEOF
     1991if ac_fn_cxx_try_cpp "$LINENO"; then :
     1992  ac_header_preproc=yes
     1993else
     1994  ac_header_preproc=no
     1995fi
     1996rm -f conftest.err conftest.$ac_ext
     1997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1998$as_echo "$ac_header_preproc" >&6; }
     1999
     2000# So?  What about this header?
     2001case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2002  yes:no: )
     2003    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2004$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2005    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2006$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2007    ;;
     2008  no:yes:* )
     2009    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2010$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2011    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2012$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2013    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2014$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2015    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2016$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2017    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2018$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2019( cat <<\_ASBOX
     2020## ----------------------------------- ##
     2021## Report this to rappture@nanohub.org ##
     2022## ----------------------------------- ##
     2023_ASBOX
     2024     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2025    ;;
     2026esac
     2027  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2028$as_echo_n "checking for $2... " >&6; }
     2029if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     2030  $as_echo_n "(cached) " >&6
     2031else
     2032  eval "$3=\$ac_header_compiler"
     2033fi
     2034eval ac_res=\$$3
     2035               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2036$as_echo "$ac_res" >&6; }
     2037fi
     2038  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2039
     2040} # ac_fn_cxx_check_header_mongrel
     2041
     2042# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2043# ---------------------------------------------------------
     2044# Tests whether HEADER exists and can be compiled using the include files in
     2045# INCLUDES, setting the cache variable VAR accordingly.
     2046ac_fn_cxx_check_header_compile ()
     2047{
     2048  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2050$as_echo_n "checking for $2... " >&6; }
     2051if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     2052  $as_echo_n "(cached) " >&6
     2053else
     2054  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2055/* end confdefs.h.  */
     2056$4
     2057#include <$2>
     2058_ACEOF
     2059if ac_fn_cxx_try_compile "$LINENO"; then :
     2060  eval "$3=yes"
     2061else
     2062  eval "$3=no"
     2063fi
     2064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2065fi
     2066eval ac_res=\$$3
     2067               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2068$as_echo "$ac_res" >&6; }
     2069  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2070
     2071} # ac_fn_cxx_check_header_compile
     2072
     2073# ac_fn_cxx_try_run LINENO
     2074# ------------------------
     2075# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2076# that executables *can* be run.
     2077ac_fn_cxx_try_run ()
     2078{
     2079  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2080  if { { ac_try="$ac_link"
     2081case "(($ac_try" in
     2082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2083  *) ac_try_echo=$ac_try;;
     2084esac
     2085eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2086$as_echo "$ac_try_echo"; } >&5
     2087  (eval "$ac_link") 2>&5
     2088  ac_status=$?
     2089  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2090  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2091  { { case "(($ac_try" in
     2092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2093  *) ac_try_echo=$ac_try;;
     2094esac
     2095eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2096$as_echo "$ac_try_echo"; } >&5
     2097  (eval "$ac_try") 2>&5
     2098  ac_status=$?
     2099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2100  test $ac_status = 0; }; }; then :
     2101  ac_retval=0
     2102else
     2103  $as_echo "$as_me: program exited with status $ac_status" >&5
     2104       $as_echo "$as_me: failed program was:" >&5
     2105sed 's/^/| /' conftest.$ac_ext >&5
     2106
     2107       ac_retval=$ac_status
     2108fi
     2109  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2110  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2111  return $ac_retval
     2112
     2113} # ac_fn_cxx_try_run
     2114
     2115# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2116# ----------------------------------------------
     2117# Tries to find the compile-time value of EXPR in a program that includes
     2118# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2119# computed
     2120ac_fn_cxx_compute_int ()
     2121{
     2122  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2123  if test "$cross_compiling" = yes; then
     2124    # Depending upon the size, compute the lo and hi bounds.
     2125cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2126/* end confdefs.h.  */
     2127$4
     2128int
     2129main ()
     2130{
     2131static int test_array [1 - 2 * !(($2) >= 0)];
     2132test_array [0] = 0
     2133
     2134  ;
     2135  return 0;
     2136}
     2137_ACEOF
     2138if ac_fn_cxx_try_compile "$LINENO"; then :
     2139  ac_lo=0 ac_mid=0
     2140  while :; do
     2141    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2142/* end confdefs.h.  */
     2143$4
     2144int
     2145main ()
     2146{
     2147static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2148test_array [0] = 0
     2149
     2150  ;
     2151  return 0;
     2152}
     2153_ACEOF
     2154if ac_fn_cxx_try_compile "$LINENO"; then :
     2155  ac_hi=$ac_mid; break
     2156else
     2157  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2158                        if test $ac_lo -le $ac_mid; then
     2159                          ac_lo= ac_hi=
     2160                          break
     2161                        fi
     2162                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2163fi
     2164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2165  done
     2166else
     2167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2168/* end confdefs.h.  */
     2169$4
     2170int
     2171main ()
     2172{
     2173static int test_array [1 - 2 * !(($2) < 0)];
     2174test_array [0] = 0
     2175
     2176  ;
     2177  return 0;
     2178}
     2179_ACEOF
     2180if ac_fn_cxx_try_compile "$LINENO"; then :
     2181  ac_hi=-1 ac_mid=-1
     2182  while :; do
     2183    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2184/* end confdefs.h.  */
     2185$4
     2186int
     2187main ()
     2188{
     2189static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2190test_array [0] = 0
     2191
     2192  ;
     2193  return 0;
     2194}
     2195_ACEOF
     2196if ac_fn_cxx_try_compile "$LINENO"; then :
     2197  ac_lo=$ac_mid; break
     2198else
     2199  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2200                        if test $ac_mid -le $ac_hi; then
     2201                          ac_lo= ac_hi=
     2202                          break
     2203                        fi
     2204                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2205fi
     2206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2207  done
     2208else
     2209  ac_lo= ac_hi=
     2210fi
     2211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2212fi
     2213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2214# Binary search between lo and hi bounds.
     2215while test "x$ac_lo" != "x$ac_hi"; do
     2216  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2217  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2218/* end confdefs.h.  */
     2219$4
     2220int
     2221main ()
     2222{
     2223static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2224test_array [0] = 0
     2225
     2226  ;
     2227  return 0;
     2228}
     2229_ACEOF
     2230if ac_fn_cxx_try_compile "$LINENO"; then :
     2231  ac_hi=$ac_mid
     2232else
     2233  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2234fi
     2235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2236done
     2237case $ac_lo in #((
     2238?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2239'') ac_retval=1 ;;
     2240esac
     2241  else
     2242    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2243/* end confdefs.h.  */
     2244$4
     2245static long int longval () { return $2; }
     2246static unsigned long int ulongval () { return $2; }
     2247#include <stdio.h>
     2248#include <stdlib.h>
     2249int
     2250main ()
     2251{
     2252
     2253  FILE *f = fopen ("conftest.val", "w");
     2254  if (! f)
     2255    return 1;
     2256  if (($2) < 0)
     2257    {
     2258      long int i = longval ();
     2259      if (i != ($2))
     2260        return 1;
     2261      fprintf (f, "%ld", i);
     2262    }
     2263  else
     2264    {
     2265      unsigned long int i = ulongval ();
     2266      if (i != ($2))
     2267        return 1;
     2268      fprintf (f, "%lu", i);
     2269    }
     2270  /* Do not output a trailing newline, as this causes \r\n confusion
     2271     on some platforms.  */
     2272  return ferror (f) || fclose (f) != 0;
     2273
     2274  ;
     2275  return 0;
     2276}
     2277_ACEOF
     2278if ac_fn_cxx_try_run "$LINENO"; then :
     2279  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2280else
     2281  ac_retval=1
     2282fi
     2283rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2284  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2285rm -f conftest.val
     2286
     2287  fi
     2288  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2289  return $ac_retval
     2290
     2291} # ac_fn_cxx_compute_int
    14522292cat >config.log <<_ACEOF
    14532293This file contains any messages produced by compilers while
     
    14552295
    14562296It was created by Rappture $as_me 1.1, which was
    1457 generated by GNU Autoconf 2.61.  Invocation command line was
     2297generated by GNU Autoconf 2.64.  Invocation command line was
    14582298
    14592299  $ $0 $@
     
    14912331  IFS=$as_save_IFS
    14922332  test -z "$as_dir" && as_dir=.
    1493   echo "PATH: $as_dir"
    1494 done
     2333    $as_echo "PATH: $as_dir"
     2334  done
    14952335IFS=$as_save_IFS
    14962336
     
    15262366      continue ;;
    15272367    *\'*)
    1528       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2368      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    15292369    esac
    15302370    case $ac_pass in
    1531     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2371    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15322372    2)
    1533       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2373      as_fn_append ac_configure_args1 " '$ac_arg'"
    15342374      if test $ac_must_keep_next = true; then
    15352375        ac_must_keep_next=false # Got value, back to normal.
     
    15472387        esac
    15482388      fi
    1549       ac_configure_args="$ac_configure_args '$ac_arg'"
     2389      as_fn_append ac_configure_args " '$ac_arg'"
    15502390      ;;
    15512391    esac
    15522392  done
    15532393done
    1554 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1555 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2394{ ac_configure_args0=; unset ac_configure_args0;}
     2395{ ac_configure_args1=; unset ac_configure_args1;}
    15562396
    15572397# When interrupted or exit'd, cleanup temporary files, and complete
     
    15782418    *${as_nl}*)
    15792419      case $ac_var in #(
    1580       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1581 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2420      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2421$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    15822422      esac
    15832423      case $ac_var in #(
    15842424      _ | IFS | as_nl) ;; #(
    1585       *) $as_unset $ac_var ;;
     2425      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2426      *) { eval $ac_var=; unset $ac_var;} ;;
    15862427      esac ;;
    15872428    esac
     
    16122453      eval ac_val=\$$ac_var
    16132454      case $ac_val in
    1614       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2455      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16152456      esac
    1616       echo "$ac_var='\''$ac_val'\''"
     2457      $as_echo "$ac_var='\''$ac_val'\''"
    16172458    done | sort
    16182459    echo
     
    16292470        eval ac_val=\$$ac_var
    16302471        case $ac_val in
    1631         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2472        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16322473        esac
    1633         echo "$ac_var='\''$ac_val'\''"
     2474        $as_echo "$ac_var='\''$ac_val'\''"
    16342475      done | sort
    16352476      echo
     
    16472488    fi
    16482489    test "$ac_signal" != 0 &&
    1649       echo "$as_me: caught signal $ac_signal"
    1650     echo "$as_me: exit $exit_status"
     2490      $as_echo "$as_me: caught signal $ac_signal"
     2491    $as_echo "$as_me: exit $exit_status"
    16512492  } >&5
    16522493  rm -f core *.core core.conftest.* &&
     
    16552496' 0
    16562497for ac_signal in 1 2 13 15; do
    1657   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2498  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16582499done
    16592500ac_signal=0
     
    16622503rm -f -r conftest* confdefs.h
    16632504
     2505$as_echo "/* confdefs.h */" > confdefs.h
     2506
    16642507# Predefined preprocessor variables.
    16652508
     
    16682511_ACEOF
    16692512
    1670 
    16712513cat >>confdefs.h <<_ACEOF
    16722514#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    16732515_ACEOF
    16742516
    1675 
    16762517cat >>confdefs.h <<_ACEOF
    16772518#define PACKAGE_VERSION "$PACKAGE_VERSION"
    16782519_ACEOF
    16792520
    1680 
    16812521cat >>confdefs.h <<_ACEOF
    16822522#define PACKAGE_STRING "$PACKAGE_STRING"
    16832523_ACEOF
    16842524
    1685 
    16862525cat >>confdefs.h <<_ACEOF
    16872526#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    16882527_ACEOF
    16892528
     2529cat >>confdefs.h <<_ACEOF
     2530#define PACKAGE_URL "$PACKAGE_URL"
     2531_ACEOF
     2532
    16902533
    16912534# Let the site file select an alternate cache file if it wants to.
    1692 # Prefer explicitly selected file to automatically selected ones.
     2535# Prefer an explicitly selected file to automatically selected ones.
     2536ac_site_file1=NONE
     2537ac_site_file2=NONE
    16932538if test -n "$CONFIG_SITE"; then
    1694   set x "$CONFIG_SITE"
     2539  ac_site_file1=$CONFIG_SITE
    16952540elif test "x$prefix" != xNONE; then
    1696   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1697 else
    1698   set x "$ac_default_prefix/share/config.site" \
    1699         "$ac_default_prefix/etc/config.site"
    1700 fi
    1701 shift
    1702 for ac_site_file
     2541  ac_site_file1=$prefix/share/config.site
     2542  ac_site_file2=$prefix/etc/config.site
     2543else
     2544  ac_site_file1=$ac_default_prefix/share/config.site
     2545  ac_site_file2=$ac_default_prefix/etc/config.site
     2546fi
     2547for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    17032548do
     2549  test "x$ac_site_file" = xNONE && continue
    17042550  if test -r "$ac_site_file"; then
    1705     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1706 echo "$as_me: loading site script $ac_site_file" >&6;}
     2551    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2552$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17072553    sed 's/^/| /' "$ac_site_file" >&5
    17082554    . "$ac_site_file"
     
    17142560  # files actually), so we avoid doing that.
    17152561  if test -f "$cache_file"; then
    1716     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1717 echo "$as_me: loading cache $cache_file" >&6;}
     2562    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2563$as_echo "$as_me: loading cache $cache_file" >&6;}
    17182564    case $cache_file in
    17192565      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    17222568  fi
    17232569else
    1724   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1725 echo "$as_me: creating cache $cache_file" >&6;}
     2570  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2571$as_echo "$as_me: creating cache $cache_file" >&6;}
    17262572  >$cache_file
    17272573fi
     
    17372583  case $ac_old_set,$ac_new_set in
    17382584    set,)
    1739       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1740 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2585      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2586$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17412587      ac_cache_corrupted=: ;;
    17422588    ,set)
    1743       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1744 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2589      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2590$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17452591      ac_cache_corrupted=: ;;
    17462592    ,);;
    17472593    *)
    17482594      if test "x$ac_old_val" != "x$ac_new_val"; then
    1749         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1750 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1751         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1752 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1753         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1754 echo "$as_me:   current value: $ac_new_val" >&2;}
    1755         ac_cache_corrupted=:
     2595        # differences in whitespace do not lead to failure.
     2596        ac_old_val_w=`echo x $ac_old_val`
     2597        ac_new_val_w=`echo x $ac_new_val`
     2598        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2599          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2600$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2601          ac_cache_corrupted=:
     2602        else
     2603          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2604$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2605          eval $ac_var=\$ac_old_val
     2606        fi
     2607        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2608$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2609        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2610$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17562611      fi;;
    17572612  esac
     
    17592614  if test "$ac_new_set" = set; then
    17602615    case $ac_new_val in
    1761     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2616    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17622617    *) ac_arg=$ac_var=$ac_new_val ;;
    17632618    esac
    17642619    case " $ac_configure_args " in
    17652620      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1766       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2621      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17672622    esac
    17682623  fi
    17692624done
    17702625if $ac_cache_corrupted; then
    1771   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1772 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1773   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1774 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1775    { (exit 1); exit 1; }; }
    1776 fi
    1777 
    1778 
    1779 
    1780 
    1781 
    1782 
    1783 
    1784 
    1785 
    1786 
    1787 
    1788 
    1789 
    1790 
    1791 
    1792 
    1793 
    1794 
    1795 
    1796 
    1797 
    1798 
    1799 
    1800 
     2626  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2627$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2628  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2629$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2630  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2631fi
     2632## -------------------- ##
     2633## Main body of script. ##
     2634## -------------------- ##
    18012635
    18022636ac_ext=c
     
    18092643ac_aux_dir=
    18102644for ac_dir in cf "$srcdir"/cf; do
    1811   if test -f "$ac_dir/install-sh"; then
    1812     ac_aux_dir=$ac_dir
    1813     ac_install_sh="$ac_aux_dir/install-sh -c"
    1814     break
    1815   elif test -f "$ac_dir/install.sh"; then
    1816     ac_aux_dir=$ac_dir
    1817     ac_install_sh="$ac_aux_dir/install.sh -c"
    1818     break
    1819   elif test -f "$ac_dir/shtool"; then
    1820     ac_aux_dir=$ac_dir
    1821     ac_install_sh="$ac_aux_dir/shtool install -c"
    1822     break
    1823   fi
     2645  for ac_t in install-sh install.sh shtool; do
     2646    if test -f "$ac_dir/$ac_t"; then
     2647      ac_aux_dir=$ac_dir
     2648      ac_install_sh="$ac_aux_dir/$ac_t -c"
     2649      break 2
     2650    fi
     2651  done
    18242652done
    18252653if test -z "$ac_aux_dir"; then
    1826   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1827 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1828    { (exit 1); exit 1; }; }
     2654  as_fn_error "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    18292655fi
    18302656
     
    18732699# OS/2's system install, which has a completely different semantic
    18742700# ./install, which can be erroneously created by make from ./install.sh.
    1875 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    1876 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2701# Reject install programs that cannot install multiple files.
     2702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     2703$as_echo_n "checking for a BSD-compatible install... " >&6; }
    18772704if test -z "$INSTALL"; then
    1878 if test "${ac_cv_path_install+set}" = set; then
    1879   echo $ECHO_N "(cached) $ECHO_C" >&6
     2705if test "${ac_cv_path_install+set}" = set; then :
     2706  $as_echo_n "(cached) " >&6
    18802707else
    18812708  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    18842711  IFS=$as_save_IFS
    18852712  test -z "$as_dir" && as_dir=.
    1886   # Account for people who put trailing slashes in PATH elements.
    1887 case $as_dir/ in
    1888   ./ | .// | /cC/* | \
     2713    # Account for people who put trailing slashes in PATH elements.
     2714case $as_dir/ in #((
     2715  ./ | .// | /[cC]/* | \
    18892716  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1890   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2717  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    18912718  /usr/ucb/* ) ;;
    18922719  *)
     
    19062733            :
    19072734          else
    1908             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1909             break 3
     2735            rm -rf conftest.one conftest.two conftest.dir
     2736            echo one > conftest.one
     2737            echo two > conftest.two
     2738            mkdir conftest.dir
     2739            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     2740              test -s conftest.one && test -s conftest.two &&
     2741              test -s conftest.dir/conftest.one &&
     2742              test -s conftest.dir/conftest.two
     2743            then
     2744              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2745              break 3
     2746            fi
    19102747          fi
    19112748        fi
     
    19142751    ;;
    19152752esac
    1916 done
     2753
     2754  done
    19172755IFS=$as_save_IFS
    19182756
     2757rm -rf conftest.one conftest.two conftest.dir
    19192758
    19202759fi
     
    19292768  fi
    19302769fi
    1931 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    1932 echo "${ECHO_T}$INSTALL" >&6; }
     2770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     2771$as_echo "$INSTALL" >&6; }
    19332772
    19342773# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    19402779test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    19412780
    1942 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    1943 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    1944 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    1945 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    1946   echo $ECHO_N "(cached) $ECHO_C" >&6
     2781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     2782$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     2783set x ${MAKE-make}
     2784ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     2785if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
     2786  $as_echo_n "(cached) " >&6
    19472787else
    19482788  cat >conftest.make <<\_ACEOF
     
    19612801fi
    19622802if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    1963   { echo "$as_me:$LINENO: result: yes" >&5
    1964 echo "${ECHO_T}yes" >&6; }
     2803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2804$as_echo "yes" >&6; }
    19652805  SET_MAKE=
    19662806else
    1967   { echo "$as_me:$LINENO: result: no" >&5
    1968 echo "${ECHO_T}no" >&6; }
     2807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2808$as_echo "no" >&6; }
    19692809  SET_MAKE="MAKE=${MAKE-make}"
    19702810fi
     
    19802820  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19812821set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    1984 if test "${ac_cv_prog_CC+set}" = set; then
    1985   echo $ECHO_N "(cached) $ECHO_C" >&6
     2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2823$as_echo_n "checking for $ac_word... " >&6; }
     2824if test "${ac_cv_prog_CC+set}" = set; then :
     2825  $as_echo_n "(cached) " >&6
    19862826else
    19872827  if test -n "$CC"; then
     
    19932833  IFS=$as_save_IFS
    19942834  test -z "$as_dir" && as_dir=.
    1995   for ac_exec_ext in '' $ac_executable_extensions; do
     2835    for ac_exec_ext in '' $ac_executable_extensions; do
    19962836  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19972837    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2838    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19992839    break 2
    20002840  fi
    20012841done
    2002 done
     2842  done
    20032843IFS=$as_save_IFS
    20042844
     
    20072847CC=$ac_cv_prog_CC
    20082848if test -n "$CC"; then
    2009   { echo "$as_me:$LINENO: result: $CC" >&5
    2010 echo "${ECHO_T}$CC" >&6; }
    2011 else
    2012   { echo "$as_me:$LINENO: result: no" >&5
    2013 echo "${ECHO_T}no" >&6; }
     2849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2850$as_echo "$CC" >&6; }
     2851else
     2852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2853$as_echo "no" >&6; }
    20142854fi
    20152855
     
    20202860  # Extract the first word of "gcc", so it can be a program name with args.
    20212861set dummy gcc; ac_word=$2
    2022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2025   echo $ECHO_N "(cached) $ECHO_C" >&6
     2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2863$as_echo_n "checking for $ac_word... " >&6; }
     2864if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2865  $as_echo_n "(cached) " >&6
    20262866else
    20272867  if test -n "$ac_ct_CC"; then
     
    20332873  IFS=$as_save_IFS
    20342874  test -z "$as_dir" && as_dir=.
    2035   for ac_exec_ext in '' $ac_executable_extensions; do
     2875    for ac_exec_ext in '' $ac_executable_extensions; do
    20362876  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20372877    ac_cv_prog_ac_ct_CC="gcc"
    2038     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2878    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20392879    break 2
    20402880  fi
    20412881done
    2042 done
     2882  done
    20432883IFS=$as_save_IFS
    20442884
     
    20472887ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20482888if test -n "$ac_ct_CC"; then
    2049   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2050 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2051 else
    2052   { echo "$as_me:$LINENO: result: no" >&5
    2053 echo "${ECHO_T}no" >&6; }
     2889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2890$as_echo "$ac_ct_CC" >&6; }
     2891else
     2892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2893$as_echo "no" >&6; }
    20542894fi
    20552895
     
    20592899    case $cross_compiling:$ac_tool_warned in
    20602900yes:)
    2061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2062 whose name does not start with the host triplet.  If you think this
    2063 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2065 whose name does not start with the host triplet.  If you think this
    2066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2901{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2902$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20672903ac_tool_warned=yes ;;
    20682904esac
     
    20772913    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20782914set dummy ${ac_tool_prefix}cc; ac_word=$2
    2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2081 if test "${ac_cv_prog_CC+set}" = set; then
    2082   echo $ECHO_N "(cached) $ECHO_C" >&6
     2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2916$as_echo_n "checking for $ac_word... " >&6; }
     2917if test "${ac_cv_prog_CC+set}" = set; then :
     2918  $as_echo_n "(cached) " >&6
    20832919else
    20842920  if test -n "$CC"; then
     
    20902926  IFS=$as_save_IFS
    20912927  test -z "$as_dir" && as_dir=.
    2092   for ac_exec_ext in '' $ac_executable_extensions; do
     2928    for ac_exec_ext in '' $ac_executable_extensions; do
    20932929  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20942930    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2095     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20962932    break 2
    20972933  fi
    20982934done
    2099 done
     2935  done
    21002936IFS=$as_save_IFS
    21012937
     
    21042940CC=$ac_cv_prog_CC
    21052941if test -n "$CC"; then
    2106   { echo "$as_me:$LINENO: result: $CC" >&5
    2107 echo "${ECHO_T}$CC" >&6; }
    2108 else
    2109   { echo "$as_me:$LINENO: result: no" >&5
    2110 echo "${ECHO_T}no" >&6; }
     2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2943$as_echo "$CC" >&6; }
     2944else
     2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2946$as_echo "no" >&6; }
    21112947fi
    21122948
     
    21172953  # Extract the first word of "cc", so it can be a program name with args.
    21182954set dummy cc; ac_word=$2
    2119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2121 if test "${ac_cv_prog_CC+set}" = set; then
    2122   echo $ECHO_N "(cached) $ECHO_C" >&6
     2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2956$as_echo_n "checking for $ac_word... " >&6; }
     2957if test "${ac_cv_prog_CC+set}" = set; then :
     2958  $as_echo_n "(cached) " >&6
    21232959else
    21242960  if test -n "$CC"; then
     
    21312967  IFS=$as_save_IFS
    21322968  test -z "$as_dir" && as_dir=.
    2133   for ac_exec_ext in '' $ac_executable_extensions; do
     2969    for ac_exec_ext in '' $ac_executable_extensions; do
    21342970  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21352971    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    21382974     fi
    21392975    ac_cv_prog_CC="cc"
    2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21412977    break 2
    21422978  fi
    21432979done
    2144 done
     2980  done
    21452981IFS=$as_save_IFS
    21462982
     
    21612997CC=$ac_cv_prog_CC
    21622998if test -n "$CC"; then
    2163   { echo "$as_me:$LINENO: result: $CC" >&5
    2164 echo "${ECHO_T}$CC" >&6; }
    2165 else
    2166   { echo "$as_me:$LINENO: result: no" >&5
    2167 echo "${ECHO_T}no" >&6; }
     2999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3000$as_echo "$CC" >&6; }
     3001else
     3002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3003$as_echo "no" >&6; }
    21683004fi
    21693005
     
    21763012    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21773013set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2180 if test "${ac_cv_prog_CC+set}" = set; then
    2181   echo $ECHO_N "(cached) $ECHO_C" >&6
     3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3015$as_echo_n "checking for $ac_word... " >&6; }
     3016if test "${ac_cv_prog_CC+set}" = set; then :
     3017  $as_echo_n "(cached) " >&6
    21823018else
    21833019  if test -n "$CC"; then
     
    21893025  IFS=$as_save_IFS
    21903026  test -z "$as_dir" && as_dir=.
    2191   for ac_exec_ext in '' $ac_executable_extensions; do
     3027    for ac_exec_ext in '' $ac_executable_extensions; do
    21923028  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21933029    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2194     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21953031    break 2
    21963032  fi
    21973033done
    2198 done
     3034  done
    21993035IFS=$as_save_IFS
    22003036
     
    22033039CC=$ac_cv_prog_CC
    22043040if test -n "$CC"; then
    2205   { echo "$as_me:$LINENO: result: $CC" >&5
    2206 echo "${ECHO_T}$CC" >&6; }
    2207 else
    2208   { echo "$as_me:$LINENO: result: no" >&5
    2209 echo "${ECHO_T}no" >&6; }
     3041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3042$as_echo "$CC" >&6; }
     3043else
     3044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3045$as_echo "no" >&6; }
    22103046fi
    22113047
     
    22203056  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22213057set dummy $ac_prog; ac_word=$2
    2222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2225   echo $ECHO_N "(cached) $ECHO_C" >&6
     3058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3059$as_echo_n "checking for $ac_word... " >&6; }
     3060if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     3061  $as_echo_n "(cached) " >&6
    22263062else
    22273063  if test -n "$ac_ct_CC"; then
     
    22333069  IFS=$as_save_IFS
    22343070  test -z "$as_dir" && as_dir=.
    2235   for ac_exec_ext in '' $ac_executable_extensions; do
     3071    for ac_exec_ext in '' $ac_executable_extensions; do
    22363072  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22373073    ac_cv_prog_ac_ct_CC="$ac_prog"
    2238     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22393075    break 2
    22403076  fi
    22413077done
    2242 done
     3078  done
    22433079IFS=$as_save_IFS
    22443080
     
    22473083ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22483084if test -n "$ac_ct_CC"; then
    2249   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2250 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2251 else
    2252   { echo "$as_me:$LINENO: result: no" >&5
    2253 echo "${ECHO_T}no" >&6; }
     3085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3086$as_echo "$ac_ct_CC" >&6; }
     3087else
     3088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3089$as_echo "no" >&6; }
    22543090fi
    22553091
     
    22633099    case $cross_compiling:$ac_tool_warned in
    22643100yes:)
    2265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2266 whose name does not start with the host triplet.  If you think this
    2267 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2269 whose name does not start with the host triplet.  If you think this
    2270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3101{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3102$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22713103ac_tool_warned=yes ;;
    22723104esac
     
    22783110
    22793111
    2280 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2281 See \`config.log' for more details." >&5
    2282 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2283 See \`config.log' for more details." >&2;}
    2284    { (exit 1); exit 1; }; }
     3112test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3114as_fn_error "no acceptable C compiler found in \$PATH
     3115See \`config.log' for more details." "$LINENO" 5; }
    22853116
    22863117# Provide some information about the compiler.
    2287 echo "$as_me:$LINENO: checking for C compiler version" >&5
    2288 ac_compiler=`set X $ac_compile; echo $2`
    2289 { (ac_try="$ac_compiler --version >&5"
     3118$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     3119set X $ac_compile
     3120ac_compiler=$2
     3121for ac_option in --version -v -V -qversion; do
     3122  { { ac_try="$ac_compiler $ac_option >&5"
    22903123case "(($ac_try" in
    22913124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22923125  *) ac_try_echo=$ac_try;;
    22933126esac
    2294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2295   (eval "$ac_compiler --version >&5") 2>&5
     3127eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3128$as_echo "$ac_try_echo"; } >&5
     3129  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22963130  ac_status=$?
    2297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2298   (exit $ac_status); }
    2299 { (ac_try="$ac_compiler -v >&5"
     3131  if test -s conftest.err; then
     3132    sed '10a\
     3133... rest of stderr output deleted ...
     3134         10q' conftest.err >conftest.er1
     3135    cat conftest.er1 >&5
     3136    rm -f conftest.er1 conftest.err
     3137  fi
     3138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3139  test $ac_status = 0; }
     3140done
     3141
     3142cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3143/* end confdefs.h.  */
     3144#include <stdio.h>
     3145int
     3146main ()
     3147{
     3148FILE *f = fopen ("conftest.out", "w");
     3149 return ferror (f) || fclose (f) != 0;
     3150
     3151  ;
     3152  return 0;
     3153}
     3154_ACEOF
     3155ac_clean_files_save=$ac_clean_files
     3156ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
     3157# Try to create an executable without -o first, disregard a.out.
     3158# It will help us diagnose broken compilers, and finding out an intuition
     3159# of exeext.
     3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3161$as_echo_n "checking for C compiler default output file name... " >&6; }
     3162ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3163
     3164# The possible output files:
     3165ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3166
     3167ac_rmfiles=
     3168for ac_file in $ac_files
     3169do
     3170  case $ac_file in
     3171    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3172    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3173  esac
     3174done
     3175rm -f $ac_rmfiles
     3176
     3177if { { ac_try="$ac_link_default"
    23003178case "(($ac_try" in
    23013179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23023180  *) ac_try_echo=$ac_try;;
    23033181esac
    2304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2305   (eval "$ac_compiler -v >&5") 2>&5
    2306   ac_status=$?
    2307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2308   (exit $ac_status); }
    2309 { (ac_try="$ac_compiler -V >&5"
    2310 case "(($ac_try" in
    2311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2312   *) ac_try_echo=$ac_try;;
    2313 esac
    2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2315   (eval "$ac_compiler -V >&5") 2>&5
    2316   ac_status=$?
    2317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2318   (exit $ac_status); }
    2319 
    2320 cat >conftest.$ac_ext <<_ACEOF
    2321 /* confdefs.h.  */
    2322 _ACEOF
    2323 cat confdefs.h >>conftest.$ac_ext
    2324 cat >>conftest.$ac_ext <<_ACEOF
    2325 /* end confdefs.h.  */
    2326 
    2327 int
    2328 main ()
    2329 {
    2330 
    2331   ;
    2332   return 0;
    2333 }
    2334 _ACEOF
    2335 ac_clean_files_save=$ac_clean_files
    2336 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2337 # Try to create an executable without -o first, disregard a.out.
    2338 # It will help us diagnose broken compilers, and finding out an intuition
    2339 # of exeext.
    2340 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2341 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    2342 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2343 #
    2344 # List of possible output files, starting from the most likely.
    2345 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2346 # only as a last resort.  b.out is created by i960 compilers.
    2347 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2348 #
    2349 # The IRIX 6 linker writes into existing files which may not be
    2350 # executable, retaining their permissions.  Remove them first so a
    2351 # subsequent execution test works.
    2352 ac_rmfiles=
    2353 for ac_file in $ac_files
    2354 do
    2355   case $ac_file in
    2356     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2357     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2358   esac
    2359 done
    2360 rm -f $ac_rmfiles
    2361 
    2362 if { (ac_try="$ac_link_default"
    2363 case "(($ac_try" in
    2364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2365   *) ac_try_echo=$ac_try;;
    2366 esac
    2367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3182eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3183$as_echo "$ac_try_echo"; } >&5
    23683184  (eval "$ac_link_default") 2>&5
    23693185  ac_status=$?
    2370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2371   (exit $ac_status); }; then
     3186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3187  test $ac_status = 0; }; then :
    23723188  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23733189# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23793195  test -f "$ac_file" || continue
    23803196  case $ac_file in
    2381     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     3197    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    23823198        ;;
    23833199    [ab].out )
     
    23863202        break;;
    23873203    *.* )
    2388         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3204        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23893205        then :; else
    23903206           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    24053221  ac_file=''
    24063222fi
    2407 
    2408 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2409 echo "${ECHO_T}$ac_file" >&6; }
    2410 if test -z "$ac_file"; then
    2411   echo "$as_me: failed program was:" >&5
     3223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3224$as_echo "$ac_file" >&6; }
     3225if test -z "$ac_file"; then :
     3226  $as_echo "$as_me: failed program was:" >&5
    24123227sed 's/^/| /' conftest.$ac_ext >&5
    24133228
    2414 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2415 See \`config.log' for more details." >&5
    2416 echo "$as_me: error: C compiler cannot create executables
    2417 See \`config.log' for more details." >&2;}
    2418    { (exit 77); exit 77; }; }
    2419 fi
    2420 
     3229{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3231{ as_fn_set_status 77
     3232as_fn_error "C compiler cannot create executables
     3233See \`config.log' for more details." "$LINENO" 5; }; }
     3234fi
    24213235ac_exeext=$ac_cv_exeext
    24223236
    24233237# Check that the compiler produces executables we can run.  If not, either
    24243238# the compiler is broken, or we cross compile.
    2425 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2426 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    2427 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     3239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3240$as_echo_n "checking whether the C compiler works... " >&6; }
    24283241# If not cross compiling, check that we can run a simple program.
    24293242if test "$cross_compiling" != yes; then
    24303243  if { ac_try='./$ac_file'
    2431   { (case "(($ac_try" in
     3244  { { case "(($ac_try" in
    24323245  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24333246  *) ac_try_echo=$ac_try;;
    24343247esac
    2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3248eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3249$as_echo "$ac_try_echo"; } >&5
    24363250  (eval "$ac_try") 2>&5
    24373251  ac_status=$?
    2438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2439   (exit $ac_status); }; }; then
     3252  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3253  test $ac_status = 0; }; }; then
    24403254    cross_compiling=no
    24413255  else
     
    24433257        cross_compiling=yes
    24443258    else
    2445         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     3259        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3261as_fn_error "cannot run C compiled programs.
    24463262If you meant to cross compile, use \`--host'.
    2447 See \`config.log' for more details." >&5
    2448 echo "$as_me: error: cannot run C compiled programs.
    2449 If you meant to cross compile, use \`--host'.
    2450 See \`config.log' for more details." >&2;}
    2451    { (exit 1); exit 1; }; }
     3263See \`config.log' for more details." "$LINENO" 5; }
    24523264    fi
    24533265  fi
    24543266fi
    2455 { echo "$as_me:$LINENO: result: yes" >&5
    2456 echo "${ECHO_T}yes" >&6; }
    2457 
    2458 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     3267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3268$as_echo "yes" >&6; }
     3269
     3270rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
    24593271ac_clean_files=$ac_clean_files_save
    24603272# Check that the compiler produces executables we can run.  If not, either
    24613273# the compiler is broken, or we cross compile.
    2462 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2463 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2464 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2465 echo "${ECHO_T}$cross_compiling" >&6; }
    2466 
    2467 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2468 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2469 if { (ac_try="$ac_link"
     3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3275$as_echo_n "checking whether we are cross compiling... " >&6; }
     3276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3277$as_echo "$cross_compiling" >&6; }
     3278
     3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     3280$as_echo_n "checking for suffix of executables... " >&6; }
     3281if { { ac_try="$ac_link"
    24703282case "(($ac_try" in
    24713283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24723284  *) ac_try_echo=$ac_try;;
    24733285esac
    2474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3286eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3287$as_echo "$ac_try_echo"; } >&5
    24753288  (eval "$ac_link") 2>&5
    24763289  ac_status=$?
    2477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2478   (exit $ac_status); }; then
     3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3291  test $ac_status = 0; }; then :
    24793292  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24803293# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24843297  test -f "$ac_file" || continue
    24853298  case $ac_file in
    2486     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     3299    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    24873300    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    24883301          break;;
     
    24913304done
    24923305else
    2493   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2494 See \`config.log' for more details." >&5
    2495 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2496 See \`config.log' for more details." >&2;}
    2497    { (exit 1); exit 1; }; }
    2498 fi
    2499 
     3306  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3308as_fn_error "cannot compute suffix of executables: cannot compile and link
     3309See \`config.log' for more details." "$LINENO" 5; }
     3310fi
    25003311rm -f conftest$ac_cv_exeext
    2501 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2502 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     3312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3313$as_echo "$ac_cv_exeext" >&6; }
    25033314
    25043315rm -f conftest.$ac_ext
    25053316EXEEXT=$ac_cv_exeext
    25063317ac_exeext=$EXEEXT
    2507 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2508 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    2509 if test "${ac_cv_objext+set}" = set; then
    2510   echo $ECHO_N "(cached) $ECHO_C" >&6
    2511 else
    2512   cat >conftest.$ac_ext <<_ACEOF
    2513 /* confdefs.h.  */
    2514 _ACEOF
    2515 cat confdefs.h >>conftest.$ac_ext
    2516 cat >>conftest.$ac_ext <<_ACEOF
     3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3319$as_echo_n "checking for suffix of object files... " >&6; }
     3320if test "${ac_cv_objext+set}" = set; then :
     3321  $as_echo_n "(cached) " >&6
     3322else
     3323  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25173324/* end confdefs.h.  */
    25183325
     
    25263333_ACEOF
    25273334rm -f conftest.o conftest.obj
    2528 if { (ac_try="$ac_compile"
     3335if { { ac_try="$ac_compile"
    25293336case "(($ac_try" in
    25303337  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25313338  *) ac_try_echo=$ac_try;;
    25323339esac
    2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3340eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3341$as_echo "$ac_try_echo"; } >&5
    25343342  (eval "$ac_compile") 2>&5
    25353343  ac_status=$?
    2536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2537   (exit $ac_status); }; then
     3344  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3345  test $ac_status = 0; }; then :
    25383346  for ac_file in conftest.o conftest.obj conftest.*; do
    25393347  test -f "$ac_file" || continue;
    25403348  case $ac_file in
    2541     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     3349    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    25423350    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    25433351       break;;
     
    25453353done
    25463354else
    2547   echo "$as_me: failed program was:" >&5
     3355  $as_echo "$as_me: failed program was:" >&5
    25483356sed 's/^/| /' conftest.$ac_ext >&5
    25493357
    2550 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2551 See \`config.log' for more details." >&5
    2552 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2553 See \`config.log' for more details." >&2;}
    2554    { (exit 1); exit 1; }; }
    2555 fi
    2556 
     3358{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3360as_fn_error "cannot compute suffix of object files: cannot compile
     3361See \`config.log' for more details." "$LINENO" 5; }
     3362fi
    25573363rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25583364fi
    2559 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2560 echo "${ECHO_T}$ac_cv_objext" >&6; }
     3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3366$as_echo "$ac_cv_objext" >&6; }
    25613367OBJEXT=$ac_cv_objext
    25623368ac_objext=$OBJEXT
    2563 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2564 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    2565 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2566   echo $ECHO_N "(cached) $ECHO_C" >&6
    2567 else
    2568   cat >conftest.$ac_ext <<_ACEOF
    2569 /* confdefs.h.  */
    2570 _ACEOF
    2571 cat confdefs.h >>conftest.$ac_ext
    2572 cat >>conftest.$ac_ext <<_ACEOF
     3369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3370$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3371if test "${ac_cv_c_compiler_gnu+set}" = set; then :
     3372  $as_echo_n "(cached) " >&6
     3373else
     3374  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25733375/* end confdefs.h.  */
    25743376
     
    25843386}
    25853387_ACEOF
    2586 rm -f conftest.$ac_objext
    2587 if { (ac_try="$ac_compile"
    2588 case "(($ac_try" in
    2589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2590   *) ac_try_echo=$ac_try;;
    2591 esac
    2592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2593   (eval "$ac_compile") 2>conftest.er1
    2594   ac_status=$?
    2595   grep -v '^ *+' conftest.er1 >conftest.err
    2596   rm -f conftest.er1
    2597   cat conftest.err >&5
    2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2599   (exit $ac_status); } && {
    2600          test -z "$ac_c_werror_flag" ||
    2601          test ! -s conftest.err
    2602        } && test -s conftest.$ac_objext; then
     3388if ac_fn_c_try_compile "$LINENO"; then :
    26033389  ac_compiler_gnu=yes
    26043390else
    2605   echo "$as_me: failed program was:" >&5
    2606 sed 's/^/| /' conftest.$ac_ext >&5
    2607 
    2608         ac_compiler_gnu=no
    2609 fi
    2610 
     3391  ac_compiler_gnu=no
     3392fi
    26113393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26123394ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26133395
    26143396fi
    2615 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2616 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    2617 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3398$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3399if test $ac_compiler_gnu = yes; then
     3400  GCC=yes
     3401else
     3402  GCC=
     3403fi
    26183404ac_test_CFLAGS=${CFLAGS+set}
    26193405ac_save_CFLAGS=$CFLAGS
    2620 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2621 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    2622 if test "${ac_cv_prog_cc_g+set}" = set; then
    2623   echo $ECHO_N "(cached) $ECHO_C" >&6
     3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3407$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3408if test "${ac_cv_prog_cc_g+set}" = set; then :
     3409  $as_echo_n "(cached) " >&6
    26243410else
    26253411  ac_save_c_werror_flag=$ac_c_werror_flag
     
    26273413   ac_cv_prog_cc_g=no
    26283414   CFLAGS="-g"
    2629    cat >conftest.$ac_ext <<_ACEOF
    2630 /* confdefs.h.  */
    2631 _ACEOF
    2632 cat confdefs.h >>conftest.$ac_ext
    2633 cat >>conftest.$ac_ext <<_ACEOF
     3415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26343416/* end confdefs.h.  */
    26353417
     
    26423424}
    26433425_ACEOF
    2644 rm -f conftest.$ac_objext
    2645 if { (ac_try="$ac_compile"
    2646 case "(($ac_try" in
    2647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2648   *) ac_try_echo=$ac_try;;
    2649 esac
    2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2651   (eval "$ac_compile") 2>conftest.er1
    2652   ac_status=$?
    2653   grep -v '^ *+' conftest.er1 >conftest.err
    2654   rm -f conftest.er1
    2655   cat conftest.err >&5
    2656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2657   (exit $ac_status); } && {
    2658          test -z "$ac_c_werror_flag" ||
    2659          test ! -s conftest.err
    2660        } && test -s conftest.$ac_objext; then
     3426if ac_fn_c_try_compile "$LINENO"; then :
    26613427  ac_cv_prog_cc_g=yes
    26623428else
    2663   echo "$as_me: failed program was:" >&5
    2664 sed 's/^/| /' conftest.$ac_ext >&5
    2665 
    2666         CFLAGS=""
    2667       cat >conftest.$ac_ext <<_ACEOF
    2668 /* confdefs.h.  */
    2669 _ACEOF
    2670 cat confdefs.h >>conftest.$ac_ext
    2671 cat >>conftest.$ac_ext <<_ACEOF
     3429  CFLAGS=""
     3430      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26723431/* end confdefs.h.  */
    26733432
     
    26803439}
    26813440_ACEOF
    2682 rm -f conftest.$ac_objext
    2683 if { (ac_try="$ac_compile"
    2684 case "(($ac_try" in
    2685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2686   *) ac_try_echo=$ac_try;;
    2687 esac
    2688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2689   (eval "$ac_compile") 2>conftest.er1
    2690   ac_status=$?
    2691   grep -v '^ *+' conftest.er1 >conftest.err
    2692   rm -f conftest.er1
    2693   cat conftest.err >&5
    2694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2695   (exit $ac_status); } && {
    2696          test -z "$ac_c_werror_flag" ||
    2697          test ! -s conftest.err
    2698        } && test -s conftest.$ac_objext; then
    2699   :
    2700 else
    2701   echo "$as_me: failed program was:" >&5
    2702 sed 's/^/| /' conftest.$ac_ext >&5
    2703 
    2704         ac_c_werror_flag=$ac_save_c_werror_flag
     3441if ac_fn_c_try_compile "$LINENO"; then :
     3442
     3443else
     3444  ac_c_werror_flag=$ac_save_c_werror_flag
    27053445         CFLAGS="-g"
    2706          cat >conftest.$ac_ext <<_ACEOF
    2707 /* confdefs.h.  */
    2708 _ACEOF
    2709 cat confdefs.h >>conftest.$ac_ext
    2710 cat >>conftest.$ac_ext <<_ACEOF
     3446         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27113447/* end confdefs.h.  */
    27123448
     
    27193455}
    27203456_ACEOF
    2721 rm -f conftest.$ac_objext
    2722 if { (ac_try="$ac_compile"
    2723 case "(($ac_try" in
    2724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2725   *) ac_try_echo=$ac_try;;
    2726 esac
    2727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2728   (eval "$ac_compile") 2>conftest.er1
    2729   ac_status=$?
    2730   grep -v '^ *+' conftest.er1 >conftest.err
    2731   rm -f conftest.er1
    2732   cat conftest.err >&5
    2733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2734   (exit $ac_status); } && {
    2735          test -z "$ac_c_werror_flag" ||
    2736          test ! -s conftest.err
    2737        } && test -s conftest.$ac_objext; then
     3457if ac_fn_c_try_compile "$LINENO"; then :
    27383458  ac_cv_prog_cc_g=yes
    2739 else
    2740   echo "$as_me: failed program was:" >&5
    2741 sed 's/^/| /' conftest.$ac_ext >&5
    2742 
    2743 
    2744 fi
    2745 
     3459fi
    27463460rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27473461fi
    2748 
    27493462rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27503463fi
    2751 
    27523464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27533465   ac_c_werror_flag=$ac_save_c_werror_flag
    27543466fi
    2755 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2756 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3468$as_echo "$ac_cv_prog_cc_g" >&6; }
    27573469if test "$ac_test_CFLAGS" = set; then
    27583470  CFLAGS=$ac_save_CFLAGS
     
    27703482  fi
    27713483fi
    2772 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2773 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    2774 if test "${ac_cv_prog_cc_c89+set}" = set; then
    2775   echo $ECHO_N "(cached) $ECHO_C" >&6
     3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3485$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3486if test "${ac_cv_prog_cc_c89+set}" = set; then :
     3487  $as_echo_n "(cached) " >&6
    27763488else
    27773489  ac_cv_prog_cc_c89=no
    27783490ac_save_CC=$CC
    2779 cat >conftest.$ac_ext <<_ACEOF
    2780 /* confdefs.h.  */
    2781 _ACEOF
    2782 cat confdefs.h >>conftest.$ac_ext
    2783 cat >>conftest.$ac_ext <<_ACEOF
     3491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27843492/* end confdefs.h.  */
    27853493#include <stdarg.h>
     
    28383546do
    28393547  CC="$ac_save_CC $ac_arg"
    2840   rm -f conftest.$ac_objext
    2841 if { (ac_try="$ac_compile"
    2842 case "(($ac_try" in
    2843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2844   *) ac_try_echo=$ac_try;;
    2845 esac
    2846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2847   (eval "$ac_compile") 2>conftest.er1
    2848   ac_status=$?
    2849   grep -v '^ *+' conftest.er1 >conftest.err
    2850   rm -f conftest.er1
    2851   cat conftest.err >&5
    2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2853   (exit $ac_status); } && {
    2854          test -z "$ac_c_werror_flag" ||
    2855          test ! -s conftest.err
    2856        } && test -s conftest.$ac_objext; then
     3548  if ac_fn_c_try_compile "$LINENO"; then :
    28573549  ac_cv_prog_cc_c89=$ac_arg
    2858 else
    2859   echo "$as_me: failed program was:" >&5
    2860 sed 's/^/| /' conftest.$ac_ext >&5
    2861 
    2862 
    2863 fi
    2864 
     3550fi
    28653551rm -f core conftest.err conftest.$ac_objext
    28663552  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28733559case "x$ac_cv_prog_cc_c89" in
    28743560  x)
    2875     { echo "$as_me:$LINENO: result: none needed" >&5
    2876 echo "${ECHO_T}none needed" >&6; } ;;
     3561    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3562$as_echo "none needed" >&6; } ;;
    28773563  xno)
    2878     { echo "$as_me:$LINENO: result: unsupported" >&5
    2879 echo "${ECHO_T}unsupported" >&6; } ;;
     3564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3565$as_echo "unsupported" >&6; } ;;
    28803566  *)
    28813567    CC="$CC $ac_cv_prog_cc_c89"
    2882     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2883 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3568    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3569$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28843570esac
    2885 
     3571if test "x$ac_cv_prog_cc_c89" != xno; then :
     3572
     3573fi
    28863574
    28873575ac_ext=c
     
    29053593    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29063594set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2909 if test "${ac_cv_prog_CXX+set}" = set; then
    2910   echo $ECHO_N "(cached) $ECHO_C" >&6
     3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3596$as_echo_n "checking for $ac_word... " >&6; }
     3597if test "${ac_cv_prog_CXX+set}" = set; then :
     3598  $as_echo_n "(cached) " >&6
    29113599else
    29123600  if test -n "$CXX"; then
     
    29183606  IFS=$as_save_IFS
    29193607  test -z "$as_dir" && as_dir=.
    2920   for ac_exec_ext in '' $ac_executable_extensions; do
     3608    for ac_exec_ext in '' $ac_executable_extensions; do
    29213609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29223610    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2923     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29243612    break 2
    29253613  fi
    29263614done
    2927 done
     3615  done
    29283616IFS=$as_save_IFS
    29293617
     
    29323620CXX=$ac_cv_prog_CXX
    29333621if test -n "$CXX"; then
    2934   { echo "$as_me:$LINENO: result: $CXX" >&5
    2935 echo "${ECHO_T}$CXX" >&6; }
    2936 else
    2937   { echo "$as_me:$LINENO: result: no" >&5
    2938 echo "${ECHO_T}no" >&6; }
     3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3623$as_echo "$CXX" >&6; }
     3624else
     3625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3626$as_echo "no" >&6; }
    29393627fi
    29403628
     
    29493637  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29503638set dummy $ac_prog; ac_word=$2
    2951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2953 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2954   echo $ECHO_N "(cached) $ECHO_C" >&6
     3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3640$as_echo_n "checking for $ac_word... " >&6; }
     3641if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
     3642  $as_echo_n "(cached) " >&6
    29553643else
    29563644  if test -n "$ac_ct_CXX"; then
     
    29623650  IFS=$as_save_IFS
    29633651  test -z "$as_dir" && as_dir=.
    2964   for ac_exec_ext in '' $ac_executable_extensions; do
     3652    for ac_exec_ext in '' $ac_executable_extensions; do
    29653653  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29663654    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2967     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29683656    break 2
    29693657  fi
    29703658done
    2971 done
     3659  done
    29723660IFS=$as_save_IFS
    29733661
     
    29763664ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    29773665if test -n "$ac_ct_CXX"; then
    2978   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2979 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    2980 else
    2981   { echo "$as_me:$LINENO: result: no" >&5
    2982 echo "${ECHO_T}no" >&6; }
     3666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3667$as_echo "$ac_ct_CXX" >&6; }
     3668else
     3669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3670$as_echo "no" >&6; }
    29833671fi
    29843672
     
    29923680    case $cross_compiling:$ac_tool_warned in
    29933681yes:)
    2994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2995 whose name does not start with the host triplet.  If you think this
    2996 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2998 whose name does not start with the host triplet.  If you think this
    2999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30003684ac_tool_warned=yes ;;
    30013685esac
     
    30073691fi
    30083692# Provide some information about the compiler.
    3009 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3010 ac_compiler=`set X $ac_compile; echo $2`
    3011 { (ac_try="$ac_compiler --version >&5"
     3693$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3694set X $ac_compile
     3695ac_compiler=$2
     3696for ac_option in --version -v -V -qversion; do
     3697  { { ac_try="$ac_compiler $ac_option >&5"
    30123698case "(($ac_try" in
    30133699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30143700  *) ac_try_echo=$ac_try;;
    30153701esac
    3016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3017   (eval "$ac_compiler --version >&5") 2>&5
     3702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3703$as_echo "$ac_try_echo"; } >&5
     3704  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    30183705  ac_status=$?
    3019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3020   (exit $ac_status); }
    3021 { (ac_try="$ac_compiler -v >&5"
    3022 case "(($ac_try" in
    3023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3024   *) ac_try_echo=$ac_try;;
    3025 esac
    3026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3027   (eval "$ac_compiler -v >&5") 2>&5
    3028   ac_status=$?
    3029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3030   (exit $ac_status); }
    3031 { (ac_try="$ac_compiler -V >&5"
    3032 case "(($ac_try" in
    3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3034   *) ac_try_echo=$ac_try;;
    3035 esac
    3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3037   (eval "$ac_compiler -V >&5") 2>&5
    3038   ac_status=$?
    3039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3040   (exit $ac_status); }
    3041 
    3042 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3043 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    3044 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3045   echo $ECHO_N "(cached) $ECHO_C" >&6
    3046 else
    3047   cat >conftest.$ac_ext <<_ACEOF
    3048 /* confdefs.h.  */
    3049 _ACEOF
    3050 cat confdefs.h >>conftest.$ac_ext
    3051 cat >>conftest.$ac_ext <<_ACEOF
     3706  if test -s conftest.err; then
     3707    sed '10a\
     3708... rest of stderr output deleted ...
     3709         10q' conftest.err >conftest.er1
     3710    cat conftest.er1 >&5
     3711    rm -f conftest.er1 conftest.err
     3712  fi
     3713  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3714  test $ac_status = 0; }
     3715done
     3716
     3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3718$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3719if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
     3720  $as_echo_n "(cached) " >&6
     3721else
     3722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30523723/* end confdefs.h.  */
    30533724
     
    30633734}
    30643735_ACEOF
    3065 rm -f conftest.$ac_objext
    3066 if { (ac_try="$ac_compile"
    3067 case "(($ac_try" in
    3068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3069   *) ac_try_echo=$ac_try;;
    3070 esac
    3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3072   (eval "$ac_compile") 2>conftest.er1
    3073   ac_status=$?
    3074   grep -v '^ *+' conftest.er1 >conftest.err
    3075   rm -f conftest.er1
    3076   cat conftest.err >&5
    3077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3078   (exit $ac_status); } && {
    3079          test -z "$ac_cxx_werror_flag" ||
    3080          test ! -s conftest.err
    3081        } && test -s conftest.$ac_objext; then
     3736if ac_fn_cxx_try_compile "$LINENO"; then :
    30823737  ac_compiler_gnu=yes
    30833738else
    3084   echo "$as_me: failed program was:" >&5
    3085 sed 's/^/| /' conftest.$ac_ext >&5
    3086 
    3087         ac_compiler_gnu=no
    3088 fi
    3089 
     3739  ac_compiler_gnu=no
     3740fi
    30903741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30913742ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    30923743
    30933744fi
    3094 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3095 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    3096 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3746$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3747if test $ac_compiler_gnu = yes; then
     3748  GXX=yes
     3749else
     3750  GXX=
     3751fi
    30973752ac_test_CXXFLAGS=${CXXFLAGS+set}
    30983753ac_save_CXXFLAGS=$CXXFLAGS
    3099 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3100 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    3101 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3102   echo $ECHO_N "(cached) $ECHO_C" >&6
     3754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3755$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3756if test "${ac_cv_prog_cxx_g+set}" = set; then :
     3757  $as_echo_n "(cached) " >&6
    31033758else
    31043759  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    31063761   ac_cv_prog_cxx_g=no
    31073762   CXXFLAGS="-g"
    3108    cat >conftest.$ac_ext <<_ACEOF
    3109 /* confdefs.h.  */
    3110 _ACEOF
    3111 cat confdefs.h >>conftest.$ac_ext
    3112 cat >>conftest.$ac_ext <<_ACEOF
     3763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31133764/* end confdefs.h.  */
    31143765
     
    31213772}
    31223773_ACEOF
    3123 rm -f conftest.$ac_objext
    3124 if { (ac_try="$ac_compile"
    3125 case "(($ac_try" in
    3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3127   *) ac_try_echo=$ac_try;;
    3128 esac
    3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3130   (eval "$ac_compile") 2>conftest.er1
    3131   ac_status=$?
    3132   grep -v '^ *+' conftest.er1 >conftest.err
    3133   rm -f conftest.er1
    3134   cat conftest.err >&5
    3135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3136   (exit $ac_status); } && {
    3137          test -z "$ac_cxx_werror_flag" ||
    3138          test ! -s conftest.err
    3139        } && test -s conftest.$ac_objext; then
     3774if ac_fn_cxx_try_compile "$LINENO"; then :
    31403775  ac_cv_prog_cxx_g=yes
    31413776else
    3142   echo "$as_me: failed program was:" >&5
    3143 sed 's/^/| /' conftest.$ac_ext >&5
    3144 
    3145         CXXFLAGS=""
    3146       cat >conftest.$ac_ext <<_ACEOF
    3147 /* confdefs.h.  */
    3148 _ACEOF
    3149 cat confdefs.h >>conftest.$ac_ext
    3150 cat >>conftest.$ac_ext <<_ACEOF
     3777  CXXFLAGS=""
     3778      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31513779/* end confdefs.h.  */
    31523780
     
    31593787}
    31603788_ACEOF
    3161 rm -f conftest.$ac_objext
    3162 if { (ac_try="$ac_compile"
    3163 case "(($ac_try" in
    3164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3165   *) ac_try_echo=$ac_try;;
    3166 esac
    3167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3168   (eval "$ac_compile") 2>conftest.er1
    3169   ac_status=$?
    3170   grep -v '^ *+' conftest.er1 >conftest.err
    3171   rm -f conftest.er1
    3172   cat conftest.err >&5
    3173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3174   (exit $ac_status); } && {
    3175          test -z "$ac_cxx_werror_flag" ||
    3176          test ! -s conftest.err
    3177        } && test -s conftest.$ac_objext; then
    3178   :
    3179 else
    3180   echo "$as_me: failed program was:" >&5
    3181 sed 's/^/| /' conftest.$ac_ext >&5
    3182 
    3183         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3789if ac_fn_cxx_try_compile "$LINENO"; then :
     3790
     3791else
     3792  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    31843793         CXXFLAGS="-g"
    3185          cat >conftest.$ac_ext <<_ACEOF
    3186 /* confdefs.h.  */
    3187 _ACEOF
    3188 cat confdefs.h >>conftest.$ac_ext
    3189 cat >>conftest.$ac_ext <<_ACEOF
     3794         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31903795/* end confdefs.h.  */
    31913796
     
    31983803}
    31993804_ACEOF
    3200 rm -f conftest.$ac_objext
    3201 if { (ac_try="$ac_compile"
    3202 case "(($ac_try" in
    3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3204   *) ac_try_echo=$ac_try;;
    3205 esac
    3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3207   (eval "$ac_compile") 2>conftest.er1
    3208   ac_status=$?
    3209   grep -v '^ *+' conftest.er1 >conftest.err
    3210   rm -f conftest.er1
    3211   cat conftest.err >&5
    3212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3213   (exit $ac_status); } && {
    3214          test -z "$ac_cxx_werror_flag" ||
    3215          test ! -s conftest.err
    3216        } && test -s conftest.$ac_objext; then
     3805if ac_fn_cxx_try_compile "$LINENO"; then :
    32173806  ac_cv_prog_cxx_g=yes
    3218 else
    3219   echo "$as_me: failed program was:" >&5
    3220 sed 's/^/| /' conftest.$ac_ext >&5
    3221 
    3222 
    3223 fi
    3224 
     3807fi
    32253808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32263809fi
    3227 
    32283810rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32293811fi
    3230 
    32313812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32323813   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    32333814fi
    3234 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3235 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     3815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3816$as_echo "$ac_cv_prog_cxx_g" >&6; }
    32363817if test "$ac_test_CXXFLAGS" = set; then
    32373818  CXXFLAGS=$ac_save_CXXFLAGS
     
    32563837
    32573838# Avoid g95
    3258 # Find a good install program.  We prefer a C program (faster),
    3259 # so one script is as good as another.  But avoid the broken or
    3260 # incompatible versions:
    3261 # SysV /etc/install, /usr/sbin/install
    3262 # SunOS /usr/etc/install
    3263 # IRIX /sbin/install
    3264 # AIX /bin/install
    3265 # AmigaOS /C/install, which installs bootblocks on floppy discs
    3266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    3267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    3268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    3269 # OS/2's system install, which has a completely different semantic
    3270 # ./install, which can be erroneously created by make from ./install.sh.
    3271 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3272 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    3273 if test -z "$INSTALL"; then
    3274 if test "${ac_cv_path_install+set}" = set; then
    3275   echo $ECHO_N "(cached) $ECHO_C" >&6
    3276 else
    3277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3278 for as_dir in $PATH
    3279 do
    3280   IFS=$as_save_IFS
    3281   test -z "$as_dir" && as_dir=.
    3282   # Account for people who put trailing slashes in PATH elements.
    3283 case $as_dir/ in
    3284   ./ | .// | /cC/* | \
    3285   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3286   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    3287   /usr/ucb/* ) ;;
    3288   *)
    3289     # OSF1 and SCO ODT 3.0 have their own names for install.
    3290     # Don't use installbsd from OSF since it installs stuff as root
    3291     # by default.
    3292     for ac_prog in ginstall scoinst install; do
    3293       for ac_exec_ext in '' $ac_executable_extensions; do
    3294         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    3295           if test $ac_prog = install &&
    3296             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3297             # AIX install.  It has an incompatible calling convention.
    3298             :
    3299           elif test $ac_prog = install &&
    3300             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3301             # program-specific install script used by HP pwplus--don't use.
    3302             :
    3303           else
    3304             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3305             break 3
    3306           fi
    3307         fi
    3308       done
    3309     done
    3310     ;;
    3311 esac
    3312 done
    3313 IFS=$as_save_IFS
    3314 
    3315 
    3316 fi
    3317   if test "${ac_cv_path_install+set}" = set; then
    3318     INSTALL=$ac_cv_path_install
    3319   else
    3320     # As a last resort, use the slow shell script.  Don't cache a
    3321     # value for INSTALL within a source directory, because that will
    3322     # break other packages using the cache if that directory is
    3323     # removed, or if the value is a relative name.
    3324     INSTALL=$ac_install_sh
    3325   fi
    3326 fi
    3327 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    3328 echo "${ECHO_T}$INSTALL" >&6; }
    3329 
    3330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    3331 # It thinks the first close brace ends the variable substitution.
    3332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    3333 
    3334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    3335 
    3336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    33373839
    33383840if test -n "$ac_tool_prefix"; then
    33393841  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    33403842set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3343 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3344   echo $ECHO_N "(cached) $ECHO_C" >&6
     3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3844$as_echo_n "checking for $ac_word... " >&6; }
     3845if test "${ac_cv_prog_RANLIB+set}" = set; then :
     3846  $as_echo_n "(cached) " >&6
    33453847else
    33463848  if test -n "$RANLIB"; then
     
    33523854  IFS=$as_save_IFS
    33533855  test -z "$as_dir" && as_dir=.
    3354   for ac_exec_ext in '' $ac_executable_extensions; do
     3856    for ac_exec_ext in '' $ac_executable_extensions; do
    33553857  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33563858    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3357     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33583860    break 2
    33593861  fi
    33603862done
    3361 done
     3863  done
    33623864IFS=$as_save_IFS
    33633865
     
    33663868RANLIB=$ac_cv_prog_RANLIB
    33673869if test -n "$RANLIB"; then
    3368   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    3369 echo "${ECHO_T}$RANLIB" >&6; }
    3370 else
    3371   { echo "$as_me:$LINENO: result: no" >&5
    3372 echo "${ECHO_T}no" >&6; }
     3870  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3871$as_echo "$RANLIB" >&6; }
     3872else
     3873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3874$as_echo "no" >&6; }
    33733875fi
    33743876
     
    33793881  # Extract the first word of "ranlib", so it can be a program name with args.
    33803882set dummy ranlib; ac_word=$2
    3381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3383 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3384   echo $ECHO_N "(cached) $ECHO_C" >&6
     3883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3884$as_echo_n "checking for $ac_word... " >&6; }
     3885if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
     3886  $as_echo_n "(cached) " >&6
    33853887else
    33863888  if test -n "$ac_ct_RANLIB"; then
     
    33923894  IFS=$as_save_IFS
    33933895  test -z "$as_dir" && as_dir=.
    3394   for ac_exec_ext in '' $ac_executable_extensions; do
     3896    for ac_exec_ext in '' $ac_executable_extensions; do
    33953897  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    33963898    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3397     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33983900    break 2
    33993901  fi
    34003902done
    3401 done
     3903  done
    34023904IFS=$as_save_IFS
    34033905
     
    34063908ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    34073909if test -n "$ac_ct_RANLIB"; then
    3408   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3409 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    3410 else
    3411   { echo "$as_me:$LINENO: result: no" >&5
    3412 echo "${ECHO_T}no" >&6; }
     3910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     3911$as_echo "$ac_ct_RANLIB" >&6; }
     3912else
     3913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3914$as_echo "no" >&6; }
    34133915fi
    34143916
     
    34183920    case $cross_compiling:$ac_tool_warned in
    34193921yes:)
    3420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3421 whose name does not start with the host triplet.  If you think this
    3422 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3424 whose name does not start with the host triplet.  If you think this
    3425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    34263924ac_tool_warned=yes ;;
    34273925esac
     
    34323930fi
    34333931
    3434 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3435 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     3932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     3933$as_echo_n "checking whether ln -s works... " >&6; }
    34363934LN_S=$as_ln_s
    34373935if test "$LN_S" = "ln -s"; then
    3438   { echo "$as_me:$LINENO: result: yes" >&5
    3439 echo "${ECHO_T}yes" >&6; }
    3440 else
    3441   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3442 echo "${ECHO_T}no, using $LN_S" >&6; }
    3443 fi
    3444 
    3445 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    3446 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
     3936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3937$as_echo "yes" >&6; }
     3938else
     3939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     3940$as_echo "no, using $LN_S" >&6; }
     3941fi
     3942
     3943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     3944$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    34473945if test -z "$MKDIR_P"; then
    3448   if test "${ac_cv_path_mkdir+set}" = set; then
    3449   echo $ECHO_N "(cached) $ECHO_C" >&6
     3946  if test "${ac_cv_path_mkdir+set}" = set; then :
     3947  $as_echo_n "(cached) " >&6
    34503948else
    34513949  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    34543952  IFS=$as_save_IFS
    34553953  test -z "$as_dir" && as_dir=.
    3456   for ac_prog in mkdir gmkdir; do
     3954    for ac_prog in mkdir gmkdir; do
    34573955         for ac_exec_ext in '' $ac_executable_extensions; do
    34583956           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    34663964         done
    34673965       done
    3468 done
     3966  done
    34693967IFS=$as_save_IFS
    34703968
     
    34823980  fi
    34833981fi
    3484 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    3485 echo "${ECHO_T}$MKDIR_P" >&6; }
     3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     3983$as_echo "$MKDIR_P" >&6; }
    34863984
    34873985
     
    34953993    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    34963994set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3499 if test "${ac_cv_prog_F77+set}" = set; then
    3500   echo $ECHO_N "(cached) $ECHO_C" >&6
     3995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3996$as_echo_n "checking for $ac_word... " >&6; }
     3997if test "${ac_cv_prog_F77+set}" = set; then :
     3998  $as_echo_n "(cached) " >&6
    35013999else
    35024000  if test -n "$F77"; then
     
    35084006  IFS=$as_save_IFS
    35094007  test -z "$as_dir" && as_dir=.
    3510   for ac_exec_ext in '' $ac_executable_extensions; do
     4008    for ac_exec_ext in '' $ac_executable_extensions; do
    35114009  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35124010    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3513     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35144012    break 2
    35154013  fi
    35164014done
    3517 done
     4015  done
    35184016IFS=$as_save_IFS
    35194017
     
    35224020F77=$ac_cv_prog_F77
    35234021if test -n "$F77"; then
    3524   { echo "$as_me:$LINENO: result: $F77" >&5
    3525 echo "${ECHO_T}$F77" >&6; }
    3526 else
    3527   { echo "$as_me:$LINENO: result: no" >&5
    3528 echo "${ECHO_T}no" >&6; }
     4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
     4023$as_echo "$F77" >&6; }
     4024else
     4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4026$as_echo "no" >&6; }
    35294027fi
    35304028
     
    35394037  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35404038set dummy $ac_prog; ac_word=$2
    3541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3543 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    3544   echo $ECHO_N "(cached) $ECHO_C" >&6
     4039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4040$as_echo_n "checking for $ac_word... " >&6; }
     4041if test "${ac_cv_prog_ac_ct_F77+set}" = set; then :
     4042  $as_echo_n "(cached) " >&6
    35454043else
    35464044  if test -n "$ac_ct_F77"; then
     
    35524050  IFS=$as_save_IFS
    35534051  test -z "$as_dir" && as_dir=.
    3554   for ac_exec_ext in '' $ac_executable_extensions; do
     4052    for ac_exec_ext in '' $ac_executable_extensions; do
    35554053  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35564054    ac_cv_prog_ac_ct_F77="$ac_prog"
    3557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4055    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35584056    break 2
    35594057  fi
    35604058done
    3561 done
     4059  done
    35624060IFS=$as_save_IFS
    35634061
     
    35664064ac_ct_F77=$ac_cv_prog_ac_ct_F77
    35674065if test -n "$ac_ct_F77"; then
    3568   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    3569 echo "${ECHO_T}$ac_ct_F77" >&6; }
    3570 else
    3571   { echo "$as_me:$LINENO: result: no" >&5
    3572 echo "${ECHO_T}no" >&6; }
     4066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
     4067$as_echo "$ac_ct_F77" >&6; }
     4068else
     4069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4070$as_echo "no" >&6; }
    35734071fi
    35744072
     
    35824080    case $cross_compiling:$ac_tool_warned in
    35834081yes:)
    3584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3585 whose name does not start with the host triplet.  If you think this
    3586 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3588 whose name does not start with the host triplet.  If you think this
    3589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4082{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4083$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    35904084ac_tool_warned=yes ;;
    35914085esac
     
    35964090
    35974091# Provide some information about the compiler.
    3598 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
    3599 ac_compiler=`set X $ac_compile; echo $2`
    3600 { (ac_try="$ac_compiler --version >&5"
     4092$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
     4093set X $ac_compile
     4094ac_compiler=$2
     4095for ac_option in --version -v -V -qversion; do
     4096  { { ac_try="$ac_compiler $ac_option >&5"
    36014097case "(($ac_try" in
    36024098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    36034099  *) ac_try_echo=$ac_try;;
    36044100esac
    3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3606   (eval "$ac_compiler --version >&5") 2>&5
     4101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4102$as_echo "$ac_try_echo"; } >&5
     4103  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    36074104  ac_status=$?
    3608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3609   (exit $ac_status); }
    3610 { (ac_try="$ac_compiler -v >&5"
    3611 case "(($ac_try" in
    3612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3613   *) ac_try_echo=$ac_try;;
    3614 esac
    3615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3616   (eval "$ac_compiler -v >&5") 2>&5
    3617   ac_status=$?
    3618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3619   (exit $ac_status); }
    3620 { (ac_try="$ac_compiler -V >&5"
    3621 case "(($ac_try" in
    3622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3623   *) ac_try_echo=$ac_try;;
    3624 esac
    3625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3626   (eval "$ac_compiler -V >&5") 2>&5
    3627   ac_status=$?
    3628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3629   (exit $ac_status); }
     4105  if test -s conftest.err; then
     4106    sed '10a\
     4107... rest of stderr output deleted ...
     4108         10q' conftest.err >conftest.er1
     4109    cat conftest.er1 >&5
     4110    rm -f conftest.er1 conftest.err
     4111  fi
     4112  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4113  test $ac_status = 0; }
     4114done
    36304115rm -f a.out
    36314116
     
    36344119ac_save_ext=$ac_ext
    36354120ac_ext=F
    3636 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    3637 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
    3638 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    3639   echo $ECHO_N "(cached) $ECHO_C" >&6
    3640 else
    3641   cat >conftest.$ac_ext <<_ACEOF
     4121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
     4122$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
     4123if test "${ac_cv_f77_compiler_gnu+set}" = set; then :
     4124  $as_echo_n "(cached) " >&6
     4125else
     4126  cat > conftest.$ac_ext <<_ACEOF
    36424127      program main
    36434128#ifndef __GNUC__
     
    36474132      end
    36484133_ACEOF
    3649 rm -f conftest.$ac_objext
    3650 if { (ac_try="$ac_compile"
    3651 case "(($ac_try" in
    3652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3653   *) ac_try_echo=$ac_try;;
    3654 esac
    3655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3656   (eval "$ac_compile") 2>conftest.er1
    3657   ac_status=$?
    3658   grep -v '^ *+' conftest.er1 >conftest.err
    3659   rm -f conftest.er1
    3660   cat conftest.err >&5
    3661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3662   (exit $ac_status); } && {
    3663          test -z "$ac_f77_werror_flag" ||
    3664          test ! -s conftest.err
    3665        } && test -s conftest.$ac_objext; then
     4134if ac_fn_f77_try_compile "$LINENO"; then :
    36664135  ac_compiler_gnu=yes
    36674136else
    3668   echo "$as_me: failed program was:" >&5
    3669 sed 's/^/| /' conftest.$ac_ext >&5
    3670 
    3671         ac_compiler_gnu=no
    3672 fi
    3673 
     4137  ac_compiler_gnu=no
     4138fi
    36744139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    36754140ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    36764141
    36774142fi
    3678 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    3679 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
     4143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
     4144$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    36804145ac_ext=$ac_save_ext
    36814146ac_test_FFLAGS=${FFLAGS+set}
    36824147ac_save_FFLAGS=$FFLAGS
    36834148FFLAGS=
    3684 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    3685 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
    3686 if test "${ac_cv_prog_f77_g+set}" = set; then
    3687   echo $ECHO_N "(cached) $ECHO_C" >&6
     4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
     4150$as_echo_n "checking whether $F77 accepts -g... " >&6; }
     4151if test "${ac_cv_prog_f77_g+set}" = set; then :
     4152  $as_echo_n "(cached) " >&6
    36884153else
    36894154  FFLAGS=-g
    3690 cat >conftest.$ac_ext <<_ACEOF
     4155cat > conftest.$ac_ext <<_ACEOF
    36914156      program main
    36924157
    36934158      end
    36944159_ACEOF
    3695 rm -f conftest.$ac_objext
    3696 if { (ac_try="$ac_compile"
    3697 case "(($ac_try" in
    3698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3699   *) ac_try_echo=$ac_try;;
    3700 esac
    3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3702   (eval "$ac_compile") 2>conftest.er1
    3703   ac_status=$?
    3704   grep -v '^ *+' conftest.er1 >conftest.err
    3705   rm -f conftest.er1
    3706   cat conftest.err >&5
    3707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3708   (exit $ac_status); } && {
    3709          test -z "$ac_f77_werror_flag" ||
    3710          test ! -s conftest.err
    3711        } && test -s conftest.$ac_objext; then
     4160if ac_fn_f77_try_compile "$LINENO"; then :
    37124161  ac_cv_prog_f77_g=yes
    37134162else
    3714   echo "$as_me: failed program was:" >&5
    3715 sed 's/^/| /' conftest.$ac_ext >&5
    3716 
    3717         ac_cv_prog_f77_g=no
    3718 fi
    3719 
     4163  ac_cv_prog_f77_g=no
     4164fi
    37204165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37214166
    37224167fi
    3723 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    3724 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
     4168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
     4169$as_echo "$ac_cv_prog_f77_g" >&6; }
    37254170if test "$ac_test_FFLAGS" = set; then
    37264171  FFLAGS=$ac_save_FFLAGS
     
    37394184fi
    37404185
    3741 G77=`test $ac_compiler_gnu = yes && echo yes`
     4186if test $ac_compiler_gnu = yes; then
     4187  G77=yes
     4188else
     4189  G77=
     4190fi
    37424191ac_ext=c
    37434192ac_cpp='$CPP $CPPFLAGS'
     
    37604209ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    37614210ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3762 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     4211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     4212$as_echo_n "checking how to run the C preprocessor... " >&6; }
    37644213# On Suns, sometimes $CPP names a directory.
    37654214if test -n "$CPP" && test -d "$CPP"; then
     
    37674216fi
    37684217if test -z "$CPP"; then
    3769   if test "${ac_cv_prog_CPP+set}" = set; then
    3770   echo $ECHO_N "(cached) $ECHO_C" >&6
     4218  if test "${ac_cv_prog_CPP+set}" = set; then :
     4219  $as_echo_n "(cached) " >&6
    37714220else
    37724221      # Double quotes because CPP needs to be expanded
     
    37824231  # On the NeXT, cc -E runs the code through the compiler's parser,
    37834232  # not just through cpp. "Syntax error" is here to catch this case.
    3784   cat >conftest.$ac_ext <<_ACEOF
    3785 /* confdefs.h.  */
    3786 _ACEOF
    3787 cat confdefs.h >>conftest.$ac_ext
    3788 cat >>conftest.$ac_ext <<_ACEOF
     4233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    37894234/* end confdefs.h.  */
    37904235#ifdef __STDC__
     
    37954240                     Syntax error
    37964241_ACEOF
    3797 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3798 case "(($ac_try" in
    3799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3800   *) ac_try_echo=$ac_try;;
    3801 esac
    3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3804   ac_status=$?
    3805   grep -v '^ *+' conftest.er1 >conftest.err
    3806   rm -f conftest.er1
    3807   cat conftest.err >&5
    3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3809   (exit $ac_status); } >/dev/null && {
    3810          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3811          test ! -s conftest.err
    3812        }; then
    3813   :
    3814 else
    3815   echo "$as_me: failed program was:" >&5
    3816 sed 's/^/| /' conftest.$ac_ext >&5
    3817 
     4242if ac_fn_c_try_cpp "$LINENO"; then :
     4243
     4244else
    38184245  # Broken: fails on valid input.
    38194246continue
    38204247fi
    3821 
    38224248rm -f conftest.err conftest.$ac_ext
    38234249
    38244250  # OK, works on sane cases.  Now check whether nonexistent headers
    38254251  # can be detected and how.
    3826   cat >conftest.$ac_ext <<_ACEOF
    3827 /* confdefs.h.  */
    3828 _ACEOF
    3829 cat confdefs.h >>conftest.$ac_ext
    3830 cat >>conftest.$ac_ext <<_ACEOF
     4252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38314253/* end confdefs.h.  */
    38324254#include <ac_nonexistent.h>
    38334255_ACEOF
    3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3835 case "(($ac_try" in
    3836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3837   *) ac_try_echo=$ac_try;;
    3838 esac
    3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3840   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3841   ac_status=$?
    3842   grep -v '^ *+' conftest.er1 >conftest.err
    3843   rm -f conftest.er1
    3844   cat conftest.err >&5
    3845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3846   (exit $ac_status); } >/dev/null && {
    3847          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3848          test ! -s conftest.err
    3849        }; then
     4256if ac_fn_c_try_cpp "$LINENO"; then :
    38504257  # Broken: success on invalid input.
    38514258continue
    38524259else
    3853   echo "$as_me: failed program was:" >&5
    3854 sed 's/^/| /' conftest.$ac_ext >&5
    3855 
    38564260  # Passes both tests.
    38574261ac_preproc_ok=:
    38584262break
    38594263fi
    3860 
    38614264rm -f conftest.err conftest.$ac_ext
    38624265
     
    38644267# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    38654268rm -f conftest.err conftest.$ac_ext
    3866 if $ac_preproc_ok; then
     4269if $ac_preproc_ok; then :
    38674270  break
    38684271fi
     
    38764279  ac_cv_prog_CPP=$CPP
    38774280fi
    3878 { echo "$as_me:$LINENO: result: $CPP" >&5
    3879 echo "${ECHO_T}$CPP" >&6; }
     4281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4282$as_echo "$CPP" >&6; }
    38804283ac_preproc_ok=false
    38814284for ac_c_preproc_warn_flag in '' yes
     
    38874290  # On the NeXT, cc -E runs the code through the compiler's parser,
    38884291  # not just through cpp. "Syntax error" is here to catch this case.
    3889   cat >conftest.$ac_ext <<_ACEOF
    3890 /* confdefs.h.  */
    3891 _ACEOF
    3892 cat confdefs.h >>conftest.$ac_ext
    3893 cat >>conftest.$ac_ext <<_ACEOF
     4292  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38944293/* end confdefs.h.  */
    38954294#ifdef __STDC__
     
    39004299                     Syntax error
    39014300_ACEOF
    3902 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3903 case "(($ac_try" in
    3904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3905   *) ac_try_echo=$ac_try;;
    3906 esac
    3907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3909   ac_status=$?
    3910   grep -v '^ *+' conftest.er1 >conftest.err
    3911   rm -f conftest.er1
    3912   cat conftest.err >&5
    3913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3914   (exit $ac_status); } >/dev/null && {
    3915          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3916          test ! -s conftest.err
    3917        }; then
    3918   :
    3919 else
    3920   echo "$as_me: failed program was:" >&5
    3921 sed 's/^/| /' conftest.$ac_ext >&5
    3922 
     4301if ac_fn_c_try_cpp "$LINENO"; then :
     4302
     4303else
    39234304  # Broken: fails on valid input.
    39244305continue
    39254306fi
    3926 
    39274307rm -f conftest.err conftest.$ac_ext
    39284308
    39294309  # OK, works on sane cases.  Now check whether nonexistent headers
    39304310  # can be detected and how.
    3931   cat >conftest.$ac_ext <<_ACEOF
    3932 /* confdefs.h.  */
    3933 _ACEOF
    3934 cat confdefs.h >>conftest.$ac_ext
    3935 cat >>conftest.$ac_ext <<_ACEOF
     4311  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39364312/* end confdefs.h.  */
    39374313#include <ac_nonexistent.h>
    39384314_ACEOF
    3939 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3940 case "(($ac_try" in
    3941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3942   *) ac_try_echo=$ac_try;;
    3943 esac
    3944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3945   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3946   ac_status=$?
    3947   grep -v '^ *+' conftest.er1 >conftest.err
    3948   rm -f conftest.er1
    3949   cat conftest.err >&5
    3950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3951   (exit $ac_status); } >/dev/null && {
    3952          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3953          test ! -s conftest.err
    3954        }; then
     4315if ac_fn_c_try_cpp "$LINENO"; then :
    39554316  # Broken: success on invalid input.
    39564317continue
    39574318else
    3958   echo "$as_me: failed program was:" >&5
    3959 sed 's/^/| /' conftest.$ac_ext >&5
    3960 
    39614319  # Passes both tests.
    39624320ac_preproc_ok=:
    39634321break
    39644322fi
    3965 
    39664323rm -f conftest.err conftest.$ac_ext
    39674324
     
    39694326# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    39704327rm -f conftest.err conftest.$ac_ext
    3971 if $ac_preproc_ok; then
    3972   :
    3973 else
    3974   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3975 See \`config.log' for more details." >&5
    3976 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3977 See \`config.log' for more details." >&2;}
    3978    { (exit 1); exit 1; }; }
     4328if $ac_preproc_ok; then :
     4329
     4330else
     4331  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4332$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4333as_fn_error "C preprocessor \"$CPP\" fails sanity check
     4334See \`config.log' for more details." "$LINENO" 5; }
    39794335fi
    39804336
     
    39864342
    39874343
    3988 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3989 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    3990 if test "${ac_cv_path_GREP+set}" = set; then
    3991   echo $ECHO_N "(cached) $ECHO_C" >&6
    3992 else
    3993   # Extract the first word of "grep ggrep" to use in msg output
    3994 if test -z "$GREP"; then
    3995 set dummy grep ggrep; ac_prog_name=$2
    3996 if test "${ac_cv_path_GREP+set}" = set; then
    3997   echo $ECHO_N "(cached) $ECHO_C" >&6
    3998 else
     4344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4345$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4346if test "${ac_cv_path_GREP+set}" = set; then :
     4347  $as_echo_n "(cached) " >&6
     4348else
     4349  if test -z "$GREP"; then
    39994350  ac_path_GREP_found=false
    4000 # Loop through the user's path and test for each of PROGNAME-LIST
    4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4351  # Loop through the user's path and test for each of PROGNAME-LIST
     4352  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    40024353for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    40034354do
    40044355  IFS=$as_save_IFS
    40054356  test -z "$as_dir" && as_dir=.
    4006   for ac_prog in grep ggrep; do
    4007   for ac_exec_ext in '' $ac_executable_extensions; do
    4008     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4009     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4010     # Check for GNU ac_path_GREP and select it if it is found.
     4357    for ac_prog in grep ggrep; do
     4358    for ac_exec_ext in '' $ac_executable_extensions; do
     4359      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4360      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4361# Check for GNU ac_path_GREP and select it if it is found.
    40114362  # Check for GNU $ac_path_GREP
    40124363case `"$ac_path_GREP" --version 2>&1` in
     
    40154366*)
    40164367  ac_count=0
    4017   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4368  $as_echo_n 0123456789 >"conftest.in"
    40184369  while :
    40194370  do
     
    40214372    mv "conftest.tmp" "conftest.in"
    40224373    cp "conftest.in" "conftest.nl"
    4023     echo 'GREP' >> "conftest.nl"
     4374    $as_echo 'GREP' >> "conftest.nl"
    40244375    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    40254376    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4026     ac_count=`expr $ac_count + 1`
     4377    as_fn_arith $ac_count + 1 && ac_count=$as_val
    40274378    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    40284379      # Best one so far, save it but keep looking for a better one
     
    40364387esac
    40374388
    4038 
    4039     $ac_path_GREP_found && break 3
     4389      $ac_path_GREP_found && break 3
     4390    done
    40404391  done
    4041 done
    4042 
    4043 done
     4392  done
    40444393IFS=$as_save_IFS
    4045 
    4046 
    4047 fi
    4048 
    4049 GREP="$ac_cv_path_GREP"
    4050 if test -z "$GREP"; then
    4051   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4053    { (exit 1); exit 1; }; }
    4054 fi
    4055 
     4394  if test -z "$ac_cv_path_GREP"; then
     4395    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4396  fi
    40564397else
    40574398  ac_cv_path_GREP=$GREP
    40584399fi
    40594400
    4060 
    4061 fi
    4062 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4063 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4401fi
     4402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4403$as_echo "$ac_cv_path_GREP" >&6; }
    40644404 GREP="$ac_cv_path_GREP"
    40654405
    40664406
    4067 { echo "$as_me:$LINENO: checking for egrep" >&5
    4068 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    4069 if test "${ac_cv_path_EGREP+set}" = set; then
    4070   echo $ECHO_N "(cached) $ECHO_C" >&6
     4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4408$as_echo_n "checking for egrep... " >&6; }
     4409if test "${ac_cv_path_EGREP+set}" = set; then :
     4410  $as_echo_n "(cached) " >&6
    40714411else
    40724412  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    40734413   then ac_cv_path_EGREP="$GREP -E"
    40744414   else
    4075      # Extract the first word of "egrep" to use in msg output
    4076 if test -z "$EGREP"; then
    4077 set dummy egrep; ac_prog_name=$2
    4078 if test "${ac_cv_path_EGREP+set}" = set; then
    4079   echo $ECHO_N "(cached) $ECHO_C" >&6
    4080 else
     4415     if test -z "$EGREP"; then
    40814416  ac_path_EGREP_found=false
    4082 # Loop through the user's path and test for each of PROGNAME-LIST
    4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4417  # Loop through the user's path and test for each of PROGNAME-LIST
     4418  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    40844419for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    40854420do
    40864421  IFS=$as_save_IFS
    40874422  test -z "$as_dir" && as_dir=.
    4088   for ac_prog in egrep; do
    4089   for ac_exec_ext in '' $ac_executable_extensions; do
    4090     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4091     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4092     # Check for GNU ac_path_EGREP and select it if it is found.
     4423    for ac_prog in egrep; do
     4424    for ac_exec_ext in '' $ac_executable_extensions; do
     4425      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4426      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4427# Check for GNU ac_path_EGREP and select it if it is found.
    40934428  # Check for GNU $ac_path_EGREP
    40944429case `"$ac_path_EGREP" --version 2>&1` in
     
    40974432*)
    40984433  ac_count=0
    4099   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4434  $as_echo_n 0123456789 >"conftest.in"
    41004435  while :
    41014436  do
     
    41034438    mv "conftest.tmp" "conftest.in"
    41044439    cp "conftest.in" "conftest.nl"
    4105     echo 'EGREP' >> "conftest.nl"
     4440    $as_echo 'EGREP' >> "conftest.nl"
    41064441    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    41074442    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4108     ac_count=`expr $ac_count + 1`
     4443    as_fn_arith $ac_count + 1 && ac_count=$as_val
    41094444    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    41104445      # Best one so far, save it but keep looking for a better one
     
    41184453esac
    41194454
    4120 
    4121     $ac_path_EGREP_found && break 3
     4455      $ac_path_EGREP_found && break 3
     4456    done
    41224457  done
    4123 done
    4124 
    4125 done
     4458  done
    41264459IFS=$as_save_IFS
    4127 
    4128 
    4129 fi
    4130 
    4131 EGREP="$ac_cv_path_EGREP"
    4132 if test -z "$EGREP"; then
    4133   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4134 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4135    { (exit 1); exit 1; }; }
    4136 fi
    4137 
     4460  if test -z "$ac_cv_path_EGREP"; then
     4461    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4462  fi
    41384463else
    41394464  ac_cv_path_EGREP=$EGREP
    41404465fi
    41414466
    4142 
    41434467   fi
    41444468fi
    4145 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4146 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4470$as_echo "$ac_cv_path_EGREP" >&6; }
    41474471 EGREP="$ac_cv_path_EGREP"
    41484472
    41494473
    4150 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4151 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    4152 if test "${ac_cv_header_stdc+set}" = set; then
    4153   echo $ECHO_N "(cached) $ECHO_C" >&6
    4154 else
    4155   cat >conftest.$ac_ext <<_ACEOF
    4156 /* confdefs.h.  */
    4157 _ACEOF
    4158 cat confdefs.h >>conftest.$ac_ext
    4159 cat >>conftest.$ac_ext <<_ACEOF
     4474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4475$as_echo_n "checking for ANSI C header files... " >&6; }
     4476if test "${ac_cv_header_stdc+set}" = set; then :
     4477  $as_echo_n "(cached) " >&6
     4478else
     4479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41604480/* end confdefs.h.  */
    41614481#include <stdlib.h>
     
    41724492}
    41734493_ACEOF
    4174 rm -f conftest.$ac_objext
    4175 if { (ac_try="$ac_compile"
    4176 case "(($ac_try" in
    4177   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4178   *) ac_try_echo=$ac_try;;
    4179 esac
    4180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4181   (eval "$ac_compile") 2>conftest.er1
    4182   ac_status=$?
    4183   grep -v '^ *+' conftest.er1 >conftest.err
    4184   rm -f conftest.er1
    4185   cat conftest.err >&5
    4186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4187   (exit $ac_status); } && {
    4188          test -z "$ac_c_werror_flag" ||
    4189          test ! -s conftest.err
    4190        } && test -s conftest.$ac_objext; then
     4494if ac_fn_c_try_compile "$LINENO"; then :
    41914495  ac_cv_header_stdc=yes
    41924496else
    4193   echo "$as_me: failed program was:" >&5
    4194 sed 's/^/| /' conftest.$ac_ext >&5
    4195 
    4196         ac_cv_header_stdc=no
    4197 fi
    4198 
     4497  ac_cv_header_stdc=no
     4498fi
    41994499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42004500
    42014501if test $ac_cv_header_stdc = yes; then
    42024502  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4203   cat >conftest.$ac_ext <<_ACEOF
    4204 /* confdefs.h.  */
    4205 _ACEOF
    4206 cat confdefs.h >>conftest.$ac_ext
    4207 cat >>conftest.$ac_ext <<_ACEOF
     4503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42084504/* end confdefs.h.  */
    42094505#include <string.h>
     
    42114507_ACEOF
    42124508if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4213   $EGREP "memchr" >/dev/null 2>&1; then
    4214   :
     4509  $EGREP "memchr" >/dev/null 2>&1; then :
     4510
    42154511else
    42164512  ac_cv_header_stdc=no
     
    42224518if test $ac_cv_header_stdc = yes; then
    42234519  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4224   cat >conftest.$ac_ext <<_ACEOF
    4225 /* confdefs.h.  */
    4226 _ACEOF
    4227 cat confdefs.h >>conftest.$ac_ext
    4228 cat >>conftest.$ac_ext <<_ACEOF
     4520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42294521/* end confdefs.h.  */
    42304522#include <stdlib.h>
     
    42324524_ACEOF
    42334525if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4234   $EGREP "free" >/dev/null 2>&1; then
    4235   :
     4526  $EGREP "free" >/dev/null 2>&1; then :
     4527
    42364528else
    42374529  ac_cv_header_stdc=no
     
    42434535if test $ac_cv_header_stdc = yes; then
    42444536  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4245   if test "$cross_compiling" = yes; then
     4537  if test "$cross_compiling" = yes; then :
    42464538  :
    42474539else
    4248   cat >conftest.$ac_ext <<_ACEOF
    4249 /* confdefs.h.  */
    4250 _ACEOF
    4251 cat confdefs.h >>conftest.$ac_ext
    4252 cat >>conftest.$ac_ext <<_ACEOF
     4540  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42534541/* end confdefs.h.  */
    42544542#include <ctype.h>
     
    42774565}
    42784566_ACEOF
    4279 rm -f conftest$ac_exeext
    4280 if { (ac_try="$ac_link"
    4281 case "(($ac_try" in
    4282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4283   *) ac_try_echo=$ac_try;;
    4284 esac
    4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4286   (eval "$ac_link") 2>&5
    4287   ac_status=$?
    4288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4289   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4290   { (case "(($ac_try" in
    4291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4292   *) ac_try_echo=$ac_try;;
    4293 esac
    4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4295   (eval "$ac_try") 2>&5
    4296   ac_status=$?
    4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4298   (exit $ac_status); }; }; then
    4299   :
    4300 else
    4301   echo "$as_me: program exited with status $ac_status" >&5
    4302 echo "$as_me: failed program was:" >&5
    4303 sed 's/^/| /' conftest.$ac_ext >&5
    4304 
    4305 ( exit $ac_status )
    4306 ac_cv_header_stdc=no
    4307 fi
    4308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4309 fi
    4310 
    4311 
    4312 fi
    4313 fi
    4314 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4315 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     4567if ac_fn_c_try_run "$LINENO"; then :
     4568
     4569else
     4570  ac_cv_header_stdc=no
     4571fi
     4572rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4573  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4574fi
     4575
     4576fi
     4577fi
     4578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4579$as_echo "$ac_cv_header_stdc" >&6; }
    43164580if test $ac_cv_header_stdc = yes; then
    43174581
    4318 cat >>confdefs.h <<\_ACEOF
    4319 #define STDC_HEADERS 1
    4320 _ACEOF
    4321 
    4322 fi
    4323 
    4324 { echo "$as_me:$LINENO: checking for atol" >&5
    4325 echo $ECHO_N "checking for atol... $ECHO_C" >&6; }
    4326 if test "${ac_cv_func_atol+set}" = set; then
    4327   echo $ECHO_N "(cached) $ECHO_C" >&6
    4328 else
    4329   cat >conftest.$ac_ext <<_ACEOF
    4330 /* confdefs.h.  */
    4331 _ACEOF
    4332 cat confdefs.h >>conftest.$ac_ext
    4333 cat >>conftest.$ac_ext <<_ACEOF
    4334 /* end confdefs.h.  */
    4335 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4337 #define atol innocuous_atol
    4338 
    4339 /* System header to define __stub macros and hopefully few prototypes,
    4340     which can conflict with char atol (); below.
    4341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4342     <limits.h> exists even on freestanding compilers.  */
    4343 
    4344 #ifdef __STDC__
    4345 # include <limits.h>
    4346 #else
    4347 # include <assert.h>
    4348 #endif
    4349 
    4350 #undef atol
    4351 
    4352 /* Override any GCC internal prototype to avoid an error.
    4353    Use char because int might match the return type of a GCC
    4354    builtin and then its argument prototype would still apply.  */
    4355 #ifdef __cplusplus
    4356 extern "C"
    4357 #endif
    4358 char atol ();
    4359 /* The GNU C library defines this for functions which it implements
    4360     to always fail with ENOSYS.  Some functions are actually named
    4361     something starting with __ and the normal name is an alias.  */
    4362 #if defined __stub_atol || defined __stub___atol
    4363 choke me
    4364 #endif
    4365 
    4366 int
    4367 main ()
    4368 {
    4369 return atol ();
    4370   ;
    4371   return 0;
    4372 }
    4373 _ACEOF
    4374 rm -f conftest.$ac_objext conftest$ac_exeext
    4375 if { (ac_try="$ac_link"
    4376 case "(($ac_try" in
    4377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4378   *) ac_try_echo=$ac_try;;
    4379 esac
    4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4381   (eval "$ac_link") 2>conftest.er1
    4382   ac_status=$?
    4383   grep -v '^ *+' conftest.er1 >conftest.err
    4384   rm -f conftest.er1
    4385   cat conftest.err >&5
    4386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4387   (exit $ac_status); } && {
    4388          test -z "$ac_c_werror_flag" ||
    4389          test ! -s conftest.err
    4390        } && test -s conftest$ac_exeext &&
    4391        $as_test_x conftest$ac_exeext; then
    4392   ac_cv_func_atol=yes
    4393 else
    4394   echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397         ac_cv_func_atol=no
    4398 fi
    4399 
    4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4401       conftest$ac_exeext conftest.$ac_ext
    4402 fi
    4403 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4404 echo "${ECHO_T}$ac_cv_func_atol" >&6; }
    4405 if test $ac_cv_func_atol = yes; then
    4406   :
    4407 else
    4408   { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4409 echo "$as_me: error: oops! no atol ?!?" >&2;}
    4410    { (exit 1); exit 1; }; }
     4582$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4583
     4584fi
     4585
     4586ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4587if test "x$ac_cv_func_atol" = x""yes; then :
     4588
     4589else
     4590  as_fn_error "oops! no atol ?!?" "$LINENO" 5
    44114591fi
    44124592
     
    44204600
    44214601
    4422 
    44234602for ac_func in sysinfo
    4424 do
    4425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    4427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    4428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4429   echo $ECHO_N "(cached) $ECHO_C" >&6
    4430 else
    4431   cat >conftest.$ac_ext <<_ACEOF
    4432 /* confdefs.h.  */
    4433 _ACEOF
    4434 cat confdefs.h >>conftest.$ac_ext
    4435 cat >>conftest.$ac_ext <<_ACEOF
    4436 /* end confdefs.h.  */
    4437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4439 #define $ac_func innocuous_$ac_func
    4440 
    4441 /* System header to define __stub macros and hopefully few prototypes,
    4442     which can conflict with char $ac_func (); below.
    4443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4444     <limits.h> exists even on freestanding compilers.  */
    4445 
    4446 #ifdef __STDC__
    4447 # include <limits.h>
    4448 #else
    4449 # include <assert.h>
    4450 #endif
    4451 
    4452 #undef $ac_func
    4453 
    4454 /* Override any GCC internal prototype to avoid an error.
    4455    Use char because int might match the return type of a GCC
    4456    builtin and then its argument prototype would still apply.  */
    4457 #ifdef __cplusplus
    4458 extern "C"
    4459 #endif
    4460 char $ac_func ();
    4461 /* The GNU C library defines this for functions which it implements
    4462     to always fail with ENOSYS.  Some functions are actually named
    4463     something starting with __ and the normal name is an alias.  */
    4464 #if defined __stub_$ac_func || defined __stub___$ac_func
    4465 choke me
    4466 #endif
    4467 
    4468 int
    4469 main ()
    4470 {
    4471 return $ac_func ();
    4472   ;
    4473   return 0;
    4474 }
    4475 _ACEOF
    4476 rm -f conftest.$ac_objext conftest$ac_exeext
    4477 if { (ac_try="$ac_link"
    4478 case "(($ac_try" in
    4479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4480   *) ac_try_echo=$ac_try;;
    4481 esac
    4482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4483   (eval "$ac_link") 2>conftest.er1
    4484   ac_status=$?
    4485   grep -v '^ *+' conftest.er1 >conftest.err
    4486   rm -f conftest.er1
    4487   cat conftest.err >&5
    4488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4489   (exit $ac_status); } && {
    4490          test -z "$ac_cxx_werror_flag" ||
    4491          test ! -s conftest.err
    4492        } && test -s conftest$ac_exeext &&
    4493        $as_test_x conftest$ac_exeext; then
    4494   eval "$as_ac_var=yes"
    4495 else
    4496   echo "$as_me: failed program was:" >&5
    4497 sed 's/^/| /' conftest.$ac_ext >&5
    4498 
    4499         eval "$as_ac_var=no"
    4500 fi
    4501 
    4502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4503       conftest$ac_exeext conftest.$ac_ext
    4504 fi
    4505 ac_res=`eval echo '${'$as_ac_var'}'`
    4506                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4507 echo "${ECHO_T}$ac_res" >&6; }
    4508 if test `eval echo '${'$as_ac_var'}'` = yes; then
     4603do :
     4604  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4605if test "x$ac_cv_func_sysinfo" = x""yes; then :
    45094606  cat >>confdefs.h <<_ACEOF
    4510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     4607#define HAVE_SYSINFO 1
    45114608_ACEOF
    45124609
    45134610fi
    45144611done
    4515 
    4516 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4517 
    4518 
    4519 
    4520 
    4521 
    4522 
    4523 
    4524 
    4525 
    4526 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4527                   inttypes.h stdint.h unistd.h
    4528 do
    4529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4530 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4532 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4533   echo $ECHO_N "(cached) $ECHO_C" >&6
    4534 else
    4535   cat >conftest.$ac_ext <<_ACEOF
    4536 /* confdefs.h.  */
    4537 _ACEOF
    4538 cat confdefs.h >>conftest.$ac_ext
    4539 cat >>conftest.$ac_ext <<_ACEOF
    4540 /* end confdefs.h.  */
    4541 $ac_includes_default
    4542 
    4543 #include <$ac_header>
    4544 _ACEOF
    4545 rm -f conftest.$ac_objext
    4546 if { (ac_try="$ac_compile"
    4547 case "(($ac_try" in
    4548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4549   *) ac_try_echo=$ac_try;;
    4550 esac
    4551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4552   (eval "$ac_compile") 2>conftest.er1
    4553   ac_status=$?
    4554   grep -v '^ *+' conftest.er1 >conftest.err
    4555   rm -f conftest.er1
    4556   cat conftest.err >&5
    4557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4558   (exit $ac_status); } && {
    4559          test -z "$ac_cxx_werror_flag" ||
    4560          test ! -s conftest.err
    4561        } && test -s conftest.$ac_objext; then
    4562   eval "$as_ac_Header=yes"
    4563 else
    4564   echo "$as_me: failed program was:" >&5
    4565 sed 's/^/| /' conftest.$ac_ext >&5
    4566 
    4567         eval "$as_ac_Header=no"
    4568 fi
    4569 
    4570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4571 fi
    4572 ac_res=`eval echo '${'$as_ac_Header'}'`
    4573                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4574 echo "${ECHO_T}$ac_res" >&6; }
    4575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4576   cat >>confdefs.h <<_ACEOF
    4577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4578 _ACEOF
    4579 
    4580 fi
    4581 
    4582 done
    4583 
    45844612
    45854613ac_ext=cpp
     
    45884616ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    45894617ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4590 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    4591 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
     4618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     4619$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    45924620if test -z "$CXXCPP"; then
    4593   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    4594   echo $ECHO_N "(cached) $ECHO_C" >&6
     4621  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
     4622  $as_echo_n "(cached) " >&6
    45954623else
    45964624      # Double quotes because CXXCPP needs to be expanded
     
    46064634  # On the NeXT, cc -E runs the code through the compiler's parser,
    46074635  # not just through cpp. "Syntax error" is here to catch this case.
    4608   cat >conftest.$ac_ext <<_ACEOF
    4609 /* confdefs.h.  */
    4610 _ACEOF
    4611 cat confdefs.h >>conftest.$ac_ext
    4612 cat >>conftest.$ac_ext <<_ACEOF
     4636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46134637/* end confdefs.h.  */
    46144638#ifdef __STDC__
     
    46194643                     Syntax error
    46204644_ACEOF
    4621 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4622 case "(($ac_try" in
    4623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4624   *) ac_try_echo=$ac_try;;
    4625 esac
    4626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4627   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4628   ac_status=$?
    4629   grep -v '^ *+' conftest.er1 >conftest.err
    4630   rm -f conftest.er1
    4631   cat conftest.err >&5
    4632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4633   (exit $ac_status); } >/dev/null && {
    4634          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4635          test ! -s conftest.err
    4636        }; then
    4637   :
    4638 else
    4639   echo "$as_me: failed program was:" >&5
    4640 sed 's/^/| /' conftest.$ac_ext >&5
    4641 
     4645if ac_fn_cxx_try_cpp "$LINENO"; then :
     4646
     4647else
    46424648  # Broken: fails on valid input.
    46434649continue
    46444650fi
    4645 
    46464651rm -f conftest.err conftest.$ac_ext
    46474652
    46484653  # OK, works on sane cases.  Now check whether nonexistent headers
    46494654  # can be detected and how.
    4650   cat >conftest.$ac_ext <<_ACEOF
    4651 /* confdefs.h.  */
    4652 _ACEOF
    4653 cat confdefs.h >>conftest.$ac_ext
    4654 cat >>conftest.$ac_ext <<_ACEOF
     4655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46554656/* end confdefs.h.  */
    46564657#include <ac_nonexistent.h>
    46574658_ACEOF
    4658 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4659 case "(($ac_try" in
    4660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4661   *) ac_try_echo=$ac_try;;
    4662 esac
    4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4664   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4665   ac_status=$?
    4666   grep -v '^ *+' conftest.er1 >conftest.err
    4667   rm -f conftest.er1
    4668   cat conftest.err >&5
    4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4670   (exit $ac_status); } >/dev/null && {
    4671          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4672          test ! -s conftest.err
    4673        }; then
     4659if ac_fn_cxx_try_cpp "$LINENO"; then :
    46744660  # Broken: success on invalid input.
    46754661continue
    46764662else
    4677   echo "$as_me: failed program was:" >&5
    4678 sed 's/^/| /' conftest.$ac_ext >&5
    4679 
    46804663  # Passes both tests.
    46814664ac_preproc_ok=:
    46824665break
    46834666fi
    4684 
    46854667rm -f conftest.err conftest.$ac_ext
    46864668
     
    46884670# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    46894671rm -f conftest.err conftest.$ac_ext
    4690 if $ac_preproc_ok; then
     4672if $ac_preproc_ok; then :
    46914673  break
    46924674fi
     
    47004682  ac_cv_prog_CXXCPP=$CXXCPP
    47014683fi
    4702 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
    4703 echo "${ECHO_T}$CXXCPP" >&6; }
     4684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     4685$as_echo "$CXXCPP" >&6; }
    47044686ac_preproc_ok=false
    47054687for ac_cxx_preproc_warn_flag in '' yes
     
    47114693  # On the NeXT, cc -E runs the code through the compiler's parser,
    47124694  # not just through cpp. "Syntax error" is here to catch this case.
    4713   cat >conftest.$ac_ext <<_ACEOF
    4714 /* confdefs.h.  */
    4715 _ACEOF
    4716 cat confdefs.h >>conftest.$ac_ext
    4717 cat >>conftest.$ac_ext <<_ACEOF
     4695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47184696/* end confdefs.h.  */
    47194697#ifdef __STDC__
     
    47244702                     Syntax error
    47254703_ACEOF
    4726 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4727 case "(($ac_try" in
    4728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4729   *) ac_try_echo=$ac_try;;
    4730 esac
    4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4732   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4733   ac_status=$?
    4734   grep -v '^ *+' conftest.er1 >conftest.err
    4735   rm -f conftest.er1
    4736   cat conftest.err >&5
    4737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4738   (exit $ac_status); } >/dev/null && {
    4739          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4740          test ! -s conftest.err
    4741        }; then
    4742   :
    4743 else
    4744   echo "$as_me: failed program was:" >&5
    4745 sed 's/^/| /' conftest.$ac_ext >&5
    4746 
     4704if ac_fn_cxx_try_cpp "$LINENO"; then :
     4705
     4706else
    47474707  # Broken: fails on valid input.
    47484708continue
    47494709fi
    4750 
    47514710rm -f conftest.err conftest.$ac_ext
    47524711
    47534712  # OK, works on sane cases.  Now check whether nonexistent headers
    47544713  # can be detected and how.
    4755   cat >conftest.$ac_ext <<_ACEOF
    4756 /* confdefs.h.  */
    4757 _ACEOF
    4758 cat confdefs.h >>conftest.$ac_ext
    4759 cat >>conftest.$ac_ext <<_ACEOF
     4714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47604715/* end confdefs.h.  */
    47614716#include <ac_nonexistent.h>
    47624717_ACEOF
    4763 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4764 case "(($ac_try" in
    4765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4766   *) ac_try_echo=$ac_try;;
    4767 esac
    4768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4769   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4770   ac_status=$?
    4771   grep -v '^ *+' conftest.er1 >conftest.err
    4772   rm -f conftest.er1
    4773   cat conftest.err >&5
    4774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4775   (exit $ac_status); } >/dev/null && {
    4776          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4777          test ! -s conftest.err
    4778        }; then
     4718if ac_fn_cxx_try_cpp "$LINENO"; then :
    47794719  # Broken: success on invalid input.
    47804720continue
    47814721else
    4782   echo "$as_me: failed program was:" >&5
    4783 sed 's/^/| /' conftest.$ac_ext >&5
    4784 
    47854722  # Passes both tests.
    47864723ac_preproc_ok=:
    47874724break
    47884725fi
    4789 
    47904726rm -f conftest.err conftest.$ac_ext
    47914727
     
    47934729# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    47944730rm -f conftest.err conftest.$ac_ext
    4795 if $ac_preproc_ok; then
    4796   :
    4797 else
    4798   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4799 See \`config.log' for more details." >&5
    4800 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4801 See \`config.log' for more details." >&2;}
    4802    { (exit 1); exit 1; }; }
     4731if $ac_preproc_ok; then :
     4732
     4733else
     4734  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4736as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
     4737See \`config.log' for more details." "$LINENO" 5; }
    48034738fi
    48044739
     
    48104745
    48114746
     4747# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4748for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4749                  inttypes.h stdint.h unistd.h
     4750do :
     4751  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4752ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4753"
     4754eval as_val=\$$as_ac_Header
     4755   if test "x$as_val" = x""yes; then :
     4756  cat >>confdefs.h <<_ACEOF
     4757#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4758_ACEOF
     4759
     4760fi
     4761
     4762done
     4763
    48124764
    48134765for ac_header in sys/sysinfo.h
    4814 do
    4815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4817   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4820   echo $ECHO_N "(cached) $ECHO_C" >&6
    4821 fi
    4822 ac_res=`eval echo '${'$as_ac_Header'}'`
    4823                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4824 echo "${ECHO_T}$ac_res" >&6; }
    4825 else
    4826   # Is the header compilable?
    4827 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    4829 cat >conftest.$ac_ext <<_ACEOF
    4830 /* confdefs.h.  */
    4831 _ACEOF
    4832 cat confdefs.h >>conftest.$ac_ext
    4833 cat >>conftest.$ac_ext <<_ACEOF
    4834 /* end confdefs.h.  */
    4835 $ac_includes_default
    4836 #include <$ac_header>
    4837 _ACEOF
    4838 rm -f conftest.$ac_objext
    4839 if { (ac_try="$ac_compile"
    4840 case "(($ac_try" in
    4841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4842   *) ac_try_echo=$ac_try;;
    4843 esac
    4844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4845   (eval "$ac_compile") 2>conftest.er1
    4846   ac_status=$?
    4847   grep -v '^ *+' conftest.er1 >conftest.err
    4848   rm -f conftest.er1
    4849   cat conftest.err >&5
    4850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4851   (exit $ac_status); } && {
    4852          test -z "$ac_cxx_werror_flag" ||
    4853          test ! -s conftest.err
    4854        } && test -s conftest.$ac_objext; then
    4855   ac_header_compiler=yes
    4856 else
    4857   echo "$as_me: failed program was:" >&5
    4858 sed 's/^/| /' conftest.$ac_ext >&5
    4859 
    4860         ac_header_compiler=no
    4861 fi
    4862 
    4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4864 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4865 echo "${ECHO_T}$ac_header_compiler" >&6; }
    4866 
    4867 # Is the header present?
    4868 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    4870 cat >conftest.$ac_ext <<_ACEOF
    4871 /* confdefs.h.  */
    4872 _ACEOF
    4873 cat confdefs.h >>conftest.$ac_ext
    4874 cat >>conftest.$ac_ext <<_ACEOF
    4875 /* end confdefs.h.  */
    4876 #include <$ac_header>
    4877 _ACEOF
    4878 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4879 case "(($ac_try" in
    4880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4881   *) ac_try_echo=$ac_try;;
    4882 esac
    4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4884   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4885   ac_status=$?
    4886   grep -v '^ *+' conftest.er1 >conftest.err
    4887   rm -f conftest.er1
    4888   cat conftest.err >&5
    4889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4890   (exit $ac_status); } >/dev/null && {
    4891          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4892          test ! -s conftest.err
    4893        }; then
    4894   ac_header_preproc=yes
    4895 else
    4896   echo "$as_me: failed program was:" >&5
    4897 sed 's/^/| /' conftest.$ac_ext >&5
    4898 
    4899   ac_header_preproc=no
    4900 fi
    4901 
    4902 rm -f conftest.err conftest.$ac_ext
    4903 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4904 echo "${ECHO_T}$ac_header_preproc" >&6; }
    4905 
    4906 # So?  What about this header?
    4907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    4908   yes:no: )
    4909     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4911     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4913     ac_header_preproc=yes
    4914     ;;
    4915   no:yes:* )
    4916     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4918     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4919 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4920     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4922     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4923 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4924     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4926     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4928     ( cat <<\_ASBOX
    4929 ## ----------------------------------- ##
    4930 ## Report this to rappture@nanohub.org ##
    4931 ## ----------------------------------- ##
    4932 _ASBOX
    4933      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4934     ;;
    4935 esac
    4936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4939   echo $ECHO_N "(cached) $ECHO_C" >&6
    4940 else
    4941   eval "$as_ac_Header=\$ac_header_preproc"
    4942 fi
    4943 ac_res=`eval echo '${'$as_ac_Header'}'`
    4944                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4945 echo "${ECHO_T}$ac_res" >&6; }
    4946 
    4947 fi
    4948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4766do :
     4767  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4768if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
    49494769  cat >>confdefs.h <<_ACEOF
    4950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4770#define HAVE_SYS_SYSINFO_H 1
    49514771_ACEOF
    49524772
     
    49564776
    49574777
    4958 
    4959 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    4960 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    4961 if test "${ac_cv_lib_m_main+set}" = set; then
    4962   echo $ECHO_N "(cached) $ECHO_C" >&6
     4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
     4779$as_echo_n "checking for main in -lm... " >&6; }
     4780if test "${ac_cv_lib_m_main+set}" = set; then :
     4781  $as_echo_n "(cached) " >&6
    49634782else
    49644783  ac_check_lib_save_LIBS=$LIBS
    49654784LIBS="-lm  $LIBS"
    4966 cat >conftest.$ac_ext <<_ACEOF
    4967 /* confdefs.h.  */
    4968 _ACEOF
    4969 cat confdefs.h >>conftest.$ac_ext
    4970 cat >>conftest.$ac_ext <<_ACEOF
     4785cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49714786/* end confdefs.h.  */
    49724787
     
    49804795}
    49814796_ACEOF
    4982 rm -f conftest.$ac_objext conftest$ac_exeext
    4983 if { (ac_try="$ac_link"
    4984 case "(($ac_try" in
    4985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4986   *) ac_try_echo=$ac_try;;
    4987 esac
    4988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4989   (eval "$ac_link") 2>conftest.er1
    4990   ac_status=$?
    4991   grep -v '^ *+' conftest.er1 >conftest.err
    4992   rm -f conftest.er1
    4993   cat conftest.err >&5
    4994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4995   (exit $ac_status); } && {
    4996          test -z "$ac_cxx_werror_flag" ||
    4997          test ! -s conftest.err
    4998        } && test -s conftest$ac_exeext &&
    4999        $as_test_x conftest$ac_exeext; then
     4797if ac_fn_cxx_try_link "$LINENO"; then :
    50004798  ac_cv_lib_m_main=yes
    50014799else
    5002   echo "$as_me: failed program was:" >&5
    5003 sed 's/^/| /' conftest.$ac_ext >&5
    5004 
    5005         ac_cv_lib_m_main=no
    5006 fi
    5007 
    5008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5009       conftest$ac_exeext conftest.$ac_ext
     4800  ac_cv_lib_m_main=no
     4801fi
     4802rm -f core conftest.err conftest.$ac_objext \
     4803    conftest$ac_exeext conftest.$ac_ext
    50104804LIBS=$ac_check_lib_save_LIBS
    50114805fi
    5012 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5013 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    5014 if test $ac_cv_lib_m_main = yes; then
     4806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
     4807$as_echo "$ac_cv_lib_m_main" >&6; }
     4808if test "x$ac_cv_lib_m_main" = x""yes; then :
    50154809  cat >>confdefs.h <<_ACEOF
    50164810#define HAVE_LIBM 1
     
    50204814
    50214815else
    5022   { { echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5023 echo "$as_me: error: librappture requires libm" >&2;}
    5024    { (exit 1); exit 1; }; }
    5025 fi
    5026 
    5027 
    5028 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    5029 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
    5030 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    5031   echo $ECHO_N "(cached) $ECHO_C" >&6
     4816  as_fn_error "librappture requires libm" "$LINENO" 5
     4817fi
     4818
     4819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
     4820$as_echo_n "checking for main in -lstdc++... " >&6; }
     4821if test "${ac_cv_lib_stdcpp_main+set}" = set; then :
     4822  $as_echo_n "(cached) " >&6
    50324823else
    50334824  ac_check_lib_save_LIBS=$LIBS
    50344825LIBS="-lstdc++  $LIBS"
    5035 cat >conftest.$ac_ext <<_ACEOF
    5036 /* confdefs.h.  */
    5037 _ACEOF
    5038 cat confdefs.h >>conftest.$ac_ext
    5039 cat >>conftest.$ac_ext <<_ACEOF
     4826cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50404827/* end confdefs.h.  */
    50414828
     
    50494836}
    50504837_ACEOF
    5051 rm -f conftest.$ac_objext conftest$ac_exeext
    5052 if { (ac_try="$ac_link"
    5053 case "(($ac_try" in
    5054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5055   *) ac_try_echo=$ac_try;;
    5056 esac
    5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5058   (eval "$ac_link") 2>conftest.er1
    5059   ac_status=$?
    5060   grep -v '^ *+' conftest.er1 >conftest.err
    5061   rm -f conftest.er1
    5062   cat conftest.err >&5
    5063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5064   (exit $ac_status); } && {
    5065          test -z "$ac_cxx_werror_flag" ||
    5066          test ! -s conftest.err
    5067        } && test -s conftest$ac_exeext &&
    5068        $as_test_x conftest$ac_exeext; then
     4838if ac_fn_cxx_try_link "$LINENO"; then :
    50694839  ac_cv_lib_stdcpp_main=yes
    50704840else
    5071   echo "$as_me: failed program was:" >&5
    5072 sed 's/^/| /' conftest.$ac_ext >&5
    5073 
    5074         ac_cv_lib_stdcpp_main=no
    5075 fi
    5076 
    5077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5078       conftest$ac_exeext conftest.$ac_ext
     4841  ac_cv_lib_stdcpp_main=no
     4842fi
     4843rm -f core conftest.err conftest.$ac_objext \
     4844    conftest$ac_exeext conftest.$ac_ext
    50794845LIBS=$ac_check_lib_save_LIBS
    50804846fi
    5081 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    5082 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
    5083 if test $ac_cv_lib_stdcpp_main = yes; then
     4847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
     4848$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
     4849if test "x$ac_cv_lib_stdcpp_main" = x""yes; then :
    50844850  cat >>confdefs.h <<_ACEOF
    50854851#define HAVE_LIBSTDC__ 1
     
    50894855
    50904856else
    5091   { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5092 echo "$as_me: error: librappture requires libstdc++" >&2;}
    5093    { (exit 1); exit 1; }; }
    5094 fi
    5095 
     4857  as_fn_error "librappture requires libstdc++" "$LINENO" 5
     4858fi
    50964859
    50974860for ac_header in algorithm
    5098 do
    5099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5101   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5104   echo $ECHO_N "(cached) $ECHO_C" >&6
    5105 fi
    5106 ac_res=`eval echo '${'$as_ac_Header'}'`
    5107                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5108 echo "${ECHO_T}$ac_res" >&6; }
    5109 else
    5110   # Is the header compilable?
    5111 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5112 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5113 cat >conftest.$ac_ext <<_ACEOF
    5114 /* confdefs.h.  */
    5115 _ACEOF
    5116 cat confdefs.h >>conftest.$ac_ext
    5117 cat >>conftest.$ac_ext <<_ACEOF
    5118 /* end confdefs.h.  */
    5119 $ac_includes_default
    5120 #include <$ac_header>
    5121 _ACEOF
    5122 rm -f conftest.$ac_objext
    5123 if { (ac_try="$ac_compile"
    5124 case "(($ac_try" in
    5125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5126   *) ac_try_echo=$ac_try;;
    5127 esac
    5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5129   (eval "$ac_compile") 2>conftest.er1
    5130   ac_status=$?
    5131   grep -v '^ *+' conftest.er1 >conftest.err
    5132   rm -f conftest.er1
    5133   cat conftest.err >&5
    5134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5135   (exit $ac_status); } && {
    5136          test -z "$ac_cxx_werror_flag" ||
    5137          test ! -s conftest.err
    5138        } && test -s conftest.$ac_objext; then
    5139   ac_header_compiler=yes
    5140 else
    5141   echo "$as_me: failed program was:" >&5
    5142 sed 's/^/| /' conftest.$ac_ext >&5
    5143 
    5144         ac_header_compiler=no
    5145 fi
    5146 
    5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5149 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5150 
    5151 # Is the header present?
    5152 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5154 cat >conftest.$ac_ext <<_ACEOF
    5155 /* confdefs.h.  */
    5156 _ACEOF
    5157 cat confdefs.h >>conftest.$ac_ext
    5158 cat >>conftest.$ac_ext <<_ACEOF
    5159 /* end confdefs.h.  */
    5160 #include <$ac_header>
    5161 _ACEOF
    5162 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5163 case "(($ac_try" in
    5164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5165   *) ac_try_echo=$ac_try;;
    5166 esac
    5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5168   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5169   ac_status=$?
    5170   grep -v '^ *+' conftest.er1 >conftest.err
    5171   rm -f conftest.er1
    5172   cat conftest.err >&5
    5173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5174   (exit $ac_status); } >/dev/null && {
    5175          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5176          test ! -s conftest.err
    5177        }; then
    5178   ac_header_preproc=yes
    5179 else
    5180   echo "$as_me: failed program was:" >&5
    5181 sed 's/^/| /' conftest.$ac_ext >&5
    5182 
    5183   ac_header_preproc=no
    5184 fi
    5185 
    5186 rm -f conftest.err conftest.$ac_ext
    5187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5188 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5189 
    5190 # So?  What about this header?
    5191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5192   yes:no: )
    5193     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5195     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5197     ac_header_preproc=yes
    5198     ;;
    5199   no:yes:* )
    5200     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5202     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5203 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5204     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5206     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5207 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5208     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5210     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5212     ( cat <<\_ASBOX
    5213 ## ----------------------------------- ##
    5214 ## Report this to rappture@nanohub.org ##
    5215 ## ----------------------------------- ##
    5216 _ASBOX
    5217      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5218     ;;
    5219 esac
    5220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5223   echo $ECHO_N "(cached) $ECHO_C" >&6
    5224 else
    5225   eval "$as_ac_Header=\$ac_header_preproc"
    5226 fi
    5227 ac_res=`eval echo '${'$as_ac_Header'}'`
    5228                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5229 echo "${ECHO_T}$ac_res" >&6; }
    5230 
    5231 fi
    5232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4861do :
     4862  ac_fn_cxx_check_header_mongrel "$LINENO" "algorithm" "ac_cv_header_algorithm" "$ac_includes_default"
     4863if test "x$ac_cv_header_algorithm" = x""yes; then :
    52334864  cat >>confdefs.h <<_ACEOF
    5234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5235 _ACEOF
    5236 
    5237 else
    5238   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5239 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4865#define HAVE_ALGORITHM 1
     4866_ACEOF
     4867
     4868else
     4869  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4870$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    52404871fi
    52414872
    52424873done
    52434874
    5244 
    52454875for ac_header in cctype
    5246 do
    5247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5249   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5252   echo $ECHO_N "(cached) $ECHO_C" >&6
    5253 fi
    5254 ac_res=`eval echo '${'$as_ac_Header'}'`
    5255                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5256 echo "${ECHO_T}$ac_res" >&6; }
    5257 else
    5258   # Is the header compilable?
    5259 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5261 cat >conftest.$ac_ext <<_ACEOF
    5262 /* confdefs.h.  */
    5263 _ACEOF
    5264 cat confdefs.h >>conftest.$ac_ext
    5265 cat >>conftest.$ac_ext <<_ACEOF
    5266 /* end confdefs.h.  */
    5267 $ac_includes_default
    5268 #include <$ac_header>
    5269 _ACEOF
    5270 rm -f conftest.$ac_objext
    5271 if { (ac_try="$ac_compile"
    5272 case "(($ac_try" in
    5273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5274   *) ac_try_echo=$ac_try;;
    5275 esac
    5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5277   (eval "$ac_compile") 2>conftest.er1
    5278   ac_status=$?
    5279   grep -v '^ *+' conftest.er1 >conftest.err
    5280   rm -f conftest.er1
    5281   cat conftest.err >&5
    5282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5283   (exit $ac_status); } && {
    5284          test -z "$ac_cxx_werror_flag" ||
    5285          test ! -s conftest.err
    5286        } && test -s conftest.$ac_objext; then
    5287   ac_header_compiler=yes
    5288 else
    5289   echo "$as_me: failed program was:" >&5
    5290 sed 's/^/| /' conftest.$ac_ext >&5
    5291 
    5292         ac_header_compiler=no
    5293 fi
    5294 
    5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5296 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5297 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5298 
    5299 # Is the header present?
    5300 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5302 cat >conftest.$ac_ext <<_ACEOF
    5303 /* confdefs.h.  */
    5304 _ACEOF
    5305 cat confdefs.h >>conftest.$ac_ext
    5306 cat >>conftest.$ac_ext <<_ACEOF
    5307 /* end confdefs.h.  */
    5308 #include <$ac_header>
    5309 _ACEOF
    5310 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5311 case "(($ac_try" in
    5312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5313   *) ac_try_echo=$ac_try;;
    5314 esac
    5315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5316   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5317   ac_status=$?
    5318   grep -v '^ *+' conftest.er1 >conftest.err
    5319   rm -f conftest.er1
    5320   cat conftest.err >&5
    5321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5322   (exit $ac_status); } >/dev/null && {
    5323          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5324          test ! -s conftest.err
    5325        }; then
    5326   ac_header_preproc=yes
    5327 else
    5328   echo "$as_me: failed program was:" >&5
    5329 sed 's/^/| /' conftest.$ac_ext >&5
    5330 
    5331   ac_header_preproc=no
    5332 fi
    5333 
    5334 rm -f conftest.err conftest.$ac_ext
    5335 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5336 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5337 
    5338 # So?  What about this header?
    5339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5340   yes:no: )
    5341     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5345     ac_header_preproc=yes
    5346     ;;
    5347   no:yes:* )
    5348     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5350     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5351 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5352     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5354     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5355 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5356     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5358     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5360     ( cat <<\_ASBOX
    5361 ## ----------------------------------- ##
    5362 ## Report this to rappture@nanohub.org ##
    5363 ## ----------------------------------- ##
    5364 _ASBOX
    5365      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5366     ;;
    5367 esac
    5368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5371   echo $ECHO_N "(cached) $ECHO_C" >&6
    5372 else
    5373   eval "$as_ac_Header=\$ac_header_preproc"
    5374 fi
    5375 ac_res=`eval echo '${'$as_ac_Header'}'`
    5376                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5377 echo "${ECHO_T}$ac_res" >&6; }
    5378 
    5379 fi
    5380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4876do :
     4877  ac_fn_cxx_check_header_mongrel "$LINENO" "cctype" "ac_cv_header_cctype" "$ac_includes_default"
     4878if test "x$ac_cv_header_cctype" = x""yes; then :
    53814879  cat >>confdefs.h <<_ACEOF
    5382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5383 _ACEOF
    5384 
    5385 else
    5386   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5387 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4880#define HAVE_CCTYPE 1
     4881_ACEOF
     4882
     4883else
     4884  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4885$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    53884886fi
    53894887
    53904888done
    53914889
    5392 
    53934890for ac_header in cfloat
    5394 do
    5395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5397   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5400   echo $ECHO_N "(cached) $ECHO_C" >&6
    5401 fi
    5402 ac_res=`eval echo '${'$as_ac_Header'}'`
    5403                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5404 echo "${ECHO_T}$ac_res" >&6; }
    5405 else
    5406   # Is the header compilable?
    5407 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5409 cat >conftest.$ac_ext <<_ACEOF
    5410 /* confdefs.h.  */
    5411 _ACEOF
    5412 cat confdefs.h >>conftest.$ac_ext
    5413 cat >>conftest.$ac_ext <<_ACEOF
    5414 /* end confdefs.h.  */
    5415 $ac_includes_default
    5416 #include <$ac_header>
    5417 _ACEOF
    5418 rm -f conftest.$ac_objext
    5419 if { (ac_try="$ac_compile"
    5420 case "(($ac_try" in
    5421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5422   *) ac_try_echo=$ac_try;;
    5423 esac
    5424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5425   (eval "$ac_compile") 2>conftest.er1
    5426   ac_status=$?
    5427   grep -v '^ *+' conftest.er1 >conftest.err
    5428   rm -f conftest.er1
    5429   cat conftest.err >&5
    5430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5431   (exit $ac_status); } && {
    5432          test -z "$ac_cxx_werror_flag" ||
    5433          test ! -s conftest.err
    5434        } && test -s conftest.$ac_objext; then
    5435   ac_header_compiler=yes
    5436 else
    5437   echo "$as_me: failed program was:" >&5
    5438 sed 's/^/| /' conftest.$ac_ext >&5
    5439 
    5440         ac_header_compiler=no
    5441 fi
    5442 
    5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5444 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5445 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5446 
    5447 # Is the header present?
    5448 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5450 cat >conftest.$ac_ext <<_ACEOF
    5451 /* confdefs.h.  */
    5452 _ACEOF
    5453 cat confdefs.h >>conftest.$ac_ext
    5454 cat >>conftest.$ac_ext <<_ACEOF
    5455 /* end confdefs.h.  */
    5456 #include <$ac_header>
    5457 _ACEOF
    5458 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5459 case "(($ac_try" in
    5460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5461   *) ac_try_echo=$ac_try;;
    5462 esac
    5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5464   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5465   ac_status=$?
    5466   grep -v '^ *+' conftest.er1 >conftest.err
    5467   rm -f conftest.er1
    5468   cat conftest.err >&5
    5469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5470   (exit $ac_status); } >/dev/null && {
    5471          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5472          test ! -s conftest.err
    5473        }; then
    5474   ac_header_preproc=yes
    5475 else
    5476   echo "$as_me: failed program was:" >&5
    5477 sed 's/^/| /' conftest.$ac_ext >&5
    5478 
    5479   ac_header_preproc=no
    5480 fi
    5481 
    5482 rm -f conftest.err conftest.$ac_ext
    5483 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5484 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5485 
    5486 # So?  What about this header?
    5487 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5488   yes:no: )
    5489     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5491     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5492 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5493     ac_header_preproc=yes
    5494     ;;
    5495   no:yes:* )
    5496     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5498     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5499 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5500     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5501 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5502     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5503 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5504     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5506     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5507 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5508     ( cat <<\_ASBOX
    5509 ## ----------------------------------- ##
    5510 ## Report this to rappture@nanohub.org ##
    5511 ## ----------------------------------- ##
    5512 _ASBOX
    5513      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5514     ;;
    5515 esac
    5516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5519   echo $ECHO_N "(cached) $ECHO_C" >&6
    5520 else
    5521   eval "$as_ac_Header=\$ac_header_preproc"
    5522 fi
    5523 ac_res=`eval echo '${'$as_ac_Header'}'`
    5524                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5525 echo "${ECHO_T}$ac_res" >&6; }
    5526 
    5527 fi
    5528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4891do :
     4892  ac_fn_cxx_check_header_mongrel "$LINENO" "cfloat" "ac_cv_header_cfloat" "$ac_includes_default"
     4893if test "x$ac_cv_header_cfloat" = x""yes; then :
    55294894  cat >>confdefs.h <<_ACEOF
    5530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5531 _ACEOF
    5532 
    5533 else
    5534   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5535 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4895#define HAVE_CFLOAT 1
     4896_ACEOF
     4897
     4898else
     4899  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4900$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    55364901fi
    55374902
    55384903done
    55394904
    5540 
    55414905for ac_header in cmath
    5542 do
    5543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5545   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5548   echo $ECHO_N "(cached) $ECHO_C" >&6
    5549 fi
    5550 ac_res=`eval echo '${'$as_ac_Header'}'`
    5551                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5552 echo "${ECHO_T}$ac_res" >&6; }
    5553 else
    5554   # Is the header compilable?
    5555 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5557 cat >conftest.$ac_ext <<_ACEOF
    5558 /* confdefs.h.  */
    5559 _ACEOF
    5560 cat confdefs.h >>conftest.$ac_ext
    5561 cat >>conftest.$ac_ext <<_ACEOF
    5562 /* end confdefs.h.  */
    5563 $ac_includes_default
    5564 #include <$ac_header>
    5565 _ACEOF
    5566 rm -f conftest.$ac_objext
    5567 if { (ac_try="$ac_compile"
    5568 case "(($ac_try" in
    5569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5570   *) ac_try_echo=$ac_try;;
    5571 esac
    5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5573   (eval "$ac_compile") 2>conftest.er1
    5574   ac_status=$?
    5575   grep -v '^ *+' conftest.er1 >conftest.err
    5576   rm -f conftest.er1
    5577   cat conftest.err >&5
    5578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5579   (exit $ac_status); } && {
    5580          test -z "$ac_cxx_werror_flag" ||
    5581          test ! -s conftest.err
    5582        } && test -s conftest.$ac_objext; then
    5583   ac_header_compiler=yes
    5584 else
    5585   echo "$as_me: failed program was:" >&5
    5586 sed 's/^/| /' conftest.$ac_ext >&5
    5587 
    5588         ac_header_compiler=no
    5589 fi
    5590 
    5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5593 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5594 
    5595 # Is the header present?
    5596 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5598 cat >conftest.$ac_ext <<_ACEOF
    5599 /* confdefs.h.  */
    5600 _ACEOF
    5601 cat confdefs.h >>conftest.$ac_ext
    5602 cat >>conftest.$ac_ext <<_ACEOF
    5603 /* end confdefs.h.  */
    5604 #include <$ac_header>
    5605 _ACEOF
    5606 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5607 case "(($ac_try" in
    5608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5609   *) ac_try_echo=$ac_try;;
    5610 esac
    5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5612   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5613   ac_status=$?
    5614   grep -v '^ *+' conftest.er1 >conftest.err
    5615   rm -f conftest.er1
    5616   cat conftest.err >&5
    5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5618   (exit $ac_status); } >/dev/null && {
    5619          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5620          test ! -s conftest.err
    5621        }; then
    5622   ac_header_preproc=yes
    5623 else
    5624   echo "$as_me: failed program was:" >&5
    5625 sed 's/^/| /' conftest.$ac_ext >&5
    5626 
    5627   ac_header_preproc=no
    5628 fi
    5629 
    5630 rm -f conftest.err conftest.$ac_ext
    5631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5632 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5633 
    5634 # So?  What about this header?
    5635 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5636   yes:no: )
    5637     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5639     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5641     ac_header_preproc=yes
    5642     ;;
    5643   no:yes:* )
    5644     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5646     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5647 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5648     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5650     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5651 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5652     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5654     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5656     ( cat <<\_ASBOX
    5657 ## ----------------------------------- ##
    5658 ## Report this to rappture@nanohub.org ##
    5659 ## ----------------------------------- ##
    5660 _ASBOX
    5661      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5662     ;;
    5663 esac
    5664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5667   echo $ECHO_N "(cached) $ECHO_C" >&6
    5668 else
    5669   eval "$as_ac_Header=\$ac_header_preproc"
    5670 fi
    5671 ac_res=`eval echo '${'$as_ac_Header'}'`
    5672                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5673 echo "${ECHO_T}$ac_res" >&6; }
    5674 
    5675 fi
    5676 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4906do :
     4907  ac_fn_cxx_check_header_mongrel "$LINENO" "cmath" "ac_cv_header_cmath" "$ac_includes_default"
     4908if test "x$ac_cv_header_cmath" = x""yes; then :
    56774909  cat >>confdefs.h <<_ACEOF
    5678 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5679 _ACEOF
    5680 
    5681 else
    5682   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5683 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4910#define HAVE_CMATH 1
     4911_ACEOF
     4912
     4913else
     4914  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4915$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    56844916fi
    56854917
    56864918done
    56874919
    5688 
    56894920for ac_header in cstdio
    5690 do
    5691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5693   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5696   echo $ECHO_N "(cached) $ECHO_C" >&6
    5697 fi
    5698 ac_res=`eval echo '${'$as_ac_Header'}'`
    5699                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5700 echo "${ECHO_T}$ac_res" >&6; }
    5701 else
    5702   # Is the header compilable?
    5703 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5705 cat >conftest.$ac_ext <<_ACEOF
    5706 /* confdefs.h.  */
    5707 _ACEOF
    5708 cat confdefs.h >>conftest.$ac_ext
    5709 cat >>conftest.$ac_ext <<_ACEOF
    5710 /* end confdefs.h.  */
    5711 $ac_includes_default
    5712 #include <$ac_header>
    5713 _ACEOF
    5714 rm -f conftest.$ac_objext
    5715 if { (ac_try="$ac_compile"
    5716 case "(($ac_try" in
    5717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5718   *) ac_try_echo=$ac_try;;
    5719 esac
    5720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5721   (eval "$ac_compile") 2>conftest.er1
    5722   ac_status=$?
    5723   grep -v '^ *+' conftest.er1 >conftest.err
    5724   rm -f conftest.er1
    5725   cat conftest.err >&5
    5726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5727   (exit $ac_status); } && {
    5728          test -z "$ac_cxx_werror_flag" ||
    5729          test ! -s conftest.err
    5730        } && test -s conftest.$ac_objext; then
    5731   ac_header_compiler=yes
    5732 else
    5733   echo "$as_me: failed program was:" >&5
    5734 sed 's/^/| /' conftest.$ac_ext >&5
    5735 
    5736         ac_header_compiler=no
    5737 fi
    5738 
    5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5741 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5742 
    5743 # Is the header present?
    5744 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5746 cat >conftest.$ac_ext <<_ACEOF
    5747 /* confdefs.h.  */
    5748 _ACEOF
    5749 cat confdefs.h >>conftest.$ac_ext
    5750 cat >>conftest.$ac_ext <<_ACEOF
    5751 /* end confdefs.h.  */
    5752 #include <$ac_header>
    5753 _ACEOF
    5754 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5755 case "(($ac_try" in
    5756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5757   *) ac_try_echo=$ac_try;;
    5758 esac
    5759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5760   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5761   ac_status=$?
    5762   grep -v '^ *+' conftest.er1 >conftest.err
    5763   rm -f conftest.er1
    5764   cat conftest.err >&5
    5765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5766   (exit $ac_status); } >/dev/null && {
    5767          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5768          test ! -s conftest.err
    5769        }; then
    5770   ac_header_preproc=yes
    5771 else
    5772   echo "$as_me: failed program was:" >&5
    5773 sed 's/^/| /' conftest.$ac_ext >&5
    5774 
    5775   ac_header_preproc=no
    5776 fi
    5777 
    5778 rm -f conftest.err conftest.$ac_ext
    5779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5780 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5781 
    5782 # So?  What about this header?
    5783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5784   yes:no: )
    5785     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5787     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5789     ac_header_preproc=yes
    5790     ;;
    5791   no:yes:* )
    5792     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5794     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5795 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5796     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5798     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5799 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5800     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5802     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5804     ( cat <<\_ASBOX
    5805 ## ----------------------------------- ##
    5806 ## Report this to rappture@nanohub.org ##
    5807 ## ----------------------------------- ##
    5808 _ASBOX
    5809      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5810     ;;
    5811 esac
    5812 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5814 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5815   echo $ECHO_N "(cached) $ECHO_C" >&6
    5816 else
    5817   eval "$as_ac_Header=\$ac_header_preproc"
    5818 fi
    5819 ac_res=`eval echo '${'$as_ac_Header'}'`
    5820                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5821 echo "${ECHO_T}$ac_res" >&6; }
    5822 
    5823 fi
    5824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4921do :
     4922  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdio" "ac_cv_header_cstdio" "$ac_includes_default"
     4923if test "x$ac_cv_header_cstdio" = x""yes; then :
    58254924  cat >>confdefs.h <<_ACEOF
    5826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5827 _ACEOF
    5828 
    5829 else
    5830   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5831 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4925#define HAVE_CSTDIO 1
     4926_ACEOF
     4927
     4928else
     4929  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4930$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    58324931fi
    58334932
    58344933done
    58354934
    5836 
    58374935for ac_header in cstdlib
    5838 do
    5839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5840 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5841   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5844   echo $ECHO_N "(cached) $ECHO_C" >&6
    5845 fi
    5846 ac_res=`eval echo '${'$as_ac_Header'}'`
    5847                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5848 echo "${ECHO_T}$ac_res" >&6; }
    5849 else
    5850   # Is the header compilable?
    5851 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    5853 cat >conftest.$ac_ext <<_ACEOF
    5854 /* confdefs.h.  */
    5855 _ACEOF
    5856 cat confdefs.h >>conftest.$ac_ext
    5857 cat >>conftest.$ac_ext <<_ACEOF
    5858 /* end confdefs.h.  */
    5859 $ac_includes_default
    5860 #include <$ac_header>
    5861 _ACEOF
    5862 rm -f conftest.$ac_objext
    5863 if { (ac_try="$ac_compile"
    5864 case "(($ac_try" in
    5865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5866   *) ac_try_echo=$ac_try;;
    5867 esac
    5868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5869   (eval "$ac_compile") 2>conftest.er1
    5870   ac_status=$?
    5871   grep -v '^ *+' conftest.er1 >conftest.err
    5872   rm -f conftest.er1
    5873   cat conftest.err >&5
    5874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5875   (exit $ac_status); } && {
    5876          test -z "$ac_cxx_werror_flag" ||
    5877          test ! -s conftest.err
    5878        } && test -s conftest.$ac_objext; then
    5879   ac_header_compiler=yes
    5880 else
    5881   echo "$as_me: failed program was:" >&5
    5882 sed 's/^/| /' conftest.$ac_ext >&5
    5883 
    5884         ac_header_compiler=no
    5885 fi
    5886 
    5887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5889 echo "${ECHO_T}$ac_header_compiler" >&6; }
    5890 
    5891 # Is the header present?
    5892 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    5894 cat >conftest.$ac_ext <<_ACEOF
    5895 /* confdefs.h.  */
    5896 _ACEOF
    5897 cat confdefs.h >>conftest.$ac_ext
    5898 cat >>conftest.$ac_ext <<_ACEOF
    5899 /* end confdefs.h.  */
    5900 #include <$ac_header>
    5901 _ACEOF
    5902 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5903 case "(($ac_try" in
    5904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5905   *) ac_try_echo=$ac_try;;
    5906 esac
    5907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5909   ac_status=$?
    5910   grep -v '^ *+' conftest.er1 >conftest.err
    5911   rm -f conftest.er1
    5912   cat conftest.err >&5
    5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5914   (exit $ac_status); } >/dev/null && {
    5915          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    5916          test ! -s conftest.err
    5917        }; then
    5918   ac_header_preproc=yes
    5919 else
    5920   echo "$as_me: failed program was:" >&5
    5921 sed 's/^/| /' conftest.$ac_ext >&5
    5922 
    5923   ac_header_preproc=no
    5924 fi
    5925 
    5926 rm -f conftest.err conftest.$ac_ext
    5927 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5928 echo "${ECHO_T}$ac_header_preproc" >&6; }
    5929 
    5930 # So?  What about this header?
    5931 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    5932   yes:no: )
    5933     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5935     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5937     ac_header_preproc=yes
    5938     ;;
    5939   no:yes:* )
    5940     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5942     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5943 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5944     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5946     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5947 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5948     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5950     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5952     ( cat <<\_ASBOX
    5953 ## ----------------------------------- ##
    5954 ## Report this to rappture@nanohub.org ##
    5955 ## ----------------------------------- ##
    5956 _ASBOX
    5957      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5958     ;;
    5959 esac
    5960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5963   echo $ECHO_N "(cached) $ECHO_C" >&6
    5964 else
    5965   eval "$as_ac_Header=\$ac_header_preproc"
    5966 fi
    5967 ac_res=`eval echo '${'$as_ac_Header'}'`
    5968                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5969 echo "${ECHO_T}$ac_res" >&6; }
    5970 
    5971 fi
    5972 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4936do :
     4937  ac_fn_cxx_check_header_mongrel "$LINENO" "cstdlib" "ac_cv_header_cstdlib" "$ac_includes_default"
     4938if test "x$ac_cv_header_cstdlib" = x""yes; then :
    59734939  cat >>confdefs.h <<_ACEOF
    5974 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5975 _ACEOF
    5976 
    5977 else
    5978   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    5979 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4940#define HAVE_CSTDLIB 1
     4941_ACEOF
     4942
     4943else
     4944  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4945$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    59804946fi
    59814947
    59824948done
    59834949
    5984 
    59854950for ac_header in cstring
    5986 do
    5987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5989   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    5990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    5991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    5992   echo $ECHO_N "(cached) $ECHO_C" >&6
    5993 fi
    5994 ac_res=`eval echo '${'$as_ac_Header'}'`
    5995                { echo "$as_me:$LINENO: result: $ac_res" >&5
    5996 echo "${ECHO_T}$ac_res" >&6; }
    5997 else
    5998   # Is the header compilable?
    5999 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6001 cat >conftest.$ac_ext <<_ACEOF
    6002 /* confdefs.h.  */
    6003 _ACEOF
    6004 cat confdefs.h >>conftest.$ac_ext
    6005 cat >>conftest.$ac_ext <<_ACEOF
    6006 /* end confdefs.h.  */
    6007 $ac_includes_default
    6008 #include <$ac_header>
    6009 _ACEOF
    6010 rm -f conftest.$ac_objext
    6011 if { (ac_try="$ac_compile"
    6012 case "(($ac_try" in
    6013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6014   *) ac_try_echo=$ac_try;;
    6015 esac
    6016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6017   (eval "$ac_compile") 2>conftest.er1
    6018   ac_status=$?
    6019   grep -v '^ *+' conftest.er1 >conftest.err
    6020   rm -f conftest.er1
    6021   cat conftest.err >&5
    6022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6023   (exit $ac_status); } && {
    6024          test -z "$ac_cxx_werror_flag" ||
    6025          test ! -s conftest.err
    6026        } && test -s conftest.$ac_objext; then
    6027   ac_header_compiler=yes
    6028 else
    6029   echo "$as_me: failed program was:" >&5
    6030 sed 's/^/| /' conftest.$ac_ext >&5
    6031 
    6032         ac_header_compiler=no
    6033 fi
    6034 
    6035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6036 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6037 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6038 
    6039 # Is the header present?
    6040 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6042 cat >conftest.$ac_ext <<_ACEOF
    6043 /* confdefs.h.  */
    6044 _ACEOF
    6045 cat confdefs.h >>conftest.$ac_ext
    6046 cat >>conftest.$ac_ext <<_ACEOF
    6047 /* end confdefs.h.  */
    6048 #include <$ac_header>
    6049 _ACEOF
    6050 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6051 case "(($ac_try" in
    6052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6053   *) ac_try_echo=$ac_try;;
    6054 esac
    6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6056   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6057   ac_status=$?
    6058   grep -v '^ *+' conftest.er1 >conftest.err
    6059   rm -f conftest.er1
    6060   cat conftest.err >&5
    6061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6062   (exit $ac_status); } >/dev/null && {
    6063          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6064          test ! -s conftest.err
    6065        }; then
    6066   ac_header_preproc=yes
    6067 else
    6068   echo "$as_me: failed program was:" >&5
    6069 sed 's/^/| /' conftest.$ac_ext >&5
    6070 
    6071   ac_header_preproc=no
    6072 fi
    6073 
    6074 rm -f conftest.err conftest.$ac_ext
    6075 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6076 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6077 
    6078 # So?  What about this header?
    6079 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6080   yes:no: )
    6081     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6083     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6085     ac_header_preproc=yes
    6086     ;;
    6087   no:yes:* )
    6088     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6090     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6091 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6092     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6094     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6095 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6096     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6098     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6100     ( cat <<\_ASBOX
    6101 ## ----------------------------------- ##
    6102 ## Report this to rappture@nanohub.org ##
    6103 ## ----------------------------------- ##
    6104 _ASBOX
    6105      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6106     ;;
    6107 esac
    6108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6111   echo $ECHO_N "(cached) $ECHO_C" >&6
    6112 else
    6113   eval "$as_ac_Header=\$ac_header_preproc"
    6114 fi
    6115 ac_res=`eval echo '${'$as_ac_Header'}'`
    6116                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6117 echo "${ECHO_T}$ac_res" >&6; }
    6118 
    6119 fi
    6120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4951do :
     4952  ac_fn_cxx_check_header_mongrel "$LINENO" "cstring" "ac_cv_header_cstring" "$ac_includes_default"
     4953if test "x$ac_cv_header_cstring" = x""yes; then :
    61214954  cat >>confdefs.h <<_ACEOF
    6122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6123 _ACEOF
    6124 
    6125 else
    6126   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6127 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4955#define HAVE_CSTRING 1
     4956_ACEOF
     4957
     4958else
     4959  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4960$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    61284961fi
    61294962
    61304963done
    61314964
    6132 
    61334965for ac_header in fstream
    6134 do
    6135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6137   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6140   echo $ECHO_N "(cached) $ECHO_C" >&6
    6141 fi
    6142 ac_res=`eval echo '${'$as_ac_Header'}'`
    6143                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6144 echo "${ECHO_T}$ac_res" >&6; }
    6145 else
    6146   # Is the header compilable?
    6147 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6149 cat >conftest.$ac_ext <<_ACEOF
    6150 /* confdefs.h.  */
    6151 _ACEOF
    6152 cat confdefs.h >>conftest.$ac_ext
    6153 cat >>conftest.$ac_ext <<_ACEOF
    6154 /* end confdefs.h.  */
    6155 $ac_includes_default
    6156 #include <$ac_header>
    6157 _ACEOF
    6158 rm -f conftest.$ac_objext
    6159 if { (ac_try="$ac_compile"
    6160 case "(($ac_try" in
    6161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6162   *) ac_try_echo=$ac_try;;
    6163 esac
    6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6165   (eval "$ac_compile") 2>conftest.er1
    6166   ac_status=$?
    6167   grep -v '^ *+' conftest.er1 >conftest.err
    6168   rm -f conftest.er1
    6169   cat conftest.err >&5
    6170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6171   (exit $ac_status); } && {
    6172          test -z "$ac_cxx_werror_flag" ||
    6173          test ! -s conftest.err
    6174        } && test -s conftest.$ac_objext; then
    6175   ac_header_compiler=yes
    6176 else
    6177   echo "$as_me: failed program was:" >&5
    6178 sed 's/^/| /' conftest.$ac_ext >&5
    6179 
    6180         ac_header_compiler=no
    6181 fi
    6182 
    6183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6184 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6185 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6186 
    6187 # Is the header present?
    6188 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6190 cat >conftest.$ac_ext <<_ACEOF
    6191 /* confdefs.h.  */
    6192 _ACEOF
    6193 cat confdefs.h >>conftest.$ac_ext
    6194 cat >>conftest.$ac_ext <<_ACEOF
    6195 /* end confdefs.h.  */
    6196 #include <$ac_header>
    6197 _ACEOF
    6198 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6199 case "(($ac_try" in
    6200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6201   *) ac_try_echo=$ac_try;;
    6202 esac
    6203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6204   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6205   ac_status=$?
    6206   grep -v '^ *+' conftest.er1 >conftest.err
    6207   rm -f conftest.er1
    6208   cat conftest.err >&5
    6209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6210   (exit $ac_status); } >/dev/null && {
    6211          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6212          test ! -s conftest.err
    6213        }; then
    6214   ac_header_preproc=yes
    6215 else
    6216   echo "$as_me: failed program was:" >&5
    6217 sed 's/^/| /' conftest.$ac_ext >&5
    6218 
    6219   ac_header_preproc=no
    6220 fi
    6221 
    6222 rm -f conftest.err conftest.$ac_ext
    6223 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6224 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6225 
    6226 # So?  What about this header?
    6227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6228   yes:no: )
    6229     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6231     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6233     ac_header_preproc=yes
    6234     ;;
    6235   no:yes:* )
    6236     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6238     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6239 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6240     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6242     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6243 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6244     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6246     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6248     ( cat <<\_ASBOX
    6249 ## ----------------------------------- ##
    6250 ## Report this to rappture@nanohub.org ##
    6251 ## ----------------------------------- ##
    6252 _ASBOX
    6253      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6254     ;;
    6255 esac
    6256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6259   echo $ECHO_N "(cached) $ECHO_C" >&6
    6260 else
    6261   eval "$as_ac_Header=\$ac_header_preproc"
    6262 fi
    6263 ac_res=`eval echo '${'$as_ac_Header'}'`
    6264                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6265 echo "${ECHO_T}$ac_res" >&6; }
    6266 
    6267 fi
    6268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4966do :
     4967  ac_fn_cxx_check_header_mongrel "$LINENO" "fstream" "ac_cv_header_fstream" "$ac_includes_default"
     4968if test "x$ac_cv_header_fstream" = x""yes; then :
    62694969  cat >>confdefs.h <<_ACEOF
    6270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6271 _ACEOF
    6272 
    6273 else
    6274   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6275 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4970#define HAVE_FSTREAM 1
     4971_ACEOF
     4972
     4973else
     4974  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4975$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    62764976fi
    62774977
    62784978done
    62794979
    6280 
    62814980for ac_header in list
    6282 do
    6283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6285   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6288   echo $ECHO_N "(cached) $ECHO_C" >&6
    6289 fi
    6290 ac_res=`eval echo '${'$as_ac_Header'}'`
    6291                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6292 echo "${ECHO_T}$ac_res" >&6; }
    6293 else
    6294   # Is the header compilable?
    6295 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6296 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6297 cat >conftest.$ac_ext <<_ACEOF
    6298 /* confdefs.h.  */
    6299 _ACEOF
    6300 cat confdefs.h >>conftest.$ac_ext
    6301 cat >>conftest.$ac_ext <<_ACEOF
    6302 /* end confdefs.h.  */
    6303 $ac_includes_default
    6304 #include <$ac_header>
    6305 _ACEOF
    6306 rm -f conftest.$ac_objext
    6307 if { (ac_try="$ac_compile"
    6308 case "(($ac_try" in
    6309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6310   *) ac_try_echo=$ac_try;;
    6311 esac
    6312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6313   (eval "$ac_compile") 2>conftest.er1
    6314   ac_status=$?
    6315   grep -v '^ *+' conftest.er1 >conftest.err
    6316   rm -f conftest.er1
    6317   cat conftest.err >&5
    6318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6319   (exit $ac_status); } && {
    6320          test -z "$ac_cxx_werror_flag" ||
    6321          test ! -s conftest.err
    6322        } && test -s conftest.$ac_objext; then
    6323   ac_header_compiler=yes
    6324 else
    6325   echo "$as_me: failed program was:" >&5
    6326 sed 's/^/| /' conftest.$ac_ext >&5
    6327 
    6328         ac_header_compiler=no
    6329 fi
    6330 
    6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6332 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6333 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6334 
    6335 # Is the header present?
    6336 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6338 cat >conftest.$ac_ext <<_ACEOF
    6339 /* confdefs.h.  */
    6340 _ACEOF
    6341 cat confdefs.h >>conftest.$ac_ext
    6342 cat >>conftest.$ac_ext <<_ACEOF
    6343 /* end confdefs.h.  */
    6344 #include <$ac_header>
    6345 _ACEOF
    6346 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6347 case "(($ac_try" in
    6348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6349   *) ac_try_echo=$ac_try;;
    6350 esac
    6351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6352   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6353   ac_status=$?
    6354   grep -v '^ *+' conftest.er1 >conftest.err
    6355   rm -f conftest.er1
    6356   cat conftest.err >&5
    6357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6358   (exit $ac_status); } >/dev/null && {
    6359          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6360          test ! -s conftest.err
    6361        }; then
    6362   ac_header_preproc=yes
    6363 else
    6364   echo "$as_me: failed program was:" >&5
    6365 sed 's/^/| /' conftest.$ac_ext >&5
    6366 
    6367   ac_header_preproc=no
    6368 fi
    6369 
    6370 rm -f conftest.err conftest.$ac_ext
    6371 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6372 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6373 
    6374 # So?  What about this header?
    6375 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6376   yes:no: )
    6377     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6379     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6380 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6381     ac_header_preproc=yes
    6382     ;;
    6383   no:yes:* )
    6384     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6385 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6386     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6387 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6388     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6389 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6390     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6391 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6392     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6393 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6394     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6395 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6396     ( cat <<\_ASBOX
    6397 ## ----------------------------------- ##
    6398 ## Report this to rappture@nanohub.org ##
    6399 ## ----------------------------------- ##
    6400 _ASBOX
    6401      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6402     ;;
    6403 esac
    6404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6407   echo $ECHO_N "(cached) $ECHO_C" >&6
    6408 else
    6409   eval "$as_ac_Header=\$ac_header_preproc"
    6410 fi
    6411 ac_res=`eval echo '${'$as_ac_Header'}'`
    6412                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6413 echo "${ECHO_T}$ac_res" >&6; }
    6414 
    6415 fi
    6416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4981do :
     4982  ac_fn_cxx_check_header_mongrel "$LINENO" "list" "ac_cv_header_list" "$ac_includes_default"
     4983if test "x$ac_cv_header_list" = x""yes; then :
    64174984  cat >>confdefs.h <<_ACEOF
    6418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6419 _ACEOF
    6420 
    6421 else
    6422   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6423 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     4985#define HAVE_LIST 1
     4986_ACEOF
     4987
     4988else
     4989  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     4990$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    64244991fi
    64254992
    64264993done
    64274994
    6428 
    64294995for ac_header in iostream
    6430 do
    6431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6432 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6433   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6436   echo $ECHO_N "(cached) $ECHO_C" >&6
    6437 fi
    6438 ac_res=`eval echo '${'$as_ac_Header'}'`
    6439                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6440 echo "${ECHO_T}$ac_res" >&6; }
    6441 else
    6442   # Is the header compilable?
    6443 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6445 cat >conftest.$ac_ext <<_ACEOF
    6446 /* confdefs.h.  */
    6447 _ACEOF
    6448 cat confdefs.h >>conftest.$ac_ext
    6449 cat >>conftest.$ac_ext <<_ACEOF
    6450 /* end confdefs.h.  */
    6451 $ac_includes_default
    6452 #include <$ac_header>
    6453 _ACEOF
    6454 rm -f conftest.$ac_objext
    6455 if { (ac_try="$ac_compile"
    6456 case "(($ac_try" in
    6457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6458   *) ac_try_echo=$ac_try;;
    6459 esac
    6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6461   (eval "$ac_compile") 2>conftest.er1
    6462   ac_status=$?
    6463   grep -v '^ *+' conftest.er1 >conftest.err
    6464   rm -f conftest.er1
    6465   cat conftest.err >&5
    6466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6467   (exit $ac_status); } && {
    6468          test -z "$ac_cxx_werror_flag" ||
    6469          test ! -s conftest.err
    6470        } && test -s conftest.$ac_objext; then
    6471   ac_header_compiler=yes
    6472 else
    6473   echo "$as_me: failed program was:" >&5
    6474 sed 's/^/| /' conftest.$ac_ext >&5
    6475 
    6476         ac_header_compiler=no
    6477 fi
    6478 
    6479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6480 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6481 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6482 
    6483 # Is the header present?
    6484 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6486 cat >conftest.$ac_ext <<_ACEOF
    6487 /* confdefs.h.  */
    6488 _ACEOF
    6489 cat confdefs.h >>conftest.$ac_ext
    6490 cat >>conftest.$ac_ext <<_ACEOF
    6491 /* end confdefs.h.  */
    6492 #include <$ac_header>
    6493 _ACEOF
    6494 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6495 case "(($ac_try" in
    6496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6497   *) ac_try_echo=$ac_try;;
    6498 esac
    6499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6500   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6501   ac_status=$?
    6502   grep -v '^ *+' conftest.er1 >conftest.err
    6503   rm -f conftest.er1
    6504   cat conftest.err >&5
    6505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6506   (exit $ac_status); } >/dev/null && {
    6507          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6508          test ! -s conftest.err
    6509        }; then
    6510   ac_header_preproc=yes
    6511 else
    6512   echo "$as_me: failed program was:" >&5
    6513 sed 's/^/| /' conftest.$ac_ext >&5
    6514 
    6515   ac_header_preproc=no
    6516 fi
    6517 
    6518 rm -f conftest.err conftest.$ac_ext
    6519 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6520 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6521 
    6522 # So?  What about this header?
    6523 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6524   yes:no: )
    6525     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6526 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6527     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6528 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6529     ac_header_preproc=yes
    6530     ;;
    6531   no:yes:* )
    6532     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6533 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6534     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6535 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6536     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6537 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6538     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6539 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6540     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6542     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6544     ( cat <<\_ASBOX
    6545 ## ----------------------------------- ##
    6546 ## Report this to rappture@nanohub.org ##
    6547 ## ----------------------------------- ##
    6548 _ASBOX
    6549      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6550     ;;
    6551 esac
    6552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6555   echo $ECHO_N "(cached) $ECHO_C" >&6
    6556 else
    6557   eval "$as_ac_Header=\$ac_header_preproc"
    6558 fi
    6559 ac_res=`eval echo '${'$as_ac_Header'}'`
    6560                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6561 echo "${ECHO_T}$ac_res" >&6; }
    6562 
    6563 fi
    6564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4996do :
     4997  ac_fn_cxx_check_header_mongrel "$LINENO" "iostream" "ac_cv_header_iostream" "$ac_includes_default"
     4998if test "x$ac_cv_header_iostream" = x""yes; then :
    65654999  cat >>confdefs.h <<_ACEOF
    6566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6567 _ACEOF
    6568 
    6569 else
    6570   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6571 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5000#define HAVE_IOSTREAM 1
     5001_ACEOF
     5002
     5003else
     5004  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5005$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    65725006fi
    65735007
    65745008done
    65755009
    6576 
    65775010for ac_header in iterator
    6578 do
    6579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6581   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6584   echo $ECHO_N "(cached) $ECHO_C" >&6
    6585 fi
    6586 ac_res=`eval echo '${'$as_ac_Header'}'`
    6587                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6588 echo "${ECHO_T}$ac_res" >&6; }
    6589 else
    6590   # Is the header compilable?
    6591 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6593 cat >conftest.$ac_ext <<_ACEOF
    6594 /* confdefs.h.  */
    6595 _ACEOF
    6596 cat confdefs.h >>conftest.$ac_ext
    6597 cat >>conftest.$ac_ext <<_ACEOF
    6598 /* end confdefs.h.  */
    6599 $ac_includes_default
    6600 #include <$ac_header>
    6601 _ACEOF
    6602 rm -f conftest.$ac_objext
    6603 if { (ac_try="$ac_compile"
    6604 case "(($ac_try" in
    6605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6606   *) ac_try_echo=$ac_try;;
    6607 esac
    6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6609   (eval "$ac_compile") 2>conftest.er1
    6610   ac_status=$?
    6611   grep -v '^ *+' conftest.er1 >conftest.err
    6612   rm -f conftest.er1
    6613   cat conftest.err >&5
    6614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6615   (exit $ac_status); } && {
    6616          test -z "$ac_cxx_werror_flag" ||
    6617          test ! -s conftest.err
    6618        } && test -s conftest.$ac_objext; then
    6619   ac_header_compiler=yes
    6620 else
    6621   echo "$as_me: failed program was:" >&5
    6622 sed 's/^/| /' conftest.$ac_ext >&5
    6623 
    6624         ac_header_compiler=no
    6625 fi
    6626 
    6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6628 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6629 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6630 
    6631 # Is the header present?
    6632 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6634 cat >conftest.$ac_ext <<_ACEOF
    6635 /* confdefs.h.  */
    6636 _ACEOF
    6637 cat confdefs.h >>conftest.$ac_ext
    6638 cat >>conftest.$ac_ext <<_ACEOF
    6639 /* end confdefs.h.  */
    6640 #include <$ac_header>
    6641 _ACEOF
    6642 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6643 case "(($ac_try" in
    6644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6645   *) ac_try_echo=$ac_try;;
    6646 esac
    6647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6648   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6649   ac_status=$?
    6650   grep -v '^ *+' conftest.er1 >conftest.err
    6651   rm -f conftest.er1
    6652   cat conftest.err >&5
    6653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6654   (exit $ac_status); } >/dev/null && {
    6655          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6656          test ! -s conftest.err
    6657        }; then
    6658   ac_header_preproc=yes
    6659 else
    6660   echo "$as_me: failed program was:" >&5
    6661 sed 's/^/| /' conftest.$ac_ext >&5
    6662 
    6663   ac_header_preproc=no
    6664 fi
    6665 
    6666 rm -f conftest.err conftest.$ac_ext
    6667 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6668 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6669 
    6670 # So?  What about this header?
    6671 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6672   yes:no: )
    6673     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6675     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6677     ac_header_preproc=yes
    6678     ;;
    6679   no:yes:* )
    6680     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6682     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6683 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6684     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6686     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6687 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6688     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6690     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6692     ( cat <<\_ASBOX
    6693 ## ----------------------------------- ##
    6694 ## Report this to rappture@nanohub.org ##
    6695 ## ----------------------------------- ##
    6696 _ASBOX
    6697      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6698     ;;
    6699 esac
    6700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6703   echo $ECHO_N "(cached) $ECHO_C" >&6
    6704 else
    6705   eval "$as_ac_Header=\$ac_header_preproc"
    6706 fi
    6707 ac_res=`eval echo '${'$as_ac_Header'}'`
    6708                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6709 echo "${ECHO_T}$ac_res" >&6; }
    6710 
    6711 fi
    6712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5011do :
     5012  ac_fn_cxx_check_header_mongrel "$LINENO" "iterator" "ac_cv_header_iterator" "$ac_includes_default"
     5013if test "x$ac_cv_header_iterator" = x""yes; then :
    67135014  cat >>confdefs.h <<_ACEOF
    6714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6715 _ACEOF
    6716 
    6717 else
    6718   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6719 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5015#define HAVE_ITERATOR 1
     5016_ACEOF
     5017
     5018else
     5019  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5020$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    67205021fi
    67215022
    67225023done
    67235024
    6724 
    67255025for ac_header in sstream
    6726 do
    6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6729   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6732   echo $ECHO_N "(cached) $ECHO_C" >&6
    6733 fi
    6734 ac_res=`eval echo '${'$as_ac_Header'}'`
    6735                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6736 echo "${ECHO_T}$ac_res" >&6; }
    6737 else
    6738   # Is the header compilable?
    6739 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6741 cat >conftest.$ac_ext <<_ACEOF
    6742 /* confdefs.h.  */
    6743 _ACEOF
    6744 cat confdefs.h >>conftest.$ac_ext
    6745 cat >>conftest.$ac_ext <<_ACEOF
    6746 /* end confdefs.h.  */
    6747 $ac_includes_default
    6748 #include <$ac_header>
    6749 _ACEOF
    6750 rm -f conftest.$ac_objext
    6751 if { (ac_try="$ac_compile"
    6752 case "(($ac_try" in
    6753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6754   *) ac_try_echo=$ac_try;;
    6755 esac
    6756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6757   (eval "$ac_compile") 2>conftest.er1
    6758   ac_status=$?
    6759   grep -v '^ *+' conftest.er1 >conftest.err
    6760   rm -f conftest.er1
    6761   cat conftest.err >&5
    6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6763   (exit $ac_status); } && {
    6764          test -z "$ac_cxx_werror_flag" ||
    6765          test ! -s conftest.err
    6766        } && test -s conftest.$ac_objext; then
    6767   ac_header_compiler=yes
    6768 else
    6769   echo "$as_me: failed program was:" >&5
    6770 sed 's/^/| /' conftest.$ac_ext >&5
    6771 
    6772         ac_header_compiler=no
    6773 fi
    6774 
    6775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6776 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6777 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6778 
    6779 # Is the header present?
    6780 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6781 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6782 cat >conftest.$ac_ext <<_ACEOF
    6783 /* confdefs.h.  */
    6784 _ACEOF
    6785 cat confdefs.h >>conftest.$ac_ext
    6786 cat >>conftest.$ac_ext <<_ACEOF
    6787 /* end confdefs.h.  */
    6788 #include <$ac_header>
    6789 _ACEOF
    6790 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6791 case "(($ac_try" in
    6792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6793   *) ac_try_echo=$ac_try;;
    6794 esac
    6795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6797   ac_status=$?
    6798   grep -v '^ *+' conftest.er1 >conftest.err
    6799   rm -f conftest.er1
    6800   cat conftest.err >&5
    6801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6802   (exit $ac_status); } >/dev/null && {
    6803          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6804          test ! -s conftest.err
    6805        }; then
    6806   ac_header_preproc=yes
    6807 else
    6808   echo "$as_me: failed program was:" >&5
    6809 sed 's/^/| /' conftest.$ac_ext >&5
    6810 
    6811   ac_header_preproc=no
    6812 fi
    6813 
    6814 rm -f conftest.err conftest.$ac_ext
    6815 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6816 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6817 
    6818 # So?  What about this header?
    6819 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6820   yes:no: )
    6821     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6823     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6825     ac_header_preproc=yes
    6826     ;;
    6827   no:yes:* )
    6828     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6830     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6831 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6832     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6834     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6835 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6836     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6838     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6840     ( cat <<\_ASBOX
    6841 ## ----------------------------------- ##
    6842 ## Report this to rappture@nanohub.org ##
    6843 ## ----------------------------------- ##
    6844 _ASBOX
    6845      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6846     ;;
    6847 esac
    6848 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6851   echo $ECHO_N "(cached) $ECHO_C" >&6
    6852 else
    6853   eval "$as_ac_Header=\$ac_header_preproc"
    6854 fi
    6855 ac_res=`eval echo '${'$as_ac_Header'}'`
    6856                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6857 echo "${ECHO_T}$ac_res" >&6; }
    6858 
    6859 fi
    6860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5026do :
     5027  ac_fn_cxx_check_header_mongrel "$LINENO" "sstream" "ac_cv_header_sstream" "$ac_includes_default"
     5028if test "x$ac_cv_header_sstream" = x""yes; then :
    68615029  cat >>confdefs.h <<_ACEOF
    6862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    6863 _ACEOF
    6864 
    6865 else
    6866   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    6867 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5030#define HAVE_SSTREAM 1
     5031_ACEOF
     5032
     5033else
     5034  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5035$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    68685036fi
    68695037
    68705038done
    68715039
    6872 
    68735040for ac_header in stack
    6874 do
    6875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    6876 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6877   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6880   echo $ECHO_N "(cached) $ECHO_C" >&6
    6881 fi
    6882 ac_res=`eval echo '${'$as_ac_Header'}'`
    6883                { echo "$as_me:$LINENO: result: $ac_res" >&5
    6884 echo "${ECHO_T}$ac_res" >&6; }
    6885 else
    6886   # Is the header compilable?
    6887 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    6888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    6889 cat >conftest.$ac_ext <<_ACEOF
    6890 /* confdefs.h.  */
    6891 _ACEOF
    6892 cat confdefs.h >>conftest.$ac_ext
    6893 cat >>conftest.$ac_ext <<_ACEOF
    6894 /* end confdefs.h.  */
    6895 $ac_includes_default
    6896 #include <$ac_header>
    6897 _ACEOF
    6898 rm -f conftest.$ac_objext
    6899 if { (ac_try="$ac_compile"
    6900 case "(($ac_try" in
    6901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6902   *) ac_try_echo=$ac_try;;
    6903 esac
    6904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6905   (eval "$ac_compile") 2>conftest.er1
    6906   ac_status=$?
    6907   grep -v '^ *+' conftest.er1 >conftest.err
    6908   rm -f conftest.er1
    6909   cat conftest.err >&5
    6910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6911   (exit $ac_status); } && {
    6912          test -z "$ac_cxx_werror_flag" ||
    6913          test ! -s conftest.err
    6914        } && test -s conftest.$ac_objext; then
    6915   ac_header_compiler=yes
    6916 else
    6917   echo "$as_me: failed program was:" >&5
    6918 sed 's/^/| /' conftest.$ac_ext >&5
    6919 
    6920         ac_header_compiler=no
    6921 fi
    6922 
    6923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    6925 echo "${ECHO_T}$ac_header_compiler" >&6; }
    6926 
    6927 # Is the header present?
    6928 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    6929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    6930 cat >conftest.$ac_ext <<_ACEOF
    6931 /* confdefs.h.  */
    6932 _ACEOF
    6933 cat confdefs.h >>conftest.$ac_ext
    6934 cat >>conftest.$ac_ext <<_ACEOF
    6935 /* end confdefs.h.  */
    6936 #include <$ac_header>
    6937 _ACEOF
    6938 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6939 case "(($ac_try" in
    6940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6941   *) ac_try_echo=$ac_try;;
    6942 esac
    6943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    6944   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6945   ac_status=$?
    6946   grep -v '^ *+' conftest.er1 >conftest.err
    6947   rm -f conftest.er1
    6948   cat conftest.err >&5
    6949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6950   (exit $ac_status); } >/dev/null && {
    6951          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    6952          test ! -s conftest.err
    6953        }; then
    6954   ac_header_preproc=yes
    6955 else
    6956   echo "$as_me: failed program was:" >&5
    6957 sed 's/^/| /' conftest.$ac_ext >&5
    6958 
    6959   ac_header_preproc=no
    6960 fi
    6961 
    6962 rm -f conftest.err conftest.$ac_ext
    6963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    6964 echo "${ECHO_T}$ac_header_preproc" >&6; }
    6965 
    6966 # So?  What about this header?
    6967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    6968   yes:no: )
    6969     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    6970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    6971     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    6972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    6973     ac_header_preproc=yes
    6974     ;;
    6975   no:yes:* )
    6976     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    6977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    6978     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    6979 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    6980     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    6981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    6982     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    6983 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    6984     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    6985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    6986     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    6987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    6988     ( cat <<\_ASBOX
    6989 ## ----------------------------------- ##
    6990 ## Report this to rappture@nanohub.org ##
    6991 ## ----------------------------------- ##
    6992 _ASBOX
    6993      ) | sed "s/^/$as_me: WARNING:     /" >&2
    6994     ;;
    6995 esac
    6996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    6997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    6998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    6999   echo $ECHO_N "(cached) $ECHO_C" >&6
    7000 else
    7001   eval "$as_ac_Header=\$ac_header_preproc"
    7002 fi
    7003 ac_res=`eval echo '${'$as_ac_Header'}'`
    7004                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7005 echo "${ECHO_T}$ac_res" >&6; }
    7006 
    7007 fi
    7008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5041do :
     5042  ac_fn_cxx_check_header_mongrel "$LINENO" "stack" "ac_cv_header_stack" "$ac_includes_default"
     5043if test "x$ac_cv_header_stack" = x""yes; then :
    70095044  cat >>confdefs.h <<_ACEOF
    7010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7011 _ACEOF
    7012 
    7013 else
    7014   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    7015 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5045#define HAVE_STACK 1
     5046_ACEOF
     5047
     5048else
     5049  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5050$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    70165051fi
    70175052
    70185053done
    70195054
    7020 
    70215055for ac_header in string
    7022 do
    7023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7025   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7028   echo $ECHO_N "(cached) $ECHO_C" >&6
    7029 fi
    7030 ac_res=`eval echo '${'$as_ac_Header'}'`
    7031                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7032 echo "${ECHO_T}$ac_res" >&6; }
    7033 else
    7034   # Is the header compilable?
    7035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7037 cat >conftest.$ac_ext <<_ACEOF
    7038 /* confdefs.h.  */
    7039 _ACEOF
    7040 cat confdefs.h >>conftest.$ac_ext
    7041 cat >>conftest.$ac_ext <<_ACEOF
    7042 /* end confdefs.h.  */
    7043 $ac_includes_default
    7044 #include <$ac_header>
    7045 _ACEOF
    7046 rm -f conftest.$ac_objext
    7047 if { (ac_try="$ac_compile"
    7048 case "(($ac_try" in
    7049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7050   *) ac_try_echo=$ac_try;;
    7051 esac
    7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7053   (eval "$ac_compile") 2>conftest.er1
    7054   ac_status=$?
    7055   grep -v '^ *+' conftest.er1 >conftest.err
    7056   rm -f conftest.er1
    7057   cat conftest.err >&5
    7058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7059   (exit $ac_status); } && {
    7060          test -z "$ac_cxx_werror_flag" ||
    7061          test ! -s conftest.err
    7062        } && test -s conftest.$ac_objext; then
    7063   ac_header_compiler=yes
    7064 else
    7065   echo "$as_me: failed program was:" >&5
    7066 sed 's/^/| /' conftest.$ac_ext >&5
    7067 
    7068         ac_header_compiler=no
    7069 fi
    7070 
    7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7073 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7074 
    7075 # Is the header present?
    7076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7078 cat >conftest.$ac_ext <<_ACEOF
    7079 /* confdefs.h.  */
    7080 _ACEOF
    7081 cat confdefs.h >>conftest.$ac_ext
    7082 cat >>conftest.$ac_ext <<_ACEOF
    7083 /* end confdefs.h.  */
    7084 #include <$ac_header>
    7085 _ACEOF
    7086 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7087 case "(($ac_try" in
    7088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7089   *) ac_try_echo=$ac_try;;
    7090 esac
    7091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7092   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7093   ac_status=$?
    7094   grep -v '^ *+' conftest.er1 >conftest.err
    7095   rm -f conftest.er1
    7096   cat conftest.err >&5
    7097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7098   (exit $ac_status); } >/dev/null && {
    7099          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7100          test ! -s conftest.err
    7101        }; then
    7102   ac_header_preproc=yes
    7103 else
    7104   echo "$as_me: failed program was:" >&5
    7105 sed 's/^/| /' conftest.$ac_ext >&5
    7106 
    7107   ac_header_preproc=no
    7108 fi
    7109 
    7110 rm -f conftest.err conftest.$ac_ext
    7111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7112 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7113 
    7114 # So?  What about this header?
    7115 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7116   yes:no: )
    7117     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7119     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7121     ac_header_preproc=yes
    7122     ;;
    7123   no:yes:* )
    7124     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7126     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7127 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7128     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7130     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7131 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7132     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7134     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7136     ( cat <<\_ASBOX
    7137 ## ----------------------------------- ##
    7138 ## Report this to rappture@nanohub.org ##
    7139 ## ----------------------------------- ##
    7140 _ASBOX
    7141      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7142     ;;
    7143 esac
    7144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7147   echo $ECHO_N "(cached) $ECHO_C" >&6
    7148 else
    7149   eval "$as_ac_Header=\$ac_header_preproc"
    7150 fi
    7151 ac_res=`eval echo '${'$as_ac_Header'}'`
    7152                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7153 echo "${ECHO_T}$ac_res" >&6; }
    7154 
    7155 fi
    7156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5056do :
     5057  ac_fn_cxx_check_header_mongrel "$LINENO" "string" "ac_cv_header_string" "$ac_includes_default"
     5058if test "x$ac_cv_header_string" = x""yes; then :
    71575059  cat >>confdefs.h <<_ACEOF
    7158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7159 _ACEOF
    7160 
    7161 else
    7162   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    7163 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5060#define HAVE_STRING 1
     5061_ACEOF
     5062
     5063else
     5064  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5065$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    71645066fi
    71655067
    71665068done
    71675069
    7168 
    71695070for ac_header in vector
    7170 do
    7171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7173   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7176   echo $ECHO_N "(cached) $ECHO_C" >&6
    7177 fi
    7178 ac_res=`eval echo '${'$as_ac_Header'}'`
    7179                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7180 echo "${ECHO_T}$ac_res" >&6; }
    7181 else
    7182   # Is the header compilable?
    7183 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7184 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7185 cat >conftest.$ac_ext <<_ACEOF
    7186 /* confdefs.h.  */
    7187 _ACEOF
    7188 cat confdefs.h >>conftest.$ac_ext
    7189 cat >>conftest.$ac_ext <<_ACEOF
    7190 /* end confdefs.h.  */
    7191 $ac_includes_default
    7192 #include <$ac_header>
    7193 _ACEOF
    7194 rm -f conftest.$ac_objext
    7195 if { (ac_try="$ac_compile"
    7196 case "(($ac_try" in
    7197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7198   *) ac_try_echo=$ac_try;;
    7199 esac
    7200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7201   (eval "$ac_compile") 2>conftest.er1
    7202   ac_status=$?
    7203   grep -v '^ *+' conftest.er1 >conftest.err
    7204   rm -f conftest.er1
    7205   cat conftest.err >&5
    7206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7207   (exit $ac_status); } && {
    7208          test -z "$ac_cxx_werror_flag" ||
    7209          test ! -s conftest.err
    7210        } && test -s conftest.$ac_objext; then
    7211   ac_header_compiler=yes
    7212 else
    7213   echo "$as_me: failed program was:" >&5
    7214 sed 's/^/| /' conftest.$ac_ext >&5
    7215 
    7216         ac_header_compiler=no
    7217 fi
    7218 
    7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7220 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7221 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7222 
    7223 # Is the header present?
    7224 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7226 cat >conftest.$ac_ext <<_ACEOF
    7227 /* confdefs.h.  */
    7228 _ACEOF
    7229 cat confdefs.h >>conftest.$ac_ext
    7230 cat >>conftest.$ac_ext <<_ACEOF
    7231 /* end confdefs.h.  */
    7232 #include <$ac_header>
    7233 _ACEOF
    7234 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7235 case "(($ac_try" in
    7236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7237   *) ac_try_echo=$ac_try;;
    7238 esac
    7239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7240   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7241   ac_status=$?
    7242   grep -v '^ *+' conftest.er1 >conftest.err
    7243   rm -f conftest.er1
    7244   cat conftest.err >&5
    7245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7246   (exit $ac_status); } >/dev/null && {
    7247          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7248          test ! -s conftest.err
    7249        }; then
    7250   ac_header_preproc=yes
    7251 else
    7252   echo "$as_me: failed program was:" >&5
    7253 sed 's/^/| /' conftest.$ac_ext >&5
    7254 
    7255   ac_header_preproc=no
    7256 fi
    7257 
    7258 rm -f conftest.err conftest.$ac_ext
    7259 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7260 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7261 
    7262 # So?  What about this header?
    7263 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7264   yes:no: )
    7265     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7267     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7269     ac_header_preproc=yes
    7270     ;;
    7271   no:yes:* )
    7272     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7274     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7275 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7276     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7278     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7279 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7280     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7282     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7284     ( cat <<\_ASBOX
    7285 ## ----------------------------------- ##
    7286 ## Report this to rappture@nanohub.org ##
    7287 ## ----------------------------------- ##
    7288 _ASBOX
    7289      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7290     ;;
    7291 esac
    7292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7295   echo $ECHO_N "(cached) $ECHO_C" >&6
    7296 else
    7297   eval "$as_ac_Header=\$ac_header_preproc"
    7298 fi
    7299 ac_res=`eval echo '${'$as_ac_Header'}'`
    7300                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7301 echo "${ECHO_T}$ac_res" >&6; }
    7302 
    7303 fi
    7304 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5071do :
     5072  ac_fn_cxx_check_header_mongrel "$LINENO" "vector" "ac_cv_header_vector" "$ac_includes_default"
     5073if test "x$ac_cv_header_vector" = x""yes; then :
    73055074  cat >>confdefs.h <<_ACEOF
    7306 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7307 _ACEOF
    7308 
    7309 else
    7310   { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5
    7311 echo "$as_me: WARNING: STL classes missing ?" >&2;}
     5075#define HAVE_VECTOR 1
     5076_ACEOF
     5077
     5078else
     5079  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: STL classes missing ?" >&5
     5080$as_echo "$as_me: WARNING: STL classes missing ?" >&2;}
    73125081fi
    73135082
     
    73155084
    73165085
    7317 
    73185086for ac_header in assert.h
    7319 do
    7320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7321 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7322   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7325   echo $ECHO_N "(cached) $ECHO_C" >&6
    7326 fi
    7327 ac_res=`eval echo '${'$as_ac_Header'}'`
    7328                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7329 echo "${ECHO_T}$ac_res" >&6; }
    7330 else
    7331   # Is the header compilable?
    7332 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7333 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7334 cat >conftest.$ac_ext <<_ACEOF
    7335 /* confdefs.h.  */
    7336 _ACEOF
    7337 cat confdefs.h >>conftest.$ac_ext
    7338 cat >>conftest.$ac_ext <<_ACEOF
    7339 /* end confdefs.h.  */
    7340 $ac_includes_default
    7341 #include <$ac_header>
    7342 _ACEOF
    7343 rm -f conftest.$ac_objext
    7344 if { (ac_try="$ac_compile"
    7345 case "(($ac_try" in
    7346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7347   *) ac_try_echo=$ac_try;;
    7348 esac
    7349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7350   (eval "$ac_compile") 2>conftest.er1
    7351   ac_status=$?
    7352   grep -v '^ *+' conftest.er1 >conftest.err
    7353   rm -f conftest.er1
    7354   cat conftest.err >&5
    7355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7356   (exit $ac_status); } && {
    7357          test -z "$ac_cxx_werror_flag" ||
    7358          test ! -s conftest.err
    7359        } && test -s conftest.$ac_objext; then
    7360   ac_header_compiler=yes
    7361 else
    7362   echo "$as_me: failed program was:" >&5
    7363 sed 's/^/| /' conftest.$ac_ext >&5
    7364 
    7365         ac_header_compiler=no
    7366 fi
    7367 
    7368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7370 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7371 
    7372 # Is the header present?
    7373 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7375 cat >conftest.$ac_ext <<_ACEOF
    7376 /* confdefs.h.  */
    7377 _ACEOF
    7378 cat confdefs.h >>conftest.$ac_ext
    7379 cat >>conftest.$ac_ext <<_ACEOF
    7380 /* end confdefs.h.  */
    7381 #include <$ac_header>
    7382 _ACEOF
    7383 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7384 case "(($ac_try" in
    7385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7386   *) ac_try_echo=$ac_try;;
    7387 esac
    7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7389   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7390   ac_status=$?
    7391   grep -v '^ *+' conftest.er1 >conftest.err
    7392   rm -f conftest.er1
    7393   cat conftest.err >&5
    7394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7395   (exit $ac_status); } >/dev/null && {
    7396          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7397          test ! -s conftest.err
    7398        }; then
    7399   ac_header_preproc=yes
    7400 else
    7401   echo "$as_me: failed program was:" >&5
    7402 sed 's/^/| /' conftest.$ac_ext >&5
    7403 
    7404   ac_header_preproc=no
    7405 fi
    7406 
    7407 rm -f conftest.err conftest.$ac_ext
    7408 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7409 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7410 
    7411 # So?  What about this header?
    7412 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7413   yes:no: )
    7414     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7416     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7418     ac_header_preproc=yes
    7419     ;;
    7420   no:yes:* )
    7421     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7423     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7424 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7425     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7427     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7428 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7429     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7431     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7433     ( cat <<\_ASBOX
    7434 ## ----------------------------------- ##
    7435 ## Report this to rappture@nanohub.org ##
    7436 ## ----------------------------------- ##
    7437 _ASBOX
    7438      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7439     ;;
    7440 esac
    7441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7443 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7444   echo $ECHO_N "(cached) $ECHO_C" >&6
    7445 else
    7446   eval "$as_ac_Header=\$ac_header_preproc"
    7447 fi
    7448 ac_res=`eval echo '${'$as_ac_Header'}'`
    7449                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7450 echo "${ECHO_T}$ac_res" >&6; }
    7451 
    7452 fi
    7453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5087do :
     5088  ac_fn_cxx_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default"
     5089if test "x$ac_cv_header_assert_h" = x""yes; then :
    74545090  cat >>confdefs.h <<_ACEOF
    7455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7456 _ACEOF
    7457 
    7458 else
    7459   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    7460 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5091#define HAVE_ASSERT_H 1
     5092_ACEOF
     5093
     5094else
     5095  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5096$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    74615097fi
    74625098
    74635099done
    74645100
    7465 
    74665101for ac_header in ctype.h
    7467 do
    7468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7470   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7473   echo $ECHO_N "(cached) $ECHO_C" >&6
    7474 fi
    7475 ac_res=`eval echo '${'$as_ac_Header'}'`
    7476                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7477 echo "${ECHO_T}$ac_res" >&6; }
    7478 else
    7479   # Is the header compilable?
    7480 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7482 cat >conftest.$ac_ext <<_ACEOF
    7483 /* confdefs.h.  */
    7484 _ACEOF
    7485 cat confdefs.h >>conftest.$ac_ext
    7486 cat >>conftest.$ac_ext <<_ACEOF
    7487 /* end confdefs.h.  */
    7488 $ac_includes_default
    7489 #include <$ac_header>
    7490 _ACEOF
    7491 rm -f conftest.$ac_objext
    7492 if { (ac_try="$ac_compile"
    7493 case "(($ac_try" in
    7494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7495   *) ac_try_echo=$ac_try;;
    7496 esac
    7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7498   (eval "$ac_compile") 2>conftest.er1
    7499   ac_status=$?
    7500   grep -v '^ *+' conftest.er1 >conftest.err
    7501   rm -f conftest.er1
    7502   cat conftest.err >&5
    7503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7504   (exit $ac_status); } && {
    7505          test -z "$ac_cxx_werror_flag" ||
    7506          test ! -s conftest.err
    7507        } && test -s conftest.$ac_objext; then
    7508   ac_header_compiler=yes
    7509 else
    7510   echo "$as_me: failed program was:" >&5
    7511 sed 's/^/| /' conftest.$ac_ext >&5
    7512 
    7513         ac_header_compiler=no
    7514 fi
    7515 
    7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7517 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7518 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7519 
    7520 # Is the header present?
    7521 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7523 cat >conftest.$ac_ext <<_ACEOF
    7524 /* confdefs.h.  */
    7525 _ACEOF
    7526 cat confdefs.h >>conftest.$ac_ext
    7527 cat >>conftest.$ac_ext <<_ACEOF
    7528 /* end confdefs.h.  */
    7529 #include <$ac_header>
    7530 _ACEOF
    7531 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7532 case "(($ac_try" in
    7533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7534   *) ac_try_echo=$ac_try;;
    7535 esac
    7536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7537   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7538   ac_status=$?
    7539   grep -v '^ *+' conftest.er1 >conftest.err
    7540   rm -f conftest.er1
    7541   cat conftest.err >&5
    7542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7543   (exit $ac_status); } >/dev/null && {
    7544          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7545          test ! -s conftest.err
    7546        }; then
    7547   ac_header_preproc=yes
    7548 else
    7549   echo "$as_me: failed program was:" >&5
    7550 sed 's/^/| /' conftest.$ac_ext >&5
    7551 
    7552   ac_header_preproc=no
    7553 fi
    7554 
    7555 rm -f conftest.err conftest.$ac_ext
    7556 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7557 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7558 
    7559 # So?  What about this header?
    7560 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7561   yes:no: )
    7562     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7564     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7566     ac_header_preproc=yes
    7567     ;;
    7568   no:yes:* )
    7569     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7571     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7572 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7573     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7575     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7576 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7577     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7579     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7581     ( cat <<\_ASBOX
    7582 ## ----------------------------------- ##
    7583 ## Report this to rappture@nanohub.org ##
    7584 ## ----------------------------------- ##
    7585 _ASBOX
    7586      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7587     ;;
    7588 esac
    7589 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7592   echo $ECHO_N "(cached) $ECHO_C" >&6
    7593 else
    7594   eval "$as_ac_Header=\$ac_header_preproc"
    7595 fi
    7596 ac_res=`eval echo '${'$as_ac_Header'}'`
    7597                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7598 echo "${ECHO_T}$ac_res" >&6; }
    7599 
    7600 fi
    7601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5102do :
     5103  ac_fn_cxx_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
     5104if test "x$ac_cv_header_ctype_h" = x""yes; then :
    76025105  cat >>confdefs.h <<_ACEOF
    7603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7604 _ACEOF
    7605 
    7606 else
    7607   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    7608 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5106#define HAVE_CTYPE_H 1
     5107_ACEOF
     5108
     5109else
     5110  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5111$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    76095112fi
    76105113
    76115114done
    76125115
    7613 
    76145116for ac_header in errno.h
    7615 do
    7616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7618   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7621   echo $ECHO_N "(cached) $ECHO_C" >&6
    7622 fi
    7623 ac_res=`eval echo '${'$as_ac_Header'}'`
    7624                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7625 echo "${ECHO_T}$ac_res" >&6; }
    7626 else
    7627   # Is the header compilable?
    7628 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7630 cat >conftest.$ac_ext <<_ACEOF
    7631 /* confdefs.h.  */
    7632 _ACEOF
    7633 cat confdefs.h >>conftest.$ac_ext
    7634 cat >>conftest.$ac_ext <<_ACEOF
    7635 /* end confdefs.h.  */
    7636 $ac_includes_default
    7637 #include <$ac_header>
    7638 _ACEOF
    7639 rm -f conftest.$ac_objext
    7640 if { (ac_try="$ac_compile"
    7641 case "(($ac_try" in
    7642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7643   *) ac_try_echo=$ac_try;;
    7644 esac
    7645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7646   (eval "$ac_compile") 2>conftest.er1
    7647   ac_status=$?
    7648   grep -v '^ *+' conftest.er1 >conftest.err
    7649   rm -f conftest.er1
    7650   cat conftest.err >&5
    7651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7652   (exit $ac_status); } && {
    7653          test -z "$ac_cxx_werror_flag" ||
    7654          test ! -s conftest.err
    7655        } && test -s conftest.$ac_objext; then
    7656   ac_header_compiler=yes
    7657 else
    7658   echo "$as_me: failed program was:" >&5
    7659 sed 's/^/| /' conftest.$ac_ext >&5
    7660 
    7661         ac_header_compiler=no
    7662 fi
    7663 
    7664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7666 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7667 
    7668 # Is the header present?
    7669 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7671 cat >conftest.$ac_ext <<_ACEOF
    7672 /* confdefs.h.  */
    7673 _ACEOF
    7674 cat confdefs.h >>conftest.$ac_ext
    7675 cat >>conftest.$ac_ext <<_ACEOF
    7676 /* end confdefs.h.  */
    7677 #include <$ac_header>
    7678 _ACEOF
    7679 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7680 case "(($ac_try" in
    7681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7682   *) ac_try_echo=$ac_try;;
    7683 esac
    7684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7685   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7686   ac_status=$?
    7687   grep -v '^ *+' conftest.er1 >conftest.err
    7688   rm -f conftest.er1
    7689   cat conftest.err >&5
    7690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7691   (exit $ac_status); } >/dev/null && {
    7692          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7693          test ! -s conftest.err
    7694        }; then
    7695   ac_header_preproc=yes
    7696 else
    7697   echo "$as_me: failed program was:" >&5
    7698 sed 's/^/| /' conftest.$ac_ext >&5
    7699 
    7700   ac_header_preproc=no
    7701 fi
    7702 
    7703 rm -f conftest.err conftest.$ac_ext
    7704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7705 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7706 
    7707 # So?  What about this header?
    7708 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7709   yes:no: )
    7710     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7714     ac_header_preproc=yes
    7715     ;;
    7716   no:yes:* )
    7717     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7719     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7720 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7721     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7723     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7724 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7725     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7727     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7729     ( cat <<\_ASBOX
    7730 ## ----------------------------------- ##
    7731 ## Report this to rappture@nanohub.org ##
    7732 ## ----------------------------------- ##
    7733 _ASBOX
    7734      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7735     ;;
    7736 esac
    7737 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7740   echo $ECHO_N "(cached) $ECHO_C" >&6
    7741 else
    7742   eval "$as_ac_Header=\$ac_header_preproc"
    7743 fi
    7744 ac_res=`eval echo '${'$as_ac_Header'}'`
    7745                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7746 echo "${ECHO_T}$ac_res" >&6; }
    7747 
    7748 fi
    7749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5117do :
     5118  ac_fn_cxx_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
     5119if test "x$ac_cv_header_errno_h" = x""yes; then :
    77505120  cat >>confdefs.h <<_ACEOF
    7751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7752 _ACEOF
    7753 
    7754 else
    7755   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    7756 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5121#define HAVE_ERRNO_H 1
     5122_ACEOF
     5123
     5124else
     5125  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5126$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    77575127fi
    77585128
    77595129done
    77605130
    7761 
    77625131for ac_header in limits.h
    7763 do
    7764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7766   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7769   echo $ECHO_N "(cached) $ECHO_C" >&6
    7770 fi
    7771 ac_res=`eval echo '${'$as_ac_Header'}'`
    7772                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7773 echo "${ECHO_T}$ac_res" >&6; }
    7774 else
    7775   # Is the header compilable?
    7776 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7778 cat >conftest.$ac_ext <<_ACEOF
    7779 /* confdefs.h.  */
    7780 _ACEOF
    7781 cat confdefs.h >>conftest.$ac_ext
    7782 cat >>conftest.$ac_ext <<_ACEOF
    7783 /* end confdefs.h.  */
    7784 $ac_includes_default
    7785 #include <$ac_header>
    7786 _ACEOF
    7787 rm -f conftest.$ac_objext
    7788 if { (ac_try="$ac_compile"
    7789 case "(($ac_try" in
    7790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7791   *) ac_try_echo=$ac_try;;
    7792 esac
    7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7794   (eval "$ac_compile") 2>conftest.er1
    7795   ac_status=$?
    7796   grep -v '^ *+' conftest.er1 >conftest.err
    7797   rm -f conftest.er1
    7798   cat conftest.err >&5
    7799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7800   (exit $ac_status); } && {
    7801          test -z "$ac_cxx_werror_flag" ||
    7802          test ! -s conftest.err
    7803        } && test -s conftest.$ac_objext; then
    7804   ac_header_compiler=yes
    7805 else
    7806   echo "$as_me: failed program was:" >&5
    7807 sed 's/^/| /' conftest.$ac_ext >&5
    7808 
    7809         ac_header_compiler=no
    7810 fi
    7811 
    7812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7813 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7814 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7815 
    7816 # Is the header present?
    7817 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7819 cat >conftest.$ac_ext <<_ACEOF
    7820 /* confdefs.h.  */
    7821 _ACEOF
    7822 cat confdefs.h >>conftest.$ac_ext
    7823 cat >>conftest.$ac_ext <<_ACEOF
    7824 /* end confdefs.h.  */
    7825 #include <$ac_header>
    7826 _ACEOF
    7827 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7828 case "(($ac_try" in
    7829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7830   *) ac_try_echo=$ac_try;;
    7831 esac
    7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7833   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7834   ac_status=$?
    7835   grep -v '^ *+' conftest.er1 >conftest.err
    7836   rm -f conftest.er1
    7837   cat conftest.err >&5
    7838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7839   (exit $ac_status); } >/dev/null && {
    7840          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7841          test ! -s conftest.err
    7842        }; then
    7843   ac_header_preproc=yes
    7844 else
    7845   echo "$as_me: failed program was:" >&5
    7846 sed 's/^/| /' conftest.$ac_ext >&5
    7847 
    7848   ac_header_preproc=no
    7849 fi
    7850 
    7851 rm -f conftest.err conftest.$ac_ext
    7852 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    7853 echo "${ECHO_T}$ac_header_preproc" >&6; }
    7854 
    7855 # So?  What about this header?
    7856 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    7857   yes:no: )
    7858     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    7859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    7860     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    7861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    7862     ac_header_preproc=yes
    7863     ;;
    7864   no:yes:* )
    7865     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    7866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    7867     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    7868 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    7869     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    7870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    7871     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    7872 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    7873     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    7874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    7875     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    7876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    7877     ( cat <<\_ASBOX
    7878 ## ----------------------------------- ##
    7879 ## Report this to rappture@nanohub.org ##
    7880 ## ----------------------------------- ##
    7881 _ASBOX
    7882      ) | sed "s/^/$as_me: WARNING:     /" >&2
    7883     ;;
    7884 esac
    7885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7888   echo $ECHO_N "(cached) $ECHO_C" >&6
    7889 else
    7890   eval "$as_ac_Header=\$ac_header_preproc"
    7891 fi
    7892 ac_res=`eval echo '${'$as_ac_Header'}'`
    7893                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7894 echo "${ECHO_T}$ac_res" >&6; }
    7895 
    7896 fi
    7897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5132do :
     5133  ac_fn_cxx_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
     5134if test "x$ac_cv_header_limits_h" = x""yes; then :
    78985135  cat >>confdefs.h <<_ACEOF
    7899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7900 _ACEOF
    7901 
    7902 else
    7903   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    7904 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5136#define HAVE_LIMITS_H 1
     5137_ACEOF
     5138
     5139else
     5140  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5141$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    79055142fi
    79065143
    79075144done
    79085145
    7909 
    79105146for ac_header in string.h
    7911 do
    7912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7914   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    7915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    7916 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    7917   echo $ECHO_N "(cached) $ECHO_C" >&6
    7918 fi
    7919 ac_res=`eval echo '${'$as_ac_Header'}'`
    7920                { echo "$as_me:$LINENO: result: $ac_res" >&5
    7921 echo "${ECHO_T}$ac_res" >&6; }
    7922 else
    7923   # Is the header compilable?
    7924 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    7925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    7926 cat >conftest.$ac_ext <<_ACEOF
    7927 /* confdefs.h.  */
    7928 _ACEOF
    7929 cat confdefs.h >>conftest.$ac_ext
    7930 cat >>conftest.$ac_ext <<_ACEOF
    7931 /* end confdefs.h.  */
    7932 $ac_includes_default
    7933 #include <$ac_header>
    7934 _ACEOF
    7935 rm -f conftest.$ac_objext
    7936 if { (ac_try="$ac_compile"
    7937 case "(($ac_try" in
    7938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7939   *) ac_try_echo=$ac_try;;
    7940 esac
    7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7942   (eval "$ac_compile") 2>conftest.er1
    7943   ac_status=$?
    7944   grep -v '^ *+' conftest.er1 >conftest.err
    7945   rm -f conftest.er1
    7946   cat conftest.err >&5
    7947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7948   (exit $ac_status); } && {
    7949          test -z "$ac_cxx_werror_flag" ||
    7950          test ! -s conftest.err
    7951        } && test -s conftest.$ac_objext; then
    7952   ac_header_compiler=yes
    7953 else
    7954   echo "$as_me: failed program was:" >&5
    7955 sed 's/^/| /' conftest.$ac_ext >&5
    7956 
    7957         ac_header_compiler=no
    7958 fi
    7959 
    7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    7962 echo "${ECHO_T}$ac_header_compiler" >&6; }
    7963 
    7964 # Is the header present?
    7965 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    7966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    7967 cat >conftest.$ac_ext <<_ACEOF
    7968 /* confdefs.h.  */
    7969 _ACEOF
    7970 cat confdefs.h >>conftest.$ac_ext
    7971 cat >>conftest.$ac_ext <<_ACEOF
    7972 /* end confdefs.h.  */
    7973 #include <$ac_header>
    7974 _ACEOF
    7975 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7976 case "(($ac_try" in
    7977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7978   *) ac_try_echo=$ac_try;;
    7979 esac
    7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    7981   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7982   ac_status=$?
    7983   grep -v '^ *+' conftest.er1 >conftest.err
    7984   rm -f conftest.er1
    7985   cat conftest.err >&5
    7986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7987   (exit $ac_status); } >/dev/null && {
    7988          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7989          test ! -s conftest.err
    7990        }; then
    7991   ac_header_preproc=yes
    7992 else
    7993   echo "$as_me: failed program was:" >&5
    7994 sed 's/^/| /' conftest.$ac_ext >&5
    7995 
    7996   ac_header_preproc=no
    7997 fi
    7998 
    7999 rm -f conftest.err conftest.$ac_ext
    8000 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8001 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8002 
    8003 # So?  What about this header?
    8004 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8005   yes:no: )
    8006     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8008     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8009 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8010     ac_header_preproc=yes
    8011     ;;
    8012   no:yes:* )
    8013     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8014 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8015     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8016 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8017     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8018 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8019     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8020 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8021     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8023     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8025     ( cat <<\_ASBOX
    8026 ## ----------------------------------- ##
    8027 ## Report this to rappture@nanohub.org ##
    8028 ## ----------------------------------- ##
    8029 _ASBOX
    8030      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8031     ;;
    8032 esac
    8033 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8036   echo $ECHO_N "(cached) $ECHO_C" >&6
    8037 else
    8038   eval "$as_ac_Header=\$ac_header_preproc"
    8039 fi
    8040 ac_res=`eval echo '${'$as_ac_Header'}'`
    8041                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8042 echo "${ECHO_T}$ac_res" >&6; }
    8043 
    8044 fi
    8045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5147do :
     5148  ac_fn_cxx_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
     5149if test "x$ac_cv_header_string_h" = x""yes; then :
    80465150  cat >>confdefs.h <<_ACEOF
    8047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8048 _ACEOF
    8049 
    8050 else
    8051   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8052 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5151#define HAVE_STRING_H 1
     5152_ACEOF
     5153
     5154else
     5155  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5156$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    80535157fi
    80545158
    80555159done
    80565160
    8057 
    80585161for ac_header in stdlib.h
    8059 do
    8060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8062   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8064 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8065   echo $ECHO_N "(cached) $ECHO_C" >&6
    8066 fi
    8067 ac_res=`eval echo '${'$as_ac_Header'}'`
    8068                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8069 echo "${ECHO_T}$ac_res" >&6; }
    8070 else
    8071   # Is the header compilable?
    8072 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8074 cat >conftest.$ac_ext <<_ACEOF
    8075 /* confdefs.h.  */
    8076 _ACEOF
    8077 cat confdefs.h >>conftest.$ac_ext
    8078 cat >>conftest.$ac_ext <<_ACEOF
    8079 /* end confdefs.h.  */
    8080 $ac_includes_default
    8081 #include <$ac_header>
    8082 _ACEOF
    8083 rm -f conftest.$ac_objext
    8084 if { (ac_try="$ac_compile"
    8085 case "(($ac_try" in
    8086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8087   *) ac_try_echo=$ac_try;;
    8088 esac
    8089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8090   (eval "$ac_compile") 2>conftest.er1
    8091   ac_status=$?
    8092   grep -v '^ *+' conftest.er1 >conftest.err
    8093   rm -f conftest.er1
    8094   cat conftest.err >&5
    8095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8096   (exit $ac_status); } && {
    8097          test -z "$ac_cxx_werror_flag" ||
    8098          test ! -s conftest.err
    8099        } && test -s conftest.$ac_objext; then
    8100   ac_header_compiler=yes
    8101 else
    8102   echo "$as_me: failed program was:" >&5
    8103 sed 's/^/| /' conftest.$ac_ext >&5
    8104 
    8105         ac_header_compiler=no
    8106 fi
    8107 
    8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8109 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8110 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8111 
    8112 # Is the header present?
    8113 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8115 cat >conftest.$ac_ext <<_ACEOF
    8116 /* confdefs.h.  */
    8117 _ACEOF
    8118 cat confdefs.h >>conftest.$ac_ext
    8119 cat >>conftest.$ac_ext <<_ACEOF
    8120 /* end confdefs.h.  */
    8121 #include <$ac_header>
    8122 _ACEOF
    8123 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8124 case "(($ac_try" in
    8125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8126   *) ac_try_echo=$ac_try;;
    8127 esac
    8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8129   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8130   ac_status=$?
    8131   grep -v '^ *+' conftest.er1 >conftest.err
    8132   rm -f conftest.er1
    8133   cat conftest.err >&5
    8134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8135   (exit $ac_status); } >/dev/null && {
    8136          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8137          test ! -s conftest.err
    8138        }; then
    8139   ac_header_preproc=yes
    8140 else
    8141   echo "$as_me: failed program was:" >&5
    8142 sed 's/^/| /' conftest.$ac_ext >&5
    8143 
    8144   ac_header_preproc=no
    8145 fi
    8146 
    8147 rm -f conftest.err conftest.$ac_ext
    8148 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8149 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8150 
    8151 # So?  What about this header?
    8152 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8153   yes:no: )
    8154     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8156     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8158     ac_header_preproc=yes
    8159     ;;
    8160   no:yes:* )
    8161     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8163     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8164 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8165     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8167     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8168 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8169     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8171     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8173     ( cat <<\_ASBOX
    8174 ## ----------------------------------- ##
    8175 ## Report this to rappture@nanohub.org ##
    8176 ## ----------------------------------- ##
    8177 _ASBOX
    8178      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8179     ;;
    8180 esac
    8181 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8183 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8184   echo $ECHO_N "(cached) $ECHO_C" >&6
    8185 else
    8186   eval "$as_ac_Header=\$ac_header_preproc"
    8187 fi
    8188 ac_res=`eval echo '${'$as_ac_Header'}'`
    8189                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8190 echo "${ECHO_T}$ac_res" >&6; }
    8191 
    8192 fi
    8193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5162do :
     5163  ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5164if test "x$ac_cv_header_stdlib_h" = x""yes; then :
    81945165  cat >>confdefs.h <<_ACEOF
    8195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8196 _ACEOF
    8197 
    8198 else
    8199   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8200 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5166#define HAVE_STDLIB_H 1
     5167_ACEOF
     5168
     5169else
     5170  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5171$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    82015172fi
    82025173
    82035174done
    82045175
    8205 
    82065176for ac_header in stddef.h
    8207 do
    8208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8210   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8213   echo $ECHO_N "(cached) $ECHO_C" >&6
    8214 fi
    8215 ac_res=`eval echo '${'$as_ac_Header'}'`
    8216                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8217 echo "${ECHO_T}$ac_res" >&6; }
    8218 else
    8219   # Is the header compilable?
    8220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8222 cat >conftest.$ac_ext <<_ACEOF
    8223 /* confdefs.h.  */
    8224 _ACEOF
    8225 cat confdefs.h >>conftest.$ac_ext
    8226 cat >>conftest.$ac_ext <<_ACEOF
    8227 /* end confdefs.h.  */
    8228 $ac_includes_default
    8229 #include <$ac_header>
    8230 _ACEOF
    8231 rm -f conftest.$ac_objext
    8232 if { (ac_try="$ac_compile"
    8233 case "(($ac_try" in
    8234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8235   *) ac_try_echo=$ac_try;;
    8236 esac
    8237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8238   (eval "$ac_compile") 2>conftest.er1
    8239   ac_status=$?
    8240   grep -v '^ *+' conftest.er1 >conftest.err
    8241   rm -f conftest.er1
    8242   cat conftest.err >&5
    8243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8244   (exit $ac_status); } && {
    8245          test -z "$ac_cxx_werror_flag" ||
    8246          test ! -s conftest.err
    8247        } && test -s conftest.$ac_objext; then
    8248   ac_header_compiler=yes
    8249 else
    8250   echo "$as_me: failed program was:" >&5
    8251 sed 's/^/| /' conftest.$ac_ext >&5
    8252 
    8253         ac_header_compiler=no
    8254 fi
    8255 
    8256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8258 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8259 
    8260 # Is the header present?
    8261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8263 cat >conftest.$ac_ext <<_ACEOF
    8264 /* confdefs.h.  */
    8265 _ACEOF
    8266 cat confdefs.h >>conftest.$ac_ext
    8267 cat >>conftest.$ac_ext <<_ACEOF
    8268 /* end confdefs.h.  */
    8269 #include <$ac_header>
    8270 _ACEOF
    8271 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8272 case "(($ac_try" in
    8273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8274   *) ac_try_echo=$ac_try;;
    8275 esac
    8276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8277   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8278   ac_status=$?
    8279   grep -v '^ *+' conftest.er1 >conftest.err
    8280   rm -f conftest.er1
    8281   cat conftest.err >&5
    8282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8283   (exit $ac_status); } >/dev/null && {
    8284          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8285          test ! -s conftest.err
    8286        }; then
    8287   ac_header_preproc=yes
    8288 else
    8289   echo "$as_me: failed program was:" >&5
    8290 sed 's/^/| /' conftest.$ac_ext >&5
    8291 
    8292   ac_header_preproc=no
    8293 fi
    8294 
    8295 rm -f conftest.err conftest.$ac_ext
    8296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8297 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8298 
    8299 # So?  What about this header?
    8300 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8301   yes:no: )
    8302     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8304     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8306     ac_header_preproc=yes
    8307     ;;
    8308   no:yes:* )
    8309     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8311     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8312 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8313     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8315     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8316 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8317     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8319     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8321     ( cat <<\_ASBOX
    8322 ## ----------------------------------- ##
    8323 ## Report this to rappture@nanohub.org ##
    8324 ## ----------------------------------- ##
    8325 _ASBOX
    8326      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8327     ;;
    8328 esac
    8329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8332   echo $ECHO_N "(cached) $ECHO_C" >&6
    8333 else
    8334   eval "$as_ac_Header=\$ac_header_preproc"
    8335 fi
    8336 ac_res=`eval echo '${'$as_ac_Header'}'`
    8337                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8338 echo "${ECHO_T}$ac_res" >&6; }
    8339 
    8340 fi
    8341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5177do :
     5178  ac_fn_cxx_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default"
     5179if test "x$ac_cv_header_stddef_h" = x""yes; then :
    83425180  cat >>confdefs.h <<_ACEOF
    8343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8344 _ACEOF
    8345 
    8346 else
    8347   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8348 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5181#define HAVE_STDDEF_H 1
     5182_ACEOF
     5183
     5184else
     5185  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5186$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    83495187fi
    83505188
    83515189done
    83525190
    8353 
    83545191for ac_header in float.h
    8355 do
    8356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8358   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8361   echo $ECHO_N "(cached) $ECHO_C" >&6
    8362 fi
    8363 ac_res=`eval echo '${'$as_ac_Header'}'`
    8364                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8365 echo "${ECHO_T}$ac_res" >&6; }
    8366 else
    8367   # Is the header compilable?
    8368 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8370 cat >conftest.$ac_ext <<_ACEOF
    8371 /* confdefs.h.  */
    8372 _ACEOF
    8373 cat confdefs.h >>conftest.$ac_ext
    8374 cat >>conftest.$ac_ext <<_ACEOF
    8375 /* end confdefs.h.  */
    8376 $ac_includes_default
    8377 #include <$ac_header>
    8378 _ACEOF
    8379 rm -f conftest.$ac_objext
    8380 if { (ac_try="$ac_compile"
    8381 case "(($ac_try" in
    8382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8383   *) ac_try_echo=$ac_try;;
    8384 esac
    8385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8386   (eval "$ac_compile") 2>conftest.er1
    8387   ac_status=$?
    8388   grep -v '^ *+' conftest.er1 >conftest.err
    8389   rm -f conftest.er1
    8390   cat conftest.err >&5
    8391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8392   (exit $ac_status); } && {
    8393          test -z "$ac_cxx_werror_flag" ||
    8394          test ! -s conftest.err
    8395        } && test -s conftest.$ac_objext; then
    8396   ac_header_compiler=yes
    8397 else
    8398   echo "$as_me: failed program was:" >&5
    8399 sed 's/^/| /' conftest.$ac_ext >&5
    8400 
    8401         ac_header_compiler=no
    8402 fi
    8403 
    8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8405 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8406 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8407 
    8408 # Is the header present?
    8409 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8410 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8411 cat >conftest.$ac_ext <<_ACEOF
    8412 /* confdefs.h.  */
    8413 _ACEOF
    8414 cat confdefs.h >>conftest.$ac_ext
    8415 cat >>conftest.$ac_ext <<_ACEOF
    8416 /* end confdefs.h.  */
    8417 #include <$ac_header>
    8418 _ACEOF
    8419 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8420 case "(($ac_try" in
    8421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8422   *) ac_try_echo=$ac_try;;
    8423 esac
    8424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8425   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8426   ac_status=$?
    8427   grep -v '^ *+' conftest.er1 >conftest.err
    8428   rm -f conftest.er1
    8429   cat conftest.err >&5
    8430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8431   (exit $ac_status); } >/dev/null && {
    8432          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8433          test ! -s conftest.err
    8434        }; then
    8435   ac_header_preproc=yes
    8436 else
    8437   echo "$as_me: failed program was:" >&5
    8438 sed 's/^/| /' conftest.$ac_ext >&5
    8439 
    8440   ac_header_preproc=no
    8441 fi
    8442 
    8443 rm -f conftest.err conftest.$ac_ext
    8444 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8445 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8446 
    8447 # So?  What about this header?
    8448 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8449   yes:no: )
    8450     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8452     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8454     ac_header_preproc=yes
    8455     ;;
    8456   no:yes:* )
    8457     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8459     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8460 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8461     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8463     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8464 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8465     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8467     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8469     ( cat <<\_ASBOX
    8470 ## ----------------------------------- ##
    8471 ## Report this to rappture@nanohub.org ##
    8472 ## ----------------------------------- ##
    8473 _ASBOX
    8474      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8475     ;;
    8476 esac
    8477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8480   echo $ECHO_N "(cached) $ECHO_C" >&6
    8481 else
    8482   eval "$as_ac_Header=\$ac_header_preproc"
    8483 fi
    8484 ac_res=`eval echo '${'$as_ac_Header'}'`
    8485                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8486 echo "${ECHO_T}$ac_res" >&6; }
    8487 
    8488 fi
    8489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5192do :
     5193  ac_fn_cxx_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
     5194if test "x$ac_cv_header_float_h" = x""yes; then :
    84905195  cat >>confdefs.h <<_ACEOF
    8491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8492 _ACEOF
    8493 
    8494 else
    8495   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8496 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5196#define HAVE_FLOAT_H 1
     5197_ACEOF
     5198
     5199else
     5200  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5201$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    84975202fi
    84985203
    84995204done
    85005205
    8501 
    85025206for ac_header in math.h
    8503 do
    8504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8505 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8506   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8509   echo $ECHO_N "(cached) $ECHO_C" >&6
    8510 fi
    8511 ac_res=`eval echo '${'$as_ac_Header'}'`
    8512                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8513 echo "${ECHO_T}$ac_res" >&6; }
    8514 else
    8515   # Is the header compilable?
    8516 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8518 cat >conftest.$ac_ext <<_ACEOF
    8519 /* confdefs.h.  */
    8520 _ACEOF
    8521 cat confdefs.h >>conftest.$ac_ext
    8522 cat >>conftest.$ac_ext <<_ACEOF
    8523 /* end confdefs.h.  */
    8524 $ac_includes_default
    8525 #include <$ac_header>
    8526 _ACEOF
    8527 rm -f conftest.$ac_objext
    8528 if { (ac_try="$ac_compile"
    8529 case "(($ac_try" in
    8530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8531   *) ac_try_echo=$ac_try;;
    8532 esac
    8533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8534   (eval "$ac_compile") 2>conftest.er1
    8535   ac_status=$?
    8536   grep -v '^ *+' conftest.er1 >conftest.err
    8537   rm -f conftest.er1
    8538   cat conftest.err >&5
    8539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8540   (exit $ac_status); } && {
    8541          test -z "$ac_cxx_werror_flag" ||
    8542          test ! -s conftest.err
    8543        } && test -s conftest.$ac_objext; then
    8544   ac_header_compiler=yes
    8545 else
    8546   echo "$as_me: failed program was:" >&5
    8547 sed 's/^/| /' conftest.$ac_ext >&5
    8548 
    8549         ac_header_compiler=no
    8550 fi
    8551 
    8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8553 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8554 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8555 
    8556 # Is the header present?
    8557 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8559 cat >conftest.$ac_ext <<_ACEOF
    8560 /* confdefs.h.  */
    8561 _ACEOF
    8562 cat confdefs.h >>conftest.$ac_ext
    8563 cat >>conftest.$ac_ext <<_ACEOF
    8564 /* end confdefs.h.  */
    8565 #include <$ac_header>
    8566 _ACEOF
    8567 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8568 case "(($ac_try" in
    8569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8570   *) ac_try_echo=$ac_try;;
    8571 esac
    8572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8573   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8574   ac_status=$?
    8575   grep -v '^ *+' conftest.er1 >conftest.err
    8576   rm -f conftest.er1
    8577   cat conftest.err >&5
    8578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8579   (exit $ac_status); } >/dev/null && {
    8580          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8581          test ! -s conftest.err
    8582        }; then
    8583   ac_header_preproc=yes
    8584 else
    8585   echo "$as_me: failed program was:" >&5
    8586 sed 's/^/| /' conftest.$ac_ext >&5
    8587 
    8588   ac_header_preproc=no
    8589 fi
    8590 
    8591 rm -f conftest.err conftest.$ac_ext
    8592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8593 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8594 
    8595 # So?  What about this header?
    8596 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8597   yes:no: )
    8598     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8599 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8600     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8601 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8602     ac_header_preproc=yes
    8603     ;;
    8604   no:yes:* )
    8605     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8607     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8608 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8609     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8610 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8611     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8612 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8613     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8615     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8617     ( cat <<\_ASBOX
    8618 ## ----------------------------------- ##
    8619 ## Report this to rappture@nanohub.org ##
    8620 ## ----------------------------------- ##
    8621 _ASBOX
    8622      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8623     ;;
    8624 esac
    8625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8628   echo $ECHO_N "(cached) $ECHO_C" >&6
    8629 else
    8630   eval "$as_ac_Header=\$ac_header_preproc"
    8631 fi
    8632 ac_res=`eval echo '${'$as_ac_Header'}'`
    8633                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8634 echo "${ECHO_T}$ac_res" >&6; }
    8635 
    8636 fi
    8637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5207do :
     5208  ac_fn_cxx_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
     5209if test "x$ac_cv_header_math_h" = x""yes; then :
    86385210  cat >>confdefs.h <<_ACEOF
    8639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8640 _ACEOF
    8641 
    8642 else
    8643   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8644 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5211#define HAVE_MATH_H 1
     5212_ACEOF
     5213
     5214else
     5215  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5216$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    86455217fi
    86465218
    86475219done
    86485220
    8649 
    86505221for ac_header in malloc.h
    8651 do
    8652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8654   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8657   echo $ECHO_N "(cached) $ECHO_C" >&6
    8658 fi
    8659 ac_res=`eval echo '${'$as_ac_Header'}'`
    8660                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8661 echo "${ECHO_T}$ac_res" >&6; }
    8662 else
    8663   # Is the header compilable?
    8664 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8666 cat >conftest.$ac_ext <<_ACEOF
    8667 /* confdefs.h.  */
    8668 _ACEOF
    8669 cat confdefs.h >>conftest.$ac_ext
    8670 cat >>conftest.$ac_ext <<_ACEOF
    8671 /* end confdefs.h.  */
    8672 $ac_includes_default
    8673 #include <$ac_header>
    8674 _ACEOF
    8675 rm -f conftest.$ac_objext
    8676 if { (ac_try="$ac_compile"
    8677 case "(($ac_try" in
    8678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8679   *) ac_try_echo=$ac_try;;
    8680 esac
    8681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8682   (eval "$ac_compile") 2>conftest.er1
    8683   ac_status=$?
    8684   grep -v '^ *+' conftest.er1 >conftest.err
    8685   rm -f conftest.er1
    8686   cat conftest.err >&5
    8687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8688   (exit $ac_status); } && {
    8689          test -z "$ac_cxx_werror_flag" ||
    8690          test ! -s conftest.err
    8691        } && test -s conftest.$ac_objext; then
    8692   ac_header_compiler=yes
    8693 else
    8694   echo "$as_me: failed program was:" >&5
    8695 sed 's/^/| /' conftest.$ac_ext >&5
    8696 
    8697         ac_header_compiler=no
    8698 fi
    8699 
    8700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8701 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8702 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8703 
    8704 # Is the header present?
    8705 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8706 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8707 cat >conftest.$ac_ext <<_ACEOF
    8708 /* confdefs.h.  */
    8709 _ACEOF
    8710 cat confdefs.h >>conftest.$ac_ext
    8711 cat >>conftest.$ac_ext <<_ACEOF
    8712 /* end confdefs.h.  */
    8713 #include <$ac_header>
    8714 _ACEOF
    8715 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8716 case "(($ac_try" in
    8717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8718   *) ac_try_echo=$ac_try;;
    8719 esac
    8720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8722   ac_status=$?
    8723   grep -v '^ *+' conftest.er1 >conftest.err
    8724   rm -f conftest.er1
    8725   cat conftest.err >&5
    8726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8727   (exit $ac_status); } >/dev/null && {
    8728          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8729          test ! -s conftest.err
    8730        }; then
    8731   ac_header_preproc=yes
    8732 else
    8733   echo "$as_me: failed program was:" >&5
    8734 sed 's/^/| /' conftest.$ac_ext >&5
    8735 
    8736   ac_header_preproc=no
    8737 fi
    8738 
    8739 rm -f conftest.err conftest.$ac_ext
    8740 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8741 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8742 
    8743 # So?  What about this header?
    8744 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8745   yes:no: )
    8746     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8748     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8750     ac_header_preproc=yes
    8751     ;;
    8752   no:yes:* )
    8753     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8755     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8756 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8757     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8759     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8760 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8761     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8763     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8765     ( cat <<\_ASBOX
    8766 ## ----------------------------------- ##
    8767 ## Report this to rappture@nanohub.org ##
    8768 ## ----------------------------------- ##
    8769 _ASBOX
    8770      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8771     ;;
    8772 esac
    8773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8776   echo $ECHO_N "(cached) $ECHO_C" >&6
    8777 else
    8778   eval "$as_ac_Header=\$ac_header_preproc"
    8779 fi
    8780 ac_res=`eval echo '${'$as_ac_Header'}'`
    8781                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8782 echo "${ECHO_T}$ac_res" >&6; }
    8783 
    8784 fi
    8785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5222do :
     5223  ac_fn_cxx_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
     5224if test "x$ac_cv_header_malloc_h" = x""yes; then :
    87865225  cat >>confdefs.h <<_ACEOF
    8787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8788 _ACEOF
    8789 
    8790 else
    8791   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8792 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5226#define HAVE_MALLOC_H 1
     5227_ACEOF
     5228
     5229else
     5230  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5231$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    87935232fi
    87945233
    87955234done
    87965235
    8797 
    87985236for ac_header in memory.h
    8799 do
    8800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8802   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8805   echo $ECHO_N "(cached) $ECHO_C" >&6
    8806 fi
    8807 ac_res=`eval echo '${'$as_ac_Header'}'`
    8808                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8809 echo "${ECHO_T}$ac_res" >&6; }
    8810 else
    8811   # Is the header compilable?
    8812 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8814 cat >conftest.$ac_ext <<_ACEOF
    8815 /* confdefs.h.  */
    8816 _ACEOF
    8817 cat confdefs.h >>conftest.$ac_ext
    8818 cat >>conftest.$ac_ext <<_ACEOF
    8819 /* end confdefs.h.  */
    8820 $ac_includes_default
    8821 #include <$ac_header>
    8822 _ACEOF
    8823 rm -f conftest.$ac_objext
    8824 if { (ac_try="$ac_compile"
    8825 case "(($ac_try" in
    8826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8827   *) ac_try_echo=$ac_try;;
    8828 esac
    8829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8830   (eval "$ac_compile") 2>conftest.er1
    8831   ac_status=$?
    8832   grep -v '^ *+' conftest.er1 >conftest.err
    8833   rm -f conftest.er1
    8834   cat conftest.err >&5
    8835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8836   (exit $ac_status); } && {
    8837          test -z "$ac_cxx_werror_flag" ||
    8838          test ! -s conftest.err
    8839        } && test -s conftest.$ac_objext; then
    8840   ac_header_compiler=yes
    8841 else
    8842   echo "$as_me: failed program was:" >&5
    8843 sed 's/^/| /' conftest.$ac_ext >&5
    8844 
    8845         ac_header_compiler=no
    8846 fi
    8847 
    8848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8849 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8850 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8851 
    8852 # Is the header present?
    8853 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    8855 cat >conftest.$ac_ext <<_ACEOF
    8856 /* confdefs.h.  */
    8857 _ACEOF
    8858 cat confdefs.h >>conftest.$ac_ext
    8859 cat >>conftest.$ac_ext <<_ACEOF
    8860 /* end confdefs.h.  */
    8861 #include <$ac_header>
    8862 _ACEOF
    8863 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8864 case "(($ac_try" in
    8865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8866   *) ac_try_echo=$ac_try;;
    8867 esac
    8868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8869   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8870   ac_status=$?
    8871   grep -v '^ *+' conftest.er1 >conftest.err
    8872   rm -f conftest.er1
    8873   cat conftest.err >&5
    8874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8875   (exit $ac_status); } >/dev/null && {
    8876          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8877          test ! -s conftest.err
    8878        }; then
    8879   ac_header_preproc=yes
    8880 else
    8881   echo "$as_me: failed program was:" >&5
    8882 sed 's/^/| /' conftest.$ac_ext >&5
    8883 
    8884   ac_header_preproc=no
    8885 fi
    8886 
    8887 rm -f conftest.err conftest.$ac_ext
    8888 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    8889 echo "${ECHO_T}$ac_header_preproc" >&6; }
    8890 
    8891 # So?  What about this header?
    8892 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    8893   yes:no: )
    8894     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    8895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    8896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    8897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    8898     ac_header_preproc=yes
    8899     ;;
    8900   no:yes:* )
    8901     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    8902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    8903     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    8904 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    8905     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    8906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    8907     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    8908 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    8909     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    8910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    8911     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    8912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    8913     ( cat <<\_ASBOX
    8914 ## ----------------------------------- ##
    8915 ## Report this to rappture@nanohub.org ##
    8916 ## ----------------------------------- ##
    8917 _ASBOX
    8918      ) | sed "s/^/$as_me: WARNING:     /" >&2
    8919     ;;
    8920 esac
    8921 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8923 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8924   echo $ECHO_N "(cached) $ECHO_C" >&6
    8925 else
    8926   eval "$as_ac_Header=\$ac_header_preproc"
    8927 fi
    8928 ac_res=`eval echo '${'$as_ac_Header'}'`
    8929                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8930 echo "${ECHO_T}$ac_res" >&6; }
    8931 
    8932 fi
    8933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5237do :
     5238  ac_fn_cxx_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
     5239if test "x$ac_cv_header_memory_h" = x""yes; then :
    89345240  cat >>confdefs.h <<_ACEOF
    8935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    8936 _ACEOF
    8937 
    8938 else
    8939   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    8940 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5241#define HAVE_MEMORY_H 1
     5242_ACEOF
     5243
     5244else
     5245  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5246$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    89415247fi
    89425248
    89435249done
    89445250
    8945 
    89465251for ac_header in unistd.h
    8947 do
    8948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8950   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    8951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    8952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8953   echo $ECHO_N "(cached) $ECHO_C" >&6
    8954 fi
    8955 ac_res=`eval echo '${'$as_ac_Header'}'`
    8956                { echo "$as_me:$LINENO: result: $ac_res" >&5
    8957 echo "${ECHO_T}$ac_res" >&6; }
    8958 else
    8959   # Is the header compilable?
    8960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    8962 cat >conftest.$ac_ext <<_ACEOF
    8963 /* confdefs.h.  */
    8964 _ACEOF
    8965 cat confdefs.h >>conftest.$ac_ext
    8966 cat >>conftest.$ac_ext <<_ACEOF
    8967 /* end confdefs.h.  */
    8968 $ac_includes_default
    8969 #include <$ac_header>
    8970 _ACEOF
    8971 rm -f conftest.$ac_objext
    8972 if { (ac_try="$ac_compile"
    8973 case "(($ac_try" in
    8974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8975   *) ac_try_echo=$ac_try;;
    8976 esac
    8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    8978   (eval "$ac_compile") 2>conftest.er1
    8979   ac_status=$?
    8980   grep -v '^ *+' conftest.er1 >conftest.err
    8981   rm -f conftest.er1
    8982   cat conftest.err >&5
    8983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8984   (exit $ac_status); } && {
    8985          test -z "$ac_cxx_werror_flag" ||
    8986          test ! -s conftest.err
    8987        } && test -s conftest.$ac_objext; then
    8988   ac_header_compiler=yes
    8989 else
    8990   echo "$as_me: failed program was:" >&5
    8991 sed 's/^/| /' conftest.$ac_ext >&5
    8992 
    8993         ac_header_compiler=no
    8994 fi
    8995 
    8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8997 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8998 echo "${ECHO_T}$ac_header_compiler" >&6; }
    8999 
    9000 # Is the header present?
    9001 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    9003 cat >conftest.$ac_ext <<_ACEOF
    9004 /* confdefs.h.  */
    9005 _ACEOF
    9006 cat confdefs.h >>conftest.$ac_ext
    9007 cat >>conftest.$ac_ext <<_ACEOF
    9008 /* end confdefs.h.  */
    9009 #include <$ac_header>
    9010 _ACEOF
    9011 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9012 case "(($ac_try" in
    9013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9014   *) ac_try_echo=$ac_try;;
    9015 esac
    9016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9017   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9018   ac_status=$?
    9019   grep -v '^ *+' conftest.er1 >conftest.err
    9020   rm -f conftest.er1
    9021   cat conftest.err >&5
    9022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9023   (exit $ac_status); } >/dev/null && {
    9024          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9025          test ! -s conftest.err
    9026        }; then
    9027   ac_header_preproc=yes
    9028 else
    9029   echo "$as_me: failed program was:" >&5
    9030 sed 's/^/| /' conftest.$ac_ext >&5
    9031 
    9032   ac_header_preproc=no
    9033 fi
    9034 
    9035 rm -f conftest.err conftest.$ac_ext
    9036 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9037 echo "${ECHO_T}$ac_header_preproc" >&6; }
    9038 
    9039 # So?  What about this header?
    9040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9041   yes:no: )
    9042     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9046     ac_header_preproc=yes
    9047     ;;
    9048   no:yes:* )
    9049     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9051     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9052 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9053     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9055     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9056 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9057     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9059     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9061     ( cat <<\_ASBOX
    9062 ## ----------------------------------- ##
    9063 ## Report this to rappture@nanohub.org ##
    9064 ## ----------------------------------- ##
    9065 _ASBOX
    9066      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9067     ;;
    9068 esac
    9069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    9071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9072   echo $ECHO_N "(cached) $ECHO_C" >&6
    9073 else
    9074   eval "$as_ac_Header=\$ac_header_preproc"
    9075 fi
    9076 ac_res=`eval echo '${'$as_ac_Header'}'`
    9077                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9078 echo "${ECHO_T}$ac_res" >&6; }
    9079 
    9080 fi
    9081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5252do :
     5253  ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
     5254if test "x$ac_cv_header_unistd_h" = x""yes; then :
    90825255  cat >>confdefs.h <<_ACEOF
    9083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9084 _ACEOF
    9085 
    9086 else
    9087   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    9088 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5256#define HAVE_UNISTD_H 1
     5257_ACEOF
     5258
     5259else
     5260  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5261$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    90895262fi
    90905263
     
    90925265
    90935266
    9094 
    90955267for ac_header in inttypes.h
    9096 do
    9097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9099   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    9101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9102   echo $ECHO_N "(cached) $ECHO_C" >&6
    9103 fi
    9104 ac_res=`eval echo '${'$as_ac_Header'}'`
    9105                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9106 echo "${ECHO_T}$ac_res" >&6; }
    9107 else
    9108   # Is the header compilable?
    9109 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    9111 cat >conftest.$ac_ext <<_ACEOF
    9112 /* confdefs.h.  */
    9113 _ACEOF
    9114 cat confdefs.h >>conftest.$ac_ext
    9115 cat >>conftest.$ac_ext <<_ACEOF
    9116 /* end confdefs.h.  */
    9117 $ac_includes_default
    9118 #include <$ac_header>
    9119 _ACEOF
    9120 rm -f conftest.$ac_objext
    9121 if { (ac_try="$ac_compile"
    9122 case "(($ac_try" in
    9123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9124   *) ac_try_echo=$ac_try;;
    9125 esac
    9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9127   (eval "$ac_compile") 2>conftest.er1
    9128   ac_status=$?
    9129   grep -v '^ *+' conftest.er1 >conftest.err
    9130   rm -f conftest.er1
    9131   cat conftest.err >&5
    9132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9133   (exit $ac_status); } && {
    9134          test -z "$ac_cxx_werror_flag" ||
    9135          test ! -s conftest.err
    9136        } && test -s conftest.$ac_objext; then
    9137   ac_header_compiler=yes
    9138 else
    9139   echo "$as_me: failed program was:" >&5
    9140 sed 's/^/| /' conftest.$ac_ext >&5
    9141 
    9142         ac_header_compiler=no
    9143 fi
    9144 
    9145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9147 echo "${ECHO_T}$ac_header_compiler" >&6; }
    9148 
    9149 # Is the header present?
    9150 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    9152 cat >conftest.$ac_ext <<_ACEOF
    9153 /* confdefs.h.  */
    9154 _ACEOF
    9155 cat confdefs.h >>conftest.$ac_ext
    9156 cat >>conftest.$ac_ext <<_ACEOF
    9157 /* end confdefs.h.  */
    9158 #include <$ac_header>
    9159 _ACEOF
    9160 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9161 case "(($ac_try" in
    9162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9163   *) ac_try_echo=$ac_try;;
    9164 esac
    9165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9166   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9167   ac_status=$?
    9168   grep -v '^ *+' conftest.er1 >conftest.err
    9169   rm -f conftest.er1
    9170   cat conftest.err >&5
    9171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9172   (exit $ac_status); } >/dev/null && {
    9173          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9174          test ! -s conftest.err
    9175        }; then
    9176   ac_header_preproc=yes
    9177 else
    9178   echo "$as_me: failed program was:" >&5
    9179 sed 's/^/| /' conftest.$ac_ext >&5
    9180 
    9181   ac_header_preproc=no
    9182 fi
    9183 
    9184 rm -f conftest.err conftest.$ac_ext
    9185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9186 echo "${ECHO_T}$ac_header_preproc" >&6; }
    9187 
    9188 # So?  What about this header?
    9189 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9190   yes:no: )
    9191     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9193     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9195     ac_header_preproc=yes
    9196     ;;
    9197   no:yes:* )
    9198     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9200     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9201 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9202     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9204     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9205 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9206     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9208     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9210     ( cat <<\_ASBOX
    9211 ## ----------------------------------- ##
    9212 ## Report this to rappture@nanohub.org ##
    9213 ## ----------------------------------- ##
    9214 _ASBOX
    9215      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9216     ;;
    9217 esac
    9218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    9219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    9220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9221   echo $ECHO_N "(cached) $ECHO_C" >&6
    9222 else
    9223   eval "$as_ac_Header=\$ac_header_preproc"
    9224 fi
    9225 ac_res=`eval echo '${'$as_ac_Header'}'`
    9226                { echo "$as_me:$LINENO: result: $ac_res" >&5
    9227 echo "${ECHO_T}$ac_res" >&6; }
    9228 
    9229 fi
    9230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5268do :
     5269  ac_fn_cxx_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
     5270if test "x$ac_cv_header_inttypes_h" = x""yes; then :
    92315271  cat >>confdefs.h <<_ACEOF
    9232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9233 _ACEOF
    9234 
    9235 else
    9236   { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5
    9237 echo "$as_me: WARNING: C headers missing ?" >&2;}
     5272#define HAVE_INTTYPES_H 1
     5273_ACEOF
     5274
     5275else
     5276  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C headers missing ?" >&5
     5277$as_echo "$as_me: WARNING: C headers missing ?" >&2;}
    92385278fi
    92395279
     
    92525292    # Step 0.a: Enable 64 bit support?
    92535293
    9254     { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    9255 echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
     5294    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     5295$as_echo_n "checking if 64bit support is requested... " >&6; }
    92565296    # Check whether --enable-64bit was given.
    9257 if test "${enable_64bit+set}" = set; then
     5297if test "${enable_64bit+set}" = set; then :
    92585298  enableval=$enable_64bit; do64bit=$enableval
    92595299else
     
    92615301fi
    92625302
    9263     { echo "$as_me:$LINENO: result: $do64bit" >&5
    9264 echo "${ECHO_T}$do64bit" >&6; }
     5303    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     5304$as_echo "$do64bit" >&6; }
    92655305
    92665306    # Step 0.b: Enable Solaris 64 bit VIS support?
    92675307
    9268     { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    9269 echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
     5308    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     5309$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    92705310    # Check whether --enable-64bit-vis was given.
    9271 if test "${enable_64bit_vis+set}" = set; then
     5311if test "${enable_64bit_vis+set}" = set; then :
    92725312  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    92735313else
     
    92755315fi
    92765316
    9277     { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    9278 echo "${ECHO_T}$do64bitVIS" >&6; }
     5317    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     5318$as_echo "$do64bitVIS" >&6; }
    92795319
    92805320    if test "$do64bitVIS" = "yes"; then
     
    92875327
    92885328
    9289     { echo "$as_me:$LINENO: checking system version" >&5
    9290 echo $ECHO_N "checking system version... $ECHO_C" >&6; }
    9291 if test "${tcl_cv_sys_version+set}" = set; then
    9292   echo $ECHO_N "(cached) $ECHO_C" >&6
     5329    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     5330$as_echo_n "checking system version... " >&6; }
     5331if test "${tcl_cv_sys_version+set}" = set; then :
     5332  $as_echo_n "(cached) " >&6
    92935333else
    92945334
     
    92985338            tcl_cv_sys_version=`uname -s`-`uname -r`
    92995339            if test "$?" -ne 0 ; then
    9300                 { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    9301 echo "$as_me: WARNING: can't find uname command" >&2;}
     5340                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     5341$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    93025342                tcl_cv_sys_version=unknown
    93035343            else
     
    93155355
    93165356fi
    9317 { echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    9318 echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
     5357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     5358$as_echo "$tcl_cv_sys_version" >&6; }
    93195359    system=$tcl_cv_sys_version
    93205360
     
    93235363    # Linux can use either -ldl or -ldld for dynamic loading.
    93245364
    9325     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    9326 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
    9327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    9328   echo $ECHO_N "(cached) $ECHO_C" >&6
     5365    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     5366$as_echo_n "checking for dlopen in -ldl... " >&6; }
     5367if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
     5368  $as_echo_n "(cached) " >&6
    93295369else
    93305370  ac_check_lib_save_LIBS=$LIBS
    93315371LIBS="-ldl  $LIBS"
    9332 cat >conftest.$ac_ext <<_ACEOF
    9333 /* confdefs.h.  */
    9334 _ACEOF
    9335 cat confdefs.h >>conftest.$ac_ext
    9336 cat >>conftest.$ac_ext <<_ACEOF
     5372cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93375373/* end confdefs.h.  */
    93385374
     
    93525388}
    93535389_ACEOF
    9354 rm -f conftest.$ac_objext conftest$ac_exeext
    9355 if { (ac_try="$ac_link"
    9356 case "(($ac_try" in
    9357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9358   *) ac_try_echo=$ac_try;;
    9359 esac
    9360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9361   (eval "$ac_link") 2>conftest.er1
    9362   ac_status=$?
    9363   grep -v '^ *+' conftest.er1 >conftest.err
    9364   rm -f conftest.er1
    9365   cat conftest.err >&5
    9366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9367   (exit $ac_status); } && {
    9368          test -z "$ac_cxx_werror_flag" ||
    9369          test ! -s conftest.err
    9370        } && test -s conftest$ac_exeext &&
    9371        $as_test_x conftest$ac_exeext; then
     5390if ac_fn_cxx_try_link "$LINENO"; then :
    93725391  ac_cv_lib_dl_dlopen=yes
    93735392else
    9374   echo "$as_me: failed program was:" >&5
    9375 sed 's/^/| /' conftest.$ac_ext >&5
    9376 
    9377         ac_cv_lib_dl_dlopen=no
    9378 fi
    9379 
    9380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9381       conftest$ac_exeext conftest.$ac_ext
     5393  ac_cv_lib_dl_dlopen=no
     5394fi
     5395rm -f core conftest.err conftest.$ac_objext \
     5396    conftest$ac_exeext conftest.$ac_ext
    93825397LIBS=$ac_check_lib_save_LIBS
    93835398fi
    9384 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    9385 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
    9386 if test $ac_cv_lib_dl_dlopen = yes; then
     5399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     5400$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     5401if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
    93875402  have_dl=yes
    93885403else
     
    94165431    # Extract the first word of "ar", so it can be a program name with args.
    94175432set dummy ar; ac_word=$2
    9418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    9419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    9420 if test "${ac_cv_prog_AR+set}" = set; then
    9421   echo $ECHO_N "(cached) $ECHO_C" >&6
     5433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5434$as_echo_n "checking for $ac_word... " >&6; }
     5435if test "${ac_cv_prog_AR+set}" = set; then :
     5436  $as_echo_n "(cached) " >&6
    94225437else
    94235438  if test -n "$AR"; then
     
    94295444  IFS=$as_save_IFS
    94305445  test -z "$as_dir" && as_dir=.
    9431   for ac_exec_ext in '' $ac_executable_extensions; do
     5446    for ac_exec_ext in '' $ac_executable_extensions; do
    94325447  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    94335448    ac_cv_prog_AR="ar"
    9434     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    94355450    break 2
    94365451  fi
    94375452done
    9438 done
     5453  done
    94395454IFS=$as_save_IFS
    94405455
     
    94435458AR=$ac_cv_prog_AR
    94445459if test -n "$AR"; then
    9445   { echo "$as_me:$LINENO: result: $AR" >&5
    9446 echo "${ECHO_T}$AR" >&6; }
    9447 else
    9448   { echo "$as_me:$LINENO: result: no" >&5
    9449 echo "${ECHO_T}no" >&6; }
     5460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     5461$as_echo "$AR" >&6; }
     5462else
     5463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5464$as_echo "no" >&6; }
    94505465fi
    94515466
    94525467
    94535468    if test "${AR}" = "" ; then
    9454         { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    9455 echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    9456    { (exit 1); exit 1; }; }
     5469        as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    94575470    fi
    94585471    STLIB_LD='${AR} cr'
     
    94725485                        ;;
    94735486                esac
    9474                 { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    9475 echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
     5487                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     5488$as_echo "Using $CC for compiling with threads" >&6; }
    94765489            fi
    94775490            LIBS="$LIBS -lc"
     
    94885501            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    94895502                if test "$GCC" = "yes" ; then
    9490                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    9491 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     5503                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     5504$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    94925505                else
    94935506                    do64bit_ok=yes
     
    95435556            # known GMT value.
    95445557
    9545             { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    9546 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
    9547 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    9548   echo $ECHO_N "(cached) $ECHO_C" >&6
     5558            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     5559$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
     5560if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then :
     5561  $as_echo_n "(cached) " >&6
    95495562else
    95505563  ac_check_lib_save_LIBS=$LIBS
    95515564LIBS="-lbsd  $LIBS"
    9552 cat >conftest.$ac_ext <<_ACEOF
    9553 /* confdefs.h.  */
    9554 _ACEOF
    9555 cat confdefs.h >>conftest.$ac_ext
    9556 cat >>conftest.$ac_ext <<_ACEOF
     5565cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    95575566/* end confdefs.h.  */
    95585567
     
    95725581}
    95735582_ACEOF
    9574 rm -f conftest.$ac_objext conftest$ac_exeext
    9575 if { (ac_try="$ac_link"
    9576 case "(($ac_try" in
    9577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9578   *) ac_try_echo=$ac_try;;
    9579 esac
    9580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9581   (eval "$ac_link") 2>conftest.er1
    9582   ac_status=$?
    9583   grep -v '^ *+' conftest.er1 >conftest.err
    9584   rm -f conftest.er1
    9585   cat conftest.err >&5
    9586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9587   (exit $ac_status); } && {
    9588          test -z "$ac_cxx_werror_flag" ||
    9589          test ! -s conftest.err
    9590        } && test -s conftest$ac_exeext &&
    9591        $as_test_x conftest$ac_exeext; then
     5583if ac_fn_cxx_try_link "$LINENO"; then :
    95925584  ac_cv_lib_bsd_gettimeofday=yes
    95935585else
    9594   echo "$as_me: failed program was:" >&5
    9595 sed 's/^/| /' conftest.$ac_ext >&5
    9596 
    9597         ac_cv_lib_bsd_gettimeofday=no
    9598 fi
    9599 
    9600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9601       conftest$ac_exeext conftest.$ac_ext
     5586  ac_cv_lib_bsd_gettimeofday=no
     5587fi
     5588rm -f core conftest.err conftest.$ac_objext \
     5589    conftest$ac_exeext conftest.$ac_ext
    96025590LIBS=$ac_check_lib_save_LIBS
    96035591fi
    9604 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    9605 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
    9606 if test $ac_cv_lib_bsd_gettimeofday = yes; then
     5592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     5593$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
     5594if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then :
    96075595  libbsd=yes
    96085596else
     
    96125600            if test $libbsd = yes; then
    96135601                MATH_LIBS="$MATH_LIBS -lbsd"
    9614                 cat >>confdefs.h <<\_ACEOF
    9615 #define USE_DELTA_FOR_TZ 1
    9616 _ACEOF
     5602                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    96175603
    96185604            fi
     
    96315617            # is always linked to, for compatibility.
    96325618            #-----------------------------------------------------------
    9633             { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    9634 echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
    9635 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    9636   echo $ECHO_N "(cached) $ECHO_C" >&6
     5619            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     5620$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
     5621if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then :
     5622  $as_echo_n "(cached) " >&6
    96375623else
    96385624  ac_check_lib_save_LIBS=$LIBS
    96395625LIBS="-lbind  $LIBS"
    9640 cat >conftest.$ac_ext <<_ACEOF
    9641 /* confdefs.h.  */
    9642 _ACEOF
    9643 cat confdefs.h >>conftest.$ac_ext
    9644 cat >>conftest.$ac_ext <<_ACEOF
     5626cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    96455627/* end confdefs.h.  */
    96465628
     
    96605642}
    96615643_ACEOF
    9662 rm -f conftest.$ac_objext conftest$ac_exeext
    9663 if { (ac_try="$ac_link"
    9664 case "(($ac_try" in
    9665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9666   *) ac_try_echo=$ac_try;;
    9667 esac
    9668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9669   (eval "$ac_link") 2>conftest.er1
    9670   ac_status=$?
    9671   grep -v '^ *+' conftest.er1 >conftest.err
    9672   rm -f conftest.er1
    9673   cat conftest.err >&5
    9674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9675   (exit $ac_status); } && {
    9676          test -z "$ac_cxx_werror_flag" ||
    9677          test ! -s conftest.err
    9678        } && test -s conftest$ac_exeext &&
    9679        $as_test_x conftest$ac_exeext; then
     5644if ac_fn_cxx_try_link "$LINENO"; then :
    96805645  ac_cv_lib_bind_inet_ntoa=yes
    96815646else
    9682   echo "$as_me: failed program was:" >&5
    9683 sed 's/^/| /' conftest.$ac_ext >&5
    9684 
    9685         ac_cv_lib_bind_inet_ntoa=no
    9686 fi
    9687 
    9688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9689       conftest$ac_exeext conftest.$ac_ext
     5647  ac_cv_lib_bind_inet_ntoa=no
     5648fi
     5649rm -f core conftest.err conftest.$ac_objext \
     5650    conftest$ac_exeext conftest.$ac_ext
    96905651LIBS=$ac_check_lib_save_LIBS
    96915652fi
    9692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    9693 echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
    9694 if test $ac_cv_lib_bind_inet_ntoa = yes; then
     5653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     5654$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
     5655if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then :
    96955656  LIBS="$LIBS -lbind -lsocket"
    96965657fi
     
    97305691        HP-UX-*.11.*)
    97315692            # Use updated header definitions where possible
    9732             cat >>confdefs.h <<\_ACEOF
    9733 #define _XOPEN_SOURCE 1
    9734 _ACEOF
     5693            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    97355694          # Use the XOPEN network library
    9736             cat >>confdefs.h <<\_ACEOF
    9737 #define _XOPEN_SOURCE_EXTENDED 1
    9738 _ACEOF
     5695            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    97395696 # Use the XOPEN network library
    97405697            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    97455702                SHLIB_SUFFIX=".sl"
    97465703            fi
    9747             { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    9748 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    9749 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    9750   echo $ECHO_N "(cached) $ECHO_C" >&6
     5704            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     5705$as_echo_n "checking for shl_load in -ldld... " >&6; }
     5706if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
     5707  $as_echo_n "(cached) " >&6
    97515708else
    97525709  ac_check_lib_save_LIBS=$LIBS
    97535710LIBS="-ldld  $LIBS"
    9754 cat >conftest.$ac_ext <<_ACEOF
    9755 /* confdefs.h.  */
    9756 _ACEOF
    9757 cat confdefs.h >>conftest.$ac_ext
    9758 cat >>conftest.$ac_ext <<_ACEOF
     5711cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    97595712/* end confdefs.h.  */
    97605713
     
    97745727}
    97755728_ACEOF
    9776 rm -f conftest.$ac_objext conftest$ac_exeext
    9777 if { (ac_try="$ac_link"
    9778 case "(($ac_try" in
    9779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9780   *) ac_try_echo=$ac_try;;
    9781 esac
    9782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9783   (eval "$ac_link") 2>conftest.er1
    9784   ac_status=$?
    9785   grep -v '^ *+' conftest.er1 >conftest.err
    9786   rm -f conftest.er1
    9787   cat conftest.err >&5
    9788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9789   (exit $ac_status); } && {
    9790          test -z "$ac_cxx_werror_flag" ||
    9791          test ! -s conftest.err
    9792        } && test -s conftest$ac_exeext &&
    9793        $as_test_x conftest$ac_exeext; then
     5729if ac_fn_cxx_try_link "$LINENO"; then :
    97945730  ac_cv_lib_dld_shl_load=yes
    97955731else
    9796   echo "$as_me: failed program was:" >&5
    9797 sed 's/^/| /' conftest.$ac_ext >&5
    9798 
    9799         ac_cv_lib_dld_shl_load=no
    9800 fi
    9801 
    9802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9803       conftest$ac_exeext conftest.$ac_ext
     5732  ac_cv_lib_dld_shl_load=no
     5733fi
     5734rm -f core conftest.err conftest.$ac_objext \
     5735    conftest$ac_exeext conftest.$ac_ext
    98045736LIBS=$ac_check_lib_save_LIBS
    98055737fi
    9806 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    9807 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
    9808 if test $ac_cv_lib_dld_shl_load = yes; then
     5738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     5739$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     5740if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    98095741  tcl_ok=yes
    98105742else
     
    98465778                            ;;
    98475779                        *)
    9848                             { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    9849 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     5780                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     5781$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    98505782                            ;;
    98515783                    esac
     
    98595791        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    98605792            SHLIB_SUFFIX=".sl"
    9861             { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    9862 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    9863 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    9864   echo $ECHO_N "(cached) $ECHO_C" >&6
     5793            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     5794$as_echo_n "checking for shl_load in -ldld... " >&6; }
     5795if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
     5796  $as_echo_n "(cached) " >&6
    98655797else
    98665798  ac_check_lib_save_LIBS=$LIBS
    98675799LIBS="-ldld  $LIBS"
    9868 cat >conftest.$ac_ext <<_ACEOF
    9869 /* confdefs.h.  */
    9870 _ACEOF
    9871 cat confdefs.h >>conftest.$ac_ext
    9872 cat >>conftest.$ac_ext <<_ACEOF
     5800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    98735801/* end confdefs.h.  */
    98745802
     
    98885816}
    98895817_ACEOF
    9890 rm -f conftest.$ac_objext conftest$ac_exeext
    9891 if { (ac_try="$ac_link"
    9892 case "(($ac_try" in
    9893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9894   *) ac_try_echo=$ac_try;;
    9895 esac
    9896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    9897   (eval "$ac_link") 2>conftest.er1
    9898   ac_status=$?
    9899   grep -v '^ *+' conftest.er1 >conftest.err
    9900   rm -f conftest.er1
    9901   cat conftest.err >&5
    9902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9903   (exit $ac_status); } && {
    9904          test -z "$ac_cxx_werror_flag" ||
    9905          test ! -s conftest.err
    9906        } && test -s conftest$ac_exeext &&
    9907        $as_test_x conftest$ac_exeext; then
     5818if ac_fn_cxx_try_link "$LINENO"; then :
    99085819  ac_cv_lib_dld_shl_load=yes
    99095820else
    9910   echo "$as_me: failed program was:" >&5
    9911 sed 's/^/| /' conftest.$ac_ext >&5
    9912 
    9913         ac_cv_lib_dld_shl_load=no
    9914 fi
    9915 
    9916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    9917       conftest$ac_exeext conftest.$ac_ext
     5821  ac_cv_lib_dld_shl_load=no
     5822fi
     5823rm -f core conftest.err conftest.$ac_objext \
     5824    conftest$ac_exeext conftest.$ac_ext
    99185825LIBS=$ac_check_lib_save_LIBS
    99195826fi
    9920 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    9921 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
    9922 if test $ac_cv_lib_dld_shl_load = yes; then
     5827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     5828$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     5829if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    99235830  tcl_ok=yes
    99245831else
     
    99995906            if test "$do64bit" = "yes" ; then
    100005907                if test "$GCC" = "yes" ; then
    10001                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    10002 echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
     5908                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     5909$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    100035910                else
    100045911                    do64bit_ok=yes
     
    100285935                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    100295936            else
    10030                 if test "${ac_cv_header_dld_h+set}" = set; then
    10031   { echo "$as_me:$LINENO: checking for dld.h" >&5
    10032 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    10033 if test "${ac_cv_header_dld_h+set}" = set; then
    10034   echo $ECHO_N "(cached) $ECHO_C" >&6
    10035 fi
    10036 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10037 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    10038 else
    10039   # Is the header compilable?
    10040 { echo "$as_me:$LINENO: checking dld.h usability" >&5
    10041 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    10042 cat >conftest.$ac_ext <<_ACEOF
    10043 /* confdefs.h.  */
    10044 _ACEOF
    10045 cat confdefs.h >>conftest.$ac_ext
    10046 cat >>conftest.$ac_ext <<_ACEOF
    10047 /* end confdefs.h.  */
    10048 $ac_includes_default
    10049 #include <dld.h>
    10050 _ACEOF
    10051 rm -f conftest.$ac_objext
    10052 if { (ac_try="$ac_compile"
    10053 case "(($ac_try" in
    10054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10055   *) ac_try_echo=$ac_try;;
    10056 esac
    10057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10058   (eval "$ac_compile") 2>conftest.er1
    10059   ac_status=$?
    10060   grep -v '^ *+' conftest.er1 >conftest.err
    10061   rm -f conftest.er1
    10062   cat conftest.err >&5
    10063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10064   (exit $ac_status); } && {
    10065          test -z "$ac_cxx_werror_flag" ||
    10066          test ! -s conftest.err
    10067        } && test -s conftest.$ac_objext; then
    10068   ac_header_compiler=yes
    10069 else
    10070   echo "$as_me: failed program was:" >&5
    10071 sed 's/^/| /' conftest.$ac_ext >&5
    10072 
    10073         ac_header_compiler=no
    10074 fi
    10075 
    10076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10078 echo "${ECHO_T}$ac_header_compiler" >&6; }
    10079 
    10080 # Is the header present?
    10081 { echo "$as_me:$LINENO: checking dld.h presence" >&5
    10082 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    10083 cat >conftest.$ac_ext <<_ACEOF
    10084 /* confdefs.h.  */
    10085 _ACEOF
    10086 cat confdefs.h >>conftest.$ac_ext
    10087 cat >>conftest.$ac_ext <<_ACEOF
    10088 /* end confdefs.h.  */
    10089 #include <dld.h>
    10090 _ACEOF
    10091 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10092 case "(($ac_try" in
    10093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10094   *) ac_try_echo=$ac_try;;
    10095 esac
    10096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10097   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10098   ac_status=$?
    10099   grep -v '^ *+' conftest.er1 >conftest.err
    10100   rm -f conftest.er1
    10101   cat conftest.err >&5
    10102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10103   (exit $ac_status); } >/dev/null && {
    10104          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10105          test ! -s conftest.err
    10106        }; then
    10107   ac_header_preproc=yes
    10108 else
    10109   echo "$as_me: failed program was:" >&5
    10110 sed 's/^/| /' conftest.$ac_ext >&5
    10111 
    10112   ac_header_preproc=no
    10113 fi
    10114 
    10115 rm -f conftest.err conftest.$ac_ext
    10116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10117 echo "${ECHO_T}$ac_header_preproc" >&6; }
    10118 
    10119 # So?  What about this header?
    10120 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10121   yes:no: )
    10122     { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    10123 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10124     { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    10125 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    10126     ac_header_preproc=yes
    10127     ;;
    10128   no:yes:* )
    10129     { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    10130 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    10131     { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    10132 echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    10133     { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    10134 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    10135     { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    10136 echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    10137     { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    10138 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    10139     { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    10140 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    10141     ( cat <<\_ASBOX
    10142 ## ----------------------------------- ##
    10143 ## Report this to rappture@nanohub.org ##
    10144 ## ----------------------------------- ##
    10145 _ASBOX
    10146      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10147     ;;
    10148 esac
    10149 { echo "$as_me:$LINENO: checking for dld.h" >&5
    10150 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    10151 if test "${ac_cv_header_dld_h+set}" = set; then
    10152   echo $ECHO_N "(cached) $ECHO_C" >&6
    10153 else
    10154   ac_cv_header_dld_h=$ac_header_preproc
    10155 fi
    10156 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10157 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    10158 
    10159 fi
    10160 if test $ac_cv_header_dld_h = yes; then
     5937                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     5938if test "x$ac_cv_header_dld_h" = x""yes; then :
    101615939
    101625940                    SHLIB_LD="ld -shared"
     
    101735951            fi
    101745952            if test $do64bit = yes; then
    10175                 { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    10176 echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
    10177 if test "${tcl_cv_cc_m64+set}" = set; then
    10178   echo $ECHO_N "(cached) $ECHO_C" >&6
     5953                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     5954$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
     5955if test "${tcl_cv_cc_m64+set}" = set; then :
     5956  $as_echo_n "(cached) " >&6
    101795957else
    101805958
    101815959                    hold_cflags=$CFLAGS
    101825960                    CFLAGS="$CFLAGS -m64"
    10183                     cat >conftest.$ac_ext <<_ACEOF
    10184 /* confdefs.h.  */
    10185 _ACEOF
    10186 cat confdefs.h >>conftest.$ac_ext
    10187 cat >>conftest.$ac_ext <<_ACEOF
     5961                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    101885962/* end confdefs.h.  */
    101895963
     
    101965970}
    101975971_ACEOF
    10198 rm -f conftest.$ac_objext conftest$ac_exeext
    10199 if { (ac_try="$ac_link"
    10200 case "(($ac_try" in
    10201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10202   *) ac_try_echo=$ac_try;;
    10203 esac
    10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10205   (eval "$ac_link") 2>conftest.er1
    10206   ac_status=$?
    10207   grep -v '^ *+' conftest.er1 >conftest.err
    10208   rm -f conftest.er1
    10209   cat conftest.err >&5
    10210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10211   (exit $ac_status); } && {
    10212          test -z "$ac_cxx_werror_flag" ||
    10213          test ! -s conftest.err
    10214        } && test -s conftest$ac_exeext &&
    10215        $as_test_x conftest$ac_exeext; then
     5972if ac_fn_cxx_try_link "$LINENO"; then :
    102165973  tcl_cv_cc_m64=yes
    102175974else
    10218   echo "$as_me: failed program was:" >&5
    10219 sed 's/^/| /' conftest.$ac_ext >&5
    10220 
    10221         tcl_cv_cc_m64=no
    10222 fi
    10223 
    10224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10225       conftest$ac_exeext conftest.$ac_ext
     5975  tcl_cv_cc_m64=no
     5976fi
     5977rm -f core conftest.err conftest.$ac_objext \
     5978    conftest$ac_exeext conftest.$ac_ext
    102265979                    CFLAGS=$hold_cflags
    102275980fi
    10228 { echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    10229 echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
     5981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     5982$as_echo "$tcl_cv_cc_m64" >&6; }
    102305983                if test $tcl_cv_cc_m64 = yes; then
    102315984                    CFLAGS="$CFLAGS -m64"
     
    102465999
    102476000            # XIM peeking works under XFree86.
    10248             cat >>confdefs.h <<\_ACEOF
    10249 #define PEEK_XCLOSEIM 1
    10250 _ACEOF
     6001            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    102516002
    102526003
     
    102656016                LD_SEARCH_FLAGS=""
    102666017            else
    10267                 if test "${ac_cv_header_dld_h+set}" = set; then
    10268   { echo "$as_me:$LINENO: checking for dld.h" >&5
    10269 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    10270 if test "${ac_cv_header_dld_h+set}" = set; then
    10271   echo $ECHO_N "(cached) $ECHO_C" >&6
    10272 fi
    10273 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10274 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    10275 else
    10276   # Is the header compilable?
    10277 { echo "$as_me:$LINENO: checking dld.h usability" >&5
    10278 echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    10279 cat >conftest.$ac_ext <<_ACEOF
    10280 /* confdefs.h.  */
    10281 _ACEOF
    10282 cat confdefs.h >>conftest.$ac_ext
    10283 cat >>conftest.$ac_ext <<_ACEOF
    10284 /* end confdefs.h.  */
    10285 $ac_includes_default
    10286 #include <dld.h>
    10287 _ACEOF
    10288 rm -f conftest.$ac_objext
    10289 if { (ac_try="$ac_compile"
    10290 case "(($ac_try" in
    10291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10292   *) ac_try_echo=$ac_try;;
    10293 esac
    10294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10295   (eval "$ac_compile") 2>conftest.er1
    10296   ac_status=$?
    10297   grep -v '^ *+' conftest.er1 >conftest.err
    10298   rm -f conftest.er1
    10299   cat conftest.err >&5
    10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10301   (exit $ac_status); } && {
    10302          test -z "$ac_cxx_werror_flag" ||
    10303          test ! -s conftest.err
    10304        } && test -s conftest.$ac_objext; then
    10305   ac_header_compiler=yes
    10306 else
    10307   echo "$as_me: failed program was:" >&5
    10308 sed 's/^/| /' conftest.$ac_ext >&5
    10309 
    10310         ac_header_compiler=no
    10311 fi
    10312 
    10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10314 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10315 echo "${ECHO_T}$ac_header_compiler" >&6; }
    10316 
    10317 # Is the header present?
    10318 { echo "$as_me:$LINENO: checking dld.h presence" >&5
    10319 echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    10320 cat >conftest.$ac_ext <<_ACEOF
    10321 /* confdefs.h.  */
    10322 _ACEOF
    10323 cat confdefs.h >>conftest.$ac_ext
    10324 cat >>conftest.$ac_ext <<_ACEOF
    10325 /* end confdefs.h.  */
    10326 #include <dld.h>
    10327 _ACEOF
    10328 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10329 case "(($ac_try" in
    10330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10331   *) ac_try_echo=$ac_try;;
    10332 esac
    10333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10334   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10335   ac_status=$?
    10336   grep -v '^ *+' conftest.er1 >conftest.err
    10337   rm -f conftest.er1
    10338   cat conftest.err >&5
    10339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10340   (exit $ac_status); } >/dev/null && {
    10341          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10342          test ! -s conftest.err
    10343        }; then
    10344   ac_header_preproc=yes
    10345 else
    10346   echo "$as_me: failed program was:" >&5
    10347 sed 's/^/| /' conftest.$ac_ext >&5
    10348 
    10349   ac_header_preproc=no
    10350 fi
    10351 
    10352 rm -f conftest.err conftest.$ac_ext
    10353 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10354 echo "${ECHO_T}$ac_header_preproc" >&6; }
    10355 
    10356 # So?  What about this header?
    10357 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10358   yes:no: )
    10359     { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    10360 echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10361     { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    10362 echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    10363     ac_header_preproc=yes
    10364     ;;
    10365   no:yes:* )
    10366     { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    10367 echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    10368     { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    10369 echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    10370     { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    10371 echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    10372     { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    10373 echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    10374     { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    10375 echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    10376     { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    10377 echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    10378     ( cat <<\_ASBOX
    10379 ## ----------------------------------- ##
    10380 ## Report this to rappture@nanohub.org ##
    10381 ## ----------------------------------- ##
    10382 _ASBOX
    10383      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10384     ;;
    10385 esac
    10386 { echo "$as_me:$LINENO: checking for dld.h" >&5
    10387 echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    10388 if test "${ac_cv_header_dld_h+set}" = set; then
    10389   echo $ECHO_N "(cached) $ECHO_C" >&6
    10390 else
    10391   ac_cv_header_dld_h=$ac_header_preproc
    10392 fi
    10393 { echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    10394 echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    10395 
    10396 fi
    10397 if test $ac_cv_header_dld_h = yes; then
     6018                ac_fn_cxx_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     6019if test "x$ac_cv_header_dld_h" = x""yes; then :
    103986020
    103996021                    SHLIB_LD="ld -shared"
     
    104456067        NetBSD-*|FreeBSD-[1-2].*)
    104466068            # Not available on all versions:  check for include file.
    10447             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    10448   { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    10449 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    10450 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    10451   echo $ECHO_N "(cached) $ECHO_C" >&6
    10452 fi
    10453 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    10454 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
    10455 else
    10456   # Is the header compilable?
    10457 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    10458 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
    10459 cat >conftest.$ac_ext <<_ACEOF
    10460 /* confdefs.h.  */
    10461 _ACEOF
    10462 cat confdefs.h >>conftest.$ac_ext
    10463 cat >>conftest.$ac_ext <<_ACEOF
    10464 /* end confdefs.h.  */
    10465 $ac_includes_default
    10466 #include <dlfcn.h>
    10467 _ACEOF
    10468 rm -f conftest.$ac_objext
    10469 if { (ac_try="$ac_compile"
    10470 case "(($ac_try" in
    10471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10472   *) ac_try_echo=$ac_try;;
    10473 esac
    10474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10475   (eval "$ac_compile") 2>conftest.er1
    10476   ac_status=$?
    10477   grep -v '^ *+' conftest.er1 >conftest.err
    10478   rm -f conftest.er1
    10479   cat conftest.err >&5
    10480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10481   (exit $ac_status); } && {
    10482          test -z "$ac_cxx_werror_flag" ||
    10483          test ! -s conftest.err
    10484        } && test -s conftest.$ac_objext; then
    10485   ac_header_compiler=yes
    10486 else
    10487   echo "$as_me: failed program was:" >&5
    10488 sed 's/^/| /' conftest.$ac_ext >&5
    10489 
    10490         ac_header_compiler=no
    10491 fi
    10492 
    10493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10494 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10495 echo "${ECHO_T}$ac_header_compiler" >&6; }
    10496 
    10497 # Is the header present?
    10498 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    10499 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
    10500 cat >conftest.$ac_ext <<_ACEOF
    10501 /* confdefs.h.  */
    10502 _ACEOF
    10503 cat confdefs.h >>conftest.$ac_ext
    10504 cat >>conftest.$ac_ext <<_ACEOF
    10505 /* end confdefs.h.  */
    10506 #include <dlfcn.h>
    10507 _ACEOF
    10508 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10509 case "(($ac_try" in
    10510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10511   *) ac_try_echo=$ac_try;;
    10512 esac
    10513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10514   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10515   ac_status=$?
    10516   grep -v '^ *+' conftest.er1 >conftest.err
    10517   rm -f conftest.er1
    10518   cat conftest.err >&5
    10519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10520   (exit $ac_status); } >/dev/null && {
    10521          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10522          test ! -s conftest.err
    10523        }; then
    10524   ac_header_preproc=yes
    10525 else
    10526   echo "$as_me: failed program was:" >&5
    10527 sed 's/^/| /' conftest.$ac_ext >&5
    10528 
    10529   ac_header_preproc=no
    10530 fi
    10531 
    10532 rm -f conftest.err conftest.$ac_ext
    10533 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10534 echo "${ECHO_T}$ac_header_preproc" >&6; }
    10535 
    10536 # So?  What about this header?
    10537 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10538   yes:no: )
    10539     { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    10540 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10541     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    10542 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    10543     ac_header_preproc=yes
    10544     ;;
    10545   no:yes:* )
    10546     { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    10547 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    10548     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    10549 echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    10550     { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    10551 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    10552     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    10553 echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    10554     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    10555 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    10556     { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    10557 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    10558     ( cat <<\_ASBOX
    10559 ## ----------------------------------- ##
    10560 ## Report this to rappture@nanohub.org ##
    10561 ## ----------------------------------- ##
    10562 _ASBOX
    10563      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10564     ;;
    10565 esac
    10566 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    10567 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    10568 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    10569   echo $ECHO_N "(cached) $ECHO_C" >&6
    10570 else
    10571   ac_cv_header_dlfcn_h=$ac_header_preproc
    10572 fi
    10573 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    10574 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
    10575 
    10576 fi
    10577 if test $ac_cv_header_dlfcn_h = yes; then
     6069            ac_fn_cxx_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     6070if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
    105786071
    105796072                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    105866079                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    105876080                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    10588                 { echo "$as_me:$LINENO: checking for ELF" >&5
    10589 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    10590 if test "${tcl_cv_ld_elf+set}" = set; then
    10591   echo $ECHO_N "(cached) $ECHO_C" >&6
    10592 else
    10593 
    10594                     cat >conftest.$ac_ext <<_ACEOF
    10595 /* confdefs.h.  */
    10596 _ACEOF
    10597 cat confdefs.h >>conftest.$ac_ext
    10598 cat >>conftest.$ac_ext <<_ACEOF
     6081                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     6082$as_echo_n "checking for ELF... " >&6; }
     6083if test "${tcl_cv_ld_elf+set}" = set; then :
     6084  $as_echo_n "(cached) " >&6
     6085else
     6086
     6087                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    105996088/* end confdefs.h.  */
    106006089
     
    106056094_ACEOF
    106066095if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    10607   $EGREP "yes" >/dev/null 2>&1; then
     6096  $EGREP "yes" >/dev/null 2>&1; then :
    106086097  tcl_cv_ld_elf=yes
    106096098else
     
    106136102
    106146103fi
    10615 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    10616 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
     6104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     6105$as_echo "$tcl_cv_ld_elf" >&6; }
    106176106                if test $tcl_cv_ld_elf = yes; then
    106186107                    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
     
    106726161                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    106736162                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    10674                 { echo "$as_me:$LINENO: checking for ELF" >&5
    10675 echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    10676 if test "${tcl_cv_ld_elf+set}" = set; then
    10677   echo $ECHO_N "(cached) $ECHO_C" >&6
    10678 else
    10679 
    10680                     cat >conftest.$ac_ext <<_ACEOF
    10681 /* confdefs.h.  */
    10682 _ACEOF
    10683 cat confdefs.h >>conftest.$ac_ext
    10684 cat >>conftest.$ac_ext <<_ACEOF
     6163                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     6164$as_echo_n "checking for ELF... " >&6; }
     6165if test "${tcl_cv_ld_elf+set}" = set; then :
     6166  $as_echo_n "(cached) " >&6
     6167else
     6168
     6169                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    106856170/* end confdefs.h.  */
    106866171
     
    106916176_ACEOF
    106926177if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    10693   $EGREP "yes" >/dev/null 2>&1; then
     6178  $EGREP "yes" >/dev/null 2>&1; then :
    106946179  tcl_cv_ld_elf=yes
    106956180else
     
    106996184
    107006185fi
    10701 { echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    10702 echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
     6186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     6187$as_echo "$tcl_cv_ld_elf" >&6; }
    107036188                if test $tcl_cv_ld_elf = yes; then
    107046189                    LDFLAGS=-Wl,-export-dynamic
     
    107546239                case `arch` in
    107556240                    ppc)
    10756                         { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    10757 echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
    10758 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    10759   echo $ECHO_N "(cached) $ECHO_C" >&6
     6241                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     6242$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
     6243if test "${tcl_cv_cc_arch_ppc64+set}" = set; then :
     6244  $as_echo_n "(cached) " >&6
    107606245else
    107616246
    107626247                            hold_cflags=$CFLAGS
    107636248                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    10764                             cat >conftest.$ac_ext <<_ACEOF
    10765 /* confdefs.h.  */
    10766 _ACEOF
    10767 cat confdefs.h >>conftest.$ac_ext
    10768 cat >>conftest.$ac_ext <<_ACEOF
     6249                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    107696250/* end confdefs.h.  */
    107706251
     
    107776258}
    107786259_ACEOF
    10779 rm -f conftest.$ac_objext conftest$ac_exeext
    10780 if { (ac_try="$ac_link"
    10781 case "(($ac_try" in
    10782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10783   *) ac_try_echo=$ac_try;;
    10784 esac
    10785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10786   (eval "$ac_link") 2>conftest.er1
    10787   ac_status=$?
    10788   grep -v '^ *+' conftest.er1 >conftest.err
    10789   rm -f conftest.er1
    10790   cat conftest.err >&5
    10791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10792   (exit $ac_status); } && {
    10793          test -z "$ac_cxx_werror_flag" ||
    10794          test ! -s conftest.err
    10795        } && test -s conftest$ac_exeext &&
    10796        $as_test_x conftest$ac_exeext; then
     6260if ac_fn_cxx_try_link "$LINENO"; then :
    107976261  tcl_cv_cc_arch_ppc64=yes
    107986262else
    10799   echo "$as_me: failed program was:" >&5
    10800 sed 's/^/| /' conftest.$ac_ext >&5
    10801 
    10802         tcl_cv_cc_arch_ppc64=no
    10803 fi
    10804 
    10805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10806       conftest$ac_exeext conftest.$ac_ext
     6263  tcl_cv_cc_arch_ppc64=no
     6264fi
     6265rm -f core conftest.err conftest.$ac_objext \
     6266    conftest$ac_exeext conftest.$ac_ext
    108076267                            CFLAGS=$hold_cflags
    108086268fi
    10809 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    10810 echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
     6269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     6270$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    108116271                        if test $tcl_cv_cc_arch_ppc64 = yes; then
    108126272                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
     
    108146274                        fi;;
    108156275                    i386)
    10816                         { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    10817 echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
    10818 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    10819   echo $ECHO_N "(cached) $ECHO_C" >&6
     6276                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     6277$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
     6278if test "${tcl_cv_cc_arch_x86_64+set}" = set; then :
     6279  $as_echo_n "(cached) " >&6
    108206280else
    108216281
    108226282                            hold_cflags=$CFLAGS
    108236283                            CFLAGS="$CFLAGS -arch x86_64"
    10824                             cat >conftest.$ac_ext <<_ACEOF
    10825 /* confdefs.h.  */
    10826 _ACEOF
    10827 cat confdefs.h >>conftest.$ac_ext
    10828 cat >>conftest.$ac_ext <<_ACEOF
     6284                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108296285/* end confdefs.h.  */
    108306286
     
    108376293}
    108386294_ACEOF
    10839 rm -f conftest.$ac_objext conftest$ac_exeext
    10840 if { (ac_try="$ac_link"
    10841 case "(($ac_try" in
    10842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10843   *) ac_try_echo=$ac_try;;
    10844 esac
    10845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10846   (eval "$ac_link") 2>conftest.er1
    10847   ac_status=$?
    10848   grep -v '^ *+' conftest.er1 >conftest.err
    10849   rm -f conftest.er1
    10850   cat conftest.err >&5
    10851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10852   (exit $ac_status); } && {
    10853          test -z "$ac_cxx_werror_flag" ||
    10854          test ! -s conftest.err
    10855        } && test -s conftest$ac_exeext &&
    10856        $as_test_x conftest$ac_exeext; then
     6295if ac_fn_cxx_try_link "$LINENO"; then :
    108576296  tcl_cv_cc_arch_x86_64=yes
    108586297else
    10859   echo "$as_me: failed program was:" >&5
    10860 sed 's/^/| /' conftest.$ac_ext >&5
    10861 
    10862         tcl_cv_cc_arch_x86_64=no
    10863 fi
    10864 
    10865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10866       conftest$ac_exeext conftest.$ac_ext
     6298  tcl_cv_cc_arch_x86_64=no
     6299fi
     6300rm -f core conftest.err conftest.$ac_objext \
     6301    conftest$ac_exeext conftest.$ac_ext
    108676302                            CFLAGS=$hold_cflags
    108686303fi
    10869 { echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    10870 echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
     6304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     6305$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    108716306                        if test $tcl_cv_cc_arch_x86_64 = yes; then
    108726307                            CFLAGS="$CFLAGS -arch x86_64"
     
    108746309                        fi;;
    108756310                    *)
    10876                         { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    10877 echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
     6311                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     6312$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    108786313                esac
    108796314            else
     
    108846319            fi
    108856320            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    10886             { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    10887 echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
    10888 if test "${tcl_cv_ld_single_module+set}" = set; then
    10889   echo $ECHO_N "(cached) $ECHO_C" >&6
     6321            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     6322$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
     6323if test "${tcl_cv_ld_single_module+set}" = set; then :
     6324  $as_echo_n "(cached) " >&6
    108906325else
    108916326
    108926327                hold_ldflags=$LDFLAGS
    108936328                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    10894                 cat >conftest.$ac_ext <<_ACEOF
    10895 /* confdefs.h.  */
    10896 _ACEOF
    10897 cat confdefs.h >>conftest.$ac_ext
    10898 cat >>conftest.$ac_ext <<_ACEOF
     6329                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108996330/* end confdefs.h.  */
    109006331
     
    109076338}
    109086339_ACEOF
    10909 rm -f conftest.$ac_objext conftest$ac_exeext
    10910 if { (ac_try="$ac_link"
    10911 case "(($ac_try" in
    10912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10913   *) ac_try_echo=$ac_try;;
    10914 esac
    10915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10916   (eval "$ac_link") 2>conftest.er1
    10917   ac_status=$?
    10918   grep -v '^ *+' conftest.er1 >conftest.err
    10919   rm -f conftest.er1
    10920   cat conftest.err >&5
    10921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10922   (exit $ac_status); } && {
    10923          test -z "$ac_cxx_werror_flag" ||
    10924          test ! -s conftest.err
    10925        } && test -s conftest$ac_exeext &&
    10926        $as_test_x conftest$ac_exeext; then
     6340if ac_fn_cxx_try_link "$LINENO"; then :
    109276341  tcl_cv_ld_single_module=yes
    109286342else
    10929   echo "$as_me: failed program was:" >&5
    10930 sed 's/^/| /' conftest.$ac_ext >&5
    10931 
    10932         tcl_cv_ld_single_module=no
    10933 fi
    10934 
    10935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10936       conftest$ac_exeext conftest.$ac_ext
     6343  tcl_cv_ld_single_module=no
     6344fi
     6345rm -f core conftest.err conftest.$ac_objext \
     6346    conftest$ac_exeext conftest.$ac_ext
    109376347                LDFLAGS=$hold_ldflags
    109386348fi
    10939 { echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    10940 echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
     6349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     6350$as_echo "$tcl_cv_ld_single_module" >&6; }
    109416351            if test $tcl_cv_ld_single_module = yes; then
    109426352                SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
     
    109516361                LDFLAGS="$LDFLAGS -prebind"
    109526362            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    10953             { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    10954 echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
    10955 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    10956   echo $ECHO_N "(cached) $ECHO_C" >&6
     6363            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     6364$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
     6365if test "${tcl_cv_ld_search_paths_first+set}" = set; then :
     6366  $as_echo_n "(cached) " >&6
    109576367else
    109586368
    109596369                hold_ldflags=$LDFLAGS
    109606370                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    10961                 cat >conftest.$ac_ext <<_ACEOF
    10962 /* confdefs.h.  */
    10963 _ACEOF
    10964 cat confdefs.h >>conftest.$ac_ext
    10965 cat >>conftest.$ac_ext <<_ACEOF
     6371                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    109666372/* end confdefs.h.  */
    109676373
     
    109746380}
    109756381_ACEOF
    10976 rm -f conftest.$ac_objext conftest$ac_exeext
    10977 if { (ac_try="$ac_link"
    10978 case "(($ac_try" in
    10979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10980   *) ac_try_echo=$ac_try;;
    10981 esac
    10982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    10983   (eval "$ac_link") 2>conftest.er1
    10984   ac_status=$?
    10985   grep -v '^ *+' conftest.er1 >conftest.err
    10986   rm -f conftest.er1
    10987   cat conftest.err >&5
    10988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10989   (exit $ac_status); } && {
    10990          test -z "$ac_cxx_werror_flag" ||
    10991          test ! -s conftest.err
    10992        } && test -s conftest$ac_exeext &&
    10993        $as_test_x conftest$ac_exeext; then
     6382if ac_fn_cxx_try_link "$LINENO"; then :
    109946383  tcl_cv_ld_search_paths_first=yes
    109956384else
    10996   echo "$as_me: failed program was:" >&5
    10997 sed 's/^/| /' conftest.$ac_ext >&5
    10998 
    10999         tcl_cv_ld_search_paths_first=no
    11000 fi
    11001 
    11002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11003       conftest$ac_exeext conftest.$ac_ext
     6385  tcl_cv_ld_search_paths_first=no
     6386fi
     6387rm -f core conftest.err conftest.$ac_objext \
     6388    conftest$ac_exeext conftest.$ac_ext
    110046389                LDFLAGS=$hold_ldflags
    110056390fi
    11006 { echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    11007 echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
     6391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     6392$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    110086393            if test $tcl_cv_ld_search_paths_first = yes; then
    110096394                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
     
    110146399            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    110156400            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    11016             { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    11017 echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
     6401            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     6402$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    110186403            # Check whether --enable-corefoundation was given.
    11019 if test "${enable_corefoundation+set}" = set; then
     6404if test "${enable_corefoundation+set}" = set; then :
    110206405  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    110216406else
     
    110236408fi
    110246409
    11025             { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    11026 echo "${ECHO_T}$tcl_corefoundation" >&6; }
     6410            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     6411$as_echo "$tcl_corefoundation" >&6; }
    110276412            if test $tcl_corefoundation = yes; then
    11028                 { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    11029 echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
    11030 if test "${tcl_cv_lib_corefoundation+set}" = set; then
    11031   echo $ECHO_N "(cached) $ECHO_C" >&6
     6413                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     6414$as_echo_n "checking for CoreFoundation.framework... " >&6; }
     6415if test "${tcl_cv_lib_corefoundation+set}" = set; then :
     6416  $as_echo_n "(cached) " >&6
    110326417else
    110336418
     
    110406425                    done; fi
    110416426                    LIBS="$LIBS -framework CoreFoundation"
    11042                     cat >conftest.$ac_ext <<_ACEOF
    11043 /* confdefs.h.  */
    11044 _ACEOF
    11045 cat confdefs.h >>conftest.$ac_ext
    11046 cat >>conftest.$ac_ext <<_ACEOF
     6427                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    110476428/* end confdefs.h.  */
    110486429#include <CoreFoundation/CoreFoundation.h>
     
    110556436}
    110566437_ACEOF
    11057 rm -f conftest.$ac_objext conftest$ac_exeext
    11058 if { (ac_try="$ac_link"
    11059 case "(($ac_try" in
    11060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11061   *) ac_try_echo=$ac_try;;
    11062 esac
    11063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11064   (eval "$ac_link") 2>conftest.er1
    11065   ac_status=$?
    11066   grep -v '^ *+' conftest.er1 >conftest.err
    11067   rm -f conftest.er1
    11068   cat conftest.err >&5
    11069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11070   (exit $ac_status); } && {
    11071          test -z "$ac_cxx_werror_flag" ||
    11072          test ! -s conftest.err
    11073        } && test -s conftest$ac_exeext &&
    11074        $as_test_x conftest$ac_exeext; then
     6438if ac_fn_cxx_try_link "$LINENO"; then :
    110756439  tcl_cv_lib_corefoundation=yes
    110766440else
    11077   echo "$as_me: failed program was:" >&5
    11078 sed 's/^/| /' conftest.$ac_ext >&5
    11079 
    11080         tcl_cv_lib_corefoundation=no
    11081 fi
    11082 
    11083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11084       conftest$ac_exeext conftest.$ac_ext
     6441  tcl_cv_lib_corefoundation=no
     6442fi
     6443rm -f core conftest.err conftest.$ac_objext \
     6444    conftest$ac_exeext conftest.$ac_ext
    110856445                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    110866446                        eval $v'="$hold_'$v'"'
    110876447                    done; fi; LIBS=$hold_libs
    110886448fi
    11089 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    11090 echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
     6449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     6450$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    110916451                if test $tcl_cv_lib_corefoundation = yes; then
    110926452                    LIBS="$LIBS -framework CoreFoundation"
    11093                     cat >>confdefs.h <<\_ACEOF
    11094 #define HAVE_COREFOUNDATION 1
    11095 _ACEOF
     6453                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    110966454
    110976455                else
     
    110996457                fi
    111006458                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    11101                     { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    11102 echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
    11103 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    11104   echo $ECHO_N "(cached) $ECHO_C" >&6
     6459                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     6460$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
     6461if test "${tcl_cv_lib_corefoundation_64+set}" = set; then :
     6462  $as_echo_n "(cached) " >&6
    111056463else
    111066464
     
    111086466                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    111096467                        done
    11110                         cat >conftest.$ac_ext <<_ACEOF
    11111 /* confdefs.h.  */
    11112 _ACEOF
    11113 cat confdefs.h >>conftest.$ac_ext
    11114 cat >>conftest.$ac_ext <<_ACEOF
     6468                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    111156469/* end confdefs.h.  */
    111166470#include <CoreFoundation/CoreFoundation.h>
     
    111236477}
    111246478_ACEOF
    11125 rm -f conftest.$ac_objext conftest$ac_exeext
    11126 if { (ac_try="$ac_link"
    11127 case "(($ac_try" in
    11128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11129   *) ac_try_echo=$ac_try;;
    11130 esac
    11131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11132   (eval "$ac_link") 2>conftest.er1
    11133   ac_status=$?
    11134   grep -v '^ *+' conftest.er1 >conftest.err
    11135   rm -f conftest.er1
    11136   cat conftest.err >&5
    11137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11138   (exit $ac_status); } && {
    11139          test -z "$ac_cxx_werror_flag" ||
    11140          test ! -s conftest.err
    11141        } && test -s conftest$ac_exeext &&
    11142        $as_test_x conftest$ac_exeext; then
     6479if ac_fn_cxx_try_link "$LINENO"; then :
    111436480  tcl_cv_lib_corefoundation_64=yes
    111446481else
    11145   echo "$as_me: failed program was:" >&5
    11146 sed 's/^/| /' conftest.$ac_ext >&5
    11147 
    11148         tcl_cv_lib_corefoundation_64=no
    11149 fi
    11150 
    11151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11152       conftest$ac_exeext conftest.$ac_ext
     6482  tcl_cv_lib_corefoundation_64=no
     6483fi
     6484rm -f core conftest.err conftest.$ac_objext \
     6485    conftest$ac_exeext conftest.$ac_ext
    111536486                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    111546487                            eval $v'="$hold_'$v'"'
    111556488                        done
    111566489fi
    11157 { echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    11158 echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
     6490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     6491$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    111596492                    if test $tcl_cv_lib_corefoundation_64 = no; then
    11160                         cat >>confdefs.h <<\_ACEOF
    11161 #define NO_COREFOUNDATION_64 1
    11162 _ACEOF
     6493                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    111636494
    111646495                    fi
    111656496                fi
    111666497            fi
    11167             cat >>confdefs.h <<\_ACEOF
    11168 #define MAC_OSX_TCL 1
    11169 _ACEOF
     6498            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    111706499
    111716500            ;;
     
    111826511        OS/390-*)
    111836512            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    11184             cat >>confdefs.h <<\_ACEOF
    11185 #define _OE_SOCKETS 1
    11186 _ACEOF
     6513            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    111876514        # needed in sys/socket.h
    111886515            ;;
     
    113256652            # won't define thread-safe library routines.
    113266653
    11327             cat >>confdefs.h <<\_ACEOF
    11328 #define _REENTRANT 1
    11329 _ACEOF
    11330 
    11331             cat >>confdefs.h <<\_ACEOF
    11332 #define _POSIX_PTHREAD_SEMANTICS 1
    11333 _ACEOF
     6654            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6655
     6656            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    113346657
    113356658
     
    113576680            # won't define thread-safe library routines.
    113586681
    11359             cat >>confdefs.h <<\_ACEOF
    11360 #define _REENTRANT 1
    11361 _ACEOF
    11362 
    11363             cat >>confdefs.h <<\_ACEOF
    11364 #define _POSIX_PTHREAD_SEMANTICS 1
    11365 _ACEOF
     6682            $as_echo "#define _REENTRANT 1" >>confdefs.h
     6683
     6684            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    113666685
    113676686
     
    113746693                        if test "$GCC" = "yes" ; then
    113756694                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    11376                                 { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    11377 echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
     6695                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     6696$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    113786697                            else
    113796698                                do64bit_ok=yes
     
    113966715                elif test "$arch" = "amd64 i386" ; then
    113976716                    if test "$GCC" = "yes" ; then
    11398                         { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    11399 echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     6717                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     6718$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    114006719                    else
    114016720                        do64bit_ok=yes
     
    114046723                    fi
    114056724                else
    11406                     { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    11407 echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
     6725                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     6726$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    114086727                fi
    114096728            fi
     
    114636782            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    114646783            # that don't grok the -Bexport option.  Test that it does.
    11465             { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    11466 echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
    11467 if test "${tcl_cv_ld_Bexport+set}" = set; then
    11468   echo $ECHO_N "(cached) $ECHO_C" >&6
     6784            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     6785$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
     6786if test "${tcl_cv_ld_Bexport+set}" = set; then :
     6787  $as_echo_n "(cached) " >&6
    114696788else
    114706789
    114716790                hold_ldflags=$LDFLAGS
    114726791                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    11473                 cat >conftest.$ac_ext <<_ACEOF
    11474 /* confdefs.h.  */
    11475 _ACEOF
    11476 cat confdefs.h >>conftest.$ac_ext
    11477 cat >>conftest.$ac_ext <<_ACEOF
     6792                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    114786793/* end confdefs.h.  */
    114796794
     
    114866801}
    114876802_ACEOF
    11488 rm -f conftest.$ac_objext conftest$ac_exeext
    11489 if { (ac_try="$ac_link"
    11490 case "(($ac_try" in
    11491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11492   *) ac_try_echo=$ac_try;;
    11493 esac
    11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11495   (eval "$ac_link") 2>conftest.er1
    11496   ac_status=$?
    11497   grep -v '^ *+' conftest.er1 >conftest.err
    11498   rm -f conftest.er1
    11499   cat conftest.err >&5
    11500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11501   (exit $ac_status); } && {
    11502          test -z "$ac_cxx_werror_flag" ||
    11503          test ! -s conftest.err
    11504        } && test -s conftest$ac_exeext &&
    11505        $as_test_x conftest$ac_exeext; then
     6803if ac_fn_cxx_try_link "$LINENO"; then :
    115066804  tcl_cv_ld_Bexport=yes
    115076805else
    11508   echo "$as_me: failed program was:" >&5
    11509 sed 's/^/| /' conftest.$ac_ext >&5
    11510 
    11511         tcl_cv_ld_Bexport=no
    11512 fi
    11513 
    11514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    11515       conftest$ac_exeext conftest.$ac_ext
     6806  tcl_cv_ld_Bexport=no
     6807fi
     6808rm -f core conftest.err conftest.$ac_objext \
     6809    conftest$ac_exeext conftest.$ac_ext
    115166810                LDFLAGS=$hold_ldflags
    115176811fi
    11518 { echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    11519 echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
     6812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     6813$as_echo "$tcl_cv_ld_Bexport" >&6; }
    115206814            if test $tcl_cv_ld_Bexport = yes; then
    115216815                LDFLAGS="$LDFLAGS -Wl,-Bexport"
     
    115276821
    115286822    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    11529         { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    11530 echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
     6823        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     6824$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    115316825    fi
    115326826
     
    115546848
    115556849    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    11556         { echo "$as_me:$LINENO: checking sys/exec.h" >&5
    11557 echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; }
    11558 if test "${tcl_cv_sysexec_h+set}" = set; then
    11559   echo $ECHO_N "(cached) $ECHO_C" >&6
    11560 else
    11561 
    11562         cat >conftest.$ac_ext <<_ACEOF
    11563 /* confdefs.h.  */
    11564 _ACEOF
    11565 cat confdefs.h >>conftest.$ac_ext
    11566 cat >>conftest.$ac_ext <<_ACEOF
     6850        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     6851$as_echo_n "checking sys/exec.h... " >&6; }
     6852if test "${tcl_cv_sysexec_h+set}" = set; then :
     6853  $as_echo_n "(cached) " >&6
     6854else
     6855
     6856        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    115676857/* end confdefs.h.  */
    115686858#include <sys/exec.h>
     
    115866876}
    115876877_ACEOF
    11588 rm -f conftest.$ac_objext
    11589 if { (ac_try="$ac_compile"
    11590 case "(($ac_try" in
    11591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11592   *) ac_try_echo=$ac_try;;
    11593 esac
    11594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11595   (eval "$ac_compile") 2>conftest.er1
    11596   ac_status=$?
    11597   grep -v '^ *+' conftest.er1 >conftest.err
    11598   rm -f conftest.er1
    11599   cat conftest.err >&5
    11600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11601   (exit $ac_status); } && {
    11602          test -z "$ac_cxx_werror_flag" ||
    11603          test ! -s conftest.err
    11604        } && test -s conftest.$ac_objext; then
     6878if ac_fn_cxx_try_compile "$LINENO"; then :
    116056879  tcl_cv_sysexec_h=usable
    116066880else
    11607   echo "$as_me: failed program was:" >&5
    11608 sed 's/^/| /' conftest.$ac_ext >&5
    11609 
    11610         tcl_cv_sysexec_h=unusable
    11611 fi
    11612 
     6881  tcl_cv_sysexec_h=unusable
     6882fi
    116136883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116146884fi
    11615 { echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    11616 echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }
     6885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     6886$as_echo "$tcl_cv_sysexec_h" >&6; }
    116176887        if test $tcl_cv_sysexec_h = usable; then
    11618             cat >>confdefs.h <<\_ACEOF
    11619 #define USE_SYS_EXEC_H 1
    11620 _ACEOF
     6888            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    116216889
    116226890        else
    11623             { echo "$as_me:$LINENO: checking a.out.h" >&5
    11624 echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; }
    11625 if test "${tcl_cv_aout_h+set}" = set; then
    11626   echo $ECHO_N "(cached) $ECHO_C" >&6
    11627 else
    11628 
    11629             cat >conftest.$ac_ext <<_ACEOF
    11630 /* confdefs.h.  */
    11631 _ACEOF
    11632 cat confdefs.h >>conftest.$ac_ext
    11633 cat >>conftest.$ac_ext <<_ACEOF
     6891            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     6892$as_echo_n "checking a.out.h... " >&6; }
     6893if test "${tcl_cv_aout_h+set}" = set; then :
     6894  $as_echo_n "(cached) " >&6
     6895else
     6896
     6897            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    116346898/* end confdefs.h.  */
    116356899#include <a.out.h>
     
    116536917}
    116546918_ACEOF
    11655 rm -f conftest.$ac_objext
    11656 if { (ac_try="$ac_compile"
    11657 case "(($ac_try" in
    11658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11659   *) ac_try_echo=$ac_try;;
    11660 esac
    11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11662   (eval "$ac_compile") 2>conftest.er1
    11663   ac_status=$?
    11664   grep -v '^ *+' conftest.er1 >conftest.err
    11665   rm -f conftest.er1
    11666   cat conftest.err >&5
    11667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11668   (exit $ac_status); } && {
    11669          test -z "$ac_cxx_werror_flag" ||
    11670          test ! -s conftest.err
    11671        } && test -s conftest.$ac_objext; then
     6919if ac_fn_cxx_try_compile "$LINENO"; then :
    116726920  tcl_cv_aout_h=usable
    116736921else
    11674   echo "$as_me: failed program was:" >&5
    11675 sed 's/^/| /' conftest.$ac_ext >&5
    11676 
    11677         tcl_cv_aout_h=unusable
    11678 fi
    11679 
     6922  tcl_cv_aout_h=unusable
     6923fi
    116806924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    116816925fi
    11682 { echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    11683 echo "${ECHO_T}$tcl_cv_aout_h" >&6; }
     6926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     6927$as_echo "$tcl_cv_aout_h" >&6; }
    116846928            if test $tcl_cv_aout_h = usable; then
    11685                 cat >>confdefs.h <<\_ACEOF
    11686 #define USE_A_OUT_H 1
    11687 _ACEOF
     6929                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    116886930
    116896931            else
    11690                 { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    11691 echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; }
    11692 if test "${tcl_cv_sysexecaout_h+set}" = set; then
    11693   echo $ECHO_N "(cached) $ECHO_C" >&6
    11694 else
    11695 
    11696                 cat >conftest.$ac_ext <<_ACEOF
    11697 /* confdefs.h.  */
    11698 _ACEOF
    11699 cat confdefs.h >>conftest.$ac_ext
    11700 cat >>conftest.$ac_ext <<_ACEOF
     6932                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     6933$as_echo_n "checking sys/exec_aout.h... " >&6; }
     6934if test "${tcl_cv_sysexecaout_h+set}" = set; then :
     6935  $as_echo_n "(cached) " >&6
     6936else
     6937
     6938                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    117016939/* end confdefs.h.  */
    117026940#include <sys/exec_aout.h>
     
    117206958}
    117216959_ACEOF
    11722 rm -f conftest.$ac_objext
    11723 if { (ac_try="$ac_compile"
    11724 case "(($ac_try" in
    11725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11726   *) ac_try_echo=$ac_try;;
    11727 esac
    11728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    11729   (eval "$ac_compile") 2>conftest.er1
    11730   ac_status=$?
    11731   grep -v '^ *+' conftest.er1 >conftest.err
    11732   rm -f conftest.er1
    11733   cat conftest.err >&5
    11734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11735   (exit $ac_status); } && {
    11736          test -z "$ac_cxx_werror_flag" ||
    11737          test ! -s conftest.err
    11738        } && test -s conftest.$ac_objext; then
     6960if ac_fn_cxx_try_compile "$LINENO"; then :
    117396961  tcl_cv_sysexecaout_h=usable
    117406962else
    11741   echo "$as_me: failed program was:" >&5
    11742 sed 's/^/| /' conftest.$ac_ext >&5
    11743 
    11744         tcl_cv_sysexecaout_h=unusable
    11745 fi
    11746 
     6963  tcl_cv_sysexecaout_h=unusable
     6964fi
    117476965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    117486966fi
    11749 { echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    11750 echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }
     6967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     6968$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    117516969                if test $tcl_cv_sysexecaout_h = usable; then
    11752                     cat >>confdefs.h <<\_ACEOF
    11753 #define USE_SYS_EXEC_AOUT_H 1
    11754 _ACEOF
     6970                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    117556971
    117566972                else
     
    117646980
    117656981    # Check whether --enable-load was given.
    11766 if test "${enable_load+set}" = set; then
     6982if test "${enable_load+set}" = set; then :
    117676983  enableval=$enable_load; tcl_ok=$enableval
    117686984else
     
    118957111done
    118967112if test "x${make_command}" = "x" ; then
    11897   { { echo "$as_me:$LINENO: error: Requires GNU make. You can specify a version with \$MAKE" >&5
    11898 echo "$as_me: error: Requires GNU make. You can specify a version with \$MAKE" >&2;}
    11899    { (exit 1); exit 1; }; }
     7113  as_fn_error "Requires GNU make. You can specify a version with \$MAKE" "$LINENO" 5
    119007114fi
    119017115MAKE=${make_command}
     
    119037117
    119047118# Check whether --enable-gui was given.
    11905 if test "${enable_gui+set}" = set; then
     7119if test "${enable_gui+set}" = set; then :
    119067120  enableval=$enable_gui;
    119077121else
     
    119197133
    119207134# Check whether --with-tclsh was given.
    11921 if test "${with_tclsh+set}" = set; then
     7135if test "${with_tclsh+set}" = set; then :
    119227136  withval=$with_tclsh;
    119237137else
     
    119287142TCLSH=
    119297143if test "$with_tclsh" != "no" ; then
    11930     { echo "$as_me:$LINENO: checking for tclsh" >&5
    11931 echo $ECHO_N "checking for tclsh... $ECHO_C" >&6; }
     7144    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5
     7145$as_echo_n "checking for tclsh... " >&6; }
    119327146    if test -x "$with_tclsh/bin/tclsh"
    119337147    then
     
    119427156            # Extract the first word of "tclsh", so it can be a program name with args.
    119437157set dummy tclsh; ac_word=$2
    11944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    11945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    11946 if test "${ac_cv_path_TCLSH+set}" = set; then
    11947   echo $ECHO_N "(cached) $ECHO_C" >&6
     7158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7159$as_echo_n "checking for $ac_word... " >&6; }
     7160if test "${ac_cv_path_TCLSH+set}" = set; then :
     7161  $as_echo_n "(cached) " >&6
    119487162else
    119497163  case $TCLSH in
     
    119577171  IFS=$as_save_IFS
    119587172  test -z "$as_dir" && as_dir=.
    11959   for ac_exec_ext in '' $ac_executable_extensions; do
     7173    for ac_exec_ext in '' $ac_executable_extensions; do
    119607174  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    119617175    ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
    11962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7176    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    119637177    break 2
    119647178  fi
    119657179done
    11966 done
     7180  done
    119677181IFS=$as_save_IFS
    119687182
     
    119727186TCLSH=$ac_cv_path_TCLSH
    119737187if test -n "$TCLSH"; then
    11974   { echo "$as_me:$LINENO: result: $TCLSH" >&5
    11975 echo "${ECHO_T}$TCLSH" >&6; }
    11976 else
    11977   { echo "$as_me:$LINENO: result: no" >&5
    11978 echo "${ECHO_T}no" >&6; }
     7188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
     7189$as_echo "$TCLSH" >&6; }
     7190else
     7191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7192$as_echo "no" >&6; }
    119797193fi
    119807194
     
    119837197    fi
    119847198fi
    11985 { echo "$as_me:$LINENO: result: ${TCLSH}" >&5
    11986 echo "${ECHO_T}${TCLSH}" >&6; }
     7199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCLSH}" >&5
     7200$as_echo "${TCLSH}" >&6; }
    119877201
    119887202
     
    119907204
    119917205# Check whether --with-matlab was given.
    11992 if test "${with_matlab+set}" = set; then
     7206if test "${with_matlab+set}" = set; then :
    119937207  withval=$with_matlab; with_matlab=$withval
    119947208else
     
    120067220    # Extract the first word of "matlab", so it can be a program name with args.
    120077221set dummy matlab; ac_word=$2
    12008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12010 if test "${ac_cv_path_MATLAB+set}" = set; then
    12011   echo $ECHO_N "(cached) $ECHO_C" >&6
     7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7223$as_echo_n "checking for $ac_word... " >&6; }
     7224if test "${ac_cv_path_MATLAB+set}" = set; then :
     7225  $as_echo_n "(cached) " >&6
    120127226else
    120137227  case $MATLAB in
     
    120217235  IFS=$as_save_IFS
    120227236  test -z "$as_dir" && as_dir=.
    12023   for ac_exec_ext in '' $ac_executable_extensions; do
     7237    for ac_exec_ext in '' $ac_executable_extensions; do
    120247238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    120257239    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12026     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    120277241    break 2
    120287242  fi
    120297243done
    12030 done
     7244  done
    120317245IFS=$as_save_IFS
    120327246
     
    120367250MATLAB=$ac_cv_path_MATLAB
    120377251if test -n "$MATLAB"; then
    12038   { echo "$as_me:$LINENO: result: $MATLAB" >&5
    12039 echo "${ECHO_T}$MATLAB" >&6; }
    12040 else
    12041   { echo "$as_me:$LINENO: result: no" >&5
    12042 echo "${ECHO_T}no" >&6; }
     7252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
     7253$as_echo "$MATLAB" >&6; }
     7254else
     7255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7256$as_echo "no" >&6; }
    120437257fi
    120447258
     
    120477261    # Extract the first word of "matlab", so it can be a program name with args.
    120487262set dummy matlab; ac_word=$2
    12049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12051 if test "${ac_cv_path_MATLAB+set}" = set; then
    12052   echo $ECHO_N "(cached) $ECHO_C" >&6
     7263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7264$as_echo_n "checking for $ac_word... " >&6; }
     7265if test "${ac_cv_path_MATLAB+set}" = set; then :
     7266  $as_echo_n "(cached) " >&6
    120537267else
    120547268  case $MATLAB in
     
    120627276  IFS=$as_save_IFS
    120637277  test -z "$as_dir" && as_dir=.
    12064   for ac_exec_ext in '' $ac_executable_extensions; do
     7278    for ac_exec_ext in '' $ac_executable_extensions; do
    120657279  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    120667280    ac_cv_path_MATLAB="$as_dir/$ac_word$ac_exec_ext"
    12067     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7281    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    120687282    break 2
    120697283  fi
    120707284done
    12071 done
     7285  done
    120727286IFS=$as_save_IFS
    120737287
     
    120787292MATLAB=$ac_cv_path_MATLAB
    120797293if test -n "$MATLAB"; then
    12080   { echo "$as_me:$LINENO: result: $MATLAB" >&5
    12081 echo "${ECHO_T}$MATLAB" >&6; }
    12082 else
    12083   { echo "$as_me:$LINENO: result: no" >&5
    12084 echo "${ECHO_T}no" >&6; }
     7294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MATLAB" >&5
     7295$as_echo "$MATLAB" >&6; }
     7296else
     7297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7298$as_echo "no" >&6; }
    120857299fi
    120867300
     
    120987312  # Extract the first word of "mex", so it can be a program name with args.
    120997313set dummy mex; ac_word=$2
    12100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12102 if test "${ac_cv_path_MEX+set}" = set; then
    12103   echo $ECHO_N "(cached) $ECHO_C" >&6
     7314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7315$as_echo_n "checking for $ac_word... " >&6; }
     7316if test "${ac_cv_path_MEX+set}" = set; then :
     7317  $as_echo_n "(cached) " >&6
    121047318else
    121057319  case $MEX in
     
    121137327  IFS=$as_save_IFS
    121147328  test -z "$as_dir" && as_dir=.
    12115   for ac_exec_ext in '' $ac_executable_extensions; do
     7329    for ac_exec_ext in '' $ac_executable_extensions; do
    121167330  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    121177331    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    12118     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7332    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    121197333    break 2
    121207334  fi
    121217335done
    12122 done
     7336  done
    121237337IFS=$as_save_IFS
    121247338
     
    121297343MEX=$ac_cv_path_MEX
    121307344if test -n "$MEX"; then
    12131   { echo "$as_me:$LINENO: result: $MEX" >&5
    12132 echo "${ECHO_T}$MEX" >&6; }
    12133 else
    12134   { echo "$as_me:$LINENO: result: no" >&5
    12135 echo "${ECHO_T}no" >&6; }
     7345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEX" >&5
     7346$as_echo "$MEX" >&6; }
     7347else
     7348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7349$as_echo "no" >&6; }
    121367350fi
    121377351
     
    121397353  # Extract the first word of "mexext", so it can be a program name with args.
    121407354set dummy mexext; ac_word=$2
    12141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12143 if test "${ac_cv_path_MEXEXT+set}" = set; then
    12144   echo $ECHO_N "(cached) $ECHO_C" >&6
     7355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7356$as_echo_n "checking for $ac_word... " >&6; }
     7357if test "${ac_cv_path_MEXEXT+set}" = set; then :
     7358  $as_echo_n "(cached) " >&6
    121457359else
    121467360  case $MEXEXT in
     
    121547368  IFS=$as_save_IFS
    121557369  test -z "$as_dir" && as_dir=.
    12156   for ac_exec_ext in '' $ac_executable_extensions; do
     7370    for ac_exec_ext in '' $ac_executable_extensions; do
    121577371  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    121587372    ac_cv_path_MEXEXT="$as_dir/$ac_word$ac_exec_ext"
    12159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7373    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    121607374    break 2
    121617375  fi
    121627376done
    12163 done
     7377  done
    121647378IFS=$as_save_IFS
    121657379
     
    121707384MEXEXT=$ac_cv_path_MEXEXT
    121717385if test -n "$MEXEXT"; then
    12172   { echo "$as_me:$LINENO: result: $MEXEXT" >&5
    12173 echo "${ECHO_T}$MEXEXT" >&6; }
    12174 else
    12175   { echo "$as_me:$LINENO: result: no" >&5
    12176 echo "${ECHO_T}no" >&6; }
     7386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
     7387$as_echo "$MEXEXT" >&6; }
     7388else
     7389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7390$as_echo "no" >&6; }
    121777391fi
    121787392
     
    121807394
    121817395  # Run "mexext" to get the expected module extension for this platform.
    12182   { echo "$as_me:$LINENO: checking for mex extension" >&5
    12183 echo $ECHO_N "checking for mex extension... $ECHO_C" >&6; }
     7396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mex extension" >&5
     7397$as_echo_n "checking for mex extension... " >&6; }
    121847398  if test "x$MEXEXT" != "x" ; then
    121857399    MEXEXT=`$MEXEXT`
     
    121877401    MEXEXT="mexglx"
    121887402  fi
    12189   { echo "$as_me:$LINENO: result: $MEXEXT" >&5
    12190 echo "${ECHO_T}$MEXEXT" >&6; }
     7403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MEXEXT" >&5
     7404$as_echo "$MEXEXT" >&6; }
    121917405  # Extract the first word of "mcc", so it can be a program name with args.
    121927406set dummy mcc; ac_word=$2
    12193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12195 if test "${ac_cv_path_MCC+set}" = set; then
    12196   echo $ECHO_N "(cached) $ECHO_C" >&6
     7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7408$as_echo_n "checking for $ac_word... " >&6; }
     7409if test "${ac_cv_path_MCC+set}" = set; then :
     7410  $as_echo_n "(cached) " >&6
    121977411else
    121987412  case $MCC in
     
    122067420  IFS=$as_save_IFS
    122077421  test -z "$as_dir" && as_dir=.
    12208   for ac_exec_ext in '' $ac_executable_extensions; do
     7422    for ac_exec_ext in '' $ac_executable_extensions; do
    122097423  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    122107424    ac_cv_path_MCC="$as_dir/$ac_word$ac_exec_ext"
    12211     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7425    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    122127426    break 2
    122137427  fi
    122147428done
    12215 done
     7429  done
    122167430IFS=$as_save_IFS
    122177431
     
    122227436MCC=$ac_cv_path_MCC
    122237437if test -n "$MCC"; then
    12224   { echo "$as_me:$LINENO: result: $MCC" >&5
    12225 echo "${ECHO_T}$MCC" >&6; }
    12226 else
    12227   { echo "$as_me:$LINENO: result: no" >&5
    12228 echo "${ECHO_T}no" >&6; }
    12229 fi
    12230 
    12231 
    12232   { echo "$as_me:$LINENO: checking for mcc extension" >&5
    12233 echo $ECHO_N "checking for mcc extension... $ECHO_C" >&6; }
     7438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MCC" >&5
     7439$as_echo "$MCC" >&6; }
     7440else
     7441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7442$as_echo "no" >&6; }
     7443fi
     7444
     7445
     7446  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mcc extension" >&5
     7447$as_echo_n "checking for mcc extension... " >&6; }
    122347448fi
    122357449
     
    122427456
    122437457# Check whether --with-octave was given.
    12244 if test "${with_octave+set}" = set; then
     7458if test "${with_octave+set}" = set; then :
    122457459  withval=$with_octave; with_octave=$withval
    122467460else
     
    122547468MKOCTFILE=
    122557469if test "$with_octave" != "no" ; then
    12256   { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&5
    12257 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; }
     7470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
     7471$as_echo_n "checking for octave and mkoctfile... " >&6; }
    122587472  if test "$with_octave" = "yes" ; then
    122597473    # Extract the first word of "octave", so it can be a program name with args.
    122607474set dummy octave; ac_word=$2
    12261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12263 if test "${ac_cv_path_OCTAVE+set}" = set; then
    12264   echo $ECHO_N "(cached) $ECHO_C" >&6
     7475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7476$as_echo_n "checking for $ac_word... " >&6; }
     7477if test "${ac_cv_path_OCTAVE+set}" = set; then :
     7478  $as_echo_n "(cached) " >&6
    122657479else
    122667480  case $OCTAVE in
     
    122747488  IFS=$as_save_IFS
    122757489  test -z "$as_dir" && as_dir=.
    12276   for ac_exec_ext in '' $ac_executable_extensions; do
     7490    for ac_exec_ext in '' $ac_executable_extensions; do
    122777491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    122787492    ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    12279     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    122807494    break 2
    122817495  fi
    122827496done
    12283 done
     7497  done
    122847498IFS=$as_save_IFS
    122857499
     
    122897503OCTAVE=$ac_cv_path_OCTAVE
    122907504if test -n "$OCTAVE"; then
    12291   { echo "$as_me:$LINENO: result: $OCTAVE" >&5
    12292 echo "${ECHO_T}$OCTAVE" >&6; }
    12293 else
    12294   { echo "$as_me:$LINENO: result: no" >&5
    12295 echo "${ECHO_T}no" >&6; }
     7505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
     7506$as_echo "$OCTAVE" >&6; }
     7507else
     7508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7509$as_echo "no" >&6; }
    122967510fi
    122977511
     
    122997513    # Extract the first word of "mkoctfile", so it can be a program name with args.
    123007514set dummy mkoctfile; ac_word=$2
    12301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12303 if test "${ac_cv_path_MKOCTFILE+set}" = set; then
    12304   echo $ECHO_N "(cached) $ECHO_C" >&6
     7515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7516$as_echo_n "checking for $ac_word... " >&6; }
     7517if test "${ac_cv_path_MKOCTFILE+set}" = set; then :
     7518  $as_echo_n "(cached) " >&6
    123057519else
    123067520  case $MKOCTFILE in
     
    123147528  IFS=$as_save_IFS
    123157529  test -z "$as_dir" && as_dir=.
    12316   for ac_exec_ext in '' $ac_executable_extensions; do
     7530    for ac_exec_ext in '' $ac_executable_extensions; do
    123177531  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    123187532    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    12319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7533    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    123207534    break 2
    123217535  fi
    123227536done
    12323 done
     7537  done
    123247538IFS=$as_save_IFS
    123257539
     
    123297543MKOCTFILE=$ac_cv_path_MKOCTFILE
    123307544if test -n "$MKOCTFILE"; then
    12331   { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
    12332 echo "${ECHO_T}$MKOCTFILE" >&6; }
    12333 else
    12334   { echo "$as_me:$LINENO: result: no" >&5
    12335 echo "${ECHO_T}no" >&6; }
     7545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
     7546$as_echo "$MKOCTFILE" >&6; }
     7547else
     7548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7549$as_echo "no" >&6; }
    123367550fi
    123377551
     
    123407554    # Extract the first word of "octave", so it can be a program name with args.
    123417555set dummy octave; ac_word=$2
    12342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12344 if test "${ac_cv_path_OCTAVE+set}" = set; then
    12345   echo $ECHO_N "(cached) $ECHO_C" >&6
     7556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7557$as_echo_n "checking for $ac_word... " >&6; }
     7558if test "${ac_cv_path_OCTAVE+set}" = set; then :
     7559  $as_echo_n "(cached) " >&6
    123467560else
    123477561  case $OCTAVE in
     
    123557569  IFS=$as_save_IFS
    123567570  test -z "$as_dir" && as_dir=.
    12357   for ac_exec_ext in '' $ac_executable_extensions; do
     7571    for ac_exec_ext in '' $ac_executable_extensions; do
    123587572  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    123597573    ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext"
    12360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    123617575    break 2
    123627576  fi
    123637577done
    12364 done
     7578  done
    123657579IFS=$as_save_IFS
    123667580
     
    123717585OCTAVE=$ac_cv_path_OCTAVE
    123727586if test -n "$OCTAVE"; then
    12373   { echo "$as_me:$LINENO: result: $OCTAVE" >&5
    12374 echo "${ECHO_T}$OCTAVE" >&6; }
    12375 else
    12376   { echo "$as_me:$LINENO: result: no" >&5
    12377 echo "${ECHO_T}no" >&6; }
     7587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCTAVE" >&5
     7588$as_echo "$OCTAVE" >&6; }
     7589else
     7590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7591$as_echo "no" >&6; }
    123787592fi
    123797593
     
    123817595    # Extract the first word of "mkoctfile", so it can be a program name with args.
    123827596set dummy mkoctfile; ac_word=$2
    12383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12385 if test "${ac_cv_path_MKOCTFILE+set}" = set; then
    12386   echo $ECHO_N "(cached) $ECHO_C" >&6
     7597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7598$as_echo_n "checking for $ac_word... " >&6; }
     7599if test "${ac_cv_path_MKOCTFILE+set}" = set; then :
     7600  $as_echo_n "(cached) " >&6
    123877601else
    123887602  case $MKOCTFILE in
     
    123967610  IFS=$as_save_IFS
    123977611  test -z "$as_dir" && as_dir=.
    12398   for ac_exec_ext in '' $ac_executable_extensions; do
     7612    for ac_exec_ext in '' $ac_executable_extensions; do
    123997613  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    124007614    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    12401     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    124027616    break 2
    124037617  fi
    124047618done
    12405 done
     7619  done
    124067620IFS=$as_save_IFS
    124077621
     
    124127626MKOCTFILE=$ac_cv_path_MKOCTFILE
    124137627if test -n "$MKOCTFILE"; then
    12414   { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
    12415 echo "${ECHO_T}$MKOCTFILE" >&6; }
    12416 else
    12417   { echo "$as_me:$LINENO: result: no" >&5
    12418 echo "${ECHO_T}no" >&6; }
     7628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5
     7629$as_echo "$MKOCTFILE" >&6; }
     7630else
     7631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7632$as_echo "no" >&6; }
    124197633fi
    124207634
     
    124347648
    124357649# Check whether --with-perl was given.
    12436 if test "${with_perl+set}" = set; then
     7650if test "${with_perl+set}" = set; then :
    124377651  withval=$with_perl;
    124387652else
     
    124537667PERL_LIBSPEC=
    124547668if test "$with_perl" != "no" ; then
    12455   { echo "$as_me:$LINENO: checking for perl" >&5
    12456 echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
     7669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5
     7670$as_echo_n "checking for perl... " >&6; }
    124577671  if test "$with_perl" != "yes" ; then
    124587672    # Extract the first word of "perl", so it can be a program name with args.
    124597673set dummy perl; ac_word=$2
    12460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12462 if test "${ac_cv_path_PERL+set}" = set; then
    12463   echo $ECHO_N "(cached) $ECHO_C" >&6
     7674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7675$as_echo_n "checking for $ac_word... " >&6; }
     7676if test "${ac_cv_path_PERL+set}" = set; then :
     7677  $as_echo_n "(cached) " >&6
    124647678else
    124657679  case $PERL in
     
    124737687  IFS=$as_save_IFS
    124747688  test -z "$as_dir" && as_dir=.
    12475   for ac_exec_ext in '' $ac_executable_extensions; do
     7689    for ac_exec_ext in '' $ac_executable_extensions; do
    124767690  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    124777691    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    12478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    124797693    break 2
    124807694  fi
    124817695done
    12482 done
     7696  done
    124837697IFS=$as_save_IFS
    124847698
     
    124897703PERL=$ac_cv_path_PERL
    124907704if test -n "$PERL"; then
    12491   { echo "$as_me:$LINENO: result: $PERL" >&5
    12492 echo "${ECHO_T}$PERL" >&6; }
    12493 else
    12494   { echo "$as_me:$LINENO: result: no" >&5
    12495 echo "${ECHO_T}no" >&6; }
     7705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
     7706$as_echo "$PERL" >&6; }
     7707else
     7708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7709$as_echo "no" >&6; }
    124967710fi
    124977711
     
    125007714    # Extract the first word of "perl", so it can be a program name with args.
    125017715set dummy perl; ac_word=$2
    12502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12504 if test "${ac_cv_path_PERL+set}" = set; then
    12505   echo $ECHO_N "(cached) $ECHO_C" >&6
     7716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7717$as_echo_n "checking for $ac_word... " >&6; }
     7718if test "${ac_cv_path_PERL+set}" = set; then :
     7719  $as_echo_n "(cached) " >&6
    125067720else
    125077721  case $PERL in
     
    125157729  IFS=$as_save_IFS
    125167730  test -z "$as_dir" && as_dir=.
    12517   for ac_exec_ext in '' $ac_executable_extensions; do
     7731    for ac_exec_ext in '' $ac_executable_extensions; do
    125187732  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    125197733    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    12520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    125217735    break 2
    125227736  fi
    125237737done
    12524 done
     7738  done
    125257739IFS=$as_save_IFS
    125267740
     
    125307744PERL=$ac_cv_path_PERL
    125317745if test -n "$PERL"; then
    12532   { echo "$as_me:$LINENO: result: $PERL" >&5
    12533 echo "${ECHO_T}$PERL" >&6; }
    12534 else
    12535   { echo "$as_me:$LINENO: result: no" >&5
    12536 echo "${ECHO_T}no" >&6; }
     7746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
     7747$as_echo "$PERL" >&6; }
     7748else
     7749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7750$as_echo "no" >&6; }
    125377751fi
    125387752
     
    125577771  fi
    125587772fi
    12559 { echo "$as_me:$LINENO: result: ${PERL}" >&5
    12560 echo "${ECHO_T}${PERL}" >&6; }
     7773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${PERL}" >&5
     7774$as_echo "${PERL}" >&6; }
    125617775
    125627776
     
    125877801
    125887802# Check whether --with-python was given.
    12589 if test "${with_python+set}" = set; then
     7803if test "${with_python+set}" = set; then :
    125907804  withval=$with_python;
    125917805else
     
    125957809
    125967810if test "$with_python" != "no" ; then
    12597   { echo "$as_me:$LINENO: checking for python" >&5
    12598 echo $ECHO_N "checking for python... $ECHO_C" >&6; }
     7811  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5
     7812$as_echo_n "checking for python... " >&6; }
    125997813  if test -x "$with_python/bin/python"; then
    126007814    echo Found python in $with_python/bin/python
     
    126067820    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    126077821set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    12608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12610 if test "${ac_cv_path_PYTHON+set}" = set; then
    12611   echo $ECHO_N "(cached) $ECHO_C" >&6
     7822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7823$as_echo_n "checking for $ac_word... " >&6; }
     7824if test "${ac_cv_path_PYTHON+set}" = set; then :
     7825  $as_echo_n "(cached) " >&6
    126127826else
    126137827  case $PYTHON in
     
    126217835  IFS=$as_save_IFS
    126227836  test -z "$as_dir" && as_dir=.
    12623   for ac_exec_ext in '' $ac_executable_extensions; do
     7837    for ac_exec_ext in '' $ac_executable_extensions; do
    126247838  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    126257839    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    12626     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    126277841    break 2
    126287842  fi
    126297843done
    12630 done
     7844  done
    126317845IFS=$as_save_IFS
    126327846
     
    126367850PYTHON=$ac_cv_path_PYTHON
    126377851if test -n "$PYTHON"; then
    12638   { echo "$as_me:$LINENO: result: $PYTHON" >&5
    12639 echo "${ECHO_T}$PYTHON" >&6; }
    12640 else
    12641   { echo "$as_me:$LINENO: result: no" >&5
    12642 echo "${ECHO_T}no" >&6; }
     7852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     7853$as_echo "$PYTHON" >&6; }
     7854else
     7855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7856$as_echo "no" >&6; }
    126437857fi
    126447858
     
    126777891  fi
    126787892
    12679   { echo "$as_me:$LINENO: checking for python distutils" >&5
    12680 echo $ECHO_N "checking for python distutils... $ECHO_C" >&6; }
     7893  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python distutils" >&5
     7894$as_echo_n "checking for python distutils... " >&6; }
    126817895  ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \
    126827896        build build_ext 2>&1 > /dev/null
     
    126867900    HAVE_PYTHON_DISTUTILS="no"
    126877901  fi
    12688   { echo "$as_me:$LINENO: result: $HAVE_PYTHON_DISTUTILS" >&5
    12689 echo "${ECHO_T}$HAVE_PYTHON_DISTUTILS" >&6; }
     7902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON_DISTUTILS" >&5
     7903$as_echo "$HAVE_PYTHON_DISTUTILS" >&6; }
    126907904
    126917905  if test "${HAVE_PYTHON_DISTUTILS}" = "yes"; then
     
    126937907    # Check for Python include path
    126947908    #
    12695     { echo "$as_me:$LINENO: checking for Python include path" >&5
    12696 echo $ECHO_N "checking for Python include path... $ECHO_C" >&6; }
     7909    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
     7910$as_echo_n "checking for Python include path... " >&6; }
    126977911    if test "x${PYTHON_CPPFLAGS}" = "x"; then
    126987912      incdir_path=`${PYTHON} -c "import distutils.sysconfig; \
     
    127037917      PYTHON_CPPFLAGS=$python_path
    127047918    fi
    12705     { echo "$as_me:$LINENO: result: $PYTHON_CPPFLAGS" >&5
    12706 echo "${ECHO_T}$PYTHON_CPPFLAGS" >&6; }
     7919    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
     7920$as_echo "$PYTHON_CPPFLAGS" >&6; }
    127077921
    127087922    #
    127097923    # python distutils found, get settings from python directly
    127107924    #
    12711     { echo "$as_me:$LINENO: checking location of site-packages" >&5
    12712 echo $ECHO_N "checking location of site-packages... $ECHO_C" >&6; }
     7925    { $as_echo "$as_me:${as_lineno-$LINENO}: checking location of site-packages" >&5
     7926$as_echo_n "checking location of site-packages... " >&6; }
    127137927    PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`"
    127147928
     
    127347948
    127357949# Check whether --with-ruby was given.
    12736 if test "${with_ruby+set}" = set; then
     7950if test "${with_ruby+set}" = set; then :
    127377951  withval=$with_ruby; rappture_with_ruby=$with_val
    127387952fi
     
    127427956    # Extract the first word of "ruby", so it can be a program name with args.
    127437957set dummy ruby; ac_word=$2
    12744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12746 if test "${ac_cv_path_RUBY+set}" = set; then
    12747   echo $ECHO_N "(cached) $ECHO_C" >&6
     7958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7959$as_echo_n "checking for $ac_word... " >&6; }
     7960if test "${ac_cv_path_RUBY+set}" = set; then :
     7961  $as_echo_n "(cached) " >&6
    127487962else
    127497963  case $RUBY in
     
    127577971  IFS=$as_save_IFS
    127587972  test -z "$as_dir" && as_dir=.
    12759   for ac_exec_ext in '' $ac_executable_extensions; do
     7973    for ac_exec_ext in '' $ac_executable_extensions; do
    127607974  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    127617975    ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    12762     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    127637977    break 2
    127647978  fi
    127657979done
    12766 done
     7980  done
    127677981IFS=$as_save_IFS
    127687982
     
    127727986RUBY=$ac_cv_path_RUBY
    127737987if test -n "$RUBY"; then
    12774   { echo "$as_me:$LINENO: result: $RUBY" >&5
    12775 echo "${ECHO_T}$RUBY" >&6; }
    12776 else
    12777   { echo "$as_me:$LINENO: result: no" >&5
    12778 echo "${ECHO_T}no" >&6; }
     7988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
     7989$as_echo "$RUBY" >&6; }
     7990else
     7991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7992$as_echo "no" >&6; }
    127797993fi
    127807994
     
    127837997    # Extract the first word of "ruby", so it can be a program name with args.
    127847998set dummy ruby; ac_word=$2
    12785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12787 if test "${ac_cv_path_RUBY+set}" = set; then
    12788   echo $ECHO_N "(cached) $ECHO_C" >&6
     7999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8000$as_echo_n "checking for $ac_word... " >&6; }
     8001if test "${ac_cv_path_RUBY+set}" = set; then :
     8002  $as_echo_n "(cached) " >&6
    127898003else
    127908004  case $RUBY in
     
    127988012  IFS=$as_save_IFS
    127998013  test -z "$as_dir" && as_dir=.
    12800   for ac_exec_ext in '' $ac_executable_extensions; do
     8014    for ac_exec_ext in '' $ac_executable_extensions; do
    128018015  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    128028016    ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
    12803     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8017    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    128048018    break 2
    128058019  fi
    128068020done
    12807 done
     8021  done
    128088022IFS=$as_save_IFS
    128098023
     
    128148028RUBY=$ac_cv_path_RUBY
    128158029if test -n "$RUBY"; then
    12816   { echo "$as_me:$LINENO: result: $RUBY" >&5
    12817 echo "${ECHO_T}$RUBY" >&6; }
    12818 else
    12819   { echo "$as_me:$LINENO: result: no" >&5
    12820 echo "${ECHO_T}no" >&6; }
     8030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
     8031$as_echo "$RUBY" >&6; }
     8032else
     8033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8034$as_echo "no" >&6; }
    128218035fi
    128228036
     
    128298043RUBY_PLATFORM=
    128308044if test "x${RUBY}" != "x" ; then
    12831   { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
    12832 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
    12833 if test "${ac_cv_path_SED+set}" = set; then
    12834   echo $ECHO_N "(cached) $ECHO_C" >&6
     8045  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     8046$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     8047if test "${ac_cv_path_SED+set}" = set; then :
     8048  $as_echo_n "(cached) " >&6
    128358049else
    128368050            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     
    128388052       ac_script="$ac_script$as_nl$ac_script"
    128398053     done
    12840      echo "$ac_script" | sed 99q >conftest.sed
    12841      $as_unset ac_script || ac_script=
    12842      # Extract the first word of "sed gsed" to use in msg output
    12843 if test -z "$SED"; then
    12844 set dummy sed gsed; ac_prog_name=$2
    12845 if test "${ac_cv_path_SED+set}" = set; then
    12846   echo $ECHO_N "(cached) $ECHO_C" >&6
    12847 else
     8054     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     8055     { ac_script=; unset ac_script;}
     8056     if test -z "$SED"; then
    128488057  ac_path_SED_found=false
    12849 # Loop through the user's path and test for each of PROGNAME-LIST
    12850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8058  # Loop through the user's path and test for each of PROGNAME-LIST
     8059  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    128518060for as_dir in $PATH
    128528061do
    128538062  IFS=$as_save_IFS
    128548063  test -z "$as_dir" && as_dir=.
    12855   for ac_prog in sed gsed; do
    12856   for ac_exec_ext in '' $ac_executable_extensions; do
    12857     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    12858     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
    12859     # Check for GNU ac_path_SED and select it if it is found.
     8064    for ac_prog in sed gsed; do
     8065    for ac_exec_ext in '' $ac_executable_extensions; do
     8066      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     8067      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
     8068# Check for GNU ac_path_SED and select it if it is found.
    128608069  # Check for GNU $ac_path_SED
    128618070case `"$ac_path_SED" --version 2>&1` in
     
    128648073*)
    128658074  ac_count=0
    12866   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     8075  $as_echo_n 0123456789 >"conftest.in"
    128678076  while :
    128688077  do
     
    128708079    mv "conftest.tmp" "conftest.in"
    128718080    cp "conftest.in" "conftest.nl"
    12872     echo '' >> "conftest.nl"
     8081    $as_echo '' >> "conftest.nl"
    128738082    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    128748083    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    12875     ac_count=`expr $ac_count + 1`
     8084    as_fn_arith $ac_count + 1 && ac_count=$as_val
    128768085    if test $ac_count -gt ${ac_path_SED_max-0}; then
    128778086      # Best one so far, save it but keep looking for a better one
     
    128858094esac
    128868095
    12887 
    12888     $ac_path_SED_found && break 3
     8096      $ac_path_SED_found && break 3
     8097    done
    128898098  done
    12890 done
    12891 
    12892 done
     8099  done
    128938100IFS=$as_save_IFS
    12894 
    12895 
    12896 fi
    12897 
    12898 SED="$ac_cv_path_SED"
    12899 if test -z "$SED"; then
    12900   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
    12901 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
    12902    { (exit 1); exit 1; }; }
    12903 fi
    12904 
     8101  if test -z "$ac_cv_path_SED"; then
     8102    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
     8103  fi
    129058104else
    129068105  ac_cv_path_SED=$SED
     
    129088107
    129098108fi
    12910 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
    12911 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
     8109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     8110$as_echo "$ac_cv_path_SED" >&6; }
    129128111 SED="$ac_cv_path_SED"
    129138112  rm -f conftest.sed
     
    129178116
    129188117
    12919     if test -n "$RUBY"; then
     8118    if test -n "$RUBY"; then :
    129208119
    129218120        ax_ruby_version=""
    129228121
    12923         { echo "$as_me:$LINENO: checking for ruby version" >&5
    12924 echo $ECHO_N "checking for ruby version... $ECHO_C" >&6; }
     8122        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ruby version" >&5
     8123$as_echo_n "checking for ruby version... " >&6; }
    129258124
    129268125        ruby_version=`$RUBY --version 2>&1 | $GREP "^ruby " | $SED -e 's/^.* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
    129278126
    12928         { echo "$as_me:$LINENO: result: $ruby_version" >&5
    12929 echo "${ECHO_T}$ruby_version" >&6; }
     8127        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ruby_version" >&5
     8128$as_echo "$ruby_version" >&6; }
    129308129
    129318130        RUBY_VERSION=$ruby_version
     
    129378136  # Extract the first word of "$ac_prog", so it can be a program name with args.
    129388137set dummy $ac_prog; ac_word=$2
    12939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    12940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    12941 if test "${ac_cv_prog_AWK+set}" = set; then
    12942   echo $ECHO_N "(cached) $ECHO_C" >&6
     8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8139$as_echo_n "checking for $ac_word... " >&6; }
     8140if test "${ac_cv_prog_AWK+set}" = set; then :
     8141  $as_echo_n "(cached) " >&6
    129438142else
    129448143  if test -n "$AWK"; then
     
    129508149  IFS=$as_save_IFS
    129518150  test -z "$as_dir" && as_dir=.
    12952   for ac_exec_ext in '' $ac_executable_extensions; do
     8151    for ac_exec_ext in '' $ac_executable_extensions; do
    129538152  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    129548153    ac_cv_prog_AWK="$ac_prog"
    12955     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    129568155    break 2
    129578156  fi
    129588157done
    12959 done
     8158  done
    129608159IFS=$as_save_IFS
    129618160
     
    129648163AWK=$ac_cv_prog_AWK
    129658164if test -n "$AWK"; then
    12966   { echo "$as_me:$LINENO: result: $AWK" >&5
    12967 echo "${ECHO_T}$AWK" >&6; }
    12968 else
    12969   { echo "$as_me:$LINENO: result: no" >&5
    12970 echo "${ECHO_T}no" >&6; }
     8165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     8166$as_echo "$AWK" >&6; }
     8167else
     8168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8169$as_echo "no" >&6; }
    129718170fi
    129728171
     
    130188217else
    130198218
    13020         { echo "$as_me:$LINENO: WARNING: could not find the ruby interpreter" >&5
    13021 echo "$as_me: WARNING: could not find the ruby interpreter" >&2;}
    13022 
    13023 
    13024 fi
    13025 
     8219        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find the ruby interpreter" >&5
     8220$as_echo "$as_me: WARNING: could not find the ruby interpreter" >&2;}
     8221
     8222
     8223fi
    130268224
    130278225  RUBY_VERSION_RV=`echo ${RUBY_VERSION} | cut -d'.' -f1-2`
     
    130348232    # Check for Ruby include path
    130358233    #
    13036     { echo "$as_me:$LINENO: checking for Ruby include path" >&5
    13037 echo $ECHO_N "checking for Ruby include path... $ECHO_C" >&6; }
     8234    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
     8235$as_echo_n "checking for Ruby include path... " >&6; }
    130388236    if test -z "$RUBY_CPPFLAGS"; then
    130398237        ruby_path=`$RUBY -rmkmf -e 'print Config::CONFIG["archdir"]'`
     
    130438241        RUBY_CPPFLAGS=$ruby_path
    130448242    fi
    13045     { echo "$as_me:$LINENO: result: $RUBY_CPPFLAGS" >&5
    13046 echo "${ECHO_T}$RUBY_CPPFLAGS" >&6; }
     8243    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_CPPFLAGS" >&5
     8244$as_echo "$RUBY_CPPFLAGS" >&6; }
    130478245
    130488246
     
    130508248    # Check for Ruby library path
    130518249    #
    13052     { echo "$as_me:$LINENO: checking for Ruby library path" >&5
    13053 echo $ECHO_N "checking for Ruby library path... $ECHO_C" >&6; }
     8250    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby library path" >&5
     8251$as_echo_n "checking for Ruby library path... " >&6; }
    130548252    if test -z "$RUBY_LDFLAGS"; then
    130558253        RUBY_LDFLAGS=`$RUBY -rmkmf -e 'print Config::CONFIG["LIBRUBYARG_SHARED"]'`
    130568254    fi
    13057     { echo "$as_me:$LINENO: result: $RUBY_LDFLAGS" >&5
    13058 echo "${ECHO_T}$RUBY_LDFLAGS" >&6; }
     8255    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_LDFLAGS" >&5
     8256$as_echo "$RUBY_LDFLAGS" >&6; }
    130598257
    130608258
     
    130628260    # Check for site packages
    130638261    #
    13064     { echo "$as_me:$LINENO: checking for Ruby site-packages path" >&5
    13065 echo $ECHO_N "checking for Ruby site-packages path... $ECHO_C" >&6; }
     8262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby site-packages path" >&5
     8263$as_echo_n "checking for Ruby site-packages path... " >&6; }
    130668264    if test -z "$RUBY_SITE_PKG"; then
    130678265        RUBY_SITE_PKG=`$RUBY -rmkmf -e 'print Config::CONFIG["sitearchdir"]'`
    130688266    fi
    13069     { echo "$as_me:$LINENO: result: $RUBY_SITE_PKG" >&5
    13070 echo "${ECHO_T}$RUBY_SITE_PKG" >&6; }
     8267    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_SITE_PKG" >&5
     8268$as_echo "$RUBY_SITE_PKG" >&6; }
    130718269
    130728270
     
    130748272    # libraries which must be linked in when embedding
    130758273    #
    13076     { echo "$as_me:$LINENO: checking ruby extra libraries" >&5
    13077 echo $ECHO_N "checking ruby extra libraries... $ECHO_C" >&6; }
     8274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking ruby extra libraries" >&5
     8275$as_echo_n "checking ruby extra libraries... " >&6; }
    130788276    if test -z "$RUBY_EXTRA_LIBS"; then
    130798277       RUBY_EXTRA_LIBS=`$RUBY -rmkmf -e 'print Config::CONFIG["SOLIBS"]'`
    130808278    fi
    13081     { echo "$as_me:$LINENO: result: $RUBY_EXTRA_LIBS" >&5
    13082 echo "${ECHO_T}$RUBY_EXTRA_LIBS" >&6; }
     8279    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY_EXTRA_LIBS" >&5
     8280$as_echo "$RUBY_EXTRA_LIBS" >&6; }
    130838281
    130848282
     
    130998297    # final check to see if everything compiles alright
    131008298    #
    13101     { echo "$as_me:$LINENO: checking consistency of all components of ruby development environment" >&5
    13102 echo $ECHO_N "checking consistency of all components of ruby development environment... $ECHO_C" >&6; }
     8299    { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of ruby development environment" >&5
     8300$as_echo_n "checking consistency of all components of ruby development environment... " >&6; }
    131038301    ac_ext=c
    131048302ac_cpp='$CPP $CPPFLAGS'
     
    131128310    ac_save_CPPFLAGS="$CPPFLAGS"
    131138311    CPPFLAGS="$ac_save_CPPFLAGS $RUBY_CPPFLAGS"
    13114     cat >conftest.$ac_ext <<_ACEOF
    13115 /* confdefs.h.  */
    13116 _ACEOF
    13117 cat confdefs.h >>conftest.$ac_ext
    13118 cat >>conftest.$ac_ext <<_ACEOF
     8312    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    131198313/* end confdefs.h.  */
    131208314
     
    131318325}
    131328326_ACEOF
    13133 rm -f conftest.$ac_objext conftest$ac_exeext
    13134 if { (ac_try="$ac_link"
    13135 case "(($ac_try" in
    13136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13137   *) ac_try_echo=$ac_try;;
    13138 esac
    13139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13140   (eval "$ac_link") 2>conftest.er1
    13141   ac_status=$?
    13142   grep -v '^ *+' conftest.er1 >conftest.err
    13143   rm -f conftest.er1
    13144   cat conftest.err >&5
    13145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13146   (exit $ac_status); } && {
    13147          test -z "$ac_c_werror_flag" ||
    13148          test ! -s conftest.err
    13149        } && test -s conftest$ac_exeext &&
    13150        $as_test_x conftest$ac_exeext; then
     8327if ac_fn_c_try_link "$LINENO"; then :
    131518328  rubyexists=yes
    131528329else
    13153   echo "$as_me: failed program was:" >&5
    13154 sed 's/^/| /' conftest.$ac_ext >&5
    13155 
    13156         rubyexists=no
    13157 fi
    13158 
    13159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13160       conftest$ac_exeext conftest.$ac_ext
    13161 
    13162     { echo "$as_me:$LINENO: result: $rubyexists" >&5
    13163 echo "${ECHO_T}$rubyexists" >&6; }
     8330  rubyexists=no
     8331fi
     8332rm -f core conftest.err conftest.$ac_objext \
     8333    conftest$ac_exeext conftest.$ac_ext
     8334
     8335    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rubyexists" >&5
     8336$as_echo "$rubyexists" >&6; }
    131648337
    131658338    if test "$rubyexists" = "no"; then
     
    131908363
    131918364
    13192     { echo "$as_me:$LINENO: checking how to build libraries" >&5
    13193 echo $ECHO_N "checking how to build libraries... $ECHO_C" >&6; }
     8365    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to build libraries" >&5
     8366$as_echo_n "checking how to build libraries... " >&6; }
    131948367    # Check whether --enable-shared was given.
    13195 if test "${enable_shared+set}" = set; then
     8368if test "${enable_shared+set}" = set; then :
    131968369  enableval=$enable_shared; tcl_ok=$enableval
    131978370else
     
    132088381
    132098382    if test "$tcl_ok" = "yes" ; then
    13210         { echo "$as_me:$LINENO: result: shared" >&5
    13211 echo "${ECHO_T}shared" >&6; }
     8383        { $as_echo "$as_me:${as_lineno-$LINENO}: result: shared" >&5
     8384$as_echo "shared" >&6; }
    132128385        SHARED_BUILD=1
    132138386    else
    13214         { echo "$as_me:$LINENO: result: static" >&5
    13215 echo "${ECHO_T}static" >&6; }
     8387        { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
     8388$as_echo "static" >&6; }
    132168389        SHARED_BUILD=0
    13217         cat >>confdefs.h <<\_ACEOF
    13218 #define STATIC_BUILD 1
    13219 _ACEOF
     8390        $as_echo "#define STATIC_BUILD 1" >>confdefs.h
    132208391
    132218392    fi
     
    132528423# -----------------------------------------------------------------------
    132538424
    13254 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    13255 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    13256 if test "${ac_cv_c_bigendian+set}" = set; then
    13257   echo $ECHO_N "(cached) $ECHO_C" >&6
    13258 else
    13259   # See if sys/param.h defines the BYTE_ORDER macro.
    13260 cat >conftest.$ac_ext <<_ACEOF
    13261 /* confdefs.h.  */
    13262 _ACEOF
    13263 cat confdefs.h >>conftest.$ac_ext
    13264 cat >>conftest.$ac_ext <<_ACEOF
     8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     8426$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     8427if test "${ac_cv_c_bigendian+set}" = set; then :
     8428  $as_echo_n "(cached) " >&6
     8429else
     8430  ac_cv_c_bigendian=unknown
     8431    # See if we're dealing with a universal compiler.
     8432    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8433/* end confdefs.h.  */
     8434#ifndef __APPLE_CC__
     8435               not a universal capable compiler
     8436             #endif
     8437             typedef int dummy;
     8438
     8439_ACEOF
     8440if ac_fn_cxx_try_compile "$LINENO"; then :
     8441
     8442        # Check for potential -arch flags.  It is not universal unless
     8443        # there are at least two -arch flags with different values.
     8444        ac_arch=
     8445        ac_prev=
     8446        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     8447         if test -n "$ac_prev"; then
     8448           case $ac_word in
     8449             i?86 | x86_64 | ppc | ppc64)
     8450               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     8451                 ac_arch=$ac_word
     8452               else
     8453                 ac_cv_c_bigendian=universal
     8454                 break
     8455               fi
     8456               ;;
     8457           esac
     8458           ac_prev=
     8459         elif test "x$ac_word" = "x-arch"; then
     8460           ac_prev=arch
     8461         fi
     8462       done
     8463fi
     8464rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8465    if test $ac_cv_c_bigendian = unknown; then
     8466      # See if sys/param.h defines the BYTE_ORDER macro.
     8467      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    132658468/* end confdefs.h.  */
    132668469#include <sys/types.h>
    13267 #include <sys/param.h>
     8470             #include <sys/param.h>
    132688471
    132698472int
    132708473main ()
    132718474{
    13272 #if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
    13273         && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
    13274  bogus endian macros
    13275 #endif
     8475#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     8476                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     8477                     && LITTLE_ENDIAN)
     8478              bogus endian macros
     8479             #endif
    132768480
    132778481  ;
     
    132798483}
    132808484_ACEOF
    13281 rm -f conftest.$ac_objext
    13282 if { (ac_try="$ac_compile"
    13283 case "(($ac_try" in
    13284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13285   *) ac_try_echo=$ac_try;;
    13286 esac
    13287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13288   (eval "$ac_compile") 2>conftest.er1
    13289   ac_status=$?
    13290   grep -v '^ *+' conftest.er1 >conftest.err
    13291   rm -f conftest.er1
    13292   cat conftest.err >&5
    13293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13294   (exit $ac_status); } && {
    13295          test -z "$ac_cxx_werror_flag" ||
    13296          test ! -s conftest.err
    13297        } && test -s conftest.$ac_objext; then
     8485if ac_fn_cxx_try_compile "$LINENO"; then :
    132988486  # It does; now see whether it defined to BIG_ENDIAN or not.
    13299 cat >conftest.$ac_ext <<_ACEOF
    13300 /* confdefs.h.  */
    13301 _ACEOF
    13302 cat confdefs.h >>conftest.$ac_ext
    13303 cat >>conftest.$ac_ext <<_ACEOF
     8487         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    133048488/* end confdefs.h.  */
    133058489#include <sys/types.h>
    13306 #include <sys/param.h>
     8490                #include <sys/param.h>
    133078491
    133088492int
     
    133108494{
    133118495#if BYTE_ORDER != BIG_ENDIAN
    13312  not big endian
    13313 #endif
     8496                not big endian
     8497                #endif
    133148498
    133158499  ;
     
    133178501}
    133188502_ACEOF
    13319 rm -f conftest.$ac_objext
    13320 if { (ac_try="$ac_compile"
    13321 case "(($ac_try" in
    13322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13323   *) ac_try_echo=$ac_try;;
    13324 esac
    13325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13326   (eval "$ac_compile") 2>conftest.er1
    13327   ac_status=$?
    13328   grep -v '^ *+' conftest.er1 >conftest.err
    13329   rm -f conftest.er1
    13330   cat conftest.err >&5
    13331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13332   (exit $ac_status); } && {
    13333          test -z "$ac_cxx_werror_flag" ||
    13334          test ! -s conftest.err
    13335        } && test -s conftest.$ac_objext; then
     8503if ac_fn_cxx_try_compile "$LINENO"; then :
    133368504  ac_cv_c_bigendian=yes
    133378505else
    13338   echo "$as_me: failed program was:" >&5
    13339 sed 's/^/| /' conftest.$ac_ext >&5
    13340 
    13341         ac_cv_c_bigendian=no
    13342 fi
    13343 
     8506  ac_cv_c_bigendian=no
     8507fi
    133448508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13345 else
    13346   echo "$as_me: failed program was:" >&5
    13347 sed 's/^/| /' conftest.$ac_ext >&5
    13348 
    13349         # It does not; compile a test program.
    13350 if test "$cross_compiling" = yes; then
    13351   # try to guess the endianness by grepping values into an object file
    13352   ac_cv_c_bigendian=unknown
    13353   cat >conftest.$ac_ext <<_ACEOF
    13354 /* confdefs.h.  */
    13355 _ACEOF
    13356 cat confdefs.h >>conftest.$ac_ext
    13357 cat >>conftest.$ac_ext <<_ACEOF
     8509fi
     8510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8511    fi
     8512    if test $ac_cv_c_bigendian = unknown; then
     8513      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     8514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    133588515/* end confdefs.h.  */
    13359 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    13360 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    13361 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    13362 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    13363 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    13364 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     8516#include <limits.h>
     8517
    133658518int
    133668519main ()
    133678520{
    13368  _ascii (); _ebcdic ();
     8521#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     8522              bogus endian macros
     8523             #endif
     8524
    133698525  ;
    133708526  return 0;
    133718527}
    133728528_ACEOF
    13373 rm -f conftest.$ac_objext
    13374 if { (ac_try="$ac_compile"
    13375 case "(($ac_try" in
    13376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13377   *) ac_try_echo=$ac_try;;
    13378 esac
    13379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13380   (eval "$ac_compile") 2>conftest.er1
    13381   ac_status=$?
    13382   grep -v '^ *+' conftest.er1 >conftest.err
    13383   rm -f conftest.er1
    13384   cat conftest.err >&5
    13385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13386   (exit $ac_status); } && {
    13387          test -z "$ac_cxx_werror_flag" ||
    13388          test ! -s conftest.err
    13389        } && test -s conftest.$ac_objext; then
    13390   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
     8529if ac_fn_cxx_try_compile "$LINENO"; then :
     8530  # It does; now see whether it defined to _BIG_ENDIAN or not.
     8531         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8532/* end confdefs.h.  */
     8533#include <limits.h>
     8534
     8535int
     8536main ()
     8537{
     8538#ifndef _BIG_ENDIAN
     8539                 not big endian
     8540                #endif
     8541
     8542  ;
     8543  return 0;
     8544}
     8545_ACEOF
     8546if ac_fn_cxx_try_compile "$LINENO"; then :
    133918547  ac_cv_c_bigendian=yes
    13392 fi
    13393 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    13394   if test "$ac_cv_c_bigendian" = unknown; then
    13395     ac_cv_c_bigendian=no
    13396   else
    13397     # finding both strings is unlikely to happen, but who knows?
    13398     ac_cv_c_bigendian=unknown
    13399   fi
    13400 fi
    13401 else
    13402   echo "$as_me: failed program was:" >&5
    13403 sed 's/^/| /' conftest.$ac_ext >&5
    13404 
    13405 
    13406 fi
    13407 
     8548else
     8549  ac_cv_c_bigendian=no
     8550fi
    134088551rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13409 else
    13410   cat >conftest.$ac_ext <<_ACEOF
    13411 /* confdefs.h.  */
    13412 _ACEOF
    13413 cat confdefs.h >>conftest.$ac_ext
    13414 cat >>conftest.$ac_ext <<_ACEOF
     8552fi
     8553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8554    fi
     8555    if test $ac_cv_c_bigendian = unknown; then
     8556      # Compile a test program.
     8557      if test "$cross_compiling" = yes; then :
     8558  # Try to guess by grepping values from an object file.
     8559         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8560/* end confdefs.h.  */
     8561short int ascii_mm[] =
     8562                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8563                short int ascii_ii[] =
     8564                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8565                int use_ascii (int i) {
     8566                  return ascii_mm[i] + ascii_ii[i];
     8567                }
     8568                short int ebcdic_ii[] =
     8569                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8570                short int ebcdic_mm[] =
     8571                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8572                int use_ebcdic (int i) {
     8573                  return ebcdic_mm[i] + ebcdic_ii[i];
     8574                }
     8575                extern int foo;
     8576
     8577int
     8578main ()
     8579{
     8580return use_ascii (foo) == use_ebcdic (foo);
     8581  ;
     8582  return 0;
     8583}
     8584_ACEOF
     8585if ac_fn_cxx_try_compile "$LINENO"; then :
     8586  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     8587              ac_cv_c_bigendian=yes
     8588            fi
     8589            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8590              if test "$ac_cv_c_bigendian" = unknown; then
     8591                ac_cv_c_bigendian=no
     8592              else
     8593                # finding both strings is unlikely to happen, but who knows?
     8594                ac_cv_c_bigendian=unknown
     8595              fi
     8596            fi
     8597fi
     8598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8599else
     8600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    134158601/* end confdefs.h.  */
    134168602$ac_includes_default
     
    134198605{
    134208606
    13421   /* Are we little or big endian?  From Harbison&Steele.  */
    13422   union
    13423   {
    13424     long int l;
    13425     char c[sizeof (long int)];
    13426   } u;
    13427   u.l = 1;
    13428   return u.c[sizeof (long int) - 1] == 1;
     8607             /* Are we little or big endian?  From Harbison&Steele.  */
     8608             union
     8609             {
     8610               long int l;
     8611               char c[sizeof (long int)];
     8612             } u;
     8613             u.l = 1;
     8614             return u.c[sizeof (long int) - 1] == 1;
    134298615
    134308616  ;
     
    134328618}
    134338619_ACEOF
    13434 rm -f conftest$ac_exeext
    13435 if { (ac_try="$ac_link"
    13436 case "(($ac_try" in
    13437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13438   *) ac_try_echo=$ac_try;;
    13439 esac
    13440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13441   (eval "$ac_link") 2>&5
    13442   ac_status=$?
    13443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13444   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    13445   { (case "(($ac_try" in
    13446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13447   *) ac_try_echo=$ac_try;;
    13448 esac
    13449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13450   (eval "$ac_try") 2>&5
    13451   ac_status=$?
    13452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13453   (exit $ac_status); }; }; then
     8620if ac_fn_cxx_try_run "$LINENO"; then :
    134548621  ac_cv_c_bigendian=no
    134558622else
    13456   echo "$as_me: program exited with status $ac_status" >&5
    13457 echo "$as_me: failed program was:" >&5
    13458 sed 's/^/| /' conftest.$ac_ext >&5
    13459 
    13460 ( exit $ac_status )
    13461 ac_cv_c_bigendian=yes
    13462 fi
    13463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    13464 fi
    13465 
    13466 
    13467 fi
    13468 
    13469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13470 fi
    13471 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    13472 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
    13473 case $ac_cv_c_bigendian in
    13474   yes)
    13475 
    13476 cat >>confdefs.h <<\_ACEOF
    13477 #define WORDS_BIGENDIAN 1
    13478 _ACEOF
    13479  ;;
    13480   no)
    13481      ;;
    13482   *)
    13483     { { echo "$as_me:$LINENO: error: unknown endianness
    13484 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    13485 echo "$as_me: error: unknown endianness
    13486 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    13487    { (exit 1); exit 1; }; } ;;
    13488 esac
    13489 
    13490 { echo "$as_me:$LINENO: checking for int" >&5
    13491 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
    13492 if test "${ac_cv_type_int+set}" = set; then
    13493   echo $ECHO_N "(cached) $ECHO_C" >&6
    13494 else
    13495   cat >conftest.$ac_ext <<_ACEOF
    13496 /* confdefs.h.  */
    13497 _ACEOF
    13498 cat confdefs.h >>conftest.$ac_ext
    13499 cat >>conftest.$ac_ext <<_ACEOF
    13500 /* end confdefs.h.  */
    13501 $ac_includes_default
    13502 typedef int ac__type_new_;
    13503 int
    13504 main ()
    13505 {
    13506 if ((ac__type_new_ *) 0)
    13507   return 0;
    13508 if (sizeof (ac__type_new_))
    13509   return 0;
    13510   ;
    13511   return 0;
    13512 }
    13513 _ACEOF
    13514 rm -f conftest.$ac_objext
    13515 if { (ac_try="$ac_compile"
    13516 case "(($ac_try" in
    13517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13518   *) ac_try_echo=$ac_try;;
    13519 esac
    13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13521   (eval "$ac_compile") 2>conftest.er1
    13522   ac_status=$?
    13523   grep -v '^ *+' conftest.er1 >conftest.err
    13524   rm -f conftest.er1
    13525   cat conftest.err >&5
    13526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13527   (exit $ac_status); } && {
    13528          test -z "$ac_cxx_werror_flag" ||
    13529          test ! -s conftest.err
    13530        } && test -s conftest.$ac_objext; then
    13531   ac_cv_type_int=yes
    13532 else
    13533   echo "$as_me: failed program was:" >&5
    13534 sed 's/^/| /' conftest.$ac_ext >&5
    13535 
    13536         ac_cv_type_int=no
    13537 fi
    13538 
    13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13540 fi
    13541 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
    13542 echo "${ECHO_T}$ac_cv_type_int" >&6; }
     8623  ac_cv_c_bigendian=yes
     8624fi
     8625rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     8626  conftest.$ac_objext conftest.beam conftest.$ac_ext
     8627fi
     8628
     8629    fi
     8630fi
     8631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     8632$as_echo "$ac_cv_c_bigendian" >&6; }
     8633 case $ac_cv_c_bigendian in #(
     8634   yes)
     8635     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     8636;; #(
     8637   no)
     8638      ;; #(
     8639   universal)
     8640
     8641$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     8642
     8643     ;; #(
     8644   *)
     8645     as_fn_error "unknown endianness
     8646 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     8647 esac
    135438648
    135448649# The cast to long int works around a bug in the HP C Compiler
     
    135468651# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    135478652# This bug is HP SR number 8606223364.
    13548 { echo "$as_me:$LINENO: checking size of int" >&5
    13549 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
    13550 if test "${ac_cv_sizeof_int+set}" = set; then
    13551   echo $ECHO_N "(cached) $ECHO_C" >&6
    13552 else
    13553   if test "$cross_compiling" = yes; then
    13554   # Depending upon the size, compute the lo and hi bounds.
    13555 cat >conftest.$ac_ext <<_ACEOF
    13556 /* confdefs.h.  */
    13557 _ACEOF
    13558 cat confdefs.h >>conftest.$ac_ext
    13559 cat >>conftest.$ac_ext <<_ACEOF
    13560 /* end confdefs.h.  */
    13561 $ac_includes_default
    13562    typedef int ac__type_sizeof_;
    13563 int
    13564 main ()
    13565 {
    13566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    13567 test_array [0] = 0
    13568 
    13569   ;
    13570   return 0;
    13571 }
    13572 _ACEOF
    13573 rm -f conftest.$ac_objext
    13574 if { (ac_try="$ac_compile"
    13575 case "(($ac_try" in
    13576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13577   *) ac_try_echo=$ac_try;;
    13578 esac
    13579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13580   (eval "$ac_compile") 2>conftest.er1
    13581   ac_status=$?
    13582   grep -v '^ *+' conftest.er1 >conftest.err
    13583   rm -f conftest.er1
    13584   cat conftest.err >&5
    13585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13586   (exit $ac_status); } && {
    13587          test -z "$ac_cxx_werror_flag" ||
    13588          test ! -s conftest.err
    13589        } && test -s conftest.$ac_objext; then
    13590   ac_lo=0 ac_mid=0
    13591   while :; do
    13592     cat >conftest.$ac_ext <<_ACEOF
    13593 /* confdefs.h.  */
    13594 _ACEOF
    13595 cat confdefs.h >>conftest.$ac_ext
    13596 cat >>conftest.$ac_ext <<_ACEOF
    13597 /* end confdefs.h.  */
    13598 $ac_includes_default
    13599    typedef int ac__type_sizeof_;
    13600 int
    13601 main ()
    13602 {
    13603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    13604 test_array [0] = 0
    13605 
    13606   ;
    13607   return 0;
    13608 }
    13609 _ACEOF
    13610 rm -f conftest.$ac_objext
    13611 if { (ac_try="$ac_compile"
    13612 case "(($ac_try" in
    13613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13614   *) ac_try_echo=$ac_try;;
    13615 esac
    13616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13617   (eval "$ac_compile") 2>conftest.er1
    13618   ac_status=$?
    13619   grep -v '^ *+' conftest.er1 >conftest.err
    13620   rm -f conftest.er1
    13621   cat conftest.err >&5
    13622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13623   (exit $ac_status); } && {
    13624          test -z "$ac_cxx_werror_flag" ||
    13625          test ! -s conftest.err
    13626        } && test -s conftest.$ac_objext; then
    13627   ac_hi=$ac_mid; break
    13628 else
    13629   echo "$as_me: failed program was:" >&5
    13630 sed 's/^/| /' conftest.$ac_ext >&5
    13631 
    13632         ac_lo=`expr $ac_mid + 1`
    13633                         if test $ac_lo -le $ac_mid; then
    13634                           ac_lo= ac_hi=
    13635                           break
    13636                         fi
    13637                         ac_mid=`expr 2 '*' $ac_mid + 1`
    13638 fi
    13639 
    13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13641   done
    13642 else
    13643   echo "$as_me: failed program was:" >&5
    13644 sed 's/^/| /' conftest.$ac_ext >&5
    13645 
    13646         cat >conftest.$ac_ext <<_ACEOF
    13647 /* confdefs.h.  */
    13648 _ACEOF
    13649 cat confdefs.h >>conftest.$ac_ext
    13650 cat >>conftest.$ac_ext <<_ACEOF
    13651 /* end confdefs.h.  */
    13652 $ac_includes_default
    13653    typedef int ac__type_sizeof_;
    13654 int
    13655 main ()
    13656 {
    13657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    13658 test_array [0] = 0
    13659 
    13660   ;
    13661   return 0;
    13662 }
    13663 _ACEOF
    13664 rm -f conftest.$ac_objext
    13665 if { (ac_try="$ac_compile"
    13666 case "(($ac_try" in
    13667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13668   *) ac_try_echo=$ac_try;;
    13669 esac
    13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13671   (eval "$ac_compile") 2>conftest.er1
    13672   ac_status=$?
    13673   grep -v '^ *+' conftest.er1 >conftest.err
    13674   rm -f conftest.er1
    13675   cat conftest.err >&5
    13676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13677   (exit $ac_status); } && {
    13678          test -z "$ac_cxx_werror_flag" ||
    13679          test ! -s conftest.err
    13680        } && test -s conftest.$ac_objext; then
    13681   ac_hi=-1 ac_mid=-1
    13682   while :; do
    13683     cat >conftest.$ac_ext <<_ACEOF
    13684 /* confdefs.h.  */
    13685 _ACEOF
    13686 cat confdefs.h >>conftest.$ac_ext
    13687 cat >>conftest.$ac_ext <<_ACEOF
    13688 /* end confdefs.h.  */
    13689 $ac_includes_default
    13690    typedef int ac__type_sizeof_;
    13691 int
    13692 main ()
    13693 {
    13694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    13695 test_array [0] = 0
    13696 
    13697   ;
    13698   return 0;
    13699 }
    13700 _ACEOF
    13701 rm -f conftest.$ac_objext
    13702 if { (ac_try="$ac_compile"
    13703 case "(($ac_try" in
    13704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13705   *) ac_try_echo=$ac_try;;
    13706 esac
    13707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13708   (eval "$ac_compile") 2>conftest.er1
    13709   ac_status=$?
    13710   grep -v '^ *+' conftest.er1 >conftest.err
    13711   rm -f conftest.er1
    13712   cat conftest.err >&5
    13713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13714   (exit $ac_status); } && {
    13715          test -z "$ac_cxx_werror_flag" ||
    13716          test ! -s conftest.err
    13717        } && test -s conftest.$ac_objext; then
    13718   ac_lo=$ac_mid; break
    13719 else
    13720   echo "$as_me: failed program was:" >&5
    13721 sed 's/^/| /' conftest.$ac_ext >&5
    13722 
    13723         ac_hi=`expr '(' $ac_mid ')' - 1`
    13724                         if test $ac_mid -le $ac_hi; then
    13725                           ac_lo= ac_hi=
    13726                           break
    13727                         fi
    13728                         ac_mid=`expr 2 '*' $ac_mid`
    13729 fi
    13730 
    13731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13732   done
    13733 else
    13734   echo "$as_me: failed program was:" >&5
    13735 sed 's/^/| /' conftest.$ac_ext >&5
    13736 
    13737         ac_lo= ac_hi=
    13738 fi
    13739 
    13740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13741 fi
    13742 
    13743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13744 # Binary search between lo and hi bounds.
    13745 while test "x$ac_lo" != "x$ac_hi"; do
    13746   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    13747   cat >conftest.$ac_ext <<_ACEOF
    13748 /* confdefs.h.  */
    13749 _ACEOF
    13750 cat confdefs.h >>conftest.$ac_ext
    13751 cat >>conftest.$ac_ext <<_ACEOF
    13752 /* end confdefs.h.  */
    13753 $ac_includes_default
    13754    typedef int ac__type_sizeof_;
    13755 int
    13756 main ()
    13757 {
    13758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    13759 test_array [0] = 0
    13760 
    13761   ;
    13762   return 0;
    13763 }
    13764 _ACEOF
    13765 rm -f conftest.$ac_objext
    13766 if { (ac_try="$ac_compile"
    13767 case "(($ac_try" in
    13768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13769   *) ac_try_echo=$ac_try;;
    13770 esac
    13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13772   (eval "$ac_compile") 2>conftest.er1
    13773   ac_status=$?
    13774   grep -v '^ *+' conftest.er1 >conftest.err
    13775   rm -f conftest.er1
    13776   cat conftest.err >&5
    13777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13778   (exit $ac_status); } && {
    13779          test -z "$ac_cxx_werror_flag" ||
    13780          test ! -s conftest.err
    13781        } && test -s conftest.$ac_objext; then
    13782   ac_hi=$ac_mid
    13783 else
    13784   echo "$as_me: failed program was:" >&5
    13785 sed 's/^/| /' conftest.$ac_ext >&5
    13786 
    13787         ac_lo=`expr '(' $ac_mid ')' + 1`
    13788 fi
    13789 
    13790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13791 done
    13792 case $ac_lo in
    13793 ?*) ac_cv_sizeof_int=$ac_lo;;
    13794 '') if test "$ac_cv_type_int" = yes; then
    13795      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    13796 See \`config.log' for more details." >&5
    13797 echo "$as_me: error: cannot compute sizeof (int)
    13798 See \`config.log' for more details." >&2;}
    13799    { (exit 77); exit 77; }; }
    13800    else
    13801      ac_cv_sizeof_int=0
    13802    fi ;;
    13803 esac
    13804 else
    13805   cat >conftest.$ac_ext <<_ACEOF
    13806 /* confdefs.h.  */
    13807 _ACEOF
    13808 cat confdefs.h >>conftest.$ac_ext
    13809 cat >>conftest.$ac_ext <<_ACEOF
    13810 /* end confdefs.h.  */
    13811 $ac_includes_default
    13812    typedef int ac__type_sizeof_;
    13813 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    13814 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    13815 #include <stdio.h>
    13816 #include <stdlib.h>
    13817 int
    13818 main ()
    13819 {
    13820 
    13821   FILE *f = fopen ("conftest.val", "w");
    13822   if (! f)
    13823     return 1;
    13824   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    13825     {
    13826       long int i = longval ();
    13827       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    13828         return 1;
    13829       fprintf (f, "%ld\n", i);
    13830     }
    13831   else
    13832     {
    13833       unsigned long int i = ulongval ();
    13834       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    13835         return 1;
    13836       fprintf (f, "%lu\n", i);
    13837     }
    13838   return ferror (f) || fclose (f) != 0;
    13839 
    13840   ;
    13841   return 0;
    13842 }
    13843 _ACEOF
    13844 rm -f conftest$ac_exeext
    13845 if { (ac_try="$ac_link"
    13846 case "(($ac_try" in
    13847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13848   *) ac_try_echo=$ac_try;;
    13849 esac
    13850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13851   (eval "$ac_link") 2>&5
    13852   ac_status=$?
    13853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13854   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    13855   { (case "(($ac_try" in
    13856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13857   *) ac_try_echo=$ac_try;;
    13858 esac
    13859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13860   (eval "$ac_try") 2>&5
    13861   ac_status=$?
    13862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13863   (exit $ac_status); }; }; then
    13864   ac_cv_sizeof_int=`cat conftest.val`
    13865 else
    13866   echo "$as_me: program exited with status $ac_status" >&5
    13867 echo "$as_me: failed program was:" >&5
    13868 sed 's/^/| /' conftest.$ac_ext >&5
    13869 
    13870 ( exit $ac_status )
    13871 if test "$ac_cv_type_int" = yes; then
    13872      { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    13873 See \`config.log' for more details." >&5
    13874 echo "$as_me: error: cannot compute sizeof (int)
    13875 See \`config.log' for more details." >&2;}
    13876    { (exit 77); exit 77; }; }
     8653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     8654$as_echo_n "checking size of int... " >&6; }
     8655if test "${ac_cv_sizeof_int+set}" = set; then :
     8656  $as_echo_n "(cached) " >&6
     8657else
     8658  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     8659
     8660else
     8661  if test "$ac_cv_type_int" = yes; then
     8662     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8663$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8664{ as_fn_set_status 77
     8665as_fn_error "cannot compute sizeof (int)
     8666See \`config.log' for more details." "$LINENO" 5; }; }
    138778667   else
    138788668     ac_cv_sizeof_int=0
    138798669   fi
    138808670fi
    13881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    13882 fi
    13883 rm -f conftest.val
    13884 fi
    13885 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    13886 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
     8671
     8672fi
     8673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     8674$as_echo "$ac_cv_sizeof_int" >&6; }
    138878675
    138888676
     
    138928680_ACEOF
    138938681
    13894 
    13895 { echo "$as_me:$LINENO: checking for long" >&5
    13896 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
    13897 if test "${ac_cv_type_long+set}" = set; then
    13898   echo $ECHO_N "(cached) $ECHO_C" >&6
    13899 else
    13900   cat >conftest.$ac_ext <<_ACEOF
    13901 /* confdefs.h.  */
    13902 _ACEOF
    13903 cat confdefs.h >>conftest.$ac_ext
    13904 cat >>conftest.$ac_ext <<_ACEOF
    13905 /* end confdefs.h.  */
    13906 $ac_includes_default
    13907 typedef long ac__type_new_;
    13908 int
    13909 main ()
    13910 {
    13911 if ((ac__type_new_ *) 0)
    13912   return 0;
    13913 if (sizeof (ac__type_new_))
    13914   return 0;
    13915   ;
    13916   return 0;
    13917 }
    13918 _ACEOF
    13919 rm -f conftest.$ac_objext
    13920 if { (ac_try="$ac_compile"
    13921 case "(($ac_try" in
    13922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13923   *) ac_try_echo=$ac_try;;
    13924 esac
    13925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13926   (eval "$ac_compile") 2>conftest.er1
    13927   ac_status=$?
    13928   grep -v '^ *+' conftest.er1 >conftest.err
    13929   rm -f conftest.er1
    13930   cat conftest.err >&5
    13931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13932   (exit $ac_status); } && {
    13933          test -z "$ac_cxx_werror_flag" ||
    13934          test ! -s conftest.err
    13935        } && test -s conftest.$ac_objext; then
    13936   ac_cv_type_long=yes
    13937 else
    13938   echo "$as_me: failed program was:" >&5
    13939 sed 's/^/| /' conftest.$ac_ext >&5
    13940 
    13941         ac_cv_type_long=no
    13942 fi
    13943 
    13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13945 fi
    13946 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
    13947 echo "${ECHO_T}$ac_cv_type_long" >&6; }
    139488682
    139498683# The cast to long int works around a bug in the HP C Compiler
     
    139518685# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    139528686# This bug is HP SR number 8606223364.
    13953 { echo "$as_me:$LINENO: checking size of long" >&5
    13954 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
    13955 if test "${ac_cv_sizeof_long+set}" = set; then
    13956   echo $ECHO_N "(cached) $ECHO_C" >&6
    13957 else
    13958   if test "$cross_compiling" = yes; then
    13959   # Depending upon the size, compute the lo and hi bounds.
    13960 cat >conftest.$ac_ext <<_ACEOF
    13961 /* confdefs.h.  */
    13962 _ACEOF
    13963 cat confdefs.h >>conftest.$ac_ext
    13964 cat >>conftest.$ac_ext <<_ACEOF
    13965 /* end confdefs.h.  */
    13966 $ac_includes_default
    13967    typedef long ac__type_sizeof_;
    13968 int
    13969 main ()
    13970 {
    13971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    13972 test_array [0] = 0
    13973 
    13974   ;
    13975   return 0;
    13976 }
    13977 _ACEOF
    13978 rm -f conftest.$ac_objext
    13979 if { (ac_try="$ac_compile"
    13980 case "(($ac_try" in
    13981   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13982   *) ac_try_echo=$ac_try;;
    13983 esac
    13984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    13985   (eval "$ac_compile") 2>conftest.er1
    13986   ac_status=$?
    13987   grep -v '^ *+' conftest.er1 >conftest.err
    13988   rm -f conftest.er1
    13989   cat conftest.err >&5
    13990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13991   (exit $ac_status); } && {
    13992          test -z "$ac_cxx_werror_flag" ||
    13993          test ! -s conftest.err
    13994        } && test -s conftest.$ac_objext; then
    13995   ac_lo=0 ac_mid=0
    13996   while :; do
    13997     cat >conftest.$ac_ext <<_ACEOF
    13998 /* confdefs.h.  */
    13999 _ACEOF
    14000 cat confdefs.h >>conftest.$ac_ext
    14001 cat >>conftest.$ac_ext <<_ACEOF
    14002 /* end confdefs.h.  */
    14003 $ac_includes_default
    14004    typedef long ac__type_sizeof_;
    14005 int
    14006 main ()
    14007 {
    14008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14009 test_array [0] = 0
    14010 
    14011   ;
    14012   return 0;
    14013 }
    14014 _ACEOF
    14015 rm -f conftest.$ac_objext
    14016 if { (ac_try="$ac_compile"
    14017 case "(($ac_try" in
    14018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14019   *) ac_try_echo=$ac_try;;
    14020 esac
    14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14022   (eval "$ac_compile") 2>conftest.er1
    14023   ac_status=$?
    14024   grep -v '^ *+' conftest.er1 >conftest.err
    14025   rm -f conftest.er1
    14026   cat conftest.err >&5
    14027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14028   (exit $ac_status); } && {
    14029          test -z "$ac_cxx_werror_flag" ||
    14030          test ! -s conftest.err
    14031        } && test -s conftest.$ac_objext; then
    14032   ac_hi=$ac_mid; break
    14033 else
    14034   echo "$as_me: failed program was:" >&5
    14035 sed 's/^/| /' conftest.$ac_ext >&5
    14036 
    14037         ac_lo=`expr $ac_mid + 1`
    14038                         if test $ac_lo -le $ac_mid; then
    14039                           ac_lo= ac_hi=
    14040                           break
    14041                         fi
    14042                         ac_mid=`expr 2 '*' $ac_mid + 1`
    14043 fi
    14044 
    14045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14046   done
    14047 else
    14048   echo "$as_me: failed program was:" >&5
    14049 sed 's/^/| /' conftest.$ac_ext >&5
    14050 
    14051         cat >conftest.$ac_ext <<_ACEOF
    14052 /* confdefs.h.  */
    14053 _ACEOF
    14054 cat confdefs.h >>conftest.$ac_ext
    14055 cat >>conftest.$ac_ext <<_ACEOF
    14056 /* end confdefs.h.  */
    14057 $ac_includes_default
    14058    typedef long ac__type_sizeof_;
    14059 int
    14060 main ()
    14061 {
    14062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    14063 test_array [0] = 0
    14064 
    14065   ;
    14066   return 0;
    14067 }
    14068 _ACEOF
    14069 rm -f conftest.$ac_objext
    14070 if { (ac_try="$ac_compile"
    14071 case "(($ac_try" in
    14072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14073   *) ac_try_echo=$ac_try;;
    14074 esac
    14075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14076   (eval "$ac_compile") 2>conftest.er1
    14077   ac_status=$?
    14078   grep -v '^ *+' conftest.er1 >conftest.err
    14079   rm -f conftest.er1
    14080   cat conftest.err >&5
    14081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14082   (exit $ac_status); } && {
    14083          test -z "$ac_cxx_werror_flag" ||
    14084          test ! -s conftest.err
    14085        } && test -s conftest.$ac_objext; then
    14086   ac_hi=-1 ac_mid=-1
    14087   while :; do
    14088     cat >conftest.$ac_ext <<_ACEOF
    14089 /* confdefs.h.  */
    14090 _ACEOF
    14091 cat confdefs.h >>conftest.$ac_ext
    14092 cat >>conftest.$ac_ext <<_ACEOF
    14093 /* end confdefs.h.  */
    14094 $ac_includes_default
    14095    typedef long ac__type_sizeof_;
    14096 int
    14097 main ()
    14098 {
    14099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    14100 test_array [0] = 0
    14101 
    14102   ;
    14103   return 0;
    14104 }
    14105 _ACEOF
    14106 rm -f conftest.$ac_objext
    14107 if { (ac_try="$ac_compile"
    14108 case "(($ac_try" in
    14109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14110   *) ac_try_echo=$ac_try;;
    14111 esac
    14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14113   (eval "$ac_compile") 2>conftest.er1
    14114   ac_status=$?
    14115   grep -v '^ *+' conftest.er1 >conftest.err
    14116   rm -f conftest.er1
    14117   cat conftest.err >&5
    14118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14119   (exit $ac_status); } && {
    14120          test -z "$ac_cxx_werror_flag" ||
    14121          test ! -s conftest.err
    14122        } && test -s conftest.$ac_objext; then
    14123   ac_lo=$ac_mid; break
    14124 else
    14125   echo "$as_me: failed program was:" >&5
    14126 sed 's/^/| /' conftest.$ac_ext >&5
    14127 
    14128         ac_hi=`expr '(' $ac_mid ')' - 1`
    14129                         if test $ac_mid -le $ac_hi; then
    14130                           ac_lo= ac_hi=
    14131                           break
    14132                         fi
    14133                         ac_mid=`expr 2 '*' $ac_mid`
    14134 fi
    14135 
    14136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14137   done
    14138 else
    14139   echo "$as_me: failed program was:" >&5
    14140 sed 's/^/| /' conftest.$ac_ext >&5
    14141 
    14142         ac_lo= ac_hi=
    14143 fi
    14144 
    14145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14146 fi
    14147 
    14148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14149 # Binary search between lo and hi bounds.
    14150 while test "x$ac_lo" != "x$ac_hi"; do
    14151   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    14152   cat >conftest.$ac_ext <<_ACEOF
    14153 /* confdefs.h.  */
    14154 _ACEOF
    14155 cat confdefs.h >>conftest.$ac_ext
    14156 cat >>conftest.$ac_ext <<_ACEOF
    14157 /* end confdefs.h.  */
    14158 $ac_includes_default
    14159    typedef long ac__type_sizeof_;
    14160 int
    14161 main ()
    14162 {
    14163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14164 test_array [0] = 0
    14165 
    14166   ;
    14167   return 0;
    14168 }
    14169 _ACEOF
    14170 rm -f conftest.$ac_objext
    14171 if { (ac_try="$ac_compile"
    14172 case "(($ac_try" in
    14173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14174   *) ac_try_echo=$ac_try;;
    14175 esac
    14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14177   (eval "$ac_compile") 2>conftest.er1
    14178   ac_status=$?
    14179   grep -v '^ *+' conftest.er1 >conftest.err
    14180   rm -f conftest.er1
    14181   cat conftest.err >&5
    14182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14183   (exit $ac_status); } && {
    14184          test -z "$ac_cxx_werror_flag" ||
    14185          test ! -s conftest.err
    14186        } && test -s conftest.$ac_objext; then
    14187   ac_hi=$ac_mid
    14188 else
    14189   echo "$as_me: failed program was:" >&5
    14190 sed 's/^/| /' conftest.$ac_ext >&5
    14191 
    14192         ac_lo=`expr '(' $ac_mid ')' + 1`
    14193 fi
    14194 
    14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14196 done
    14197 case $ac_lo in
    14198 ?*) ac_cv_sizeof_long=$ac_lo;;
    14199 '') if test "$ac_cv_type_long" = yes; then
    14200      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    14201 See \`config.log' for more details." >&5
    14202 echo "$as_me: error: cannot compute sizeof (long)
    14203 See \`config.log' for more details." >&2;}
    14204    { (exit 77); exit 77; }; }
    14205    else
    14206      ac_cv_sizeof_long=0
    14207    fi ;;
    14208 esac
    14209 else
    14210   cat >conftest.$ac_ext <<_ACEOF
    14211 /* confdefs.h.  */
    14212 _ACEOF
    14213 cat confdefs.h >>conftest.$ac_ext
    14214 cat >>conftest.$ac_ext <<_ACEOF
    14215 /* end confdefs.h.  */
    14216 $ac_includes_default
    14217    typedef long ac__type_sizeof_;
    14218 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    14219 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    14220 #include <stdio.h>
    14221 #include <stdlib.h>
    14222 int
    14223 main ()
    14224 {
    14225 
    14226   FILE *f = fopen ("conftest.val", "w");
    14227   if (! f)
    14228     return 1;
    14229   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    14230     {
    14231       long int i = longval ();
    14232       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    14233         return 1;
    14234       fprintf (f, "%ld\n", i);
    14235     }
    14236   else
    14237     {
    14238       unsigned long int i = ulongval ();
    14239       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    14240         return 1;
    14241       fprintf (f, "%lu\n", i);
    14242     }
    14243   return ferror (f) || fclose (f) != 0;
    14244 
    14245   ;
    14246   return 0;
    14247 }
    14248 _ACEOF
    14249 rm -f conftest$ac_exeext
    14250 if { (ac_try="$ac_link"
    14251 case "(($ac_try" in
    14252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14253   *) ac_try_echo=$ac_try;;
    14254 esac
    14255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14256   (eval "$ac_link") 2>&5
    14257   ac_status=$?
    14258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14259   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    14260   { (case "(($ac_try" in
    14261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14262   *) ac_try_echo=$ac_try;;
    14263 esac
    14264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14265   (eval "$ac_try") 2>&5
    14266   ac_status=$?
    14267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14268   (exit $ac_status); }; }; then
    14269   ac_cv_sizeof_long=`cat conftest.val`
    14270 else
    14271   echo "$as_me: program exited with status $ac_status" >&5
    14272 echo "$as_me: failed program was:" >&5
    14273 sed 's/^/| /' conftest.$ac_ext >&5
    14274 
    14275 ( exit $ac_status )
    14276 if test "$ac_cv_type_long" = yes; then
    14277      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    14278 See \`config.log' for more details." >&5
    14279 echo "$as_me: error: cannot compute sizeof (long)
    14280 See \`config.log' for more details." >&2;}
    14281    { (exit 77); exit 77; }; }
     8687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     8688$as_echo_n "checking size of long... " >&6; }
     8689if test "${ac_cv_sizeof_long+set}" = set; then :
     8690  $as_echo_n "(cached) " >&6
     8691else
     8692  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     8693
     8694else
     8695  if test "$ac_cv_type_long" = yes; then
     8696     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8698{ as_fn_set_status 77
     8699as_fn_error "cannot compute sizeof (long)
     8700See \`config.log' for more details." "$LINENO" 5; }; }
    142828701   else
    142838702     ac_cv_sizeof_long=0
    142848703   fi
    142858704fi
    14286 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    14287 fi
    14288 rm -f conftest.val
    14289 fi
    14290 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    14291 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
     8705
     8706fi
     8707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     8708$as_echo "$ac_cv_sizeof_long" >&6; }
    142928709
    142938710
     
    142978714_ACEOF
    142988715
    14299 
    14300 { echo "$as_me:$LINENO: checking for long long" >&5
    14301 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
    14302 if test "${ac_cv_type_long_long+set}" = set; then
    14303   echo $ECHO_N "(cached) $ECHO_C" >&6
    14304 else
    14305   cat >conftest.$ac_ext <<_ACEOF
    14306 /* confdefs.h.  */
    14307 _ACEOF
    14308 cat confdefs.h >>conftest.$ac_ext
    14309 cat >>conftest.$ac_ext <<_ACEOF
    14310 /* end confdefs.h.  */
    14311 $ac_includes_default
    14312 typedef long long ac__type_new_;
    14313 int
    14314 main ()
    14315 {
    14316 if ((ac__type_new_ *) 0)
    14317   return 0;
    14318 if (sizeof (ac__type_new_))
    14319   return 0;
    14320   ;
    14321   return 0;
    14322 }
    14323 _ACEOF
    14324 rm -f conftest.$ac_objext
    14325 if { (ac_try="$ac_compile"
    14326 case "(($ac_try" in
    14327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14328   *) ac_try_echo=$ac_try;;
    14329 esac
    14330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14331   (eval "$ac_compile") 2>conftest.er1
    14332   ac_status=$?
    14333   grep -v '^ *+' conftest.er1 >conftest.err
    14334   rm -f conftest.er1
    14335   cat conftest.err >&5
    14336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14337   (exit $ac_status); } && {
    14338          test -z "$ac_cxx_werror_flag" ||
    14339          test ! -s conftest.err
    14340        } && test -s conftest.$ac_objext; then
    14341   ac_cv_type_long_long=yes
    14342 else
    14343   echo "$as_me: failed program was:" >&5
    14344 sed 's/^/| /' conftest.$ac_ext >&5
    14345 
    14346         ac_cv_type_long_long=no
    14347 fi
    14348 
    14349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14350 fi
    14351 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
    14352 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
    143538716
    143548717# The cast to long int works around a bug in the HP C Compiler
     
    143568719# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    143578720# This bug is HP SR number 8606223364.
    14358 { echo "$as_me:$LINENO: checking size of long long" >&5
    14359 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
    14360 if test "${ac_cv_sizeof_long_long+set}" = set; then
    14361   echo $ECHO_N "(cached) $ECHO_C" >&6
    14362 else
    14363   if test "$cross_compiling" = yes; then
    14364   # Depending upon the size, compute the lo and hi bounds.
    14365 cat >conftest.$ac_ext <<_ACEOF
    14366 /* confdefs.h.  */
    14367 _ACEOF
    14368 cat confdefs.h >>conftest.$ac_ext
    14369 cat >>conftest.$ac_ext <<_ACEOF
    14370 /* end confdefs.h.  */
    14371 $ac_includes_default
    14372    typedef long long ac__type_sizeof_;
    14373 int
    14374 main ()
    14375 {
    14376 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    14377 test_array [0] = 0
    14378 
    14379   ;
    14380   return 0;
    14381 }
    14382 _ACEOF
    14383 rm -f conftest.$ac_objext
    14384 if { (ac_try="$ac_compile"
    14385 case "(($ac_try" in
    14386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14387   *) ac_try_echo=$ac_try;;
    14388 esac
    14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14390   (eval "$ac_compile") 2>conftest.er1
    14391   ac_status=$?
    14392   grep -v '^ *+' conftest.er1 >conftest.err
    14393   rm -f conftest.er1
    14394   cat conftest.err >&5
    14395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14396   (exit $ac_status); } && {
    14397          test -z "$ac_cxx_werror_flag" ||
    14398          test ! -s conftest.err
    14399        } && test -s conftest.$ac_objext; then
    14400   ac_lo=0 ac_mid=0
    14401   while :; do
    14402     cat >conftest.$ac_ext <<_ACEOF
    14403 /* confdefs.h.  */
    14404 _ACEOF
    14405 cat confdefs.h >>conftest.$ac_ext
    14406 cat >>conftest.$ac_ext <<_ACEOF
    14407 /* end confdefs.h.  */
    14408 $ac_includes_default
    14409    typedef long long ac__type_sizeof_;
    14410 int
    14411 main ()
    14412 {
    14413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14414 test_array [0] = 0
    14415 
    14416   ;
    14417   return 0;
    14418 }
    14419 _ACEOF
    14420 rm -f conftest.$ac_objext
    14421 if { (ac_try="$ac_compile"
    14422 case "(($ac_try" in
    14423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14424   *) ac_try_echo=$ac_try;;
    14425 esac
    14426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14427   (eval "$ac_compile") 2>conftest.er1
    14428   ac_status=$?
    14429   grep -v '^ *+' conftest.er1 >conftest.err
    14430   rm -f conftest.er1
    14431   cat conftest.err >&5
    14432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14433   (exit $ac_status); } && {
    14434          test -z "$ac_cxx_werror_flag" ||
    14435          test ! -s conftest.err
    14436        } && test -s conftest.$ac_objext; then
    14437   ac_hi=$ac_mid; break
    14438 else
    14439   echo "$as_me: failed program was:" >&5
    14440 sed 's/^/| /' conftest.$ac_ext >&5
    14441 
    14442         ac_lo=`expr $ac_mid + 1`
    14443                         if test $ac_lo -le $ac_mid; then
    14444                           ac_lo= ac_hi=
    14445                           break
    14446                         fi
    14447                         ac_mid=`expr 2 '*' $ac_mid + 1`
    14448 fi
    14449 
    14450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14451   done
    14452 else
    14453   echo "$as_me: failed program was:" >&5
    14454 sed 's/^/| /' conftest.$ac_ext >&5
    14455 
    14456         cat >conftest.$ac_ext <<_ACEOF
    14457 /* confdefs.h.  */
    14458 _ACEOF
    14459 cat confdefs.h >>conftest.$ac_ext
    14460 cat >>conftest.$ac_ext <<_ACEOF
    14461 /* end confdefs.h.  */
    14462 $ac_includes_default
    14463    typedef long long ac__type_sizeof_;
    14464 int
    14465 main ()
    14466 {
    14467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    14468 test_array [0] = 0
    14469 
    14470   ;
    14471   return 0;
    14472 }
    14473 _ACEOF
    14474 rm -f conftest.$ac_objext
    14475 if { (ac_try="$ac_compile"
    14476 case "(($ac_try" in
    14477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14478   *) ac_try_echo=$ac_try;;
    14479 esac
    14480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14481   (eval "$ac_compile") 2>conftest.er1
    14482   ac_status=$?
    14483   grep -v '^ *+' conftest.er1 >conftest.err
    14484   rm -f conftest.er1
    14485   cat conftest.err >&5
    14486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14487   (exit $ac_status); } && {
    14488          test -z "$ac_cxx_werror_flag" ||
    14489          test ! -s conftest.err
    14490        } && test -s conftest.$ac_objext; then
    14491   ac_hi=-1 ac_mid=-1
    14492   while :; do
    14493     cat >conftest.$ac_ext <<_ACEOF
    14494 /* confdefs.h.  */
    14495 _ACEOF
    14496 cat confdefs.h >>conftest.$ac_ext
    14497 cat >>conftest.$ac_ext <<_ACEOF
    14498 /* end confdefs.h.  */
    14499 $ac_includes_default
    14500    typedef long long ac__type_sizeof_;
    14501 int
    14502 main ()
    14503 {
    14504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    14505 test_array [0] = 0
    14506 
    14507   ;
    14508   return 0;
    14509 }
    14510 _ACEOF
    14511 rm -f conftest.$ac_objext
    14512 if { (ac_try="$ac_compile"
    14513 case "(($ac_try" in
    14514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14515   *) ac_try_echo=$ac_try;;
    14516 esac
    14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14518   (eval "$ac_compile") 2>conftest.er1
    14519   ac_status=$?
    14520   grep -v '^ *+' conftest.er1 >conftest.err
    14521   rm -f conftest.er1
    14522   cat conftest.err >&5
    14523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14524   (exit $ac_status); } && {
    14525          test -z "$ac_cxx_werror_flag" ||
    14526          test ! -s conftest.err
    14527        } && test -s conftest.$ac_objext; then
    14528   ac_lo=$ac_mid; break
    14529 else
    14530   echo "$as_me: failed program was:" >&5
    14531 sed 's/^/| /' conftest.$ac_ext >&5
    14532 
    14533         ac_hi=`expr '(' $ac_mid ')' - 1`
    14534                         if test $ac_mid -le $ac_hi; then
    14535                           ac_lo= ac_hi=
    14536                           break
    14537                         fi
    14538                         ac_mid=`expr 2 '*' $ac_mid`
    14539 fi
    14540 
    14541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14542   done
    14543 else
    14544   echo "$as_me: failed program was:" >&5
    14545 sed 's/^/| /' conftest.$ac_ext >&5
    14546 
    14547         ac_lo= ac_hi=
    14548 fi
    14549 
    14550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14551 fi
    14552 
    14553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14554 # Binary search between lo and hi bounds.
    14555 while test "x$ac_lo" != "x$ac_hi"; do
    14556   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    14557   cat >conftest.$ac_ext <<_ACEOF
    14558 /* confdefs.h.  */
    14559 _ACEOF
    14560 cat confdefs.h >>conftest.$ac_ext
    14561 cat >>conftest.$ac_ext <<_ACEOF
    14562 /* end confdefs.h.  */
    14563 $ac_includes_default
    14564    typedef long long ac__type_sizeof_;
    14565 int
    14566 main ()
    14567 {
    14568 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14569 test_array [0] = 0
    14570 
    14571   ;
    14572   return 0;
    14573 }
    14574 _ACEOF
    14575 rm -f conftest.$ac_objext
    14576 if { (ac_try="$ac_compile"
    14577 case "(($ac_try" in
    14578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14579   *) ac_try_echo=$ac_try;;
    14580 esac
    14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14582   (eval "$ac_compile") 2>conftest.er1
    14583   ac_status=$?
    14584   grep -v '^ *+' conftest.er1 >conftest.err
    14585   rm -f conftest.er1
    14586   cat conftest.err >&5
    14587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14588   (exit $ac_status); } && {
    14589          test -z "$ac_cxx_werror_flag" ||
    14590          test ! -s conftest.err
    14591        } && test -s conftest.$ac_objext; then
    14592   ac_hi=$ac_mid
    14593 else
    14594   echo "$as_me: failed program was:" >&5
    14595 sed 's/^/| /' conftest.$ac_ext >&5
    14596 
    14597         ac_lo=`expr '(' $ac_mid ')' + 1`
    14598 fi
    14599 
    14600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14601 done
    14602 case $ac_lo in
    14603 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    14604 '') if test "$ac_cv_type_long_long" = yes; then
    14605      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    14606 See \`config.log' for more details." >&5
    14607 echo "$as_me: error: cannot compute sizeof (long long)
    14608 See \`config.log' for more details." >&2;}
    14609    { (exit 77); exit 77; }; }
    14610    else
    14611      ac_cv_sizeof_long_long=0
    14612    fi ;;
    14613 esac
    14614 else
    14615   cat >conftest.$ac_ext <<_ACEOF
    14616 /* confdefs.h.  */
    14617 _ACEOF
    14618 cat confdefs.h >>conftest.$ac_ext
    14619 cat >>conftest.$ac_ext <<_ACEOF
    14620 /* end confdefs.h.  */
    14621 $ac_includes_default
    14622    typedef long long ac__type_sizeof_;
    14623 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    14624 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    14625 #include <stdio.h>
    14626 #include <stdlib.h>
    14627 int
    14628 main ()
    14629 {
    14630 
    14631   FILE *f = fopen ("conftest.val", "w");
    14632   if (! f)
    14633     return 1;
    14634   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    14635     {
    14636       long int i = longval ();
    14637       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    14638         return 1;
    14639       fprintf (f, "%ld\n", i);
    14640     }
    14641   else
    14642     {
    14643       unsigned long int i = ulongval ();
    14644       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    14645         return 1;
    14646       fprintf (f, "%lu\n", i);
    14647     }
    14648   return ferror (f) || fclose (f) != 0;
    14649 
    14650   ;
    14651   return 0;
    14652 }
    14653 _ACEOF
    14654 rm -f conftest$ac_exeext
    14655 if { (ac_try="$ac_link"
    14656 case "(($ac_try" in
    14657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14658   *) ac_try_echo=$ac_try;;
    14659 esac
    14660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14661   (eval "$ac_link") 2>&5
    14662   ac_status=$?
    14663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14664   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    14665   { (case "(($ac_try" in
    14666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14667   *) ac_try_echo=$ac_try;;
    14668 esac
    14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14670   (eval "$ac_try") 2>&5
    14671   ac_status=$?
    14672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14673   (exit $ac_status); }; }; then
    14674   ac_cv_sizeof_long_long=`cat conftest.val`
    14675 else
    14676   echo "$as_me: program exited with status $ac_status" >&5
    14677 echo "$as_me: failed program was:" >&5
    14678 sed 's/^/| /' conftest.$ac_ext >&5
    14679 
    14680 ( exit $ac_status )
    14681 if test "$ac_cv_type_long_long" = yes; then
    14682      { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    14683 See \`config.log' for more details." >&5
    14684 echo "$as_me: error: cannot compute sizeof (long long)
    14685 See \`config.log' for more details." >&2;}
    14686    { (exit 77); exit 77; }; }
     8721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     8722$as_echo_n "checking size of long long... " >&6; }
     8723if test "${ac_cv_sizeof_long_long+set}" = set; then :
     8724  $as_echo_n "(cached) " >&6
     8725else
     8726  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     8727
     8728else
     8729  if test "$ac_cv_type_long_long" = yes; then
     8730     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8732{ as_fn_set_status 77
     8733as_fn_error "cannot compute sizeof (long long)
     8734See \`config.log' for more details." "$LINENO" 5; }; }
    146878735   else
    146888736     ac_cv_sizeof_long_long=0
    146898737   fi
    146908738fi
    14691 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    14692 fi
    14693 rm -f conftest.val
    14694 fi
    14695 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
    14696 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
     8739
     8740fi
     8741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     8742$as_echo "$ac_cv_sizeof_long_long" >&6; }
    146978743
    146988744
     
    147028748_ACEOF
    147038749
    14704 
    14705 { echo "$as_me:$LINENO: checking for void *" >&5
    14706 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
    14707 if test "${ac_cv_type_void_p+set}" = set; then
    14708   echo $ECHO_N "(cached) $ECHO_C" >&6
    14709 else
    14710   cat >conftest.$ac_ext <<_ACEOF
    14711 /* confdefs.h.  */
    14712 _ACEOF
    14713 cat confdefs.h >>conftest.$ac_ext
    14714 cat >>conftest.$ac_ext <<_ACEOF
    14715 /* end confdefs.h.  */
    14716 $ac_includes_default
    14717 typedef void * ac__type_new_;
    14718 int
    14719 main ()
    14720 {
    14721 if ((ac__type_new_ *) 0)
    14722   return 0;
    14723 if (sizeof (ac__type_new_))
    14724   return 0;
    14725   ;
    14726   return 0;
    14727 }
    14728 _ACEOF
    14729 rm -f conftest.$ac_objext
    14730 if { (ac_try="$ac_compile"
    14731 case "(($ac_try" in
    14732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14733   *) ac_try_echo=$ac_try;;
    14734 esac
    14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14736   (eval "$ac_compile") 2>conftest.er1
    14737   ac_status=$?
    14738   grep -v '^ *+' conftest.er1 >conftest.err
    14739   rm -f conftest.er1
    14740   cat conftest.err >&5
    14741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14742   (exit $ac_status); } && {
    14743          test -z "$ac_cxx_werror_flag" ||
    14744          test ! -s conftest.err
    14745        } && test -s conftest.$ac_objext; then
    14746   ac_cv_type_void_p=yes
    14747 else
    14748   echo "$as_me: failed program was:" >&5
    14749 sed 's/^/| /' conftest.$ac_ext >&5
    14750 
    14751         ac_cv_type_void_p=no
    14752 fi
    14753 
    14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14755 fi
    14756 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
    14757 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
    147588750
    147598751# The cast to long int works around a bug in the HP C Compiler
     
    147618753# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    147628754# This bug is HP SR number 8606223364.
    14763 { echo "$as_me:$LINENO: checking size of void *" >&5
    14764 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
    14765 if test "${ac_cv_sizeof_void_p+set}" = set; then
    14766   echo $ECHO_N "(cached) $ECHO_C" >&6
    14767 else
    14768   if test "$cross_compiling" = yes; then
    14769   # Depending upon the size, compute the lo and hi bounds.
    14770 cat >conftest.$ac_ext <<_ACEOF
    14771 /* confdefs.h.  */
    14772 _ACEOF
    14773 cat confdefs.h >>conftest.$ac_ext
    14774 cat >>conftest.$ac_ext <<_ACEOF
    14775 /* end confdefs.h.  */
    14776 $ac_includes_default
    14777    typedef void * ac__type_sizeof_;
    14778 int
    14779 main ()
    14780 {
    14781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
    14782 test_array [0] = 0
    14783 
    14784   ;
    14785   return 0;
    14786 }
    14787 _ACEOF
    14788 rm -f conftest.$ac_objext
    14789 if { (ac_try="$ac_compile"
    14790 case "(($ac_try" in
    14791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14792   *) ac_try_echo=$ac_try;;
    14793 esac
    14794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14795   (eval "$ac_compile") 2>conftest.er1
    14796   ac_status=$?
    14797   grep -v '^ *+' conftest.er1 >conftest.err
    14798   rm -f conftest.er1
    14799   cat conftest.err >&5
    14800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14801   (exit $ac_status); } && {
    14802          test -z "$ac_cxx_werror_flag" ||
    14803          test ! -s conftest.err
    14804        } && test -s conftest.$ac_objext; then
    14805   ac_lo=0 ac_mid=0
    14806   while :; do
    14807     cat >conftest.$ac_ext <<_ACEOF
    14808 /* confdefs.h.  */
    14809 _ACEOF
    14810 cat confdefs.h >>conftest.$ac_ext
    14811 cat >>conftest.$ac_ext <<_ACEOF
    14812 /* end confdefs.h.  */
    14813 $ac_includes_default
    14814    typedef void * ac__type_sizeof_;
    14815 int
    14816 main ()
    14817 {
    14818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14819 test_array [0] = 0
    14820 
    14821   ;
    14822   return 0;
    14823 }
    14824 _ACEOF
    14825 rm -f conftest.$ac_objext
    14826 if { (ac_try="$ac_compile"
    14827 case "(($ac_try" in
    14828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14829   *) ac_try_echo=$ac_try;;
    14830 esac
    14831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14832   (eval "$ac_compile") 2>conftest.er1
    14833   ac_status=$?
    14834   grep -v '^ *+' conftest.er1 >conftest.err
    14835   rm -f conftest.er1
    14836   cat conftest.err >&5
    14837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14838   (exit $ac_status); } && {
    14839          test -z "$ac_cxx_werror_flag" ||
    14840          test ! -s conftest.err
    14841        } && test -s conftest.$ac_objext; then
    14842   ac_hi=$ac_mid; break
    14843 else
    14844   echo "$as_me: failed program was:" >&5
    14845 sed 's/^/| /' conftest.$ac_ext >&5
    14846 
    14847         ac_lo=`expr $ac_mid + 1`
    14848                         if test $ac_lo -le $ac_mid; then
    14849                           ac_lo= ac_hi=
    14850                           break
    14851                         fi
    14852                         ac_mid=`expr 2 '*' $ac_mid + 1`
    14853 fi
    14854 
    14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14856   done
    14857 else
    14858   echo "$as_me: failed program was:" >&5
    14859 sed 's/^/| /' conftest.$ac_ext >&5
    14860 
    14861         cat >conftest.$ac_ext <<_ACEOF
    14862 /* confdefs.h.  */
    14863 _ACEOF
    14864 cat confdefs.h >>conftest.$ac_ext
    14865 cat >>conftest.$ac_ext <<_ACEOF
    14866 /* end confdefs.h.  */
    14867 $ac_includes_default
    14868    typedef void * ac__type_sizeof_;
    14869 int
    14870 main ()
    14871 {
    14872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
    14873 test_array [0] = 0
    14874 
    14875   ;
    14876   return 0;
    14877 }
    14878 _ACEOF
    14879 rm -f conftest.$ac_objext
    14880 if { (ac_try="$ac_compile"
    14881 case "(($ac_try" in
    14882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14883   *) ac_try_echo=$ac_try;;
    14884 esac
    14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14886   (eval "$ac_compile") 2>conftest.er1
    14887   ac_status=$?
    14888   grep -v '^ *+' conftest.er1 >conftest.err
    14889   rm -f conftest.er1
    14890   cat conftest.err >&5
    14891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14892   (exit $ac_status); } && {
    14893          test -z "$ac_cxx_werror_flag" ||
    14894          test ! -s conftest.err
    14895        } && test -s conftest.$ac_objext; then
    14896   ac_hi=-1 ac_mid=-1
    14897   while :; do
    14898     cat >conftest.$ac_ext <<_ACEOF
    14899 /* confdefs.h.  */
    14900 _ACEOF
    14901 cat confdefs.h >>conftest.$ac_ext
    14902 cat >>conftest.$ac_ext <<_ACEOF
    14903 /* end confdefs.h.  */
    14904 $ac_includes_default
    14905    typedef void * ac__type_sizeof_;
    14906 int
    14907 main ()
    14908 {
    14909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
    14910 test_array [0] = 0
    14911 
    14912   ;
    14913   return 0;
    14914 }
    14915 _ACEOF
    14916 rm -f conftest.$ac_objext
    14917 if { (ac_try="$ac_compile"
    14918 case "(($ac_try" in
    14919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14920   *) ac_try_echo=$ac_try;;
    14921 esac
    14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14923   (eval "$ac_compile") 2>conftest.er1
    14924   ac_status=$?
    14925   grep -v '^ *+' conftest.er1 >conftest.err
    14926   rm -f conftest.er1
    14927   cat conftest.err >&5
    14928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14929   (exit $ac_status); } && {
    14930          test -z "$ac_cxx_werror_flag" ||
    14931          test ! -s conftest.err
    14932        } && test -s conftest.$ac_objext; then
    14933   ac_lo=$ac_mid; break
    14934 else
    14935   echo "$as_me: failed program was:" >&5
    14936 sed 's/^/| /' conftest.$ac_ext >&5
    14937 
    14938         ac_hi=`expr '(' $ac_mid ')' - 1`
    14939                         if test $ac_mid -le $ac_hi; then
    14940                           ac_lo= ac_hi=
    14941                           break
    14942                         fi
    14943                         ac_mid=`expr 2 '*' $ac_mid`
    14944 fi
    14945 
    14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14947   done
    14948 else
    14949   echo "$as_me: failed program was:" >&5
    14950 sed 's/^/| /' conftest.$ac_ext >&5
    14951 
    14952         ac_lo= ac_hi=
    14953 fi
    14954 
    14955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14956 fi
    14957 
    14958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    14959 # Binary search between lo and hi bounds.
    14960 while test "x$ac_lo" != "x$ac_hi"; do
    14961   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    14962   cat >conftest.$ac_ext <<_ACEOF
    14963 /* confdefs.h.  */
    14964 _ACEOF
    14965 cat confdefs.h >>conftest.$ac_ext
    14966 cat >>conftest.$ac_ext <<_ACEOF
    14967 /* end confdefs.h.  */
    14968 $ac_includes_default
    14969    typedef void * ac__type_sizeof_;
    14970 int
    14971 main ()
    14972 {
    14973 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
    14974 test_array [0] = 0
    14975 
    14976   ;
    14977   return 0;
    14978 }
    14979 _ACEOF
    14980 rm -f conftest.$ac_objext
    14981 if { (ac_try="$ac_compile"
    14982 case "(($ac_try" in
    14983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14984   *) ac_try_echo=$ac_try;;
    14985 esac
    14986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    14987   (eval "$ac_compile") 2>conftest.er1
    14988   ac_status=$?
    14989   grep -v '^ *+' conftest.er1 >conftest.err
    14990   rm -f conftest.er1
    14991   cat conftest.err >&5
    14992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14993   (exit $ac_status); } && {
    14994          test -z "$ac_cxx_werror_flag" ||
    14995          test ! -s conftest.err
    14996        } && test -s conftest.$ac_objext; then
    14997   ac_hi=$ac_mid
    14998 else
    14999   echo "$as_me: failed program was:" >&5
    15000 sed 's/^/| /' conftest.$ac_ext >&5
    15001 
    15002         ac_lo=`expr '(' $ac_mid ')' + 1`
    15003 fi
    15004 
    15005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    15006 done
    15007 case $ac_lo in
    15008 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    15009 '') if test "$ac_cv_type_void_p" = yes; then
    15010      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    15011 See \`config.log' for more details." >&5
    15012 echo "$as_me: error: cannot compute sizeof (void *)
    15013 See \`config.log' for more details." >&2;}
    15014    { (exit 77); exit 77; }; }
    15015    else
    15016      ac_cv_sizeof_void_p=0
    15017    fi ;;
    15018 esac
    15019 else
    15020   cat >conftest.$ac_ext <<_ACEOF
    15021 /* confdefs.h.  */
    15022 _ACEOF
    15023 cat confdefs.h >>conftest.$ac_ext
    15024 cat >>conftest.$ac_ext <<_ACEOF
    15025 /* end confdefs.h.  */
    15026 $ac_includes_default
    15027    typedef void * ac__type_sizeof_;
    15028 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
    15029 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
    15030 #include <stdio.h>
    15031 #include <stdlib.h>
    15032 int
    15033 main ()
    15034 {
    15035 
    15036   FILE *f = fopen ("conftest.val", "w");
    15037   if (! f)
    15038     return 1;
    15039   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
    15040     {
    15041       long int i = longval ();
    15042       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    15043         return 1;
    15044       fprintf (f, "%ld\n", i);
    15045     }
    15046   else
    15047     {
    15048       unsigned long int i = ulongval ();
    15049       if (i != ((long int) (sizeof (ac__type_sizeof_))))
    15050         return 1;
    15051       fprintf (f, "%lu\n", i);
    15052     }
    15053   return ferror (f) || fclose (f) != 0;
    15054 
    15055   ;
    15056   return 0;
    15057 }
    15058 _ACEOF
    15059 rm -f conftest$ac_exeext
    15060 if { (ac_try="$ac_link"
    15061 case "(($ac_try" in
    15062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15063   *) ac_try_echo=$ac_try;;
    15064 esac
    15065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    15066   (eval "$ac_link") 2>&5
    15067   ac_status=$?
    15068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15069   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    15070   { (case "(($ac_try" in
    15071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15072   *) ac_try_echo=$ac_try;;
    15073 esac
    15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    15075   (eval "$ac_try") 2>&5
    15076   ac_status=$?
    15077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15078   (exit $ac_status); }; }; then
    15079   ac_cv_sizeof_void_p=`cat conftest.val`
    15080 else
    15081   echo "$as_me: program exited with status $ac_status" >&5
    15082 echo "$as_me: failed program was:" >&5
    15083 sed 's/^/| /' conftest.$ac_ext >&5
    15084 
    15085 ( exit $ac_status )
    15086 if test "$ac_cv_type_void_p" = yes; then
    15087      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    15088 See \`config.log' for more details." >&5
    15089 echo "$as_me: error: cannot compute sizeof (void *)
    15090 See \`config.log' for more details." >&2;}
    15091    { (exit 77); exit 77; }; }
     8755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     8756$as_echo_n "checking size of void *... " >&6; }
     8757if test "${ac_cv_sizeof_void_p+set}" = set; then :
     8758  $as_echo_n "(cached) " >&6
     8759else
     8760  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     8761
     8762else
     8763  if test "$ac_cv_type_void_p" = yes; then
     8764     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8765$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8766{ as_fn_set_status 77
     8767as_fn_error "cannot compute sizeof (void *)
     8768See \`config.log' for more details." "$LINENO" 5; }; }
    150928769   else
    150938770     ac_cv_sizeof_void_p=0
    150948771   fi
    150958772fi
    15096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    15097 fi
    15098 rm -f conftest.val
    15099 fi
    15100 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    15101 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
     8773
     8774fi
     8775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     8776$as_echo "$ac_cv_sizeof_void_p" >&6; }
    151028777
    151038778
     
    151258800
    151268801
    15127     { echo "$as_me:$LINENO: checking for build with symbols" >&5
    15128 echo $ECHO_N "checking for build with symbols... $ECHO_C" >&6; }
     8802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build with symbols" >&5
     8803$as_echo_n "checking for build with symbols... " >&6; }
    151298804    # Check whether --enable-symbols was given.
    15130 if test "${enable_symbols+set}" = set; then
     8805if test "${enable_symbols+set}" = set; then :
    151318806  enableval=$enable_symbols; tcl_ok=$enableval
    151328807else
     
    151398814        LDFLAGS_DEFAULT='$(LDFLAGS_OPTIMIZE)'
    151408815        DBGX=""
    15141         { echo "$as_me:$LINENO: result: no" >&5
    15142 echo "${ECHO_T}no" >&6; }
     8816        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8817$as_echo "no" >&6; }
    151438818    else
    151448819        CFLAGS_DEFAULT='$(CFLAGS_DEBUG)'
     
    151468821        DBGX=g
    151478822        if test "$tcl_ok" = "yes"; then
    15148             { echo "$as_me:$LINENO: result: yes (standard debugging)" >&5
    15149 echo "${ECHO_T}yes (standard debugging)" >&6; }
     8823            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (standard debugging)" >&5
     8824$as_echo "yes (standard debugging)" >&6; }
    151508825        fi
    151518826    fi
     
    151548829
    151558830    if test "$tcl_ok" = "mem" -o "$tcl_ok" = "all"; then
    15156         cat >>confdefs.h <<\_ACEOF
    15157 #define TCL_MEM_DEBUG 1
    15158 _ACEOF
     8831        $as_echo "#define TCL_MEM_DEBUG 1" >>confdefs.h
    151598832
    151608833    fi
    151618834
    151628835    if test "$tcl_ok" = "compile" -o "$tcl_ok" = "all"; then
    15163         cat >>confdefs.h <<\_ACEOF
    15164 #define TCL_COMPILE_DEBUG 1
    15165 _ACEOF
    15166 
    15167         cat >>confdefs.h <<\_ACEOF
    15168 #define TCL_COMPILE_STATS 1
    15169 _ACEOF
     8836        $as_echo "#define TCL_COMPILE_DEBUG 1" >>confdefs.h
     8837
     8838        $as_echo "#define TCL_COMPILE_STATS 1" >>confdefs.h
    151708839
    151718840    fi
     
    151738842    if test "$tcl_ok" != "yes" -a "$tcl_ok" != "no"; then
    151748843        if test "$tcl_ok" = "all"; then
    15175             { echo "$as_me:$LINENO: result: enabled symbols mem compile debugging" >&5
    15176 echo "${ECHO_T}enabled symbols mem compile debugging" >&6; }
     8844            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled symbols mem compile debugging" >&5
     8845$as_echo "enabled symbols mem compile debugging" >&6; }
    151778846        else
    15178             { echo "$as_me:$LINENO: result: enabled $tcl_ok debugging" >&5
    15179 echo "${ECHO_T}enabled $tcl_ok debugging" >&6; }
     8847            { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabled $tcl_ok debugging" >&5
     8848$as_echo "enabled $tcl_ok debugging" >&6; }
    151808849        fi
    151818850    fi
     
    151898858
    151908859ac_configure_args="--disable-threads --enable-shared"
     8860
     8861
    151918862subdirs="$subdirs packages/optimizer/src"
    151928863
    151938864
    15194 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"
     8865ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile src/objects/RpHash.h gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/encodedata gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/flow/Makefile examples/flow/demo1/Makefile examples/flow/demo2/Makefile examples/flow/demo3/Makefile examples/graph/Makefile examples/objects/Makefile examples/objects/axis/Makefile examples/objects/contour/Makefile examples/objects/curve/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/objects/histogram/Makefile examples/objects/library/Makefile examples/objects/number/Makefile examples/objects/path/Makefile examples/objects/plot/Makefile examples/objects/scatter/Makefile examples/objects/string/Makefile examples/objects/tree/Makefile examples/objects/xmlparser/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile"
    151958866
    151968867cat >confcache <<\_ACEOF
     
    152218892    *${as_nl}*)
    152228893      case $ac_var in #(
    15223       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    15224 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     8894      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     8895$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    152258896      esac
    152268897      case $ac_var in #(
    152278898      _ | IFS | as_nl) ;; #(
    15228       *) $as_unset $ac_var ;;
     8899      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     8900      *) { eval $ac_var=; unset $ac_var;} ;;
    152298901      esac ;;
    152308902    esac
     
    152348906    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    152358907    *${as_nl}ac_space=\ *)
    15236       # `set' does not quote correctly, so add quotes (double-quote
    15237       # substitution turns \\\\ into \\, and sed turns \\ into \).
     8908      # `set' does not quote correctly, so add quotes: double-quote
     8909      # substitution turns \\\\ into \\, and sed turns \\ into \.
    152388910      sed -n \
    152398911        "s/'/'\\\\''/g;
     
    152588930  if test -w "$cache_file"; then
    152598931    test "x$cache_file" != "x/dev/null" &&
    15260       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
    15261 echo "$as_me: updating cache $cache_file" >&6;}
     8932      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     8933$as_echo "$as_me: updating cache $cache_file" >&6;}
    152628934    cat confcache >$cache_file
    152638935  else
    15264     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    15265 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     8936    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     8937$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    152668938  fi
    152678939fi
     
    152798951  # 1. Remove the extension, and $U if already installed.
    152808952  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    15281   ac_i=`echo "$ac_i" | sed "$ac_script"`
     8953  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    152828954  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    152838955  #    will be set to the directory where LIBOBJS objects are built.
    15284   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    15285   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     8956  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8957  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    152868958done
    152878959LIBOBJS=$ac_libobjs
     
    152918963
    152928964
     8965
    152938966: ${CONFIG_STATUS=./config.status}
     8967ac_write_fail=0
    152948968ac_clean_files_save=$ac_clean_files
    152958969ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    15296 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    15297 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    15298 cat >$CONFIG_STATUS <<_ACEOF
     8970{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     8971$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     8972as_write_fail=0
     8973cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    152998974#! $SHELL
    153008975# Generated by $as_me.
     
    153068981ac_cs_recheck=false
    153078982ac_cs_silent=false
     8983
    153088984SHELL=\${CONFIG_SHELL-$SHELL}
    15309 _ACEOF
    15310 
    15311 cat >>$CONFIG_STATUS <<\_ACEOF
    15312 ## --------------------- ##
    15313 ## M4sh Initialization.  ##
    15314 ## --------------------- ##
     8985export SHELL
     8986_ASEOF
     8987cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     8988## -------------------- ##
     8989## M4sh Initialization. ##
     8990## -------------------- ##
    153158991
    153168992# Be more Bourne compatible
    153178993DUALCASE=1; export DUALCASE # for MKS sh
    15318 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     8994if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    153198995  emulate sh
    153208996  NULLCMD=:
    15321   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     8997  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    153228998  # is contrary to our usage.  Disable this feature.
    153238999  alias -g '${1+"$@"}'='"$@"'
    153249000  setopt NO_GLOB_SUBST
    153259001else
    15326   case `(set -o) 2>/dev/null` in
    15327   *posix*) set -o posix ;;
     9002  case `(set -o) 2>/dev/null` in #(
     9003  *posix*) :
     9004    set -o posix ;; #(
     9005  *) :
     9006     ;;
    153289007esac
    15329 
    15330 fi
    15331 
    15332 
    15333 
    15334 
    15335 # PATH needs CR
    15336 # Avoid depending upon Character Ranges.
    15337 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    15338 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    15339 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    15340 as_cr_digits='0123456789'
    15341 as_cr_alnum=$as_cr_Letters$as_cr_digits
     9008fi
     9009
     9010
     9011as_nl='
     9012'
     9013export as_nl
     9014# Printing a long string crashes Solaris 7 /usr/bin/printf.
     9015as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     9016as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     9017as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     9018# Prefer a ksh shell builtin over an external printf program on Solaris,
     9019# but without wasting forks for bash or zsh.
     9020if test -z "$BASH_VERSION$ZSH_VERSION" \
     9021    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     9022  as_echo='print -r --'
     9023  as_echo_n='print -rn --'
     9024elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     9025  as_echo='printf %s\n'
     9026  as_echo_n='printf %s'
     9027else
     9028  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     9029    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     9030    as_echo_n='/usr/ucb/echo -n'
     9031  else
     9032    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     9033    as_echo_n_body='eval
     9034      arg=$1;
     9035      case $arg in #(
     9036      *"$as_nl"*)
     9037        expr "X$arg" : "X\\(.*\\)$as_nl";
     9038        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     9039      esac;
     9040      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     9041    '
     9042    export as_echo_n_body
     9043    as_echo_n='sh -c $as_echo_n_body as_echo'
     9044  fi
     9045  export as_echo_body
     9046  as_echo='sh -c $as_echo_body as_echo'
     9047fi
    153429048
    153439049# The user is always right.
    153449050if test "${PATH_SEPARATOR+set}" != set; then
    15345   echo "#! /bin/sh" >conf$$.sh
    15346   echo  "exit 0"   >>conf$$.sh
    15347   chmod +x conf$$.sh
    15348   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15349     PATH_SEPARATOR=';'
    15350   else
    15351     PATH_SEPARATOR=:
    15352   fi
    15353   rm -f conf$$.sh
    15354 fi
    15355 
    15356 # Support unset when possible.
    15357 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    15358   as_unset=unset
    15359 else
    15360   as_unset=false
     9051  PATH_SEPARATOR=:
     9052  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     9053    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     9054      PATH_SEPARATOR=';'
     9055  }
    153619056fi
    153629057
     
    153679062# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    153689063# splitting by setting IFS to empty value.)
    15369 as_nl='
    15370 '
    153719064IFS=" ""        $as_nl"
    153729065
    153739066# Find who we are.  Look in the path if we contain no directory separator.
    15374 case $0 in
     9067case $0 in #((
    153759068  *[\\/]* ) as_myself=$0 ;;
    153769069  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    153799072  IFS=$as_save_IFS
    153809073  test -z "$as_dir" && as_dir=.
    15381   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    15382 done
     9074    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     9075  done
    153839076IFS=$as_save_IFS
    153849077
     
    153919084fi
    153929085if test ! -f "$as_myself"; then
    15393   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    15394   { (exit 1); exit 1; }
    15395 fi
    15396 
    15397 # Work around bugs in pre-3.0 UWIN ksh.
    15398 for as_var in ENV MAIL MAILPATH
    15399 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9086  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     9087  exit 1
     9088fi
     9089
     9090# Unset variables that we do not need and which cause bugs (e.g. in
     9091# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     9092# suppresses any "Segmentation fault" message there.  '((' could
     9093# trigger a bug in pdksh 5.2.14.
     9094for as_var in BASH_ENV ENV MAIL MAILPATH
     9095do eval test x\${$as_var+set} = xset \
     9096  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    154009097done
    154019098PS1='$ '
     
    154049101
    154059102# NLS nuisances.
    15406 for as_var in \
    15407   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    15408   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    15409   LC_TELEPHONE LC_TIME
    15410 do
    15411   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    15412     eval $as_var=C; export $as_var
    15413   else
    15414     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9103LC_ALL=C
     9104export LC_ALL
     9105LANGUAGE=C
     9106export LANGUAGE
     9107
     9108# CDPATH.
     9109(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     9110
     9111
     9112# as_fn_error ERROR [LINENO LOG_FD]
     9113# ---------------------------------
     9114# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     9115# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     9116# script with status $?, using 1 if that was 0.
     9117as_fn_error ()
     9118{
     9119  as_status=$?; test $as_status -eq 0 && as_status=1
     9120  if test "$3"; then
     9121    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     9122    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    154159123  fi
    15416 done
    15417 
    15418 # Required to use basename.
     9124  $as_echo "$as_me: error: $1" >&2
     9125  as_fn_exit $as_status
     9126} # as_fn_error
     9127
     9128
     9129# as_fn_set_status STATUS
     9130# -----------------------
     9131# Set $? to STATUS, without forking.
     9132as_fn_set_status ()
     9133{
     9134  return $1
     9135} # as_fn_set_status
     9136
     9137# as_fn_exit STATUS
     9138# -----------------
     9139# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     9140as_fn_exit ()
     9141{
     9142  set +e
     9143  as_fn_set_status $1
     9144  exit $1
     9145} # as_fn_exit
     9146
     9147# as_fn_unset VAR
     9148# ---------------
     9149# Portably unset VAR.
     9150as_fn_unset ()
     9151{
     9152  { eval $1=; unset $1;}
     9153}
     9154as_unset=as_fn_unset
     9155# as_fn_append VAR VALUE
     9156# ----------------------
     9157# Append the text in VALUE to the end of the definition contained in VAR. Take
     9158# advantage of any shell optimizations that allow amortized linear growth over
     9159# repeated appends, instead of the typical quadratic growth present in naive
     9160# implementations.
     9161if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     9162  eval 'as_fn_append ()
     9163  {
     9164    eval $1+=\$2
     9165  }'
     9166else
     9167  as_fn_append ()
     9168  {
     9169    eval $1=\$$1\$2
     9170  }
     9171fi # as_fn_append
     9172
     9173# as_fn_arith ARG...
     9174# ------------------
     9175# Perform arithmetic evaluation on the ARGs, and store the result in the
     9176# global $as_val. Take advantage of shells that can avoid forks. The arguments
     9177# must be portable across $(()) and expr.
     9178if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     9179  eval 'as_fn_arith ()
     9180  {
     9181    as_val=$(( $* ))
     9182  }'
     9183else
     9184  as_fn_arith ()
     9185  {
     9186    as_val=`expr "$@" || test $? -eq 1`
     9187  }
     9188fi # as_fn_arith
     9189
     9190
    154199191if expr a : '\(a\)' >/dev/null 2>&1 &&
    154209192   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    154309202fi
    154319203
    15432 
    15433 # Name of the executable.
     9204if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     9205  as_dirname=dirname
     9206else
     9207  as_dirname=false
     9208fi
     9209
    154349210as_me=`$as_basename -- "$0" ||
    154359211$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154369212         X"$0" : 'X\(//\)$' \| \
    154379213         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    15438 echo X/"$0" |
     9214$as_echo X/"$0" |
    154399215    sed '/^.*\/\([^/][^/]*\)\/*$/{
    154409216            s//\1/
     
    154519227          s/.*/./; q'`
    154529228
    15453 # CDPATH.
    15454 $as_unset CDPATH
    15455 
    15456 
    15457 
    15458   as_lineno_1=$LINENO
    15459   as_lineno_2=$LINENO
    15460   test "x$as_lineno_1" != "x$as_lineno_2" &&
    15461   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    15462 
    15463   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    15464   # uniformly replaced by the line number.  The first 'sed' inserts a
    15465   # line-number line after each line using $LINENO; the second 'sed'
    15466   # does the real work.  The second script uses 'N' to pair each
    15467   # line-number line with the line containing $LINENO, and appends
    15468   # trailing '-' during substitution so that $LINENO is not a special
    15469   # case at line end.
    15470   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    15471   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    15472   # E. McMahon (1931-1989) for sed's syntax.  :-)
    15473   sed -n '
    15474     p
    15475     /[$]LINENO/=
    15476   ' <$as_myself |
    15477     sed '
    15478       s/[$]LINENO.*/&-/
    15479       t lineno
    15480       b
    15481       :lineno
    15482       N
    15483       :loop
    15484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    15485       t loop
    15486       s/-\n.*//
    15487     ' >$as_me.lineno &&
    15488   chmod +x "$as_me.lineno" ||
    15489     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    15490    { (exit 1); exit 1; }; }
    15491 
    15492   # Don't try to exec as it changes $[0], causing all sort of problems
    15493   # (the dirname of $[0] is not the place where we might find the
    15494   # original and so on.  Autoconf is especially sensitive to this).
    15495   . "./$as_me.lineno"
    15496   # Exit status is that of the last command.
    15497   exit
    15498 }
    15499 
    15500 
    15501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    15502   as_dirname=dirname
    15503 else
    15504   as_dirname=false
    15505 fi
     9229# Avoid depending upon Character Ranges.
     9230as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     9231as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     9232as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     9233as_cr_digits='0123456789'
     9234as_cr_alnum=$as_cr_Letters$as_cr_digits
    155069235
    155079236ECHO_C= ECHO_N= ECHO_T=
    15508 case `echo -n x` in
     9237case `echo -n x` in #(((((
    155099238-n*)
    15510   case `echo 'x\c'` in
     9239  case `echo 'xy\c'` in
    155119240  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    15512   *)   ECHO_C='\c';;
     9241  xy)  ECHO_C='\c';;
     9242  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     9243       ECHO_T=' ';;
    155139244  esac;;
    155149245*)
     
    155169247esac
    155179248
    15518 if expr a : '\(a\)' >/dev/null 2>&1 &&
    15519    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    15520   as_expr=expr
    15521 else
    15522   as_expr=false
    15523 fi
    15524 
    155259249rm -f conf$$ conf$$.exe conf$$.file
    155269250if test -d conf$$.dir; then
     
    155289252else
    155299253  rm -f conf$$.dir
    15530   mkdir conf$$.dir
    15531 fi
    15532 echo >conf$$.file
    15533 if ln -s conf$$.file conf$$ 2>/dev/null; then
    15534   as_ln_s='ln -s'
    15535   # ... but there are two gotchas:
    15536   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    15537   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    15538   # In both cases, we have to default to `cp -p'.
    15539   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     9254  mkdir conf$$.dir 2>/dev/null
     9255fi
     9256if (echo >conf$$.file) 2>/dev/null; then
     9257  if ln -s conf$$.file conf$$ 2>/dev/null; then
     9258    as_ln_s='ln -s'
     9259    # ... but there are two gotchas:
     9260    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     9261    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     9262    # In both cases, we have to default to `cp -p'.
     9263    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     9264      as_ln_s='cp -p'
     9265  elif ln conf$$.file conf$$ 2>/dev/null; then
     9266    as_ln_s=ln
     9267  else
    155409268    as_ln_s='cp -p'
    15541 elif ln conf$$.file conf$$ 2>/dev/null; then
    15542   as_ln_s=ln
     9269  fi
    155439270else
    155449271  as_ln_s='cp -p'
     
    155479274rmdir conf$$.dir 2>/dev/null
    155489275
     9276
     9277# as_fn_mkdir_p
     9278# -------------
     9279# Create "$as_dir" as a directory, including parents if necessary.
     9280as_fn_mkdir_p ()
     9281{
     9282
     9283  case $as_dir in #(
     9284  -*) as_dir=./$as_dir;;
     9285  esac
     9286  test -d "$as_dir" || eval $as_mkdir_p || {
     9287    as_dirs=
     9288    while :; do
     9289      case $as_dir in #(
     9290      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     9291      *) as_qdir=$as_dir;;
     9292      esac
     9293      as_dirs="'$as_qdir' $as_dirs"
     9294      as_dir=`$as_dirname -- "$as_dir" ||
     9295$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     9296         X"$as_dir" : 'X\(//\)[^/]' \| \
     9297         X"$as_dir" : 'X\(//\)$' \| \
     9298         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     9299$as_echo X"$as_dir" |
     9300    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9301            s//\1/
     9302            q
     9303          }
     9304          /^X\(\/\/\)[^/].*/{
     9305            s//\1/
     9306            q
     9307          }
     9308          /^X\(\/\/\)$/{
     9309            s//\1/
     9310            q
     9311          }
     9312          /^X\(\/\).*/{
     9313            s//\1/
     9314            q
     9315          }
     9316          s/.*/./; q'`
     9317      test -d "$as_dir" && break
     9318    done
     9319    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9320  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     9321
     9322
     9323} # as_fn_mkdir_p
    155499324if mkdir -p . 2>/dev/null; then
    15550   as_mkdir_p=:
     9325  as_mkdir_p='mkdir -p "$as_dir"'
    155519326else
    155529327  test -d ./-p && rmdir ./-p
     
    155659340    eval sh -c '\''
    155669341      if test -d "$1"; then
    15567         test -d "$1/.";
     9342        test -d "$1/.";
    155689343      else
    15569         case $1 in
    15570         -*)set "./$1";;
     9344        case $1 in #(
     9345        -*)set "./$1";;
    155719346        esac;
    15572         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     9347        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    155739348        ???[sx]*):;;*)false;;esac;fi
    155749349    '\'' sh
     
    155859360
    155869361exec 6>&1
    15587 
    15588 # Save the log message, to keep $[0] and so on meaningful, and to
     9362## ----------------------------------- ##
     9363## Main body of $CONFIG_STATUS script. ##
     9364## ----------------------------------- ##
     9365_ASEOF
     9366test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     9367
     9368cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9369# Save the log message, to keep $0 and so on meaningful, and to
    155899370# report actual input values of CONFIG_FILES etc. instead of their
    155909371# values after options handling.
    155919372ac_log="
    155929373This file was extended by Rappture $as_me 1.1, which was
    15593 generated by GNU Autoconf 2.61.  Invocation command line was
     9374generated by GNU Autoconf 2.64.  Invocation command line was
    155949375
    155959376  CONFIG_FILES    = $CONFIG_FILES
     
    156049385_ACEOF
    156059386
    15606 cat >>$CONFIG_STATUS <<_ACEOF
     9387case $ac_config_files in *"
     9388"*) set x $ac_config_files; shift; ac_config_files=$*;;
     9389esac
     9390
     9391case $ac_config_headers in *"
     9392"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     9393esac
     9394
     9395
     9396cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    156079397# Files that config.status was made for.
    156089398config_files="$ac_config_files"
     
    156119401_ACEOF
    156129402
    15613 cat >>$CONFIG_STATUS <<\_ACEOF
     9403cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    156149404ac_cs_usage="\
    15615 \`$as_me' instantiates files from templates according to the
    15616 current configuration.
    15617 
    15618 Usage: $0 [OPTIONS] [FILE]...
     9405\`$as_me' instantiates files and other configuration actions
     9406from templates according to the current configuration.  Unless the files
     9407and actions are specified as TAGs, all are instantiated by default.
     9408
     9409Usage: $0 [OPTION]... [TAG]...
    156199410
    156209411  -h, --help       print this help, then exit
    156219412  -V, --version    print version number and configuration settings, then exit
    15622   -q, --quiet      do not print progress messages
     9413  -q, --quiet, --silent
     9414                   do not print progress messages
    156239415  -d, --debug      don't remove temporary files
    156249416      --recheck    update $as_me by reconfiguring in the same conditions
    15625   --file=FILE[:TEMPLATE]
    15626                    instantiate the configuration file FILE
    15627   --header=FILE[:TEMPLATE]
    15628                    instantiate the configuration header FILE
     9417      --file=FILE[:TEMPLATE]
     9418                   instantiate the configuration file FILE
     9419      --header=FILE[:TEMPLATE]
     9420                   instantiate the configuration header FILE
    156299421
    156309422Configuration files:
     
    156349426$config_headers
    156359427
    15636 Report bugs to <bug-autoconf@gnu.org>."
    15637 
    15638 _ACEOF
    15639 cat >>$CONFIG_STATUS <<_ACEOF
     9428Report bugs to <rappture@nanohub.org>."
     9429
     9430_ACEOF
     9431cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    156409432ac_cs_version="\\
    156419433Rappture config.status 1.1
    15642 configured by $0, generated by GNU Autoconf 2.61,
    15643   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    15644 
    15645 Copyright (C) 2006 Free Software Foundation, Inc.
     9434configured by $0, generated by GNU Autoconf 2.64,
     9435  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     9436
     9437Copyright (C) 2009 Free Software Foundation, Inc.
    156469438This config.status script is free software; the Free Software Foundation
    156479439gives unlimited permission to copy, distribute and modify it."
     
    156519443INSTALL='$INSTALL'
    156529444MKDIR_P='$MKDIR_P'
    15653 _ACEOF
    15654 
    15655 cat >>$CONFIG_STATUS <<\_ACEOF
    15656 # If no file are specified by the user, then we need to provide default
    15657 # value.  By we need to know if files were specified by the user.
     9445AWK='$AWK'
     9446test -n "\$AWK" || AWK=awk
     9447_ACEOF
     9448
     9449cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9450# The default lists apply if the user does not specify any file.
    156589451ac_need_defaults=:
    156599452while test $# != 0
     
    156779470    ac_cs_recheck=: ;;
    156789471  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    15679     echo "$ac_cs_version"; exit ;;
     9472    $as_echo "$ac_cs_version"; exit ;;
    156809473  --debug | --debu | --deb | --de | --d | -d )
    156819474    debug=: ;;
    156829475  --file | --fil | --fi | --f )
    156839476    $ac_shift
    15684     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     9477    case $ac_optarg in
     9478    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9479    esac
     9480    as_fn_append CONFIG_FILES " '$ac_optarg'"
    156859481    ac_need_defaults=false;;
    156869482  --header | --heade | --head | --hea )
    156879483    $ac_shift
    15688     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     9484    case $ac_optarg in
     9485    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9486    esac
     9487    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    156899488    ac_need_defaults=false;;
    156909489  --he | --h)
    156919490    # Conflict between --help and --header
    15692     { echo "$as_me: error: ambiguous option: $1
    15693 Try \`$0 --help' for more information." >&2
    15694    { (exit 1); exit 1; }; };;
     9491    as_fn_error "ambiguous option: \`$1'
     9492Try \`$0 --help' for more information.";;
    156959493  --help | --hel | -h )
    15696     echo "$ac_cs_usage"; exit ;;
     9494    $as_echo "$ac_cs_usage"; exit ;;
    156979495  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    156989496  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    157009498
    157019499  # This is an error.
    15702   -*) { echo "$as_me: error: unrecognized option: $1
    15703 Try \`$0 --help' for more information." >&2
    15704    { (exit 1); exit 1; }; } ;;
    15705 
    15706   *) ac_config_targets="$ac_config_targets $1"
     9500  -*) as_fn_error "unrecognized option: \`$1'
     9501Try \`$0 --help' for more information." ;;
     9502
     9503  *) as_fn_append ac_config_targets " $1"
    157079504     ac_need_defaults=false ;;
    157089505
     
    157199516
    157209517_ACEOF
    15721 cat >>$CONFIG_STATUS <<_ACEOF
     9518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    157229519if \$ac_cs_recheck; then
    15723   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    15724   CONFIG_SHELL=$SHELL
     9520  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9521  shift
     9522  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     9523  CONFIG_SHELL='$SHELL'
    157259524  export CONFIG_SHELL
    15726   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    15727 fi
    15728 
    15729 _ACEOF
    15730 cat >>$CONFIG_STATUS <<\_ACEOF
     9525  exec "\$@"
     9526fi
     9527
     9528_ACEOF
     9529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    157319530exec 5>>config.log
    157329531{
     
    157359534## Running $as_me. ##
    157369535_ASBOX
    15737   echo "$ac_log"
     9536  $as_echo "$ac_log"
    157389537} >&5
    157399538
    157409539_ACEOF
    15741 cat >>$CONFIG_STATUS <<_ACEOF
    15742 _ACEOF
    15743 
    15744 cat >>$CONFIG_STATUS <<\_ACEOF
     9540cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9541_ACEOF
     9542
     9543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    157459544
    157469545# Handling of arguments.
     
    158179616    "examples/objects/floatBuffer/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/floatBuffer/Makefile" ;;
    158189617    "examples/objects/histogram/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/histogram/Makefile" ;;
     9618    "examples/objects/library/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/library/Makefile" ;;
    158199619    "examples/objects/number/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/number/Makefile" ;;
    158209620    "examples/objects/path/Makefile") CONFIG_FILES="$CONFIG_FILES examples/objects/path/Makefile" ;;
     
    158589658    "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;;
    158599659
    15860   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    15861 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    15862    { (exit 1); exit 1; }; };;
     9660  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    158639661  esac
    158649662done
     
    158869684  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    158879685' 0
    15888   trap '{ (exit 1); exit 1; }' 1 2 13 15
     9686  trap 'as_fn_exit 1' 1 2 13 15
    158899687}
    158909688# Create a (secure) tmp directory for tmp files.
     
    158979695  tmp=./conf$$-$RANDOM
    158989696  (umask 077 && mkdir "$tmp")
    15899 } ||
     9697} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     9698
     9699# Set up the scripts for CONFIG_FILES section.
     9700# No need to generate them if there are no CONFIG_FILES.
     9701# This happens for instance with `./config.status config.h'.
     9702if test -n "$CONFIG_FILES"; then
     9703
     9704
     9705ac_cr=`echo X | tr X '\015'`
     9706# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9707# But we know of no other shell where ac_cr would be empty at this
     9708# point, so we can use a bashism as a fallback.
     9709if test "x$ac_cr" = x; then
     9710  eval ac_cr=\$\'\\r\'
     9711fi
     9712ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     9713if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     9714  ac_cs_awk_cr='\r'
     9715else
     9716  ac_cs_awk_cr=$ac_cr
     9717fi
     9718
     9719echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9720_ACEOF
     9721
     9722
    159009723{
    15901    echo "$me: cannot create a temporary directory in ." >&2
    15902    { (exit 1); exit 1; }
    15903 }
    15904 
    15905 #
    15906 # Set up the sed scripts for CONFIG_FILES section.
    15907 #
    15908 
    15909 # No need to generate the scripts if there are no CONFIG_FILES.
    15910 # This happens for instance when ./config.status config.h
    15911 if test -n "$CONFIG_FILES"; then
    15912 
    15913 _ACEOF
    15914 
    15915 
    15916 
     9724  echo "cat >conf$$subs.awk <<_ACEOF" &&
     9725  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     9726  echo "_ACEOF"
     9727} >conf$$subs.sh ||
     9728  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     9729ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    159179730ac_delim='%!_!# '
    159189731for ac_last_try in false false false false false :; do
    15919   cat >conf$$subs.sed <<_ACEOF
    15920 SHELL!$SHELL$ac_delim
    15921 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
    15922 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
    15923 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
    15924 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
    15925 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
    15926 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
    15927 exec_prefix!$exec_prefix$ac_delim
    15928 prefix!$prefix$ac_delim
    15929 program_transform_name!$program_transform_name$ac_delim
    15930 bindir!$bindir$ac_delim
    15931 sbindir!$sbindir$ac_delim
    15932 libexecdir!$libexecdir$ac_delim
    15933 datarootdir!$datarootdir$ac_delim
    15934 datadir!$datadir$ac_delim
    15935 sysconfdir!$sysconfdir$ac_delim
    15936 sharedstatedir!$sharedstatedir$ac_delim
    15937 localstatedir!$localstatedir$ac_delim
    15938 includedir!$includedir$ac_delim
    15939 oldincludedir!$oldincludedir$ac_delim
    15940 docdir!$docdir$ac_delim
    15941 infodir!$infodir$ac_delim
    15942 htmldir!$htmldir$ac_delim
    15943 dvidir!$dvidir$ac_delim
    15944 pdfdir!$pdfdir$ac_delim
    15945 psdir!$psdir$ac_delim
    15946 libdir!$libdir$ac_delim
    15947 localedir!$localedir$ac_delim
    15948 mandir!$mandir$ac_delim
    15949 DEFS!$DEFS$ac_delim
    15950 ECHO_C!$ECHO_C$ac_delim
    15951 ECHO_N!$ECHO_N$ac_delim
    15952 ECHO_T!$ECHO_T$ac_delim
    15953 LIBS!$LIBS$ac_delim
    15954 build_alias!$build_alias$ac_delim
    15955 host_alias!$host_alias$ac_delim
    15956 target_alias!$target_alias$ac_delim
    15957 LIB_SEARCH_DIRS!$LIB_SEARCH_DIRS$ac_delim
    15958 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
    15959 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
    15960 INSTALL_DATA!$INSTALL_DATA$ac_delim
    15961 SET_MAKE!$SET_MAKE$ac_delim
    15962 CC!$CC$ac_delim
    15963 CFLAGS!$CFLAGS$ac_delim
    15964 LDFLAGS!$LDFLAGS$ac_delim
    15965 CPPFLAGS!$CPPFLAGS$ac_delim
    15966 ac_ct_CC!$ac_ct_CC$ac_delim
    15967 EXEEXT!$EXEEXT$ac_delim
    15968 OBJEXT!$OBJEXT$ac_delim
    15969 CXX!$CXX$ac_delim
    15970 CXXFLAGS!$CXXFLAGS$ac_delim
    15971 ac_ct_CXX!$ac_ct_CXX$ac_delim
    15972 RANLIB!$RANLIB$ac_delim
    15973 LN_S!$LN_S$ac_delim
    15974 F77!$F77$ac_delim
    15975 FFLAGS!$FFLAGS$ac_delim
    15976 ac_ct_F77!$ac_ct_F77$ac_delim
    15977 CPP!$CPP$ac_delim
    15978 GREP!$GREP$ac_delim
    15979 EGREP!$EGREP$ac_delim
    15980 CXXCPP!$CXXCPP$ac_delim
    15981 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim
    15982 AR!$AR$ac_delim
    15983 DL_LIBS!$DL_LIBS$ac_delim
    15984 DL_OBJS!$DL_OBJS$ac_delim
    15985 PLAT_OBJS!$PLAT_OBJS$ac_delim
    15986 PLAT_SRCS!$PLAT_SRCS$ac_delim
    15987 CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
    15988 CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
    15989 CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
    15990 LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
    15991 LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
    15992 CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
    15993 LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
    15994 STLIB_LD!$STLIB_LD$ac_delim
    15995 SHLIB_LD!$SHLIB_LD$ac_delim
    15996 TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
    15997 TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
    15998 SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
    15999 SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
    16000 SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
    16001 MAKE_LIB!$MAKE_LIB$ac_delim
    16002 MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
    16003 INSTALL_LIB!$INSTALL_LIB$ac_delim
    16004 INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
    16005 MAKE!$MAKE$ac_delim
    16006 ENABLE_GUI!$ENABLE_GUI$ac_delim
    16007 TCLSH!$TCLSH$ac_delim
    16008 MATLAB!$MATLAB$ac_delim
    16009 MEX!$MEX$ac_delim
    16010 MEXEXT!$MEXEXT$ac_delim
    16011 MCC!$MCC$ac_delim
    16012 MEX_ARCH!$MEX_ARCH$ac_delim
    16013 OCTAVE!$OCTAVE$ac_delim
    16014 MKOCTFILE!$MKOCTFILE$ac_delim
    16015 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim
    16016 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim
    16017 _ACEOF
    16018 
    16019   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
     9732  . ./conf$$subs.sh ||
     9733    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     9734
     9735  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     9736  if test $ac_delim_n = $ac_delim_num; then
    160209737    break
    160219738  elif $ac_last_try; then
    16022     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    16023 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    16024    { (exit 1); exit 1; }; }
     9739    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    160259740  else
    160269741    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    160279742  fi
    160289743done
    16029 
    16030 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    16031 if test -n "$ac_eof"; then
    16032   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    16033   ac_eof=`expr $ac_eof + 1`
    16034 fi
    16035 
    16036 cat >>$CONFIG_STATUS <<_ACEOF
    16037 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
    16038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    16039 _ACEOF
    16040 sed '
    16041 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    16042 s/^/s,@/; s/!/@,|#_!!_#|/
    16043 :n
    16044 t n
    16045 s/'"$ac_delim"'$/,g/; t
    16046 s/$/\\/; p
    16047 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    16048 ' >>$CONFIG_STATUS <conf$$subs.sed
    16049 rm -f conf$$subs.sed
    16050 cat >>$CONFIG_STATUS <<_ACEOF
    16051 CEOF$ac_eof
    16052 _ACEOF
    16053 
    16054 
    16055 ac_delim='%!_!# '
    16056 for ac_last_try in false false false false false :; do
    16057   cat >conf$$subs.sed <<_ACEOF
    16058 PERL!$PERL$ac_delim
    16059 PERL_INCLUDES!$PERL_INCLUDES$ac_delim
    16060 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim
    16061 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim
    16062 PERL_VERSION!$PERL_VERSION$ac_delim
    16063 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim
    16064 PERL_CPPFLAGS!$PERL_CPPFLAGS$ac_delim
    16065 PERL_VENDORLIB!$PERL_VENDORLIB$ac_delim
    16066 PERL_PRIVLIB!$PERL_PRIVLIB$ac_delim
    16067 PERL_INSTALLARCHLIB!$PERL_INSTALLARCHLIB$ac_delim
    16068 PERL_VERSION_RV!$PERL_VERSION_RV$ac_delim
    16069 PERL_LIBSPEC!$PERL_LIBSPEC$ac_delim
    16070 PYTHON!$PYTHON$ac_delim
    16071 PYTHON_CPPFLAGS!$PYTHON_CPPFLAGS$ac_delim
    16072 pythondir!$pythondir$ac_delim
    16073 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
    16074 PYTHON_INCLUDES!$PYTHON_INCLUDES$ac_delim
    16075 PYTHON_SITE_PACKAGES!$PYTHON_SITE_PACKAGES$ac_delim
    16076 HAVE_PYTHON_DISTUTILS!$HAVE_PYTHON_DISTUTILS$ac_delim
    16077 RUBY!$RUBY$ac_delim
    16078 SED!$SED$ac_delim
    16079 RUBY_VERSION!$RUBY_VERSION$ac_delim
    16080 AWK!$AWK$ac_delim
    16081 RUBY_CPPFLAGS!$RUBY_CPPFLAGS$ac_delim
    16082 RUBY_LDFLAGS!$RUBY_LDFLAGS$ac_delim
    16083 RUBY_SITE_PKG!$RUBY_SITE_PKG$ac_delim
    16084 RUBY_EXTRA_LIBS!$RUBY_EXTRA_LIBS$ac_delim
    16085 HAVE_RUBY_DEVEL!$HAVE_RUBY_DEVEL$ac_delim
    16086 RUBY_VERSION_RV!$RUBY_VERSION_RV$ac_delim
    16087 RUBY_PLATFORM!$RUBY_PLATFORM$ac_delim
    16088 RP_BASE!$RP_BASE$ac_delim
    16089 SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim
    16090 TCL_VERSION!$TCL_VERSION$ac_delim
    16091 TK_VERSION!$TK_VERSION$ac_delim
    16092 SIZEOF_INT!$SIZEOF_INT$ac_delim
    16093 SIZEOF_LONG!$SIZEOF_LONG$ac_delim
    16094 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim
    16095 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim
    16096 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim
    16097 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim
    16098 subdirs!$subdirs$ac_delim
    16099 LIBOBJS!$LIBOBJS$ac_delim
    16100 LTLIBOBJS!$LTLIBOBJS$ac_delim
    16101 _ACEOF
    16102 
    16103   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then
    16104     break
    16105   elif $ac_last_try; then
    16106     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    16107 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    16108    { (exit 1); exit 1; }; }
    16109   else
    16110     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    16111   fi
    16112 done
    16113 
    16114 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
    16115 if test -n "$ac_eof"; then
    16116   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
    16117   ac_eof=`expr $ac_eof + 1`
    16118 fi
    16119 
    16120 cat >>$CONFIG_STATUS <<_ACEOF
    16121 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
    16122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
    16123 _ACEOF
    16124 sed '
    16125 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
    16126 s/^/s,@/; s/!/@,|#_!!_#|/
    16127 :n
    16128 t n
    16129 s/'"$ac_delim"'$/,g/; t
    16130 s/$/\\/; p
    16131 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
    16132 ' >>$CONFIG_STATUS <conf$$subs.sed
    16133 rm -f conf$$subs.sed
    16134 cat >>$CONFIG_STATUS <<_ACEOF
    16135 :end
    16136 s/|#_!!_#|//g
    16137 CEOF$ac_eof
    16138 _ACEOF
    16139 
     9744rm -f conf$$subs.sh
     9745
     9746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9747cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9748_ACEOF
     9749sed -n '
     9750h
     9751s/^/S["/; s/!.*/"]=/
     9752p
     9753g
     9754s/^[^!]*!//
     9755:repl
     9756t repl
     9757s/'"$ac_delim"'$//
     9758t delim
     9759:nl
     9760h
     9761s/\(.\{148\}\).*/\1/
     9762t more1
     9763s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     9764p
     9765n
     9766b repl
     9767:more1
     9768s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9769p
     9770g
     9771s/.\{148\}//
     9772t nl
     9773:delim
     9774h
     9775s/\(.\{148\}\).*/\1/
     9776t more2
     9777s/["\\]/\\&/g; s/^/"/; s/$/"/
     9778p
     9779b
     9780:more2
     9781s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     9782p
     9783g
     9784s/.\{148\}//
     9785t delim
     9786' <conf$$subs.awk | sed '
     9787/^[^""]/{
     9788  N
     9789  s/\n//
     9790}
     9791' >>$CONFIG_STATUS || ac_write_fail=1
     9792rm -f conf$$subs.awk
     9793cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9794_ACAWK
     9795cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9796  for (key in S) S_is_set[key] = 1
     9797  FS = ""
     9798
     9799}
     9800{
     9801  line = $ 0
     9802  nfields = split(line, field, "@")
     9803  substed = 0
     9804  len = length(field[1])
     9805  for (i = 2; i < nfields; i++) {
     9806    key = field[i]
     9807    keylen = length(key)
     9808    if (S_is_set[key]) {
     9809      value = S[key]
     9810      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     9811      len += length(value) + length(field[++i])
     9812      substed = 1
     9813    } else
     9814      len += 1 + keylen
     9815  }
     9816
     9817  print line
     9818}
     9819
     9820_ACAWK
     9821_ACEOF
     9822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9823if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     9824  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     9825else
     9826  cat
     9827fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     9828  || as_fn_error "could not setup config files machinery" "$LINENO" 5
     9829_ACEOF
    161409830
    161419831# VPATH may cause trouble with some makes, so we remove $(srcdir),
     
    161549844fi
    161559845
    16156 cat >>$CONFIG_STATUS <<\_ACEOF
     9846cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    161579847fi # test -n "$CONFIG_FILES"
    161589848
    16159 
    16160 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
     9849# Set up the scripts for CONFIG_HEADERS section.
     9850# No need to generate them if there are no CONFIG_HEADERS.
     9851# This happens for instance with `./config.status Makefile'.
     9852if test -n "$CONFIG_HEADERS"; then
     9853cat >"$tmp/defines.awk" <<\_ACAWK ||
     9854BEGIN {
     9855_ACEOF
     9856
     9857# Transform confdefs.h into an awk script `defines.awk', embedded as
     9858# here-document in config.status, that substitutes the proper values into
     9859# config.h.in to produce config.h.
     9860
     9861# Create a delimiter string that does not exist in confdefs.h, to ease
     9862# handling of long lines.
     9863ac_delim='%!_!# '
     9864for ac_last_try in false false :; do
     9865  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     9866  if test -z "$ac_t"; then
     9867    break
     9868  elif $ac_last_try; then
     9869    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
     9870  else
     9871    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     9872  fi
     9873done
     9874
     9875# For the awk script, D is an array of macro values keyed by name,
     9876# likewise P contains macro parameters if any.  Preserve backslash
     9877# newline sequences.
     9878
     9879ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     9880sed -n '
     9881s/.\{148\}/&'"$ac_delim"'/g
     9882t rset
     9883:rset
     9884s/^[     ]*#[    ]*define[       ][      ]*/ /
     9885t def
     9886d
     9887:def
     9888s/\\$//
     9889t bsnl
     9890s/["\\]/\\&/g
     9891s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9892D["\1"]=" \3"/p
     9893s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
     9894d
     9895:bsnl
     9896s/["\\]/\\&/g
     9897s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     9898D["\1"]=" \3\\\\\\n"\\/p
     9899t cont
     9900s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     9901t cont
     9902d
     9903:cont
     9904n
     9905s/.\{148\}/&'"$ac_delim"'/g
     9906t clear
     9907:clear
     9908s/\\$//
     9909t bsnlc
     9910s/["\\]/\\&/g; s/^/"/; s/$/"/p
     9911d
     9912:bsnlc
     9913s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     9914b cont
     9915' <confdefs.h | sed '
     9916s/'"$ac_delim"'/"\\\
     9917"/g' >>$CONFIG_STATUS || ac_write_fail=1
     9918
     9919cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9920  for (key in D) D_is_set[key] = 1
     9921  FS = ""
     9922}
     9923/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     9924  line = \$ 0
     9925  split(line, arg, " ")
     9926  if (arg[1] == "#") {
     9927    defundef = arg[2]
     9928    mac1 = arg[3]
     9929  } else {
     9930    defundef = substr(arg[1], 2)
     9931    mac1 = arg[2]
     9932  }
     9933  split(mac1, mac2, "(") #)
     9934  macro = mac2[1]
     9935  prefix = substr(line, 1, index(line, defundef) - 1)
     9936  if (D_is_set[macro]) {
     9937    # Preserve the white space surrounding the "#".
     9938    print prefix "define", macro P[macro] D[macro]
     9939    next
     9940  } else {
     9941    # Replace #undef with comments.  This is necessary, for example,
     9942    # in the case of _POSIX_SOURCE, which is predefined and required
     9943    # on some systems where configure will not decide to define it.
     9944    if (defundef == "undef") {
     9945      print "/*", prefix defundef, macro, "*/"
     9946      next
     9947    }
     9948  }
     9949}
     9950{ print }
     9951_ACAWK
     9952_ACEOF
     9953cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9954  as_fn_error "could not setup config headers machinery" "$LINENO" 5
     9955fi # test -n "$CONFIG_HEADERS"
     9956
     9957
     9958eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     9959shift
     9960for ac_tag
    161619961do
    161629962  case $ac_tag in
     
    161659965  case $ac_mode$ac_tag in
    161669966  :[FHL]*:*);;
    16167   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
    16168 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    16169    { (exit 1); exit 1; }; };;
     9967  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
    161709968  :[FH]-) ac_tag=-:-;;
    161719969  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    161959993           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    161969994           esac ||
    16197            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    16198 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    16199    { (exit 1); exit 1; }; };;
     9995           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    162009996      esac
    16201       ac_file_inputs="$ac_file_inputs $ac_f"
     9997      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     9998      as_fn_append ac_file_inputs " '$ac_f'"
    162029999    done
    1620310000
     
    1620510002    # use $as_me), people would be surprised to read:
    1620610003    #    /* config.h.  Generated by config.status.  */
    16207     configure_input="Generated from "`IFS=:
    16208           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
     10004    configure_input='Generated from '`
     10005          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     10006        `' by configure.'
    1620910007    if test x"$ac_file" != x-; then
    1621010008      configure_input="$ac_file.  $configure_input"
    16211       { echo "$as_me:$LINENO: creating $ac_file" >&5
    16212 echo "$as_me: creating $ac_file" >&6;}
     10009      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     10010$as_echo "$as_me: creating $ac_file" >&6;}
    1621310011    fi
     10012    # Neutralize special characters interpreted by sed in replacement strings.
     10013    case $configure_input in #(
     10014    *\&* | *\|* | *\\* )
     10015       ac_sed_conf_input=`$as_echo "$configure_input" |
     10016       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     10017    *) ac_sed_conf_input=$configure_input;;
     10018    esac
    1621410019
    1621510020    case $ac_tag in
    16216     *:-:* | *:-) cat >"$tmp/stdin";;
     10021    *:-:* | *:-) cat >"$tmp/stdin" \
     10022      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
    1621710023    esac
    1621810024    ;;
     
    1622410030         X"$ac_file" : 'X\(//\)$' \| \
    1622510031         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    16226 echo X"$ac_file" |
     10032$as_echo X"$ac_file" |
    1622710033    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1622810034            s//\1/
     
    1624210048          }
    1624310049          s/.*/./; q'`
    16244   { as_dir="$ac_dir"
    16245   case $as_dir in #(
    16246   -*) as_dir=./$as_dir;;
    16247   esac
    16248   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    16249     as_dirs=
    16250     while :; do
    16251       case $as_dir in #(
    16252       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    16253       *) as_qdir=$as_dir;;
    16254       esac
    16255       as_dirs="'$as_qdir' $as_dirs"
    16256       as_dir=`$as_dirname -- "$as_dir" ||
    16257 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    16258          X"$as_dir" : 'X\(//\)[^/]' \| \
    16259          X"$as_dir" : 'X\(//\)$' \| \
    16260          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    16261 echo X"$as_dir" |
    16262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    16263             s//\1/
    16264             q
    16265           }
    16266           /^X\(\/\/\)[^/].*/{
    16267             s//\1/
    16268             q
    16269           }
    16270           /^X\(\/\/\)$/{
    16271             s//\1/
    16272             q
    16273           }
    16274           /^X\(\/\).*/{
    16275             s//\1/
    16276             q
    16277           }
    16278           s/.*/./; q'`
    16279       test -d "$as_dir" && break
    16280     done
    16281     test -z "$as_dirs" || eval "mkdir $as_dirs"
    16282   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    16283 echo "$as_me: error: cannot create directory $as_dir" >&2;}
    16284    { (exit 1); exit 1; }; }; }
     10050  as_dir="$ac_dir"; as_fn_mkdir_p
    1628510051  ac_builddir=.
    1628610052
     
    1628810054.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1628910055*)
    16290   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     10056  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1629110057  # A ".." for each directory in $ac_dir_suffix.
    16292   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     10058  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1629310059  case $ac_top_builddir_sub in
    1629410060  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    1633510101_ACEOF
    1633610102
    16337 cat >>$CONFIG_STATUS <<\_ACEOF
     10103cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    1633810104# If the template does not know about datarootdir, expand it.
    1633910105# FIXME: This hack should be removed a few years after 2.60.
    1634010106ac_datarootdir_hack=; ac_datarootdir_seen=
    16341 
    16342 case `sed -n '/datarootdir/ {
     10107ac_sed_dataroot='
     10108/datarootdir/ {
    1634310109  p
    1634410110  q
     
    1634810114/@infodir@/p
    1634910115/@localedir@/p
    16350 /@mandir@/p
    16351 ' $ac_file_inputs` in
     10116/@mandir@/p'
     10117case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    1635210118*datarootdir*) ac_datarootdir_seen=yes;;
    1635310119*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    16354   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    16355 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    16356 _ACEOF
    16357 cat >>$CONFIG_STATUS <<_ACEOF
     10120  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10121$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     10122_ACEOF
     10123cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1635810124  ac_datarootdir_hack='
    1635910125  s&@datadir@&$datadir&g
     
    1636210128  s&@localedir@&$localedir&g
    1636310129  s&@mandir@&$mandir&g
    16364     s&\\\${datarootdir}&$datarootdir&g' ;;
     10130  s&\\\${datarootdir}&$datarootdir&g' ;;
    1636510131esac
    1636610132_ACEOF
     
    1636910135# Shell code in configure.ac might set extrasub.
    1637010136# FIXME: do we really want to maintain this feature?
    16371 cat >>$CONFIG_STATUS <<_ACEOF
    16372   sed "$ac_vpsub
     10137cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10138ac_sed_extra="$ac_vpsub
    1637310139$extrasub
    1637410140_ACEOF
    16375 cat >>$CONFIG_STATUS <<\_ACEOF
     10141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    1637610142:t
    1637710143/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    16378 s&@configure_input@&$configure_input&;t t
     10144s|@configure_input@|$ac_sed_conf_input|;t t
    1637910145s&@top_builddir@&$ac_top_builddir_sub&;t t
     10146s&@top_build_prefix@&$ac_top_build_prefix&;t t
    1638010147s&@srcdir@&$ac_srcdir&;t t
    1638110148s&@abs_srcdir@&$ac_abs_srcdir&;t t
     
    1638810155s&@MKDIR_P@&$ac_MKDIR_P&;t t
    1638910156$ac_datarootdir_hack
    16390 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
     10157"
     10158eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     10159  || as_fn_error "could not create $ac_file" "$LINENO" 5
    1639110160
    1639210161test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    1639310162  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    1639410163  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    16395   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10164  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    1639610165which seems to be undefined.  Please make sure it is defined." >&5
    16397 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10166$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    1639810167which seems to be undefined.  Please make sure it is defined." >&2;}
    1639910168
    1640010169  rm -f "$tmp/stdin"
    1640110170  case $ac_file in
    16402   -) cat "$tmp/out"; rm -f "$tmp/out";;
    16403   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
    16404   esac
     10171  -) cat "$tmp/out" && rm -f "$tmp/out";;
     10172  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     10173  esac \
     10174  || as_fn_error "could not create $ac_file" "$LINENO" 5
    1640510175 ;;
    1640610176  :H)
     
    1640810178  # CONFIG_HEADER
    1640910179  #
    16410 _ACEOF
    16411 
    16412 # Transform confdefs.h into a sed script `conftest.defines', that
    16413 # substitutes the proper values into config.h.in to produce config.h.
    16414 rm -f conftest.defines conftest.tail
    16415 # First, append a space to every undef/define line, to ease matching.
    16416 echo 's/$/ /' >conftest.defines
    16417 # Then, protect against being on the right side of a sed subst, or in
    16418 # an unquoted here document, in config.status.  If some macros were
    16419 # called several times there might be several #defines for the same
    16420 # symbol, which is useless.  But do not sort them, since the last
    16421 # AC_DEFINE must be honored.
    16422 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    16423 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
    16424 # NAME is the cpp macro being defined, VALUE is the value it is being given.
    16425 # PARAMS is the parameter list in the macro definition--in most cases, it's
    16426 # just an empty string.
    16427 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
    16428 ac_dB='\\)[      (].*,\\1define\\2'
    16429 ac_dC=' '
    16430 ac_dD=' ,'
    16431 
    16432 uniq confdefs.h |
    16433   sed -n '
    16434         t rset
    16435         :rset
    16436         s/^[     ]*#[    ]*define[       ][      ]*//
    16437         t ok
    16438         d
    16439         :ok
    16440         s/[\\&,]/\\&/g
    16441         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
    16442         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
    16443   ' >>conftest.defines
    16444 
    16445 # Remove the space that was appended to ease matching.
    16446 # Then replace #undef with comments.  This is necessary, for
    16447 # example, in the case of _POSIX_SOURCE, which is predefined and required
    16448 # on some systems where configure will not decide to define it.
    16449 # (The regexp can be short, since the line contains either #define or #undef.)
    16450 echo 's/ $//
    16451 s,^[     #]*u.*,/* & */,' >>conftest.defines
    16452 
    16453 # Break up conftest.defines:
    16454 ac_max_sed_lines=50
    16455 
    16456 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
    16457 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
    16458 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
    16459 # et cetera.
    16460 ac_in='$ac_file_inputs'
    16461 ac_out='"$tmp/out1"'
    16462 ac_nxt='"$tmp/out2"'
    16463 
    16464 while :
    16465 do
    16466   # Write a here document:
    16467     cat >>$CONFIG_STATUS <<_ACEOF
    16468     # First, check the format of the line:
    16469     cat >"\$tmp/defines.sed" <<\\CEOF
    16470 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
    16471 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
    16472 b
    16473 :def
    16474 _ACEOF
    16475   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
    16476   echo 'CEOF
    16477     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
    16478   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
    16479   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
    16480   grep . conftest.tail >/dev/null || break
    16481   rm -f conftest.defines
    16482   mv conftest.tail conftest.defines
    16483 done
    16484 rm -f conftest.defines conftest.tail
    16485 
    16486 echo "ac_result=$ac_in" >>$CONFIG_STATUS
    16487 cat >>$CONFIG_STATUS <<\_ACEOF
    1648810180  if test x"$ac_file" != x-; then
    16489     echo "/* $configure_input  */" >"$tmp/config.h"
    16490     cat "$ac_result" >>"$tmp/config.h"
    16491     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
    16492       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    16493 echo "$as_me: $ac_file is unchanged" >&6;}
     10181    {
     10182      $as_echo "/* $configure_input  */" \
     10183      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     10184    } >"$tmp/config.h" \
     10185      || as_fn_error "could not create $ac_file" "$LINENO" 5
     10186    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     10187      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     10188$as_echo "$as_me: $ac_file is unchanged" >&6;}
    1649410189    else
    16495       rm -f $ac_file
    16496       mv "$tmp/config.h" $ac_file
     10190      rm -f "$ac_file"
     10191      mv "$tmp/config.h" "$ac_file" \
     10192        || as_fn_error "could not create $ac_file" "$LINENO" 5
    1649710193    fi
    1649810194  else
    16499     echo "/* $configure_input  */"
    16500     cat "$ac_result"
     10195    $as_echo "/* $configure_input  */" \
     10196      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     10197      || as_fn_error "could not create -" "$LINENO" 5
    1650110198  fi
    16502   rm -f "$tmp/out12"
    1650310199 ;;
    1650410200
     
    1650910205
    1651010206
    16511 { (exit 0); exit 0; }
    16512 _ACEOF
    16513 chmod +x $CONFIG_STATUS
     10207as_fn_exit 0
     10208_ACEOF
    1651410209ac_clean_files=$ac_clean_files_save
     10210
     10211test $ac_write_fail = 0 ||
     10212  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
    1651510213
    1651610214
     
    1653310231  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    1653410232  # would make configure fail if this is the last instruction.
    16535   $ac_cs_success || { (exit 1); exit 1; }
     10233  $ac_cs_success || as_fn_exit $?
    1653610234fi
    1653710235
     
    1654110239if test "$no_recursion" != yes; then
    1654210240
    16543   # Remove --cache-file and --srcdir arguments so they do not pile up.
     10241  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     10242  # so they do not pile up.
    1654410243  ac_sub_configure_args=
    1654510244  ac_prev=
     
    1657010269    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    1657110270      ;;
     10271    --disable-option-checking)
     10272      ;;
    1657210273    *)
    1657310274      case $ac_arg in
    16574       *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10275      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1657510276      esac
    16576       ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
     10277      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    1657710278    esac
    1657810279  done
     
    1658210283  ac_arg="--prefix=$prefix"
    1658310284  case $ac_arg in
    16584   *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10285  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1658510286  esac
    1658610287  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     
    1659110292  fi
    1659210293
     10294  # Always prepend --disable-option-checking to silence warnings, since
     10295  # different subdirs can have different --enable and --with options.
     10296  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
     10297
    1659310298  ac_popdir=`pwd`
    1659410299  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
     
    1659910304
    1660010305    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
    16601     echo "$as_me:$LINENO: $ac_msg" >&5
    16602     echo "$ac_msg" >&6
    16603     { as_dir="$ac_dir"
    16604   case $as_dir in #(
    16605   -*) as_dir=./$as_dir;;
    16606   esac
    16607   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    16608     as_dirs=
    16609     while :; do
    16610       case $as_dir in #(
    16611       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    16612       *) as_qdir=$as_dir;;
    16613       esac
    16614       as_dirs="'$as_qdir' $as_dirs"
    16615       as_dir=`$as_dirname -- "$as_dir" ||
    16616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    16617          X"$as_dir" : 'X\(//\)[^/]' \| \
    16618          X"$as_dir" : 'X\(//\)$' \| \
    16619          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    16620 echo X"$as_dir" |
    16621     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    16622             s//\1/
    16623             q
    16624           }
    16625           /^X\(\/\/\)[^/].*/{
    16626             s//\1/
    16627             q
    16628           }
    16629           /^X\(\/\/\)$/{
    16630             s//\1/
    16631             q
    16632           }
    16633           /^X\(\/\).*/{
    16634             s//\1/
    16635             q
    16636           }
    16637           s/.*/./; q'`
    16638       test -d "$as_dir" && break
    16639     done
    16640     test -z "$as_dirs" || eval "mkdir $as_dirs"
    16641   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    16642 echo "$as_me: error: cannot create directory $as_dir" >&2;}
    16643    { (exit 1); exit 1; }; }; }
     10306    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
     10307    $as_echo "$ac_msg" >&6
     10308    as_dir="$ac_dir"; as_fn_mkdir_p
    1664410309    ac_builddir=.
    1664510310
     
    1664710312.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1664810313*)
    16649   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     10314  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    1665010315  # A ".." for each directory in $ac_dir_suffix.
    16651   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     10316  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    1665210317  case $ac_top_builddir_sub in
    1665310318  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    1668810353      ac_sub_configure=$ac_aux_dir/configure
    1668910354    else
    16690       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    16691 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     10355      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
     10356$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    1669210357      ac_sub_configure=
    1669310358    fi
     
    1670210367      esac
    1670310368
    16704       { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    16705 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     10369      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     10370$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    1670610371      # The eval makes quoting arguments work.
    1670710372      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
    1670810373           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
    16709         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    16710 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    16711    { (exit 1); exit 1; }; }
     10374        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    1671210375    fi
    1671310376
     
    1671510378  done
    1671610379fi
    16717 
     10380if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     10381  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     10382$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     10383fi
     10384
  • trunk/configure.in

    r1528 r1566  
    557557    examples/objects/floatBuffer/Makefile
    558558    examples/objects/histogram/Makefile
     559    examples/objects/library/Makefile
    559560    examples/objects/number/Makefile
    560561    examples/objects/path/Makefile
  • trunk/examples/objects/Makefile.in

    r1561 r1566  
    1515RM              = rm -f
    1616
     17#               dxReader \
     18#               dxWriter \
     19
    1720examples = \
    1821                axis \
     
    2023                floatBuffer \
    2124                histogram \
     25                library \
    2226                number \
    2327                path \
  • trunk/examples/objects/number/number.cc

    r1560 r1566  
    2020    std::cout << "max: " << n->max() << std::endl;
    2121    std::cout << "units: " << n->units() << std::endl;
    22     std::cout << "xml:\n" << n->xml(indent,tabstop) << std::endl;
     22    // std::cout << "xml:\n" << n->xml(indent,tabstop) << std::endl;
    2323    return 0;
    2424}
     
    8585    if (memblock == NULL) {
    8686        fprintf(stderr,"can't allocate %zu bytes for file \"%s\": %s",
    87             size, filePath, strerror(errno));
     87            (size_t)size, filePath, strerror(errno));
    8888        fclose(f);
    8989        return 0;
     
    9595
    9696    if (nRead != (size_t)size) {
    97         fprintf(stderr,"can't read %zu bytes from \"%s\": %s", size, filePath,
    98             strerror(errno));
     97        fprintf(stderr,"can't read %zu bytes from \"%s\": %s",
     98            (size_t) size, filePath, strerror(errno));
    9999        return 0;
    100100    }
     
    197197    Rappture::Number n;
    198198
    199     n.xml(buf);
     199    n.configure(Rappture::RPCONFIG_XML,(void*)buf);
    200200
    201201    retVal |= testStringVal(testname,testdesc,name,n.name());
  • trunk/examples/objects/tree/tree.c

    r1560 r1566  
    170170    const char *childNodeName = "mychildnode";
    171171    const char *childNodeValue = "quick brown fox";
    172     const char *expected = "quick brown fox1";
     172    const char *expected = "quick brown fox";
    173173    const char *received = NULL;
    174174
  • trunk/examples/objects/xmlparser/Makefile.in

    r1560 r1566  
    3737                $(srcdir)/xmlparser_1_0_out.xml \
    3838                $(srcdir)/xmlparser_2_0_in.xml \
     39                $(srcdir)/xmlparser_5_0_in.xml \
    3940                $(srcdir)/tool.xml \
    4041                Makefile
  • trunk/examples/objects/xmlparser/xmlparser.cc

    r1560 r1566  
    267267run.input.number(Ef).max 10eV\n\
    268268run.input.number(Ef).default 0eV\n\
    269 run.input.number(Ef).current 0eV\n";
     269run.input.number(Ef).current 0eV\n\
     270run.input.number(Ef).preset.value 300K\n\
     271run.input.number(Ef).preset.label 300K (room temperature)\n\
     272run.input.number(Ef).preset.value 77K\n\
     273run.input.number(Ef).preset.label 77K (liquid nitrogen)\n\
     274run.input.number(Ef).preset.value 4.2K\n\
     275run.input.number(Ef).preset.label 4.2K (liquid helium)\n\
     276";
    270277
    271278    const char *received = NULL;
     
    298305// FIXME: test get function
    299306// FIXME: test put function
     307// FIXME: test putf function
     308// FIXME: test appendf function
    300309// FIXME: look into why Rp_ParserXmlPathVal hits some nodes twice in gdb
    301310
  • trunk/src/core/RpOutcome.cc

    r1366 r1566  
    1818 *  Create a negative outcome, with the given error message.
    1919 */
    20 Outcome::Outcome(const char *errmsg) : 
     20Outcome::Outcome(const char *errmsg) :
    2121    _status(0)
    2222{
     
    2727
    2828/// Copy constructor
    29 Outcome::Outcome(const Outcome& oc) : 
     29Outcome::Outcome(const Outcome& oc) :
    3030    _status(oc._status),
    3131    _remark(oc._remark),
     
    7171    n = vsnprintf(bufPtr, 1024, format, lst);
    7272    if (n >= 1024) {
    73         bufPtr = (char *)malloc(n);
    74         vsnprintf(bufPtr, n, format, lst);
     73        bufPtr = (char *)malloc(n);
     74        vsnprintf(bufPtr, n, format, lst);
    7575    }
    7676    if (_remark == "") {
    77         _remark = _context;
    78         _remark.append(":\n");
    79         _remark.append(bufPtr);
     77        _remark = _context;
     78        _remark.append(":\n");
     79        _remark.append(bufPtr);
    8080    } else {
    8181        _remark.append("\n");
    82         _remark.append(bufPtr);
    83     }
    84     _status = 1;                /* Set to error */
     82        _remark.append(bufPtr);
     83    }
     84    _status = 1;                /* Set to error */
    8585    if (bufPtr != stackSpace) {
    86         free(bufPtr);
     86        free(bufPtr);
    8787    }
    8888    return *this;
     
    168168    n = vsnprintf(bufPtr, 1024, format, lst);
    169169    if (n >= 1024) {
    170         bufPtr = (char *)malloc(n);
    171         vsnprintf(bufPtr, n, format, lst);
     170        bufPtr = (char *)malloc(n);
     171        vsnprintf(bufPtr, n, format, lst);
    172172    }
    173173    _contexts.push_front(bufPtr);
     
    187187{
    188188    list<const char *>::interator iter;
    189    
     189
    190190    for (iter = _contexts.begin(); iter != _contexts.end(); iter++) {
    191         fprintf(stderr, "Called from %s\n", *iter);
     191        fprintf(stderr, "Called from %s\n", *iter);
    192192    }
    193193}
  • trunk/src/objects/Makefile.in

    r1560 r1566  
    6464                RpHashHelper.h \
    6565                RpHistogram.h \
     66                RpLibObj.h \
    6667                RpNumber.h \
    6768                RpParserXML.h \
     
    7273                RpString.h \
    7374                RpTree.h \
     75                RpObjConfig.h \
    7476                RpObject.h
    7577
     
    9294                RpHashHelper.o \
    9395                RpHistogram.o \
     96                RpLibObj.o \
    9497                RpNumber.o \
    9598                RpParserXML.o \
     
    115118        $(RM) $@
    116119        $(SHLIB_LD) $(SHLIB_LDFLAGS) -o $@ $(OBJS) \
    117                 $(LIB_SEARCH_DIRS) $(LIBS)  -lstdc++
     120                $(LIB_SEARCH_DIRS) $(LIBS)  -lstdc++ -lexpat
    118121
    119122$(lib): $(OBJS)
  • trunk/src/objects/RpChainHelper.c

    r1528 r1566  
    5656        Rp_ChainUnlinkLink(c2,l);
    5757        Rp_ChainAppendLink(c1,l);
     58        l = Rp_ChainFirstLink(c2);
     59    }
     60
     61    return c1;
     62}
     63
     64Rp_Chain *
     65Rp_ChainInsertChainAfter (
     66    Rp_Chain *c1,
     67    Rp_Chain *c2,
     68    Rp_ChainLink *at)
     69{
     70    Rp_ChainLink *l = NULL;
     71
     72    if (c1 == NULL) {
     73        return c2;
     74    }
     75
     76    if (c2 == NULL) {
     77        return c1;
     78    }
     79
     80    l = Rp_ChainLastLink(c2);
     81    while (l != NULL) {
     82        Rp_ChainUnlinkLink(c2,l);
     83        Rp_ChainLinkAfter(c1,l,at);
     84        l = Rp_ChainLastLink(c2);
     85    }
     86
     87    return c1;
     88}
     89
     90Rp_Chain *
     91Rp_ChainInsertChainBefore (
     92    Rp_Chain *c1,
     93    Rp_Chain *c2,
     94    Rp_ChainLink *at)
     95{
     96    Rp_ChainLink *l = NULL;
     97
     98    if (c1 == NULL) {
     99        return c2;
     100    }
     101
     102    if (c2 == NULL) {
     103        return c1;
     104    }
     105
     106    l = Rp_ChainFirstLink(c2);
     107    while (l != NULL) {
     108        Rp_ChainUnlinkLink(c2,l);
     109        Rp_ChainLinkBefore(c1,l,at);
    58110        l = Rp_ChainFirstLink(c2);
    59111    }
  • trunk/src/objects/RpChainHelper.h

    r1528 r1566  
    1212// int chain2hash(Rp_Chain *c, Rp_HashTable *h);
    1313
    14 Rp_Chain * Rp_ChainJoin     ( Rp_Chain *c1,
    15                               Rp_Chain *c2);
     14Rp_Chain *Rp_ChainJoin (Rp_Chain *c1, Rp_Chain *c2);
    1615
    17 Rp_Chain * Rp_ChainConcat   ( Rp_Chain *c1,
    18                               Rp_Chain *c2);
     16Rp_Chain *Rp_ChainConcat (Rp_Chain *c1, Rp_Chain *c2);
     17Rp_Chain *Rp_ChainInsertChainAfter (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at);
     18Rp_Chain *Rp_ChainInsertChainBefore (Rp_Chain *c1, Rp_Chain *c2, Rp_ChainLink *at);
    1919
    20 int Rp_ChainCopy            ( Rp_Chain *c1,
    21                               Rp_Chain *c2,
    22                               int (*cpyFxn)(void **to,void *from));
     20int Rp_ChainCopy (Rp_Chain *c1, Rp_Chain *c2,
     21                  int (*cpyFxn)(void **to,void *from));
    2322
    2423int Rp_ChainCharCpyFxn (void **to, void *from);
  • trunk/src/objects/RpNumber.cc

    r1560 r1566  
    1616#include "RpSimpleBuffer.h"
    1717#include "RpUnitsCInterface.h"
    18 #include "RpParserXML.h"
    1918#include "RpPath.h"
    2019
     
    302301
    303302/**********************************************************************/
    304 // METHOD: xml()
    305 /// view this object's xml
    306 /**
    307  * View this object as an xml element returned as text.
    308  */
    309 
    310 const char *
    311 Number::xml(size_t indent, size_t tabstop)
    312 {
    313     size_t l1width = indent + (1*tabstop);
    314     size_t l2width = indent + (2*tabstop);
    315     const char *sp = "";
    316 
    317     Path p(path());
    318     _tmpBuf.clear();
    319 
    320     _tmpBuf.appendf(
    321 "%8$*5$s<number id='%1$s'>\n\
    322 %8$*6$s<about>\n\
    323 %8$*7$s<label>%2$s</label>\n\
    324 %8$*7$s<description>%3$s</description>\n\
    325 %8$*6$s</about>\n\
    326 %8$*6$s<units>%4$s</units>\n",
    327        p.id(),label(),desc(),units(),indent,l1width,l2width,sp);
    328 
    329     if (_minSet) {
    330         _tmpBuf.appendf("%4$*3$s<min>%1$g%2$s</min>\n", min(),units(),l1width,sp);
    331     }
    332     if (_maxSet) {
    333         _tmpBuf.appendf("%4$*3$s<max>%1$g%2$s</max>\n", max(),units(),l1width,sp);
    334     }
    335 
    336     _tmpBuf.appendf(
    337 "%6$*5$s<default>%1$g%3$s</default>\n\
    338 %6$*5$s<current>%2$g%3$s</current>\n\
    339 %6$*4$s</number>",
    340        def(),cur(),units(),indent,l1width,sp);
    341 
    342     return _tmpBuf.bytes();
    343 }
    344 
    345 /**********************************************************************/
    346 // METHOD: xml(const char *xmltext)
     303// METHOD: configure(Rp_ParserXml *p)
     304/// construct a number object from the provided tree
     305/**
     306 * construct a number object from the provided tree
     307 */
     308
     309void
     310Number::configure(size_t as, void *p)
     311{
     312    if (as == RPCONFIG_XML) {
     313        __configureFromXml((const char *)p);
     314    } else if (as == RPCONFIG_TREE) {
     315        __configureFromTree((Rp_ParserXml *)p);
     316    }
     317}
     318
     319/**********************************************************************/
     320// METHOD: configureFromXml(const char *xmltext)
    347321/// configure the object based on Rappture1.1 xmltext
    348322/**
     
    351325
    352326void
    353 Number::xml(const char *xmltext)
    354 {
    355     Rp_ParserXml *p = NULL;
    356 
    357     p = Rp_ParserXmlCreate();
    358 
     327Number::__configureFromXml(const char *xmltext)
     328{
     329    if (xmltext == NULL) {
     330        // FIXME: setup error
     331        return;
     332    }
     333
     334    Rp_ParserXml *p = Rp_ParserXmlCreate();
    359335    Rp_ParserXmlParse(p, xmltext);
     336    configure(RPCONFIG_TREE, p);
     337
     338    return;
     339}
     340
     341void
     342Number::__configureFromTree(Rp_ParserXml *p)
     343{
     344    if (p == NULL) {
     345        // FIXME: setup error
     346        return;
     347    }
    360348
    361349    Rp_TreeNode node = Rp_ParserXmlElement(p,NULL);
     350
     351    Rappture::Path pathObj(Rp_ParserXmlNodePath(p,node));
     352
     353    path(pathObj.parent());
    362354    name(Rp_ParserXmlNodeId(p,node));
    363355    label(Rp_ParserXmlGet(p,"about.label"));
     
    390382    // return the base node to the tree root
    391383    Rp_ParserXmlBaseNode(p,NULL);
    392 }
    393 
    394 /**********************************************************************/
    395 // METHOD: tree()
    396 /// return the object as a tree
    397 /**
    398  * Represent the object as a tree.
    399  * An Rp_TreeNode is returned.
    400  */
    401 
    402 /*
    403 Rp_TreeNode
    404 tree()
    405 {
    406     return NULL;
    407 }
    408 */
    409 
    410 /**********************************************************************/
    411 // METHOD: tree(Rp_TreeNode root)
     384
     385    return;
     386}
     387
     388/**********************************************************************/
     389// METHOD: dump(size_t as, void *p)
    412390/// construct a number object from the provided tree
    413391/**
     
    415393 */
    416394
    417 /*
    418 void
    419 tree(
    420     Rp_TreeNode root)
    421 {
    422     if (root == NULL) {
     395void
     396Number::dump(size_t as, ClientData p)
     397{
     398    if (as == RPCONFIG_XML) {
     399        __dumpToXml((clientdata_xml *)p);
     400    } else if (as == RPCONFIG_TREE) {
     401        __dumpToTree((clientdata_tree *)p);
     402    }
     403}
     404
     405/**********************************************************************/
     406// METHOD: dumpToXml(ClientData p)
     407/// configure the object based on Rappture1.1 xmltext
     408/**
     409 * Configure the object based on the provided xml
     410 */
     411
     412void
     413Number::__dumpToXml(ClientData c)
     414{
     415    if (c == NULL) {
    423416        // FIXME: setup error
    424     }
    425 }
    426 */
     417        return;
     418    }
     419
     420    clientdata_xml *d = (clientdata_xml *)c;
     421
     422    size_t l1width = d->indent + (1*d->tabstop);
     423    size_t l2width = d->indent + (2*d->tabstop);
     424    const char *sp = "";
     425
     426    Path p(path());
     427    _tmpBuf.clear();
     428
     429    _tmpBuf.appendf(
     430"%8$*5$s<number id='%1$s'>\n\
     431%8$*6$s<about>\n\
     432%8$*7$s<label>%2$s</label>\n\
     433%8$*7$s<description>%3$s</description>\n\
     434%8$*6$s</about>\n\
     435%8$*6$s<units>%4$s</units>\n",
     436       p.id(),label(),desc(),units(),d->indent,l1width,l2width,sp);
     437
     438    if (_minSet) {
     439        _tmpBuf.appendf("%4$*3$s<min>%1$g%2$s</min>\n", min(),units(),l1width,sp);
     440    }
     441    if (_maxSet) {
     442        _tmpBuf.appendf("%4$*3$s<max>%1$g%2$s</max>\n", max(),units(),l1width,sp);
     443    }
     444
     445    _tmpBuf.appendf(
     446"%6$*5$s<default>%1$g%3$s</default>\n\
     447%6$*5$s<current>%2$g%3$s</current>\n\
     448%6$*4$s</number>",
     449       def(),cur(),units(),d->indent,l1width,sp);
     450
     451    d->retStr =  _tmpBuf.bytes();
     452}
     453
     454/**********************************************************************/
     455// METHOD: dumpToTree(ClientData p)
     456/// dump the object to a Rappture1.1 based tree
     457/**
     458 * Dump the object to a Rappture1.1 based tree
     459 */
     460
     461void
     462Number::__dumpToTree(ClientData c)
     463{
     464    if (c == NULL) {
     465        // FIXME: setup error
     466        return;
     467    }
     468
     469    Rp_ParserXml *parser = (Rp_ParserXml *)c;
     470
     471    Path p;
     472
     473    p.parent(path());
     474    p.last();
     475
     476    p.add("number");
     477    p.id(name());
     478
     479    p.add("about");
     480
     481    p.add("label");
     482    Rp_ParserXmlPutF(parser,p.path(),"%s",label());
     483
     484    p.del();
     485    p.add("description");
     486    Rp_ParserXmlPutF(parser,p.path(),"%s",desc());
     487
     488    p.del();
     489    p.del();
     490    p.add("units");
     491    Rp_ParserXmlPutF(parser,p.path(),"%s",units());
     492
     493
     494    if (_minSet) {
     495        p.del();
     496        p.add("min");
     497        Rp_ParserXmlPutF(parser,p.path(),"%g",min());
     498    }
     499
     500    if (_maxSet) {
     501        p.del();
     502        p.add("max");
     503        Rp_ParserXmlPutF(parser,p.path(),"%g",max());
     504    }
     505
     506    p.del();
     507    p.add("default");
     508    Rp_ParserXmlPutF(parser,p.path(),"%g",def());
     509
     510    p.del();
     511    p.add("current");
     512    Rp_ParserXmlPutF(parser,p.path(),"%g",cur());
     513
     514    // still need to add presets
     515    return;
     516}
    427517
    428518/**********************************************************************/
  • trunk/src/objects/RpNumber.h

    r1560 r1566  
    5757        Number& delPreset(const char *label);
    5858
    59         const char* xml(size_t indent, size_t tabstop);
    60         void xml(const char *xmltext);
    6159
    62         /*
    63         Rp_TreeNode tree();
    64         void tree(Rp_TreeNode root);
    65         */
     60        void configure(size_t as, ClientData p);
     61        void dump(size_t as, ClientData p);
     62        // const char* xml(size_t indent, size_t tabstop);
    6663
    6764        const int is() const;
     
    8885        };
    8986
     87        void __configureFromXml(const char *p);
     88        void __configureFromTree(Rp_ParserXml *p);
     89        void __dumpToXml(ClientData c);
     90        void __dumpToTree(ClientData c);
    9091};
    9192
  • trunk/src/objects/RpObject.cc

    r1560 r1566  
    303303}
    304304
     305/*
    305306void
    306307Object::xml(const char *xmltext)
     308{
     309    return;
     310}
     311*/
     312
     313void
     314Object::configure(size_t as, void *p)
     315{
     316    return;
     317}
     318
     319void
     320Object::dump(size_t as, void *p)
    307321{
    308322    return;
  • trunk/src/objects/RpObject.h

    r1560 r1566  
    1717#include "RpBuffer.h"
    1818#include "RpPath.h"
     19#include "RpParserXML.h"
     20#include "RpObjConfig.h"
    1921
    2022namespace Rappture {
     
    7375
    7476        // set the object properties based on Rappture1.1 xml text
    75         virtual void xml(const char *xmltext);
     77        // virtual void xml(const char *xmltext);
     78
     79        // configure the object properties based on Rappture1.1 xml text
     80        virtual void configure(size_t as, void *p);
     81        virtual void dump(size_t as, void *p);
    7682
    7783        virtual const int is() const;
  • trunk/src/objects/RpParserXML.cc

    r1560 r1566  
    1212 */
    1313
     14#include <errno.h>
     15#include <expat.h>
     16#include <string.h>
     17#include <stdarg.h>
    1418#include "RpParserXML.h"
    1519#include "RpSimpleBuffer.h"
    1620#include "RpPath.h"
    17 
    18 static const char *Rp_ParserXml_Field_ID = "id";
    19 static const char *Rp_ParserXml_Field_VALUE = "value";
    20 static const char *Rp_ParserXml_Field_VISITED = "visited";
    2121
    2222struct Rp_ParserXmlStruct {
     
    2727};
    2828
     29const char *Rp_ParserXml_Field_ID = "id";
     30const char *Rp_ParserXml_Field_VALUE = "value";
     31const char *Rp_ParserXml_Field_VISITED = "visited";
     32const char *Rp_ParserXml_TreeRootName = "rapptureTree";
    2933
    3034static void XMLCALL
     
    127131    Rp_ParserXml *p = new Rp_ParserXml();
    128132
    129     Rp_TreeCreate("rapptureTree",&(p->tree));
     133    Rp_TreeCreate(Rp_ParserXml_TreeRootName,&(p->tree));
    130134    p->curr = Rp_TreeRootNode(p->tree);
    131135    p->path = new Rappture::Path();
     
    340344    Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1);
    341345
    342     if (child != NULL) {
    343         // check to see if there is already a value
    344         if (RP_OK == Rp_TreeGetValue(p->tree,child,
     346    if (child == NULL) {
     347        // error while searching for node?
     348        return;
     349    }
     350
     351    // check to see if there is already a value
     352    if (RP_OK == Rp_TreeGetValue(p->tree,child,
     353                    Rp_ParserXml_Field_VALUE,
     354                    (void **)&oldval)) {
     355        if (oldval != NULL) {
     356            // FIXME: use the RPXML_APPEND flag
     357            if (append) {
     358                oldval_len = strlen(oldval);
     359                val_len = strlen(val);
     360                newval = new char[oldval_len + val_len + 1];
     361                strncpy(newval,oldval,oldval_len);
     362            }
     363            // free the old data
     364            delete(oldval);
     365            oldval = NULL;
     366        }
     367    }
     368
     369    // allocate space for our new value if needed
     370    if (newval == NULL) {
     371        // set the new value for the node
     372        val_len = strlen(val);
     373        newval = new char[val_len + 1];
     374    }
     375
     376    strcpy(newval+oldval_len,val);
     377
     378    // set the value of the child node
     379    if (RP_ERROR == Rp_TreeSetValue(p->tree,child,
    345380                        Rp_ParserXml_Field_VALUE,
    346                         (void **)&oldval)) {
    347             if (oldval != NULL) {
    348                 // FIXME: use the RPXML_APPEND flag
    349                 if (append) {
    350                     oldval_len = strlen(oldval);
    351                     val_len = strlen(val);
    352                     newval = new char[oldval_len + val_len + 1];
    353                     strncpy(newval,oldval,oldval_len);
    354                 }
    355                 // free the old data
    356                 delete(oldval);
    357                 oldval = NULL;
    358             }
    359         }
    360 
    361         // allocate space for our new value if needed
    362         if (newval == NULL) {
    363             // set the new value for the node
    364             val_len = strlen(val);
    365             newval = new char[val_len + 1];
    366         }
    367 
    368         strcpy(newval+oldval_len,val);
    369 
    370         // set the value of the child node
    371         if (RP_ERROR == Rp_TreeSetValue(p->tree,child,
    372                             Rp_ParserXml_Field_VALUE,
    373                             (void *)newval)) {
    374             fprintf(stderr,"error while setting value of %s\n",path);
    375         }
    376     }
     381                        (void *)newval)) {
     382        fprintf(stderr,"error while setting value of %s\n",path);
     383    }
     384
     385    /*
     386    if (p->curr == p->root) {
     387        // reset the root node
     388        p->curr = Rp_TreeFirstChild(p->root);
     389    }
     390    */
     391
    377392    return;
    378393}
     394
     395void
     396Rp_ParserXmlPutF(
     397    Rp_ParserXml *p,
     398    const char *path,
     399    const char *format,
     400    ...)
     401{
     402    if (format == NULL) {
     403        // no value, do nothing
     404        return;
     405    }
     406
     407    Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1);
     408
     409    if (child == NULL) {
     410        fprintf(stderr, "child node %s does not exist", path);
     411        return;
     412    }
     413
     414    // check to see if there is already a value
     415    const char *oldval = NULL;
     416    if (RP_OK == Rp_TreeGetValue(p->tree,child,
     417                    Rp_ParserXml_Field_VALUE,
     418                    (void **)&oldval)) {
     419        if (oldval != NULL) {
     420            // free the old data
     421            delete(oldval);
     422            oldval = NULL;
     423        }
     424    }
     425
     426    // store the formatted string in the tree node
     427    size_t stackSize = 1024;
     428    char *stackSpace = new char[stackSize];
     429    va_list lst;
     430    size_t n;
     431
     432    va_start(lst, format);
     433    n = vsnprintf(stackSpace, stackSize, format, lst);
     434    if (n >= stackSize) {
     435        delete stackSpace;
     436        stackSpace = new char[n];
     437        vsnprintf(stackSpace, n, format, lst);
     438    }
     439
     440    // set the value of the child node
     441    if (RP_ERROR == Rp_TreeSetValue(p->tree,child,
     442                        Rp_ParserXml_Field_VALUE,
     443                        (void *)stackSpace)) {
     444        fprintf(stderr,"error while setting value of %s\n",path);
     445    }
     446
     447    /*
     448    if (p->curr == p->root) {
     449        // reset the root node
     450        p->curr = Rp_TreeFirstChild(p->root);
     451    }
     452    */
     453
     454    return;
     455}
     456
     457void
     458Rp_ParserXmlAppendF(
     459    Rp_ParserXml *p,
     460    const char *path,
     461    const char *format,
     462    ...)
     463{
     464    if (format == NULL) {
     465        // no value, do nothing
     466        return;
     467    }
     468
     469    Rp_TreeNode child = Rp_ParserXmlSearch(p, path, 1);
     470
     471    if (child == NULL) {
     472        fprintf(stderr, "child node %s does not exist", path);
     473        return;
     474    }
     475
     476    // check to see if there is already a value
     477    const char *oldval = NULL;
     478    Rp_TreeGetValue(p->tree,child, Rp_ParserXml_Field_VALUE, (void **)&oldval);
     479
     480    // get the formatted string
     481    size_t stackSize = 1024;
     482    char *stackSpace = new char[stackSize];
     483    va_list lst;
     484    size_t n;
     485
     486    va_start(lst, format);
     487    n = vsnprintf(stackSpace, stackSize, format, lst);
     488    if (n >= stackSize) {
     489        delete stackSpace;
     490        stackSpace = new char[n];
     491        vsnprintf(stackSpace, n, format, lst);
     492    }
     493
     494    // concatenate the formatted string and the old value
     495    char *newval = stackSpace;
     496    if (oldval != NULL) {
     497        size_t oldval_len = strlen(oldval);
     498        newval = new char[n+oldval_len+1];
     499        strcpy(newval, oldval);
     500        strcat(newval,stackSpace);
     501        // free the old data
     502        delete(oldval);
     503        oldval = NULL;
     504        delete(stackSpace);
     505        stackSpace = NULL;
     506    }
     507
     508    // set the value of the child node
     509    if (RP_ERROR == Rp_TreeSetValue(p->tree,child,
     510                        Rp_ParserXml_Field_VALUE,
     511                        (void *)newval)) {
     512        fprintf(stderr,"error while setting value of %s\n",path);
     513    }
     514
     515    /*
     516    if (p->curr == p->root) {
     517        // reset the root node
     518        p->curr = Rp_TreeFirstChild(p->root);
     519    }
     520    */
     521
     522    return;
     523}
     524
    379525
    380526Rp_Tree
     
    408554
    409555    Rp_TreeGetValue(p->tree,node,Rp_ParserXml_Field_VALUE,(void **)&value);
    410     size_t valLen = strlen(value);
     556    size_t valLen = 0;
     557    if (value != NULL) {
     558        valLen = strlen(value);
     559    }
    411560
    412561    if (!Rp_TreeValueExists(p->tree,node,Rp_ParserXml_Field_VISITED)) {
     
    468617    p->buf->appendf("<?xml version=\"1.0\"?>\n");
    469618
    470     Rp_TreeNode root = p->curr;
     619    Rp_TreeNode root = Rp_TreeRootNode(p->tree);
     620    if (p->curr == root) {
     621        // reset the root node
     622        root = Rp_TreeFirstChild(root);
     623    } else {
     624        root = p->curr;
     625    }
    471626
    472627    Rp_TreeApplyDFS(root, printXmlData, (ClientData)p, TREE_PREORDER|TREE_POSTORDER);
     
    540695    p->path = new Rappture::Path();
    541696
    542     Rp_TreeNode root = p->curr;
     697    // Rp_TreeNode root = p->curr;
     698    Rp_TreeNode root = Rp_TreeRootNode(p->tree);
     699    if (p->curr == root) {
     700        // reset the root node
     701        root = Rp_TreeFirstChild(root);
     702    } else {
     703        root = p->curr;
     704    }
    543705
    544706    Rp_TreeApplyDFS(root, printPathVal, (ClientData)p, TREE_PREORDER|TREE_POSTORDER);
     
    599761    Rp_TreeNode node = Rp_ParserXmlSearch(p,path,!RPXML_CREATE);
    600762
    601     if (node != NULL) {
     763    if (node == NULL) {
     764        return count;
     765    }
     766
     767    if (type == NULL) {
     768        node = Rp_TreeFirstChild(node);
     769        while (node != NULL) {
     770            count++;
     771            Rp_ChainAppend(children,(void*)node);
     772            node = Rp_TreeNextSibling(node);
     773        }
     774    } else {
    602775        node = Rp_TreeFindChild(node,type);
    603776        while (node != NULL) {
     
    607780        }
    608781    }
     782
    609783    return count;
    610784}
     
    648822}
    649823
    650 /*
    651824const char *
    652825Rp_ParserXmlNodePath(
     
    654827    Rp_TreeNode node)
    655828{
    656     Path pathObj("junk");
     829    Rappture::Path pathObj;
    657830
    658831    const char *type = NULL;
    659832    const char *id = NULL;
    660833
    661     // FIXME: path's add and del don't work on the current node
    662834    if (p != NULL) {
    663         while (node != p->curr) {
    664             type = Rp_TreeNodeLabel(node)
    665             Rp_TreeGetValue(p->tree,child, Rp_ParserXml_Field_ID,(void **)&id);
    666             pathObj.first();
    667             pathObj.add(type);
    668             pathObj.id(id);
     835        while (node != NULL) {
     836            type = Rp_TreeNodeLabel(node);
     837            pathObj.parent(type);
     838            if (RP_OK == Rp_TreeGetValue(p->tree,node,
     839                            Rp_ParserXml_Field_ID,(void **)&id)) {
     840                pathObj.id(id);
     841            }
    669842            node = Rp_TreeNodeParent(node);
    670843        }
    671844    }
    672845
     846    // remove the tree name from the path
    673847    pathObj.first();
    674848    pathObj.del();
    675     return path
    676 }
    677 */
     849    // remove the <run> tag from the path
     850    // pathObj.del();
     851
     852    p->path->path(pathObj.path());
     853    return p->path->path();
     854}
    678855
    679856const char *
  • trunk/src/objects/RpParserXML.h

    r1560 r1566  
    88 * ======================================================================
    99 */
    10 #include <errno.h>
    11 #include <expat.h>
    12 #include <string.h>
    1310#include "RpTree.h"
    1411#include "RpChain.h"
     
    2421};
    2522
     23extern const char *Rp_ParserXml_Field_ID;
    2624
    2725typedef struct Rp_ParserXmlStruct Rp_ParserXml;
     
    3331Rp_TreeNode Rp_ParserXmlSearch( Rp_ParserXml *p, const char *path, int create);
    3432const char *Rp_ParserXmlGet(Rp_ParserXml *p, const char *path);
    35 void Rp_ParserXmlPut(Rp_ParserXml *p, const char *path, const char *val,
    36     int append);
     33void Rp_ParserXmlPut(Rp_ParserXml *p, const char *path, const char *val, int append);
     34void Rp_ParserXmlPutF(Rp_ParserXml *p, const char *path, const char *val, ...);
     35void Rp_ParserXmlAppendF(Rp_ParserXml *p, const char *path, const char *val, ...);
    3736
    3837Rp_Tree Rp_ParserXmlTreeClient(Rp_ParserXml *p);
     
    4645void Rp_ParserXmlBaseNode(Rp_ParserXml *p, Rp_TreeNode node);
    4746
    48 // const char *Rp_ParserXmlNodePath(Rp_ParserXml *p, Rp_TreeNode node);
     47const char *Rp_ParserXmlNodePath(Rp_ParserXml *p, Rp_TreeNode node);
    4948const char *Rp_ParserXmlNodeId(Rp_ParserXml *p, Rp_TreeNode node);
    5049
  • trunk/src/objects/RpPath.cc

    r1560 r1566  
    55 *  AUTHOR:  Derrick Kearney, Purdue University
    66 *
    7  *  Copyright (c) 2004-2008  Purdue Research Foundation
     7 *  Copyright (c) 2005-2009  Purdue Research Foundation
    88 * ----------------------------------------------------------------------
    99 *  See the file "license.terms" for information on usage and
     
    328328{
    329329    Rp_Chain *addList = NULL;
     330    Rp_ChainLink *tmpLink = NULL;
    330331
    331332    addList = __parse(el);
    332     Rp_ChainConcat(_pathList,addList);
     333    tmpLink = Rp_ChainLastLink(addList);
     334    Rp_ChainInsertChainAfter(_pathList,addList,_currLink);
     335    _currLink = tmpLink;
    333336
    334337    __updateBuffer();
     
    342345    Rp_ChainLink *l = NULL;
    343346
    344     l = Rp_ChainLastLink(_pathList);
     347    // l = Rp_ChainLastLink(_pathList);
     348
     349    if (_currLink != NULL) {
     350        l = _currLink;
     351    } else {
     352        l = Rp_ChainLastLink(_pathList);
     353    }
    345354
    346355    if (l != NULL) {
     
    348357        __deleteComponent(c);
    349358        c = NULL;
     359        _currLink = Rp_ChainPrevLink(l);
     360        if (_currLink == NULL) {
     361            // don't go off the beginning of the list
     362            _currLink = Rp_ChainNextLink(l);
     363            // if _currLink is still NULL, it means the list is blank
     364        }
    350365        Rp_ChainDeleteLink(_pathList,l);
    351366    }
     
    767782Path::parent(const char *p)
    768783{
    769 // FIXME:
    770 /*
    771     if (p == NULL) {
    772         return;
    773     }
    774 
    775784    Rp_Chain *addList = NULL;
    776     Rp_ChainLink *l = NULL;
     785    Rp_ChainLink *tmpLink = NULL;
    777786
    778787    addList = __parse(p);
    779 
    780     if (addList == NULL) {
    781         // no parent path?
    782         return;
    783     }
    784 
    785     // get the last component of pathList
    786     l = Rp_ChainLastLink(_pathList);
    787 
    788     if (l == NULL) {
    789         // nothing to add
    790         Rp_ChainDestroy(addList);
    791         return;
    792     }
    793 
    794     componentStruct *aLcomp = (componentStruct *) Rp_ChainGetValue(l);
    795     Rp_ChainDeleteLink(_pathList,l);
    796 
    797     // delete addList
    798     l = Rp_ChainFirstLink(addList);
    799     while (l != NULL) {
    800         componentStruct *c = (componentStruct *) Rp_ChainGetValue(l);
    801         delete c;
    802         l = Rp_ChainNextLink(l);
    803     }
    804     Rp_ChainDestroy(addList);
    805 
    806     // update the last component from the current path
    807     l = Rp_ChainLastLink(_pathList);
    808 
    809     if (l != NULL) {
    810         componentStruct *last = (componentStruct *) Rp_ChainGetValue(l);
    811         Rp_ChainDeleteLink(_pathList,l);
    812         delete last->type;
    813         last->type = aLcomp->type;
    814         delete aLcomp->type;
    815         delete aLcomp;
    816     } else {
    817         // append the new component onto the current path
    818         delete aLcomp->id;
    819         Rp_ChainAppend(_pathList,aLcomp);
    820     }
     788    // maybe make this an input flag, FirstLink (default) or LastLink
     789    tmpLink = Rp_ChainFirstLink(addList);
     790    Rp_ChainInsertChainBefore(_pathList,addList,_currLink);
     791    _currLink = tmpLink;
    821792
    822793    __updateBuffer();
    823794
    824 */
    825795    return;
    826796}
Note: See TracChangeset for help on using the changeset viewer.