Changeset 833 for trunk/configure


Ignore:
Timestamp:
Dec 26, 2007, 8:19:28 PM (12 years ago)
Author:
dkearney
Message:

updated configure to allow user to compile with or without perl, python, octave, matlab
updated makefiles in examples dir to keep it quiet during compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r719 r833  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for rappture 1.1.
     3# Generated by GNU Autoconf 2.61 for Rappture Core and Bindings 1.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 2003 Free Software Foundation, Inc.
     7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    89# This configure script is free software; the Free Software Foundation
    910# gives unlimited permission to copy, distribute and modify it.
     
    1213## --------------------- ##
    1314
    14 # Be Bourne compatible
     15# Be more Bourne compatible
     16DUALCASE=1; export DUALCASE # for MKS sh
    1517if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1618  emulate sh
     
    1921  # is contrary to our usage.  Disable this feature.
    2022  alias -g '${1+"$@"}'='"$@"'
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    22   set -o posix
    23 fi
    24 DUALCASE=1; export DUALCASE # for MKS sh
    25 
    26 # Support unset when possible.
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    28   as_unset=unset
    29 else
    30   as_unset=false
    31 fi
    32 
    33 
    34 # Work around bugs in pre-3.0 UWIN ksh.
    35 $as_unset ENV MAIL MAILPATH
    36 PS1='$ '
    37 PS2='> '
    38 PS4='+ '
    39 
    40 # NLS nuisances.
    41 for as_var in \
    42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    44   LC_TELEPHONE LC_TIME
    45 do
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    47     eval $as_var=C; export $as_var
    48   else
    49     $as_unset $as_var
    50   fi
    51 done
    52 
    53 # Required to use basename.
    54 if expr a : '\(a\)' >/dev/null 2>&1; then
    55   as_expr=expr
    56 else
    57   as_expr=false
    58 fi
    59 
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    61   as_basename=basename
    62 else
    63   as_basename=false
    64 fi
    65 
    66 
    67 # Name of the executable.
    68 as_me=`$as_basename "$0" ||
    69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    70          X"$0" : 'X\(//\)$' \| \
    71          X"$0" : 'X\(/\)$' \| \
    72          .     : '\(.\)' 2>/dev/null ||
    73 echo X/"$0" |
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    75           /^X\/\(\/\/\)$/{ s//\1/; q; }
    76           /^X\/\(\/\).*/{ s//\1/; q; }
    77           s/.*/./; q'`
    78 
    79 
    80 # PATH needs CR, and LINENO needs CR and PATH.
     23  setopt NO_GLOB_SUBST
     24else
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
    8135# Avoid depending upon Character Ranges.
    8236as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9953fi
    10054
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     55# Support unset when possible.
     56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57  as_unset=unset
     58else
     59  as_unset=false
     60fi
     61
     62
     63# IFS
     64# We need space, tab and new line, in precisely that order.  Quoting is
     65# there to prevent editors from complaining about space-tab.
     66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67# splitting by setting IFS to empty value.)
     68as_nl='
     69'
     70IFS=" ""        $as_nl"
     71
     72# Find who we are.  Look in the path if we contain no directory separator.
     73case $0 in
     74  *[\\/]* ) as_myself=$0 ;;
     75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11276for as_dir in $PATH
    11377do
     
    11680  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11781done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
     82IFS=$as_save_IFS
     83
     84     ;;
     85esac
     86# We did not find ourselves, most probably we were run as `sh COMMAND'
     87# in which case we are not to be found in the path.
     88if test "x$as_myself" = x; then
     89  as_myself=$0
     90fi
     91if 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; }
     94fi
     95
     96# Work around bugs in pre-3.0 UWIN ksh.
     97for as_var in ENV MAIL MAILPATH
     98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99done
     100PS1='$ '
     101PS2='> '
     102PS4='+ '
     103
     104# NLS nuisances.
     105for 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
     109do
     110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     111    eval $as_var=C; export $as_var
     112  else
     113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125114  fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
     115done
     116
     117# Required to use basename.
     118if expr a : '\(a\)' >/dev/null 2>&1 &&
     119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     120  as_expr=expr
     121else
     122  as_expr=false
     123fi
     124
     125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     126  as_basename=basename
     127else
     128  as_basename=false
     129fi
     130
     131
     132# Name of the executable.
     133as_me=`$as_basename -- "$0" ||
     134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     135         X"$0" : 'X\(//\)$' \| \
     136         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     137echo X/"$0" |
     138    sed '/^.*\/\([^/][^/]*\)\/*$/{
     139            s//\1/
     140            q
     141          }
     142          /^X\/\(\/\/\)$/{
     143            s//\1/
     144            q
     145          }
     146          /^X\/\(\/\).*/{
     147            s//\1/
     148            q
     149          }
     150          s/.*/./; q'`
     151
     152# CDPATH.
     153$as_unset CDPATH
     154
     155
     156if test "x$CONFIG_SHELL" = x; then
     157  if (eval ":") 2>/dev/null; then
     158  as_have_required=yes
     159else
     160  as_have_required=no
     161fi
     162
     163  if test $as_have_required = yes &&     (eval ":
     164(as_func_return () {
     165  (exit \$1)
     166}
     167as_func_success () {
     168  as_func_return 0
     169}
     170as_func_failure () {
     171  as_func_return 1
     172}
     173as_func_ret_success () {
     174  return 0
     175}
     176as_func_ret_failure () {
     177  return 1
     178}
     179
     180exitcode=0
     181if as_func_success; then
     182  :
     183else
     184  exitcode=1
     185  echo as_func_success failed.
     186fi
     187
     188if as_func_failure; then
     189  exitcode=1
     190  echo as_func_failure succeeded.
     191fi
     192
     193if as_func_ret_success; then
     194  :
     195else
     196  exitcode=1
     197  echo as_func_ret_success failed.
     198fi
     199
     200if as_func_ret_failure; then
     201  exitcode=1
     202  echo as_func_ret_failure succeeded.
     203fi
     204
     205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     206  :
     207else
     208  exitcode=1
     209  echo positional parameters were not saved.
     210fi
     211
     212test \$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  :
     221else
     222  as_candidate_shells=
    132223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    135226  IFS=$as_save_IFS
    136227  test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138          case $as_dir in
     228  case $as_dir in
    139229         /*)
    140            if ("$as_dir/$as_base" -c '
     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
     234done
     235IFS=$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
     242if 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
     249else
     250  case `(set -o) 2>/dev/null` in
     251  *posix*) set -o posix ;;
     252esac
     253
     254fi
     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
     263if 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
     270else
     271  case `(set -o) 2>/dev/null` in
     272  *posix*) set -o posix ;;
     273esac
     274
     275fi
     276
     277
     278:
     279(as_func_return () {
     280  (exit $1)
     281}
     282as_func_success () {
     283  as_func_return 0
     284}
     285as_func_failure () {
     286  as_func_return 1
     287}
     288as_func_ret_success () {
     289  return 0
     290}
     291as_func_ret_failure () {
     292  return 1
     293}
     294
     295exitcode=0
     296if as_func_success; then
     297  :
     298else
     299  exitcode=1
     300  echo as_func_success failed.
     301fi
     302
     303if as_func_failure; then
     304  exitcode=1
     305  echo as_func_failure succeeded.
     306fi
     307
     308if as_func_ret_success; then
     309  :
     310else
     311  exitcode=1
     312  echo as_func_ret_success failed.
     313fi
     314
     315if as_func_ret_failure; then
     316  exitcode=1
     317  echo as_func_ret_failure succeeded.
     318fi
     319
     320if ( set x; as_func_ret_success y && test x = "$1" ); then
     321  :
     322else
     323  exitcode=1
     324  echo positional parameters were not saved.
     325fi
     326
     327test $exitcode = 0) || { (exit 1); exit 1; }
     328
     329(
    141330  as_lineno_1=$LINENO
    142331  as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144332  test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148              CONFIG_SHELL=$as_dir/$as_base
    149              export CONFIG_SHELL
    150              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151            fi;;
    152          esac
    153        done
    154 done
    155 ;;
    156   esac
     333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     334
     335_ASEOF
     336}; then
     337  break
     338fi
     339
     340fi
     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+"$@"}
     350fi
     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; }
     359fi
     360
     361
     362fi
     363
     364fi
     365
     366
     367
     368(eval "as_func_return () {
     369  (exit \$1)
     370}
     371as_func_success () {
     372  as_func_return 0
     373}
     374as_func_failure () {
     375  as_func_return 1
     376}
     377as_func_ret_success () {
     378  return 0
     379}
     380as_func_ret_failure () {
     381  return 1
     382}
     383
     384exitcode=0
     385if as_func_success; then
     386  :
     387else
     388  exitcode=1
     389  echo as_func_success failed.
     390fi
     391
     392if as_func_failure; then
     393  exitcode=1
     394  echo as_func_failure succeeded.
     395fi
     396
     397if as_func_ret_success; then
     398  :
     399else
     400  exitcode=1
     401  echo as_func_ret_success failed.
     402fi
     403
     404if as_func_ret_failure; then
     405  exitcode=1
     406  echo as_func_ret_failure succeeded.
     407fi
     408
     409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     410  :
     411else
     412  exitcode=1
     413  echo positional parameters were not saved.
     414fi
     415
     416test \$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" || {
    157429
    158430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159431  # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
     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.
    164437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
     438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     439  # E. McMahon (1931-1989) for sed's syntax.  :-)
     440  sed -n '
     441    p
     442    /[$]LINENO/=
     443  ' <$as_myself |
    167444    sed '
     445      s/[$]LINENO.*/&-/
     446      t lineno
     447      b
     448      :lineno
    168449      N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     450      :loop
     451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    172452      t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
     453      s/-\n.*//
    175454    ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
     455  chmod +x "$as_me.lineno" ||
    177456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178457   { (exit 1); exit 1; }; }
     
    180459  # Don't try to exec as it changes $[0], causing all sort of problems
    181460  # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
     461  # original and so on.  Autoconf is especially sensitive to this).
     462  . "./$as_me.lineno"
    184463  # Exit status is that of the last command.
    185464  exit
     
    187466
    188467
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='      ' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
     468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     469  as_dirname=dirname
     470else
     471  as_dirname=false
     472fi
     473
     474ECHO_C= ECHO_N= ECHO_T=
     475case `echo -n x` in
     476-n*)
     477  case `echo 'x\c'` in
     478  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
     479  *)   ECHO_C='\c';;
     480  esac;;
     481*)
     482  ECHO_N='-n';;
     483esac
     484
     485if expr a : '\(a\)' >/dev/null 2>&1 &&
     486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    197487  as_expr=expr
    198488else
     
    201491
    202492rm -f conf$$ conf$$.exe conf$$.file
     493if test -d conf$$.dir; then
     494  rm -f conf$$.dir/conf$$.file
     495else
     496  rm -f conf$$.dir
     497  mkdir conf$$.dir
     498fi
    203499echo >conf$$.file
    204500if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
     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 ||
    209507    as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213508elif ln conf$$.file conf$$ 2>/dev/null; then
    214509  as_ln_s=ln
     
    216511  as_ln_s='cp -p'
    217512fi
    218 rm -f conf$$ conf$$.exe conf$$.file
     513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     514rmdir conf$$.dir 2>/dev/null
    219515
    220516if mkdir -p . 2>/dev/null; then
     
    225521fi
    226522
    227 as_executable_p="test -f"
     523if test -x / >/dev/null 2>&1; then
     524  as_test_x='test -x'
     525else
     526  if ls -dL / >/dev/null 2>&1; then
     527    as_ls_L_option=L
     528  else
     529    as_ls_L_option=
     530  fi
     531  as_test_x='
     532    eval sh -c '\''
     533      if test -d "$1"; then
     534        test -d "$1/.";
     535      else
     536        case $1 in
     537        -*)set "./$1";;
     538        esac;
     539        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     540        ???[sx]*):;;*)false;;esac;fi
     541    '\'' sh
     542  '
     543fi
     544as_executable_p=$as_test_x
    228545
    229546# Sed expression to map a string onto a valid CPP name.
     
    234551
    235552
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS="   $as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
     553
     554exec 7<&0 </dev/null 6>&1
    245555
    246556# Name of the host.
     
    249559ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250560
    251 exec 6>&1
    252 
    253561#
    254562# Initializations.
    255563#
    256564ac_default_prefix=/usr/local
     565ac_clean_files=
    257566ac_config_libobj_dir=.
     567LIBOBJS=
    258568cross_compiling=no
    259569subdirs=
     
    262572SHELL=${CONFIG_SHELL-/bin/sh}
    263573
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268 
    269574# Identity of this package.
    270 PACKAGE_NAME='rappture'
    271 PACKAGE_TARNAME='rappture'
     575PACKAGE_NAME='Rappture Core and Bindings'
     576PACKAGE_TARNAME='rappture-core-and-bindings'
    272577PACKAGE_VERSION='1.1'
    273 PACKAGE_STRING='rappture 1.1'
     578PACKAGE_STRING='Rappture Core and Bindings 1.1'
    274579PACKAGE_BUGREPORT='rappture@nanohub.org'
    275580
     
    277582ac_includes_default="\
    278583#include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
     584#ifdef HAVE_SYS_TYPES_H
    280585# include <sys/types.h>
    281586#endif
    282 #if HAVE_SYS_STAT_H
     587#ifdef HAVE_SYS_STAT_H
    283588# include <sys/stat.h>
    284589#endif
    285 #if STDC_HEADERS
     590#ifdef STDC_HEADERS
    286591# include <stdlib.h>
    287592# include <stddef.h>
    288593#else
    289 # if HAVE_STDLIB_H
     594# ifdef HAVE_STDLIB_H
    290595#  include <stdlib.h>
    291596# endif
    292597#endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
     598#ifdef HAVE_STRING_H
     599# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    295600#  include <memory.h>
    296601# endif
    297602# include <string.h>
    298603#endif
    299 #if HAVE_STRINGS_H
     604#ifdef HAVE_STRINGS_H
    300605# include <strings.h>
    301606#endif
    302 #if HAVE_INTTYPES_H
     607#ifdef HAVE_INTTYPES_H
    303608# include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308609#endif
    309 #if HAVE_UNISTD_H
     610#ifdef HAVE_STDINT_H
     611# include <stdint.h>
     612#endif
     613#ifdef HAVE_UNISTD_H
    310614# include <unistd.h>
    311615#endif"
    312616
    313 ac_subdirs_all="$ac_subdirs_all gui"
    314 ac_subdirs_all="$ac_subdirs_all src/tcl"
    315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION LIB_SEARCH_DIRS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 MEX MEX_ARCH MEXEXT MKOCTFILE PERL PERL_INCLUDES PERL_SITE_PACKAGES PYTHON pythondir PYTHON_VERSION PYTHON_INCLUDES PYTHON_SITE_PACKAGES RP_BASE subdirs LIBOBJS LTLIBOBJS'
     617ac_subst_vars='SHELL
     618PATH_SEPARATOR
     619PACKAGE_NAME
     620PACKAGE_TARNAME
     621PACKAGE_VERSION
     622PACKAGE_STRING
     623PACKAGE_BUGREPORT
     624exec_prefix
     625prefix
     626program_transform_name
     627bindir
     628sbindir
     629libexecdir
     630datarootdir
     631datadir
     632sysconfdir
     633sharedstatedir
     634localstatedir
     635includedir
     636oldincludedir
     637docdir
     638infodir
     639htmldir
     640dvidir
     641pdfdir
     642psdir
     643libdir
     644localedir
     645mandir
     646DEFS
     647ECHO_C
     648ECHO_N
     649ECHO_T
     650LIBS
     651build_alias
     652host_alias
     653target_alias
     654VERSION
     655LIB_SEARCH_DIRS
     656INSTALL_PROGRAM
     657INSTALL_SCRIPT
     658INSTALL_DATA
     659SET_MAKE
     660CC
     661CFLAGS
     662LDFLAGS
     663CPPFLAGS
     664ac_ct_CC
     665EXEEXT
     666OBJEXT
     667CPP
     668GREP
     669EGREP
     670CXX
     671CXXFLAGS
     672ac_ct_CXX
     673CXXCPP
     674F77
     675FFLAGS
     676ac_ct_F77
     677MEX
     678MEX_ARCH
     679MEXEXT
     680MKOCTFILE
     681PERL
     682PERL_INCLUDES
     683PERL_SITE_PACKAGES
     684PYTHON
     685pythondir
     686PYTHON_VERSION
     687PYTHON_INCLUDES
     688PYTHON_SITE_PACKAGES
     689RP_BASE
     690subdirs
     691LIBOBJS
     692LTLIBOBJS'
    316693ac_subst_files=''
     694      ac_precious_vars='build_alias
     695host_alias
     696target_alias
     697CC
     698CFLAGS
     699LDFLAGS
     700LIBS
     701CPPFLAGS
     702CPP
     703CXX
     704CXXFLAGS
     705CCC
     706CXXCPP
     707F77
     708FFLAGS'
     709ac_subdirs_all='gui
     710src/tcl '
    317711
    318712# Initialize some variables set by options.
     
    341735# by default will actually change.
    342736# Use braces instead of parens because sh, perl, etc. also accept them.
     737# (The list follows the same order as the GNU Coding Standards.)
    343738bindir='${exec_prefix}/bin'
    344739sbindir='${exec_prefix}/sbin'
    345740libexecdir='${exec_prefix}/libexec'
    346 datadir='${prefix}/share'
     741datarootdir='${prefix}/share'
     742datadir='${datarootdir}'
    347743sysconfdir='${prefix}/etc'
    348744sharedstatedir='${prefix}/com'
    349745localstatedir='${prefix}/var'
    350 libdir='${exec_prefix}/lib'
    351746includedir='${prefix}/include'
    352747oldincludedir='/usr/include'
    353 infodir='${prefix}/info'
    354 mandir='${prefix}/man'
     748docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
     749infodir='${datarootdir}/info'
     750htmldir='${docdir}'
     751dvidir='${docdir}'
     752pdfdir='${docdir}'
     753psdir='${docdir}'
     754libdir='${exec_prefix}/lib'
     755localedir='${datarootdir}/locale'
     756mandir='${datarootdir}/man'
    355757
    356758ac_prev=
     759ac_dashdash=
    357760for ac_option
    358761do
    359762  # If the previous option needs an argument, assign it.
    360763  if test -n "$ac_prev"; then
    361     eval "$ac_prev=\$ac_option"
     764    eval $ac_prev=\$ac_option
    362765    ac_prev=
    363766    continue
    364767  fi
    365768
    366   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     769  case $ac_option in
     770  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     771  *)    ac_optarg=yes ;;
     772  esac
    367773
    368774  # Accept the important Cygnus configure options, so we can diagnose typos.
    369775
    370   case $ac_option in
     776  case $ac_dashdash$ac_option in
     777  --)
     778    ac_dashdash=yes ;;
    371779
    372780  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    390798    cache_file=config.cache ;;
    391799
    392   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     800  -datadir | --datadir | --datadi | --datad)
    393801    ac_prev=datadir ;;
    394   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    395   | --da=*)
     802  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    396803    datadir=$ac_optarg ;;
     804
     805  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     806  | --dataroo | --dataro | --datar)
     807    ac_prev=datarootdir ;;
     808  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     809  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     810    datarootdir=$ac_optarg ;;
    397811
    398812  -disable-* | --disable-*)
    399813    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    400814    # Reject names that are not valid shell variable names.
    401     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     815    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    402816      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    403817   { (exit 1); exit 1; }; }
    404     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    405     eval "enable_$ac_feature=no" ;;
     818    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     819    eval enable_$ac_feature=no ;;
     820
     821  -docdir | --docdir | --docdi | --doc | --do)
     822    ac_prev=docdir ;;
     823  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     824    docdir=$ac_optarg ;;
     825
     826  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     827    ac_prev=dvidir ;;
     828  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     829    dvidir=$ac_optarg ;;
    406830
    407831  -enable-* | --enable-*)
    408832    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    409833    # Reject names that are not valid shell variable names.
    410     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     834    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    411835      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    412836   { (exit 1); exit 1; }; }
    413     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    414     case $ac_option in
    415       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    416       *) ac_optarg=yes ;;
    417     esac
    418     eval "enable_$ac_feature='$ac_optarg'" ;;
     837    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     838    eval enable_$ac_feature=\$ac_optarg ;;
    419839
    420840  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    443863    host_alias=$ac_optarg ;;
    444864
     865  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     866    ac_prev=htmldir ;;
     867  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     868  | --ht=*)
     869    htmldir=$ac_optarg ;;
     870
    445871  -includedir | --includedir | --includedi | --included | --include \
    446872  | --includ | --inclu | --incl | --inc)
     
    467893    libexecdir=$ac_optarg ;;
    468894
     895  -localedir | --localedir | --localedi | --localed | --locale)
     896    ac_prev=localedir ;;
     897  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     898    localedir=$ac_optarg ;;
     899
    469900  -localstatedir | --localstatedir | --localstatedi | --localstated \
    470   | --localstate | --localstat | --localsta | --localst \
    471   | --locals | --local | --loca | --loc | --lo)
     901  | --localstate | --localstat | --localsta | --localst | --locals)
    472902    ac_prev=localstatedir ;;
    473903  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    474   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    475   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     904  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    476905    localstatedir=$ac_optarg ;;
    477906
     
    538967    program_transform_name=$ac_optarg ;;
    539968
     969  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     970    ac_prev=pdfdir ;;
     971  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     972    pdfdir=$ac_optarg ;;
     973
     974  -psdir | --psdir | --psdi | --psd | --ps)
     975    ac_prev=psdir ;;
     976  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     977    psdir=$ac_optarg ;;
     978
    540979  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    541980  | -silent | --silent | --silen | --sile | --sil)
     
    5901029    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5911030    # Reject names that are not valid shell variable names.
    592     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1031    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    5931032      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5941033   { (exit 1); exit 1; }; }
    595     ac_package=`echo $ac_package| sed 's/-/_/g'`
    596     case $ac_option in
    597       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    598       *) ac_optarg=yes ;;
    599     esac
    600     eval "with_$ac_package='$ac_optarg'" ;;
     1034    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1035    eval with_$ac_package=\$ac_optarg ;;
    6011036
    6021037  -without-* | --without-*)
    6031038    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6041039    # Reject names that are not valid shell variable names.
    605     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     1040    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    6061041      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6071042   { (exit 1); exit 1; }; }
    608     ac_package=`echo $ac_package | sed 's/-/_/g'`
    609     eval "with_$ac_package=no" ;;
     1043    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1044    eval with_$ac_package=no ;;
    6101045
    6111046  --x)
     
    6381073      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6391074   { (exit 1); exit 1; }; }
    640     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    641     eval "$ac_envvar='$ac_optarg'"
     1075    eval $ac_envvar=\$ac_optarg
    6421076    export $ac_envvar ;;
    6431077
     
    6591093fi
    6601094
    661 # Be sure to have absolute paths.
    662 for ac_var in exec_prefix prefix
     1095# Be sure to have absolute directory names.
     1096for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1097                datadir sysconfdir sharedstatedir localstatedir includedir \
     1098                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1099                libdir localedir mandir
    6631100do
    664   eval ac_val=$`echo $ac_var`
     1101  eval ac_val=\$$ac_var
    6651102  case $ac_val in
    666     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    667     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    668    { (exit 1); exit 1; }; };;
     1103    [\\/$]* | ?:[\\/]* )  continue;;
     1104    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6691105  esac
    670 done
    671 
    672 # Be sure to have absolute paths.
    673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    674               localstatedir libdir includedir oldincludedir infodir mandir
    675 do
    676   eval ac_val=$`echo $ac_var`
    677   case $ac_val in
    678     [\\/$]* | ?:[\\/]* ) ;;
    679     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    680    { (exit 1); exit 1; }; };;
    681   esac
     1106  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1107   { (exit 1); exit 1; }; }
    6821108done
    6831109
     
    7061132
    7071133
     1134ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1135ac_ls_di=`ls -di .` &&
     1136ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1137  { echo "$as_me: error: Working directory cannot be determined" >&2
     1138   { (exit 1); exit 1; }; }
     1139test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1140  { echo "$as_me: error: pwd does not report name of working directory" >&2
     1141   { (exit 1); exit 1; }; }
     1142
     1143
    7081144# Find the source files, if location was not specified.
    7091145if test -z "$srcdir"; then
    7101146  ac_srcdir_defaulted=yes
    711   # Try the directory containing this script, then its parent.
    712   ac_confdir=`(dirname "$0") 2>/dev/null ||
     1147  # Try the directory containing this script, then the parent directory.
     1148  ac_confdir=`$as_dirname -- "$0" ||
    7131149$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7141150         X"$0" : 'X\(//\)[^/]' \| \
    7151151         X"$0" : 'X\(//\)$' \| \
    716          X"$0" : 'X\(/\)' \| \
    717          .     : '\(.\)' 2>/dev/null ||
     1152         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7181153echo X"$0" |
    719     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    720           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    721           /^X\(\/\/\)$/{ s//\1/; q; }
    722           /^X\(\/\).*/{ s//\1/; q; }
    723           s/.*/./; q'`
     1154    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1155            s//\1/
     1156            q
     1157          }
     1158          /^X\(\/\/\)[^/].*/{
     1159            s//\1/
     1160            q
     1161          }
     1162          /^X\(\/\/\)$/{
     1163            s//\1/
     1164            q
     1165          }
     1166          /^X\(\/\).*/{
     1167            s//\1/
     1168            q
     1169          }
     1170          s/.*/./; q'`
    7241171  srcdir=$ac_confdir
    725   if test ! -r $srcdir/$ac_unique_file; then
     1172  if test ! -r "$srcdir/$ac_unique_file"; then
    7261173    srcdir=..
    7271174  fi
     
    7291176  ac_srcdir_defaulted=no
    7301177fi
    731 if test ! -r $srcdir/$ac_unique_file; then
    732   if test "$ac_srcdir_defaulted" = yes; then
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1178if test ! -r "$srcdir/$ac_unique_file"; then
     1179  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1180  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    7341181   { (exit 1); exit 1; }; }
    735   else
    736     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1182fi
     1183ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1184ac_abs_confdir=`(
     1185        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7371186   { (exit 1); exit 1; }; }
    738   fi
    739 fi
    740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    741   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    742    { (exit 1); exit 1; }; }
    743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    744 ac_env_build_alias_set=${build_alias+set}
    745 ac_env_build_alias_value=$build_alias
    746 ac_cv_env_build_alias_set=${build_alias+set}
    747 ac_cv_env_build_alias_value=$build_alias
    748 ac_env_host_alias_set=${host_alias+set}
    749 ac_env_host_alias_value=$host_alias
    750 ac_cv_env_host_alias_set=${host_alias+set}
    751 ac_cv_env_host_alias_value=$host_alias
    752 ac_env_target_alias_set=${target_alias+set}
    753 ac_env_target_alias_value=$target_alias
    754 ac_cv_env_target_alias_set=${target_alias+set}
    755 ac_cv_env_target_alias_value=$target_alias
    756 ac_env_CC_set=${CC+set}
    757 ac_env_CC_value=$CC
    758 ac_cv_env_CC_set=${CC+set}
    759 ac_cv_env_CC_value=$CC
    760 ac_env_CFLAGS_set=${CFLAGS+set}
    761 ac_env_CFLAGS_value=$CFLAGS
    762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    763 ac_cv_env_CFLAGS_value=$CFLAGS
    764 ac_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_env_LDFLAGS_value=$LDFLAGS
    766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    767 ac_cv_env_LDFLAGS_value=$LDFLAGS
    768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    772 ac_env_CPP_set=${CPP+set}
    773 ac_env_CPP_value=$CPP
    774 ac_cv_env_CPP_set=${CPP+set}
    775 ac_cv_env_CPP_value=$CPP
    776 ac_env_CXX_set=${CXX+set}
    777 ac_env_CXX_value=$CXX
    778 ac_cv_env_CXX_set=${CXX+set}
    779 ac_cv_env_CXX_value=$CXX
    780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    781 ac_env_CXXFLAGS_value=$CXXFLAGS
    782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    784 ac_env_CXXCPP_set=${CXXCPP+set}
    785 ac_env_CXXCPP_value=$CXXCPP
    786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    787 ac_cv_env_CXXCPP_value=$CXXCPP
    788 ac_env_F77_set=${F77+set}
    789 ac_env_F77_value=$F77
    790 ac_cv_env_F77_set=${F77+set}
    791 ac_cv_env_F77_value=$F77
    792 ac_env_FFLAGS_set=${FFLAGS+set}
    793 ac_env_FFLAGS_value=$FFLAGS
    794 ac_cv_env_FFLAGS_set=${FFLAGS+set}
    795 ac_cv_env_FFLAGS_value=$FFLAGS
     1187        pwd)`
     1188# When building in place, set srcdir=.
     1189if test "$ac_abs_confdir" = "$ac_pwd"; then
     1190  srcdir=.
     1191fi
     1192# Remove unnecessary trailing slashes from srcdir.
     1193# Double slashes in file names in object file debugging info
     1194# mess up M-x gdb in Emacs.
     1195case $srcdir in
     1196*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1197esac
     1198for ac_var in $ac_precious_vars; do
     1199  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1200  eval ac_env_${ac_var}_value=\$${ac_var}
     1201  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1202  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1203done
    7961204
    7971205#
     
    8021210  # This message is too long to be a string in the A/UX 3.1 sh.
    8031211  cat <<_ACEOF
    804 \`configure' configures rappture 1.1 to adapt to many kinds of systems.
     1212\`configure' configures Rappture Core and Bindings 1.1 to adapt to many kinds of systems.
    8051213
    8061214Usage: $0 [OPTION]... [VAR=VALUE]...
     
    8221230      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8231231
    824 _ACEOF
    825 
    826   cat <<_ACEOF
    8271232Installation directories:
    8281233  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8421247  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8431248  --libexecdir=DIR       program executables [EPREFIX/libexec]
    844   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8451249  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8461250  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8491253  --includedir=DIR       C header files [PREFIX/include]
    8501254  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    851   --infodir=DIR          info documentation [PREFIX/info]
    852   --mandir=DIR           man documentation [PREFIX/man]
     1255  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1256  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1257  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1258  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1259  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1260  --docdir=DIR           documentation root [DATAROOTDIR/doc/rappture-core-and-bindings]
     1261  --htmldir=DIR          html documentation [DOCDIR]
     1262  --dvidir=DIR           dvi documentation [DOCDIR]
     1263  --pdfdir=DIR           pdf documentation [DOCDIR]
     1264  --psdir=DIR            ps documentation [DOCDIR]
    8531265_ACEOF
    8541266
     
    8591271if test -n "$ac_init_help"; then
    8601272  case $ac_init_help in
    861      short | recursive ) echo "Configuration of rappture 1.1:";;
     1273     short | recursive ) echo "Configuration of Rappture Core and Bindings 1.1:";;
    8621274   esac
    8631275  cat <<\_ACEOF
     
    8661278  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    8671279  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    868   --with-matlab=DIR     location of matlab and mex compiler
    869                           [default=check]
     1280  --with-matlab=DIR       location of matlab and mex compiler [default=check]
    8701281  --with-matlab-arch=ARCH build Matlab bindings for ARCH architecture
    8711282                          [default=check]
    872   --with-mexext=ARCH    fallback extension for building mex files
     1283  --with-mexext=ARCH      fallback extension for building mex files
    8731284                          [default=check]
    874   --with-octave=DIR     location of octave compiler MKOCTFILE
     1285  --with-octave=DIR       location of octave compiler MKOCTFILE
    8751286                          [default=check]
    876   --with-perl=DIR       location of perl [default=check]
    877   --with-python=DIR     location of python [default=check]
     1287  --with-perl=DIR         location of perl [default=check]
     1288  --with-python=DIR       location of python [default=check]
    8781289
    8791290Some influential environment variables:
     
    8821293  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8831294              nonstandard directory <lib dir>
    884   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    885               headers in a nonstandard directory <include dir>
     1295  LIBS        libraries to pass to the linker, e.g. -l<library>
     1296  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1297              you have headers in a nonstandard directory <include dir>
    8861298  CPP         C preprocessor
    8871299  CXX         C++ compiler command
     
    8961308Report bugs to <rappture@nanohub.org>.
    8971309_ACEOF
     1310ac_status=$?
    8981311fi
    8991312
    9001313if test "$ac_init_help" = "recursive"; then
    9011314  # If there are subdirs, report their specific --help.
    902   ac_popdir=`pwd`
    9031315  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    904     test -d $ac_dir || continue
     1316    test -d "$ac_dir" || continue
    9051317    ac_builddir=.
    9061318
    907 if test "$ac_dir" != .; then
     1319case "$ac_dir" in
     1320.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1321*)
    9081322  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    909   # A "../" for each directory in $ac_dir_suffix.
    910   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    911 else
    912   ac_dir_suffix= ac_top_builddir=
    913 fi
     1323  # A ".." for each directory in $ac_dir_suffix.
     1324  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1325  case $ac_top_builddir_sub in
     1326  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1327  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1328  esac ;;
     1329esac
     1330ac_abs_top_builddir=$ac_pwd
     1331ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1332# for backward compatibility:
     1333ac_top_builddir=$ac_top_build_prefix
    9141334
    9151335case $srcdir in
    916   .)  # No --srcdir option.  We are building in place.
     1336  .)  # We are building in place.
    9171337    ac_srcdir=.
    918     if test -z "$ac_top_builddir"; then
    919        ac_top_srcdir=.
    920     else
    921        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    922     fi ;;
    923   [\\/]* | ?:[\\/]* )  # Absolute path.
     1338    ac_top_srcdir=$ac_top_builddir_sub
     1339    ac_abs_top_srcdir=$ac_pwd ;;
     1340  [\\/]* | ?:[\\/]* )  # Absolute name.
    9241341    ac_srcdir=$srcdir$ac_dir_suffix;
    925     ac_top_srcdir=$srcdir ;;
    926   *) # Relative path.
    927     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    928     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    929 esac
    930 
    931 # Do not use `cd foo && pwd` to compute absolute paths, because
    932 # the directories may not exist.
    933 case `pwd` in
    934 .) ac_abs_builddir="$ac_dir";;
    935 *)
    936   case "$ac_dir" in
    937   .) ac_abs_builddir=`pwd`;;
    938   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    939   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    940   esac;;
    941 esac
    942 case $ac_abs_builddir in
    943 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    944 *)
    945   case ${ac_top_builddir}. in
    946   .) ac_abs_top_builddir=$ac_abs_builddir;;
    947   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    948   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    949   esac;;
    950 esac
    951 case $ac_abs_builddir in
    952 .) ac_abs_srcdir=$ac_srcdir;;
    953 *)
    954   case $ac_srcdir in
    955   .) ac_abs_srcdir=$ac_abs_builddir;;
    956   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    957   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    958   esac;;
    959 esac
    960 case $ac_abs_builddir in
    961 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    962 *)
    963   case $ac_top_srcdir in
    964   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    965   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    966   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    967   esac;;
    968 esac
    969 
    970     cd $ac_dir
    971     # Check for guested configure; otherwise get Cygnus style configure.
    972     if test -f $ac_srcdir/configure.gnu; then
    973       echo
    974       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    975     elif test -f $ac_srcdir/configure; then
    976       echo
    977       $SHELL $ac_srcdir/configure  --help=recursive
    978     elif test -f $ac_srcdir/configure.ac ||
    979            test -f $ac_srcdir/configure.in; then
    980       echo
    981       $ac_configure --help
     1342    ac_top_srcdir=$srcdir
     1343    ac_abs_top_srcdir=$srcdir ;;
     1344  *) # Relative name.
     1345    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1346    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1347    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1348esac
     1349ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1350
     1351    cd "$ac_dir" || { ac_status=$?; continue; }
     1352    # Check for guested configure.
     1353    if test -f "$ac_srcdir/configure.gnu"; then
     1354      echo &&
     1355      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1356    elif test -f "$ac_srcdir/configure"; then
     1357      echo &&
     1358      $SHELL "$ac_srcdir/configure" --help=recursive
    9821359    else
    9831360      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    984     fi
    985     cd "$ac_popdir"
     1361    fi || ac_status=$?
     1362    cd "$ac_pwd" || { ac_status=$?; break; }
    9861363  done
    9871364fi
    9881365
    989 test -n "$ac_init_help" && exit 0
     1366test -n "$ac_init_help" && exit $ac_status
    9901367if $ac_init_version; then
    9911368  cat <<\_ACEOF
    992 rappture configure 1.1
    993 generated by GNU Autoconf 2.59
    994 
    995 Copyright (C) 2003 Free Software Foundation, Inc.
     1369Rappture Core and Bindings configure 1.1
     1370generated by GNU Autoconf 2.61
     1371
     1372Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13732002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9961374This configure script is free software; the Free Software Foundation
    9971375gives unlimited permission to copy, distribute and modify it.
    9981376_ACEOF
    999   exit 0
    1000 fi
    1001 exec 5>config.log
    1002 cat >&5 <<_ACEOF
     1377  exit
     1378fi
     1379cat >config.log <<_ACEOF
    10031380This file contains any messages produced by compilers while
    10041381running configure, to aid debugging if configure makes a mistake.
    10051382
    1006 It was created by rappture $as_me 1.1, which was
    1007 generated by GNU Autoconf 2.59.  Invocation command line was
     1383It was created by Rappture Core and Bindings $as_me 1.1, which was
     1384generated by GNU Autoconf 2.61.  Invocation command line was
    10081385
    10091386  $ $0 $@
    10101387
    10111388_ACEOF
     1389exec 5>>config.log
    10121390{
    10131391cat <<_ASUNAME
     
    10281406/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10291407/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1030 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1408/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10311409/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10321410/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10421420  echo "PATH: $as_dir"
    10431421done
     1422IFS=$as_save_IFS
    10441423
    10451424} >&5
     
    10631442ac_configure_args0=
    10641443ac_configure_args1=
    1065 ac_sep=
    10661444ac_must_keep_next=false
    10671445for ac_pass in 1 2
     
    10741452    | -silent | --silent | --silen | --sile | --sil)
    10751453      continue ;;
    1076     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1454    *\'*)
    10771455      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10781456    esac
     
    10961474        esac
    10971475      fi
    1098       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1099       # Get rid of the leading space.
    1100       ac_sep=" "
     1476      ac_configure_args="$ac_configure_args '$ac_arg'"
    11011477      ;;
    11021478    esac
     
    11091485# config.log.  We remove comments because anyway the quotes in there
    11101486# would cause problems or look ugly.
    1111 # WARNING: Be sure not to use single quotes in there, as some shells,
    1112 # such as our DU 5.0 friend, will then `close' the trap.
     1487# WARNING: Use '\'' to represent an apostrophe within the trap.
     1488# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11131489trap 'exit_status=$?
    11141490  # Save into config.log some information that might help in debugging.
     
    11231499    echo
    11241500    # The following way of writing the cache mishandles newlines in values,
    1125 {
     1501(
     1502  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1503    eval ac_val=\$$ac_var
     1504    case $ac_val in #(
     1505    *${as_nl}*)
     1506      case $ac_var in #(
     1507      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1508echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     1509      esac
     1510      case $ac_var in #(
     1511      _ | IFS | as_nl) ;; #(
     1512      *) $as_unset $ac_var ;;
     1513      esac ;;
     1514    esac
     1515  done
    11261516  (set) 2>&1 |
    1127     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1128     *ac_space=\ *)
     1517    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1518    *${as_nl}ac_space=\ *)
    11291519      sed -n \
    1130         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1131           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1520        "s/'\''/'\''\\\\'\'''\''/g;
     1521          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1522      ;; #(
     1523    *)
     1524      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11321525      ;;
    1133     *)
    1134       sed -n \
    1135         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1136       ;;
    1137     esac;
    1138 }
     1526    esac |
     1527    sort
     1528)
    11391529    echo
    11401530
     
    11471537    for ac_var in $ac_subst_vars
    11481538    do
    1149       eval ac_val=$`echo $ac_var`
    1150       echo "$ac_var='"'"'$ac_val'"'"'"
     1539      eval ac_val=\$$ac_var
     1540      case $ac_val in
     1541      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1542      esac
     1543      echo "$ac_var='\''$ac_val'\''"
    11511544    done | sort
    11521545    echo
     
    11541547    if test -n "$ac_subst_files"; then
    11551548      cat <<\_ASBOX
    1156 ## ------------- ##
    1157 ## Output files. ##
    1158 ## ------------- ##
     1549## ------------------- ##
     1550## File substitutions. ##
     1551## ------------------- ##
    11591552_ASBOX
    11601553      echo
    11611554      for ac_var in $ac_subst_files
    11621555      do
    1163         eval ac_val=$`echo $ac_var`
    1164         echo "$ac_var='"'"'$ac_val'"'"'"
     1556        eval ac_val=\$$ac_var
     1557        case $ac_val in
     1558        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1559        esac
     1560        echo "$ac_var='\''$ac_val'\''"
    11651561      done | sort
    11661562      echo
     
    11741570_ASBOX
    11751571      echo
    1176       sed "/^$/d" confdefs.h | sort
     1572      cat confdefs.h
    11771573      echo
    11781574    fi
     
    11811577    echo "$as_me: exit $exit_status"
    11821578  } >&5
    1183   rm -f core *.core &&
    1184   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1579  rm -f core *.core core.conftest.* &&
     1580    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11851581    exit $exit_status
    1186      ' 0
     1582' 0
    11871583for ac_signal in 1 2 13 15; do
    11881584  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11911587
    11921588# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1193 rm -rf conftest* confdefs.h
    1194 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1195 echo >confdefs.h
     1589rm -f -r conftest* confdefs.h
    11961590
    11971591# Predefined preprocessor variables.
     
    12241618# Let the site file select an alternate cache file if it wants to.
    12251619# Prefer explicitly selected file to automatically selected ones.
    1226 if test -z "$CONFIG_SITE"; then
    1227   if test "x$prefix" != xNONE; then
    1228     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1229   else
    1230     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1231   fi
    1232 fi
    1233 for ac_site_file in $CONFIG_SITE; do
     1620if test -n "$CONFIG_SITE"; then
     1621  set x "$CONFIG_SITE"
     1622elif test "x$prefix" != xNONE; then
     1623  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1624else
     1625  set x "$ac_default_prefix/share/config.site" \
     1626        "$ac_default_prefix/etc/config.site"
     1627fi
     1628shift
     1629for ac_site_file
     1630do
    12341631  if test -r "$ac_site_file"; then
    12351632    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12471644echo "$as_me: loading cache $cache_file" >&6;}
    12481645    case $cache_file in
    1249       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1250       *)                      . ./$cache_file;;
     1646      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1647      *)                      . "./$cache_file";;
    12511648    esac
    12521649  fi
     
    12601657# value.
    12611658ac_cache_corrupted=false
    1262 for ac_var in `(set) 2>&1 |
    1263                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1659for ac_var in $ac_precious_vars; do
    12641660  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12651661  eval ac_new_set=\$ac_env_${ac_var}_set
    1266   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1267   eval ac_new_val="\$ac_env_${ac_var}_value"
     1662  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     1663  eval ac_new_val=\$ac_env_${ac_var}_value
    12681664  case $ac_old_set,$ac_new_set in
    12691665    set,)
     
    12901686  if test "$ac_new_set" = set; then
    12911687    case $ac_new_val in
    1292     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1293       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1688    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12941689    *) ac_arg=$ac_var=$ac_new_val ;;
    12951690    esac
     
    13081703fi
    13091704
     1705
     1706
     1707
     1708
     1709
     1710
     1711
     1712
     1713
     1714
     1715
     1716
     1717
     1718
     1719
     1720
     1721
     1722
     1723
     1724
     1725
     1726
     1727
     1728
    13101729ac_ext=c
    13111730ac_cpp='$CPP $CPPFLAGS'
     
    13161735
    13171736
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324 
    1325 
    1326 
    1327 
    1328 
    1329 
    1330 
    1331 
    1332 
    1333 
    1334 
    1335 
    1336 
    1337 
    1338 
    1339 
    1340 
    1341 
    1342 
    13431737VERSION=0.0.1
    13441738
     
    13641758
    13651759ac_aux_dir=
    1366 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1367   if test -f $ac_dir/install-sh; then
     1760for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     1761  if test -f "$ac_dir/install-sh"; then
    13681762    ac_aux_dir=$ac_dir
    13691763    ac_install_sh="$ac_aux_dir/install-sh -c"
    13701764    break
    1371   elif test -f $ac_dir/install.sh; then
     1765  elif test -f "$ac_dir/install.sh"; then
    13721766    ac_aux_dir=$ac_dir
    13731767    ac_install_sh="$ac_aux_dir/install.sh -c"
    13741768    break
    1375   elif test -f $ac_dir/shtool; then
     1769  elif test -f "$ac_dir/shtool"; then
    13761770    ac_aux_dir=$ac_dir
    13771771    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    13801774done
    13811775if test -z "$ac_aux_dir"; then
    1382   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1383 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     1776  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     1777echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    13841778   { (exit 1); exit 1; }; }
    13851779fi
    1386 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1387 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1388 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1780
     1781# These three variables are undocumented and unsupported,
     1782# and are intended to be withdrawn in a future Autoconf release.
     1783# They can cause serious problems if a builder's source tree is in a directory
     1784# whose full name contains unusual characters.
     1785ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     1786ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     1787ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     1788
    13891789
    13901790# Find a good install program.  We prefer a C program (faster),
     
    14011801# OS/2's system install, which has a completely different semantic
    14021802# ./install, which can be erroneously created by make from ./install.sh.
    1403 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    1404 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1803{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1804echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    14051805if test -z "$INSTALL"; then
    14061806if test "${ac_cv_path_install+set}" = set; then
     
    14241824    for ac_prog in ginstall scoinst install; do
    14251825      for ac_exec_ext in '' $ac_executable_extensions; do
    1426         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1826        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    14271827          if test $ac_prog = install &&
    14281828            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    14431843esac
    14441844done
     1845IFS=$as_save_IFS
    14451846
    14461847
     
    14491850    INSTALL=$ac_cv_path_install
    14501851  else
    1451     # As a last resort, use the slow shell script.  We don't cache a
    1452     # path for INSTALL within a source directory, because that will
     1852    # As a last resort, use the slow shell script.  Don't cache a
     1853    # value for INSTALL within a source directory, because that will
    14531854    # break other packages using the cache if that directory is
    1454     # removed, or if the path is relative.
     1855    # removed, or if the value is a relative name.
    14551856    INSTALL=$ac_install_sh
    14561857  fi
    14571858fi
    1458 echo "$as_me:$LINENO: result: $INSTALL" >&5
    1459 echo "${ECHO_T}$INSTALL" >&6
     1859{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     1860echo "${ECHO_T}$INSTALL" >&6; }
    14601861
    14611862# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    14671868test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    14681869
    1469 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    1470 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    1471 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    1472 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     1870{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     1871echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
     1872set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     1873if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    14731874  echo $ECHO_N "(cached) $ECHO_C" >&6
    14741875else
    14751876  cat >conftest.make <<\_ACEOF
     1877SHELL = /bin/sh
    14761878all:
    1477         @echo 'ac_maketemp="$(MAKE)"'
     1879        @echo '@@@%%%=$(MAKE)=@@@%%%'
    14781880_ACEOF
    14791881# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1480 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    1481 if test -n "$ac_maketemp"; then
    1482   eval ac_cv_prog_make_${ac_make}_set=yes
    1483 else
    1484   eval ac_cv_prog_make_${ac_make}_set=no
    1485 fi
     1882case `${MAKE-make} -f conftest.make 2>/dev/null` in
     1883  *@@@%%%=?*=@@@%%%*)
     1884    eval ac_cv_prog_make_${ac_make}_set=yes;;
     1885  *)
     1886    eval ac_cv_prog_make_${ac_make}_set=no;;
     1887esac
    14861888rm -f conftest.make
    14871889fi
    1488 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1489   echo "$as_me:$LINENO: result: yes" >&5
    1490 echo "${ECHO_T}yes" >&6
     1890if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     1891  { echo "$as_me:$LINENO: result: yes" >&5
     1892echo "${ECHO_T}yes" >&6; }
    14911893  SET_MAKE=
    14921894else
    1493   echo "$as_me:$LINENO: result: no" >&5
    1494 echo "${ECHO_T}no" >&6
     1895  { echo "$as_me:$LINENO: result: no" >&5
     1896echo "${ECHO_T}no" >&6; }
    14951897  SET_MAKE="MAKE=${MAKE-make}"
    14961898fi
     
    15051907  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15061908set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1507 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1909{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1910echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15091911if test "${ac_cv_prog_CC+set}" = set; then
    15101912  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15191921  test -z "$as_dir" && as_dir=.
    15201922  for ac_exec_ext in '' $ac_executable_extensions; do
    1521   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1923  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15221924    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    15231925    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15261928done
    15271929done
     1930IFS=$as_save_IFS
    15281931
    15291932fi
     
    15311934CC=$ac_cv_prog_CC
    15321935if test -n "$CC"; then
    1533   echo "$as_me:$LINENO: result: $CC" >&5
    1534 echo "${ECHO_T}$CC" >&6
    1535 else
    1536   echo "$as_me:$LINENO: result: no" >&5
    1537 echo "${ECHO_T}no" >&6
    1538 fi
     1936  { echo "$as_me:$LINENO: result: $CC" >&5
     1937echo "${ECHO_T}$CC" >&6; }
     1938else
     1939  { echo "$as_me:$LINENO: result: no" >&5
     1940echo "${ECHO_T}no" >&6; }
     1941fi
     1942
    15391943
    15401944fi
     
    15431947  # Extract the first word of "gcc", so it can be a program name with args.
    15441948set dummy gcc; ac_word=$2
    1545 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1949{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1950echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15471951if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15481952  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15571961  test -z "$as_dir" && as_dir=.
    15581962  for ac_exec_ext in '' $ac_executable_extensions; do
    1559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1963  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15601964    ac_cv_prog_ac_ct_CC="gcc"
    15611965    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15641968done
    15651969done
     1970IFS=$as_save_IFS
    15661971
    15671972fi
     
    15691974ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15701975if test -n "$ac_ct_CC"; then
    1571   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1572 echo "${ECHO_T}$ac_ct_CC" >&6
    1573 else
    1574   echo "$as_me:$LINENO: result: no" >&5
    1575 echo "${ECHO_T}no" >&6
    1576 fi
    1577 
    1578   CC=$ac_ct_CC
     1976  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1977echo "${ECHO_T}$ac_ct_CC" >&6; }
     1978else
     1979  { echo "$as_me:$LINENO: result: no" >&5
     1980echo "${ECHO_T}no" >&6; }
     1981fi
     1982
     1983  if test "x$ac_ct_CC" = x; then
     1984    CC=""
     1985  else
     1986    case $cross_compiling:$ac_tool_warned in
     1987yes:)
     1988{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1989whose name does not start with the host triplet.  If you think this
     1990configuration is useful to you, please write to autoconf@gnu.org." >&5
     1991echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1992whose name does not start with the host triplet.  If you think this
     1993configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1994ac_tool_warned=yes ;;
     1995esac
     1996    CC=$ac_ct_CC
     1997  fi
    15791998else
    15801999  CC="$ac_cv_prog_CC"
     
    15822001
    15832002if test -z "$CC"; then
    1584   if test -n "$ac_tool_prefix"; then
    1585   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2003          if test -n "$ac_tool_prefix"; then
     2004    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15862005set dummy ${ac_tool_prefix}cc; ac_word=$2
    1587 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2006{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2007echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15892008if test "${ac_cv_prog_CC+set}" = set; then
    15902009  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15992018  test -z "$as_dir" && as_dir=.
    16002019  for ac_exec_ext in '' $ac_executable_extensions; do
    1601   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16022021    ac_cv_prog_CC="${ac_tool_prefix}cc"
    16032022    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    16062025done
    16072026done
     2027IFS=$as_save_IFS
    16082028
    16092029fi
     
    16112031CC=$ac_cv_prog_CC
    16122032if test -n "$CC"; then
    1613   echo "$as_me:$LINENO: result: $CC" >&5
    1614 echo "${ECHO_T}$CC" >&6
    1615 else
    1616   echo "$as_me:$LINENO: result: no" >&5
    1617 echo "${ECHO_T}no" >&6
    1618 fi
    1619 
    1620 fi
    1621 if test -z "$ac_cv_prog_CC"; then
    1622   ac_ct_CC=$CC
    1623   # Extract the first word of "cc", so it can be a program name with args.
    1624 set dummy cc; ac_word=$2
    1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1628   echo $ECHO_N "(cached) $ECHO_C" >&6
    1629 else
    1630   if test -n "$ac_ct_CC"; then
    1631   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1632 else
    1633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1634 for as_dir in $PATH
    1635 do
    1636   IFS=$as_save_IFS
    1637   test -z "$as_dir" && as_dir=.
    1638   for ac_exec_ext in '' $ac_executable_extensions; do
    1639   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1640     ac_cv_prog_ac_ct_CC="cc"
    1641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1642     break 2
     2033  { echo "$as_me:$LINENO: result: $CC" >&5
     2034echo "${ECHO_T}$CC" >&6; }
     2035else
     2036  { echo "$as_me:$LINENO: result: no" >&5
     2037echo "${ECHO_T}no" >&6; }
     2038fi
     2039
     2040
    16432041  fi
    1644 done
    1645 done
    1646 
    1647 fi
    1648 fi
    1649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1650 if test -n "$ac_ct_CC"; then
    1651   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1652 echo "${ECHO_T}$ac_ct_CC" >&6
    1653 else
    1654   echo "$as_me:$LINENO: result: no" >&5
    1655 echo "${ECHO_T}no" >&6
    1656 fi
    1657 
    1658   CC=$ac_ct_CC
    1659 else
    1660   CC="$ac_cv_prog_CC"
    1661 fi
    1662 
    16632042fi
    16642043if test -z "$CC"; then
    16652044  # Extract the first word of "cc", so it can be a program name with args.
    16662045set dummy cc; ac_word=$2
    1667 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2046{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2047echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    16692048if test "${ac_cv_prog_CC+set}" = set; then
    16702049  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    16802059  test -z "$as_dir" && as_dir=.
    16812060  for ac_exec_ext in '' $ac_executable_extensions; do
    1682   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2061  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16832062    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16842063       ac_prog_rejected=yes
     
    16912070done
    16922071done
     2072IFS=$as_save_IFS
    16932073
    16942074if test $ac_prog_rejected = yes; then
     
    17082088CC=$ac_cv_prog_CC
    17092089if test -n "$CC"; then
    1710   echo "$as_me:$LINENO: result: $CC" >&5
    1711 echo "${ECHO_T}$CC" >&6
    1712 else
    1713   echo "$as_me:$LINENO: result: no" >&5
    1714 echo "${ECHO_T}no" >&6
    1715 fi
     2090  { echo "$as_me:$LINENO: result: $CC" >&5
     2091echo "${ECHO_T}$CC" >&6; }
     2092else
     2093  { echo "$as_me:$LINENO: result: no" >&5
     2094echo "${ECHO_T}no" >&6; }
     2095fi
     2096
    17162097
    17172098fi
    17182099if test -z "$CC"; then
    17192100  if test -n "$ac_tool_prefix"; then
    1720   for ac_prog in cl
     2101  for ac_prog in cl.exe
    17212102  do
    17222103    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    17232104set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2105{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2106echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17262107if test "${ac_cv_prog_CC+set}" = set; then
    17272108  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17362117  test -z "$as_dir" && as_dir=.
    17372118  for ac_exec_ext in '' $ac_executable_extensions; do
    1738   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2119  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17392120    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    17402121    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17432124done
    17442125done
     2126IFS=$as_save_IFS
    17452127
    17462128fi
     
    17482130CC=$ac_cv_prog_CC
    17492131if test -n "$CC"; then
    1750   echo "$as_me:$LINENO: result: $CC" >&5
    1751 echo "${ECHO_T}$CC" >&6
    1752 else
    1753   echo "$as_me:$LINENO: result: no" >&5
    1754 echo "${ECHO_T}no" >&6
    1755 fi
     2132  { echo "$as_me:$LINENO: result: $CC" >&5
     2133echo "${ECHO_T}$CC" >&6; }
     2134else
     2135  { echo "$as_me:$LINENO: result: no" >&5
     2136echo "${ECHO_T}no" >&6; }
     2137fi
     2138
    17562139
    17572140    test -n "$CC" && break
     
    17602143if test -z "$CC"; then
    17612144  ac_ct_CC=$CC
    1762   for ac_prog in cl
     2145  for ac_prog in cl.exe
    17632146do
    17642147  # Extract the first word of "$ac_prog", so it can be a program name with args.
    17652148set dummy $ac_prog; ac_word=$2
    1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2149{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2150echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    17682151if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    17692152  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17782161  test -z "$as_dir" && as_dir=.
    17792162  for ac_exec_ext in '' $ac_executable_extensions; do
    1780   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2163  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17812164    ac_cv_prog_ac_ct_CC="$ac_prog"
    17822165    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    17852168done
    17862169done
     2170IFS=$as_save_IFS
    17872171
    17882172fi
     
    17902174ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17912175if test -n "$ac_ct_CC"; then
    1792   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1793 echo "${ECHO_T}$ac_ct_CC" >&6
    1794 else
    1795   echo "$as_me:$LINENO: result: no" >&5
    1796 echo "${ECHO_T}no" >&6
    1797 fi
     2176  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2177echo "${ECHO_T}$ac_ct_CC" >&6; }
     2178else
     2179  { echo "$as_me:$LINENO: result: no" >&5
     2180echo "${ECHO_T}no" >&6; }
     2181fi
     2182
    17982183
    17992184  test -n "$ac_ct_CC" && break
    18002185done
    18012186
    1802   CC=$ac_ct_CC
     2187  if test "x$ac_ct_CC" = x; then
     2188    CC=""
     2189  else
     2190    case $cross_compiling:$ac_tool_warned in
     2191yes:)
     2192{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2193whose name does not start with the host triplet.  If you think this
     2194configuration is useful to you, please write to autoconf@gnu.org." >&5
     2195echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2196whose name does not start with the host triplet.  If you think this
     2197configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2198ac_tool_warned=yes ;;
     2199esac
     2200    CC=$ac_ct_CC
     2201  fi
    18032202fi
    18042203
     
    18132212
    18142213# Provide some information about the compiler.
    1815 echo "$as_me:$LINENO:" \
    1816      "checking for C compiler version" >&5
     2214echo "$as_me:$LINENO: checking for C compiler version" >&5
    18172215ac_compiler=`set X $ac_compile; echo $2`
    1818 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1819   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2216{ (ac_try="$ac_compiler --version >&5"
     2217case "(($ac_try" in
     2218  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2219  *) ac_try_echo=$ac_try;;
     2220esac
     2221eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2222  (eval "$ac_compiler --version >&5") 2>&5
    18202223  ac_status=$?
    18212224  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18222225  (exit $ac_status); }
    1823 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1824   (eval $ac_compiler -v </dev/null >&5) 2>&5
     2226{ (ac_try="$ac_compiler -v >&5"
     2227case "(($ac_try" in
     2228  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2229  *) ac_try_echo=$ac_try;;
     2230esac
     2231eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2232  (eval "$ac_compiler -v >&5") 2>&5
    18252233  ac_status=$?
    18262234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18272235  (exit $ac_status); }
    1828 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1829   (eval $ac_compiler -V </dev/null >&5) 2>&5
     2236{ (ac_try="$ac_compiler -V >&5"
     2237case "(($ac_try" in
     2238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2239  *) ac_try_echo=$ac_try;;
     2240esac
     2241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2242  (eval "$ac_compiler -V >&5") 2>&5
    18302243  ac_status=$?
    18312244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    18522265# It will help us diagnose broken compilers, and finding out an intuition
    18532266# of exeext.
    1854 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1855 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     2267{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2268echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    18562269ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1857 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1858   (eval $ac_link_default) 2>&5
     2270#
     2271# List of possible output files, starting from the most likely.
     2272# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2273# only as a last resort.  b.out is created by i960 compilers.
     2274ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2275#
     2276# The IRIX 6 linker writes into existing files which may not be
     2277# executable, retaining their permissions.  Remove them first so a
     2278# subsequent execution test works.
     2279ac_rmfiles=
     2280for ac_file in $ac_files
     2281do
     2282  case $ac_file in
     2283    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     2284    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2285  esac
     2286done
     2287rm -f $ac_rmfiles
     2288
     2289if { (ac_try="$ac_link_default"
     2290case "(($ac_try" in
     2291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2292  *) ac_try_echo=$ac_try;;
     2293esac
     2294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2295  (eval "$ac_link_default") 2>&5
    18592296  ac_status=$?
    18602297  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18612298  (exit $ac_status); }; then
    1862   # Find the output, starting from the most likely.  This scheme is
    1863 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1864 # resort.
    1865 
    1866 # Be careful to initialize this variable, since it used to be cached.
    1867 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1868 ac_cv_exeext=
    1869 # b.out is created by i960 compilers.
    1870 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2299  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2300# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2301# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2302# so that the user can short-circuit this test for compilers unknown to
     2303# Autoconf.
     2304for ac_file in $ac_files ''
    18712305do
    18722306  test -f "$ac_file" || continue
    18732307  case $ac_file in
    1874     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1875         ;;
    1876     conftest.$ac_ext )
    1877         # This is the source file.
     2308    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    18782309        ;;
    18792310    [ab].out )
     
    18822313        break;;
    18832314    *.* )
    1884         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1885         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1886         # but it would be cool to find out if it's true.  Does anybody
    1887         # maintain Libtool? --akim.
    1888         export ac_cv_exeext
     2315        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2316        then :; else
     2317           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2318        fi
     2319        # We set ac_cv_exeext here because the later test for it is not
     2320        # safe: cross compilers may not add the suffix if given an `-o'
     2321        # argument, so we may need to know it at that point already.
     2322        # Even if this section looks crufty: it has the advantage of
     2323        # actually working.
    18892324        break;;
    18902325    * )
     
    18922327  esac
    18932328done
    1894 else
     2329test "$ac_cv_exeext" = no && ac_cv_exeext=
     2330
     2331else
     2332  ac_file=''
     2333fi
     2334
     2335{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2336echo "${ECHO_T}$ac_file" >&6; }
     2337if test -z "$ac_file"; then
    18952338  echo "$as_me: failed program was:" >&5
    18962339sed 's/^/| /' conftest.$ac_ext >&5
     
    19042347
    19052348ac_exeext=$ac_cv_exeext
    1906 echo "$as_me:$LINENO: result: $ac_file" >&5
    1907 echo "${ECHO_T}$ac_file" >&6
    1908 
    1909 # Check the compiler produces executables we can run.  If not, either
     2349
     2350# Check that the compiler produces executables we can run.  If not, either
    19102351# the compiler is broken, or we cross compile.
    1911 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1912 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2352{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2353echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    19132354# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    19142355# If not cross compiling, check that we can run a simple program.
    19152356if test "$cross_compiling" != yes; then
    19162357  if { ac_try='./$ac_file'
    1917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1918   (eval $ac_try) 2>&5
     2358  { (case "(($ac_try" in
     2359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2360  *) ac_try_echo=$ac_try;;
     2361esac
     2362eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2363  (eval "$ac_try") 2>&5
    19192364  ac_status=$?
    19202365  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19352380  fi
    19362381fi
    1937 echo "$as_me:$LINENO: result: yes" >&5
    1938 echo "${ECHO_T}yes" >&6
     2382{ echo "$as_me:$LINENO: result: yes" >&5
     2383echo "${ECHO_T}yes" >&6; }
    19392384
    19402385rm -f a.out a.exe conftest$ac_cv_exeext b.out
    19412386ac_clean_files=$ac_clean_files_save
    1942 # Check the compiler produces executables we can run.  If not, either
     2387# Check that the compiler produces executables we can run.  If not, either
    19432388# the compiler is broken, or we cross compile.
    1944 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1945 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1946 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1947 echo "${ECHO_T}$cross_compiling" >&6
    1948 
    1949 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1950 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1952   (eval $ac_link) 2>&5
     2389{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2390echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2391{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2392echo "${ECHO_T}$cross_compiling" >&6; }
     2393
     2394{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2395echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2396if { (ac_try="$ac_link"
     2397case "(($ac_try" in
     2398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2399  *) ac_try_echo=$ac_try;;
     2400esac
     2401eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2402  (eval "$ac_link") 2>&5
    19532403  ac_status=$?
    19542404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    19612411  test -f "$ac_file" || continue
    19622412  case $ac_file in
    1963     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2413    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    19642414    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1965           export ac_cv_exeext
    19662415          break;;
    19672416    * ) break;;
     
    19772426
    19782427rm -f conftest$ac_cv_exeext
    1979 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1980 echo "${ECHO_T}$ac_cv_exeext" >&6
     2428{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2429echo "${ECHO_T}$ac_cv_exeext" >&6; }
    19812430
    19822431rm -f conftest.$ac_ext
    19832432EXEEXT=$ac_cv_exeext
    19842433ac_exeext=$EXEEXT
    1985 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1986 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2434{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2435echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    19872436if test "${ac_cv_objext+set}" = set; then
    19882437  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20042453_ACEOF
    20052454rm -f conftest.o conftest.obj
    2006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2007   (eval $ac_compile) 2>&5
     2455if { (ac_try="$ac_compile"
     2456case "(($ac_try" in
     2457  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2458  *) ac_try_echo=$ac_try;;
     2459esac
     2460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2461  (eval "$ac_compile") 2>&5
    20082462  ac_status=$?
    20092463  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    20102464  (exit $ac_status); }; then
    2011   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2465  for ac_file in conftest.o conftest.obj conftest.*; do
     2466  test -f "$ac_file" || continue;
    20122467  case $ac_file in
    2013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2468    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    20142469    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    20152470       break;;
     
    20292484rm -f conftest.$ac_cv_objext conftest.$ac_ext
    20302485fi
    2031 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2032 echo "${ECHO_T}$ac_cv_objext" >&6
     2486{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2487echo "${ECHO_T}$ac_cv_objext" >&6; }
    20332488OBJEXT=$ac_cv_objext
    20342489ac_objext=$OBJEXT
    2035 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2036 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2490{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2491echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    20372492if test "${ac_cv_c_compiler_gnu+set}" = set; then
    20382493  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    20572512_ACEOF
    20582513rm -f conftest.$ac_objext
    2059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2060   (eval $ac_compile) 2>conftest.er1
     2514if { (ac_try="$ac_compile"
     2515case "(($ac_try" in
     2516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2517  *) ac_try_echo=$ac_try;;
     2518esac
     2519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2520  (eval "$ac_compile") 2>conftest.er1
    20612521  ac_status=$?
    20622522  grep -v '^ *+' conftest.er1 >conftest.err
     
    20642524  cat conftest.err >&5
    20652525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2066   (exit $ac_status); } &&
    2067          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2069   (eval $ac_try) 2>&5
    2070   ac_status=$?
    2071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2072   (exit $ac_status); }; } &&
    2073          { ac_try='test -s conftest.$ac_objext'
    2074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2075   (eval $ac_try) 2>&5
    2076   ac_status=$?
    2077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2078   (exit $ac_status); }; }; then
     2526  (exit $ac_status); } && {
     2527         test -z "$ac_c_werror_flag" ||
     2528         test ! -s conftest.err
     2529       } && test -s conftest.$ac_objext; then
    20792530  ac_compiler_gnu=yes
    20802531else
     
    20822533sed 's/^/| /' conftest.$ac_ext >&5
    20832534
    2084 ac_compiler_gnu=no
    2085 fi
    2086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2535        ac_compiler_gnu=no
     2536fi
     2537
     2538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20872539ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20882540
    20892541fi
    2090 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2091 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2542{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2543echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    20922544GCC=`test $ac_compiler_gnu = yes && echo yes`
    20932545ac_test_CFLAGS=${CFLAGS+set}
    20942546ac_save_CFLAGS=$CFLAGS
    2095 CFLAGS="-g"
    2096 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2097 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2547{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2548echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    20982549if test "${ac_cv_prog_cc_g+set}" = set; then
    20992550  echo $ECHO_N "(cached) $ECHO_C" >&6
    21002551else
    2101   cat >conftest.$ac_ext <<_ACEOF
     2552  ac_save_c_werror_flag=$ac_c_werror_flag
     2553   ac_c_werror_flag=yes
     2554   ac_cv_prog_cc_g=no
     2555   CFLAGS="-g"
     2556   cat >conftest.$ac_ext <<_ACEOF
    21022557/* confdefs.h.  */
    21032558_ACEOF
     
    21152570_ACEOF
    21162571rm -f conftest.$ac_objext
    2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2118   (eval $ac_compile) 2>conftest.er1
     2572if { (ac_try="$ac_compile"
     2573case "(($ac_try" in
     2574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2575  *) ac_try_echo=$ac_try;;
     2576esac
     2577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2578  (eval "$ac_compile") 2>conftest.er1
    21192579  ac_status=$?
    21202580  grep -v '^ *+' conftest.er1 >conftest.err
     
    21222582  cat conftest.err >&5
    21232583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2124   (exit $ac_status); } &&
    2125          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2127   (eval $ac_try) 2>&5
    2128   ac_status=$?
    2129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2130   (exit $ac_status); }; } &&
    2131          { ac_try='test -s conftest.$ac_objext'
    2132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2133   (eval $ac_try) 2>&5
    2134   ac_status=$?
    2135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2136   (exit $ac_status); }; }; then
     2584  (exit $ac_status); } && {
     2585         test -z "$ac_c_werror_flag" ||
     2586         test ! -s conftest.err
     2587       } && test -s conftest.$ac_objext; then
    21372588  ac_cv_prog_cc_g=yes
    21382589else
     
    21402591sed 's/^/| /' conftest.$ac_ext >&5
    21412592
    2142 ac_cv_prog_cc_g=no
    2143 fi
    2144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2145 fi
    2146 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2147 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2593        CFLAGS=""
     2594      cat >conftest.$ac_ext <<_ACEOF
     2595/* confdefs.h.  */
     2596_ACEOF
     2597cat confdefs.h >>conftest.$ac_ext
     2598cat >>conftest.$ac_ext <<_ACEOF
     2599/* end confdefs.h.  */
     2600
     2601int
     2602main ()
     2603{
     2604
     2605  ;
     2606  return 0;
     2607}
     2608_ACEOF
     2609rm -f conftest.$ac_objext
     2610if { (ac_try="$ac_compile"
     2611case "(($ac_try" in
     2612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2613  *) ac_try_echo=$ac_try;;
     2614esac
     2615eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2616  (eval "$ac_compile") 2>conftest.er1
     2617  ac_status=$?
     2618  grep -v '^ *+' conftest.er1 >conftest.err
     2619  rm -f conftest.er1
     2620  cat conftest.err >&5
     2621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2622  (exit $ac_status); } && {
     2623         test -z "$ac_c_werror_flag" ||
     2624         test ! -s conftest.err
     2625       } && test -s conftest.$ac_objext; then
     2626  :
     2627else
     2628  echo "$as_me: failed program was:" >&5
     2629sed 's/^/| /' conftest.$ac_ext >&5
     2630
     2631        ac_c_werror_flag=$ac_save_c_werror_flag
     2632         CFLAGS="-g"
     2633         cat >conftest.$ac_ext <<_ACEOF
     2634/* confdefs.h.  */
     2635_ACEOF
     2636cat confdefs.h >>conftest.$ac_ext
     2637cat >>conftest.$ac_ext <<_ACEOF
     2638/* end confdefs.h.  */
     2639
     2640int
     2641main ()
     2642{
     2643
     2644  ;
     2645  return 0;
     2646}
     2647_ACEOF
     2648rm -f conftest.$ac_objext
     2649if { (ac_try="$ac_compile"
     2650case "(($ac_try" in
     2651  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2652  *) ac_try_echo=$ac_try;;
     2653esac
     2654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2655  (eval "$ac_compile") 2>conftest.er1
     2656  ac_status=$?
     2657  grep -v '^ *+' conftest.er1 >conftest.err
     2658  rm -f conftest.er1
     2659  cat conftest.err >&5
     2660  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2661  (exit $ac_status); } && {
     2662         test -z "$ac_c_werror_flag" ||
     2663         test ! -s conftest.err
     2664       } && test -s conftest.$ac_objext; then
     2665  ac_cv_prog_cc_g=yes
     2666else
     2667  echo "$as_me: failed program was:" >&5
     2668sed 's/^/| /' conftest.$ac_ext >&5
     2669
     2670
     2671fi
     2672
     2673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2674fi
     2675
     2676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2677fi
     2678
     2679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2680   ac_c_werror_flag=$ac_save_c_werror_flag
     2681fi
     2682{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2683echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    21482684if test "$ac_test_CFLAGS" = set; then
    21492685  CFLAGS=$ac_save_CFLAGS
     
    21612697  fi
    21622698fi
    2163 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2164 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2165 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2699{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2700echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2701if test "${ac_cv_prog_cc_c89+set}" = set; then
    21662702  echo $ECHO_N "(cached) $ECHO_C" >&6
    21672703else
    2168   ac_cv_prog_cc_stdc=no
     2704  ac_cv_prog_cc_c89=no
    21692705ac_save_CC=$CC
    21702706cat >conftest.$ac_ext <<_ACEOF
     
    22002736   function prototypes and stuff, but not '\xHH' hex character constants.
    22012737   These don't provoke an error unfortunately, instead are silently treated
    2202    as 'x'.  The following induces an error, until -std1 is added to get
     2738   as 'x'.  The following induces an error, until -std is added to get
    22032739   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    22042740   array size at least.  It's necessary to write '\x00'==0 to get something
    2205    that's true only with -std1.  */
     2741   that's true only with -std.  */
    22062742int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2743
     2744/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2745   inside strings and character constants.  */
     2746#define FOO(x) 'x'
     2747int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    22072748
    22082749int test (int i, double x);
     
    22202761}
    22212762_ACEOF
    2222 # Don't try gcc -ansi; that turns off useful extensions and
    2223 # breaks some systems' header files.
    2224 # AIX                   -qlanglvl=ansi
    2225 # Ultrix and OSF/1      -std1
    2226 # HP-UX 10.20 and later -Ae
    2227 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2228 # SVR4                  -Xc -D__EXTENSIONS__
    2229 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2763for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2764        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    22302765do
    22312766  CC="$ac_save_CC $ac_arg"
    22322767  rm -f conftest.$ac_objext
    2233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2234   (eval $ac_compile) 2>conftest.er1
     2768if { (ac_try="$ac_compile"
     2769case "(($ac_try" in
     2770  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2771  *) ac_try_echo=$ac_try;;
     2772esac
     2773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2774  (eval "$ac_compile") 2>conftest.er1
    22352775  ac_status=$?
    22362776  grep -v '^ *+' conftest.er1 >conftest.err
     
    22382778  cat conftest.err >&5
    22392779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2240   (exit $ac_status); } &&
    2241          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2243   (eval $ac_try) 2>&5
    2244   ac_status=$?
    2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2246   (exit $ac_status); }; } &&
    2247          { ac_try='test -s conftest.$ac_objext'
    2248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2249   (eval $ac_try) 2>&5
    2250   ac_status=$?
    2251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2252   (exit $ac_status); }; }; then
    2253   ac_cv_prog_cc_stdc=$ac_arg
    2254 break
     2780  (exit $ac_status); } && {
     2781         test -z "$ac_c_werror_flag" ||
     2782         test ! -s conftest.err
     2783       } && test -s conftest.$ac_objext; then
     2784  ac_cv_prog_cc_c89=$ac_arg
    22552785else
    22562786  echo "$as_me: failed program was:" >&5
    22572787sed 's/^/| /' conftest.$ac_ext >&5
    22582788
    2259 fi
    2260 rm -f conftest.err conftest.$ac_objext
    2261 done
    2262 rm -f conftest.$ac_ext conftest.$ac_objext
     2789
     2790fi
     2791
     2792rm -f core conftest.err conftest.$ac_objext
     2793  test "x$ac_cv_prog_cc_c89" != "xno" && break
     2794done
     2795rm -f conftest.$ac_ext
    22632796CC=$ac_save_CC
    22642797
    22652798fi
    2266 
    2267 case "x$ac_cv_prog_cc_stdc" in
    2268   x|xno)
    2269     echo "$as_me:$LINENO: result: none needed" >&5
    2270 echo "${ECHO_T}none needed" >&6 ;;
     2799# AC_CACHE_VAL
     2800case "x$ac_cv_prog_cc_c89" in
     2801  x)
     2802    { echo "$as_me:$LINENO: result: none needed" >&5
     2803echo "${ECHO_T}none needed" >&6; } ;;
     2804  xno)
     2805    { echo "$as_me:$LINENO: result: unsupported" >&5
     2806echo "${ECHO_T}unsupported" >&6; } ;;
    22712807  *)
    2272     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2273 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2274     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2275 esac
    2276 
    2277 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2278 # in C++ we need to declare it.  In case someone uses the same compiler
    2279 # for both compiling C and C++ we need to have the C++ compiler decide
    2280 # the declaration of exit, since it's the most demanding environment.
    2281 cat >conftest.$ac_ext <<_ACEOF
    2282 #ifndef __cplusplus
    2283   choke me
    2284 #endif
    2285 _ACEOF
    2286 rm -f conftest.$ac_objext
    2287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2288   (eval $ac_compile) 2>conftest.er1
    2289   ac_status=$?
    2290   grep -v '^ *+' conftest.er1 >conftest.err
    2291   rm -f conftest.er1
    2292   cat conftest.err >&5
    2293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2294   (exit $ac_status); } &&
    2295          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2297   (eval $ac_try) 2>&5
    2298   ac_status=$?
    2299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2300   (exit $ac_status); }; } &&
    2301          { ac_try='test -s conftest.$ac_objext'
    2302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2303   (eval $ac_try) 2>&5
    2304   ac_status=$?
    2305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2306   (exit $ac_status); }; }; then
    2307   for ac_declaration in \
    2308    '' \
    2309    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2310    'extern "C" void std::exit (int); using std::exit;' \
    2311    'extern "C" void exit (int) throw ();' \
    2312    'extern "C" void exit (int);' \
    2313    'void exit (int);'
    2314 do
    2315   cat >conftest.$ac_ext <<_ACEOF
    2316 /* confdefs.h.  */
    2317 _ACEOF
    2318 cat confdefs.h >>conftest.$ac_ext
    2319 cat >>conftest.$ac_ext <<_ACEOF
    2320 /* end confdefs.h.  */
    2321 $ac_declaration
    2322 #include <stdlib.h>
    2323 int
    2324 main ()
    2325 {
    2326 exit (42);
    2327   ;
    2328   return 0;
    2329 }
    2330 _ACEOF
    2331 rm -f conftest.$ac_objext
    2332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2333   (eval $ac_compile) 2>conftest.er1
    2334   ac_status=$?
    2335   grep -v '^ *+' conftest.er1 >conftest.err
    2336   rm -f conftest.er1
    2337   cat conftest.err >&5
    2338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2339   (exit $ac_status); } &&
    2340          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2342   (eval $ac_try) 2>&5
    2343   ac_status=$?
    2344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2345   (exit $ac_status); }; } &&
    2346          { ac_try='test -s conftest.$ac_objext'
    2347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2348   (eval $ac_try) 2>&5
    2349   ac_status=$?
    2350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2351   (exit $ac_status); }; }; then
    2352   :
    2353 else
    2354   echo "$as_me: failed program was:" >&5
    2355 sed 's/^/| /' conftest.$ac_ext >&5
    2356 
    2357 continue
    2358 fi
    2359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2360   cat >conftest.$ac_ext <<_ACEOF
    2361 /* confdefs.h.  */
    2362 _ACEOF
    2363 cat confdefs.h >>conftest.$ac_ext
    2364 cat >>conftest.$ac_ext <<_ACEOF
    2365 /* end confdefs.h.  */
    2366 $ac_declaration
    2367 int
    2368 main ()
    2369 {
    2370 exit (42);
    2371   ;
    2372   return 0;
    2373 }
    2374 _ACEOF
    2375 rm -f conftest.$ac_objext
    2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2377   (eval $ac_compile) 2>conftest.er1
    2378   ac_status=$?
    2379   grep -v '^ *+' conftest.er1 >conftest.err
    2380   rm -f conftest.er1
    2381   cat conftest.err >&5
    2382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2383   (exit $ac_status); } &&
    2384          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2386   (eval $ac_try) 2>&5
    2387   ac_status=$?
    2388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2389   (exit $ac_status); }; } &&
    2390          { ac_try='test -s conftest.$ac_objext'
    2391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2392   (eval $ac_try) 2>&5
    2393   ac_status=$?
    2394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2395   (exit $ac_status); }; }; then
    2396   break
    2397 else
    2398   echo "$as_me: failed program was:" >&5
    2399 sed 's/^/| /' conftest.$ac_ext >&5
    2400 
    2401 fi
    2402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2403 done
    2404 rm -f conftest*
    2405 if test -n "$ac_declaration"; then
    2406   echo '#ifdef __cplusplus' >>confdefs.h
    2407   echo $ac_declaration      >>confdefs.h
    2408   echo '#endif'             >>confdefs.h
    2409 fi
    2410 
    2411 else
    2412   echo "$as_me: failed program was:" >&5
    2413 sed 's/^/| /' conftest.$ac_ext >&5
    2414 
    2415 fi
    2416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2808    CC="$CC $ac_cv_prog_cc_c89"
     2809    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2810echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2811esac
     2812
     2813
    24172814ac_ext=c
    24182815ac_cpp='$CPP $CPPFLAGS'
     
    24342831ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24352832ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2436 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2437 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     2833{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2834echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    24382835# On Suns, sometimes $CPP names a directory.
    24392836if test -n "$CPP" && test -d "$CPP"; then
     
    24692866                     Syntax error
    24702867_ACEOF
    2471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2472   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2868if { (ac_try="$ac_cpp conftest.$ac_ext"
     2869case "(($ac_try" in
     2870  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2871  *) ac_try_echo=$ac_try;;
     2872esac
     2873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2874  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    24732875  ac_status=$?
    24742876  grep -v '^ *+' conftest.er1 >conftest.err
     
    24762878  cat conftest.err >&5
    24772879  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2478   (exit $ac_status); } >/dev/null; then
    2479   if test -s conftest.err; then
    2480     ac_cpp_err=$ac_c_preproc_warn_flag
    2481     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2482   else
    2483     ac_cpp_err=
    2484   fi
    2485 else
    2486   ac_cpp_err=yes
    2487 fi
    2488 if test -z "$ac_cpp_err"; then
     2880  (exit $ac_status); } >/dev/null && {
     2881         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2882         test ! -s conftest.err
     2883       }; then
    24892884  :
    24902885else
     
    24952890continue
    24962891fi
     2892
    24972893rm -f conftest.err conftest.$ac_ext
    24982894
    2499   # OK, works on sane cases.  Now check whether non-existent headers
     2895  # OK, works on sane cases.  Now check whether nonexistent headers
    25002896  # can be detected and how.
    25012897  cat >conftest.$ac_ext <<_ACEOF
     
    25072903#include <ac_nonexistent.h>
    25082904_ACEOF
    2509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2510   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2905if { (ac_try="$ac_cpp conftest.$ac_ext"
     2906case "(($ac_try" in
     2907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2908  *) ac_try_echo=$ac_try;;
     2909esac
     2910eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2911  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    25112912  ac_status=$?
    25122913  grep -v '^ *+' conftest.er1 >conftest.err
     
    25142915  cat conftest.err >&5
    25152916  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2516   (exit $ac_status); } >/dev/null; then
    2517   if test -s conftest.err; then
    2518     ac_cpp_err=$ac_c_preproc_warn_flag
    2519     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2520   else
    2521     ac_cpp_err=
    2522   fi
    2523 else
    2524   ac_cpp_err=yes
    2525 fi
    2526 if test -z "$ac_cpp_err"; then
     2917  (exit $ac_status); } >/dev/null && {
     2918         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2919         test ! -s conftest.err
     2920       }; then
    25272921  # Broken: success on invalid input.
    25282922continue
     
    25352929break
    25362930fi
     2931
    25372932rm -f conftest.err conftest.$ac_ext
    25382933
     
    25522947  ac_cv_prog_CPP=$CPP
    25532948fi
    2554 echo "$as_me:$LINENO: result: $CPP" >&5
    2555 echo "${ECHO_T}$CPP" >&6
     2949{ echo "$as_me:$LINENO: result: $CPP" >&5
     2950echo "${ECHO_T}$CPP" >&6; }
    25562951ac_preproc_ok=false
    25572952for ac_c_preproc_warn_flag in '' yes
     
    25762971                     Syntax error
    25772972_ACEOF
    2578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2579   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2973if { (ac_try="$ac_cpp conftest.$ac_ext"
     2974case "(($ac_try" in
     2975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2976  *) ac_try_echo=$ac_try;;
     2977esac
     2978eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2979  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    25802980  ac_status=$?
    25812981  grep -v '^ *+' conftest.er1 >conftest.err
     
    25832983  cat conftest.err >&5
    25842984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2585   (exit $ac_status); } >/dev/null; then
    2586   if test -s conftest.err; then
    2587     ac_cpp_err=$ac_c_preproc_warn_flag
    2588     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2589   else
    2590     ac_cpp_err=
    2591   fi
    2592 else
    2593   ac_cpp_err=yes
    2594 fi
    2595 if test -z "$ac_cpp_err"; then
     2985  (exit $ac_status); } >/dev/null && {
     2986         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2987         test ! -s conftest.err
     2988       }; then
    25962989  :
    25972990else
     
    26022995continue
    26032996fi
     2997
    26042998rm -f conftest.err conftest.$ac_ext
    26052999
    2606   # OK, works on sane cases.  Now check whether non-existent headers
     3000  # OK, works on sane cases.  Now check whether nonexistent headers
    26073001  # can be detected and how.
    26083002  cat >conftest.$ac_ext <<_ACEOF
     
    26143008#include <ac_nonexistent.h>
    26153009_ACEOF
    2616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2617   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3010if { (ac_try="$ac_cpp conftest.$ac_ext"
     3011case "(($ac_try" in
     3012  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3013  *) ac_try_echo=$ac_try;;
     3014esac
     3015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3016  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    26183017  ac_status=$?
    26193018  grep -v '^ *+' conftest.er1 >conftest.err
     
    26213020  cat conftest.err >&5
    26223021  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2623   (exit $ac_status); } >/dev/null; then
    2624   if test -s conftest.err; then
    2625     ac_cpp_err=$ac_c_preproc_warn_flag
    2626     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2627   else
    2628     ac_cpp_err=
    2629   fi
    2630 else
    2631   ac_cpp_err=yes
    2632 fi
    2633 if test -z "$ac_cpp_err"; then
     3022  (exit $ac_status); } >/dev/null && {
     3023         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3024         test ! -s conftest.err
     3025       }; then
    26343026  # Broken: success on invalid input.
    26353027continue
     
    26423034break
    26433035fi
     3036
    26443037rm -f conftest.err conftest.$ac_ext
    26453038
     
    26643057
    26653058
    2666 echo "$as_me:$LINENO: checking for egrep" >&5
    2667 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2668 if test "${ac_cv_prog_egrep+set}" = set; then
     3059{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3060echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     3061if test "${ac_cv_path_GREP+set}" = set; then
    26693062  echo $ECHO_N "(cached) $ECHO_C" >&6
    26703063else
    2671   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2672     then ac_cv_prog_egrep='grep -E'
    2673     else ac_cv_prog_egrep='egrep'
     3064  # Extract the first word of "grep ggrep" to use in msg output
     3065if test -z "$GREP"; then
     3066set dummy grep ggrep; ac_prog_name=$2
     3067if test "${ac_cv_path_GREP+set}" = set; then
     3068  echo $ECHO_N "(cached) $ECHO_C" >&6
     3069else
     3070  ac_path_GREP_found=false
     3071# Loop through the user's path and test for each of PROGNAME-LIST
     3072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3073for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3074do
     3075  IFS=$as_save_IFS
     3076  test -z "$as_dir" && as_dir=.
     3077  for ac_prog in grep ggrep; do
     3078  for ac_exec_ext in '' $ac_executable_extensions; do
     3079    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3080    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3081    # Check for GNU ac_path_GREP and select it if it is found.
     3082  # Check for GNU $ac_path_GREP
     3083case `"$ac_path_GREP" --version 2>&1` in
     3084*GNU*)
     3085  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3086*)
     3087  ac_count=0
     3088  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3089  while :
     3090  do
     3091    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3092    mv "conftest.tmp" "conftest.in"
     3093    cp "conftest.in" "conftest.nl"
     3094    echo 'GREP' >> "conftest.nl"
     3095    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3096    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3097    ac_count=`expr $ac_count + 1`
     3098    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3099      # Best one so far, save it but keep looking for a better one
     3100      ac_cv_path_GREP="$ac_path_GREP"
     3101      ac_path_GREP_max=$ac_count
    26743102    fi
    2675 fi
    2676 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2677 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2678  EGREP=$ac_cv_prog_egrep
    2679 
    2680 
    2681 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    2682 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3103    # 10*(2^10) chars as input seems more than enough
     3104    test $ac_count -gt 10 && break
     3105  done
     3106  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3107esac
     3108
     3109
     3110    $ac_path_GREP_found && break 3
     3111  done
     3112done
     3113
     3114done
     3115IFS=$as_save_IFS
     3116
     3117
     3118fi
     3119
     3120GREP="$ac_cv_path_GREP"
     3121if test -z "$GREP"; then
     3122  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3123echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3124   { (exit 1); exit 1; }; }
     3125fi
     3126
     3127else
     3128  ac_cv_path_GREP=$GREP
     3129fi
     3130
     3131
     3132fi
     3133{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3134echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     3135 GREP="$ac_cv_path_GREP"
     3136
     3137
     3138{ echo "$as_me:$LINENO: checking for egrep" >&5
     3139echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     3140if test "${ac_cv_path_EGREP+set}" = set; then
     3141  echo $ECHO_N "(cached) $ECHO_C" >&6
     3142else
     3143  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3144   then ac_cv_path_EGREP="$GREP -E"
     3145   else
     3146     # Extract the first word of "egrep" to use in msg output
     3147if test -z "$EGREP"; then
     3148set dummy egrep; ac_prog_name=$2
     3149if test "${ac_cv_path_EGREP+set}" = set; then
     3150  echo $ECHO_N "(cached) $ECHO_C" >&6
     3151else
     3152  ac_path_EGREP_found=false
     3153# Loop through the user's path and test for each of PROGNAME-LIST
     3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3155for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3156do
     3157  IFS=$as_save_IFS
     3158  test -z "$as_dir" && as_dir=.
     3159  for ac_prog in egrep; do
     3160  for ac_exec_ext in '' $ac_executable_extensions; do
     3161    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3162    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3163    # Check for GNU ac_path_EGREP and select it if it is found.
     3164  # Check for GNU $ac_path_EGREP
     3165case `"$ac_path_EGREP" --version 2>&1` in
     3166*GNU*)
     3167  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     3168*)
     3169  ac_count=0
     3170  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     3171  while :
     3172  do
     3173    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3174    mv "conftest.tmp" "conftest.in"
     3175    cp "conftest.in" "conftest.nl"
     3176    echo 'EGREP' >> "conftest.nl"
     3177    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3178    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3179    ac_count=`expr $ac_count + 1`
     3180    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     3181      # Best one so far, save it but keep looking for a better one
     3182      ac_cv_path_EGREP="$ac_path_EGREP"
     3183      ac_path_EGREP_max=$ac_count
     3184    fi
     3185    # 10*(2^10) chars as input seems more than enough
     3186    test $ac_count -gt 10 && break
     3187  done
     3188  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3189esac
     3190
     3191
     3192    $ac_path_EGREP_found && break 3
     3193  done
     3194done
     3195
     3196done
     3197IFS=$as_save_IFS
     3198
     3199
     3200fi
     3201
     3202EGREP="$ac_cv_path_EGREP"
     3203if test -z "$EGREP"; then
     3204  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3205echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3206   { (exit 1); exit 1; }; }
     3207fi
     3208
     3209else
     3210  ac_cv_path_EGREP=$EGREP
     3211fi
     3212
     3213
     3214   fi
     3215fi
     3216{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3217echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     3218 EGREP="$ac_cv_path_EGREP"
     3219
     3220
     3221{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3222echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    26833223if test "${ac_cv_header_stdc+set}" = set; then
    26843224  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    27043244_ACEOF
    27053245rm -f conftest.$ac_objext
    2706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2707   (eval $ac_compile) 2>conftest.er1
     3246if { (ac_try="$ac_compile"
     3247case "(($ac_try" in
     3248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3249  *) ac_try_echo=$ac_try;;
     3250esac
     3251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3252  (eval "$ac_compile") 2>conftest.er1
    27083253  ac_status=$?
    27093254  grep -v '^ *+' conftest.er1 >conftest.err
     
    27113256  cat conftest.err >&5
    27123257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2713   (exit $ac_status); } &&
    2714          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2716   (eval $ac_try) 2>&5
    2717   ac_status=$?
    2718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2719   (exit $ac_status); }; } &&
    2720          { ac_try='test -s conftest.$ac_objext'
    2721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2722   (eval $ac_try) 2>&5
    2723   ac_status=$?
    2724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2725   (exit $ac_status); }; }; then
     3258  (exit $ac_status); } && {
     3259         test -z "$ac_c_werror_flag" ||
     3260         test ! -s conftest.err
     3261       } && test -s conftest.$ac_objext; then
    27263262  ac_cv_header_stdc=yes
    27273263else
     
    27293265sed 's/^/| /' conftest.$ac_ext >&5
    27303266
    2731 ac_cv_header_stdc=no
    2732 fi
    2733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3267        ac_cv_header_stdc=no
     3268fi
     3269
     3270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27343271
    27353272if test $ac_cv_header_stdc = yes; then
     
    27873324/* end confdefs.h.  */
    27883325#include <ctype.h>
     3326#include <stdlib.h>
    27893327#if ((' ' & 0x0FF) == 0x020)
    27903328# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    28063344    if (XOR (islower (i), ISLOWER (i))
    28073345        || toupper (i) != TOUPPER (i))
    2808       exit(2);
    2809   exit (0);
     3346      return 2;
     3347  return 0;
    28103348}
    28113349_ACEOF
    28123350rm -f conftest$ac_exeext
    2813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2814   (eval $ac_link) 2>&5
     3351if { (ac_try="$ac_link"
     3352case "(($ac_try" in
     3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3354  *) ac_try_echo=$ac_try;;
     3355esac
     3356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3357  (eval "$ac_link") 2>&5
    28153358  ac_status=$?
    28163359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    28173360  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2819   (eval $ac_try) 2>&5
     3361  { (case "(($ac_try" in
     3362  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3363  *) ac_try_echo=$ac_try;;
     3364esac
     3365eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3366  (eval "$ac_try") 2>&5
    28203367  ac_status=$?
    28213368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    28303377ac_cv_header_stdc=no
    28313378fi
    2832 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2833 fi
    2834 fi
    2835 fi
    2836 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    2837 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3379rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3380fi
     3381
     3382
     3383fi
     3384fi
     3385{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3386echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    28383387if test $ac_cv_header_stdc = yes; then
    28393388
     
    28443393fi
    28453394
    2846 echo "$as_me:$LINENO: checking for atol" >&5
    2847 echo $ECHO_N "checking for atol... $ECHO_C" >&6
     3395{ echo "$as_me:$LINENO: checking for atol" >&5
     3396echo $ECHO_N "checking for atol... $ECHO_C" >&6; }
    28483397if test "${ac_cv_func_atol+set}" = set; then
    28493398  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    28723421#undef atol
    28733422
    2874 /* Override any gcc2 internal prototype to avoid an error.  */
     3423/* Override any GCC internal prototype to avoid an error.
     3424   Use char because int might match the return type of a GCC
     3425   builtin and then its argument prototype would still apply.  */
    28753426#ifdef __cplusplus
    28763427extern "C"
    2877 {
    28783428#endif
    2879 /* We use char because int might match the return type of a gcc2
    2880    builtin and then its argument prototype would still apply.  */
    28813429char atol ();
    28823430/* The GNU C library defines this for functions which it implements
    28833431    to always fail with ENOSYS.  Some functions are actually named
    28843432    something starting with __ and the normal name is an alias.  */
    2885 #if defined (__stub_atol) || defined (__stub___atol)
     3433#if defined __stub_atol || defined __stub___atol
    28863434choke me
    2887 #else
    2888 char (*f) () = atol;
    2889 #endif
    2890 #ifdef __cplusplus
    2891 }
    28923435#endif
    28933436
     
    28953438main ()
    28963439{
    2897 return f != atol;
     3440return atol ();
    28983441  ;
    28993442  return 0;
     
    29013444_ACEOF
    29023445rm -f conftest.$ac_objext conftest$ac_exeext
    2903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2904   (eval $ac_link) 2>conftest.er1
     3446if { (ac_try="$ac_link"
     3447case "(($ac_try" in
     3448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3449  *) ac_try_echo=$ac_try;;
     3450esac
     3451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3452  (eval "$ac_link") 2>conftest.er1
    29053453  ac_status=$?
    29063454  grep -v '^ *+' conftest.er1 >conftest.err
     
    29083456  cat conftest.err >&5
    29093457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2910   (exit $ac_status); } &&
    2911          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
    2912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2913   (eval $ac_try) 2>&5
    2914   ac_status=$?
    2915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2916   (exit $ac_status); }; } &&
    2917          { ac_try='test -s conftest$ac_exeext'
    2918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2919   (eval $ac_try) 2>&5
    2920   ac_status=$?
    2921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2922   (exit $ac_status); }; }; then
     3458  (exit $ac_status); } && {
     3459         test -z "$ac_c_werror_flag" ||
     3460         test ! -s conftest.err
     3461       } && test -s conftest$ac_exeext &&
     3462       $as_test_x conftest$ac_exeext; then
    29233463  ac_cv_func_atol=yes
    29243464else
     
    29263466sed 's/^/| /' conftest.$ac_ext >&5
    29273467
    2928 ac_cv_func_atol=no
    2929 fi
    2930 rm -f conftest.err conftest.$ac_objext \
     3468        ac_cv_func_atol=no
     3469fi
     3470
     3471rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    29313472      conftest$ac_exeext conftest.$ac_ext
    29323473fi
    2933 echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    2934 echo "${ECHO_T}$ac_cv_func_atol" >&6
     3474{ echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
     3475echo "${ECHO_T}$ac_cv_func_atol" >&6; }
    29353476if test $ac_cv_func_atol = yes; then
    29363477  :
     
    29423483
    29433484
    2944 ac_ext=cc
     3485ac_ext=cpp
    29453486ac_cpp='$CXXCPP $CPPFLAGS'
    29463487ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    29473488ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29483489ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2949 if test -n "$ac_tool_prefix"; then
    2950   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3490if test -z "$CXX"; then
     3491  if test -n "$CCC"; then
     3492    CXX=$CCC
     3493  else
     3494    if test -n "$ac_tool_prefix"; then
     3495  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    29513496  do
    29523497    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29533498set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2954 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3499{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3500echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29563501if test "${ac_cv_prog_CXX+set}" = set; then
    29573502  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    29663511  test -z "$as_dir" && as_dir=.
    29673512  for ac_exec_ext in '' $ac_executable_extensions; do
    2968   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3513  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29693514    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    29703515    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29733518done
    29743519done
     3520IFS=$as_save_IFS
    29753521
    29763522fi
     
    29783524CXX=$ac_cv_prog_CXX
    29793525if test -n "$CXX"; then
    2980   echo "$as_me:$LINENO: result: $CXX" >&5
    2981 echo "${ECHO_T}$CXX" >&6
    2982 else
    2983   echo "$as_me:$LINENO: result: no" >&5
    2984 echo "${ECHO_T}no" >&6
    2985 fi
     3526  { echo "$as_me:$LINENO: result: $CXX" >&5
     3527echo "${ECHO_T}$CXX" >&6; }
     3528else
     3529  { echo "$as_me:$LINENO: result: no" >&5
     3530echo "${ECHO_T}no" >&6; }
     3531fi
     3532
    29863533
    29873534    test -n "$CXX" && break
     
    29903537if test -z "$CXX"; then
    29913538  ac_ct_CXX=$CXX
    2992   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3539  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    29933540do
    29943541  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29953542set dummy $ac_prog; ac_word=$2
    2996 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3543{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3544echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    29983545if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    29993546  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30083555  test -z "$as_dir" && as_dir=.
    30093556  for ac_exec_ext in '' $ac_executable_extensions; do
    3010   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3557  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    30113558    ac_cv_prog_ac_ct_CXX="$ac_prog"
    30123559    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    30153562done
    30163563done
     3564IFS=$as_save_IFS
    30173565
    30183566fi
     
    30203568ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    30213569if test -n "$ac_ct_CXX"; then
    3022   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3023 echo "${ECHO_T}$ac_ct_CXX" >&6
    3024 else
    3025   echo "$as_me:$LINENO: result: no" >&5
    3026 echo "${ECHO_T}no" >&6
    3027 fi
     3570  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     3571echo "${ECHO_T}$ac_ct_CXX" >&6; }
     3572else
     3573  { echo "$as_me:$LINENO: result: no" >&5
     3574echo "${ECHO_T}no" >&6; }
     3575fi
     3576
    30283577
    30293578  test -n "$ac_ct_CXX" && break
    30303579done
    3031 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    3032 
    3033   CXX=$ac_ct_CXX
    3034 fi
    3035 
    3036 
     3580
     3581  if test "x$ac_ct_CXX" = x; then
     3582    CXX="g++"
     3583  else
     3584    case $cross_compiling:$ac_tool_warned in
     3585yes:)
     3586{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     3587whose name does not start with the host triplet.  If you think this
     3588configuration is useful to you, please write to autoconf@gnu.org." >&5
     3589echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     3590whose name does not start with the host triplet.  If you think this
     3591configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3592ac_tool_warned=yes ;;
     3593esac
     3594    CXX=$ac_ct_CXX
     3595  fi
     3596fi
     3597
     3598  fi
     3599fi
    30373600# Provide some information about the compiler.
    3038 echo "$as_me:$LINENO:" \
    3039      "checking for C++ compiler version" >&5
     3601echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    30403602ac_compiler=`set X $ac_compile; echo $2`
    3041 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    3042   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3603{ (ac_try="$ac_compiler --version >&5"
     3604case "(($ac_try" in
     3605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3606  *) ac_try_echo=$ac_try;;
     3607esac
     3608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3609  (eval "$ac_compiler --version >&5") 2>&5
    30433610  ac_status=$?
    30443611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30453612  (exit $ac_status); }
    3046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    3047   (eval $ac_compiler -v </dev/null >&5) 2>&5
     3613{ (ac_try="$ac_compiler -v >&5"
     3614case "(($ac_try" in
     3615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3616  *) ac_try_echo=$ac_try;;
     3617esac
     3618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3619  (eval "$ac_compiler -v >&5") 2>&5
    30483620  ac_status=$?
    30493621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30503622  (exit $ac_status); }
    3051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    3052   (eval $ac_compiler -V </dev/null >&5) 2>&5
     3623{ (ac_try="$ac_compiler -V >&5"
     3624case "(($ac_try" in
     3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3626  *) ac_try_echo=$ac_try;;
     3627esac
     3628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3629  (eval "$ac_compiler -V >&5") 2>&5
    30533630  ac_status=$?
    30543631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30553632  (exit $ac_status); }
    30563633
    3057 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3058 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     3634{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     3635echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    30593636if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    30603637  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    30793656_ACEOF
    30803657rm -f conftest.$ac_objext
    3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3082   (eval $ac_compile) 2>conftest.er1
     3658if { (ac_try="$ac_compile"
     3659case "(($ac_try" in
     3660  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3661  *) ac_try_echo=$ac_try;;
     3662esac
     3663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3664  (eval "$ac_compile") 2>conftest.er1
    30833665  ac_status=$?
    30843666  grep -v '^ *+' conftest.er1 >conftest.err
     
    30863668  cat conftest.err >&5
    30873669  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3088   (exit $ac_status); } &&
    3089          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3091   (eval $ac_try) 2>&5
    3092   ac_status=$?
    3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3094   (exit $ac_status); }; } &&
    3095          { ac_try='test -s conftest.$ac_objext'
    3096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3097   (eval $ac_try) 2>&5
    3098   ac_status=$?
    3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3100   (exit $ac_status); }; }; then
     3670  (exit $ac_status); } && {
     3671         test -z "$ac_cxx_werror_flag" ||
     3672         test ! -s conftest.err
     3673       } && test -s conftest.$ac_objext; then
    31013674  ac_compiler_gnu=yes
    31023675else
     
    31043677sed 's/^/| /' conftest.$ac_ext >&5
    31053678
    3106 ac_compiler_gnu=no
    3107 fi
    3108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3679        ac_compiler_gnu=no
     3680fi
     3681
     3682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    31093683ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    31103684
    31113685fi
    3112 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3113 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     3686{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     3687echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    31143688GXX=`test $ac_compiler_gnu = yes && echo yes`
    31153689ac_test_CXXFLAGS=${CXXFLAGS+set}
    31163690ac_save_CXXFLAGS=$CXXFLAGS
    3117 CXXFLAGS="-g"
    3118 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3119 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     3691{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     3692echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    31203693if test "${ac_cv_prog_cxx_g+set}" = set; then
    31213694  echo $ECHO_N "(cached) $ECHO_C" >&6
    31223695else
    3123   cat >conftest.$ac_ext <<_ACEOF
     3696  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3697   ac_cxx_werror_flag=yes
     3698   ac_cv_prog_cxx_g=no
     3699   CXXFLAGS="-g"
     3700   cat >conftest.$ac_ext <<_ACEOF
    31243701/* confdefs.h.  */
    31253702_ACEOF
     
    31373714_ACEOF
    31383715rm -f conftest.$ac_objext
    3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3140   (eval $ac_compile) 2>conftest.er1
     3716if { (ac_try="$ac_compile"
     3717case "(($ac_try" in
     3718  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3719  *) ac_try_echo=$ac_try;;
     3720esac
     3721eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3722  (eval "$ac_compile") 2>conftest.er1
    31413723  ac_status=$?
    31423724  grep -v '^ *+' conftest.er1 >conftest.err
     
    31443726  cat conftest.err >&5
    31453727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3146   (exit $ac_status); } &&
    3147          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3149   (eval $ac_try) 2>&5
    3150   ac_status=$?
    3151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3152   (exit $ac_status); }; } &&
    3153          { ac_try='test -s conftest.$ac_objext'
    3154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3155   (eval $ac_try) 2>&5
    3156   ac_status=$?
    3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3158   (exit $ac_status); }; }; then
     3728  (exit $ac_status); } && {
     3729         test -z "$ac_cxx_werror_flag" ||
     3730         test ! -s conftest.err
     3731       } && test -s conftest.$ac_objext; then
    31593732  ac_cv_prog_cxx_g=yes
    31603733else
     
    31623735sed 's/^/| /' conftest.$ac_ext >&5
    31633736
    3164 ac_cv_prog_cxx_g=no
    3165 fi
    3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3167 fi
    3168 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3169 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3737        CXXFLAGS=""
     3738      cat >conftest.$ac_ext <<_ACEOF
     3739/* confdefs.h.  */
     3740_ACEOF
     3741cat confdefs.h >>conftest.$ac_ext
     3742cat >>conftest.$ac_ext <<_ACEOF
     3743/* end confdefs.h.  */
     3744
     3745int
     3746main ()
     3747{
     3748
     3749  ;
     3750  return 0;
     3751}
     3752_ACEOF
     3753rm -f conftest.$ac_objext
     3754if { (ac_try="$ac_compile"
     3755case "(($ac_try" in
     3756  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3757  *) ac_try_echo=$ac_try;;
     3758esac
     3759eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3760  (eval "$ac_compile") 2>conftest.er1
     3761  ac_status=$?
     3762  grep -v '^ *+' conftest.er1 >conftest.err
     3763  rm -f conftest.er1
     3764  cat conftest.err >&5
     3765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3766  (exit $ac_status); } && {
     3767         test -z "$ac_cxx_werror_flag" ||
     3768         test ! -s conftest.err
     3769       } && test -s conftest.$ac_objext; then
     3770  :
     3771else
     3772  echo "$as_me: failed program was:" >&5
     3773sed 's/^/| /' conftest.$ac_ext >&5
     3774
     3775        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3776         CXXFLAGS="-g"
     3777         cat >conftest.$ac_ext <<_ACEOF
     3778/* confdefs.h.  */
     3779_ACEOF
     3780cat confdefs.h >>conftest.$ac_ext
     3781cat >>conftest.$ac_ext <<_ACEOF
     3782/* end confdefs.h.  */
     3783
     3784int
     3785main ()
     3786{
     3787
     3788  ;
     3789  return 0;
     3790}
     3791_ACEOF
     3792rm -f conftest.$ac_objext
     3793if { (ac_try="$ac_compile"
     3794case "(($ac_try" in
     3795  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3796  *) ac_try_echo=$ac_try;;
     3797esac
     3798eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3799  (eval "$ac_compile") 2>conftest.er1
     3800  ac_status=$?
     3801  grep -v '^ *+' conftest.er1 >conftest.err
     3802  rm -f conftest.er1
     3803  cat conftest.err >&5
     3804  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3805  (exit $ac_status); } && {
     3806         test -z "$ac_cxx_werror_flag" ||
     3807         test ! -s conftest.err
     3808       } && test -s conftest.$ac_objext; then
     3809  ac_cv_prog_cxx_g=yes
     3810else
     3811  echo "$as_me: failed program was:" >&5
     3812sed 's/^/| /' conftest.$ac_ext >&5
     3813
     3814
     3815fi
     3816
     3817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3818fi
     3819
     3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3821fi
     3822
     3823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3824   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3825fi
     3826{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     3827echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    31703828if test "$ac_test_CXXFLAGS" = set; then
    31713829  CXXFLAGS=$ac_save_CXXFLAGS
     
    31833841  fi
    31843842fi
    3185 for ac_declaration in \
    3186    '' \
    3187    'extern "C" void std::exit (int) throw (); using std::exit;' \
    3188    'extern "C" void std::exit (int); using std::exit;' \
    3189    'extern "C" void exit (int) throw ();' \
    3190    'extern "C" void exit (int);' \
    3191    'void exit (int);'
    3192 do
    3193   cat >conftest.$ac_ext <<_ACEOF
     3843ac_ext=c
     3844ac_cpp='$CPP $CPPFLAGS'
     3845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3847ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3848
     3849ac_ext=cpp
     3850ac_cpp='$CXXCPP $CPPFLAGS'
     3851ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3852ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3853ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     3854
     3855
     3856
     3857
     3858{ echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
     3859echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
     3860if test "${ac_cv_lib_stdcpp_main+set}" = set; then
     3861  echo $ECHO_N "(cached) $ECHO_C" >&6
     3862else
     3863  ac_check_lib_save_LIBS=$LIBS
     3864LIBS="-lstdc++  $LIBS"
     3865cat >conftest.$ac_ext <<_ACEOF
    31943866/* confdefs.h.  */
    31953867_ACEOF
     
    31973869cat >>conftest.$ac_ext <<_ACEOF
    31983870/* end confdefs.h.  */
    3199 $ac_declaration
    3200 #include <stdlib.h>
     3871
     3872
    32013873int
    32023874main ()
    32033875{
    3204 exit (42);
     3876return main ();
    32053877  ;
    32063878  return 0;
    32073879}
    32083880_ACEOF
    3209 rm -f conftest.$ac_objext
    3210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3211   (eval $ac_compile) 2>conftest.er1
     3881rm -f conftest.$ac_objext conftest$ac_exeext
     3882if { (ac_try="$ac_link"
     3883case "(($ac_try" in
     3884  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3885  *) ac_try_echo=$ac_try;;
     3886esac
     3887eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3888  (eval "$ac_link") 2>conftest.er1
    32123889  ac_status=$?
    32133890  grep -v '^ *+' conftest.er1 >conftest.err
     
    32153892  cat conftest.err >&5
    32163893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3217   (exit $ac_status); } &&
    3218          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3220   (eval $ac_try) 2>&5
    3221   ac_status=$?
    3222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3223   (exit $ac_status); }; } &&
    3224          { ac_try='test -s conftest.$ac_objext'
    3225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3226   (eval $ac_try) 2>&5
    3227   ac_status=$?
    3228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3229   (exit $ac_status); }; }; then
    3230   :
     3894  (exit $ac_status); } && {
     3895         test -z "$ac_cxx_werror_flag" ||
     3896         test ! -s conftest.err
     3897       } && test -s conftest$ac_exeext &&
     3898       $as_test_x conftest$ac_exeext; then
     3899  ac_cv_lib_stdcpp_main=yes
    32313900else
    32323901  echo "$as_me: failed program was:" >&5
    32333902sed 's/^/| /' conftest.$ac_ext >&5
    32343903
    3235 continue
    3236 fi
    3237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3904        ac_cv_lib_stdcpp_main=no
     3905fi
     3906
     3907rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3908      conftest$ac_exeext conftest.$ac_ext
     3909LIBS=$ac_check_lib_save_LIBS
     3910fi
     3911{ echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
     3912echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
     3913if test $ac_cv_lib_stdcpp_main = yes; then
     3914  cat >>confdefs.h <<_ACEOF
     3915#define HAVE_LIBSTDC__ 1
     3916_ACEOF
     3917
     3918  LIBS="-lstdc++ $LIBS"
     3919
     3920else
     3921  { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
     3922echo "$as_me: error: librappture requires libstdc++" >&2;}
     3923   { (exit 1); exit 1; }; }
     3924fi
     3925
     3926# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3927
     3928
     3929
     3930
     3931
     3932
     3933
     3934
     3935
     3936for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3937                  inttypes.h stdint.h unistd.h
     3938do
     3939as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3940{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     3941echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     3942if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3943  echo $ECHO_N "(cached) $ECHO_C" >&6
     3944else
    32383945  cat >conftest.$ac_ext <<_ACEOF
    32393946/* confdefs.h.  */
     
    32423949cat >>conftest.$ac_ext <<_ACEOF
    32433950/* end confdefs.h.  */
    3244 $ac_declaration
    3245 int
    3246 main ()
    3247 {
    3248 exit (42);
    3249   ;
    3250   return 0;
    3251 }
     3951$ac_includes_default
     3952
     3953#include <$ac_header>
    32523954_ACEOF
    32533955rm -f conftest.$ac_objext
    3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3255   (eval $ac_compile) 2>conftest.er1
     3956if { (ac_try="$ac_compile"
     3957case "(($ac_try" in
     3958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3959  *) ac_try_echo=$ac_try;;
     3960esac
     3961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3962  (eval "$ac_compile") 2>conftest.er1
    32563963  ac_status=$?
    32573964  grep -v '^ *+' conftest.er1 >conftest.err
     
    32593966  cat conftest.err >&5
    32603967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3261   (exit $ac_status); } &&
    3262          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3264   (eval $ac_try) 2>&5
    3265   ac_status=$?
    3266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3267   (exit $ac_status); }; } &&
    3268          { ac_try='test -s conftest.$ac_objext'
    3269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3270   (eval $ac_try) 2>&5
    3271   ac_status=$?
    3272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3273   (exit $ac_status); }; }; then
    3274   break
     3968  (exit $ac_status); } && {
     3969         test -z "$ac_cxx_werror_flag" ||
     3970         test ! -s conftest.err
     3971       } && test -s conftest.$ac_objext; then
     3972  eval "$as_ac_Header=yes"
    32753973else
    32763974  echo "$as_me: failed program was:" >&5
    32773975sed 's/^/| /' conftest.$ac_ext >&5
    32783976
    3279 fi
    3280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3281 done
    3282 rm -f conftest*
    3283 if test -n "$ac_declaration"; then
    3284   echo '#ifdef __cplusplus' >>confdefs.h
    3285   echo $ac_declaration      >>confdefs.h
    3286   echo '#endif'             >>confdefs.h
    3287 fi
    3288 
    3289 ac_ext=c
    3290 ac_cpp='$CPP $CPPFLAGS'
    3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3294 
    3295 ac_ext=cc
     3977        eval "$as_ac_Header=no"
     3978fi
     3979
     3980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3981fi
     3982ac_res=`eval echo '${'$as_ac_Header'}'`
     3983               { echo "$as_me:$LINENO: result: $ac_res" >&5
     3984echo "${ECHO_T}$ac_res" >&6; }
     3985if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3986  cat >>confdefs.h <<_ACEOF
     3987#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3988_ACEOF
     3989
     3990fi
     3991
     3992done
     3993
     3994
     3995ac_ext=cpp
    32963996ac_cpp='$CXXCPP $CPPFLAGS'
    32973997ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    32983998ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    32993999ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3300 
    3301 
    3302 
    3303 
    3304 echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    3305 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6
    3306 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    3307   echo $ECHO_N "(cached) $ECHO_C" >&6
    3308 else
    3309   ac_check_lib_save_LIBS=$LIBS
    3310 LIBS="-lstdc++  $LIBS"
    3311 cat >conftest.$ac_ext <<_ACEOF
    3312 /* confdefs.h.  */
    3313 _ACEOF
    3314 cat confdefs.h >>conftest.$ac_ext
    3315 cat >>conftest.$ac_ext <<_ACEOF
    3316 /* end confdefs.h.  */
    3317 
    3318 
    3319 int
    3320 main ()
    3321 {
    3322 main ();
    3323   ;
    3324   return 0;
    3325 }
    3326 _ACEOF
    3327 rm -f conftest.$ac_objext conftest$ac_exeext
    3328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3329   (eval $ac_link) 2>conftest.er1
    3330   ac_status=$?
    3331   grep -v '^ *+' conftest.er1 >conftest.err
    3332   rm -f conftest.er1
    3333   cat conftest.err >&5
    3334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3335   (exit $ac_status); } &&
    3336          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3338   (eval $ac_try) 2>&5
    3339   ac_status=$?
    3340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3341   (exit $ac_status); }; } &&
    3342          { ac_try='test -s conftest$ac_exeext'
    3343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3344   (eval $ac_try) 2>&5
    3345   ac_status=$?
    3346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3347   (exit $ac_status); }; }; then
    3348   ac_cv_lib_stdcpp_main=yes
    3349 else
    3350   echo "$as_me: failed program was:" >&5
    3351 sed 's/^/| /' conftest.$ac_ext >&5
    3352 
    3353 ac_cv_lib_stdcpp_main=no
    3354 fi
    3355 rm -f conftest.err conftest.$ac_objext \
    3356       conftest$ac_exeext conftest.$ac_ext
    3357 LIBS=$ac_check_lib_save_LIBS
    3358 fi
    3359 echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    3360 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6
    3361 if test $ac_cv_lib_stdcpp_main = yes; then
    3362   cat >>confdefs.h <<_ACEOF
    3363 #define HAVE_LIBSTDC__ 1
    3364 _ACEOF
    3365 
    3366   LIBS="-lstdc++ $LIBS"
    3367 
    3368 else
    3369   { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    3370 echo "$as_me: error: librappture requires libstdc++" >&2;}
    3371    { (exit 1); exit 1; }; }
    3372 fi
    3373 
    3374 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3375 
    3376 
    3377 
    3378 
    3379 
    3380 
    3381 
    3382 
    3383 
    3384 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3385                   inttypes.h stdint.h unistd.h
    3386 do
    3387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3388 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3391   echo $ECHO_N "(cached) $ECHO_C" >&6
    3392 else
    3393   cat >conftest.$ac_ext <<_ACEOF
    3394 /* confdefs.h.  */
    3395 _ACEOF
    3396 cat confdefs.h >>conftest.$ac_ext
    3397 cat >>conftest.$ac_ext <<_ACEOF
    3398 /* end confdefs.h.  */
    3399 $ac_includes_default
    3400 
    3401 #include <$ac_header>
    3402 _ACEOF
    3403 rm -f conftest.$ac_objext
    3404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3405   (eval $ac_compile) 2>conftest.er1
    3406   ac_status=$?
    3407   grep -v '^ *+' conftest.er1 >conftest.err
    3408   rm -f conftest.er1
    3409   cat conftest.err >&5
    3410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3411   (exit $ac_status); } &&
    3412          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3414   (eval $ac_try) 2>&5
    3415   ac_status=$?
    3416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3417   (exit $ac_status); }; } &&
    3418          { ac_try='test -s conftest.$ac_objext'
    3419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3420   (eval $ac_try) 2>&5
    3421   ac_status=$?
    3422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3423   (exit $ac_status); }; }; then
    3424   eval "$as_ac_Header=yes"
    3425 else
    3426   echo "$as_me: failed program was:" >&5
    3427 sed 's/^/| /' conftest.$ac_ext >&5
    3428 
    3429 eval "$as_ac_Header=no"
    3430 fi
    3431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3432 fi
    3433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3435 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3436   cat >>confdefs.h <<_ACEOF
    3437 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3438 _ACEOF
    3439 
    3440 fi
    3441 
    3442 done
    3443 
    3444 
    3445 ac_ext=cc
    3446 ac_cpp='$CXXCPP $CPPFLAGS'
    3447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    3450 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    3451 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
     4000{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     4001echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
    34524002if test -z "$CXXCPP"; then
    34534003  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     
    34794029                     Syntax error
    34804030_ACEOF
    3481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3482   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4031if { (ac_try="$ac_cpp conftest.$ac_ext"
     4032case "(($ac_try" in
     4033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4034  *) ac_try_echo=$ac_try;;
     4035esac
     4036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4037  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    34834038  ac_status=$?
    34844039  grep -v '^ *+' conftest.er1 >conftest.err
     
    34864041  cat conftest.err >&5
    34874042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3488   (exit $ac_status); } >/dev/null; then
    3489   if test -s conftest.err; then
    3490     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3491     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3492   else
    3493     ac_cpp_err=
    3494   fi
    3495 else
    3496   ac_cpp_err=yes
    3497 fi
    3498 if test -z "$ac_cpp_err"; then
     4043  (exit $ac_status); } >/dev/null && {
     4044         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4045         test ! -s conftest.err
     4046       }; then
    34994047  :
    35004048else
     
    35054053continue
    35064054fi
     4055
    35074056rm -f conftest.err conftest.$ac_ext
    35084057
    3509   # OK, works on sane cases.  Now check whether non-existent headers
     4058  # OK, works on sane cases.  Now check whether nonexistent headers
    35104059  # can be detected and how.
    35114060  cat >conftest.$ac_ext <<_ACEOF
     
    35174066#include <ac_nonexistent.h>
    35184067_ACEOF
    3519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3520   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4068if { (ac_try="$ac_cpp conftest.$ac_ext"
     4069case "(($ac_try" in
     4070  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4071  *) ac_try_echo=$ac_try;;
     4072esac
     4073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4074  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35214075  ac_status=$?
    35224076  grep -v '^ *+' conftest.er1 >conftest.err
     
    35244078  cat conftest.err >&5
    35254079  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3526   (exit $ac_status); } >/dev/null; then
    3527   if test -s conftest.err; then
    3528     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3529     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3530   else
    3531     ac_cpp_err=
    3532   fi
    3533 else
    3534   ac_cpp_err=yes
    3535 fi
    3536 if test -z "$ac_cpp_err"; then
     4080  (exit $ac_status); } >/dev/null && {
     4081         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4082         test ! -s conftest.err
     4083       }; then
    35374084  # Broken: success on invalid input.
    35384085continue
     
    35454092break
    35464093fi
     4094
    35474095rm -f conftest.err conftest.$ac_ext
    35484096
     
    35624110  ac_cv_prog_CXXCPP=$CXXCPP
    35634111fi
    3564 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    3565 echo "${ECHO_T}$CXXCPP" >&6
     4112{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
     4113echo "${ECHO_T}$CXXCPP" >&6; }
    35664114ac_preproc_ok=false
    35674115for ac_cxx_preproc_warn_flag in '' yes
     
    35864134                     Syntax error
    35874135_ACEOF
    3588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3589   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4136if { (ac_try="$ac_cpp conftest.$ac_ext"
     4137case "(($ac_try" in
     4138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4139  *) ac_try_echo=$ac_try;;
     4140esac
     4141eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4142  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35904143  ac_status=$?
    35914144  grep -v '^ *+' conftest.er1 >conftest.err
     
    35934146  cat conftest.err >&5
    35944147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3595   (exit $ac_status); } >/dev/null; then
    3596   if test -s conftest.err; then
    3597     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3598     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3599   else
    3600     ac_cpp_err=
    3601   fi
    3602 else
    3603   ac_cpp_err=yes
    3604 fi
    3605 if test -z "$ac_cpp_err"; then
     4148  (exit $ac_status); } >/dev/null && {
     4149         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4150         test ! -s conftest.err
     4151       }; then
    36064152  :
    36074153else
     
    36124158continue
    36134159fi
     4160
    36144161rm -f conftest.err conftest.$ac_ext
    36154162
    3616   # OK, works on sane cases.  Now check whether non-existent headers
     4163  # OK, works on sane cases.  Now check whether nonexistent headers
    36174164  # can be detected and how.
    36184165  cat >conftest.$ac_ext <<_ACEOF
     
    36244171#include <ac_nonexistent.h>
    36254172_ACEOF
    3626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3627   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4173if { (ac_try="$ac_cpp conftest.$ac_ext"
     4174case "(($ac_try" in
     4175  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4176  *) ac_try_echo=$ac_try;;
     4177esac
     4178eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4179  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    36284180  ac_status=$?
    36294181  grep -v '^ *+' conftest.er1 >conftest.err
     
    36314183  cat conftest.err >&5
    36324184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3633   (exit $ac_status); } >/dev/null; then
    3634   if test -s conftest.err; then
    3635     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3636     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3637   else
    3638     ac_cpp_err=
    3639   fi
    3640 else
    3641   ac_cpp_err=yes
    3642 fi
    3643 if test -z "$ac_cpp_err"; then
     4185  (exit $ac_status); } >/dev/null && {
     4186         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4187         test ! -s conftest.err
     4188       }; then
    36444189  # Broken: success on invalid input.
    36454190continue
     
    36524197break
    36534198fi
     4199
    36544200rm -f conftest.err conftest.$ac_ext
    36554201
     
    36674213fi
    36684214
    3669 ac_ext=cc
     4215ac_ext=cpp
    36704216ac_cpp='$CXXCPP $CPPFLAGS'
    36714217ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    36784224do
    36794225as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3681   echo "$as_me:$LINENO: checking for $ac_header" >&5
    3682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4226if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4227  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     4228echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4229if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    36844230  echo $ECHO_N "(cached) $ECHO_C" >&6
    36854231fi
    3686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4232ac_res=`eval echo '${'$as_ac_Header'}'`
     4233               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4234echo "${ECHO_T}$ac_res" >&6; }
    36884235else
    36894236  # Is the header compilable?
    3690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4237{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4238echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    36924239cat >conftest.$ac_ext <<_ACEOF
    36934240/* confdefs.h.  */
     
    37004247_ACEOF
    37014248rm -f conftest.$ac_objext
    3702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3703   (eval $ac_compile) 2>conftest.er1
     4249if { (ac_try="$ac_compile"
     4250case "(($ac_try" in
     4251  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4252  *) ac_try_echo=$ac_try;;
     4253esac
     4254eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4255  (eval "$ac_compile") 2>conftest.er1
    37044256  ac_status=$?
    37054257  grep -v '^ *+' conftest.er1 >conftest.err
     
    37074259  cat conftest.err >&5
    37084260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3709   (exit $ac_status); } &&
    3710          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3712   (eval $ac_try) 2>&5
    3713   ac_status=$?
    3714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3715   (exit $ac_status); }; } &&
    3716          { ac_try='test -s conftest.$ac_objext'
    3717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3718   (eval $ac_try) 2>&5
    3719   ac_status=$?
    3720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3721   (exit $ac_status); }; }; then
     4261  (exit $ac_status); } && {
     4262         test -z "$ac_cxx_werror_flag" ||
     4263         test ! -s conftest.err
     4264       } && test -s conftest.$ac_objext; then
    37224265  ac_header_compiler=yes
    37234266else
     
    37254268sed 's/^/| /' conftest.$ac_ext >&5
    37264269
    3727 ac_header_compiler=no
    3728 fi
    3729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3731 echo "${ECHO_T}$ac_header_compiler" >&6
     4270        ac_header_compiler=no
     4271fi
     4272
     4273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4274{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4275echo "${ECHO_T}$ac_header_compiler" >&6; }
    37324276
    37334277# Is the header present?
    3734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4278{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4279echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    37364280cat >conftest.$ac_ext <<_ACEOF
    37374281/* confdefs.h.  */
     
    37424286#include <$ac_header>
    37434287_ACEOF
    3744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3745   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4288if { (ac_try="$ac_cpp conftest.$ac_ext"
     4289case "(($ac_try" in
     4290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4291  *) ac_try_echo=$ac_try;;
     4292esac
     4293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4294  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    37464295  ac_status=$?
    37474296  grep -v '^ *+' conftest.er1 >conftest.err
     
    37494298  cat conftest.err >&5
    37504299  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3751   (exit $ac_status); } >/dev/null; then
    3752   if test -s conftest.err; then
    3753     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3754     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3755   else
    3756     ac_cpp_err=
    3757   fi
    3758 else
    3759   ac_cpp_err=yes
    3760 fi
    3761 if test -z "$ac_cpp_err"; then
     4300  (exit $ac_status); } >/dev/null && {
     4301         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4302         test ! -s conftest.err
     4303       }; then
    37624304  ac_header_preproc=yes
    37634305else
     
    37674309  ac_header_preproc=no
    37684310fi
     4311
    37694312rm -f conftest.err conftest.$ac_ext
    3770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3771 echo "${ECHO_T}$ac_header_preproc" >&6
     4313{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4314echo "${ECHO_T}$ac_header_preproc" >&6; }
    37724315
    37734316# So?  What about this header?
     
    37934336    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    37944337echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3795     (
    3796       cat <<\_ASBOX
     4338    ( cat <<\_ASBOX
    37974339## ----------------------------------- ##
    37984340## Report this to rappture@nanohub.org ##
    37994341## ----------------------------------- ##
    38004342_ASBOX
    3801     ) |
    3802       sed "s/^/$as_me: WARNING:     /" >&2
     4343     ) | sed "s/^/$as_me: WARNING:     /" >&2
    38034344    ;;
    38044345esac
    3805 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4346{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4347echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    38084349  echo $ECHO_N "(cached) $ECHO_C" >&6
    38094350else
    38104351  eval "$as_ac_Header=\$ac_header_preproc"
    38114352fi
    3812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4353ac_res=`eval echo '${'$as_ac_Header'}'`
     4354               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4355echo "${ECHO_T}$ac_res" >&6; }
    38144356
    38154357fi
     
    38304372do
    38314373as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3833   echo "$as_me:$LINENO: checking for $ac_header" >&5
    3834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4374if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4375  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     4376echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4377if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    38364378  echo $ECHO_N "(cached) $ECHO_C" >&6
    38374379fi
    3838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4380ac_res=`eval echo '${'$as_ac_Header'}'`
     4381               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4382echo "${ECHO_T}$ac_res" >&6; }
    38404383else
    38414384  # Is the header compilable?
    3842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4385{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4386echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    38444387cat >conftest.$ac_ext <<_ACEOF
    38454388/* confdefs.h.  */
     
    38524395_ACEOF
    38534396rm -f conftest.$ac_objext
    3854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3855   (eval $ac_compile) 2>conftest.er1
     4397if { (ac_try="$ac_compile"
     4398case "(($ac_try" in
     4399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4400  *) ac_try_echo=$ac_try;;
     4401esac
     4402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4403  (eval "$ac_compile") 2>conftest.er1
    38564404  ac_status=$?
    38574405  grep -v '^ *+' conftest.er1 >conftest.err
     
    38594407  cat conftest.err >&5
    38604408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3861   (exit $ac_status); } &&
    3862          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    3863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3864   (eval $ac_try) 2>&5
    3865   ac_status=$?
    3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3867   (exit $ac_status); }; } &&
    3868          { ac_try='test -s conftest.$ac_objext'
    3869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3870   (eval $ac_try) 2>&5
    3871   ac_status=$?
    3872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3873   (exit $ac_status); }; }; then
     4409  (exit $ac_status); } && {
     4410         test -z "$ac_cxx_werror_flag" ||
     4411         test ! -s conftest.err
     4412       } && test -s conftest.$ac_objext; then
    38744413  ac_header_compiler=yes
    38754414else
     
    38774416sed 's/^/| /' conftest.$ac_ext >&5
    38784417
    3879 ac_header_compiler=no
    3880 fi
    3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3883 echo "${ECHO_T}$ac_header_compiler" >&6
     4418        ac_header_compiler=no
     4419fi
     4420
     4421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4422{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4423echo "${ECHO_T}$ac_header_compiler" >&6; }
    38844424
    38854425# Is the header present?
    3886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4426{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4427echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    38884428cat >conftest.$ac_ext <<_ACEOF
    38894429/* confdefs.h.  */
     
    38944434#include <$ac_header>
    38954435_ACEOF
    3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3897   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4436if { (ac_try="$ac_cpp conftest.$ac_ext"
     4437case "(($ac_try" in
     4438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4439  *) ac_try_echo=$ac_try;;
     4440esac
     4441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4442  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    38984443  ac_status=$?
    38994444  grep -v '^ *+' conftest.er1 >conftest.err
     
    39014446  cat conftest.err >&5
    39024447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3903   (exit $ac_status); } >/dev/null; then
    3904   if test -s conftest.err; then
    3905     ac_cpp_err=$ac_cxx_preproc_warn_flag
    3906     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    3907   else
    3908     ac_cpp_err=
    3909   fi
    3910 else
    3911   ac_cpp_err=yes
    3912 fi
    3913 if test -z "$ac_cpp_err"; then
     4448  (exit $ac_status); } >/dev/null && {
     4449         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4450         test ! -s conftest.err
     4451       }; then
    39144452  ac_header_preproc=yes
    39154453else
     
    39194457  ac_header_preproc=no
    39204458fi
     4459
    39214460rm -f conftest.err conftest.$ac_ext
    3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3923 echo "${ECHO_T}$ac_header_preproc" >&6
     4461{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4462echo "${ECHO_T}$ac_header_preproc" >&6; }
    39244463
    39254464# So?  What about this header?
     
    39454484    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    39464485echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3947     (
    3948       cat <<\_ASBOX
     4486    ( cat <<\_ASBOX
    39494487## ----------------------------------- ##
    39504488## Report this to rappture@nanohub.org ##
    39514489## ----------------------------------- ##
    39524490_ASBOX
    3953     ) |
    3954       sed "s/^/$as_me: WARNING:     /" >&2
     4491     ) | sed "s/^/$as_me: WARNING:     /" >&2
    39554492    ;;
    39564493esac
    3957 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4494{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4495echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4496if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    39604497  echo $ECHO_N "(cached) $ECHO_C" >&6
    39614498else
    39624499  eval "$as_ac_Header=\$ac_header_preproc"
    39634500fi
    3964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4501ac_res=`eval echo '${'$as_ac_Header'}'`
     4502               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4503echo "${ECHO_T}$ac_res" >&6; }
    39664504
    39674505fi
     
    39824520do
    39834521as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3985   echo "$as_me:$LINENO: checking for $ac_header" >&5
    3986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4522if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4523  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     4524echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4525if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    39884526  echo $ECHO_N "(cached) $ECHO_C" >&6
    39894527fi
    3990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4528ac_res=`eval echo '${'$as_ac_Header'}'`
     4529               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4530echo "${ECHO_T}$ac_res" >&6; }
    39924531else
    39934532  # Is the header compilable?
    3994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4533{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4534echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    39964535cat >conftest.$ac_ext <<_ACEOF
    39974536/* confdefs.h.  */
     
    40044543_ACEOF
    40054544rm -f conftest.$ac_objext
    4006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4007   (eval $ac_compile) 2>conftest.er1
     4545if { (ac_try="$ac_compile"
     4546case "(($ac_try" in
     4547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4548  *) ac_try_echo=$ac_try;;
     4549esac
     4550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4551  (eval "$ac_compile") 2>conftest.er1
    40084552  ac_status=$?
    40094553  grep -v '^ *+' conftest.er1 >conftest.err
     
    40114555  cat conftest.err >&5
    40124556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4013   (exit $ac_status); } &&
    4014          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    4015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4016   (eval $ac_try) 2>&5
    4017   ac_status=$?
    4018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4019   (exit $ac_status); }; } &&
    4020          { ac_try='test -s conftest.$ac_objext'
    4021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4022   (eval $ac_try) 2>&5
    4023   ac_status=$?
    4024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4025   (exit $ac_status); }; }; then
     4557  (exit $ac_status); } && {
     4558         test -z "$ac_cxx_werror_flag" ||
     4559         test ! -s conftest.err
     4560       } && test -s conftest.$ac_objext; then
    40264561  ac_header_compiler=yes
    40274562else
     
    40294564sed 's/^/| /' conftest.$ac_ext >&5
    40304565
    4031 ac_header_compiler=no
    4032 fi
    4033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4035 echo "${ECHO_T}$ac_header_compiler" >&6
     4566        ac_header_compiler=no
     4567fi
     4568
     4569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4570{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4571echo "${ECHO_T}$ac_header_compiler" >&6; }
    40364572
    40374573# Is the header present?
    4038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4574{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4575echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    40404576cat >conftest.$ac_ext <<_ACEOF
    40414577/* confdefs.h.  */
     
    40464582#include <$ac_header>
    40474583_ACEOF
    4048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4049   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4584if { (ac_try="$ac_cpp conftest.$ac_ext"
     4585case "(($ac_try" in
     4586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4587  *) ac_try_echo=$ac_try;;
     4588esac
     4589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4590  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    40504591  ac_status=$?
    40514592  grep -v '^ *+' conftest.er1 >conftest.err
     
    40534594  cat conftest.err >&5
    40544595  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4055   (exit $ac_status); } >/dev/null; then
    4056   if test -s conftest.err; then
    4057     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4058     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4059   else
    4060     ac_cpp_err=
    4061   fi
    4062 else
    4063   ac_cpp_err=yes
    4064 fi
    4065 if test -z "$ac_cpp_err"; then
     4596  (exit $ac_status); } >/dev/null && {
     4597         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4598         test ! -s conftest.err
     4599       }; then
    40664600  ac_header_preproc=yes
    40674601else
     
    40714605  ac_header_preproc=no
    40724606fi
     4607
    40734608rm -f conftest.err conftest.$ac_ext
    4074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4075 echo "${ECHO_T}$ac_header_preproc" >&6
     4609{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4610echo "${ECHO_T}$ac_header_preproc" >&6; }
    40764611
    40774612# So?  What about this header?
     
    40974632    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    40984633echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4099     (
    4100       cat <<\_ASBOX
     4634    ( cat <<\_ASBOX
    41014635## ----------------------------------- ##
    41024636## Report this to rappture@nanohub.org ##
    41034637## ----------------------------------- ##
    41044638_ASBOX
    4105     ) |
    4106       sed "s/^/$as_me: WARNING:     /" >&2
     4639     ) | sed "s/^/$as_me: WARNING:     /" >&2
    41074640    ;;
    41084641esac
    4109 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4642{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4643echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4644if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    41124645  echo $ECHO_N "(cached) $ECHO_C" >&6
    41134646else
    41144647  eval "$as_ac_Header=\$ac_header_preproc"
    41154648fi
    4116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4649ac_res=`eval echo '${'$as_ac_Header'}'`
     4650               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4651echo "${ECHO_T}$ac_res" >&6; }
    41184652
    41194653fi
     
    41344668do
    41354669as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4137   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4670if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4671  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     4672echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4673if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    41404674  echo $ECHO_N "(cached) $ECHO_C" >&6
    41414675fi
    4142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4676ac_res=`eval echo '${'$as_ac_Header'}'`
     4677               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4678echo "${ECHO_T}$ac_res" >&6; }
    41444679else
    41454680  # Is the header compilable?
    4146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4681{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4682echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    41484683cat >conftest.$ac_ext <<_ACEOF
    41494684/* confdefs.h.  */
     
    41564691_ACEOF
    41574692rm -f conftest.$ac_objext
    4158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4159   (eval $ac_compile) 2>conftest.er1
     4693if { (ac_try="$ac_compile"
     4694case "(($ac_try" in
     4695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4696  *) ac_try_echo=$ac_try;;
     4697esac
     4698eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4699  (eval "$ac_compile") 2>conftest.er1
    41604700  ac_status=$?
    41614701  grep -v '^ *+' conftest.er1 >conftest.err
     
    41634703  cat conftest.err >&5
    41644704  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4165   (exit $ac_status); } &&
    4166          { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
    4167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4168   (eval $ac_try) 2>&5
    4169   ac_status=$?
    4170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4171   (exit $ac_status); }; } &&
    4172          { ac_try='test -s conftest.$ac_objext'
    4173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4174   (eval $ac_try) 2>&5
    4175   ac_status=$?
    4176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4177   (exit $ac_status); }; }; then
     4705  (exit $ac_status); } && {
     4706         test -z "$ac_cxx_werror_flag" ||
     4707         test ! -s conftest.err
     4708       } && test -s conftest.$ac_objext; then
    41784709  ac_header_compiler=yes
    41794710else
     
    41814712sed 's/^/| /' conftest.$ac_ext >&5
    41824713
    4183 ac_header_compiler=no
    4184 fi
    4185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4187 echo "${ECHO_T}$ac_header_compiler" >&6
     4714        ac_header_compiler=no
     4715fi
     4716
     4717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4718{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4719echo "${ECHO_T}$ac_header_compiler" >&6; }
    41884720
    41894721# Is the header present?
    4190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4722{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4723echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    41924724cat >conftest.$ac_ext <<_ACEOF
    41934725/* confdefs.h.  */
     
    41984730#include <$ac_header>
    41994731_ACEOF
    4200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4201   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4732if { (ac_try="$ac_cpp conftest.$ac_ext"
     4733case "(($ac_try" in
     4734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4735  *) ac_try_echo=$ac_try;;
     4736esac
     4737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4738  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    42024739  ac_status=$?
    42034740  grep -v '^ *+' conftest.er1 >conftest.err
     
    42054742  cat conftest.err >&5
    42064743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4207   (exit $ac_status); } >/dev/null; then
    4208   if test -s conftest.err; then
    4209     ac_cpp_err=$ac_cxx_preproc_warn_flag
    4210     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    4211   else
    4212     ac_cpp_err=
    4213   fi
    4214 else
    4215   ac_cpp_err=yes
    4216 fi
    4217 if test -z "$ac_cpp_err"; then
     4744  (exit $ac_status); } >/dev/null && {
     4745         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     4746         test ! -s conftest.err
     4747       }; then
    42184748  ac_header_preproc=yes
    42194749else
     
    42234753  ac_header_preproc=no
    42244754fi
     4755
    42254756rm -f conftest.err conftest.$ac_ext
    4226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4227 echo "${ECHO_T}$ac_header_preproc" >&6
     4757{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4758echo "${ECHO_T}$ac_header_preproc" >&6; }
    42284759
    42294760# So?  What about this header?
     
    42494780    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    42504781echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4251     (
    4252       cat <<\_ASBOX
     4782    ( cat <<\_ASBOX
    42534783## ----------------------------------- ##
    42544784## Report this to rappture@nanohub.org ##
    42554785## ----------------------------------- ##
    42564786_ASBOX
    4257     ) |
    4258       sed "s/^/$as_me: WARNING:     /" >&2
     4787     ) | sed "s/^/$as_me: WARNING:     /" >&2
    42594788    ;;
    42604789esac
    4261 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4790{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4791echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    42644793  echo $ECHO_N "(cached) $ECHO_C" >&6
    42654794else
    42664795  eval "$as_ac_Header=\$ac_header_preproc"
    42674796fi
    4268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4797ac_res=`eval echo '${'$as_ac_Header'}'`
     4798               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4799echo "${ECHO_T}$ac_res" >&6; }
    42704800
    42714801fi
     
    42924822    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    42934823set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4294 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4824{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     4825echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    42964826if test "${ac_cv_prog_F77+set}" = set; then
    42974827  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43064836  test -z "$as_dir" && as_dir=.
    43074837  for ac_exec_ext in '' $ac_executable_extensions; do
    4308   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4838  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43094839    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    43104840    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    43134843done
    43144844done
     4845IFS=$as_save_IFS
    43154846
    43164847fi
     
    43184849F77=$ac_cv_prog_F77
    43194850if test -n "$F77"; then
    4320   echo "$as_me:$LINENO: result: $F77" >&5
    4321 echo "${ECHO_T}$F77" >&6
    4322 else
    4323   echo "$as_me:$LINENO: result: no" >&5
    4324 echo "${ECHO_T}no" >&6
    4325 fi
     4851  { echo "$as_me:$LINENO: result: $F77" >&5
     4852echo "${ECHO_T}$F77" >&6; }
     4853else
     4854  { echo "$as_me:$LINENO: result: no" >&5
     4855echo "${ECHO_T}no" >&6; }
     4856fi
     4857
    43264858
    43274859    test -n "$F77" && break
     
    43344866  # Extract the first word of "$ac_prog", so it can be a program name with args.
    43354867set dummy $ac_prog; ac_word=$2
    4336 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4868{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     4869echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    43384870if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    43394871  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    43484880  test -z "$as_dir" && as_dir=.
    43494881  for ac_exec_ext in '' $ac_executable_extensions; do
    4350   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43514883    ac_cv_prog_ac_ct_F77="$ac_prog"
    43524884    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    43554887done
    43564888done
     4889IFS=$as_save_IFS
    43574890
    43584891fi
     
    43604893ac_ct_F77=$ac_cv_prog_ac_ct_F77
    43614894if test -n "$ac_ct_F77"; then
    4362   echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    4363 echo "${ECHO_T}$ac_ct_F77" >&6
    4364 else
    4365   echo "$as_me:$LINENO: result: no" >&5
    4366 echo "${ECHO_T}no" >&6
    4367 fi
     4895  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4896echo "${ECHO_T}$ac_ct_F77" >&6; }
     4897else
     4898  { echo "$as_me:$LINENO: result: no" >&5
     4899echo "${ECHO_T}no" >&6; }
     4900fi
     4901
    43684902
    43694903  test -n "$ac_ct_F77" && break
    43704904done
    43714905
    4372   F77=$ac_ct_F77
     4906  if test "x$ac_ct_F77" = x; then
     4907    F77=""
     4908  else
     4909    case $cross_compiling:$ac_tool_warned in
     4910yes:)
     4911{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     4912whose name does not start with the host triplet.  If you think this
     4913configuration is useful to you, please write to autoconf@gnu.org." >&5
     4914echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     4915whose name does not start with the host triplet.  If you think this
     4916configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4917ac_tool_warned=yes ;;
     4918esac
     4919    F77=$ac_ct_F77
     4920  fi
    43734921fi
    43744922
    43754923
    43764924# Provide some information about the compiler.
    4377 echo "$as_me:4377:" \
    4378      "checking for Fortran 77 compiler version" >&5
     4925echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
    43794926ac_compiler=`set X $ac_compile; echo $2`
    4380 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    4381   (eval $ac_compiler --version </dev/null >&5) 2>&5
     4927{ (ac_try="$ac_compiler --version >&5"
     4928case "(($ac_try" in
     4929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4930  *) ac_try_echo=$ac_try;;
     4931esac
     4932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4933  (eval "$ac_compiler --version >&5") 2>&5
    43824934  ac_status=$?
    43834935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43844936  (exit $ac_status); }
    4385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    4386   (eval $ac_compiler -v </dev/null >&5) 2>&5
     4937{ (ac_try="$ac_compiler -v >&5"
     4938case "(($ac_try" in
     4939  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4940  *) ac_try_echo=$ac_try;;
     4941esac
     4942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4943  (eval "$ac_compiler -v >&5") 2>&5
    43874944  ac_status=$?
    43884945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43894946  (exit $ac_status); }
    4390 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    4391   (eval $ac_compiler -V </dev/null >&5) 2>&5
     4947{ (ac_try="$ac_compiler -V >&5"
     4948case "(($ac_try" in
     4949  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4950  *) ac_try_echo=$ac_try;;
     4951esac
     4952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4953  (eval "$ac_compiler -V >&5") 2>&5
    43924954  ac_status=$?
    43934955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    43994961ac_save_ext=$ac_ext
    44004962ac_ext=F
    4401 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    4402 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
     4963{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
     4964echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
    44034965if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    44044966  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44134975_ACEOF
    44144976rm -f conftest.$ac_objext
    4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4416   (eval $ac_compile) 2>conftest.er1
     4977if { (ac_try="$ac_compile"
     4978case "(($ac_try" in
     4979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4980  *) ac_try_echo=$ac_try;;
     4981esac
     4982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4983  (eval "$ac_compile") 2>conftest.er1
    44174984  ac_status=$?
    44184985  grep -v '^ *+' conftest.er1 >conftest.err
     
    44204987  cat conftest.err >&5
    44214988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4422   (exit $ac_status); } &&
    4423          { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
    4424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4425   (eval $ac_try) 2>&5
    4426   ac_status=$?
    4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4428   (exit $ac_status); }; } &&
    4429          { ac_try='test -s conftest.$ac_objext'
    4430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4431   (eval $ac_try) 2>&5
    4432   ac_status=$?
    4433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4434   (exit $ac_status); }; }; then
     4989  (exit $ac_status); } && {
     4990         test -z "$ac_f77_werror_flag" ||
     4991         test ! -s conftest.err
     4992       } && test -s conftest.$ac_objext; then
    44354993  ac_compiler_gnu=yes
    44364994else
     
    44384996sed 's/^/| /' conftest.$ac_ext >&5
    44394997
    4440 ac_compiler_gnu=no
    4441 fi
    4442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4998        ac_compiler_gnu=no
     4999fi
     5000
     5001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44435002ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    44445003
    44455004fi
    4446 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    4447 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
     5005{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
     5006echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
    44485007ac_ext=$ac_save_ext
    44495008ac_test_FFLAGS=${FFLAGS+set}
    44505009ac_save_FFLAGS=$FFLAGS
    44515010FFLAGS=
    4452 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    4453 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
     5011{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
     5012echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
    44545013if test "${ac_cv_prog_f77_g+set}" = set; then
    44555014  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    44625021_ACEOF
    44635022rm -f conftest.$ac_objext
    4464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4465   (eval $ac_compile) 2>conftest.er1
     5023if { (ac_try="$ac_compile"
     5024case "(($ac_try" in
     5025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5026  *) ac_try_echo=$ac_try;;
     5027esac
     5028eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     5029  (eval "$ac_compile") 2>conftest.er1
    44665030  ac_status=$?
    44675031  grep -v '^ *+' conftest.er1 >conftest.err
     
    44695033  cat conftest.err >&5
    44705034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4471   (exit $ac_status); } &&
    4472          { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
    4473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4474   (eval $ac_try) 2>&5
    4475   ac_status=$?
    4476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4477   (exit $ac_status); }; } &&
    4478          { ac_try='test -s conftest.$ac_objext'
    4479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4480   (eval $ac_try) 2>&5
    4481   ac_status=$?
    4482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4483   (exit $ac_status); }; }; then
     5035  (exit $ac_status); } && {
     5036         test -z "$ac_f77_werror_flag" ||
     5037         test ! -s conftest.err
     5038       } && test -s conftest.$ac_objext; then
    44845039  ac_cv_prog_f77_g=yes
    44855040else
     
    44875042sed 's/^/| /' conftest.$ac_ext >&5
    44885043
    4489 ac_cv_prog_f77_g=no
    4490 fi
    4491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4492 
    4493 fi
    4494 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    4495 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
     5044        ac_cv_prog_f77_g=no
     5045fi
     5046
     5047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5048
     5049fi
     5050{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
     5051echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
    44965052if test "$ac_test_FFLAGS" = set; then
    44975053  FFLAGS=$ac_save_FFLAGS
     
    45115067
    45125068G77=`test $ac_compiler_gnu = yes && echo yes`
    4513 ac_ext=cc
     5069ac_ext=cpp
    45145070ac_cpp='$CXXCPP $CPPFLAGS'
    45155071ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    45255081
    45265082
    4527 # Check whether --with-matlab or --without-matlab was given.
     5083# Check whether --with-matlab was given.
    45285084if test "${with_matlab+set}" = set; then
    4529   withval="$with_matlab"
    4530 
     5085  withval=$with_matlab;
    45315086else
    45325087  with_matlab=check
    4533 fi;
    4534 
    4535 
    4536 # Check whether --with-matlab_arch or --without-matlab_arch was given.
     5088fi
     5089
     5090
     5091
     5092# Check whether --with-matlab_arch was given.
    45375093if test "${with_matlab_arch+set}" = set; then
    4538   withval="$with_matlab_arch"
    4539 
     5094  withval=$with_matlab_arch;
    45405095else
    45415096  with_matlab_arch=check
    4542 fi;
    4543 
    4544 
    4545 # Check whether --with-mexext or --without-mexext was given.
     5097fi
     5098
     5099
     5100
     5101# Check whether --with-mexext was given.
    45465102if test "${with_mexext+set}" = set; then
    4547   withval="$with_mexext"
    4548 
     5103  withval=$with_mexext;
    45495104else
    45505105  with_mexext=check
    4551 fi;
     5106fi
     5107
    45525108
    45535109MEX=
    45545110MEX_ARCH=
    45555111MEXEXT=
    4556     echo "$as_me:$LINENO: checking for mex" >&5
    4557 echo $ECHO_N "checking for mex... $ECHO_C" >&6
     5112if test "$with_matlab" != "no" ; then
     5113    { echo "$as_me:$LINENO: checking for matlab's mex" >&5
     5114echo $ECHO_N "checking for matlab's mex... $ECHO_C" >&6; }
    45585115    if test "$with_matlab" != "no" ; then
    45595116                if test -x "$with_matlab/bin/mex"
    45605117        then
    4561             echo Found mex in $with_matlab/bin/mex
    4562             MEX="$with_matlab/bin/mex"
     5118                        MEX="$with_matlab/bin/mex"
    45635119        else
    45645120            if test -x "$with_matlab"
    45655121            then
    4566                 echo Found mex in $with_matlab
    4567                 MEX="$with_matlab"
     5122                                MEX="$with_matlab"
    45685123            else
    45695124                # Extract the first word of "mex", so it can be a program name with args.
    45705125set dummy mex; ac_word=$2
    4571 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5126{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     5127echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    45735128if test "${ac_cv_path_MEX+set}" = set; then
    45745129  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    45855140  test -z "$as_dir" && as_dir=.
    45865141  for ac_exec_ext in '' $ac_executable_extensions; do
    4587   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5142  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    45885143    ac_cv_path_MEX="$as_dir/$ac_word$ac_exec_ext"
    45895144    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    45925147done
    45935148done
     5149IFS=$as_save_IFS
    45945150
    45955151  ;;
     
    45975153fi
    45985154MEX=$ac_cv_path_MEX
    4599 
    46005155if test -n "$MEX"; then
    4601   echo "$as_me:$LINENO: result: $MEX" >&5
    4602 echo "${ECHO_T}$MEX" >&6
    4603 else
    4604   echo "$as_me:$LINENO: result: no" >&5
    4605 echo "${ECHO_T}no" >&6
    4606 fi
     5156  { echo "$as_me:$LINENO: result: $MEX" >&5
     5157echo "${ECHO_T}$MEX" >&6; }
     5158else
     5159  { echo "$as_me:$LINENO: result: no" >&5
     5160echo "${ECHO_T}no" >&6; }
     5161fi
     5162
    46075163
    46085164            fi
    46095165        fi
    4610         echo "$as_me:$LINENO: result: ${MEX}" >&5
    4611 echo "${ECHO_T}${MEX}" >&6
     5166        matlab_path=`dirname $MEX`/matlab
     5167        if test -x "$matlab_path"
     5168        then
     5169            MEX=${MEX}
     5170        else
     5171            MEX=
     5172        fi
     5173        { echo "$as_me:$LINENO: result: ${MEX}" >&5
     5174echo "${ECHO_T}${MEX}" >&6; }
    46125175        if test "$with_matlab_arch" = "check" ; then
    46135176                        with_matlab_arch=""
     
    46325195            fi
    46335196            echo "Using mex file extension \"$MEXEXT\""
    4634             echo "$as_me:$LINENO: result: ${MEXEXT}" >&5
    4635 echo "${ECHO_T}${MEXEXT}" >&6
     5197            { echo "$as_me:$LINENO: result: ${MEXEXT}" >&5
     5198echo "${ECHO_T}${MEXEXT}" >&6; }
    46365199        else
    46375200            echo "can't find the matlab compiler \"mex\""
     
    46405203        fi
    46415204    fi
    4642 
    4643 
    4644 
    4645 
    4646 
    4647 
    4648 
    4649 
    4650 # Check whether --with-octave or --without-octave was given.
     5205fi
     5206
     5207
     5208
     5209
     5210
     5211
     5212
     5213
     5214# Check whether --with-octave was given.
    46515215if test "${with_octave+set}" = set; then
    4652   withval="$with_octave"
    4653 
     5216  withval=$with_octave;
    46545217else
    46555218  with_octave=check
    4656 fi;
     5219fi
     5220
    46575221
    46585222MKOCTFILE=
    4659     echo "$as_me:$LINENO: checking for mkoctfile" >&5
    4660 echo $ECHO_N "checking for mkoctfile... $ECHO_C" >&6
     5223if test "$with_octave" != "no" ; then
     5224    { echo "$as_me:$LINENO: checking for mkoctfile" >&5
     5225echo $ECHO_N "checking for mkoctfile... $ECHO_C" >&6; }
    46615226    if test "$with_octave" != "no" ; then
    46625227        if test -x "$with_octave/bin/mkoctfile"
     
    46725237                # Extract the first word of "mkoctfile", so it can be a program name with args.
    46735238set dummy mkoctfile; ac_word=$2
    4674 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5239{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     5240echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    46765241if test "${ac_cv_path_MKOCTFILE+set}" = set; then
    46775242  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    46885253  test -z "$as_dir" && as_dir=.
    46895254  for ac_exec_ext in '' $ac_executable_extensions; do
    4690   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5255  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    46915256    ac_cv_path_MKOCTFILE="$as_dir/$ac_word$ac_exec_ext"
    46925257    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    46955260done
    46965261done
     5262IFS=$as_save_IFS
    46975263
    46985264  ;;
     
    47005266fi
    47015267MKOCTFILE=$ac_cv_path_MKOCTFILE
    4702 
    47035268if test -n "$MKOCTFILE"; then
    4704   echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
    4705 echo "${ECHO_T}$MKOCTFILE" >&6
    4706 else
    4707   echo "$as_me:$LINENO: result: no" >&5
    4708 echo "${ECHO_T}no" >&6
    4709 fi
     5269  { echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
     5270echo "${ECHO_T}$MKOCTFILE" >&6; }
     5271else
     5272  { echo "$as_me:$LINENO: result: no" >&5
     5273echo "${ECHO_T}no" >&6; }
     5274fi
     5275
    47105276
    47115277            fi
    47125278        fi
    47135279    fi
    4714     echo "$as_me:$LINENO: result: ${MKOCTFILE}" >&5
    4715 echo "${ECHO_T}${MKOCTFILE}" >&6
    4716 
    4717 
    4718 
    4719 
    4720 
    4721 
    4722 
    4723 # Check whether --with-perl or --without-perl was given.
     5280    { echo "$as_me:$LINENO: result: ${MKOCTFILE}" >&5
     5281echo "${ECHO_T}${MKOCTFILE}" >&6; }
     5282fi
     5283
     5284
     5285
     5286
     5287
     5288
     5289
     5290# Check whether --with-perl was given.
    47245291if test "${with_perl+set}" = set; then
    4725   withval="$with_perl"
    4726 
     5292  withval=$with_perl;
    47275293else
    47285294  with_perl=check
    4729 fi;
     5295fi
     5296
    47305297
    47315298PERL=
    47325299PERL_INCLUDES=
    47335300PERL_SITE_PACKAGES=
    4734 echo "$as_me:$LINENO: checking for mkoctfile" >&5
    4735 echo $ECHO_N "checking for mkoctfile... $ECHO_C" >&6
    47365301if test "$with_perl" != "no" ; then
     5302    { echo "$as_me:$LINENO: checking for perl" >&5
     5303echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
    47375304    if test -x "$with_perl/bin/perl"
    47385305    then
     
    47475314            # Extract the first word of "perl", so it can be a program name with args.
    47485315set dummy perl; ac_word=$2
    4749 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5316{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     5317echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    47515318if test "${ac_cv_path_PERL+set}" = set; then
    47525319  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    47635330  test -z "$as_dir" && as_dir=.
    47645331  for ac_exec_ext in '' $ac_executable_extensions; do
    4765   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5332  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    47665333    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
    47675334    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    47705337done
    47715338done
     5339IFS=$as_save_IFS
    47725340
    47735341  ;;
     
    47755343fi
    47765344PERL=$ac_cv_path_PERL
    4777 
    47785345if test -n "$PERL"; then
    4779   echo "$as_me:$LINENO: result: $PERL" >&5
    4780 echo "${ECHO_T}$PERL" >&6
    4781 else
    4782   echo "$as_me:$LINENO: result: no" >&5
    4783 echo "${ECHO_T}no" >&6
    4784 fi
     5346  { echo "$as_me:$LINENO: result: $PERL" >&5
     5347echo "${ECHO_T}$PERL" >&6; }
     5348else
     5349  { echo "$as_me:$LINENO: result: no" >&5
     5350echo "${ECHO_T}no" >&6; }
     5351fi
     5352
    47855353
    47865354        fi
     
    47885356    PERL_SITE_PACKAGES='$(libdir)/perl5'
    47895357fi
    4790 echo "$as_me:$LINENO: result: ${PERL}" >&5
    4791 echo "${ECHO_T}${PERL}" >&6
     5358{ echo "$as_me:$LINENO: result: ${PERL}" >&5
     5359echo "${ECHO_T}${PERL}" >&6; }
    47925360
    47935361
     
    48025370pythondir=
    48035371
    4804 # Check whether --with-python or --without-python was given.
     5372# Check whether --with-python was given.
    48055373if test "${with_python+set}" = set; then
    4806   withval="$with_python"
    4807 
     5374  withval=$with_python;
    48085375else
    48095376  with_python=check
    4810 fi;
     5377fi
     5378
    48115379
    48125380if test "$with_python" != "no" ; then
     5381    { echo "$as_me:$LINENO: checking for python" >&5
     5382echo $ECHO_N "checking for python... $ECHO_C" >&6; }
    48135383    if test -x "$with_python/bin/python"
    48145384    then
     
    48235393            # 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.
    48245394set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    4825 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5395{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     5396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    48275397if test "${ac_cv_path_PYTHON+set}" = set; then
    48285398  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    48395409  test -z "$as_dir" && as_dir=.
    48405410  for ac_exec_ext in '' $ac_executable_extensions; do
    4841   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5411  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    48425412    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    48435413    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    48465416done
    48475417done
     5418IFS=$as_save_IFS
    48485419
    48495420  ;;
     
    48515422fi
    48525423PYTHON=$ac_cv_path_PYTHON
    4853 
    48545424if test -n "$PYTHON"; then
    4855   echo "$as_me:$LINENO: result: $PYTHON" >&5
    4856 echo "${ECHO_T}$PYTHON" >&6
    4857 else
    4858   echo "$as_me:$LINENO: result: no" >&5
    4859 echo "${ECHO_T}no" >&6
    4860 fi
     5425  { echo "$as_me:$LINENO: result: $PYTHON" >&5
     5426echo "${ECHO_T}$PYTHON" >&6; }
     5427else
     5428  { echo "$as_me:$LINENO: result: no" >&5
     5429echo "${ECHO_T}no" >&6; }
     5430fi
     5431
    48615432
    48625433        fi
     
    49135484
    49145485
    4915 
    4916 
    4917 subdirs="$subdirs gui "
    4918 
    4919 
    4920 
    4921 subdirs="$subdirs src/tcl "
    4922 
    4923 
    4924                                                                                                                                                                 ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/simsim gui/apps/rappture gui/apps/rappture.env"
     5486subdirs="$subdirs gui"
     5487
     5488subdirs="$subdirs src/tcl"
     5489
     5490
     5491ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/simsim gui/apps/rappture gui/apps/rappture.env"
     5492
    49255493cat >confcache <<\_ACEOF
    49265494# This file is a shell script that caches the results of configure
     
    49415509# The following way of writing the cache mishandles newlines in values,
    49425510# but we know of no workaround that is simple, portable, and efficient.
    4943 # So, don't put newlines in cache variables' values.
     5511# So, we kill variables containing newlines.
    49445512# Ultrix sh set writes to stderr and can't be redirected directly,
    49455513# and sets the high bit in the cache file unless we assign to the vars.
    4946 {
     5514(
     5515  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     5516    eval ac_val=\$$ac_var
     5517    case $ac_val in #(
     5518    *${as_nl}*)
     5519      case $ac_var in #(
     5520      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     5521echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     5522      esac
     5523      case $ac_var in #(
     5524      _ | IFS | as_nl) ;; #(
     5525      *) $as_unset $ac_var ;;
     5526      esac ;;
     5527    esac
     5528  done
     5529
    49475530  (set) 2>&1 |
    4948     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    4949     *ac_space=\ *)
     5531    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     5532    *${as_nl}ac_space=\ *)
    49505533      # `set' does not quote correctly, so add quotes (double-quote
    49515534      # substitution turns \\\\ into \\, and sed turns \\ into \).
     
    49535536        "s/'/'\\\\''/g;
    49545537          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    4955       ;;
     5538      ;; #(
    49565539    *)
    49575540      # `set' quotes correctly as required by POSIX, so do not add quotes.
    4958       sed -n \
    4959         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     5541      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    49605542      ;;
    4961     esac;
    4962 } |
     5543    esac |
     5544    sort
     5545) |
    49635546  sed '
     5547     /^ac_cv_env_/b end
    49645548     t clear
    4965      : clear
     5549     :clear
    49665550     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    49675551     t end
    4968      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    4969      : end' >>confcache
    4970 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    4971   if test -w $cache_file; then
    4972     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     5552     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     5553     :end' >>confcache
     5554if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     5555  if test -w "$cache_file"; then
     5556    test "x$cache_file" != "x/dev/null" &&
     5557      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     5558echo "$as_me: updating cache $cache_file" >&6;}
    49735559    cat confcache >$cache_file
    49745560  else
    4975     echo "not updating unwritable cache $cache_file"
     5561    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     5562echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    49765563  fi
    49775564fi
     
    49815568# Let make expand exec_prefix.
    49825569test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    4983 
    4984 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    4985 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    4986 # trailing colons and then remove the whole line if VPATH becomes empty
    4987 # (actually we leave an empty line to preserve line numbers).
    4988 if test "x$srcdir" = x.; then
    4989   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    4990 s/:*\$(srcdir):*/:/;
    4991 s/:*\${srcdir}:*/:/;
    4992 s/:*@srcdir@:*/:/;
    4993 s/^\([^=]*=[     ]*\):*/\1/;
    4994 s/:*$//;
    4995 s/^[^=]*=[       ]*$//;
    4996 }'
    4997 fi
    49985570
    49995571# Transform confdefs.h into DEFS.
     
    50025574#
    50035575# If the first sed substitution is executed (which looks for macros that
    5004 # take arguments), then we branch to the quote section.  Otherwise,
     5576# take arguments), then branch to the quote section.  Otherwise,
    50055577# look for a macro that doesn't take arguments.
    5006 cat >confdef2opt.sed <<\_ACEOF
     5578ac_script='
    50075579t clear
    5008 : clear
    5009 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     5580:clear
     5581s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
    50105582t quote
    5011 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     5583s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
    50125584t quote
    5013 d
    5014 : quote
    5015 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
    5016 s,\[,\\&,g
    5017 s,\],\\&,g
    5018 s,\$,$$,g
    5019 p
    5020 _ACEOF
    5021 # We use echo to avoid assuming a particular line-breaking character.
    5022 # The extra dot is to prevent the shell from consuming trailing
    5023 # line-breaks from the sub-command output.  A line-break within
    5024 # single-quotes doesn't work because, if this script is created in a
    5025 # platform that uses two characters for line-breaks (e.g., DOS), tr
    5026 # would break.
    5027 ac_LF_and_DOT=`echo; echo .`
    5028 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
    5029 rm -f confdef2opt.sed
     5585b any
     5586:quote
     5587s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     5588s/\[/\\&/g
     5589s/\]/\\&/g
     5590s/\$/$$/g
     5591H
     5592:any
     5593${
     5594        g
     5595        s/^\n//
     5596        s/\n/ /g
     5597        p
     5598}
     5599'
     5600DEFS=`sed -n "$ac_script" confdefs.h`
    50305601
    50315602
     
    50345605for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    50355606  # 1. Remove the extension, and $U if already installed.
    5036   ac_i=`echo "$ac_i" |
    5037          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    5038   # 2. Add them.
    5039   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    5040   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     5607  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     5608  ac_i=`echo "$ac_i" | sed "$ac_script"`
     5609  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     5610  #    will be set to the directory where LIBOBJS objects are built.
     5611  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     5612  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    50415613done
    50425614LIBOBJS=$ac_libobjs
     
    50695641## --------------------- ##
    50705642
    5071 # Be Bourne compatible
     5643# Be more Bourne compatible
     5644DUALCASE=1; export DUALCASE # for MKS sh
    50725645if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    50735646  emulate sh
     
    50765649  # is contrary to our usage.  Disable this feature.
    50775650  alias -g '${1+"$@"}'='"$@"'
    5078 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    5079   set -o posix
    5080 fi
    5081 DUALCASE=1; export DUALCASE # for MKS sh
    5082 
    5083 # Support unset when possible.
    5084 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    5085   as_unset=unset
    5086 else
    5087   as_unset=false
    5088 fi
    5089 
    5090 
    5091 # Work around bugs in pre-3.0 UWIN ksh.
    5092 $as_unset ENV MAIL MAILPATH
    5093 PS1='$ '
    5094 PS2='> '
    5095 PS4='+ '
    5096 
    5097 # NLS nuisances.
    5098 for as_var in \
    5099   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    5100   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \