Changeset 2180 for trunk/configure


Ignore:
Timestamp:
Mar 31, 2011, 2:20:27 PM (9 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r2177 r2180  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.61 for Rappture 1.1.
     3# Generated by GNU Autoconf 2.68 for Rappture 1.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
     7#
    78# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10# Foundation, Inc.
     11#
     12#
    913# This configure script is free software; the Free Software Foundation
    1014# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     15## -------------------- ##
     16## M4sh Initialization. ##
     17## -------------------- ##
    1418
    1519# Be more Bourne compatible
    1620DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1822  emulate sh
    1923  NULLCMD=:
    20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    2125  # is contrary to our usage.  Disable this feature.
    2226  alias -g '${1+"$@"}'='"$@"'
    2327  setopt NO_GLOB_SUBST
    2428else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     29  case `(set -o) 2>/dev/null` in #(
     30  *posix*) :
     31    set -o posix ;; #(
     32  *) :
     33     ;;
    2734esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     35fi
     36
     37
     38as_nl='
     39'
     40export as_nl
     41# Printing a long string crashes Solaris 7 /usr/bin/printf.
     42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45# Prefer a ksh shell builtin over an external printf program on Solaris,
     46# but without wasting forks for bash or zsh.
     47if test -z "$BASH_VERSION$ZSH_VERSION" \
     48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49  as_echo='print -r --'
     50  as_echo_n='print -rn --'
     51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52  as_echo='printf %s\n'
     53  as_echo_n='printf %s'
     54else
     55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57    as_echo_n='/usr/ucb/echo -n'
     58  else
     59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60    as_echo_n_body='eval
     61      arg=$1;
     62      case $arg in #(
     63      *"$as_nl"*)
     64        expr "X$arg" : "X\\(.*\\)$as_nl";
     65        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66      esac;
     67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68    '
     69    export as_echo_n_body
     70    as_echo_n='sh -c $as_echo_n_body as_echo'
     71  fi
     72  export as_echo_body
     73  as_echo='sh -c $as_echo_body as_echo'
     74fi
    4175
    4276# The user is always right.
    4377if test "${PATH_SEPARATOR+set}" != set; then
    44   echo "#! /bin/sh" >conf$$.sh
    45   echo  "exit 0"   >>conf$$.sh
    46   chmod +x conf$$.sh
    47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    48     PATH_SEPARATOR=';'
    49   else
    50     PATH_SEPARATOR=:
    51   fi
    52   rm -f conf$$.sh
    53 fi
    54 
    55 # Support unset when possible.
    56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    57   as_unset=unset
    58 else
    59   as_unset=false
     78  PATH_SEPARATOR=:
     79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81      PATH_SEPARATOR=';'
     82  }
    6083fi
    6184
     
    6689# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    6790# splitting by setting IFS to empty value.)
    68 as_nl='
    69 '
    7091IFS=" ""        $as_nl"
    7192
    7293# Find who we are.  Look in the path if we contain no directory separator.
    73 case $0 in
     94as_myself=
     95case $0 in #((
    7496  *[\\/]* ) as_myself=$0 ;;
    7597  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    78100  IFS=$as_save_IFS
    79101  test -z "$as_dir" && as_dir=.
    80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    81 done
     102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     103  done
    82104IFS=$as_save_IFS
    83105
     
    90112fi
    91113if test ! -f "$as_myself"; then
    92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    93   { (exit 1); exit 1; }
    94 fi
    95 
    96 # Work around bugs in pre-3.0 UWIN ksh.
    97 for as_var in ENV MAIL MAILPATH
    98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     115  exit 1
     116fi
     117
     118# Unset variables that we do not need and which cause bugs (e.g. in
     119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     120# suppresses any "Segmentation fault" message there.  '((' could
     121# trigger a bug in pdksh 5.2.14.
     122for as_var in BASH_ENV ENV MAIL MAILPATH
     123do eval test x\${$as_var+set} = xset \
     124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    99125done
    100126PS1='$ '
     
    103129
    104130# NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
     131LC_ALL=C
     132export LC_ALL
     133LANGUAGE=C
     134export LANGUAGE
     135
     136# CDPATH.
     137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     138
     139if test "x$CONFIG_SHELL" = x; then
     140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     141  emulate sh
     142  NULLCMD=:
     143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     144  # is contrary to our usage.  Disable this feature.
     145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     146  setopt NO_GLOB_SUBST
     147else
     148  case \`(set -o) 2>/dev/null\` in #(
     149  *posix*) :
     150    set -o posix ;; #(
     151  *) :
     152     ;;
     153esac
     154fi
     155"
     156  as_required="as_fn_return () { (exit \$1); }
     157as_fn_success () { as_fn_return 0; }
     158as_fn_failure () { as_fn_return 1; }
     159as_fn_ret_success () { return 0; }
     160as_fn_ret_failure () { return 1; }
     161
     162exitcode=0
     163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     168
     169else
     170  exitcode=1; echo positional parameters were not saved.
     171fi
     172test x\$exitcode = x0 || exit 1"
     173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     177test \$(( 1 + 1 )) = 2 || exit 1"
     178  if (eval "$as_required") 2>/dev/null; then :
     179  as_have_required=yes
     180else
     181  as_have_required=no
     182fi
     183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     184
     185else
     186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     187as_found=false
     188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    109189do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
     190  IFS=$as_save_IFS
     191  test -z "$as_dir" && as_dir=.
     192  as_found=:
     193  case $as_dir in #(
     194         /*)
     195           for as_base in sh bash ksh sh5; do
     196             # Try only shells that exist, to save several forks.
     197             as_shell=$as_dir/$as_base
     198             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     199                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     200  CONFIG_SHELL=$as_shell as_have_required=yes
     201                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     202  break 2
     203fi
     204fi
     205           done;;
     206       esac
     207  as_found=false
     208done
     209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     210              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     211  CONFIG_SHELL=$SHELL as_have_required=yes
     212fi; }
     213IFS=$as_save_IFS
     214
     215
     216      if test "x$CONFIG_SHELL" != x; then :
     217  # We cannot yet assume a decent shell, so we have to provide a
     218        # neutralization value for shells without unset; and this also
     219        # works around shells that cannot unset nonexistent variables.
     220        # Preserve -v and -x to the replacement shell.
     221        BASH_ENV=/dev/null
     222        ENV=/dev/null
     223        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     224        export CONFIG_SHELL
     225        case $- in # ((((
     226          *v*x* | *x*v* ) as_opts=-vx ;;
     227          *v* ) as_opts=-v ;;
     228          *x* ) as_opts=-x ;;
     229          * ) as_opts= ;;
     230        esac
     231        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     232fi
     233
     234    if test x$as_have_required = xno; then :
     235  $as_echo "$0: This script requires a shell more modern than all"
     236  $as_echo "$0: the shells that I found on your system."
     237  if test x${ZSH_VERSION+set} = xset ; then
     238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    112240  else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     242$0: rappture@nanohub.org about your system, including any
     243$0: error possibly output before this message. Then install
     244$0: a modern shell, or manually run the script under such a
     245$0: shell if you do have one."
    114246  fi
    115 done
    116 
    117 # Required to use basename.
     247  exit 1
     248fi
     249fi
     250fi
     251SHELL=${CONFIG_SHELL-/bin/sh}
     252export SHELL
     253# Unset more variables known to interfere with behavior of common tools.
     254CLICOLOR_FORCE= GREP_OPTIONS=
     255unset CLICOLOR_FORCE GREP_OPTIONS
     256
     257## --------------------- ##
     258## M4sh Shell Functions. ##
     259## --------------------- ##
     260# as_fn_unset VAR
     261# ---------------
     262# Portably unset VAR.
     263as_fn_unset ()
     264{
     265  { eval $1=; unset $1;}
     266}
     267as_unset=as_fn_unset
     268
     269# as_fn_set_status STATUS
     270# -----------------------
     271# Set $? to STATUS, without forking.
     272as_fn_set_status ()
     273{
     274  return $1
     275} # as_fn_set_status
     276
     277# as_fn_exit STATUS
     278# -----------------
     279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     280as_fn_exit ()
     281{
     282  set +e
     283  as_fn_set_status $1
     284  exit $1
     285} # as_fn_exit
     286
     287# as_fn_mkdir_p
     288# -------------
     289# Create "$as_dir" as a directory, including parents if necessary.
     290as_fn_mkdir_p ()
     291{
     292
     293  case $as_dir in #(
     294  -*) as_dir=./$as_dir;;
     295  esac
     296  test -d "$as_dir" || eval $as_mkdir_p || {
     297    as_dirs=
     298    while :; do
     299      case $as_dir in #(
     300      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     301      *) as_qdir=$as_dir;;
     302      esac
     303      as_dirs="'$as_qdir' $as_dirs"
     304      as_dir=`$as_dirname -- "$as_dir" ||
     305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     306         X"$as_dir" : 'X\(//\)[^/]' \| \
     307         X"$as_dir" : 'X\(//\)$' \| \
     308         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     309$as_echo X"$as_dir" |
     310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     311            s//\1/
     312            q
     313          }
     314          /^X\(\/\/\)[^/].*/{
     315            s//\1/
     316            q
     317          }
     318          /^X\(\/\/\)$/{
     319            s//\1/
     320            q
     321          }
     322          /^X\(\/\).*/{
     323            s//\1/
     324            q
     325          }
     326          s/.*/./; q'`
     327      test -d "$as_dir" && break
     328    done
     329    test -z "$as_dirs" || eval "mkdir $as_dirs"
     330  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     331
     332
     333} # as_fn_mkdir_p
     334# as_fn_append VAR VALUE
     335# ----------------------
     336# Append the text in VALUE to the end of the definition contained in VAR. Take
     337# advantage of any shell optimizations that allow amortized linear growth over
     338# repeated appends, instead of the typical quadratic growth present in naive
     339# implementations.
     340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     341  eval 'as_fn_append ()
     342  {
     343    eval $1+=\$2
     344  }'
     345else
     346  as_fn_append ()
     347  {
     348    eval $1=\$$1\$2
     349  }
     350fi # as_fn_append
     351
     352# as_fn_arith ARG...
     353# ------------------
     354# Perform arithmetic evaluation on the ARGs, and store the result in the
     355# global $as_val. Take advantage of shells that can avoid forks. The arguments
     356# must be portable across $(()) and expr.
     357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     358  eval 'as_fn_arith ()
     359  {
     360    as_val=$(( $* ))
     361  }'
     362else
     363  as_fn_arith ()
     364  {
     365    as_val=`expr "$@" || test $? -eq 1`
     366  }
     367fi # as_fn_arith
     368
     369
     370# as_fn_error STATUS ERROR [LINENO LOG_FD]
     371# ----------------------------------------
     372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     374# script with STATUS, using 1 if that was 0.
     375as_fn_error ()
     376{
     377  as_status=$1; test $as_status -eq 0 && as_status=1
     378  if test "$4"; then
     379    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     380    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     381  fi
     382  $as_echo "$as_me: error: $2" >&2
     383  as_fn_exit $as_status
     384} # as_fn_error
     385
    118386if expr a : '\(a\)' >/dev/null 2>&1 &&
    119387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    129397fi
    130398
    131 
    132 # Name of the executable.
     399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     400  as_dirname=dirname
     401else
     402  as_dirname=false
     403fi
     404
    133405as_me=`$as_basename -- "$0" ||
    134406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135407         X"$0" : 'X\(//\)$' \| \
    136408         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
     409$as_echo X/"$0" |
    138410    sed '/^.*\/\([^/][^/]*\)\/*$/{
    139411            s//\1/
     
    150422          s/.*/./; q'`
    151423
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes &&     (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229          /*)
    230            for as_base in sh bash ksh sh5; do
    231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232            done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239          # Try only shells that exist, to save several forks.
    240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261                as_have_required=yes
    262                if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
     424# Avoid depending upon Character Ranges.
     425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     428as_cr_digits='0123456789'
     429as_cr_alnum=$as_cr_Letters$as_cr_digits
     430
     431
     432  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     433  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     434  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     435  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     436  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    440437  sed -n '
    441438    p
     
    454451    ' >$as_me.lineno &&
    455452  chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
     453    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    458454
    459455  # Don't try to exec as it changes $[0], causing all sort of problems
     
    465461}
    466462
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474463ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
     464case `echo -n x` in #(((((
    476465-n*)
    477   case `echo 'x\c'` in
     466  case `echo 'xy\c'` in
    478467  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
     468  xy)  ECHO_C='\c';;
     469  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     470       ECHO_T=' ';;
    480471  esac;;
    481472*)
     
    483474esac
    484475
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492476rm -f conf$$ conf$$.exe conf$$.file
    493477if test -d conf$$.dir; then
     
    495479else
    496480  rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     481  mkdir conf$$.dir 2>/dev/null
     482fi
     483if (echo >conf$$.file) 2>/dev/null; then
     484  if ln -s conf$$.file conf$$ 2>/dev/null; then
     485    as_ln_s='ln -s'
     486    # ... but there are two gotchas:
     487    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     488    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     489    # In both cases, we have to default to `cp -p'.
     490    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     491      as_ln_s='cp -p'
     492  elif ln conf$$.file conf$$ 2>/dev/null; then
     493    as_ln_s=ln
     494  else
    507495    as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
     496  fi
    510497else
    511498  as_ln_s='cp -p'
     
    515502
    516503if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
     504  as_mkdir_p='mkdir -p "$as_dir"'
    518505else
    519506  test -d ./-p && rmdir ./-p
     
    532519    eval sh -c '\''
    533520      if test -d "$1"; then
    534         test -d "$1/.";
     521        test -d "$1/.";
    535522      else
    536         case $1 in
    537         -*)set "./$1";;
     523        case $1 in #(
     524        -*)set "./$1";;
    538525        esac;
    539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     526        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    540527        ???[sx]*):;;*)false;;esac;fi
    541528    '\'' sh
     
    551538
    552539
    553 
    554 exec 7<&0 </dev/null 6>&1
     540test -n "$DJDIR" || exec 7<&0 </dev/null
     541exec 6>&1
    555542
    556543# Name of the host.
    557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    558545# so uname gets run too.
    559546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    570557MFLAGS=
    571558MAKEFLAGS=
    572 SHELL=${CONFIG_SHELL-/bin/sh}
    573559
    574560# Identity of this package.
     
    578564PACKAGE_STRING='Rappture 1.1'
    579565PACKAGE_BUGREPORT='rappture@nanohub.org'
     566PACKAGE_URL=''
    580567
    581568# Factoring default headers for most tests.
     
    615602#endif"
    616603
    617 ac_subst_vars='SHELL
     604enable_option_checking=no
     605ac_subst_vars='LTLIBOBJS
     606LIBOBJS
     607subdirs
     608HAVE_FFMPEG_LIBS
     609LDFLAGS_DEFAULT
     610CFLAGS_DEFAULT
     611SIZEOF_VOID_P
     612SIZEOF_LONG_LONG
     613SIZEOF_LONG
     614SIZEOF_INT
     615TK_VERSION
     616SHLIB_LDFLAGS
     617RP_BASE
     618JAVA_INC_SPEC
     619JAVA_INC_DIR
     620JAVA_HOME
     621JAVAH
     622JAVAC
     623JAVA
     624RUBY_PLATFORM
     625RUBY_VERSION_RV
     626HAVE_RUBY_DEVEL
     627RUBY_EXTRA_LIBS
     628RUBY_SITE_PKG
     629RUBY_LDFLAGS
     630RUBY_CPPFLAGS
     631AWK
     632RUBY_VERSION
     633SED
     634RUBY
     635PYTHON_DISTUTILS
     636PYTHON_SITE_PACKAGES
     637PYTHON_LIBDIR
     638PYTHON_SITE_DIR
     639PYTHON_LIB
     640PYTHON_LDFLAGS
     641PYTHON_INCDIR
     642PYTHON_CFLAGS
     643PYTHON_INCLUDES
     644PYTHON_VERSION
     645PYTHON
     646PERL_LIBSPEC
     647PERL_VERSION_RV
     648PERL_INSTALLARCHLIB
     649PERL_PRIVLIB
     650PERL_VENDORLIB
     651PERL_CPPFLAGS
     652PERL_CCFLAGS
     653PERL_VERSION
     654PERL_ARCHLIBEXP
     655PERL_ARCHLIB
     656PERL_INCLUDES
     657PERL
     658MKOCTFILE3
     659MKOCTFILE2
     660OCTAVE_VERSION_MAJOR
     661OCTAVE_VERSION
     662mkoctfile3
     663mkoctfile2
     664MKOCTFILE
     665OCTAVE
     666MEX_ARCH
     667MCC
     668MEXEXT
     669MEX
     670MATLAB
     671VTKDIR
     672TCL_LIB_SPEC
     673TCL_INC_SPEC
     674TCL_VERSION
     675TCLSH
     676ENABLE_GUI
     677MAKE
     678INSTALL_STUB_LIB
     679INSTALL_LIB
     680MAKE_STUB_LIB
     681MAKE_LIB
     682SHLIB_SUFFIX
     683SHLIB_CFLAGS
     684SHLIB_LD_LIBS
     685TK_SHLIB_LD_EXTRAS
     686TCL_SHLIB_LD_EXTRAS
     687SHLIB_LD
     688STLIB_LD
     689LD_SEARCH_FLAGS
     690CC_SEARCH_FLAGS
     691LDFLAGS_OPTIMIZE
     692LDFLAGS_DEBUG
     693CFLAGS_WARNING
     694CFLAGS_OPTIMIZE
     695CFLAGS_DEBUG
     696PLAT_SRCS
     697PLAT_OBJS
     698DL_OBJS
     699DL_LIBS
     700AR
     701HAVE_INTTYPES_H
     702CXXCPP
     703EGREP
     704GREP
     705CPP
     706ac_ct_F77
     707FFLAGS
     708F77
     709ac_ct_CXX
     710CXXFLAGS
     711CXX
     712OBJEXT
     713EXEEXT
     714ac_ct_CC
     715CPPFLAGS
     716LDFLAGS
     717CFLAGS
     718CC
     719SET_MAKE
     720MKDIR_P
     721LN_S
     722RANLIB
     723INSTALL_DATA
     724INSTALL_SCRIPT
     725INSTALL_PROGRAM
     726LIB_SEARCH_DIRS
     727INSTALL_PREFIX
     728target_alias
     729host_alias
     730build_alias
     731LIBS
     732ECHO_T
     733ECHO_N
     734ECHO_C
     735DEFS
     736mandir
     737localedir
     738libdir
     739psdir
     740pdfdir
     741dvidir
     742htmldir
     743infodir
     744docdir
     745oldincludedir
     746includedir
     747localstatedir
     748sharedstatedir
     749sysconfdir
     750datadir
     751datarootdir
     752libexecdir
     753sbindir
     754bindir
     755program_transform_name
     756prefix
     757exec_prefix
     758PACKAGE_URL
     759PACKAGE_BUGREPORT
     760PACKAGE_STRING
     761PACKAGE_VERSION
     762PACKAGE_TARNAME
     763PACKAGE_NAME
    618764PATH_SEPARATOR
    619 PACKAGE_NAME
    620 PACKAGE_TARNAME
    621 PACKAGE_VERSION
    622 PACKAGE_STRING
    623 PACKAGE_BUGREPORT
    624 exec_prefix
    625 prefix
    626 program_transform_name
    627 bindir
    628 sbindir
    629 libexecdir
    630 datarootdir
    631 datadir
    632 sysconfdir
    633 sharedstatedir
    634 localstatedir
    635 includedir
    636 oldincludedir
    637 docdir
    638 infodir
    639 htmldir
    640 dvidir
    641 pdfdir
    642 psdir
    643 libdir
    644 localedir
    645 mandir
    646 DEFS
    647 ECHO_C
    648 ECHO_N
    649 ECHO_T
    650 LIBS
    651 build_alias
    652 host_alias
    653 target_alias
    654 INSTALL_PREFIX
    655 LIB_SEARCH_DIRS
    656 INSTALL_PROGRAM
    657 INSTALL_SCRIPT
    658 INSTALL_DATA
    659 RANLIB
    660 LN_S
    661 SET_MAKE
    662 CC
    663 CFLAGS
    664 LDFLAGS
    665 CPPFLAGS
    666 ac_ct_CC
    667 EXEEXT
    668 OBJEXT
    669 CXX
    670 CXXFLAGS
    671 ac_ct_CXX
    672 F77
    673 FFLAGS
    674 ac_ct_F77
    675 CPP
    676 GREP
    677 EGREP
    678 CXXCPP
    679 HAVE_INTTYPES_H
    680 AR
    681 DL_LIBS
    682 DL_OBJS
    683 PLAT_OBJS
    684 PLAT_SRCS
    685 CFLAGS_DEBUG
    686 CFLAGS_OPTIMIZE
    687 CFLAGS_WARNING
    688 LDFLAGS_DEBUG
    689 LDFLAGS_OPTIMIZE
    690 CC_SEARCH_FLAGS
    691 LD_SEARCH_FLAGS
    692 STLIB_LD
    693 SHLIB_LD
    694 TCL_SHLIB_LD_EXTRAS
    695 TK_SHLIB_LD_EXTRAS
    696 SHLIB_LD_LIBS
    697 SHLIB_CFLAGS
    698 SHLIB_SUFFIX
    699 MAKE_LIB
    700 MAKE_STUB_LIB
    701 INSTALL_LIB
    702 INSTALL_STUB_LIB
    703 MAKE
    704 ENABLE_GUI
    705 TCLSH
    706 TCL_VERSION
    707 TCL_INC_SPEC
    708 TCL_LIB_SPEC
    709 VTKDIR
    710 MATLAB
    711 MEX
    712 MEXEXT
    713 MCC
    714 MEX_ARCH
    715 OCTAVE
    716 MKOCTFILE
    717 octave2
    718 mkoctfile2
    719 octave3
    720 mkoctfile3
    721 OCTAVE2
    722 OCTAVE3
    723 OCTAVE_VERSION
    724 OCTAVE_VERSION_MAJOR
    725 MKOCTFILE2
    726 MKOCTFILE3
    727 PERL
    728 PERL_INCLUDES
    729 PERL_ARCHLIB
    730 PERL_ARCHLIBEXP
    731 PERL_VERSION
    732 PERL_CCFLAGS
    733 PERL_CPPFLAGS
    734 PERL_VENDORLIB
    735 PERL_PRIVLIB
    736 PERL_INSTALLARCHLIB
    737 PERL_VERSION_RV
    738 PERL_LIBSPEC
    739 PYTHON
    740 PYTHON_VERSION
    741 PYTHON_INCLUDES
    742 PYTHON_CFLAGS
    743 PYTHON_INCDIR
    744 PYTHON_LDFLAGS
    745 PYTHON_LIB
    746 PYTHON_SITE_DIR
    747 PYTHON_LIBDIR
    748 PYTHON_SITE_PACKAGES
    749 PYTHON_DISTUTILS
    750 RUBY
    751 SED
    752 RUBY_VERSION
    753 AWK
    754 RUBY_CPPFLAGS
    755 RUBY_LDFLAGS
    756 RUBY_SITE_PKG
    757 RUBY_EXTRA_LIBS
    758 HAVE_RUBY_DEVEL
    759 RUBY_VERSION_RV
    760 RUBY_PLATFORM
    761 JAVA
    762 JAVAC
    763 JAVAH
    764 JAVA_HOME
    765 JAVA_INC_DIR
    766 JAVA_INC_SPEC
    767 RP_BASE
    768 SHLIB_LDFLAGS
    769 TK_VERSION
    770 SIZEOF_INT
    771 SIZEOF_LONG
    772 SIZEOF_LONG_LONG
    773 SIZEOF_VOID_P
    774 CFLAGS_DEFAULT
    775 LDFLAGS_DEFAULT
    776 HAVE_FFMPEG_LIBS
    777 subdirs
    778 LIBOBJS
    779 LTLIBOBJS'
     765SHELL'
    780766ac_subst_files=''
     767ac_user_opts='
     768enable_option_checking
     769with_install
     770enable_64bit
     771enable_64bit_vis
     772enable_corefoundation
     773enable_load
     774enable_gui
     775with_tclsh
     776with_vtk
     777with_matlab
     778with_octave
     779with_mkoctfile2
     780with_mkoctfile3
     781with_perl
     782with_python
     783with_ruby
     784with_java
     785enable_shared
     786enable_symbols
     787'
    781788      ac_precious_vars='build_alias
    782789host_alias
     
    799806ac_init_help=
    800807ac_init_version=false
     808ac_unrecognized_opts=
     809ac_unrecognized_sep=
    801810# The variables have the same names as the options, with
    802811# dashes changed to underlines.
     
    854863
    855864  case $ac_option in
    856   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    857   *)    ac_optarg=yes ;;
     865  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     866  *=)   ac_optarg= ;;
     867  *)    ac_optarg=yes ;;
    858868  esac
    859869
     
    897907
    898908  -disable-* | --disable-*)
    899     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     909    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    900910    # Reject names that are not valid shell variable names.
    901     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    902       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    903    { (exit 1); exit 1; }; }
    904     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    905     eval enable_$ac_feature=no ;;
     911    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     912      as_fn_error $? "invalid feature name: $ac_useropt"
     913    ac_useropt_orig=$ac_useropt
     914    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     915    case $ac_user_opts in
     916      *"
     917"enable_$ac_useropt"
     918"*) ;;
     919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     920         ac_unrecognized_sep=', ';;
     921    esac
     922    eval enable_$ac_useropt=no ;;
    906923
    907924  -docdir | --docdir | --docdi | --doc | --do)
     
    916933
    917934  -enable-* | --enable-*)
    918     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     935    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    919936    # Reject names that are not valid shell variable names.
    920     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    921       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    922    { (exit 1); exit 1; }; }
    923     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    924     eval enable_$ac_feature=\$ac_optarg ;;
     937    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     938      as_fn_error $? "invalid feature name: $ac_useropt"
     939    ac_useropt_orig=$ac_useropt
     940    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     941    case $ac_user_opts in
     942      *"
     943"enable_$ac_useropt"
     944"*) ;;
     945      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     946         ac_unrecognized_sep=', ';;
     947    esac
     948    eval enable_$ac_useropt=\$ac_optarg ;;
    925949
    926950  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    11131137
    11141138  -with-* | --with-*)
    1115     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1139    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    11161140    # Reject names that are not valid shell variable names.
    1117     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1118       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1119    { (exit 1); exit 1; }; }
    1120     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1121     eval with_$ac_package=\$ac_optarg ;;
     1141    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1142      as_fn_error $? "invalid package name: $ac_useropt"
     1143    ac_useropt_orig=$ac_useropt
     1144    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1145    case $ac_user_opts in
     1146      *"
     1147"with_$ac_useropt"
     1148"*) ;;
     1149      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1150         ac_unrecognized_sep=', ';;
     1151    esac
     1152    eval with_$ac_useropt=\$ac_optarg ;;
    11221153
    11231154  -without-* | --without-*)
    1124     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1155    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    11251156    # Reject names that are not valid shell variable names.
    1126     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1127       { echo "$as_me: error: invalid package name: $ac_package" >&2
    1128    { (exit 1); exit 1; }; }
    1129     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    1130     eval with_$ac_package=no ;;
     1157    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1158      as_fn_error $? "invalid package name: $ac_useropt"
     1159    ac_useropt_orig=$ac_useropt
     1160    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1161    case $ac_user_opts in
     1162      *"
     1163"with_$ac_useropt"
     1164"*) ;;
     1165      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1166         ac_unrecognized_sep=', ';;
     1167    esac
     1168    eval with_$ac_useropt=no ;;
    11311169
    11321170  --x)
     
    11481186    x_libraries=$ac_optarg ;;
    11491187
    1150   -*) { echo "$as_me: error: unrecognized option: $ac_option
    1151 Try \`$0 --help' for more information." >&2
    1152    { (exit 1); exit 1; }; }
     1188  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1189Try \`$0 --help' for more information"
    11531190    ;;
    11541191
     
    11561193    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11571194    # Reject names that are not valid shell variable names.
    1158     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1159       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1160    { (exit 1); exit 1; }; }
     1195    case $ac_envvar in #(
     1196      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1197      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1198    esac
    11611199    eval $ac_envvar=\$ac_optarg
    11621200    export $ac_envvar ;;
     
    11641202  *)
    11651203    # FIXME: should be removed in autoconf 3.0.
    1166     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1204    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    11671205    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1168       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1169     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1206      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1207    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11701208    ;;
    11711209
     
    11751213if test -n "$ac_prev"; then
    11761214  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1177   { echo "$as_me: error: missing argument to $ac_option" >&2
    1178    { (exit 1); exit 1; }; }
    1179 fi
    1180 
    1181 # Be sure to have absolute directory names.
     1215  as_fn_error $? "missing argument to $ac_option"
     1216fi
     1217
     1218if test -n "$ac_unrecognized_opts"; then
     1219  case $enable_option_checking in
     1220    no) ;;
     1221    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1222    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1223  esac
     1224fi
     1225
     1226# Check all directory arguments for consistency.
    11821227for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11831228                datadir sysconfdir sharedstatedir localstatedir includedir \
     
    11861231do
    11871232  eval ac_val=\$$ac_var
     1233  # Remove trailing slashes.
     1234  case $ac_val in
     1235    */ )
     1236      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1237      eval $ac_var=\$ac_val;;
     1238  esac
     1239  # Be sure to have absolute directory names.
    11881240  case $ac_val in
    11891241    [\\/$]* | ?:[\\/]* )  continue;;
    11901242    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11911243  esac
    1192   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1193    { (exit 1); exit 1; }; }
     1244  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    11941245done
    11951246
     
    12051256  if test "x$build_alias" = x; then
    12061257    cross_compiling=maybe
    1207     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1208     If a cross compiler is detected then cross compile mode will be used." >&2
     1258    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1259    If a cross compiler is detected then cross compile mode will be used" >&2
    12091260  elif test "x$build_alias" != "x$host_alias"; then
    12101261    cross_compiling=yes
     
    12211272ac_ls_di=`ls -di .` &&
    12221273ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1223   { echo "$as_me: error: Working directory cannot be determined" >&2
    1224    { (exit 1); exit 1; }; }
     1274  as_fn_error $? "working directory cannot be determined"
    12251275test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1226   { echo "$as_me: error: pwd does not report name of working directory" >&2
    1227    { (exit 1); exit 1; }; }
     1276  as_fn_error $? "pwd does not report name of working directory"
    12281277
    12291278
     
    12321281  ac_srcdir_defaulted=yes
    12331282  # Try the directory containing this script, then the parent directory.
    1234   ac_confdir=`$as_dirname -- "$0" ||
    1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1236          X"$0" : 'X\(//\)[^/]' \| \
    1237          X"$0" : 'X\(//\)$' \| \
    1238          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    1239 echo X"$0" |
     1283  ac_confdir=`$as_dirname -- "$as_myself" ||
     1284$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1285         X"$as_myself" : 'X\(//\)[^/]' \| \
     1286         X"$as_myself" : 'X\(//\)$' \| \
     1287         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1288$as_echo X"$as_myself" |
    12401289    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    12411290            s//\1/
     
    12641313if test ! -r "$srcdir/$ac_unique_file"; then
    12651314  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1266   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1267    { (exit 1); exit 1; }; }
     1315  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12681316fi
    12691317ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12701318ac_abs_confdir=`(
    1271         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    1272    { (exit 1); exit 1; }; }
     1319        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    12731320        pwd)`
    12741321# When building in place, set srcdir=.
     
    13101357      --help=recursive    display the short help of all the included packages
    13111358  -V, --version           display version information and exit
    1312   -q, --quiet, --silent   do not print \`checking...' messages
     1359  -q, --quiet, --silent   do not print \`checking ...' messages
    13131360      --cache-file=FILE   cache test results in FILE [disabled]
    13141361  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13181365Installation directories:
    13191366  --prefix=PREFIX         install architecture-independent files in PREFIX
    1320                           [$ac_default_prefix]
     1367                          [$ac_default_prefix]
    13211368  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1322                           [PREFIX]
     1369                          [PREFIX]
    13231370
    13241371By default, \`make install' will install all the files in
     
    13301377
    13311378Fine tuning of the installation directories:
    1332   --bindir=DIR           user executables [EPREFIX/bin]
    1333   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    1334   --libexecdir=DIR       program executables [EPREFIX/libexec]
    1335   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    1336   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    1337   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    1338   --libdir=DIR           object code libraries [EPREFIX/lib]
    1339   --includedir=DIR       C header files [PREFIX/include]
    1340   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    1341   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
    1342   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
    1343   --infodir=DIR          info documentation [DATAROOTDIR/info]
    1344   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
    1345   --mandir=DIR           man documentation [DATAROOTDIR/man]
    1346   --docdir=DIR           documentation root [DATAROOTDIR/doc/rappture]
    1347   --htmldir=DIR          html documentation [DOCDIR]
    1348   --dvidir=DIR           dvi documentation [DOCDIR]
    1349   --pdfdir=DIR           pdf documentation [DOCDIR]
    1350   --psdir=DIR            ps documentation [DOCDIR]
     1379  --bindir=DIR            user executables [EPREFIX/bin]
     1380  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1381  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1382  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1383  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1384  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1385  --libdir=DIR            object code libraries [EPREFIX/lib]
     1386  --includedir=DIR        C header files [PREFIX/include]
     1387  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1388  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1389  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1390  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1391  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1392  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1393  --docdir=DIR            documentation root [DATAROOTDIR/doc/rappture]
     1394  --htmldir=DIR           html documentation [DOCDIR]
     1395  --dvidir=DIR            dvi documentation [DOCDIR]
     1396  --pdfdir=DIR            pdf documentation [DOCDIR]
     1397  --psdir=DIR             ps documentation [DOCDIR]
    13511398_ACEOF
    13521399
     
    13621409
    13631410Optional Features:
     1411  --disable-option-checking  ignore unrecognized --enable/--with options
    13641412  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13651413  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    13801428  --with-vtk=DIR          location of vtk library [default=yes]
    13811429  --with-matlab=DIR       location of matlab and mex compiler [default=yes]
    1382   --with-octave=DIR       location of octave compiler MKOCTFILE [default=yes]
    1383   --with-octave2=DIR      location of octave compiler MKOCTFILE [default=no]
    1384   --with-octave3=DIR      location of octave compiler MKOCTFILE [default=no]
     1430  --with-octave=DIR       path of default octave compiler `mkoctfile'
     1431                          [default=yes]
     1432  --with-mkoctfile2=DIR   path of octave compiler `mkoctfile' [default=no]
     1433  --with-mkoctfile3=DIR   path of octave compiler `mkoctfile' [default=no]
    13851434  --with-perl=DIR         location of perl [default=yes]
    13861435  --with-python=DIR       location of python [default=yes]
     
    13941443              nonstandard directory <lib dir>
    13951444  LIBS        libraries to pass to the linker, e.g. -l<library>
    1396   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1445  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13971446              you have headers in a nonstandard directory <include dir>
    13981447  CXX         C++ compiler command
     
    14141463  # If there are subdirs, report their specific --help.
    14151464  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1416     test -d "$ac_dir" || continue
     1465    test -d "$ac_dir" ||
     1466      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1467      continue
    14171468    ac_builddir=.
    14181469
     
    14201471.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    14211472*)
    1422   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     1473  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
    14231474  # A ".." for each directory in $ac_dir_suffix.
    1424   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
     1475  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
    14251476  case $ac_top_builddir_sub in
    14261477  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    14581509      $SHELL "$ac_srcdir/configure" --help=recursive
    14591510    else
    1460       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1511      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    14611512    fi || ac_status=$?
    14621513    cd "$ac_pwd" || { ac_status=$?; break; }
     
    14681519  cat <<\_ACEOF
    14691520Rappture configure 1.1
    1470 generated by GNU Autoconf 2.61
    1471 
    1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1473 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     1521generated by GNU Autoconf 2.68
     1522
     1523Copyright (C) 2010 Free Software Foundation, Inc.
    14741524This configure script is free software; the Free Software Foundation
    14751525gives unlimited permission to copy, distribute and modify it.
     
    14771527  exit
    14781528fi
     1529
     1530## ------------------------ ##
     1531## Autoconf initialization. ##
     1532## ------------------------ ##
     1533
     1534# ac_fn_c_try_compile LINENO
     1535# --------------------------
     1536# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1537ac_fn_c_try_compile ()
     1538{
     1539  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1540  rm -f conftest.$ac_objext
     1541  if { { ac_try="$ac_compile"
     1542case "(($ac_try" in
     1543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1544  *) ac_try_echo=$ac_try;;
     1545esac
     1546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1547$as_echo "$ac_try_echo"; } >&5
     1548  (eval "$ac_compile") 2>conftest.err
     1549  ac_status=$?
     1550  if test -s conftest.err; then
     1551    grep -v '^ *+' conftest.err >conftest.er1
     1552    cat conftest.er1 >&5
     1553    mv -f conftest.er1 conftest.err
     1554  fi
     1555  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1556  test $ac_status = 0; } && {
     1557         test -z "$ac_c_werror_flag" ||
     1558         test ! -s conftest.err
     1559       } && test -s conftest.$ac_objext; then :
     1560  ac_retval=0
     1561else
     1562  $as_echo "$as_me: failed program was:" >&5
     1563sed 's/^/| /' conftest.$ac_ext >&5
     1564
     1565        ac_retval=1
     1566fi
     1567  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1568  as_fn_set_status $ac_retval
     1569
     1570} # ac_fn_c_try_compile
     1571
     1572# ac_fn_cxx_try_compile LINENO
     1573# ----------------------------
     1574# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1575ac_fn_cxx_try_compile ()
     1576{
     1577  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1578  rm -f conftest.$ac_objext
     1579  if { { ac_try="$ac_compile"
     1580case "(($ac_try" in
     1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1582  *) ac_try_echo=$ac_try;;
     1583esac
     1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1585$as_echo "$ac_try_echo"; } >&5
     1586  (eval "$ac_compile") 2>conftest.err
     1587  ac_status=$?
     1588  if test -s conftest.err; then
     1589    grep -v '^ *+' conftest.err >conftest.er1
     1590    cat conftest.er1 >&5
     1591    mv -f conftest.er1 conftest.err
     1592  fi
     1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1594  test $ac_status = 0; } && {
     1595         test -z "$ac_cxx_werror_flag" ||
     1596         test ! -s conftest.err
     1597       } && test -s conftest.$ac_objext; then :
     1598  ac_retval=0
     1599else
     1600  $as_echo "$as_me: failed program was:" >&5
     1601sed 's/^/| /' conftest.$ac_ext >&5
     1602
     1603        ac_retval=1
     1604fi
     1605  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1606  as_fn_set_status $ac_retval
     1607
     1608} # ac_fn_cxx_try_compile
     1609
     1610# ac_fn_f77_try_compile LINENO
     1611# ----------------------------
     1612# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1613ac_fn_f77_try_compile ()
     1614{
     1615  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1616  rm -f conftest.$ac_objext
     1617  if { { ac_try="$ac_compile"
     1618case "(($ac_try" in
     1619  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1620  *) ac_try_echo=$ac_try;;
     1621esac
     1622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1623$as_echo "$ac_try_echo"; } >&5
     1624  (eval "$ac_compile") 2>conftest.err
     1625  ac_status=$?
     1626  if test -s conftest.err; then
     1627    grep -v '^ *+' conftest.err >conftest.er1
     1628    cat conftest.er1 >&5
     1629    mv -f conftest.er1 conftest.err
     1630  fi
     1631  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1632  test $ac_status = 0; } && {
     1633         test -z "$ac_f77_werror_flag" ||
     1634         test ! -s conftest.err
     1635       } && test -s conftest.$ac_objext; then :
     1636  ac_retval=0
     1637else
     1638  $as_echo "$as_me: failed program was:" >&5
     1639sed 's/^/| /' conftest.$ac_ext >&5
     1640
     1641        ac_retval=1
     1642fi
     1643  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1644  as_fn_set_status $ac_retval
     1645
     1646} # ac_fn_f77_try_compile
     1647
     1648# ac_fn_c_try_cpp LINENO
     1649# ----------------------
     1650# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1651ac_fn_c_try_cpp ()
     1652{
     1653  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1654  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1655case "(($ac_try" in
     1656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1657  *) ac_try_echo=$ac_try;;
     1658esac
     1659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1660$as_echo "$ac_try_echo"; } >&5
     1661  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1662  ac_status=$?
     1663  if test -s conftest.err; then
     1664    grep -v '^ *+' conftest.err >conftest.er1
     1665    cat conftest.er1 >&5
     1666    mv -f conftest.er1 conftest.err
     1667  fi
     1668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1669  test $ac_status = 0; } > conftest.i && {
     1670         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1671         test ! -s conftest.err
     1672       }; then :
     1673  ac_retval=0
     1674else
     1675  $as_echo "$as_me: failed program was:" >&5
     1676sed 's/^/| /' conftest.$ac_ext >&5
     1677
     1678    ac_retval=1
     1679fi
     1680  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1681  as_fn_set_status $ac_retval
     1682
     1683} # ac_fn_c_try_cpp
     1684
     1685# ac_fn_c_try_run LINENO
     1686# ----------------------
     1687# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1688# that executables *can* be run.
     1689ac_fn_c_try_run ()
     1690{
     1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1692  if { { ac_try="$ac_link"
     1693case "(($ac_try" in
     1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1695  *) ac_try_echo=$ac_try;;
     1696esac
     1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1698$as_echo "$ac_try_echo"; } >&5
     1699  (eval "$ac_link") 2>&5
     1700  ac_status=$?
     1701  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1702  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1703  { { case "(($ac_try" in
     1704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1705  *) ac_try_echo=$ac_try;;
     1706esac
     1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1708$as_echo "$ac_try_echo"; } >&5
     1709  (eval "$ac_try") 2>&5
     1710  ac_status=$?
     1711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1712  test $ac_status = 0; }; }; then :
     1713  ac_retval=0
     1714else
     1715  $as_echo "$as_me: program exited with status $ac_status" >&5
     1716       $as_echo "$as_me: failed program was:" >&5
     1717sed 's/^/| /' conftest.$ac_ext >&5
     1718
     1719       ac_retval=$ac_status
     1720fi
     1721  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1723  as_fn_set_status $ac_retval
     1724
     1725} # ac_fn_c_try_run
     1726
     1727# ac_fn_c_try_link LINENO
     1728# -----------------------
     1729# Try to link conftest.$ac_ext, and return whether this succeeded.
     1730ac_fn_c_try_link ()
     1731{
     1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1733  rm -f conftest.$ac_objext conftest$ac_exeext
     1734  if { { ac_try="$ac_link"
     1735case "(($ac_try" in
     1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1737  *) ac_try_echo=$ac_try;;
     1738esac
     1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1740$as_echo "$ac_try_echo"; } >&5
     1741  (eval "$ac_link") 2>conftest.err
     1742  ac_status=$?
     1743  if test -s conftest.err; then
     1744    grep -v '^ *+' conftest.err >conftest.er1
     1745    cat conftest.er1 >&5
     1746    mv -f conftest.er1 conftest.err
     1747  fi
     1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1749  test $ac_status = 0; } && {
     1750         test -z "$ac_c_werror_flag" ||
     1751         test ! -s conftest.err
     1752       } && test -s conftest$ac_exeext && {
     1753         test "$cross_compiling" = yes ||
     1754         $as_test_x conftest$ac_exeext
     1755       }; then :
     1756  ac_retval=0
     1757else
     1758  $as_echo "$as_me: failed program was:" >&5
     1759sed 's/^/| /' conftest.$ac_ext >&5
     1760
     1761        ac_retval=1
     1762fi
     1763  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1764  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1765  # interfere with the next link command; also delete a directory that is
     1766  # left behind by Apple's compiler.  We do this before executing the actions.
     1767  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1768  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1769  as_fn_set_status $ac_retval
     1770
     1771} # ac_fn_c_try_link
     1772
     1773# ac_fn_c_check_func LINENO FUNC VAR
     1774# ----------------------------------
     1775# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1776ac_fn_c_check_func ()
     1777{
     1778  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1780$as_echo_n "checking for $2... " >&6; }
     1781if eval \${$3+:} false; then :
     1782  $as_echo_n "(cached) " >&6
     1783else
     1784  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1785/* end confdefs.h.  */
     1786/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1787   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1788#define $2 innocuous_$2
     1789
     1790/* System header to define __stub macros and hopefully few prototypes,
     1791    which can conflict with char $2 (); below.
     1792    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1793    <limits.h> exists even on freestanding compilers.  */
     1794
     1795#ifdef __STDC__
     1796# include <limits.h>
     1797#else
     1798# include <assert.h>
     1799#endif
     1800
     1801#undef $2
     1802
     1803/* Override any GCC internal prototype to avoid an error.
     1804   Use char because int might match the return type of a GCC
     1805   builtin and then its argument prototype would still apply.  */
     1806#ifdef __cplusplus
     1807extern "C"
     1808#endif
     1809char $2 ();
     1810/* The GNU C library defines this for functions which it implements
     1811    to always fail with ENOSYS.  Some functions are actually named
     1812    something starting with __ and the normal name is an alias.  */
     1813#if defined __stub_$2 || defined __stub___$2
     1814choke me
     1815#endif
     1816
     1817int
     1818main ()
     1819{
     1820return $2 ();
     1821  ;
     1822  return 0;
     1823}
     1824_ACEOF
     1825if ac_fn_c_try_link "$LINENO"; then :
     1826  eval "$3=yes"
     1827else
     1828  eval "$3=no"
     1829fi
     1830rm -f core conftest.err conftest.$ac_objext \
     1831    conftest$ac_exeext conftest.$ac_ext
     1832fi
     1833eval ac_res=\$$3
     1834               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1835$as_echo "$ac_res" >&6; }
     1836  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1837
     1838} # ac_fn_c_check_func
     1839
     1840# ac_fn_cxx_try_link LINENO
     1841# -------------------------
     1842# Try to link conftest.$ac_ext, and return whether this succeeded.
     1843ac_fn_cxx_try_link ()
     1844{
     1845  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1846  rm -f conftest.$ac_objext conftest$ac_exeext
     1847  if { { ac_try="$ac_link"
     1848case "(($ac_try" in
     1849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1850  *) ac_try_echo=$ac_try;;
     1851esac
     1852eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1853$as_echo "$ac_try_echo"; } >&5
     1854  (eval "$ac_link") 2>conftest.err
     1855  ac_status=$?
     1856  if test -s conftest.err; then
     1857    grep -v '^ *+' conftest.err >conftest.er1
     1858    cat conftest.er1 >&5
     1859    mv -f conftest.er1 conftest.err
     1860  fi
     1861  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1862  test $ac_status = 0; } && {
     1863         test -z "$ac_cxx_werror_flag" ||
     1864         test ! -s conftest.err
     1865       } && test -s conftest$ac_exeext && {
     1866         test "$cross_compiling" = yes ||
     1867         $as_test_x conftest$ac_exeext
     1868       }; then :
     1869  ac_retval=0
     1870else
     1871  $as_echo "$as_me: failed program was:" >&5
     1872sed 's/^/| /' conftest.$ac_ext >&5
     1873
     1874        ac_retval=1
     1875fi
     1876  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1877  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1878  # interfere with the next link command; also delete a directory that is
     1879  # left behind by Apple's compiler.  We do this before executing the actions.
     1880  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1881  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1882  as_fn_set_status $ac_retval
     1883
     1884} # ac_fn_cxx_try_link
     1885
     1886# ac_fn_cxx_check_func LINENO FUNC VAR
     1887# ------------------------------------
     1888# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1889ac_fn_cxx_check_func ()
     1890{
     1891  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1892  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1893$as_echo_n "checking for $2... " >&6; }
     1894if eval \${$3+:} false; then :
     1895  $as_echo_n "(cached) " >&6
     1896else
     1897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1898/* end confdefs.h.  */
     1899/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1900   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1901#define $2 innocuous_$2
     1902
     1903/* System header to define __stub macros and hopefully few prototypes,
     1904    which can conflict with char $2 (); below.
     1905    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1906    <limits.h> exists even on freestanding compilers.  */
     1907
     1908#ifdef __STDC__
     1909# include <limits.h>
     1910#else
     1911# include <assert.h>
     1912#endif
     1913
     1914#undef $2
     1915
     1916/* Override any GCC internal prototype to avoid an error.
     1917   Use char because int might match the return type of a GCC
     1918   builtin and then its argument prototype would still apply.  */
     1919#ifdef __cplusplus
     1920extern "C"
     1921#endif
     1922char $2 ();
     1923/* The GNU C library defines this for functions which it implements
     1924    to always fail with ENOSYS.  Some functions are actually named
     1925    something starting with __ and the normal name is an alias.  */
     1926#if defined __stub_$2 || defined __stub___$2
     1927choke me
     1928#endif
     1929
     1930int
     1931main ()
     1932{
     1933return $2 ();
     1934  ;
     1935  return 0;
     1936}
     1937_ACEOF
     1938if ac_fn_cxx_try_link "$LINENO"; then :
     1939  eval "$3=yes"
     1940else
     1941  eval "$3=no"
     1942fi
     1943rm -f core conftest.err conftest.$ac_objext \
     1944    conftest$ac_exeext conftest.$ac_ext
     1945fi
     1946eval ac_res=\$$3
     1947               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1948$as_echo "$ac_res" >&6; }
     1949  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1950
     1951} # ac_fn_cxx_check_func
     1952
     1953# ac_fn_cxx_try_cpp LINENO
     1954# ------------------------
     1955# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1956ac_fn_cxx_try_cpp ()
     1957{
     1958  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1959  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1960case "(($ac_try" in
     1961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1962  *) ac_try_echo=$ac_try;;
     1963esac
     1964eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1965$as_echo "$ac_try_echo"; } >&5
     1966  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1967  ac_status=$?
     1968  if test -s conftest.err; then
     1969    grep -v '^ *+' conftest.err >conftest.er1
     1970    cat conftest.er1 >&5
     1971    mv -f conftest.er1 conftest.err
     1972  fi
     1973  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1974  test $ac_status = 0; } > conftest.i && {
     1975         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1976         test ! -s conftest.err
     1977       }; then :
     1978  ac_retval=0
     1979else
     1980  $as_echo "$as_me: failed program was:" >&5
     1981sed 's/^/| /' conftest.$ac_ext >&5
     1982
     1983    ac_retval=1
     1984fi
     1985  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1986  as_fn_set_status $ac_retval
     1987
     1988} # ac_fn_cxx_try_cpp
     1989
     1990# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     1991# ---------------------------------------------------------
     1992# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1993# the include files in INCLUDES and setting the cache variable VAR
     1994# accordingly.
     1995ac_fn_cxx_check_header_mongrel ()
     1996{
     1997  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1998  if eval \${$3+:} false; then :
     1999  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2000$as_echo_n "checking for $2... " >&6; }
     2001if eval \${$3+:} false; then :
     2002  $as_echo_n "(cached) " >&6
     2003fi
     2004eval ac_res=\$$3
     2005               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2006$as_echo "$ac_res" >&6; }
     2007else
     2008  # Is the header compilable?
     2009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2010$as_echo_n "checking $2 usability... " >&6; }
     2011cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2012/* end confdefs.h.  */
     2013$4
     2014#include <$2>
     2015_ACEOF
     2016if ac_fn_cxx_try_compile "$LINENO"; then :
     2017  ac_header_compiler=yes
     2018else
     2019  ac_header_compiler=no
     2020fi
     2021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2023$as_echo "$ac_header_compiler" >&6; }
     2024
     2025# Is the header present?
     2026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2027$as_echo_n "checking $2 presence... " >&6; }
     2028cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2029/* end confdefs.h.  */
     2030#include <$2>
     2031_ACEOF
     2032if ac_fn_cxx_try_cpp "$LINENO"; then :
     2033  ac_header_preproc=yes
     2034else
     2035  ac_header_preproc=no
     2036fi
     2037rm -f conftest.err conftest.i conftest.$ac_ext
     2038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2039$as_echo "$ac_header_preproc" >&6; }
     2040
     2041# So?  What about this header?
     2042case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2043  yes:no: )
     2044    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2045$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2046    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2047$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2048    ;;
     2049  no:yes:* )
     2050    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2051$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2052    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2053$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2054    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2055$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2056    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2057$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2058    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2059$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2060( $as_echo "## ----------------------------------- ##
     2061## Report this to rappture@nanohub.org ##
     2062## ----------------------------------- ##"
     2063     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2064    ;;
     2065esac
     2066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2067$as_echo_n "checking for $2... " >&6; }
     2068if eval \${$3+:} false; then :
     2069  $as_echo_n "(cached) " >&6
     2070else
     2071  eval "$3=\$ac_header_compiler"
     2072fi
     2073eval ac_res=\$$3
     2074               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2075$as_echo "$ac_res" >&6; }
     2076fi
     2077  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2078
     2079} # ac_fn_cxx_check_header_mongrel
     2080
     2081# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2082# ---------------------------------------------------------
     2083# Tests whether HEADER exists and can be compiled using the include files in
     2084# INCLUDES, setting the cache variable VAR accordingly.
     2085ac_fn_cxx_check_header_compile ()
     2086{
     2087  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2089$as_echo_n "checking for $2... " >&6; }
     2090if eval \${$3+:} false; then :
     2091  $as_echo_n "(cached) " >&6
     2092else
     2093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2094/* end confdefs.h.  */
     2095$4
     2096#include <$2>
     2097_ACEOF
     2098if ac_fn_cxx_try_compile "$LINENO"; then :
     2099  eval "$3=yes"
     2100else
     2101  eval "$3=no"
     2102fi
     2103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2104fi
     2105eval ac_res=\$$3
     2106               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2107$as_echo "$ac_res" >&6; }
     2108  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2109
     2110} # ac_fn_cxx_check_header_compile
     2111
     2112# ac_fn_cxx_try_run LINENO
     2113# ------------------------
     2114# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     2115# that executables *can* be run.
     2116ac_fn_cxx_try_run ()
     2117{
     2118  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2119  if { { ac_try="$ac_link"
     2120case "(($ac_try" in
     2121  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2122  *) ac_try_echo=$ac_try;;
     2123esac
     2124eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2125$as_echo "$ac_try_echo"; } >&5
     2126  (eval "$ac_link") 2>&5
     2127  ac_status=$?
     2128  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2129  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     2130  { { case "(($ac_try" in
     2131  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2132  *) ac_try_echo=$ac_try;;
     2133esac
     2134eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2135$as_echo "$ac_try_echo"; } >&5
     2136  (eval "$ac_try") 2>&5
     2137  ac_status=$?
     2138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2139  test $ac_status = 0; }; }; then :
     2140  ac_retval=0
     2141else
     2142  $as_echo "$as_me: program exited with status $ac_status" >&5
     2143       $as_echo "$as_me: failed program was:" >&5
     2144sed 's/^/| /' conftest.$ac_ext >&5
     2145
     2146       ac_retval=$ac_status
     2147fi
     2148  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2149  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2150  as_fn_set_status $ac_retval
     2151
     2152} # ac_fn_cxx_try_run
     2153
     2154# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     2155# ----------------------------------------------
     2156# Tries to find the compile-time value of EXPR in a program that includes
     2157# INCLUDES, setting VAR accordingly. Returns whether the value could be
     2158# computed
     2159ac_fn_cxx_compute_int ()
     2160{
     2161  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2162  if test "$cross_compiling" = yes; then
     2163    # Depending upon the size, compute the lo and hi bounds.
     2164cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2165/* end confdefs.h.  */
     2166$4
     2167int
     2168main ()
     2169{
     2170static int test_array [1 - 2 * !(($2) >= 0)];
     2171test_array [0] = 0
     2172
     2173  ;
     2174  return 0;
     2175}
     2176_ACEOF
     2177if ac_fn_cxx_try_compile "$LINENO"; then :
     2178  ac_lo=0 ac_mid=0
     2179  while :; do
     2180    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2181/* end confdefs.h.  */
     2182$4
     2183int
     2184main ()
     2185{
     2186static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2187test_array [0] = 0
     2188
     2189  ;
     2190  return 0;
     2191}
     2192_ACEOF
     2193if ac_fn_cxx_try_compile "$LINENO"; then :
     2194  ac_hi=$ac_mid; break
     2195else
     2196  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     2197                        if test $ac_lo -le $ac_mid; then
     2198                          ac_lo= ac_hi=
     2199                          break
     2200                        fi
     2201                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     2202fi
     2203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2204  done
     2205else
     2206  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2207/* end confdefs.h.  */
     2208$4
     2209int
     2210main ()
     2211{
     2212static int test_array [1 - 2 * !(($2) < 0)];
     2213test_array [0] = 0
     2214
     2215  ;
     2216  return 0;
     2217}
     2218_ACEOF
     2219if ac_fn_cxx_try_compile "$LINENO"; then :
     2220  ac_hi=-1 ac_mid=-1
     2221  while :; do
     2222    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2223/* end confdefs.h.  */
     2224$4
     2225int
     2226main ()
     2227{
     2228static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     2229test_array [0] = 0
     2230
     2231  ;
     2232  return 0;
     2233}
     2234_ACEOF
     2235if ac_fn_cxx_try_compile "$LINENO"; then :
     2236  ac_lo=$ac_mid; break
     2237else
     2238  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     2239                        if test $ac_mid -le $ac_hi; then
     2240                          ac_lo= ac_hi=
     2241                          break
     2242                        fi
     2243                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     2244fi
     2245rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2246  done
     2247else
     2248  ac_lo= ac_hi=
     2249fi
     2250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2251fi
     2252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2253# Binary search between lo and hi bounds.
     2254while test "x$ac_lo" != "x$ac_hi"; do
     2255  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     2256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2257/* end confdefs.h.  */
     2258$4
     2259int
     2260main ()
     2261{
     2262static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2263test_array [0] = 0
     2264
     2265  ;
     2266  return 0;
     2267}
     2268_ACEOF
     2269if ac_fn_cxx_try_compile "$LINENO"; then :
     2270  ac_hi=$ac_mid
     2271else
     2272  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2273fi
     2274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2275done
     2276case $ac_lo in #((
     2277?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2278'') ac_retval=1 ;;
     2279esac
     2280  else
     2281    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2282/* end confdefs.h.  */
     2283$4
     2284static long int longval () { return $2; }
     2285static unsigned long int ulongval () { return $2; }
     2286#include <stdio.h>
     2287#include <stdlib.h>
     2288int
     2289main ()
     2290{
     2291
     2292  FILE *f = fopen ("conftest.val", "w");
     2293  if (! f)
     2294    return 1;
     2295  if (($2) < 0)
     2296    {
     2297      long int i = longval ();
     2298      if (i != ($2))
     2299        return 1;
     2300      fprintf (f, "%ld", i);
     2301    }
     2302  else
     2303    {
     2304      unsigned long int i = ulongval ();
     2305      if (i != ($2))
     2306        return 1;
     2307      fprintf (f, "%lu", i);
     2308    }
     2309  /* Do not output a trailing newline, as this causes \r\n confusion
     2310     on some platforms.  */
     2311  return ferror (f) || fclose (f) != 0;
     2312
     2313  ;
     2314  return 0;
     2315}
     2316_ACEOF
     2317if ac_fn_cxx_try_run "$LINENO"; then :
     2318  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2319else
     2320  ac_retval=1
     2321fi
     2322rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2323  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2324rm -f conftest.val
     2325
     2326  fi
     2327  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2328  as_fn_set_status $ac_retval
     2329
     2330} # ac_fn_cxx_compute_int
    14792331cat >config.log <<_ACEOF
    14802332This file contains any messages produced by compilers while
     
    14822334
    14832335It was created by Rappture $as_me 1.1, which was
    1484 generated by GNU Autoconf 2.61.  Invocation command line was
     2336generated by GNU Autoconf 2.68.  Invocation command line was
    14852337
    14862338  $ $0 $@
     
    15182370  IFS=$as_save_IFS
    15192371  test -z "$as_dir" && as_dir=.
    1520   echo "PATH: $as_dir"
    1521 done
     2372    $as_echo "PATH: $as_dir"
     2373  done
    15222374IFS=$as_save_IFS
    15232375
     
    15532405      continue ;;
    15542406    *\'*)
    1555       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2407      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    15562408    esac
    15572409    case $ac_pass in
    1558     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2410    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15592411    2)
    1560       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2412      as_fn_append ac_configure_args1 " '$ac_arg'"
    15612413      if test $ac_must_keep_next = true; then
    15622414        ac_must_keep_next=false # Got value, back to normal.
     
    15742426        esac
    15752427      fi
    1576       ac_configure_args="$ac_configure_args '$ac_arg'"
     2428      as_fn_append ac_configure_args " '$ac_arg'"
    15772429      ;;
    15782430    esac
    15792431  done
    15802432done
    1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1582 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2433{ ac_configure_args0=; unset ac_configure_args0;}
     2434{ ac_configure_args1=; unset ac_configure_args1;}
    15832435
    15842436# When interrupted or exit'd, cleanup temporary files, and complete
     
    15922444    echo
    15932445
    1594     cat <<\_ASBOX
    1595 ## ---------------- ##
     2446    $as_echo "## ---------------- ##
    15962447## Cache variables. ##
    1597 ## ---------------- ##
    1598 _ASBOX
     2448## ---------------- ##"
    15992449    echo
    16002450    # The following way of writing the cache mishandles newlines in values,
     
    16052455    *${as_nl}*)
    16062456      case $ac_var in #(
    1607       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    1608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
     2457      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2458$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16092459      esac
    16102460      case $ac_var in #(
    16112461      _ | IFS | as_nl) ;; #(
    1612       *) $as_unset $ac_var ;;
     2462      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2463      *) { eval $ac_var=; unset $ac_var;} ;;
    16132464      esac ;;
    16142465    esac
     
    16292480    echo
    16302481
    1631     cat <<\_ASBOX
    1632 ## ----------------- ##
     2482    $as_echo "## ----------------- ##
    16332483## Output variables. ##
    1634 ## ----------------- ##
    1635 _ASBOX
     2484## ----------------- ##"
    16362485    echo
    16372486    for ac_var in $ac_subst_vars
     
    16392488      eval ac_val=\$$ac_var
    16402489      case $ac_val in
    1641       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2490      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16422491      esac
    1643       echo "$ac_var='\''$ac_val'\''"
     2492      $as_echo "$ac_var='\''$ac_val'\''"
    16442493    done | sort
    16452494    echo
    16462495
    16472496    if test -n "$ac_subst_files"; then
    1648       cat <<\_ASBOX
    1649 ## ------------------- ##
     2497      $as_echo "## ------------------- ##
    16502498## File substitutions. ##
    1651 ## ------------------- ##
    1652 _ASBOX
     2499## ------------------- ##"
    16532500      echo
    16542501      for ac_var in $ac_subst_files
     
    16562503        eval ac_val=\$$ac_var
    16572504        case $ac_val in
    1658         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2505        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16592506        esac
    1660         echo "$ac_var='\''$ac_val'\''"
     2507        $as_echo "$ac_var='\''$ac_val'\''"
    16612508      done | sort
    16622509      echo
     
    16642511
    16652512    if test -s confdefs.h; then
    1666       cat <<\_ASBOX
    1667 ## ----------- ##
     2513      $as_echo "## ----------- ##
    16682514## confdefs.h. ##
    1669 ## ----------- ##
    1670 _ASBOX
     2515## ----------- ##"
    16712516      echo
    16722517      cat confdefs.h
     
    16742519    fi
    16752520    test "$ac_signal" != 0 &&
    1676       echo "$as_me: caught signal $ac_signal"
    1677     echo "$as_me: exit $exit_status"
     2521      $as_echo "$as_me: caught signal $ac_signal"
     2522    $as_echo "$as_me: exit $exit_status"
    16782523  } >&5
    16792524  rm -f core *.core core.conftest.* &&
     
    16822527' 0
    16832528for ac_signal in 1 2 13 15; do
    1684   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2529  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16852530done
    16862531ac_signal=0
     
    16892534rm -f -r conftest* confdefs.h
    16902535
     2536$as_echo "/* confdefs.h */" > confdefs.h
     2537
    16912538# Predefined preprocessor variables.
    16922539
     
    16952542_ACEOF
    16962543
    1697 
    16982544cat >>confdefs.h <<_ACEOF
    16992545#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17002546_ACEOF
    17012547
    1702 
    17032548cat >>confdefs.h <<_ACEOF
    17042549#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17052550_ACEOF
    17062551
    1707 
    17082552cat >>confdefs.h <<_ACEOF
    17092553#define PACKAGE_STRING "$PACKAGE_STRING"
    17102554_ACEOF
    17112555
    1712 
    17132556cat >>confdefs.h <<_ACEOF
    17142557#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    17152558_ACEOF
    17162559
     2560cat >>confdefs.h <<_ACEOF
     2561#define PACKAGE_URL "$PACKAGE_URL"
     2562_ACEOF
     2563
    17172564
    17182565# Let the site file select an alternate cache file if it wants to.
    1719 # Prefer explicitly selected file to automatically selected ones.
     2566# Prefer an explicitly selected file to automatically selected ones.
     2567ac_site_file1=NONE
     2568ac_site_file2=NONE
    17202569if test -n "$CONFIG_SITE"; then
    1721   set x "$CONFIG_SITE"
     2570  # We do not want a PATH search for config.site.
     2571  case $CONFIG_SITE in #((
     2572    -*)  ac_site_file1=./$CONFIG_SITE;;
     2573    */*) ac_site_file1=$CONFIG_SITE;;
     2574    *)   ac_site_file1=./$CONFIG_SITE;;
     2575  esac
    17222576elif test "x$prefix" != xNONE; then
    1723   set x "$prefix/share/config.site" "$prefix/etc/config.site"
    1724 else
    1725   set x "$ac_default_prefix/share/config.site" \
    1726         "$ac_default_prefix/etc/config.site"
    1727 fi
    1728 shift
    1729 for ac_site_file
     2577  ac_site_file1=$prefix/share/config.site
     2578  ac_site_file2=$prefix/etc/config.site
     2579else
     2580  ac_site_file1=$ac_default_prefix/share/config.site
     2581  ac_site_file2=$ac_default_prefix/etc/config.site
     2582fi
     2583for ac_site_file in "$ac_site_file1" "$ac_site_file2"
    17302584do
    1731   if test -r "$ac_site_file"; then
    1732     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1733 echo "$as_me: loading site script $ac_site_file" >&6;}
     2585  test "x$ac_site_file" = xNONE && continue
     2586  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2587    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2588$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17342589    sed 's/^/| /' "$ac_site_file" >&5
    1735     . "$ac_site_file"
     2590    . "$ac_site_file" \
     2591      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2593as_fn_error $? "failed to load site script $ac_site_file
     2594See \`config.log' for more details" "$LINENO" 5; }
    17362595  fi
    17372596done
    17382597
    17392598if test -r "$cache_file"; then
    1740   # Some versions of bash will fail to source /dev/null (special
    1741   # files actually), so we avoid doing that.
    1742   if test -f "$cache_file"; then
    1743     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1744 echo "$as_me: loading cache $cache_file" >&6;}
     2599  # Some versions of bash will fail to source /dev/null (special files
     2600  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2601  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2602    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2603$as_echo "$as_me: loading cache $cache_file" >&6;}
    17452604    case $cache_file in
    17462605      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    17492608  fi
    17502609else
    1751   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1752 echo "$as_me: creating cache $cache_file" >&6;}
     2610  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2611$as_echo "$as_me: creating cache $cache_file" >&6;}
    17532612  >$cache_file
    17542613fi
     
    17642623  case $ac_old_set,$ac_new_set in
    17652624    set,)
    1766       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1767 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2625      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2626$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17682627      ac_cache_corrupted=: ;;
    17692628    ,set)
    1770       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1771 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2629      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2630$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17722631      ac_cache_corrupted=: ;;
    17732632    ,);;
    17742633    *)
    17752634      if test "x$ac_old_val" != "x$ac_new_val"; then
    1776         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1777 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1778         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1779 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1780         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1781 echo "$as_me:   current value: $ac_new_val" >&2;}
    1782         ac_cache_corrupted=:
     2635        # differences in whitespace do not lead to failure.
     2636        ac_old_val_w=`echo x $ac_old_val`
     2637        ac_new_val_w=`echo x $ac_new_val`
     2638        if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2639          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2640$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2641          ac_cache_corrupted=:
     2642        else
     2643          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2644$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2645          eval $ac_var=\$ac_old_val
     2646        fi
     2647        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2648$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2649        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2650$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17832651      fi;;
    17842652  esac
     
    17862654  if test "$ac_new_set" = set; then
    17872655    case $ac_new_val in
    1788     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2656    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    17892657    *) ac_arg=$ac_var=$ac_new_val ;;
    17902658    esac
    17912659    case " $ac_configure_args " in
    17922660      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1793       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2661      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    17942662    esac
    17952663  fi
    17962664done
    17972665if $ac_cache_corrupted; then
    1798   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1799 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1800   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1801 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1802    { (exit 1); exit 1; }; }
    1803 fi
    1804 
    1805 
    1806 
    1807 
    1808 
    1809 
    1810 
    1811 
    1812 
    1813 
    1814 
    1815 
    1816 
    1817 
    1818 
    1819 
    1820 
    1821 
    1822 
    1823 
    1824 
    1825 
    1826 
    1827 
     2666  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2668  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2669$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2670  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2671fi
     2672## -------------------- ##
     2673## Main body of script. ##
     2674## -------------------- ##
    18282675
    18292676ac_ext=c
     
    18512698done
    18522699if test -z "$ac_aux_dir"; then
    1853   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1854 echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1855    { (exit 1); exit 1; }; }
     2700  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    18562701fi
    18572702
     
    18692714
    18702715with_tclsh=yes
     2716rp_with_tclsh="yes"
     2717rp_with_mkoctfile2="no"
     2718rp_with_mkoctfile3="no"
     2719rp_with_octave="yes"
     2720rp_with_vtk="yes"
     2721rp_with_matlab="yes"
     2722rp_with_perl="yes"
     2723rp_with_python="yes"
     2724rp_with_ruby="yes"
     2725rp_with_java="yes"
     2726with_install="yes"
    18712727
    18722728#------------------------------------------------------------------------
     
    18832739
    18842740# Check whether --with-install was given.
    1885 if test "${with_install+set}" = set; then
     2741if test "${with_install+set}" = set; then :
    18862742  withval=$with_install;
    18872743else
     
    19182774# OS/2's system install, which has a completely different semantic
    19192775# ./install, which can be erroneously created by make from ./install.sh.
    1920 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    1921 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
     2776# Reject install programs that cannot install multiple files.
     2777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     2778$as_echo_n "checking for a BSD-compatible install... " >&6; }
    19222779if test -z "$INSTALL"; then
    1923 if test "${ac_cv_path_install+set}" = set; then
    1924   echo $ECHO_N "(cached) $ECHO_C" >&6
     2780if ${ac_cv_path_install+:} false; then :
     2781  $as_echo_n "(cached) " >&6
    19252782else
    19262783  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    19292786  IFS=$as_save_IFS
    19302787  test -z "$as_dir" && as_dir=.
    1931   # Account for people who put trailing slashes in PATH elements.
    1932 case $as_dir/ in
    1933   ./ | .// | /cC/* | \
     2788    # Account for people who put trailing slashes in PATH elements.
     2789case $as_dir/ in #((
     2790  ./ | .// | /[cC]/* | \
    19342791  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    1935   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     2792  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    19362793  /usr/ucb/* ) ;;
    19372794  *)
     
    19512808            :
    19522809          else
    1953             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    1954             break 3
     2810            rm -rf conftest.one conftest.two conftest.dir
     2811            echo one > conftest.one
     2812            echo two > conftest.two
     2813            mkdir conftest.dir
     2814            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     2815              test -s conftest.one && test -s conftest.two &&
     2816              test -s conftest.dir/conftest.one &&
     2817              test -s conftest.dir/conftest.two
     2818            then
     2819              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2820              break 3
     2821            fi
    19552822          fi
    19562823        fi
     
    19592826    ;;
    19602827esac
    1961 done
     2828
     2829  done
    19622830IFS=$as_save_IFS
    19632831
     2832rm -rf conftest.one conftest.two conftest.dir
    19642833
    19652834fi
     
    19742843  fi
    19752844fi
    1976 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    1977 echo "${ECHO_T}$INSTALL" >&6; }
     2845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     2846$as_echo "$INSTALL" >&6; }
    19782847
    19792848# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    19852854test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    19862855
    1987 # Find a good install program.  We prefer a C program (faster),
    1988 # so one script is as good as another.  But avoid the broken or
    1989 # incompatible versions:
    1990 # SysV /etc/install, /usr/sbin/install
    1991 # SunOS /usr/etc/install
    1992 # IRIX /sbin/install
    1993 # AIX /bin/install
    1994 # AmigaOS /C/install, which installs bootblocks on floppy discs
    1995 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    1996 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
    1997 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    1998 # OS/2's system install, which has a completely different semantic
    1999 # ./install, which can be erroneously created by make from ./install.sh.
    2000 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2001 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    2002 if test -z "$INSTALL"; then
    2003 if test "${ac_cv_path_install+set}" = set; then
    2004   echo $ECHO_N "(cached) $ECHO_C" >&6
    2005 else
    2006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2007 for as_dir in $PATH
    2008 do
    2009   IFS=$as_save_IFS
    2010   test -z "$as_dir" && as_dir=.
    2011   # Account for people who put trailing slashes in PATH elements.
    2012 case $as_dir/ in
    2013   ./ | .// | /cC/* | \
    2014   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2015   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2016   /usr/ucb/* ) ;;
    2017   *)
    2018     # OSF1 and SCO ODT 3.0 have their own names for install.
    2019     # Don't use installbsd from OSF since it installs stuff as root
    2020     # by default.
    2021     for ac_prog in ginstall scoinst install; do
    2022       for ac_exec_ext in '' $ac_executable_extensions; do
    2023         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    2024           if test $ac_prog = install &&
    2025             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2026             # AIX install.  It has an incompatible calling convention.
    2027             :
    2028           elif test $ac_prog = install &&
    2029             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2030             # program-specific install script used by HP pwplus--don't use.
    2031             :
    2032           else
    2033             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2034             break 3
    2035           fi
    2036         fi
    2037       done
    2038     done
    2039     ;;
    2040 esac
    2041 done
    2042 IFS=$as_save_IFS
    2043 
    2044 
    2045 fi
    2046   if test "${ac_cv_path_install+set}" = set; then
    2047     INSTALL=$ac_cv_path_install
    2048   else
    2049     # As a last resort, use the slow shell script.  Don't cache a
    2050     # value for INSTALL within a source directory, because that will
    2051     # break other packages using the cache if that directory is
    2052     # removed, or if the value is a relative name.
    2053     INSTALL=$ac_install_sh
    2054   fi
    2055 fi
    2056 { echo "$as_me:$LINENO: result: $INSTALL" >&5
    2057 echo "${ECHO_T}$INSTALL" >&6; }
    2058 
    2059 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
    2060 # It thinks the first close brace ends the variable substitution.
    2061 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    2062 
    2063 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    2064 
    2065 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    20662856
    20672857if test -n "$ac_tool_prefix"; then
    20682858  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    20692859set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2072 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2073   echo $ECHO_N "(cached) $ECHO_C" >&6
     2860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2861$as_echo_n "checking for $ac_word... " >&6; }
     2862if ${ac_cv_prog_RANLIB+:} false; then :
     2863  $as_echo_n "(cached) " >&6
    20742864else
    20752865  if test -n "$RANLIB"; then
     
    20812871  IFS=$as_save_IFS
    20822872  test -z "$as_dir" && as_dir=.
    2083   for ac_exec_ext in '' $ac_executable_extensions; do
     2873    for ac_exec_ext in '' $ac_executable_extensions; do
    20842874  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20852875    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2086     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2876    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20872877    break 2
    20882878  fi
    20892879done
    2090 done
     2880  done
    20912881IFS=$as_save_IFS
    20922882
     
    20952885RANLIB=$ac_cv_prog_RANLIB
    20962886if test -n "$RANLIB"; then
    2097   { echo "$as_me:$LINENO: result: $RANLIB" >&5
    2098 echo "${ECHO_T}$RANLIB" >&6; }
    2099 else
    2100   { echo "$as_me:$LINENO: result: no" >&5
    2101 echo "${ECHO_T}no" >&6; }
     2887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     2888$as_echo "$RANLIB" >&6; }
     2889else
     2890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2891$as_echo "no" >&6; }
    21022892fi
    21032893
     
    21082898  # Extract the first word of "ranlib", so it can be a program name with args.
    21092899set dummy ranlib; ac_word=$2
    2110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2112 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2113   echo $ECHO_N "(cached) $ECHO_C" >&6
     2900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2901$as_echo_n "checking for $ac_word... " >&6; }
     2902if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     2903  $as_echo_n "(cached) " >&6
    21142904else
    21152905  if test -n "$ac_ct_RANLIB"; then
     
    21212911  IFS=$as_save_IFS
    21222912  test -z "$as_dir" && as_dir=.
    2123   for ac_exec_ext in '' $ac_executable_extensions; do
     2913    for ac_exec_ext in '' $ac_executable_extensions; do
    21242914  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21252915    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2126     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21272917    break 2
    21282918  fi
    21292919done
    2130 done
     2920  done
    21312921IFS=$as_save_IFS
    21322922
     
    21352925ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    21362926if test -n "$ac_ct_RANLIB"; then
    2137   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2138 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
    2139 else
    2140   { echo "$as_me:$LINENO: result: no" >&5
    2141 echo "${ECHO_T}no" >&6; }
     2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     2928$as_echo "$ac_ct_RANLIB" >&6; }
     2929else
     2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2931$as_echo "no" >&6; }
    21422932fi
    21432933
     
    21472937    case $cross_compiling:$ac_tool_warned in
    21482938yes:)
    2149 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2150 whose name does not start with the host triplet.  If you think this
    2151 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2152 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2153 whose name does not start with the host triplet.  If you think this
    2154 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     2939{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2940$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    21552941ac_tool_warned=yes ;;
    21562942esac
     
    21612947fi
    21622948
    2163 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2164 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
     2949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     2950$as_echo_n "checking whether ln -s works... " >&6; }
    21652951LN_S=$as_ln_s
    21662952if test "$LN_S" = "ln -s"; then
    2167   { echo "$as_me:$LINENO: result: yes" >&5
    2168 echo "${ECHO_T}yes" >&6; }
    2169 else
    2170   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2171 echo "${ECHO_T}no, using $LN_S" >&6; }
    2172 fi
    2173 
    2174 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    2175 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
     2953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2954$as_echo "yes" >&6; }
     2955else
     2956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     2957$as_echo "no, using $LN_S" >&6; }
     2958fi
     2959
     2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     2961$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    21762962if test -z "$MKDIR_P"; then
    2177   if test "${ac_cv_path_mkdir+set}" = set; then
    2178   echo $ECHO_N "(cached) $ECHO_C" >&6
     2963  if ${ac_cv_path_mkdir+:} false; then :
     2964  $as_echo_n "(cached) " >&6
    21792965else
    21802966  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    21832969  IFS=$as_save_IFS
    21842970  test -z "$as_dir" && as_dir=.
    2185   for ac_prog in mkdir gmkdir; do
     2971    for ac_prog in mkdir gmkdir; do
    21862972         for ac_exec_ext in '' $ac_executable_extensions; do
    21872973           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    21952981         done
    21962982       done
    2197 done
     2983  done
    21982984IFS=$as_save_IFS
    21992985
    22002986fi
    22012987
     2988  test -d ./--version && rmdir ./--version
    22022989  if test "${ac_cv_path_mkdir+set}" = set; then
    22032990    MKDIR_P="$ac_cv_path_mkdir -p"
     
    22072994    # break other packages using the cache if that directory is
    22082995    # removed, or if the value is a relative name.
    2209     test -d ./--version && rmdir ./--version
    22102996    MKDIR_P="$ac_install_sh -d"
    22112997  fi
    22122998fi
    2213 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    2214 echo "${ECHO_T}$MKDIR_P" >&6; }
    2215 
    2216 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    2217 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
    2218 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    2219 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
    2220   echo $ECHO_N "(cached) $ECHO_C" >&6
     2999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     3000$as_echo "$MKDIR_P" >&6; }
     3001
     3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3003$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     3004set x ${MAKE-make}
     3005ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3006if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     3007  $as_echo_n "(cached) " >&6
    22213008else
    22223009  cat >conftest.make <<\_ACEOF
     
    22253012        @echo '@@@%%%=$(MAKE)=@@@%%%'
    22263013_ACEOF
    2227 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     3014# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    22283015case `${MAKE-make} -f conftest.make 2>/dev/null` in
    22293016  *@@@%%%=?*=@@@%%%*)
     
    22353022fi
    22363023if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    2237   { echo "$as_me:$LINENO: result: yes" >&5
    2238 echo "${ECHO_T}yes" >&6; }
     3024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3025$as_echo "yes" >&6; }
    22393026  SET_MAKE=
    22403027else
    2241   { echo "$as_me:$LINENO: result: no" >&5
    2242 echo "${ECHO_T}no" >&6; }
     3028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3029$as_echo "no" >&6; }
    22433030  SET_MAKE="MAKE=${MAKE-make}"
    22443031fi
     
    22543041  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    22553042set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2258 if test "${ac_cv_prog_CC+set}" = set; then
    2259   echo $ECHO_N "(cached) $ECHO_C" >&6
     3043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3044$as_echo_n "checking for $ac_word... " >&6; }
     3045if ${ac_cv_prog_CC+:} false; then :
     3046  $as_echo_n "(cached) " >&6
    22603047else
    22613048  if test -n "$CC"; then
     
    22673054  IFS=$as_save_IFS
    22683055  test -z "$as_dir" && as_dir=.
    2269   for ac_exec_ext in '' $ac_executable_extensions; do
     3056    for ac_exec_ext in '' $ac_executable_extensions; do
    22703057  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22713058    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22733060    break 2
    22743061  fi
    22753062done
    2276 done
     3063  done
    22773064IFS=$as_save_IFS
    22783065
     
    22813068CC=$ac_cv_prog_CC
    22823069if test -n "$CC"; then
    2283   { echo "$as_me:$LINENO: result: $CC" >&5
    2284 echo "${ECHO_T}$CC" >&6; }
    2285 else
    2286   { echo "$as_me:$LINENO: result: no" >&5
    2287 echo "${ECHO_T}no" >&6; }
     3070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3071$as_echo "$CC" >&6; }
     3072else
     3073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3074$as_echo "no" >&6; }
    22883075fi
    22893076
     
    22943081  # Extract the first word of "gcc", so it can be a program name with args.
    22953082set dummy gcc; ac_word=$2
    2296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2298 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2299   echo $ECHO_N "(cached) $ECHO_C" >&6
     3083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3084$as_echo_n "checking for $ac_word... " >&6; }
     3085if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3086  $as_echo_n "(cached) " >&6
    23003087else
    23013088  if test -n "$ac_ct_CC"; then
     
    23073094  IFS=$as_save_IFS
    23083095  test -z "$as_dir" && as_dir=.
    2309   for ac_exec_ext in '' $ac_executable_extensions; do
     3096    for ac_exec_ext in '' $ac_executable_extensions; do
    23103097  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23113098    ac_cv_prog_ac_ct_CC="gcc"
    2312     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23133100    break 2
    23143101  fi
    23153102done
    2316 done
     3103  done
    23173104IFS=$as_save_IFS
    23183105
     
    23213108ac_ct_CC=$ac_cv_prog_ac_ct_CC
    23223109if test -n "$ac_ct_CC"; then
    2323   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2324 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2325 else
    2326   { echo "$as_me:$LINENO: result: no" >&5
    2327 echo "${ECHO_T}no" >&6; }
     3110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3111$as_echo "$ac_ct_CC" >&6; }
     3112else
     3113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3114$as_echo "no" >&6; }
    23283115fi
    23293116
     
    23333120    case $cross_compiling:$ac_tool_warned in
    23343121yes:)
    2335 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2336 whose name does not start with the host triplet.  If you think this
    2337 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2338 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2339 whose name does not start with the host triplet.  If you think this
    2340 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    23413124ac_tool_warned=yes ;;
    23423125esac
     
    23513134    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    23523135set dummy ${ac_tool_prefix}cc; ac_word=$2
    2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2355 if test "${ac_cv_prog_CC+set}" = set; then
    2356   echo $ECHO_N "(cached) $ECHO_C" >&6
     3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3137$as_echo_n "checking for $ac_word... " >&6; }
     3138if ${ac_cv_prog_CC+:} false; then :
     3139  $as_echo_n "(cached) " >&6
    23573140else
    23583141  if test -n "$CC"; then
     
    23643147  IFS=$as_save_IFS
    23653148  test -z "$as_dir" && as_dir=.
    2366   for ac_exec_ext in '' $ac_executable_extensions; do
     3149    for ac_exec_ext in '' $ac_executable_extensions; do
    23673150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    23683151    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2369     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    23703153    break 2
    23713154  fi
    23723155done
    2373 done
     3156  done
    23743157IFS=$as_save_IFS
    23753158
     
    23783161CC=$ac_cv_prog_CC
    23793162if test -n "$CC"; then
    2380   { echo "$as_me:$LINENO: result: $CC" >&5
    2381 echo "${ECHO_T}$CC" >&6; }
    2382 else
    2383   { echo "$as_me:$LINENO: result: no" >&5
    2384 echo "${ECHO_T}no" >&6; }
     3163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3164$as_echo "$CC" >&6; }
     3165else
     3166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3167$as_echo "no" >&6; }
    23853168fi
    23863169
     
    23913174  # Extract the first word of "cc", so it can be a program name with args.
    23923175set dummy cc; ac_word=$2
    2393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2395 if test "${ac_cv_prog_CC+set}" = set; then
    2396   echo $ECHO_N "(cached) $ECHO_C" >&6
     3176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3177$as_echo_n "checking for $ac_word... " >&6; }
     3178if ${ac_cv_prog_CC+:} false; then :
     3179  $as_echo_n "(cached) " >&6
    23973180else
    23983181  if test -n "$CC"; then
     
    24053188  IFS=$as_save_IFS
    24063189  test -z "$as_dir" && as_dir=.
    2407   for ac_exec_ext in '' $ac_executable_extensions; do
     3190    for ac_exec_ext in '' $ac_executable_extensions; do
    24083191  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24093192    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    24123195     fi
    24133196    ac_cv_prog_CC="cc"
    2414     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24153198    break 2
    24163199  fi
    24173200done
    2418 done
     3201  done
    24193202IFS=$as_save_IFS
    24203203
     
    24353218CC=$ac_cv_prog_CC
    24363219if test -n "$CC"; then
    2437   { echo "$as_me:$LINENO: result: $CC" >&5
    2438 echo "${ECHO_T}$CC" >&6; }
    2439 else
    2440   { echo "$as_me:$LINENO: result: no" >&5
    2441 echo "${ECHO_T}no" >&6; }
     3220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3221$as_echo "$CC" >&6; }
     3222else
     3223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3224$as_echo "no" >&6; }
    24423225fi
    24433226
     
    24503233    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    24513234set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2454 if test "${ac_cv_prog_CC+set}" = set; then
    2455   echo $ECHO_N "(cached) $ECHO_C" >&6
     3235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3236$as_echo_n "checking for $ac_word... " >&6; }
     3237if ${ac_cv_prog_CC+:} false; then :
     3238  $as_echo_n "(cached) " >&6
    24563239else
    24573240  if test -n "$CC"; then
     
    24633246  IFS=$as_save_IFS
    24643247  test -z "$as_dir" && as_dir=.
    2465   for ac_exec_ext in '' $ac_executable_extensions; do
     3248    for ac_exec_ext in '' $ac_executable_extensions; do
    24663249  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    24673250    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2468     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3251    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    24693252    break 2
    24703253  fi
    24713254done
    2472 done
     3255  done
    24733256IFS=$as_save_IFS
    24743257
     
    24773260CC=$ac_cv_prog_CC
    24783261if test -n "$CC"; then
    2479   { echo "$as_me:$LINENO: result: $CC" >&5
    2480 echo "${ECHO_T}$CC" >&6; }
    2481 else
    2482   { echo "$as_me:$LINENO: result: no" >&5
    2483 echo "${ECHO_T}no" >&6; }
     3262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3263$as_echo "$CC" >&6; }
     3264else
     3265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3266$as_echo "no" >&6; }
    24843267fi
    24853268
     
    24943277  # Extract the first word of "$ac_prog", so it can be a program name with args.
    24953278set dummy $ac_prog; ac_word=$2
    2496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    2497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    2498 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2499   echo $ECHO_N "(cached) $ECHO_C" >&6
     3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3280$as_echo_n "checking for $ac_word... " >&6; }
     3281if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3282  $as_echo_n "(cached) " >&6
    25003283else
    25013284  if test -n "$ac_ct_CC"; then
     
    25073290  IFS=$as_save_IFS
    25083291  test -z "$as_dir" && as_dir=.
    2509   for ac_exec_ext in '' $ac_executable_extensions; do
     3292    for ac_exec_ext in '' $ac_executable_extensions; do
    25103293  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25113294    ac_cv_prog_ac_ct_CC="$ac_prog"
    2512     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3295    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25133296    break 2
    25143297  fi
    25153298done
    2516 done
     3299  done
    25173300IFS=$as_save_IFS
    25183301
     
    25213304ac_ct_CC=$ac_cv_prog_ac_ct_CC
    25223305if test -n "$ac_ct_CC"; then
    2523   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2524 echo "${ECHO_T}$ac_ct_CC" >&6; }
    2525 else
    2526   { echo "$as_me:$LINENO: result: no" >&5
    2527 echo "${ECHO_T}no" >&6; }
     3306  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3307$as_echo "$ac_ct_CC" >&6; }
     3308else
     3309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3310$as_echo "no" >&6; }
    25283311fi
    25293312
     
    25373320    case $cross_compiling:$ac_tool_warned in
    25383321yes:)
    2539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    2540 whose name does not start with the host triplet.  If you think this
    2541 configuration is useful to you, please write to autoconf@gnu.org." >&5
    2542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    2543 whose name does not start with the host triplet.  If you think this
    2544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3322{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3323$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    25453324ac_tool_warned=yes ;;
    25463325esac
     
    25523331
    25533332
    2554 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2555 See \`config.log' for more details." >&5
    2556 echo "$as_me: error: no acceptable C compiler found in \$PATH
    2557 See \`config.log' for more details." >&2;}
    2558    { (exit 1); exit 1; }; }
     3333test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3335as_fn_error $? "no acceptable C compiler found in \$PATH
     3336See \`config.log' for more details" "$LINENO" 5; }
    25593337
    25603338# Provide some information about the compiler.
    2561 echo "$as_me:$LINENO: checking for C compiler version" >&5
    2562 ac_compiler=`set X $ac_compile; echo $2`
    2563 { (ac_try="$ac_compiler --version >&5"
     3339$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     3340set X $ac_compile
     3341ac_compiler=$2
     3342for ac_option in --version -v -V -qversion; do
     3343  { { ac_try="$ac_compiler $ac_option >&5"
    25643344case "(($ac_try" in
    25653345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25663346  *) ac_try_echo=$ac_try;;
    25673347esac
    2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2569   (eval "$ac_compiler --version >&5") 2>&5
     3348eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3349$as_echo "$ac_try_echo"; } >&5
     3350  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    25703351  ac_status=$?
    2571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2572   (exit $ac_status); }
    2573 { (ac_try="$ac_compiler -v >&5"
     3352  if test -s conftest.err; then
     3353    sed '10a\
     3354... rest of stderr output deleted ...
     3355         10q' conftest.err >conftest.er1
     3356    cat conftest.er1 >&5
     3357  fi
     3358  rm -f conftest.er1 conftest.err
     3359  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3360  test $ac_status = 0; }
     3361done
     3362
     3363cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3364/* end confdefs.h.  */
     3365
     3366int
     3367main ()
     3368{
     3369
     3370  ;
     3371  return 0;
     3372}
     3373_ACEOF
     3374ac_clean_files_save=$ac_clean_files
     3375ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     3376# Try to create an executable without -o first, disregard a.out.
     3377# It will help us diagnose broken compilers, and finding out an intuition
     3378# of exeext.
     3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3380$as_echo_n "checking whether the C compiler works... " >&6; }
     3381ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     3382
     3383# The possible output files:
     3384ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     3385
     3386ac_rmfiles=
     3387for ac_file in $ac_files
     3388do
     3389  case $ac_file in
     3390    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     3391    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     3392  esac
     3393done
     3394rm -f $ac_rmfiles
     3395
     3396if { { ac_try="$ac_link_default"
    25743397case "(($ac_try" in
    25753398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25763399  *) ac_try_echo=$ac_try;;
    25773400esac
    2578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2579   (eval "$ac_compiler -v >&5") 2>&5
    2580   ac_status=$?
    2581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2582   (exit $ac_status); }
    2583 { (ac_try="$ac_compiler -V >&5"
    2584 case "(($ac_try" in
    2585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2586   *) ac_try_echo=$ac_try;;
    2587 esac
    2588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2589   (eval "$ac_compiler -V >&5") 2>&5
    2590   ac_status=$?
    2591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2592   (exit $ac_status); }
    2593 
    2594 cat >conftest.$ac_ext <<_ACEOF
    2595 /* confdefs.h.  */
    2596 _ACEOF
    2597 cat confdefs.h >>conftest.$ac_ext
    2598 cat >>conftest.$ac_ext <<_ACEOF
    2599 /* end confdefs.h.  */
    2600 
    2601 int
    2602 main ()
    2603 {
    2604 
    2605   ;
    2606   return 0;
    2607 }
    2608 _ACEOF
    2609 ac_clean_files_save=$ac_clean_files
    2610 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    2611 # Try to create an executable without -o first, disregard a.out.
    2612 # It will help us diagnose broken compilers, and finding out an intuition
    2613 # of exeext.
    2614 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2615 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    2616 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2617 #
    2618 # List of possible output files, starting from the most likely.
    2619 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
    2620 # only as a last resort.  b.out is created by i960 compilers.
    2621 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
    2622 #
    2623 # The IRIX 6 linker writes into existing files which may not be
    2624 # executable, retaining their permissions.  Remove them first so a
    2625 # subsequent execution test works.
    2626 ac_rmfiles=
    2627 for ac_file in $ac_files
    2628 do
    2629   case $ac_file in
    2630     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    2631     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    2632   esac
    2633 done
    2634 rm -f $ac_rmfiles
    2635 
    2636 if { (ac_try="$ac_link_default"
    2637 case "(($ac_try" in
    2638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2639   *) ac_try_echo=$ac_try;;
    2640 esac
    2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3401eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3402$as_echo "$ac_try_echo"; } >&5
    26423403  (eval "$ac_link_default") 2>&5
    26433404  ac_status=$?
    2644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2645   (exit $ac_status); }; then
     3405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3406  test $ac_status = 0; }; then :
    26463407  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    26473408# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    26533414  test -f "$ac_file" || continue
    26543415  case $ac_file in
    2655     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
     3416    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    26563417        ;;
    26573418    [ab].out )
     
    26603421        break;;
    26613422    *.* )
    2662         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3423        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    26633424        then :; else
    26643425           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    26793440  ac_file=''
    26803441fi
    2681 
    2682 { echo "$as_me:$LINENO: result: $ac_file" >&5
    2683 echo "${ECHO_T}$ac_file" >&6; }
    2684 if test -z "$ac_file"; then
    2685   echo "$as_me: failed program was:" >&5
     3442if test -z "$ac_file"; then :
     3443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3444$as_echo "no" >&6; }
     3445$as_echo "$as_me: failed program was:" >&5
    26863446sed 's/^/| /' conftest.$ac_ext >&5
    26873447
    2688 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2689 See \`config.log' for more details." >&5
    2690 echo "$as_me: error: C compiler cannot create executables
    2691 See \`config.log' for more details." >&2;}
    2692    { (exit 77); exit 77; }; }
    2693 fi
    2694 
     3448{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3449$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3450as_fn_error 77 "C compiler cannot create executables
     3451See \`config.log' for more details" "$LINENO" 5; }
     3452else
     3453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3454$as_echo "yes" >&6; }
     3455fi
     3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3457$as_echo_n "checking for C compiler default output file name... " >&6; }
     3458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     3459$as_echo "$ac_file" >&6; }
    26953460ac_exeext=$ac_cv_exeext
    26963461
    2697 # Check that the compiler produces executables we can run.  If not, either
    2698 # the compiler is broken, or we cross compile.
    2699 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2700 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    2701 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2702 # If not cross compiling, check that we can run a simple program.
    2703 if test "$cross_compiling" != yes; then
    2704   if { ac_try='./$ac_file'
    2705   { (case "(($ac_try" in
    2706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2707   *) ac_try_echo=$ac_try;;
    2708 esac
    2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2710   (eval "$ac_try") 2>&5
    2711   ac_status=$?
    2712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2713   (exit $ac_status); }; }; then
    2714     cross_compiling=no
    2715   else
    2716     if test "$cross_compiling" = maybe; then
    2717         cross_compiling=yes
    2718     else
    2719         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2720 If you meant to cross compile, use \`--host'.
    2721 See \`config.log' for more details." >&5
    2722 echo "$as_me: error: cannot run C compiled programs.
    2723 If you meant to cross compile, use \`--host'.
    2724 See \`config.log' for more details." >&2;}
    2725    { (exit 1); exit 1; }; }
    2726     fi
    2727   fi
    2728 fi
    2729 { echo "$as_me:$LINENO: result: yes" >&5
    2730 echo "${ECHO_T}yes" >&6; }
    2731 
    2732 rm -f a.out a.exe conftest$ac_cv_exeext b.out
     3462rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    27333463ac_clean_files=$ac_clean_files_save
    2734 # Check that the compiler produces executables we can run.  If not, either
    2735 # the compiler is broken, or we cross compile.
    2736 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2737 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
    2738 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2739 echo "${ECHO_T}$cross_compiling" >&6; }
    2740 
    2741 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2742 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    2743 if { (ac_try="$ac_link"
     3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     3465$as_echo_n "checking for suffix of executables... " >&6; }
     3466if { { ac_try="$ac_link"
    27443467case "(($ac_try" in
    27453468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    27463469  *) ac_try_echo=$ac_try;;
    27473470esac
    2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3472$as_echo "$ac_try_echo"; } >&5
    27493473  (eval "$ac_link") 2>&5
    27503474  ac_status=$?
    2751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2752   (exit $ac_status); }; then
     3475  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3476  test $ac_status = 0; }; then :
    27533477  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    27543478# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    27583482  test -f "$ac_file" || continue
    27593483  case $ac_file in
    2760     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
     3484    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    27613485    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    27623486          break;;
     
    27653489done
    27663490else
    2767   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2768 See \`config.log' for more details." >&5
    2769 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2770 See \`config.log' for more details." >&2;}
    2771    { (exit 1); exit 1; }; }
    2772 fi
    2773 
    2774 rm -f conftest$ac_cv_exeext
    2775 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2776 echo "${ECHO_T}$ac_cv_exeext" >&6; }
     3491  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3493as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3494See \`config.log' for more details" "$LINENO" 5; }
     3495fi
     3496rm -f conftest conftest$ac_cv_exeext
     3497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3498$as_echo "$ac_cv_exeext" >&6; }
    27773499
    27783500rm -f conftest.$ac_ext
    27793501EXEEXT=$ac_cv_exeext
    27803502ac_exeext=$EXEEXT
    2781 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2782 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    2783 if test "${ac_cv_objext+set}" = set; then
    2784   echo $ECHO_N "(cached) $ECHO_C" >&6
    2785 else
    2786   cat >conftest.$ac_ext <<_ACEOF
    2787 /* confdefs.h.  */
    2788 _ACEOF
    2789 cat confdefs.h >>conftest.$ac_ext
    2790 cat >>conftest.$ac_ext <<_ACEOF
     3503cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27913504/* end confdefs.h.  */
    2792 
     3505#include <stdio.h>
    27933506int
    27943507main ()
    27953508{
     3509FILE *f = fopen ("conftest.out", "w");
     3510 return ferror (f) || fclose (f) != 0;
    27963511
    27973512  ;
     
    27993514}
    28003515_ACEOF
    2801 rm -f conftest.o conftest.obj
    2802 if { (ac_try="$ac_compile"
     3516ac_clean_files="$ac_clean_files conftest.out"
     3517# Check that the compiler produces executables we can run.  If not, either
     3518# the compiler is broken, or we cross compile.
     3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3520$as_echo_n "checking whether we are cross compiling... " >&6; }
     3521if test "$cross_compiling" != yes; then
     3522  { { ac_try="$ac_link"
    28033523case "(($ac_try" in
    28043524  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    28053525  *) ac_try_echo=$ac_try;;
    28063526esac
    2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3527eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3528$as_echo "$ac_try_echo"; } >&5
     3529  (eval "$ac_link") 2>&5
     3530  ac_status=$?
     3531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3532  test $ac_status = 0; }
     3533  if { ac_try='./conftest$ac_cv_exeext'
     3534  { { case "(($ac_try" in
     3535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3536  *) ac_try_echo=$ac_try;;
     3537esac
     3538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3539$as_echo "$ac_try_echo"; } >&5
     3540  (eval "$ac_try") 2>&5
     3541  ac_status=$?
     3542  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3543  test $ac_status = 0; }; }; then
     3544    cross_compiling=no
     3545  else
     3546    if test "$cross_compiling" = maybe; then
     3547        cross_compiling=yes
     3548    else
     3549        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3551as_fn_error $? "cannot run C compiled programs.
     3552If you meant to cross compile, use \`--host'.
     3553See \`config.log' for more details" "$LINENO" 5; }
     3554    fi
     3555  fi
     3556fi
     3557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3558$as_echo "$cross_compiling" >&6; }
     3559
     3560rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3561ac_clean_files=$ac_clean_files_save
     3562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3563$as_echo_n "checking for suffix of object files... " >&6; }
     3564if ${ac_cv_objext+:} false; then :
     3565  $as_echo_n "(cached) " >&6
     3566else
     3567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3568/* end confdefs.h.  */
     3569
     3570int
     3571main ()
     3572{
     3573
     3574  ;
     3575  return 0;
     3576}
     3577_ACEOF
     3578rm -f conftest.o conftest.obj
     3579if { { ac_try="$ac_compile"
     3580case "(($ac_try" in
     3581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3582  *) ac_try_echo=$ac_try;;
     3583esac
     3584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3585$as_echo "$ac_try_echo"; } >&5
    28083586  (eval "$ac_compile") 2>&5
    28093587  ac_status=$?
    2810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2811   (exit $ac_status); }; then
     3588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3589  test $ac_status = 0; }; then :
    28123590  for ac_file in conftest.o conftest.obj conftest.*; do
    28133591  test -f "$ac_file" || continue;
    28143592  case $ac_file in
    2815     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
     3593    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    28163594    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    28173595       break;;
     
    28193597done
    28203598else
    2821   echo "$as_me: failed program was:" >&5
     3599  $as_echo "$as_me: failed program was:" >&5
    28223600sed 's/^/| /' conftest.$ac_ext >&5
    28233601
    2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2825 See \`config.log' for more details." >&5
    2826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2827 See \`config.log' for more details." >&2;}
    2828    { (exit 1); exit 1; }; }
    2829 fi
    2830 
     3602{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3603$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3604as_fn_error $? "cannot compute suffix of object files: cannot compile
     3605See \`config.log' for more details" "$LINENO" 5; }
     3606fi
    28313607rm -f conftest.$ac_cv_objext conftest.$ac_ext
    28323608fi
    2833 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2834 echo "${ECHO_T}$ac_cv_objext" >&6; }
     3609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3610$as_echo "$ac_cv_objext" >&6; }
    28353611OBJEXT=$ac_cv_objext
    28363612ac_objext=$OBJEXT
    2837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    2839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2840   echo $ECHO_N "(cached) $ECHO_C" >&6
    2841 else
    2842   cat >conftest.$ac_ext <<_ACEOF
    2843 /* confdefs.h.  */
    2844 _ACEOF
    2845 cat confdefs.h >>conftest.$ac_ext
    2846 cat >>conftest.$ac_ext <<_ACEOF
     3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3614$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3615if ${ac_cv_c_compiler_gnu+:} false; then :
     3616  $as_echo_n "(cached) " >&6
     3617else
     3618  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28473619/* end confdefs.h.  */
    28483620
     
    28583630}
    28593631_ACEOF
    2860 rm -f conftest.$ac_objext
    2861 if { (ac_try="$ac_compile"
    2862 case "(($ac_try" in
    2863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2864   *) ac_try_echo=$ac_try;;
    2865 esac
    2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2867   (eval "$ac_compile") 2>conftest.er1
    2868   ac_status=$?
    2869   grep -v '^ *+' conftest.er1 >conftest.err
    2870   rm -f conftest.er1
    2871   cat conftest.err >&5
    2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2873   (exit $ac_status); } && {
    2874          test -z "$ac_c_werror_flag" ||
    2875          test ! -s conftest.err
    2876        } && test -s conftest.$ac_objext; then
     3632if ac_fn_c_try_compile "$LINENO"; then :
    28773633  ac_compiler_gnu=yes
    28783634else
    2879   echo "$as_me: failed program was:" >&5
    2880 sed 's/^/| /' conftest.$ac_ext >&5
    2881 
    2882         ac_compiler_gnu=no
    2883 fi
    2884 
     3635  ac_compiler_gnu=no
     3636fi
    28853637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    28863638ac_cv_c_compiler_gnu=$ac_compiler_gnu
    28873639
    28883640fi
    2889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    2891 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3642$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3643if test $ac_compiler_gnu = yes; then
     3644  GCC=yes
     3645else
     3646  GCC=
     3647fi
    28923648ac_test_CFLAGS=${CFLAGS+set}
    28933649ac_save_CFLAGS=$CFLAGS
    2894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    2896 if test "${ac_cv_prog_cc_g+set}" = set; then
    2897   echo $ECHO_N "(cached) $ECHO_C" >&6
     3650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3651$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3652if ${ac_cv_prog_cc_g+:} false; then :
     3653  $as_echo_n "(cached) " >&6
    28983654else
    28993655  ac_save_c_werror_flag=$ac_c_werror_flag
     
    29013657   ac_cv_prog_cc_g=no
    29023658   CFLAGS="-g"
    2903    cat >conftest.$ac_ext <<_ACEOF
    2904 /* confdefs.h.  */
    2905 _ACEOF
    2906 cat confdefs.h >>conftest.$ac_ext
    2907 cat >>conftest.$ac_ext <<_ACEOF
     3659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29083660/* end confdefs.h.  */
    29093661
     
    29163668}
    29173669_ACEOF
    2918 rm -f conftest.$ac_objext
    2919 if { (ac_try="$ac_compile"
    2920 case "(($ac_try" in
    2921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2922   *) ac_try_echo=$ac_try;;
    2923 esac
    2924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2925   (eval "$ac_compile") 2>conftest.er1
    2926   ac_status=$?
    2927   grep -v '^ *+' conftest.er1 >conftest.err
    2928   rm -f conftest.er1
    2929   cat conftest.err >&5
    2930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2931   (exit $ac_status); } && {
    2932          test -z "$ac_c_werror_flag" ||
    2933          test ! -s conftest.err
    2934        } && test -s conftest.$ac_objext; then
     3670if ac_fn_c_try_compile "$LINENO"; then :
    29353671  ac_cv_prog_cc_g=yes
    29363672else
    2937   echo "$as_me: failed program was:" >&5
    2938 sed 's/^/| /' conftest.$ac_ext >&5
    2939 
    2940         CFLAGS=""
    2941       cat >conftest.$ac_ext <<_ACEOF
    2942 /* confdefs.h.  */
    2943 _ACEOF
    2944 cat confdefs.h >>conftest.$ac_ext
    2945 cat >>conftest.$ac_ext <<_ACEOF
     3673  CFLAGS=""
     3674      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29463675/* end confdefs.h.  */
    29473676
     
    29543683}
    29553684_ACEOF
    2956 rm -f conftest.$ac_objext
    2957 if { (ac_try="$ac_compile"
    2958 case "(($ac_try" in
    2959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2960   *) ac_try_echo=$ac_try;;
    2961 esac
    2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    2963   (eval "$ac_compile") 2>conftest.er1
    2964   ac_status=$?
    2965   grep -v '^ *+' conftest.er1 >conftest.err
    2966   rm -f conftest.er1
    2967   cat conftest.err >&5
    2968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2969   (exit $ac_status); } && {
    2970          test -z "$ac_c_werror_flag" ||
    2971          test ! -s conftest.err
    2972        } && test -s conftest.$ac_objext; then
    2973   :
    2974 else
    2975   echo "$as_me: failed program was:" >&5
    2976 sed 's/^/| /' conftest.$ac_ext >&5
    2977 
    2978         ac_c_werror_flag=$ac_save_c_werror_flag
     3685if ac_fn_c_try_compile "$LINENO"; then :
     3686
     3687else
     3688  ac_c_werror_flag=$ac_save_c_werror_flag
    29793689         CFLAGS="-g"
    2980          cat >conftest.$ac_ext <<_ACEOF
    2981 /* confdefs.h.  */
    2982 _ACEOF
    2983 cat confdefs.h >>conftest.$ac_ext
    2984 cat >>conftest.$ac_ext <<_ACEOF
     3690         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29853691/* end confdefs.h.  */
    29863692
     
    29933699}
    29943700_ACEOF
    2995 rm -f conftest.$ac_objext
    2996 if { (ac_try="$ac_compile"
    2997 case "(($ac_try" in
    2998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2999   *) ac_try_echo=$ac_try;;
    3000 esac
    3001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3002   (eval "$ac_compile") 2>conftest.er1
    3003   ac_status=$?
    3004   grep -v '^ *+' conftest.er1 >conftest.err
    3005   rm -f conftest.er1
    3006   cat conftest.err >&5
    3007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3008   (exit $ac_status); } && {
    3009          test -z "$ac_c_werror_flag" ||
    3010          test ! -s conftest.err
    3011        } && test -s conftest.$ac_objext; then
     3701if ac_fn_c_try_compile "$LINENO"; then :
    30123702  ac_cv_prog_cc_g=yes
    3013 else
    3014   echo "$as_me: failed program was:" >&5
    3015 sed 's/^/| /' conftest.$ac_ext >&5
    3016 
    3017 
    3018 fi
    3019 
     3703fi
    30203704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30213705fi
    3022 
    30233706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30243707fi
    3025 
    30263708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    30273709   ac_c_werror_flag=$ac_save_c_werror_flag
    30283710fi
    3029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    3030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
     3711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3712$as_echo "$ac_cv_prog_cc_g" >&6; }
    30313713if test "$ac_test_CFLAGS" = set; then
    30323714  CFLAGS=$ac_save_CFLAGS
     
    30443726  fi
    30453727fi
    3046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    3047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    3048 if test "${ac_cv_prog_cc_c89+set}" = set; then
    3049   echo $ECHO_N "(cached) $ECHO_C" >&6
     3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3729$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3730if ${ac_cv_prog_cc_c89+:} false; then :
     3731  $as_echo_n "(cached) " >&6
    30503732else
    30513733  ac_cv_prog_cc_c89=no
    30523734ac_save_CC=$CC
    3053 cat >conftest.$ac_ext <<_ACEOF
    3054 /* confdefs.h.  */
    3055 _ACEOF
    3056 cat confdefs.h >>conftest.$ac_ext
    3057 cat >>conftest.$ac_ext <<_ACEOF
     3735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30583736/* end confdefs.h.  */
    30593737#include <stdarg.h>
     
    31123790do
    31133791  CC="$ac_save_CC $ac_arg"
    3114   rm -f conftest.$ac_objext
    3115 if { (ac_try="$ac_compile"
    3116 case "(($ac_try" in
    3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3118   *) ac_try_echo=$ac_try;;
    3119 esac
    3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3121   (eval "$ac_compile") 2>conftest.er1
    3122   ac_status=$?
    3123   grep -v '^ *+' conftest.er1 >conftest.err
    3124   rm -f conftest.er1
    3125   cat conftest.err >&5
    3126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3127   (exit $ac_status); } && {
    3128          test -z "$ac_c_werror_flag" ||
    3129          test ! -s conftest.err
    3130        } && test -s conftest.$ac_objext; then
     3792  if ac_fn_c_try_compile "$LINENO"; then :
    31313793  ac_cv_prog_cc_c89=$ac_arg
    3132 else
    3133   echo "$as_me: failed program was:" >&5
    3134 sed 's/^/| /' conftest.$ac_ext >&5
    3135 
    3136 
    3137 fi
    3138 
     3794fi
    31393795rm -f core conftest.err conftest.$ac_objext
    31403796  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    31473803case "x$ac_cv_prog_cc_c89" in
    31483804  x)
    3149     { echo "$as_me:$LINENO: result: none needed" >&5
    3150 echo "${ECHO_T}none needed" >&6; } ;;
     3805    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3806$as_echo "none needed" >&6; } ;;
    31513807  xno)
    3152     { echo "$as_me:$LINENO: result: unsupported" >&5
    3153 echo "${ECHO_T}unsupported" >&6; } ;;
     3808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3809$as_echo "unsupported" >&6; } ;;
    31543810  *)
    31553811    CC="$CC $ac_cv_prog_cc_c89"
    3156     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    3157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     3812    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3813$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    31583814esac
    3159 
     3815if test "x$ac_cv_prog_cc_c89" != xno; then :
     3816
     3817fi
    31603818
    31613819ac_ext=c
     
    31793837    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    31803838set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3183 if test "${ac_cv_prog_CXX+set}" = set; then
    3184   echo $ECHO_N "(cached) $ECHO_C" >&6
     3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3840$as_echo_n "checking for $ac_word... " >&6; }
     3841if ${ac_cv_prog_CXX+:} false; then :
     3842  $as_echo_n "(cached) " >&6
    31853843else
    31863844  if test -n "$CXX"; then
     
    31923850  IFS=$as_save_IFS
    31933851  test -z "$as_dir" && as_dir=.
    3194   for ac_exec_ext in '' $ac_executable_extensions; do
     3852    for ac_exec_ext in '' $ac_executable_extensions; do
    31953853  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    31963854    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    3197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    31983856    break 2
    31993857  fi
    32003858done
    3201 done
     3859  done
    32023860IFS=$as_save_IFS
    32033861
     
    32063864CXX=$ac_cv_prog_CXX
    32073865if test -n "$CXX"; then
    3208   { echo "$as_me:$LINENO: result: $CXX" >&5
    3209 echo "${ECHO_T}$CXX" >&6; }
    3210 else
    3211   { echo "$as_me:$LINENO: result: no" >&5
    3212 echo "${ECHO_T}no" >&6; }
     3866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3867$as_echo "$CXX" >&6; }
     3868else
     3869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3870$as_echo "no" >&6; }
    32133871fi
    32143872
     
    32233881  # Extract the first word of "$ac_prog", so it can be a program name with args.
    32243882set dummy $ac_prog; ac_word=$2
    3225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3227 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    3228   echo $ECHO_N "(cached) $ECHO_C" >&6
     3883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3884$as_echo_n "checking for $ac_word... " >&6; }
     3885if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3886  $as_echo_n "(cached) " >&6
    32293887else
    32303888  if test -n "$ac_ct_CXX"; then
     
    32363894  IFS=$as_save_IFS
    32373895  test -z "$as_dir" && as_dir=.
    3238   for ac_exec_ext in '' $ac_executable_extensions; do
     3896    for ac_exec_ext in '' $ac_executable_extensions; do
    32393897  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32403898    ac_cv_prog_ac_ct_CXX="$ac_prog"
    3241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3899    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    32423900    break 2
    32433901  fi
    32443902done
    3245 done
     3903  done
    32463904IFS=$as_save_IFS
    32473905
     
    32503908ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    32513909if test -n "$ac_ct_CXX"; then
    3252   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    3253 echo "${ECHO_T}$ac_ct_CXX" >&6; }
    3254 else
    3255   { echo "$as_me:$LINENO: result: no" >&5
    3256 echo "${ECHO_T}no" >&6; }
     3910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3911$as_echo "$ac_ct_CXX" >&6; }
     3912else
     3913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3914$as_echo "no" >&6; }
    32573915fi
    32583916
     
    32663924    case $cross_compiling:$ac_tool_warned in
    32673925yes:)
    3268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3269 whose name does not start with the host triplet.  If you think this
    3270 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3272 whose name does not start with the host triplet.  If you think this
    3273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     3926{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3927$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    32743928ac_tool_warned=yes ;;
    32753929esac
     
    32813935fi
    32823936# Provide some information about the compiler.
    3283 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    3284 ac_compiler=`set X $ac_compile; echo $2`
    3285 { (ac_try="$ac_compiler --version >&5"
     3937$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3938set X $ac_compile
     3939ac_compiler=$2
     3940for ac_option in --version -v -V -qversion; do
     3941  { { ac_try="$ac_compiler $ac_option >&5"
    32863942case "(($ac_try" in
    32873943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32883944  *) ac_try_echo=$ac_try;;
    32893945esac
    3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3291   (eval "$ac_compiler --version >&5") 2>&5
     3946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3947$as_echo "$ac_try_echo"; } >&5
     3948  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    32923949  ac_status=$?
    3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3294   (exit $ac_status); }
    3295 { (ac_try="$ac_compiler -v >&5"
    3296 case "(($ac_try" in
    3297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3298   *) ac_try_echo=$ac_try;;
    3299 esac
    3300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3301   (eval "$ac_compiler -v >&5") 2>&5
    3302   ac_status=$?
    3303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3304   (exit $ac_status); }
    3305 { (ac_try="$ac_compiler -V >&5"
    3306 case "(($ac_try" in
    3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3308   *) ac_try_echo=$ac_try;;
    3309 esac
    3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3311   (eval "$ac_compiler -V >&5") 2>&5
    3312   ac_status=$?
    3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3314   (exit $ac_status); }
    3315 
    3316 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    3317 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    3318 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    3319   echo $ECHO_N "(cached) $ECHO_C" >&6
    3320 else
    3321   cat >conftest.$ac_ext <<_ACEOF
    3322 /* confdefs.h.  */
    3323 _ACEOF
    3324 cat confdefs.h >>conftest.$ac_ext
    3325 cat >>conftest.$ac_ext <<_ACEOF
     3950  if test -s conftest.err; then
     3951    sed '10a\
     3952... rest of stderr output deleted ...
     3953         10q' conftest.err >conftest.er1
     3954    cat conftest.er1 >&5
     3955  fi
     3956  rm -f conftest.er1 conftest.err
     3957  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3958  test $ac_status = 0; }
     3959done
     3960
     3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3962$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3963if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3964  $as_echo_n "(cached) " >&6
     3965else
     3966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33263967/* end confdefs.h.  */
    33273968
     
    33373978}
    33383979_ACEOF
    3339 rm -f conftest.$ac_objext
    3340 if { (ac_try="$ac_compile"
    3341 case "(($ac_try" in
    3342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3343   *) ac_try_echo=$ac_try;;
    3344 esac
    3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3346   (eval "$ac_compile") 2>conftest.er1
    3347   ac_status=$?
    3348   grep -v '^ *+' conftest.er1 >conftest.err
    3349   rm -f conftest.er1
    3350   cat conftest.err >&5
    3351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3352   (exit $ac_status); } && {
    3353          test -z "$ac_cxx_werror_flag" ||
    3354          test ! -s conftest.err
    3355        } && test -s conftest.$ac_objext; then
     3980if ac_fn_cxx_try_compile "$LINENO"; then :
    33563981  ac_compiler_gnu=yes
    33573982else
    3358   echo "$as_me: failed program was:" >&5
    3359 sed 's/^/| /' conftest.$ac_ext >&5
    3360 
    3361         ac_compiler_gnu=no
    3362 fi
    3363 
     3983  ac_compiler_gnu=no
     3984fi
    33643985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33653986ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    33663987
    33673988fi
    3368 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    3369 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
    3370 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3990$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3991if test $ac_compiler_gnu = yes; then
     3992  GXX=yes
     3993else
     3994  GXX=
     3995fi
    33713996ac_test_CXXFLAGS=${CXXFLAGS+set}
    33723997ac_save_CXXFLAGS=$CXXFLAGS
    3373 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    3374 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    3375 if test "${ac_cv_prog_cxx_g+set}" = set; then
    3376   echo $ECHO_N "(cached) $ECHO_C" >&6
     3998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3999$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     4000if ${ac_cv_prog_cxx_g+:} false; then :
     4001  $as_echo_n "(cached) " >&6
    33774002else
    33784003  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    33804005   ac_cv_prog_cxx_g=no
    33814006   CXXFLAGS="-g"
    3382    cat >conftest.$ac_ext <<_ACEOF
    3383 /* confdefs.h.  */
    3384 _ACEOF
    3385 cat confdefs.h >>conftest.$ac_ext
    3386 cat >>conftest.$ac_ext <<_ACEOF
     4007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33874008/* end confdefs.h.  */
    33884009
     
    33954016}
    33964017_ACEOF
    3397 rm -f conftest.$ac_objext
    3398 if { (ac_try="$ac_compile"
    3399 case "(($ac_try" in
    3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3401   *) ac_try_echo=$ac_try;;
    3402 esac
    3403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3404   (eval "$ac_compile") 2>conftest.er1
    3405   ac_status=$?
    3406   grep -v '^ *+' conftest.er1 >conftest.err
    3407   rm -f conftest.er1
    3408   cat conftest.err >&5
    3409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3410   (exit $ac_status); } && {
    3411          test -z "$ac_cxx_werror_flag" ||
    3412          test ! -s conftest.err
    3413        } && test -s conftest.$ac_objext; then
     4018if ac_fn_cxx_try_compile "$LINENO"; then :
    34144019  ac_cv_prog_cxx_g=yes
    34154020else
    3416   echo "$as_me: failed program was:" >&5
    3417 sed 's/^/| /' conftest.$ac_ext >&5
    3418 
    3419         CXXFLAGS=""
    3420       cat >conftest.$ac_ext <<_ACEOF
    3421 /* confdefs.h.  */
    3422 _ACEOF
    3423 cat confdefs.h >>conftest.$ac_ext
    3424 cat >>conftest.$ac_ext <<_ACEOF
     4021  CXXFLAGS=""
     4022      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34254023/* end confdefs.h.  */
    34264024
     
    34334031}
    34344032_ACEOF
    3435 rm -f conftest.$ac_objext
    3436 if { (ac_try="$ac_compile"
    3437 case "(($ac_try" in
    3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3439   *) ac_try_echo=$ac_try;;
    3440 esac
    3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3442   (eval "$ac_compile") 2>conftest.er1
    3443   ac_status=$?
    3444   grep -v '^ *+' conftest.er1 >conftest.err
    3445   rm -f conftest.er1
    3446   cat conftest.err >&5
    3447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3448   (exit $ac_status); } && {
    3449          test -z "$ac_cxx_werror_flag" ||
    3450          test ! -s conftest.err
    3451        } && test -s conftest.$ac_objext; then
    3452   :
    3453 else
    3454   echo "$as_me: failed program was:" >&5
    3455 sed 's/^/| /' conftest.$ac_ext >&5
    3456 
    3457         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     4033if ac_fn_cxx_try_compile "$LINENO"; then :
     4034
     4035else
     4036  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    34584037         CXXFLAGS="-g"
    3459          cat >conftest.$ac_ext <<_ACEOF
    3460 /* confdefs.h.  */
    3461 _ACEOF
    3462 cat confdefs.h >>conftest.$ac_ext
    3463 cat >>conftest.$ac_ext <<_ACEOF
     4038         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34644039/* end confdefs.h.  */
    34654040
     
    34724047}
    34734048_ACEOF
    3474 rm -f conftest.$ac_objext
    3475 if { (ac_try="$ac_compile"
    3476 case "(($ac_try" in
    3477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3478   *) ac_try_echo=$ac_try;;
    3479 esac
    3480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3481   (eval "$ac_compile") 2>conftest.er1
    3482   ac_status=$?
    3483   grep -v '^ *+' conftest.er1 >conftest.err
    3484   rm -f conftest.er1
    3485   cat conftest.err >&5
    3486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3487   (exit $ac_status); } && {
    3488          test -z "$ac_cxx_werror_flag" ||
    3489          test ! -s conftest.err
    3490        } && test -s conftest.$ac_objext; then
     4049if ac_fn_cxx_try_compile "$LINENO"; then :
    34914050  ac_cv_prog_cxx_g=yes
    3492 else
    3493   echo "$as_me: failed program was:" >&5
    3494 sed 's/^/| /' conftest.$ac_ext >&5
    3495 
    3496 
    3497 fi
    3498 
     4051fi
    34994052rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35004053fi
    3501 
    35024054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35034055fi
    3504 
    35054056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35064057   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    35074058fi
    3508 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    3509 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
     4059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     4060$as_echo "$ac_cv_prog_cxx_g" >&6; }
    35104061if test "$ac_test_CXXFLAGS" = set; then
    35114062  CXXFLAGS=$ac_save_CXXFLAGS
     
    35394090    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    35404091set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3543 if test "${ac_cv_prog_F77+set}" = set; then
    3544   echo $ECHO_N "(cached) $ECHO_C" >&6
     4092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4093$as_echo_n "checking for $ac_word... " >&6; }
     4094if ${ac_cv_prog_F77+:} false; then :
     4095  $as_echo_n "(cached) " >&6
    35454096else
    35464097  if test -n "$F77"; then
     
    35524103  IFS=$as_save_IFS
    35534104  test -z "$as_dir" && as_dir=.
    3554   for ac_exec_ext in '' $ac_executable_extensions; do
     4105    for ac_exec_ext in '' $ac_executable_extensions; do
    35554106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35564107    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    3557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35584109    break 2
    35594110  fi
    35604111done
    3561 done
     4112  done
    35624113IFS=$as_save_IFS
    35634114
     
    35664117F77=$ac_cv_prog_F77
    35674118if test -n "$F77"; then
    3568   { echo "$as_me:$LINENO: result: $F77" >&5
    3569 echo "${ECHO_T}$F77" >&6; }
    3570 else
    3571   { echo "$as_me:$LINENO: result: no" >&5
    3572 echo "${ECHO_T}no" >&6; }
     4119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
     4120$as_echo "$F77" >&6; }
     4121else
     4122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4123$as_echo "no" >&6; }
    35734124fi
    35744125
     
    35834134  # Extract the first word of "$ac_prog", so it can be a program name with args.
    35844135set dummy $ac_prog; ac_word=$2
    3585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
    3586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    3587 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
    3588   echo $ECHO_N "(cached) $ECHO_C" >&6
     4136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4137$as_echo_n "checking for $ac_word... " >&6; }
     4138if ${ac_cv_prog_ac_ct_F77+:} false; then :
     4139  $as_echo_n "(cached) " >&6
    35894140else
    35904141  if test -n "$ac_ct_F77"; then
     
    35964147  IFS=$as_save_IFS
    35974148  test -z "$as_dir" && as_dir=.
    3598   for ac_exec_ext in '' $ac_executable_extensions; do
     4149    for ac_exec_ext in '' $ac_executable_extensions; do
    35994150  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    36004151    ac_cv_prog_ac_ct_F77="$ac_prog"
    3601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36024153    break 2
    36034154  fi
    36044155done
    3605 done
     4156  done
    36064157IFS=$as_save_IFS
    36074158
     
    36104161ac_ct_F77=$ac_cv_prog_ac_ct_F77
    36114162if test -n "$ac_ct_F77"; then
    3612   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
    3613 echo "${ECHO_T}$ac_ct_F77" >&6; }
    3614 else
    3615   { echo "$as_me:$LINENO: result: no" >&5
    3616 echo "${ECHO_T}no" >&6; }
     4163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
     4164$as_echo "$ac_ct_F77" >&6; }
     4165else
     4166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4167$as_echo "no" >&6; }
    36174168fi
    36184169
     
    36264177    case $cross_compiling:$ac_tool_warned in
    36274178yes:)
    3628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
    3629 whose name does not start with the host triplet.  If you think this
    3630 configuration is useful to you, please write to autoconf@gnu.org." >&5
    3631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
    3632 whose name does not start with the host triplet.  If you think this
    3633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     4179{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4180$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    36344181ac_tool_warned=yes ;;
    36354182esac
     
    36404187
    36414188# Provide some information about the compiler.
    3642 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
    3643 ac_compiler=`set X $ac_compile; echo $2`
    3644 { (ac_try="$ac_compiler --version >&5"
     4189$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
     4190set X $ac_compile
     4191ac_compiler=$2
     4192for ac_option in --version -v -V -qversion; do
     4193  { { ac_try="$ac_compiler $ac_option >&5"
    36454194case "(($ac_try" in
    36464195  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    36474196  *) ac_try_echo=$ac_try;;
    36484197esac
    3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3650   (eval "$ac_compiler --version >&5") 2>&5
     4198eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     4199$as_echo "$ac_try_echo"; } >&5
     4200  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    36514201  ac_status=$?
    3652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3653   (exit $ac_status); }
    3654 { (ac_try="$ac_compiler -v >&5"
    3655 case "(($ac_try" in
    3656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3657   *) ac_try_echo=$ac_try;;
    3658 esac
    3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3660   (eval "$ac_compiler -v >&5") 2>&5
    3661   ac_status=$?
    3662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3663   (exit $ac_status); }
    3664 { (ac_try="$ac_compiler -V >&5"
    3665 case "(($ac_try" in
    3666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3667   *) ac_try_echo=$ac_try;;
    3668 esac
    3669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3670   (eval "$ac_compiler -V >&5") 2>&5
    3671   ac_status=$?
    3672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3673   (exit $ac_status); }
     4202  if test -s conftest.err; then
     4203    sed '10a\
     4204... rest of stderr output deleted ...
     4205         10q' conftest.err >conftest.er1
     4206    cat conftest.er1 >&5
     4207  fi
     4208  rm -f conftest.er1 conftest.err
     4209  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     4210  test $ac_status = 0; }
     4211done
    36744212rm -f a.out
    36754213
     
    36784216ac_save_ext=$ac_ext
    36794217ac_ext=F
    3680 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
    3681 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
    3682 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
    3683   echo $ECHO_N "(cached) $ECHO_C" >&6
    3684 else
    3685   cat >conftest.$ac_ext <<_ACEOF
     4218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
     4219$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
     4220if ${ac_cv_f77_compiler_gnu+:} false; then :
     4221  $as_echo_n "(cached) " >&6
     4222else
     4223  cat > conftest.$ac_ext <<_ACEOF
    36864224      program main
    36874225#ifndef __GNUC__
     
    36914229      end
    36924230_ACEOF
    3693 rm -f conftest.$ac_objext
    3694 if { (ac_try="$ac_compile"
    3695 case "(($ac_try" in
    3696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3697   *) ac_try_echo=$ac_try;;
    3698 esac
    3699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3700   (eval "$ac_compile") 2>conftest.er1
    3701   ac_status=$?
    3702   grep -v '^ *+' conftest.er1 >conftest.err
    3703   rm -f conftest.er1
    3704   cat conftest.err >&5
    3705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3706   (exit $ac_status); } && {
    3707          test -z "$ac_f77_werror_flag" ||
    3708          test ! -s conftest.err
    3709        } && test -s conftest.$ac_objext; then
     4231if ac_fn_f77_try_compile "$LINENO"; then :
    37104232  ac_compiler_gnu=yes
    37114233else
    3712   echo "$as_me: failed program was:" >&5
    3713 sed 's/^/| /' conftest.$ac_ext >&5
    3714 
    3715         ac_compiler_gnu=no
    3716 fi
    3717 
     4234  ac_compiler_gnu=no
     4235fi
    37184236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37194237ac_cv_f77_compiler_gnu=$ac_compiler_gnu
    37204238
    37214239fi
    3722 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
    3723 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
     4240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
     4241$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
    37244242ac_ext=$ac_save_ext
    37254243ac_test_FFLAGS=${FFLAGS+set}
    37264244ac_save_FFLAGS=$FFLAGS
    37274245FFLAGS=
    3728 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
    3729 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
    3730 if test "${ac_cv_prog_f77_g+set}" = set; then
    3731   echo $ECHO_N "(cached) $ECHO_C" >&6
     4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
     4247$as_echo_n "checking whether $F77 accepts -g... " >&6; }
     4248if ${ac_cv_prog_f77_g+:} false; then :
     4249  $as_echo_n "(cached) " >&6
    37324250else
    37334251  FFLAGS=-g
    3734 cat >conftest.$ac_ext <<_ACEOF
     4252cat > conftest.$ac_ext <<_ACEOF
    37354253      program main
    37364254
    37374255      end
    37384256_ACEOF
    3739 rm -f conftest.$ac_objext
    3740 if { (ac_try="$ac_compile"
    3741 case "(($ac_try" in
    3742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3743   *) ac_try_echo=$ac_try;;
    3744 esac
    3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3746   (eval "$ac_compile") 2>conftest.er1
    3747   ac_status=$?
    3748   grep -v '^ *+' conftest.er1 >conftest.err
    3749   rm -f conftest.er1
    3750   cat conftest.err >&5
    3751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3752   (exit $ac_status); } && {
    3753          test -z "$ac_f77_werror_flag" ||
    3754          test ! -s conftest.err
    3755        } && test -s conftest.$ac_objext; then
     4257if ac_fn_f77_try_compile "$LINENO"; then :
    37564258  ac_cv_prog_f77_g=yes
    37574259else
    3758   echo "$as_me: failed program was:" >&5
    3759 sed 's/^/| /' conftest.$ac_ext >&5
    3760 
    3761         ac_cv_prog_f77_g=no
    3762 fi
    3763 
     4260  ac_cv_prog_f77_g=no
     4261fi
    37644262rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37654263
    37664264fi
    3767 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
    3768 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
     4265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
     4266$as_echo "$ac_cv_prog_f77_g" >&6; }
    37694267if test "$ac_test_FFLAGS" = set; then
    37704268  FFLAGS=$ac_save_FFLAGS
     
    37834281fi
    37844282
    3785 G77=`test $ac_compiler_gnu = yes && echo yes`
     4283if test $ac_compiler_gnu = yes; then
     4284  G77=yes
     4285else
     4286  G77=
     4287fi
    37864288ac_ext=c
    37874289ac_cpp='$CPP $CPPFLAGS'
     
    38044306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    38054307ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3806 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3807 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
     4308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     4309$as_echo_n "checking how to run the C preprocessor... " >&6; }
    38084310# On Suns, sometimes $CPP names a directory.
    38094311if test -n "$CPP" && test -d "$CPP"; then
     
    38114313fi
    38124314if test -z "$CPP"; then
    3813   if test "${ac_cv_prog_CPP+set}" = set; then
    3814   echo $ECHO_N "(cached) $ECHO_C" >&6
     4315  if ${ac_cv_prog_CPP+:} false; then :
     4316  $as_echo_n "(cached) " >&6
    38154317else
    38164318      # Double quotes because CPP needs to be expanded
     
    38264328  # On the NeXT, cc -E runs the code through the compiler's parser,
    38274329  # not just through cpp. "Syntax error" is here to catch this case.
    3828   cat >conftest.$ac_ext <<_ACEOF
    3829 /* confdefs.h.  */
    3830 _ACEOF
    3831 cat confdefs.h >>conftest.$ac_ext
    3832 cat >>conftest.$ac_ext <<_ACEOF
     4330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38334331/* end confdefs.h.  */
    38344332#ifdef __STDC__
     
    38394337                     Syntax error
    38404338_ACEOF
    3841 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3842 case "(($ac_try" in
    3843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3844   *) ac_try_echo=$ac_try;;
    3845 esac
    3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3847   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3848   ac_status=$?
    3849   grep -v '^ *+' conftest.er1 >conftest.err
    3850   rm -f conftest.er1
    3851   cat conftest.err >&5
    3852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3853   (exit $ac_status); } >/dev/null && {
    3854          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3855          test ! -s conftest.err
    3856        }; then
    3857   :
    3858 else
    3859   echo "$as_me: failed program was:" >&5
    3860 sed 's/^/| /' conftest.$ac_ext >&5
    3861 
     4339if ac_fn_c_try_cpp "$LINENO"; then :
     4340
     4341else
    38624342  # Broken: fails on valid input.
    38634343continue
    38644344fi
    3865 
    3866 rm -f conftest.err conftest.$ac_ext
     4345rm -f conftest.err conftest.i conftest.$ac_ext
    38674346
    38684347  # OK, works on sane cases.  Now check whether nonexistent headers
    38694348  # can be detected and how.
    3870   cat >conftest.$ac_ext <<_ACEOF
    3871 /* confdefs.h.  */
    3872 _ACEOF
    3873 cat confdefs.h >>conftest.$ac_ext
    3874 cat >>conftest.$ac_ext <<_ACEOF
     4349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38754350/* end confdefs.h.  */
    38764351#include <ac_nonexistent.h>
    38774352_ACEOF
    3878 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3879 case "(($ac_try" in
    3880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3881   *) ac_try_echo=$ac_try;;
    3882 esac
    3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3884   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3885   ac_status=$?
    3886   grep -v '^ *+' conftest.er1 >conftest.err
    3887   rm -f conftest.er1
    3888   cat conftest.err >&5
    3889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3890   (exit $ac_status); } >/dev/null && {
    3891          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3892          test ! -s conftest.err
    3893        }; then
     4353if ac_fn_c_try_cpp "$LINENO"; then :
    38944354  # Broken: success on invalid input.
    38954355continue
    38964356else
    3897   echo "$as_me: failed program was:" >&5
    3898 sed 's/^/| /' conftest.$ac_ext >&5
    3899 
    39004357  # Passes both tests.
    39014358ac_preproc_ok=:
    39024359break
    39034360fi
    3904 
    3905 rm -f conftest.err conftest.$ac_ext
     4361rm -f conftest.err conftest.i conftest.$ac_ext
    39064362
    39074363done
    39084364# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3909 rm -f conftest.err conftest.$ac_ext
    3910 if $ac_preproc_ok; then
     4365rm -f conftest.i conftest.err conftest.$ac_ext
     4366if $ac_preproc_ok; then :
    39114367  break
    39124368fi
     
    39204376  ac_cv_prog_CPP=$CPP
    39214377fi
    3922 { echo "$as_me:$LINENO: result: $CPP" >&5
    3923 echo "${ECHO_T}$CPP" >&6; }
     4378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4379$as_echo "$CPP" >&6; }
    39244380ac_preproc_ok=false
    39254381for ac_c_preproc_warn_flag in '' yes
     
    39314387  # On the NeXT, cc -E runs the code through the compiler's parser,
    39324388  # not just through cpp. "Syntax error" is here to catch this case.
    3933   cat >conftest.$ac_ext <<_ACEOF
    3934 /* confdefs.h.  */
    3935 _ACEOF
    3936 cat confdefs.h >>conftest.$ac_ext
    3937 cat >>conftest.$ac_ext <<_ACEOF
     4389  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39384390/* end confdefs.h.  */
    39394391#ifdef __STDC__
     
    39444396                     Syntax error
    39454397_ACEOF
    3946 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3947 case "(($ac_try" in
    3948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3949   *) ac_try_echo=$ac_try;;
    3950 esac
    3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3952   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3953   ac_status=$?
    3954   grep -v '^ *+' conftest.er1 >conftest.err
    3955   rm -f conftest.er1
    3956   cat conftest.err >&5
    3957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3958   (exit $ac_status); } >/dev/null && {
    3959          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3960          test ! -s conftest.err
    3961        }; then
    3962   :
    3963 else
    3964   echo "$as_me: failed program was:" >&5
    3965 sed 's/^/| /' conftest.$ac_ext >&5
    3966 
     4398if ac_fn_c_try_cpp "$LINENO"; then :
     4399
     4400else
    39674401  # Broken: fails on valid input.
    39684402continue
    39694403fi
    3970 
    3971 rm -f conftest.err conftest.$ac_ext
     4404rm -f conftest.err conftest.i conftest.$ac_ext
    39724405
    39734406  # OK, works on sane cases.  Now check whether nonexistent headers
    39744407  # can be detected and how.
    3975   cat >conftest.$ac_ext <<_ACEOF
    3976 /* confdefs.h.  */
    3977 _ACEOF
    3978 cat confdefs.h >>conftest.$ac_ext
    3979 cat >>conftest.$ac_ext <<_ACEOF
     4408  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39804409/* end confdefs.h.  */
    39814410#include <ac_nonexistent.h>
    39824411_ACEOF
    3983 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3984 case "(($ac_try" in
    3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3986   *) ac_try_echo=$ac_try;;
    3987 esac
    3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    3989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3990   ac_status=$?
    3991   grep -v '^ *+' conftest.er1 >conftest.err
    3992   rm -f conftest.er1
    3993   cat conftest.err >&5
    3994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3995   (exit $ac_status); } >/dev/null && {
    3996          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3997          test ! -s conftest.err
    3998        }; then
     4412if ac_fn_c_try_cpp "$LINENO"; then :
    39994413  # Broken: success on invalid input.
    40004414continue
    40014415else
    4002   echo "$as_me: failed program was:" >&5
    4003 sed 's/^/| /' conftest.$ac_ext >&5
    4004 
    40054416  # Passes both tests.
    40064417ac_preproc_ok=:
    40074418break
    40084419fi
    4009 
    4010 rm -f conftest.err conftest.$ac_ext
     4420rm -f conftest.err conftest.i conftest.$ac_ext
    40114421
    40124422done
    40134423# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4014 rm -f conftest.err conftest.$ac_ext
    4015 if $ac_preproc_ok; then
    4016   :
    4017 else
    4018   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    4019 See \`config.log' for more details." >&5
    4020 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    4021 See \`config.log' for more details." >&2;}
    4022    { (exit 1); exit 1; }; }
     4424rm -f conftest.i conftest.err conftest.$ac_ext
     4425if $ac_preproc_ok; then :
     4426
     4427else
     4428  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4429$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4430as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     4431See \`config.log' for more details" "$LINENO" 5; }
    40234432fi
    40244433
     
    40304439
    40314440
    4032 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    4033 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    4034 if test "${ac_cv_path_GREP+set}" = set; then
    4035   echo $ECHO_N "(cached) $ECHO_C" >&6
    4036 else
    4037   # Extract the first word of "grep ggrep" to use in msg output
    4038 if test -z "$GREP"; then
    4039 set dummy grep ggrep; ac_prog_name=$2
    4040 if test "${ac_cv_path_GREP+set}" = set; then
    4041   echo $ECHO_N "(cached) $ECHO_C" >&6
    4042 else
     4441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4442$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4443if ${ac_cv_path_GREP+:} false; then :
     4444  $as_echo_n "(cached) " >&6
     4445else
     4446  if test -z "$GREP"; then
    40434447  ac_path_GREP_found=false
    4044 # Loop through the user's path and test for each of PROGNAME-LIST
    4045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4448  # Loop through the user's path and test for each of PROGNAME-LIST
     4449  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    40464450for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    40474451do
    40484452  IFS=$as_save_IFS
    40494453  test -z "$as_dir" && as_dir=.
    4050   for ac_prog in grep ggrep; do
    4051   for ac_exec_ext in '' $ac_executable_extensions; do
    4052     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4053     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    4054     # Check for GNU ac_path_GREP and select it if it is found.
     4454    for ac_prog in grep ggrep; do
     4455    for ac_exec_ext in '' $ac_executable_extensions; do
     4456      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4457      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4458# Check for GNU ac_path_GREP and select it if it is found.
    40554459  # Check for GNU $ac_path_GREP
    40564460case `"$ac_path_GREP" --version 2>&1` in
     
    40594463*)
    40604464  ac_count=0
    4061   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4465  $as_echo_n 0123456789 >"conftest.in"
    40624466  while :
    40634467  do
     
    40654469    mv "conftest.tmp" "conftest.in"
    40664470    cp "conftest.in" "conftest.nl"
    4067     echo 'GREP' >> "conftest.nl"
     4471    $as_echo 'GREP' >> "conftest.nl"
    40684472    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    40694473    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4070     ac_count=`expr $ac_count + 1`
     4474    as_fn_arith $ac_count + 1 && ac_count=$as_val
    40714475    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    40724476      # Best one so far, save it but keep looking for a better one
     
    40804484esac
    40814485
    4082 
    4083     $ac_path_GREP_found && break 3
     4486      $ac_path_GREP_found && break 3
     4487    done
    40844488  done
    4085 done
    4086 
    4087 done
     4489  done
    40884490IFS=$as_save_IFS
    4089 
    4090 
    4091 fi
    4092 
    4093 GREP="$ac_cv_path_GREP"
    4094 if test -z "$GREP"; then
    4095   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4096 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4097    { (exit 1); exit 1; }; }
    4098 fi
    4099 
     4491  if test -z "$ac_cv_path_GREP"; then
     4492    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4493  fi
    41004494else
    41014495  ac_cv_path_GREP=$GREP
    41024496fi
    41034497
    4104 
    4105 fi
    4106 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    4107 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4498fi
     4499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4500$as_echo "$ac_cv_path_GREP" >&6; }
    41084501 GREP="$ac_cv_path_GREP"
    41094502
    41104503
    4111 { echo "$as_me:$LINENO: checking for egrep" >&5
    4112 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    4113 if test "${ac_cv_path_EGREP+set}" = set; then
    4114   echo $ECHO_N "(cached) $ECHO_C" >&6
     4504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4505$as_echo_n "checking for egrep... " >&6; }
     4506if ${ac_cv_path_EGREP+:} false; then :
     4507  $as_echo_n "(cached) " >&6
    41154508else
    41164509  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    41174510   then ac_cv_path_EGREP="$GREP -E"
    41184511   else
    4119      # Extract the first word of "egrep" to use in msg output
    4120 if test -z "$EGREP"; then
    4121 set dummy egrep; ac_prog_name=$2
    4122 if test "${ac_cv_path_EGREP+set}" = set; then
    4123   echo $ECHO_N "(cached) $ECHO_C" >&6
    4124 else
     4512     if test -z "$EGREP"; then
    41254513  ac_path_EGREP_found=false
    4126 # Loop through the user's path and test for each of PROGNAME-LIST
    4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4514  # Loop through the user's path and test for each of PROGNAME-LIST
     4515  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    41284516for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    41294517do
    41304518  IFS=$as_save_IFS
    41314519  test -z "$as_dir" && as_dir=.
    4132   for ac_prog in egrep; do
    4133   for ac_exec_ext in '' $ac_executable_extensions; do
    4134     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4135     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    4136     # Check for GNU ac_path_EGREP and select it if it is found.
     4520    for ac_prog in egrep; do
     4521    for ac_exec_ext in '' $ac_executable_extensions; do
     4522      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4523      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4524# Check for GNU ac_path_EGREP and select it if it is found.
    41374525  # Check for GNU $ac_path_EGREP
    41384526case `"$ac_path_EGREP" --version 2>&1` in
     
    41414529*)
    41424530  ac_count=0
    4143   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
     4531  $as_echo_n 0123456789 >"conftest.in"
    41444532  while :
    41454533  do
     
    41474535    mv "conftest.tmp" "conftest.in"
    41484536    cp "conftest.in" "conftest.nl"
    4149     echo 'EGREP' >> "conftest.nl"
     4537    $as_echo 'EGREP' >> "conftest.nl"
    41504538    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    41514539    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4152     ac_count=`expr $ac_count + 1`
     4540    as_fn_arith $ac_count + 1 && ac_count=$as_val
    41534541    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    41544542      # Best one so far, save it but keep looking for a better one
     
    41624550esac
    41634551
    4164 
    4165     $ac_path_EGREP_found && break 3
     4552      $ac_path_EGREP_found && break 3
     4553    done
    41664554  done
    4167 done
    4168 
    4169 done
     4555  done
    41704556IFS=$as_save_IFS
    4171 
    4172 
    4173 fi
    4174 
    4175 EGREP="$ac_cv_path_EGREP"
    4176 if test -z "$EGREP"; then
    4177   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    4178 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    4179    { (exit 1); exit 1; }; }
    4180 fi
    4181 
     4557  if test -z "$ac_cv_path_EGREP"; then
     4558    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4559  fi
    41824560else
    41834561  ac_cv_path_EGREP=$EGREP
    41844562fi
    41854563
    4186 
    41874564   fi
    41884565fi
    4189 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    4190 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
     4566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4567$as_echo "$ac_cv_path_EGREP" >&6; }
    41914568 EGREP="$ac_cv_path_EGREP"
    41924569
    41934570
    4194 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4195 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    4196 if test "${ac_cv_header_stdc+set}" = set; then
    4197   echo $ECHO_N "(cached) $ECHO_C" >&6
    4198 else
    4199   cat >conftest.$ac_ext <<_ACEOF
    4200 /* confdefs.h.  */
    4201 _ACEOF
    4202 cat confdefs.h >>conftest.$ac_ext
    4203 cat >>conftest.$ac_ext <<_ACEOF
     4571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4572$as_echo_n "checking for ANSI C header files... " >&6; }
     4573if ${ac_cv_header_stdc+:} false; then :
     4574  $as_echo_n "(cached) " >&6
     4575else
     4576  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42044577/* end confdefs.h.  */
    42054578#include <stdlib.h>
     
    42164589}
    42174590_ACEOF
    4218 rm -f conftest.$ac_objext
    4219 if { (ac_try="$ac_compile"
    4220 case "(($ac_try" in
    4221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4222   *) ac_try_echo=$ac_try;;
    4223 esac
    4224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4225   (eval "$ac_compile") 2>conftest.er1
    4226   ac_status=$?
    4227   grep -v '^ *+' conftest.er1 >conftest.err
    4228   rm -f conftest.er1
    4229   cat conftest.err >&5
    4230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4231   (exit $ac_status); } && {
    4232          test -z "$ac_c_werror_flag" ||
    4233          test ! -s conftest.err
    4234        } && test -s conftest.$ac_objext; then
     4591if ac_fn_c_try_compile "$LINENO"; then :
    42354592  ac_cv_header_stdc=yes
    42364593else
    4237   echo "$as_me: failed program was:" >&5
    4238 sed 's/^/| /' conftest.$ac_ext >&5
    4239 
    4240         ac_cv_header_stdc=no
    4241 fi
    4242 
     4594  ac_cv_header_stdc=no
     4595fi
    42434596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42444597
    42454598if test $ac_cv_header_stdc = yes; then
    42464599  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4247   cat >conftest.$ac_ext <<_ACEOF
    4248 /* confdefs.h.  */
    4249 _ACEOF
    4250 cat confdefs.h >>conftest.$ac_ext
    4251 cat >>conftest.$ac_ext <<_ACEOF
     4600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42524601/* end confdefs.h.  */
    42534602#include <string.h>
     
    42554604_ACEOF
    42564605if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4257   $EGREP "memchr" >/dev/null 2>&1; then
    4258   :
     4606  $EGREP "memchr" >/dev/null 2>&1; then :
     4607
    42594608else
    42604609  ac_cv_header_stdc=no
     
    42664615if test $ac_cv_header_stdc = yes; then
    42674616  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4268   cat >conftest.$ac_ext <<_ACEOF
    4269 /* confdefs.h.  */
    4270 _ACEOF
    4271 cat confdefs.h >>conftest.$ac_ext
    4272 cat >>conftest.$ac_ext <<_ACEOF
     4617  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42734618/* end confdefs.h.  */
    42744619#include <stdlib.h>
     
    42764621_ACEOF
    42774622if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4278   $EGREP "free" >/dev/null 2>&1; then
    4279   :
     4623  $EGREP "free" >/dev/null 2>&1; then :
     4624
    42804625else
    42814626  ac_cv_header_stdc=no
     
    42874632if test $ac_cv_header_stdc = yes; then
    42884633  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4289   if test "$cross_compiling" = yes; then
     4634  if test "$cross_compiling" = yes; then :
    42904635  :
    42914636else
    4292   cat >conftest.$ac_ext <<_ACEOF
    4293 /* confdefs.h.  */
    4294 _ACEOF
    4295 cat confdefs.h >>conftest.$ac_ext
    4296 cat >>conftest.$ac_ext <<_ACEOF
     4637  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42974638/* end confdefs.h.  */
    42984639#include <ctype.h>
     
    43214662}
    43224663_ACEOF
    4323 rm -f conftest$ac_exeext
    4324 if { (ac_try="$ac_link"
    4325 case "(($ac_try" in
    4326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4327   *) ac_try_echo=$ac_try;;
    4328 esac
    4329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4330   (eval "$ac_link") 2>&5
    4331   ac_status=$?
    4332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4333   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4334   { (case "(($ac_try" in
    4335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4336   *) ac_try_echo=$ac_try;;
    4337 esac
    4338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4339   (eval "$ac_try") 2>&5
    4340   ac_status=$?
    4341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4342   (exit $ac_status); }; }; then
    4343   :
    4344 else
    4345   echo "$as_me: program exited with status $ac_status" >&5
    4346 echo "$as_me: failed program was:" >&5
    4347 sed 's/^/| /' conftest.$ac_ext >&5
    4348 
    4349 ( exit $ac_status )
    4350 ac_cv_header_stdc=no
    4351 fi
    4352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4353 fi
    4354 
    4355 
    4356 fi
    4357 fi
    4358 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4359 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
     4664if ac_fn_c_try_run "$LINENO"; then :
     4665
     4666else
     4667  ac_cv_header_stdc=no
     4668fi
     4669rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4670  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4671fi
     4672
     4673fi
     4674fi
     4675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4676$as_echo "$ac_cv_header_stdc" >&6; }
    43604677if test $ac_cv_header_stdc = yes; then
    43614678
    4362 cat >>confdefs.h <<\_ACEOF
    4363 #define STDC_HEADERS 1
    4364 _ACEOF
    4365 
    4366 fi
    4367 
    4368 { echo "$as_me:$LINENO: checking for atol" >&5
    4369 echo $ECHO_N "checking for atol... $ECHO_C" >&6; }
    4370 if test "${ac_cv_func_atol+set}" = set; then
    4371   echo $ECHO_N "(cached) $ECHO_C" >&6
    4372 else
    4373   cat >conftest.$ac_ext <<_ACEOF
    4374 /* confdefs.h.  */
    4375 _ACEOF
    4376 cat confdefs.h >>conftest.$ac_ext
    4377 cat >>conftest.$ac_ext <<_ACEOF
    4378 /* end confdefs.h.  */
    4379 /* Define atol to an innocuous variant, in case <limits.h> declares atol.
    4380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4381 #define atol innocuous_atol
    4382 
    4383 /* System header to define __stub macros and hopefully few prototypes,
    4384     which can conflict with char atol (); below.
    4385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4386     <limits.h> exists even on freestanding compilers.  */
    4387 
    4388 #ifdef __STDC__
    4389 # include <limits.h>
    4390 #else
    4391 # include <assert.h>
    4392 #endif
    4393 
    4394 #undef atol
    4395 
    4396 /* Override any GCC internal prototype to avoid an error.
    4397    Use char because int might match the return type of a GCC
    4398    builtin and then its argument prototype would still apply.  */
    4399 #ifdef __cplusplus
    4400 extern "C"
    4401 #endif
    4402 char atol ();
    4403 /* The GNU C library defines this for functions which it implements
    4404     to always fail with ENOSYS.  Some functions are actually named
    4405     something starting with __ and the normal name is an alias.  */
    4406 #if defined __stub_atol || defined __stub___atol
    4407 choke me
    4408 #endif
    4409 
    4410 int
    4411 main ()
    4412 {
    4413 return atol ();
    4414   ;
    4415   return 0;
    4416 }
    4417 _ACEOF
    4418 rm -f conftest.$ac_objext conftest$ac_exeext
    4419 if { (ac_try="$ac_link"
    4420 case "(($ac_try" in
    4421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4422   *) ac_try_echo=$ac_try;;
    4423 esac
    4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4425   (eval "$ac_link") 2>conftest.er1
    4426   ac_status=$?
    4427   grep -v '^ *+' conftest.er1 >conftest.err
    4428   rm -f conftest.er1
    4429   cat conftest.err >&5
    4430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4431   (exit $ac_status); } && {
    4432          test -z "$ac_c_werror_flag" ||
    4433          test ! -s conftest.err
    4434        } && test -s conftest$ac_exeext &&
    4435        $as_test_x conftest$ac_exeext; then
    4436   ac_cv_func_atol=yes
    4437 else
    4438   echo "$as_me: failed program was:" >&5
    4439 sed 's/^/| /' conftest.$ac_ext >&5
    4440 
    4441         ac_cv_func_atol=no
    4442 fi
    4443 
    4444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4445       conftest$ac_exeext conftest.$ac_ext
    4446 fi
    4447 { echo "$as_me:$LINENO: result: $ac_cv_func_atol" >&5
    4448 echo "${ECHO_T}$ac_cv_func_atol" >&6; }
    4449 if test $ac_cv_func_atol = yes; then
    4450   :
    4451 else
    4452   { { echo "$as_me:$LINENO: error: oops! no atol ?!?" >&5
    4453 echo "$as_me: error: oops! no atol ?!?" >&2;}
    4454    { (exit 1); exit 1; }; }
     4679$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     4680
     4681fi
     4682
     4683ac_fn_c_check_func "$LINENO" "atol" "ac_cv_func_atol"
     4684if test "x$ac_cv_func_atol" = xyes; then :
     4685
     4686else
     4687  as_fn_error $? "oops! no atol ?!?" "$LINENO" 5
    44554688fi
    44564689
     
    44644697
    44654698
    4466 
    44674699for ac_func in sysinfo
    4468 do
    4469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    4470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
    4471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
    4472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    4473   echo $ECHO_N "(cached) $ECHO_C" >&6
    4474 else
    4475   cat >conftest.$ac_ext <<_ACEOF
    4476 /* confdefs.h.  */
    4477 _ACEOF
    4478 cat confdefs.h >>conftest.$ac_ext
    4479 cat >>conftest.$ac_ext <<_ACEOF
    4480 /* end confdefs.h.  */
    4481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    4482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    4483 #define $ac_func innocuous_$ac_func
    4484 
    4485 /* System header to define __stub macros and hopefully few prototypes,
    4486     which can conflict with char $ac_func (); below.
    4487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    4488     <limits.h> exists even on freestanding compilers.  */
    4489 
    4490 #ifdef __STDC__
    4491 # include <limits.h>
    4492 #else
    4493 # include <assert.h>
    4494 #endif
    4495 
    4496 #undef $ac_func
    4497 
    4498 /* Override any GCC internal prototype to avoid an error.
    4499    Use char because int might match the return type of a GCC
    4500    builtin and then its argument prototype would still apply.  */
    4501 #ifdef __cplusplus
    4502 extern "C"
    4503 #endif
    4504 char $ac_func ();
    4505 /* The GNU C library defines this for functions which it implements
    4506     to always fail with ENOSYS.  Some functions are actually named
    4507     something starting with __ and the normal name is an alias.  */
    4508 #if defined __stub_$ac_func || defined __stub___$ac_func
    4509 choke me
    4510 #endif
    4511 
    4512 int
    4513 main ()
    4514 {
    4515 return $ac_func ();
    4516   ;
    4517   return 0;
    4518 }
    4519 _ACEOF
    4520 rm -f conftest.$ac_objext conftest$ac_exeext
    4521 if { (ac_try="$ac_link"
    4522 case "(($ac_try" in
    4523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4524   *) ac_try_echo=$ac_try;;
    4525 esac
    4526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4527   (eval "$ac_link") 2>conftest.er1
    4528   ac_status=$?
    4529   grep -v '^ *+' conftest.er1 >conftest.err
    4530   rm -f conftest.er1
    4531   cat conftest.err >&5
    4532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4533   (exit $ac_status); } && {
    4534          test -z "$ac_cxx_werror_flag" ||
    4535          test ! -s conftest.err
    4536        } && test -s conftest$ac_exeext &&
    4537        $as_test_x conftest$ac_exeext; then
    4538   eval "$as_ac_var=yes"
    4539 else
    4540   echo "$as_me: failed program was:" >&5
    4541 sed 's/^/| /' conftest.$ac_ext >&5
    4542 
    4543         eval "$as_ac_var=no"
    4544 fi
    4545 
    4546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4547       conftest$ac_exeext conftest.$ac_ext
    4548 fi
    4549 ac_res=`eval echo '${'$as_ac_var'}'`
    4550                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4551 echo "${ECHO_T}$ac_res" >&6; }
    4552 if test `eval echo '${'$as_ac_var'}'` = yes; then
     4700do :
     4701  ac_fn_cxx_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
     4702if test "x$ac_cv_func_sysinfo" = xyes; then :
    45534703  cat >>confdefs.h <<_ACEOF
    4554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    4555 _ACEOF
    4556 
    4557 fi
    4558 done
    4559 
    4560 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4561 
    4562 
    4563 
    4564 
    4565 
    4566 
    4567 
    4568 
    4569 
    4570 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4571                   inttypes.h stdint.h unistd.h
    4572 do
    4573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4574 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4577   echo $ECHO_N "(cached) $ECHO_C" >&6
    4578 else
    4579   cat >conftest.$ac_ext <<_ACEOF
    4580 /* confdefs.h.  */
    4581 _ACEOF
    4582 cat confdefs.h >>conftest.$ac_ext
    4583 cat >>conftest.$ac_ext <<_ACEOF
    4584 /* end confdefs.h.  */
    4585 $ac_includes_default
    4586 
    4587 #include <$ac_header>
    4588 _ACEOF
    4589 rm -f conftest.$ac_objext
    4590 if { (ac_try="$ac_compile"
    4591 case "(($ac_try" in
    4592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4593   *) ac_try_echo=$ac_try;;
    4594 esac
    4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4596   (eval "$ac_compile") 2>conftest.er1
    4597   ac_status=$?
    4598   grep -v '^ *+' conftest.er1 >conftest.err
    4599   rm -f conftest.er1
    4600   cat conftest.err >&5
    4601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4602   (exit $ac_status); } && {
    4603          test -z "$ac_cxx_werror_flag" ||
    4604          test ! -s conftest.err
    4605        } && test -s conftest.$ac_objext; then
    4606   eval "$as_ac_Header=yes"
    4607 else
    4608   echo "$as_me: failed program was:" >&5
    4609 sed 's/^/| /' conftest.$ac_ext >&5
    4610 
    4611         eval "$as_ac_Header=no"
    4612 fi
    4613 
    4614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4615 fi
    4616 ac_res=`eval echo '${'$as_ac_Header'}'`
    4617                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4618 echo "${ECHO_T}$ac_res" >&6; }
    4619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4620   cat >>confdefs.h <<_ACEOF
    4621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4622 _ACEOF
    4623 
    4624 fi
    4625 
    4626 done
    4627 
     4704#define HAVE_SYSINFO 1
     4705_ACEOF
     4706
     4707fi
     4708done
    46284709
    46294710ac_ext=cpp
     
    46324713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    46334714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    4634 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    4635 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
     4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     4716$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    46364717if test -z "$CXXCPP"; then
    4637   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    4638   echo $ECHO_N "(cached) $ECHO_C" >&6
     4718  if ${ac_cv_prog_CXXCPP+:} false; then :
     4719  $as_echo_n "(cached) " >&6
    46394720else
    46404721      # Double quotes because CXXCPP needs to be expanded
     
    46504731  # On the NeXT, cc -E runs the code through the compiler's parser,
    46514732  # not just through cpp. "Syntax error" is here to catch this case.
    4652   cat >conftest.$ac_ext <<_ACEOF
    4653 /* confdefs.h.  */
    4654 _ACEOF
    4655 cat confdefs.h >>conftest.$ac_ext
    4656 cat >>conftest.$ac_ext <<_ACEOF
     4733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46574734/* end confdefs.h.  */
    46584735#ifdef __STDC__
     
    46634740                     Syntax error
    46644741_ACEOF
    4665 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4666 case "(($ac_try" in
    4667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4668   *) ac_try_echo=$ac_try;;
    4669 esac
    4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4671   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4672   ac_status=$?
    4673   grep -v '^ *+' conftest.er1 >conftest.err
    4674   rm -f conftest.er1
    4675   cat conftest.err >&5
    4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4677   (exit $ac_status); } >/dev/null && {
    4678          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4679          test ! -s conftest.err
    4680        }; then
    4681   :
    4682 else
    4683   echo "$as_me: failed program was:" >&5
    4684 sed 's/^/| /' conftest.$ac_ext >&5
    4685 
     4742if ac_fn_cxx_try_cpp "$LINENO"; then :
     4743
     4744else
    46864745  # Broken: fails on valid input.
    46874746continue
    46884747fi
    4689 
    4690 rm -f conftest.err conftest.$ac_ext
     4748rm -f conftest.err conftest.i conftest.$ac_ext
    46914749
    46924750  # OK, works on sane cases.  Now check whether nonexistent headers
    46934751  # can be detected and how.
    4694   cat >conftest.$ac_ext <<_ACEOF
    4695 /* confdefs.h.  */
    4696 _ACEOF
    4697 cat confdefs.h >>conftest.$ac_ext
    4698 cat >>conftest.$ac_ext <<_ACEOF
     4752  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46994753/* end confdefs.h.  */
    47004754#include <ac_nonexistent.h>
    47014755_ACEOF
    4702 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4703 case "(($ac_try" in
    4704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4705   *) ac_try_echo=$ac_try;;
    4706 esac
    4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4708   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4709   ac_status=$?
    4710   grep -v '^ *+' conftest.er1 >conftest.err
    4711   rm -f conftest.er1
    4712   cat conftest.err >&5
    4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4714   (exit $ac_status); } >/dev/null && {
    4715          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4716          test ! -s conftest.err
    4717        }; then
     4756if ac_fn_cxx_try_cpp "$LINENO"; then :
    47184757  # Broken: success on invalid input.
    47194758continue
    47204759else
    4721   echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    47244760  # Passes both tests.
    47254761ac_preproc_ok=:
    47264762break
    47274763fi
    4728 
    4729 rm -f conftest.err conftest.$ac_ext
     4764rm -f conftest.err conftest.i conftest.$ac_ext
    47304765
    47314766done
    47324767# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4733 rm -f conftest.err conftest.$ac_ext
    4734 if $ac_preproc_ok; then
     4768rm -f conftest.i conftest.err conftest.$ac_ext
     4769if $ac_preproc_ok; then :
    47354770  break
    47364771fi
     
    47444779  ac_cv_prog_CXXCPP=$CXXCPP
    47454780fi
    4746 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
    4747 echo "${ECHO_T}$CXXCPP" >&6; }
     4781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     4782$as_echo "$CXXCPP" >&6; }
    47484783ac_preproc_ok=false
    47494784for ac_cxx_preproc_warn_flag in '' yes
     
    47554790  # On the NeXT, cc -E runs the code through the compiler's parser,
    47564791  # not just through cpp. "Syntax error" is here to catch this case.
    4757   cat >conftest.$ac_ext <<_ACEOF
    4758 /* confdefs.h.  */
    4759 _ACEOF
    4760 cat confdefs.h >>conftest.$ac_ext
    4761 cat >>conftest.$ac_ext <<_ACEOF
     4792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47624793/* end confdefs.h.  */
    47634794#ifdef __STDC__
     
    47684799                     Syntax error
    47694800_ACEOF
    4770 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4771 case "(($ac_try" in
    4772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4773   *) ac_try_echo=$ac_try;;
    4774 esac
    4775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4776   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4777   ac_status=$?
    4778   grep -v '^ *+' conftest.er1 >conftest.err
    4779   rm -f conftest.er1
    4780   cat conftest.err >&5
    4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4782   (exit $ac_status); } >/dev/null && {
    4783          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4784          test ! -s conftest.err
    4785        }; then
    4786   :
    4787 else
    4788   echo "$as_me: failed program was:" >&5
    4789 sed 's/^/| /' conftest.$ac_ext >&5
    4790 
     4801if ac_fn_cxx_try_cpp "$LINENO"; then :
     4802
     4803else
    47914804  # Broken: fails on valid input.
    47924805continue
    47934806fi
    4794 
    4795 rm -f conftest.err conftest.$ac_ext
     4807rm -f conftest.err conftest.i conftest.$ac_ext
    47964808
    47974809  # OK, works on sane cases.  Now check whether nonexistent headers
    47984810  # can be detected and how.
    4799   cat >conftest.$ac_ext <<_ACEOF
    4800 /* confdefs.h.  */
    4801 _ACEOF
    4802 cat confdefs.h >>conftest.$ac_ext
    4803 cat >>conftest.$ac_ext <<_ACEOF
     4811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48044812/* end confdefs.h.  */
    48054813#include <ac_nonexistent.h>
    48064814_ACEOF
    4807 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4808 case "(($ac_try" in
    4809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4810   *) ac_try_echo=$ac_try;;
    4811 esac
    4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4813   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4814   ac_status=$?
    4815   grep -v '^ *+' conftest.er1 >conftest.err
    4816   rm -f conftest.er1
    4817   cat conftest.err >&5
    4818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4819   (exit $ac_status); } >/dev/null && {
    4820          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4821          test ! -s conftest.err
    4822        }; then
     4815if ac_fn_cxx_try_cpp "$LINENO"; then :
    48234816  # Broken: success on invalid input.
    48244817continue
    48254818else
    4826   echo "$as_me: failed program was:" >&5
    4827 sed 's/^/| /' conftest.$ac_ext >&5
    4828 
    48294819  # Passes both tests.
    48304820ac_preproc_ok=:
    48314821break
    48324822fi
    4833 
    4834 rm -f conftest.err conftest.$ac_ext
     4823rm -f conftest.err conftest.i conftest.$ac_ext
    48354824
    48364825done
    48374826# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    4838 rm -f conftest.err conftest.$ac_ext
    4839 if $ac_preproc_ok; then
    4840   :
    4841 else
    4842   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4843 See \`config.log' for more details." >&5
    4844 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    4845 See \`config.log' for more details." >&2;}
    4846    { (exit 1); exit 1; }; }
     4827rm -f conftest.i conftest.err conftest.$ac_ext
     4828if $ac_preproc_ok; then :
     4829
     4830else
     4831  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4833as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     4834See \`config.log' for more details" "$LINENO" 5; }
    48474835fi
    48484836
     
    48544842
    48554843
     4844# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4845for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4846                  inttypes.h stdint.h unistd.h
     4847do :
     4848  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4849ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4850"
     4851if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     4852  cat >>confdefs.h <<_ACEOF
     4853#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4854_ACEOF
     4855
     4856fi
     4857
     4858done
     4859
    48564860
    48574861for ac_header in sys/sysinfo.h
    4858 do
    4859 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4861   { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4864   echo $ECHO_N "(cached) $ECHO_C" >&6
    4865 fi
    4866 ac_res=`eval echo '${'$as_ac_Header'}'`
    4867                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4868 echo "${ECHO_T}$ac_res" >&6; }
    4869 else
    4870   # Is the header compilable?
    4871 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4872 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    4873 cat >conftest.$ac_ext <<_ACEOF
    4874 /* confdefs.h.  */
    4875 _ACEOF
    4876 cat confdefs.h >>conftest.$ac_ext
    4877 cat >>conftest.$ac_ext <<_ACEOF
    4878 /* end confdefs.h.  */
    4879 $ac_includes_default
    4880 #include <$ac_header>
    4881 _ACEOF
    4882 rm -f conftest.$ac_objext
    4883 if { (ac_try="$ac_compile"
    4884 case "(($ac_try" in
    4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4886   *) ac_try_echo=$ac_try;;
    4887 esac
    4888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4889   (eval "$ac_compile") 2>conftest.er1
    4890   ac_status=$?
    4891   grep -v '^ *+' conftest.er1 >conftest.err
    4892   rm -f conftest.er1
    4893   cat conftest.err >&5
    4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4895   (exit $ac_status); } && {
    4896          test -z "$ac_cxx_werror_flag" ||
    4897          test ! -s conftest.err
    4898        } && test -s conftest.$ac_objext; then
    4899   ac_header_compiler=yes
    4900 else
    4901   echo "$as_me: failed program was:" >&5
    4902 sed 's/^/| /' conftest.$ac_ext >&5
    4903 
    4904         ac_header_compiler=no
    4905 fi
    4906 
    4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4908 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4909 echo "${ECHO_T}$ac_header_compiler" >&6; }
    4910 
    4911 # Is the header present?
    4912 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    4914 cat >conftest.$ac_ext <<_ACEOF
    4915 /* confdefs.h.  */
    4916 _ACEOF
    4917 cat confdefs.h >>conftest.$ac_ext
    4918 cat >>conftest.$ac_ext <<_ACEOF
    4919 /* end confdefs.h.  */
    4920 #include <$ac_header>
    4921 _ACEOF
    4922 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4923 case "(($ac_try" in
    4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4925   *) ac_try_echo=$ac_try;;
    4926 esac
    4927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    4928   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4929   ac_status=$?
    4930   grep -v '^ *+' conftest.er1 >conftest.err
    4931   rm -f conftest.er1
    4932   cat conftest.err >&5
    4933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4934   (exit $ac_status); } >/dev/null && {
    4935          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    4936          test ! -s conftest.err
    4937        }; then
    4938   ac_header_preproc=yes
    4939 else
    4940   echo "$as_me: failed program was:" >&5
    4941 sed 's/^/| /' conftest.$ac_ext >&5
    4942 
    4943   ac_header_preproc=no
    4944 fi
    4945 
    4946 rm -f conftest.err conftest.$ac_ext
    4947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4948 echo "${ECHO_T}$ac_header_preproc" >&6; }
    4949 
    4950 # So?  What about this header?
    4951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    4952   yes:no: )
    4953     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4955     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4957     ac_header_preproc=yes
    4958     ;;
    4959   no:yes:* )
    4960     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4962     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4963 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4964     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4966     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4967 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4968     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4970     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4972     ( cat <<\_ASBOX
    4973 ## ----------------------------------- ##
    4974 ## Report this to rappture@nanohub.org ##
    4975 ## ----------------------------------- ##
    4976 _ASBOX
    4977      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4978     ;;
    4979 esac
    4980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
    4981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    4982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    4983   echo $ECHO_N "(cached) $ECHO_C" >&6
    4984 else
    4985   eval "$as_ac_Header=\$ac_header_preproc"
    4986 fi
    4987 ac_res=`eval echo '${'$as_ac_Header'}'`
    4988                { echo "$as_me:$LINENO: result: $ac_res" >&5
    4989 echo "${ECHO_T}$ac_res" >&6; }
    4990 
    4991 fi
    4992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4862do :
     4863  ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
     4864if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
    49934865  cat >>confdefs.h <<_ACEOF
    4994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4995 _ACEOF
    4996 
    4997 fi
    4998 
    4999 done
    5000 
    5001 
    5002 
    5003 { echo "$as_me:$LINENO: checking for main in -lm" >&5
    5004 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
    5005 if test "${ac_cv_lib_m_main+set}" = set; then
    5006   echo $ECHO_N "(cached) $ECHO_C" >&6
     4866#define HAVE_SYS_SYSINFO_H 1
     4867_ACEOF
     4868
     4869fi
     4870
     4871done
     4872
     4873
     4874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
     4875$as_echo_n "checking for main in -lm... " >&6; }
     4876if ${ac_cv_lib_m_main+:} false; then :
     4877  $as_echo_n "(cached) " >&6
    50074878else
    50084879  ac_check_lib_save_LIBS=$LIBS
    50094880LIBS="-lm  $LIBS"
    5010 cat >conftest.$ac_ext <<_ACEOF
    5011 /* confdefs.h.  */
    5012 _ACEOF
    5013 cat confdefs.h >>conftest.$ac_ext
    5014 cat >>conftest.$ac_ext <<_ACEOF
     4881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50154882/* end confdefs.h.  */
    50164883
     
    50244891}
    50254892_ACEOF
    5026 rm -f conftest.$ac_objext conftest$ac_exeext
    5027 if { (ac_try="$ac_link"
    5028 case "(($ac_try" in
    5029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5030   *) ac_try_echo=$ac_try;;
    5031 esac
    5032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5033   (eval "$ac_link") 2>conftest.er1
    5034   ac_status=$?
    5035   grep -v '^ *+' conftest.er1 >conftest.err
    5036   rm -f conftest.er1
    5037   cat conftest.err >&5
    5038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5039   (exit $ac_status); } && {
    5040          test -z "$ac_cxx_werror_flag" ||
    5041          test ! -s conftest.err
    5042        } && test -s conftest$ac_exeext &&
    5043        $as_test_x conftest$ac_exeext; then
     4893if ac_fn_cxx_try_link "$LINENO"; then :
    50444894  ac_cv_lib_m_main=yes
    50454895else
    5046   echo "$as_me: failed program was:" >&5
    5047 sed 's/^/| /' conftest.$ac_ext >&5
    5048 
    5049         ac_cv_lib_m_main=no
    5050 fi
    5051 
    5052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5053       conftest$ac_exeext conftest.$ac_ext
     4896  ac_cv_lib_m_main=no
     4897fi
     4898rm -f core conftest.err conftest.$ac_objext \
     4899    conftest$ac_exeext conftest.$ac_ext
    50544900LIBS=$ac_check_lib_save_LIBS
    50554901fi
    5056 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    5057 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
    5058 if test $ac_cv_lib_m_main = yes; then
     4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
     4903$as_echo "$ac_cv_lib_m_main" >&6; }
     4904if test "x$ac_cv_lib_m_main" = xyes; then :
    50594905  cat >>confdefs.h <<_ACEOF
    50604906#define HAVE_LIBM 1
     
    50644910
    50654911else
    5066   { { echo "$as_me:$LINENO: error: librappture requires libm" >&5
    5067 echo "$as_me: error: librappture requires libm" >&2;}
    5068    { (exit 1); exit 1; }; }
    5069 fi
    5070 
    5071 
    5072 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5
    5073 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; }
    5074 if test "${ac_cv_lib_stdcpp_main+set}" = set; then
    5075   echo $ECHO_N "(cached) $ECHO_C" >&6
     4912  as_fn_error $? "librappture requires libm" "$LINENO" 5
     4913fi
     4914
     4915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lstdc++" >&5
     4916$as_echo_n "checking for main in -lstdc++... " >&6; }
     4917if ${ac_cv_lib_stdcpp_main+:} false; then :
     4918  $as_echo_n "(cached) " >&6
    50764919else
    50774920  ac_check_lib_save_LIBS=$LIBS
    50784921LIBS="-lstdc++  $LIBS"
    5079 cat >conftest.$ac_ext <<_ACEOF
    5080 /* confdefs.h.  */
    5081 _ACEOF
    5082 cat confdefs.h >>conftest.$ac_ext
    5083 cat >>conftest.$ac_ext <<_ACEOF
     4922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50844923/* end confdefs.h.  */
    50854924
     
    50934932}
    50944933_ACEOF
    5095 rm -f conftest.$ac_objext conftest$ac_exeext
    5096 if { (ac_try="$ac_link"
    5097 case "(($ac_try" in
    5098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5099   *) ac_try_echo=$ac_try;;
    5100 esac
    5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    5102   (eval "$ac_link") 2>conftest.er1
    5103   ac_status=$?
    5104   grep -v '^ *+' conftest.er1 >conftest.err
    5105   rm -f conftest.er1
    5106   cat conftest.err >&5
    5107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5108   (exit $ac_status); } && {
    5109          test -z "$ac_cxx_werror_flag" ||
    5110          test ! -s conftest.err
    5111        } && test -s conftest$ac_exeext &&
    5112        $as_test_x conftest$ac_exeext; then
     4934if ac_fn_cxx_try_link "$LINENO"; then :
    51134935  ac_cv_lib_stdcpp_main=yes
    51144936else
    5115   echo "$as_me: failed program was:" >&5
    5116 sed 's/^/| /' conftest.$ac_ext >&5
    5117 
    5118         ac_cv_lib_stdcpp_main=no
    5119 fi
    5120 
    5121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5122       conftest$ac_exeext conftest.$ac_ext
     4937  ac_cv_lib_stdcpp_main=no
     4938fi
     4939rm -f core conftest.err conftest.$ac_objext \
     4940    conftest$ac_exeext conftest.$ac_ext
    51234941LIBS=$ac_check_lib_save_LIBS
    51244942fi
    5125 { echo "$as_me:$LINENO: result: $ac_cv_lib_stdcpp_main" >&5
    5126 echo "${ECHO_T}$ac_cv_lib_stdcpp_main" >&6; }
    5127 if test $ac_cv_lib_stdcpp_main = yes; then
     4943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp_main" >&5
     4944$as_echo "$ac_cv_lib_stdcpp_main" >&6; }
     4945if test "x$ac_cv_lib_stdcpp_main" = xyes; then :
    51284946  cat >>confdefs.h <<_ACEOF
    51294947#define HAVE_LIBSTDC__ 1
     
    51334951
    51344952else
    5135   { { echo "$as_me:$LINENO: error: librappture requires libstdc++" >&5
    5136 echo "$as_me: error: librappture requires libstdc++" >&2;}
    5137    { (exit 1); exit 1; }; }
    5138 fi
    5139 
     4953  as_fn_error $? "librappture requires libstdc++" "$LINENO" 5
     4954fi
    5140